summaryrefslogtreecommitdiff
path: root/src/perl/common
AgeCommit message (Collapse)Author
2002-01-03Irssi::signal_emit() - make sure the parameter is a reference before tryingTimo Sirainen
to unreference it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27Irssi::version() should return the time always with 4 digits, padded withTimo Sirainen
zeros if needed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Still more version changes .. Irssi::version() now returns the version inTimo Sirainen
"date.time" format, so now it's also possible to "use Irssi 20011216.0149;". Also fixed a memory leak for Irssi::parse_special(). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Added $versiontime and Irssi::version_time()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Irssi::ignores() wasn't working, it looked at the server list..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15IRSSI_VERSION_DATE is now a number, so you can do #iffing with itTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14Added reference counting to server record. At least now we don't accidentallyTimo Sirainen
use a destroyed server record when some /command disconnects the server (shouldn't happen really) or when irc_send_cmd() fails sending data to server and disconnects the server (I don't know if this ever happens, but if it does, it very well could have caused crashes) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2243 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-11Added Irssi::settings_add_...(), patch by peder@ifi.uio.noTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Allow exporting symbols, patch by juerd@juerd.nlTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10Moved Irssi::command(), Irssi::Server::command() and ↵Timo Sirainen
Irssi::Windowitem::command() from ui to core. Also, Irssi::command() now doesn't default to active server/window item, if this breaks any scripts change them use Irssi::active_win()->command() instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09Added Irssi::command_set_options()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Removed Irssi::require_version(), we'll use "use Irssi 20011207;" style now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Added Irssi::require_version()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07parameters types for timeout_add() and input_add() changed from void* to SV*Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2208 dbcabf3a-b0e7-0310-adc4-f8d773084564
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