summaryrefslogtreecommitdiff
path: root/src/perl/perl-signals.c
AgeCommit message (Collapse)Author
2002-01-10g_strdup() the error message before emitting "script error" signal, sinceTimo Sirainen
perl scripting might be executed during that signal and it clears the error message. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2302 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03command_bind_first() and command_bind_last() didn't work properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared forTimo Sirainen
5.004, and changed all STRLEN n_a code to use PL_na instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06Irssi::signal_add(), Irssi::timeout_add(), Irssi::input_add() and theirTimo Sirainen
variants now also allow use of code references. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29Allow using Irssi::signal_add('command ...', ..) so irssi won't crash whenTimo Sirainen
the script is unloaded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2167 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::DccTimo Sirainen
always. did s/irssi_bless/iobject_bless/, added simple_iobject_bless which DCC uses. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2092 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Removed some unused code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20perl_signal_remove() didn't work.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Irssi crashed if script died in a signal handler.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07/SCRIPT RESET didn't work properly (start/stop functions were called inTimo Sirainen
wrong order). Added a few extra deinits. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30Script name is printed now correctly if there's an error inTimo Sirainen
timeouts/signals. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1688 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29--enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPTTimo Sirainen
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL -> /SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups. filename_complete() has extra argument for "default directory" which is searched if no path is given when completing. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-24Don't crash when trying to bless NULLsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16Added Irssi::command_bind_first() and Irssi::command_bind_last()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08"complete word" signal works now with perl and it's possible to manipulateTimo Sirainen
the completion list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30Irssi::command_runsub() - patch by fuchsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07some perl fixes. NICK_REC is also now "iobject"..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17Irssi::command_bind(): Don't run the command twice. Log updated forTimo Sirainen
log_write_rec() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-10bugfixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07"return 1" doesn't anymore stop signals in perl scripts. FixedTimo Sirainen
Irssi::signal_stop() to properly stop the signal from going to other perl scripts. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04Unbinding commands didn't work properlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-03Removed the "signal" and "last signal" signals. Changed perl'sTimo Sirainen
signaling system to work without them, it should now work faster and better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1053 dbcabf3a-b0e7-0310-adc4-f8d773084564