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

2586 Commits

Author SHA1 Message Date
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
3a1ceaf3d0 don't bother with inlining at all, it doesn't help that much and I'm not
sure how to do it properly without warnings :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:59:29 +00:00
Timo Sirainen
c4c6428185 fix compiler warnings
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:20:24 +00:00
Timo Sirainen
9ef3044e98 /set ignore_hide_targets supports now also checking for servertag/target
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:20:08 +00:00
Timo Sirainen
a3914f2586 Added 308 whois numeric
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-27 08:33:41 +00:00
Timo Sirainen
d5bc95bc22 Make sure we aren't using a destroyed theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 08:36:25 +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
495501c284 Added /SET channels_rejoin_unavailable to disable automatic rejoining when channel is unavailable. Efnet is stupid and uses the same numeric for joining juped channels and k-lines you after trying to constantly join it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-20 14:37:56 +00:00
Timo Sirainen
e0c66e3122 Previous theme patch fixes by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-11 10:00:51 +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
bb55d3ff4d A few fixes to make irssi work with garbage collected GLIB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 17:31:26 +00:00
Timo Sirainen
0743ce0e39 Compiler warning fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 16:36:26 +00:00
Timo Sirainen
13eb240ece mode +o nick -o nick2 did +o for the nick2 too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-09 21:54: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
e51f4e96fe Don't break if nick is twice in names list (never is with non-broken
servers).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-07 20:53:50 +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
54000e1908 make printnicks global
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 20:52:33 +00:00
Timo Sirainen
abd9e6f616 Better support %n in theme abstracts. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 20:51:51 +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
45f86f7b5f Broke irssi_binary path.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 11:23:28 +00:00
Timo Sirainen
67d4550f21 Irssi didn't set the internal away reason when reconnecting to server while
being away. Patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03 22:54:44 +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
ad1136267f no, /connect -! shouldn't send the /ircnet -autosendcmd, channel's botcmd
should still be sent..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3036 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-01 16:28:12 +00:00
Timo Sirainen
b25d6f0e04 /CONNECT -! shouldn't send autosendcmds when joining channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-01 16:08:23 +00:00
Timo Sirainen
1e2cadfa04 /last -clear removes now the "lastlog would print x lines, ... use -force"
complain.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:53:44 +00:00
Timo Sirainen
7fc3a951cd and remove outdated comment :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:38:48 +00:00
Timo Sirainen
bae71dff48 If bind() fails when connecting, don't fallback to default address. Should
make it easier to notice invalid settings or figure out why it's not
working..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:38:21 +00:00
Timo Sirainen
b669dfaaaa net_gethostbyaddr() was pretty much broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 23:43:42 +00:00
Timo Sirainen
ed444e1c5f /NETSPLIT now prints the server tag as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 23:19:03 +00:00
Timo Sirainen
5b60b859d4 /SET resolve_reverse_lookup to do reverse lookups for server when
/connecting. Patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 15:39:39 +00:00
Timo Sirainen
ad27d4aac4 Create log file directories using /set log_create_file_mode + exec-bit.
Patch by Noah Levitt <nlevitt at columbia.edu>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 20:18:24 +00:00
Timo Sirainen
ecff491e02 Prettier displaying of DCC transfers, including adding ETA.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:48:03 +00:00
Timo Sirainen
5bf764ac14 doc/syntax updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:34:54 +00:00
Timo Sirainen
7c7afe9f54 completion_msg() is now public
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3019 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:24:51 +00:00
Timo Sirainen
dc8bd638e3 Irssi now uses 64bit file offets if it's only supported by system. Also did
a few changes to DCC so that it should be possible to send >4GB files.

