summaryrefslogtreecommitdiff
path: root/src/perl/common
AgeCommit message (Collapse)Author
2001-12-06Irssi::signal_add() accepts now a hash, so you can do eg. signal_add('sig1'Timo Sirainen
=> 'func1', 'sig2' => 'func2'); git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2200 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-12-04added signal_get_emitted() and signal_get_emitted_id()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Settings of perl scripts are now stored in "perl/core/scripts" instead ofTimo Sirainen
old "perl/core". The settings are automatically moved to the perl/core/scripts for now - this will be removed before 0.7.99 comes out. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2101 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-11-18Added Irssi::chatnets() and chatnet_find()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16Fixed a few memory leaksTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16Added Irssi::version() for returning the IRSSI_VERSION_DATE, fixed ↵Timo Sirainen
get_irssi_dir() and get_irssi_config() not to complain about const char*. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16"setup reread" signal now sends the config file as parameter. AddedTimo Sirainen
Irssi::get_irssi_dir() and Irssi::get_irssi_config(). Patch by peder@linpro.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11Updated perl API version. Fixed irssi to behave better if the API doesn'tTimo Sirainen
match (doesn't crash). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11Moved rewritten server redirection code from core to irc. This new codeTimo Sirainen
should be able to do the redirecting a lot more error-proof. Changed lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using redirection. Hopefully this doesn't break too much things in irssi :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). AddedTimo Sirainen
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Added --with-perl-staticlib option to configure. If used, irssi's perlTimo Sirainen
libraries are compiled statically into irssi binary. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Settings registered with Irssi::settings_add_xx() are now correctly removedTimo Sirainen
after script is unloaded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20Dependencies finally work correctly in perl libraries (they're each compiledTimo Sirainen
separately now). Added statusbar code to available to perl, it's now possible to create new statusbar items with perl scripts. statusbar_items_redraw(char *name) can now be used to easily redraw all named statusbar items in screen. Probably several other changes I've already forgotten :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20Added API version check between perl module and perl libs.Timo Sirainen
perl_scripts_deinit() now destroys all dynamically loaded libraries (Irssi, Irssi::Irc, Irssi::UI too) so /UNLOAD perl should now release more memory, this also makes /unload perl, /load perl work again. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Irssi::timeout_add() and Irssi::input_add() now accepts any type of variableTimo Sirainen
as data instead of just string. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22channel_create() wasn't called properlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1813 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-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-07-01void should be in separate lineTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1604 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30Updates to perl documentation. Moved Rawlog->{lines} to Rawlog::get_lines()Timo Sirainen
instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27Moved fe_perl module to use Irssi::UI .. this breaks several scripts thatTimo Sirainen
use UI-specific code, but simply adding the "use Irssi::UI;" after use Irssi; should work. make install now removes libfe_perl.* files from global module directory, but if you have it somewhere else you should manually remove it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1582 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11plain objects weren't blessed correctly in listsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01added Irssi::parse_special()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1529 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-05-11PL_na doesn't exist in Perl 5.004, don't use it.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1479 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20Added TEXT_DEST_REC to perl, fixed "print text..." signal declarations.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1453 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20Irssi::printformat() didn't workTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10typofixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08updatedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23Fixed for building from objdirTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19updatedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18updates for latest changesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1240 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-02-02Nicklist updates so that protocol specific xxx_NICK_REC can be usedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28nicklist_find() now finds only full nicks, nicklist_find_mask() findsTimo Sirainen
nick masks. This fixes *a* and similiar emphasis where irssi tried to find nick mask *a* instead of nick *a*. Also, emphasis with highascii didn't work unless emphasis_multiword was set ON. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13Removed Channel::command(), Windowitem::command() is already thereTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1111 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13Added pidwait_add() and pidwait_remove()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1106 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-06Perl updates. Lots of updates to perl documentation :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05Added printtext_string() which works like printtext(), except it printsTimo Sirainen
text from a string, so that %s, %d, etc. don't work. Changed perl's Irssi::print() use this instead as well as /HELP printer. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1072 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
2001-01-01ischannel()'s parameter updated from char -> char* as done in C API.Timo Sirainen
[irc_]query_create()'s SERVER_REC* parameter -> char *server_tag git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29Irssi::print() doesn't call printtext() with args (.., "%s", text)Timo Sirainen
since it broke %_ etc. formats. But instead of crashing every time someone prints %s with Irssi::print(), irssi now checks all those formats and prints them as-is. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1028 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29Irssi::signal_emit() was broken.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19security fixes from 0.7.97.2Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17Irssi::signal_emit(): changed max. parameter count from 6 to 7Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1007 dbcabf3a-b0e7-0310-adc4-f8d773084564