1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

370 Commits

Author SHA1 Message Date
Emanuele Giaquinta
6e3870af5c Simplify using new_pv.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-19 13:15:48 +00:00
Emanuele Giaquinta
07be2f048d Fix Irssi::settings_get_str to return Nullsv when settings_get_str returns NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-15 18:22:18 +00:00
Emanuele Giaquinta
35574b10c4 Do not crash when settings_get_str returns NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 15:52:04 +00:00
Wouter Coekaerts
b25c8cf1d1 Don't crash on /quit with scripts causing and catching signals during UNLOAD (thanks senneth)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 09:37:18 +00:00
Emanuele Giaquinta
714aa30b4e Add support for utf8 to Irssi::settings_get_str.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-11 09:29:58 +00:00
Wouter Coekaerts
740987a39b New perl command send_raw_first, patch by ComradeP (Bug 413)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-05-04 10:07:23 +00:00
Wouter Coekaerts
aea901728e Fix compilation with gcc4 and --with-gc, Patch by Michael Poole
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-29 21:02:31 +00:00
Wouter Coekaerts
b25310faf1 Fix tr_TR locale problem for glib2 (still a bug with glib1.2) by David Pashley
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-26 12:25:19 +00:00
Wouter Coekaerts
9124723ce1 Fix /script reset, which caused crashes (Bug 48)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 15:37:31 +00:00
Wouter Coekaerts
abb28cae20 Add libtool's -module flag to get built properly on all platforms, by Toby Peterson (Bug 212)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:43:39 +00:00
Valentin Batz
19e800cf23 Fixed memory leaks when destroying a channel, when loading nonexisten scripts and in topics, patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-06 21:31:58 +00:00
Valentin Batz
7020ba8751 Updated the changed arguments for ban_remove
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-04 10:30:53 +00:00
Wouter Coekaerts
c08f9f3867 And the same for signal_continue
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06 20:48:25 +00:00
Wouter Coekaerts
64c6af7865 Recognise a param of signal_emit from perl if it's an int
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06 20:11:26 +00:00
Timo Sirainen
482d07b7c3 Make /LOAD script.pl load it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-06-29 10:07:03 +00:00
Timo Sirainen
217283caea isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20 10:57:57 +00:00
Timo Sirainen
5bbeffbcbd Added Irssi::Irc::Dcc::Server support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 22:59:45 +00:00
Timo Sirainen
80a277a34f remove Makefile with make distclean
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:19:03 +00:00
Timo Sirainen
2b00fd58b7 NOTIFYLIST_REC usage crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-06 14:10:42 +00:00
Timo Sirainen
9c7360ad46 don't unload libraries when deinitializing. leaks some more memory, but fixes some crashes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-27 10:53:32 +00:00
Timo Sirainen
0e61b4c829 Lets see if GC happens to work now without explicit free() calls. Perl
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-25 03:19:40 +00:00
Timo Sirainen
b687ace2b1 Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-11 00:24:30 +00:00
Timo Sirainen
d9af8f0d4f didn't compile with older perls.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-07 17:18:00 +00:00
Timo Sirainen
0d7f682cbe Added missing settings_get_*(), patch by peder
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-30 11:17:57 +00:00
Timo Sirainen
bd6fe052bc Added time, size and level setting types. Breaks some settings - I'll add
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-28 17:54:13 +00:00
Timo Sirainen
9c18cb00e7 Added support to define new default abstracts at runtime.
Irssi::abstracts_register([key => value, ...]);


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 15:25:10 +00:00
Timo Sirainen
ab91c843bd actually no, it doesn't work ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 07:22:20 +00:00
Timo Sirainen
f070a873e0 a bit better checking for free'd variables.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3071 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 07:19:03 +00:00
Timo Sirainen
2a8e1b5251 Added /SET perl_memory_check_level which works with only GC enabled. 0
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 06:16:30 +00:00
Timo Sirainen
cdc52b773e --with-gc enables now support for Boehm's GC, if it's found and glib2 is
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-23 06:06:14 +00:00
Timo Sirainen
6825f1e67e GC fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 20:30:03 +00:00
Timo Sirainen
65eb0d3280 Added Irssi::Script object and "script error" signal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-08 17:43:57 +00:00
Timo Sirainen
6230c055f2 Added Irssi::signal_register() to dynamically register new signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 22:17:07 +00:00
Timo Sirainen
27f54e286f Added no_connect to SERVER_CONNECT_REC, also exported a few other variables
to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 11:39:31 +00:00
Timo Sirainen
439818bcf8 Made irssi_binary global and exported to perl as get_irssi_binary().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03 22:37:02 +00:00
Timo Sirainen
1c57816451 forgot to commit with previous perl changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3008 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 16:05:32 +00:00
Timo Sirainen
902280eca7 Irssi::timeout_add(), timeout_add_once() and input_add() were buggy.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-10 10:14:18 +00:00
Timo Sirainen
df7ccce8ec Some compiling fixes found by -Wall in perl dirs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07 17:40:05 +00:00
Timo Sirainen
a6095cd421 Use the modified PERL_CFLAGS + CFLAGS to compile .xs files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07 17:38:26 +00:00
Timo Sirainen
da439fdbe4 added quotes to make CC="$(CC)"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-03 09:06:29 +00:00
Timo Sirainen
a7e4c7da00 typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-29 17:46:57 +00:00
Timo Sirainen
8f424cd082 fix for new perls
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:50:55 +00:00
Timo Sirainen
c764853132 Cast pointers to IVs instead of using GPOINTER_TO_INT() which casts them to
ints. Hopefully fixes 64bit architectures.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:49:14 +00:00
Timo Sirainen
ba52d084d6 Try to fix perl compilation for people whose perl has been compiled with
non-GCC but are trying to compile irssi with GCC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2976 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 00:12:42 +00:00
Timo Sirainen
d58e119a98 Exported expando interface to perl. Fix for statusbar deinit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-27 22:30:41 +00:00
Timo Sirainen
dc2a4c620e define empty aTHX_ too if it's not defined
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-22 15:53:39 +00:00
Timo Sirainen
f31b59b48b support for threaded perl. patch by mls@suse.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19 14:30:10 +00:00
Timo Sirainen
4bb26bb951 If script returns 0 while it's being loaded, it's terminated without any
error message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 16:04:11 +00:00
Timo Sirainen
c7cfe9f3cb actually, eval {} it anyway so the script can be unloaded even if UNLOAD
fails..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 15:52:31 +00:00
Timo Sirainen
7c92a27256 better way to check if UNLOAD exists
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 15:49:12 +00:00