DCC protocol uses 32bit "n bytes transferred" notifications, so I had to
bend the protocol a bit to allow 64bit files by truncating the value to
lowest 32bits. I'm not sure how other clients handle those notifications,
but irssi uses it only to figure out when the DCC SEND transfer is complete,
so it's quite safe to assume that if we've managed to write() all the bytes
and we receive the last 32bit of file size, it means the total file size
instead of the total - (n+1)*4GB.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 17:48:40 +00:00
Timo Sirainen
c2d0adc47c /SET dcc_send_replace_space_with_underscore ON was buggy.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 12:18:11 +00:00
Timo Sirainen
cb21fabb59 /SB END: if we're already at the end of buffer don't redraw it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 12:02:56 +00:00
Timo Sirainen
e4accf9c80 Timeout server connections if they're not in fully connected stage in /SET
server_connect_timeout seconds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 11:55:36 +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
e5d506e31e Less strict error checking, and notify about every error we do see.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3007 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:51:04 +00:00
Timo Sirainen
e3c041955f cmd_get_quoted_param() didn't work properly if it was used with last word
(ie. like ended with '"', which broke eg. /dcc send "file")


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:28:40 +00:00
Timo Sirainen
f167270a6b If /DCC SEND file isn't found, complain about it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:27:55 +00:00
Timo Sirainen
0368fa6b5b Try to choose better the window where we print when matching by level and
multiple windows have a match. Should fix problems with query windows with a
default msgs window + /SET window_check_level_first ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3002 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15 09:04:47 +00:00
Timo Sirainen
9b8406f335 /WINDOW NAME x, /WINDOW NAME X shouldn't complain about existing window
having same name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15 09:03:35 +00:00
Timo Sirainen
d6c1cfa14b Don't rename our nick in DCC chats when connecting to server before we know
what nick the server gave to us (ie. may not be the same as the nick we
requested).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3000 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 13:02:29 +00:00
Timo Sirainen
b5a13fd80b Don't highlight whois_extra and whois_special lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 09:24:25 +00:00
Timo Sirainen
be1cd41a34 Fixes to allow -append and -prepend work when there's only one file being
sent to wanted nick + typo bugfix.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2997 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 08:01:22 +00:00
Timo Sirainen
087e5ee525 whops, forgot to add
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 07:35:44 +00:00
Timo Sirainen
768daa6824 fixes to allow you to register a new keyboard redirection inside a
redirection handler. patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 06:54:32 +00:00
Timo Sirainen
488e7b70f4 DCC send supports now queueing. Patch by Heikki Orsila <heikki@ee.tut.fi>,
although I did pretty heavy changes which hopefully didn't break it too
badly :)

