summaryrefslogtreecommitdiff
path: root/src/perl/perl-common.c
AgeCommit message (Collapse)Author
2016-10-22Rename SSL to TLS.Alexander Færøy
This patch changes the internal name of SSL to TLS. We also add -tls_* options to /CONNECT and /SERVER, but make sure that the -ssl_* versions of the commands continue to work like before.
2015-12-13ensure staticlib perl works on 5.22 (for now)ailin-nemui
2015-12-09Add bindings for exec-type window items to PerlAilin Nemui
These bindings were missing and resulted in non-hash non-undef active entries when an interactive process is executing.
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-09-11source cleanup: remove trailing whitespacesMichael Vetter
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
2011-11-21Add -noautosendcmd to /SERVER and /CONNECT.Alexander Færøy
Passing this option will force Irssi to not execute the content of the autosendcmd chatnet-setting upon connect. Fixes: #738 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-12-09Add the path contained in the perl_use_lib setting to the search listJase Thew
when attempting to automatically use chat_protocol perl modules. This fixes the automatic calling of "use Irssi::Irc" when the Irssi perl modules have been installed in a location outside of perl's site/vendor hierarchy. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Allow storing multiple "other" prefixes such as +q and +a.Jilles Tjoelker
Original patch by JasonX, somewhat changed by exg and me. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05Remove support for perl 5.004 and older.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4706 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20Farewell glib-1.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-12-08Remove CR and LF from Perl commands, to make it harder to introduce a ↵Wouter Coekaerts
security bug git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-26Fix tr_TR locale problem for glib2 (still a bug with glib1.2) by David PashleyWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3728 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
2003-01-25Lets see if GC happens to work now without explicit free() calls. PerlTimo Sirainen
objects now set the C pointer to NULL once they're done with it, so this might just work without leaking.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-11Check for gc.h tooTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23actually no, it doesn't work ;)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23a bit better checking for free'd variables.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3071 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23Added /SET perl_memory_check_level which works with only GC enabled. 0Timo Sirainen
doesn't do any checks, 1 checks for memory to be valid (default) at the time, 2 runs GC and then checks if memory valid (slower, but detects errors much better). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23--with-gc enables now support for Boehm's GC, if it's found and glib2 isTimo Sirainen
used. This also enables an extra check for perl library to verify scripts aren't using objects that have already been free'd - while not a fully safe solution it's much better than before :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10GC fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-08Added Irssi::Script object and "script error" signal.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04Added no_connect to SERVER_CONNECT_REC, also exported a few other variablesTimo Sirainen
to perl. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28Cast pointers to IVs instead of using GPOINTER_TO_INT() which casts them toTimo Sirainen
ints. Hopefully fixes 64bit architectures. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19support for threaded perl. patch by mls@suse.deTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-04Using Irssi::Ignore crashedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2865 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-04-28perl hash length fixes, they're also automatically checked now inTimo Sirainen
autogen.sh (by peder) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2736 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28$witem->{data_level} didn't workTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23added $query->{last_unread_msg}Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13removed the debugging code..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13added some debugging code to irssi_bless_iobject() - can it really be anTimo Sirainen
overflow? :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11added ownnick to Irssi::ChannelTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2583 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-12-03added a few asserts to make sure we don't mess up if IDs go above 16bitTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01Added ~/.irssi/scripts and PREFIX/lib/irssi/scripts to default @INC pathTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19perl_command() - just a small sanity check that we're not sending emptyTimo Sirainen
command. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2106 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-19Chat protocol ID was assumed to be 8bit or less, this may not be so sinceTimo Sirainen
the ID is taken from generic unique ID-pool which grows fast.. Now the we'll divide the 32bit number to 16bit chat protocol ID and 16bit object ID. They might not fit either, so I think I'll need to rewrite this part of code some day :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18Irssi::Chatnet can now be accessed from perl.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2055 dbcabf3a-b0e7-0310-adc4-f8d773084564