summaryrefslogtreecommitdiff
path: root/src/perl/common
AgeCommit message (Collapse)Author
2008-03-09Use g_ascii_str{,n}casecmp for case insensitive comparison withEmanuele Giaquinta
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21Remove .cvsignore files.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-06Revert perl utf8 stuff for now.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-12-10Declare str in PREINIT section.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20Turn on the utf8 status only if the charset is utf8.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-19Simplify using new_pv.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-15Fix Irssi::settings_get_str to return Nullsv when settings_get_str returns NULL.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12Do not crash when settings_get_str returns NULL.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-11Add support for utf8 to Irssi::settings_get_str.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07Fix /script reset, which caused crashes (Bug 48)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06And the same for signal_continueWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06Recognise a param of signal_emit from perl if it's an intWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20isupport patch by David LeadbeaterTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-30Added missing settings_get_*(), patch by pederTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28Added time, size and level setting types. Breaks some settings - I'll addTimo Sirainen
automatic converter to these settings later. Meanwhile you CVS users can fix your config files yourself :) Time settings allow using "days", "hours", "minutes", "seconds" and "milliseconds" or several of their abbreviations. For example "5d 4h 5msecs". Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their abbrevations. For example "5MB". Level settings are currently handled pretty much the way they were before. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04Added Irssi::signal_register() to dynamically register new signals.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03Made irssi_binary global and exported to perl as get_irssi_binary().Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-10Irssi::timeout_add(), timeout_add_once() and input_add() were buggy.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07Some compiling fixes found by -Wall in perl dirs..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-27Exported expando interface to perl. Fix for statusbar deinit.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-21bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20Irssi::get_gui() now returns IRSSI_GUI_xxx which is in use.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13fixed memory leaks with several functions.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-07return value wasn't a good idea after all - added Irssi::timeout_add_once()Timo Sirainen
instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27added signal_continue() for continuing signal emission with new parameters.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27Irssi::command_bind*() commands were still using broken old signalTimo Sirainen
priorities git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16fixes for new signaling code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-09Irssi::timeout_add() - don't allow smaller values than 10Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2658 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-01print() fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2651 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24Perl's print and printf calls now write the text to irssi's window. YouTimo Sirainen
can give the level like a file handle, eg. "print CRAP 'text';". You can also give the window/server/target with $fh = $window->create_handle([level]) and $server->create_handle(target, [level]). Patch by juerd@juerd.nl git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09"use Irssi" now prints a warning if it's used outside irssi, but doesn'tTimo Sirainen
die. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-05bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03broke $server->send_message()..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22Irssi::command_bind*() allows using hash.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2336 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21Irssi::signal_add_first() and .._last() allows hashes now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2334 dbcabf3a-b0e7-0310-adc4-f8d773084564
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