New syntax: DCC SEND [-append | -prepend | flush | -rmtail | -rmhead] <nick>
-<file> [<file> ...]


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 06:35:12 +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
14f3c0c2e5 grammatical fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-09 23:05:22 +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
a0e8cfc9f5 Added "gui key pressed" signal which is sent every time a key is pressed.
The parameter is non-translated key received from terminal, so control keys
may create multiple keypress signals (eg. home == ESC, [, H).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-05 13:34:31 +00:00
Timo Sirainen
71442509d0 Fixed some "buffer overflow" alerts when playing with buggy /EVAL values.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-05 13:10:58 +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
ef4bb2619d Support for /MODE #chan +o nick1 +o nick2 style grouping.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-31 17:24:49 +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
39fc0f5ea1 compiling fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:12:09 +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
9f089f360d GLIB2 support for SSL code. Patch by vjt@users.sf.net
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-26 18:56:35 +00:00
Timo Sirainen
f42df98fc8 "nick mode changed" now gives changed mode/type as parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-26 18:52:45 +00:00
Timo Sirainen
b05cfc62e0 config_node_nth() and config_node_index() don't count comments in config
anymore. fixes problems having comments in channels and servers block.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-25 13:57:16 +00:00
Timo Sirainen
ca4328e3ab Added #define DEFAULT_SERVER_ADD_PORT to common.h which /SERVER ADD uses as
default port. Fixed autoconnecting to use port 0 (default) instead of forced
6667.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21 19:05:44 +00:00
Timo Sirainen
37995ea05f /SERVER and /DISCONNECT handlers moved from irc to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21 19:03:47 +00:00
Timo Sirainen
fe4cdce6e6 Handle correctly g_get_home_dir() returning NULL, assume it's the current
directory then.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-19 17:48:10 +00:00
Timo Sirainen
2db9e25f5e don't crash when trying to print with non-existent module in theme..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-18 13:19:45 +00:00
Timo Sirainen
b5e80f3507 When ignoring without any options, don't print the []
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16 19:35:09 +00:00
Timo Sirainen
93253a7353 Adde -servertag to /MSG completion always with >1 connected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16 19:13:46 +00:00
Timo Sirainen
5c6bbf6cc4 Don't bother aborting /OP, /VOICE, etc. just because we're not chanop/ircop.
That check was just broken with some servers where opping would be possible
without either.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-15 22:11:26 +00:00
Timo Sirainen
80a3674acb The setting is of course "cmdchars", not "cmdchar"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:35:59 +00:00
Timo Sirainen
36ad96ed2c Complete tags to /RECONNECT too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:34:11 +00:00
Timo Sirainen
2aaec5adc7 Some changes to make doublewidth chars possibly work (or possibly horribly
break whole utf8 support :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:33:29 +00:00
Timo Sirainen
98316be40d $k - first character in CMDCHARS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:24:22 +00:00
Timo Sirainen
fb5c4c8037 More tab completion: /DISCONNECT, /SERVER ADD|REMOVE, /STATS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 16:12:01 +00:00
Timo Sirainen
fa1687596c updated /reconnect syntax.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:58:47 +00:00
Timo Sirainen
b0896601c5 /RECONNECT <tag>|* [<quit message>] - if tag is a connected server tag that
server is reconnected with specified quit message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:58:22 +00:00
Timo Sirainen
77b3ab3c44 Autolog shouldn't crash when lines are written without destination window
(can happen at /upgrade)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:33:55 +00:00
Timo Sirainen
55c2e7a066 /SET dcc_file_create_mode wasn't used. Also print strerror() message if
creation fails.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:26:26 +00:00
Timo Sirainen
4ed5e9adf6 Correct handling of /NOTICE @#channel, patch by dg
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:18:32 +00:00
Timo Sirainen
fae3ae2bfc Better print /HILIGHT lines. Also cleanup for /IGNORE lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 12:03:37 +00:00
Timo Sirainen
45883d7f36 Better message for /IGNORE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:57:01 +00:00
Timo Sirainen
9ab017b3fa /LAYOUT SAVE doesn't crash anymore with /EXEC -interactives
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2945 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:52:13 +00:00
Timo Sirainen
42d4598e06 /MSG !channel is now expanded to full !12345channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:47:10 +00:00
Timo Sirainen
40f2e1caf5 Make sure two urls aren't thought of as netsplit
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:43:18 +00:00
Timo Sirainen
7c11b314eb /UNQUERY and /WINDOW GOTO now ignores trailing whitespace
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:39:36 +00:00
Timo Sirainen
7d5ee9db1f $chatnet, $tag, $Y and $N expandos' change signals were incorrectly set,
resulting non-updating statusbar


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:36:49 +00:00
Timo Sirainen
01c9fddeba Less kludgy way to handle /SET skip_motd. Works now with laggy servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-10 01:55:24 +00:00
Timo Sirainen
3a7f566173 /QUERY reverted back.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-06 16:20:42 +00:00
Timo Sirainen
145b91bf6c msgs window didn't include ACTIONS but status did, so private actions went
always to status window if both status+msgs existed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-03 22:21:32 +00:00
Timo Sirainen
525773aa80 If reconnection was aborted by trying to reconnect to another server, the
channels and usermode wasn't restored.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 21:43:46 +00:00
Timo Sirainen
28faa953be irssi stuck to infinite loop if it wasn't compiled with gmodule.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 00:40:08 +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
1c7fc48b08 "/QUERY" no longer unqueries, but just complains about not getting enough
parameters. Lets see how many people dislike this change...


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19 15:07:57 +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
fe73785c7a /CYCLE !channel works now properly too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-18 17:44:04 +00:00
Timo Sirainen
777349ecc1 !channels weren't rejoined to correct window after reconnect/cycle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-18 17:02:58 +00:00
Timo Sirainen
74e9e265a5 when server connection was finished, it didn't move from connect_server to
active_server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-15 01:04:40 +00:00
Timo Sirainen
bb2ed605e5 added /WINDOW MOVE FIRST and /WINDOW MOVE LAST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:30:05 +00:00
Timo Sirainen
3dda9ab2df statusbar is now also updated for connecting-servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:23:57 +00:00
Timo Sirainen
a83366069f window->active_server used to hold non-connected servers, but that was
removed before because it created several problems, especially with scripts.
however that change made /server and /disconnect annoying to use with
non-connected servers.

so, now we have window->connect_server as well. either active_server or
connect_server is set, but never both. commands that can deal properly with
non-connected servers can now use the connect_server, while everyone else
happily thinks that no server is active.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:14:04 +00:00
Timo Sirainen
930dd40815 no, didn't work, again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 22:55:25 +00:00
Timo Sirainen
05577dce01 tag generation didn't check the tags from connecting servers, so same tag
could have been duplicated


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 22:46:18 +00:00
Timo Sirainen
70ac684095 in_addr_t wasn't too standard, so use guint32 after all.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 07:29:48 +00:00
Timo Sirainen
c5095a422c s/guint32/in_addr_t/ actually.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:42:37 +00:00
Timo Sirainen
9805841e61 DCC was broken with some 64bit systems (64bit unsigned long)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:36:20 +00:00
Timo Sirainen
06ef9b523f autologs weren't closed when channel was left, or query was destroyed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07 18:16:59 +00:00
Timo Sirainen
910749a2a0 banned/dns_error state was set to servers in setup, but never reset, which
means irssi stopped reconnecting to those servers forever if they occured
once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07 17:13:00 +00:00
Timo Sirainen
b532986e5b changed /FORMAT default_event -> default_event_server (sorry for breaking
some themes, this is just so much better name for it :) and added a new
default_event, which is the format for default numeric events from your
current server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-31 16:13:18 +00:00
Timo Sirainen
6019a5cd15 Don't crash if /SET irssiproxy_ports is changed while having connected
clients


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:59:13 +00:00
Timo Sirainen
886c92e141 /FOREACH WINDOW /WINDOW CLOSE could crash irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:45:43 +00:00
Timo Sirainen
fd6fe24317 a bit more fixes for +k updating
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:46:48 +00:00
Timo Sirainen
1faed99b33 Don't update channel key from 324 numeric, some servers send channel key as
"*" in it which breaks irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:42:23 +00:00
Timo Sirainen
746ae09050 wait a bit longer before sending massjoin signal. also added a comment how
it's supposed to work.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 12:45:09 +00:00
Timo Sirainen
fce48d905b moved ncurses/terminfo/etc. libs away from PROG_LIBS which should be list of
common libraries for all ui frontends..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2899 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:58:59 +00:00
Timo Sirainen
8790f97869 right. maybe now builds with glib2 right?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:37:49 +00:00
Timo Sirainen
a17321c5c8 fixes to work with glib2 (untested...)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:34:55 +00:00
Timo Sirainen
1c33e3e896 /SERVER -ssl option was lost while reconnecting if server existed in /SERVER
LIST without SSL.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2894 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 22:53:55 +00:00
Timo Sirainen
a6c4e47376 A few missing parts from SSL patch.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:40:04 +00:00
Timo Sirainen
1539cf81f3 Added OpenSSL support by vjt@users.sf.net. Also fixes a possible crash after
using /SERVER ADD -ircnet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:32:15 +00:00
Timo Sirainen
13effe87e4 removed the stupid error-parameters from net_connect*() calls. errno can be
used just fine.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:05:14 +00:00
Timo Sirainen
1b8e6d2e5b Don't crash if someone msgs you without host address (eg. dircproxy). Fix by
Antti.Siiskonen@tut.fi


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 15:12:32 +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
Timo Sirainen
0f8a81fdb1 UNLOAD method is called now for all scripts before they're destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 15:44:48 +00:00
Timo Sirainen
0c359be8e5 Added $2 = numeric to /FORMAT default_event
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 21:10:40 +00:00
Timo Sirainen
38ce412a5d /RELOADing broken theme file doesn't crash irssi anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 20:49:07 +00:00
Timo Sirainen
0b12cfe47b When checking for autojoin-on-invite channels, also check the short !channel
names.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 20:35:43 +00:00
Timo Sirainen
3303db4e87 Added support for 439 numeric ("Target change too fast") which may tell that
join was aborted.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-21 17:26:40 +00:00
Timo Sirainen
2ad623acd0 /DISCONNECT <tag> works again for not-yet-connected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-09 11:17:31 +00:00
Timo Sirainen
452db286da another crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 15:12:34 +00:00
Timo Sirainen
577c6fdb78 crashfix for sbitem->{window}
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 14:40:23 +00:00
Timo Sirainen
c7d1fa390b Added window variable to Irssi::TextUI::StatusbarItem
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 13:56:00 +00:00
Timo Sirainen
d5ded8f977 Changed CTCP handler to remove the later \001 only if it was at the end of
the line, so you couldn't hide text by typing eg. \001foo\001hidden text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-05 01:38:49 +00:00
Timo Sirainen
0a1e18b50d If log file path contains any $variables or %time codes, create the
whole directory structure to the log file. This way log files created with
/LOG OPEN properly create the directories at startup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 20:46:14 +00:00
Timo Sirainen
eb0bb65c7f comment update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 16:20:49 +00:00
Timo Sirainen
d11cb0f2c2 '\' characters in nicks were skipped when sending messages in queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 16:20:10 +00:00
Timo Sirainen
c9f5eafb3d since some servers nowadays don't like having "-" as user/realname, changed
the username default to "unknown" and realname default to username.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 16:12:16 +00:00
Timo Sirainen
e7902ae551 Using Irssi::Ignore crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-04 13:18:17 +00:00
Timo Sirainen
ddfc6aebcc comment update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:45:16 +00:00
Timo Sirainen
35889a4ca8 the -nick fix broke things :) now a proper fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:39:07 +00:00
Timo Sirainen
9b74acc9ab cmd_get_quoted_params() fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:38:48 +00:00
Timo Sirainen
ac86432503 nick tracking change: now it renames the query only if the old nick doesn't
exist in any channel with you


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:13:33 +00:00
Timo Sirainen
e1b4a2ff8e Query nick tracking: don't change query's nick if both the old and new nicks
exist in one channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2860 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 20:48:03 +00:00
Timo Sirainen
ea24fe9aeb fixed query to work with nicks beginning with '-' char
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 18:03:40 +00:00
Timo Sirainen
b38316c8ba Moved setlocale() at the beginning of initialization, should fix regexp
crashes with non-C locale.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 17:32:05 +00:00
Timo Sirainen
b9b0917897 strip_codes() didn't handle ANSI colors properly, and if used at the end of
line it might have crashed irssi (especially with topics). yeah, remote
crash. great.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-19 03:06:05 +00:00
Timo Sirainen
648a43ce14 updated dancer's channel forwarding support - using +f channel mode now, and
we won't print whois_modes anymore after forwarding.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-13 21:59:25 +00:00
Timo Sirainen
cfa4966dc3 Wallop actions fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-13 21:47:40 +00:00
Timo Sirainen
80b8d0628a $X expando didn't check if server type was irc properly, and crashed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-10 20:56:24 +00:00
Timo Sirainen
b2a7ac4686 irsis --dummy fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07 15:52:16 +00:00
Timo Sirainen
80cc61b63f Empty lines can be now sent to /EXEC -interactive windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07 15:32:17 +00:00
Timo Sirainen
da1252cf2c /NAMES list isn't displayed on join when channel is joined because of
/UPGRADE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 23:40:37 +00:00
Timo Sirainen
191db05893 use signal_add_last("channel joined") for printing /NAMES list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2847 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 23:36:07 +00:00
Timo Sirainen
357bd2f1a4 Levels are now defined as enums, not #defines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:43:57 +00:00
Timo Sirainen
55b4ae92b8 Added /SET show_names_on_join, /QUOTE NAMES #channel now prints the names
list in raw format rather than just ignoring the reply and printing the
nicks from cache.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:41:38 +00:00
Timo Sirainen
82a6407634 /SET -default changes setting to it's default value.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:22:38 +00:00
Timo Sirainen
964ff29779 /SET irssiproxy_bind specifies the IP where to listen in, patch by BC-bd
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:14:31 +00:00
Timo Sirainen
694251442c Lines beginning with '#' in ~/.irssi/startup file are now treated as
comments


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 19:23:13 +00:00
Timo Sirainen
f40e9513b2 When completing words beginning with '/' or '~' chars, treat them as
filenames.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 19:22:16 +00:00
Timo Sirainen
6910ca4d25 Added default meta-d = delete_next_word
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2840 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 19:15:43 +00:00
Timo Sirainen
5cfaa5bb7a Finally - /^msg nick never autocreates an empty window anymore. Added new
extern int command_hide_output which can be used to check if /^ was used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2839 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05 20:11:10 +00:00
Timo Sirainen
d1e55d91b7 "/MODE !channel" should send the full name to server
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2838 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05 12:20:46 +00:00
Timo Sirainen
2013e4b004 /UNALIAS didn't work if it had space at the end.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 21:23:34 +00:00
Timo Sirainen
9092649c74 /AWAY reason tab completion shouldn't append space at the end.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 21:23:17 +00:00
Timo Sirainen
0b121d3816 Don't set window's server yet at "server looking" stage, as everything isn't
initialized yet and some things could crash irssi. But this is rather nice
feature actually, /disconnect and /server would work nicely before server is
even being connected to .. i guess i should figure out a better way to do
this, "server init" signal or something.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 21:18:32 +00:00
Timo Sirainen
1c2be864ee /exec -interactive window items didn't have get_target() which crashed
irssi at some point if they were used. patch by peder.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2834 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 20:47:36 +00:00
Timo Sirainen
8d41e24b58 Support for 330 whois event (auth) in qnet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 20:04:46 +00:00
Timo Sirainen
4fe68fcdd0 Don't show the full channel name with own joins, because it's logged into
different file than everything else. You can still see the full name with
/WHOIS.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-31 17:02:28 +00:00
Timo Sirainen
8f00c21b98 "message own_public" should be printed with channel's visible_name, not
name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-31 16:47:08 +00:00
Timo Sirainen
b152578725 server_find_tag() shouldn't return servers in lookup_servers list,
especially now that they're not fully initialized in their lookup-state
yet..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-30 18:06:08 +00:00
Timo Sirainen
6871f558b5 when destroying channel, it really should be removed also from
server->channels list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-28 20:36:42 +00:00
Timo Sirainen
700df91429 /ALIAS and /UNALIAS completion, patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:58:38 +00:00
Timo Sirainen
a6d6ade680 event_cannot_join() - changed check from NAMES got -> JOIN got, so the
channel isn't destroyed if join is received. dircproxy sent us 477 with
+channels before names list, and irssi aborted the join.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:50:55 +00:00
Timo Sirainen
137aaeb499 "/MSG *" works now properly with dcc chat queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:39:35 +00:00
Timo Sirainen
eddc3d90c6 net_ip2host() and net_host2ip() now treat any IPv6 IPs as 0.0.0.0, if IPv6
support isn't enabled in irssi. Also DCC's human readable IP address is
taken from DCC SEND request directly with IPv6.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 16:52:36 +00:00
Timo Sirainen
b95f6acc4f /AWAY reason tab completion, patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 16:30:19 +00:00
Timo Sirainen
6b7c38d1c6 use Symbol qw(delete_packge) -> use Symbol; Symbol::delete_package(). Maybe
this helps with perl 5.004 not to crash at beginning, or maybe not :) Can't
test myself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2823 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 14:36:44 +00:00
Timo Sirainen
933cbfe4b0 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-21 07:33:23 +00:00
Timo Sirainen
4aa0b9111e /UPGRADE was broken, changed again the server connection code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20 04:12:12 +00:00
Timo Sirainen
09505d628c Irssi::get_gui() now returns IRSSI_GUI_xxx which is in use.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20 03:25:48 +00:00
Timo Sirainen
6f7485b8fa net_connect*() contains now error parameter, so it can be used to properly
check the errno if connect() fails.

