aquanight
cc759e1179
Clean up commented out stuff and fix merge issues
2020-07-10 18:27:54 -06:00
aquanight
26f3049a86
Refactor to pure refcount for PERL_SCRIPT_REC
2020-07-05 17:20:08 -06:00
aquanight
2d59df8162
Don't try to use the PERL_SIGNAL_REC after it could be freed
2020-07-05 16:09:19 -06:00
aquanight
7daeaa25b6
Fix wrong way on unloaded checks
2020-07-05 15:46:34 -06:00
aquanight
6012ec9e56
Prevent double calls of perl_script_unload
2020-07-05 15:31:07 -06:00
ailin-nemui
01ecb879a6
Add support for building in Termux-Android in meson
...
- introduce cross perl
- workaround for the android linker
2020-06-02 10:38:01 +02:00
ailin-nemui
3ea854816d
Correct a wrong package for format_create_dest
2020-05-13 00:22:56 +02:00
ailin-nemui
4330dbec62
add "print format" signal to perl
...
fix syntax in signals.txt with regards to GLists
simplify signal emit code
2020-05-13 00:22:38 +02:00
ailin-nemui
57fb173130
add perl code for textbuffer-formats
...
- compatibility shim for new line
- make format accessible from perl
- fix perl line IDs being mixed up due to wrapper
2020-04-28 15:46:53 +02:00
ailin-nemui
f95fc81130
make lines reformattable
...
- completely removed the old textbuffer representation (
https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour#textbuffer-encoding
)
- textbuffer-formats is an extra module, so if we unhook the signals it
should go back to the "old way" of storing pre-rendered tex
- design uses cache, original formats and list of arguments
2020-04-26 18:54:16 +02:00
Ailin Nemui
244ebaaa2e
build fixes when using install-glib and on openbsd
2020-04-23 12:31:52 +02:00
ailin
4594b0c4cf
fix perl module build on openbsd
...
unfortunately, some mangling is needed to create the correct linker
and compiler invocations
2020-04-02 04:39:30 +02:00
ailin-nemui
3f0afa91f3
Merge pull request #1092 from ailin-nemui/outgoing-tags
...
sending of tag messages and customisable maximum irc message length
2019-08-26 22:01:53 +02:00
ailin-nemui
487d9434bd
revert the change to perl-common that would stop it from creating ghost chatnets
...
see 00a7efc69f
2019-08-23 22:26:27 +02:00
ailin-nemui
da9adec47f
sending of tag messages and customisable maximum irc message length
2019-08-15 16:33:50 +02:00
ailin-nemui
25270e0465
use extended-join capability
2019-08-13 18:23:34 +02:00
ailin-nemui
9a90213ba9
do not use ?: to stay compatible with meson 0.49
2019-07-21 00:08:36 +02:00
Ailin Nemui
00a7efc69f
modularise irc component
2019-07-17 13:37:19 +02:00
Ailin Nemui
db16a0a853
meson build support
2019-07-10 09:25:26 +02:00
vague666
78ae00910e
Make MSGLEVEL_HIDDEN accessible from scripts
...
Empty line in wrong place
Expose MSGLEVEL_HIDDEN to scripts
2019-05-15 15:12:05 +02:00
ailin-nemui
37f7c7f374
update include guard names
2019-05-01 22:22:22 +02:00
ailin-nemui
7e6e1f2e10
Use full paths to includes
2019-05-01 22:08:45 +02:00
vague666
c66fe616e1
Bump ABI and add another perl api function
2019-04-02 09:53:42 +02:00
vague666
40d800637a
add access to set hidden_level from perl
2019-03-22 19:24:18 +01:00
ailin-nemui
034752ade3
fix gui_input_get_extent
...
it was causing a free of data with [transfer=none]
2019-02-04 14:33:41 +01:00
ailin-nemui
1c6f256098
Merge pull request #973 from ailin-nemui/perl-wcwidth
...
expose wcwidth and related to perl
2018-11-29 10:18:16 +01:00
Calvin Buckley
a634b34ba4
Rename cap_* funcs to irc_cap_*
...
Some systems often "namespace" cap_ for themselves, and so irssi's
usage can conflict with their own. Bump ABI for this.
2018-11-25 14:50:47 +00:00
ailin-nemui
288f220f87
fix width of byte codepoints
2018-11-13 00:14:15 +01:00
ailin-nemui
deaa1da55e
cast to unsigned char
2018-11-12 14:11:27 +01:00
ailin-nemui
9e5e5d8625
expose wcwidth and related to perl
2018-11-12 13:14:02 +01:00
ailin-nemui
4537d85b0b
reverse queue
2018-11-09 11:32:00 +01:00
ailin-nemui
1e2547eb92
fixup perl side
2018-10-04 09:33:07 +02:00
ailin-nemui
05fd64dd16
improve rawlog perf
2018-10-04 09:24:10 +02:00
ailin-nemui
b9a274a81d
correctly separate ignore flags (no_act, hidden) from level
2018-09-17 12:26:13 +02:00
ailin-nemui
1e6d787401
ensure cap_supported is existent yet
2018-02-07 11:07:22 +01:00
ailin-nemui
f8fbc1e1ab
Merge pull request #775 from LemonBoy/caps_kv
...
CAP 3.2 support
2018-02-05 22:29:35 +01:00
ailin-nemui
9072e98819
change color -> extents (malloc based)
2018-02-02 13:56:56 +01:00
GinjaNinja32
925ae6e6ad
Add color support for input bar
2018-01-18 10:08:00 +01:00
Jari Matilainen
4041f29711
Changed spaces to tab
2018-01-09 23:16:26 +01:00
Jari Matilainen
f2e73a7046
Add perl access to hidden_level in TEXT_BUFFER_VIEW_REC
2018-01-09 23:15:08 +01:00
LemonBoy
98836f8b7e
Parse the K/V form in CAP LS
...
This is a prerequisite for the IRC v3.2 compliance.
2018-01-07 12:36:18 +01:00
ailin-nemui
2b918fd9b8
move decls before code
2017-11-30 11:17:05 +01:00
ailin-nemui
3792bc9ba9
Merge pull request #762 from ailin-nemui/global-history
...
allow access to global command history when using a specifc history
2017-11-26 00:28:58 +01:00
ailin-nemui
96c7f68b35
clean up file path after move
2017-10-26 16:15:25 +02:00
ailin-nemui
16d68a86ca
add two XSFuncs to manipulate command history entries
...
it is possible to use Irssi::UI::Window::get_history_entries to save the
history entries, load_history_entries to load entries into the command
history and delete_history_entries to remove history entries (for example
to remove history selectively)
2017-10-06 15:02:15 +02:00
ailin-nemui
1fd285dccf
refactor history to use history_entries list
...
this allows access to the global history even when a using /window history
named or /set window_history on, and you want to recall something from one
of the other windows' histories.
usage (default): ctrl+up/down
2017-10-06 14:58:47 +02:00
Stephen Oberholtzer
5c4e6304ce
Don't emit the script destroyed signal before script is actually destroyed
...
The script unloading code originally worked like this:
1. Destroy package
2. Emit 'script destroyed' signal
3. Unhook script's signal handlers
If a script added a 'script destroyed' signal handler, unloading
that script would cause the 'script destroyed' signal to be sent to the
(already destroyed) package. This would cause a script error, which would
trigger a script unload, which would start the whole process over again,
until we run out of heap or stack space and segfault.
This commit simply reorders the operations so that the 'script destroyed'
signal is sent *after* the script is fully destroyed.
2017-02-28 23:48:56 -05:00
Hanno
677fb1f55c
perl_parse needs NULL terminated parameter list.
2017-01-15 22:20:23 +01:00
Martijn Dekker
c9c45e4f89
make irssi --with-perl build with separate object directory
...
irssi 1.0.0 will not build if Perl is enabled and a separate
object code directory is used. The problem was a relative path
to an internal Perl dependency in four Makefile.PL.in files.
2017-01-06 12:24:36 +01:00
LemonBoy
4ccffd85ff
Expose 'sasl_success' to the perl side.
2016-12-12 21:41:07 +01:00