summaryrefslogtreecommitdiff
path: root/src/perl/common
AgeCommit message (Collapse)Author
2015-11-25more perl inheritance warning fixesailin-nemui
2015-11-24fix nick class hierarchyailin-nemui
2015-02-16Silence unused value warnings in perl binding codedequis
sed -i 's/hv_store/(void) &/' This only results in a warning in older gcc versions, but that includes the one used in the Travis CI environment by default
2014-06-29Merge pull request #52 from dgl/stack-cleanupAlexander Færøy
Correct use of perl stack macros
2014-06-27Merge pull request #59 from ailin-nemui/perl-pl-naAlexander Færøy
get rid of PL_na
2014-06-27Correct use of perl stack macrosDavid Leadbeater
Further to pull #49 this is the result of an audit of the use of perl stack macros. There were several cases where PUTBACK was being called where the stack pointer could be out-of-date. Also some misc. cleanup where the macros were used needlessly.
2014-06-25cleanup char* casts and replace one useless SvPV with SvPV_nolenAilin Nemui
2014-06-24Define PERL_NO_GET_CONTEXT in all perl source filesDavid Leadbeater
This removes the calls to Perl_get_context() that get automatically added to XS code for ancient source code compatibility reasons. The result is about a ~60K size reduction in the binary (based on comparing two 64-bit stripped irssi binaries compiled --with-perl-staticlib).
2014-06-24get rid of PL_naLukas Mai
2009-02-21Reject invalid level specifications in /set.Jilles Tjoelker
Most of these have names that end in "_level". git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Make some functions static.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Add perl_signal_args_to_c() to convert signal parameters from Perl to C values,Emanuele Giaquinta
and make Irssi::signal_emit/Irssi::signal_continue use it. Also make perl_call_signal() turn NULLs into undef, so we can recover them in perl_signal_args_to_c(), which is its inverse operation. Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-11Add Irssi::command_parse_options function to parse options for a command whichEmanuele Giaquinta
have been set with Irssi::command_set_options. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4896 dbcabf3a-b0e7-0310-adc4-f8d773084564
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