Added support for connecting to named UNIX sockets. Some cleanups with
session handling / server connecting as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 14:43:16 +00:00
Timo Sirainen
7437bbea5f When reconnected to server, send the away message directly to server instead
of calling /AWAY, so the away is set only to that one server..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 12:59:59 +00:00
Timo Sirainen
e2ffdfec50 don't crash if server sends us !channel name less than 6 chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 08:18:09 +00:00
Timo Sirainen
dc0088f584 hilight + keyboard fixes so it's possible for xirssi to modify them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2816 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 06:50:50 +00:00
Timo Sirainen
b9eda1adb6 External indent functions (theme_indent module) weren't working properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 11:51:04 +00:00
Timo Sirainen
86ab5ade86 /IGNORE -pattern now always assumes you want to create a new ignore. If you
wish to update existing, /UNIGNORE it first.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 07:48:23 +00:00
Timo Sirainen
5be5d14890 Stop reconnecting on kills only if the kill was done by operator, not
server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 05:59:13 +00:00
Timo Sirainen
1d10483021 Updating existing ignore didn't recompile the regexp.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2812 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 05:05:20 +00:00
Timo Sirainen
8bfd16b374 still fixing
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2811 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 04:36:06 +00:00
Timo Sirainen
1bc83aba29 servertag needs to be saved too ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 04:18:52 +00:00