Timo Sirainen
1997b58c3a
whops, stupid utf-8 bug :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:43:35 +00:00
Timo Sirainen
ba09292f55
crashfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:40:06 +00:00
Timo Sirainen
9398746e61
Automatically change the nick to correct case in queries (eg. you did
...
/QUERY nick, and the nick really was Nick, irssi would change the query to
Nick as well)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:23:22 +00:00
Timo Sirainen
9d423576aa
If -4 or -6 option is used with /SERVER, force the correct protocol match.
...
eg. /SERVER -6 host either connects to IPv6 host or fails.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:14:04 +00:00
Timo Sirainen
b18af319cf
term_addch() : utf-8 fixes for cursor positioning.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:03:27 +00:00
Timo Sirainen
e5ab1daf30
When input line is in redirection mode, allow empty lines (eg. enter after
...
/OPER now aborts it)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:36:35 +00:00
Timo Sirainen
25ed0acc65
If you had query with "X" but the nick really was "x", and after nick change
...
to "X" you saw "X changed nick to X"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:23:37 +00:00
Timo Sirainen
aae7eae9a0
Added /SET max_wildcard_modes (default 6) - if a wildcard to /OP, /DEOP,
...
/VOICE or /DEVOICE matches more nicks than this, -yes option is required.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:15:03 +00:00
Timo Sirainen
15e716e283
Added '.' to known nick flag characters. Also supports having multiple flag
...
chars in /NAMES list, so eg. "@+nick" works or ".@nick" which is already
used by some servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:00:38 +00:00
Timo Sirainen
b89fb4a549
Never ignore kick msg if you get kicked from channel.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2558 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:46:22 +00:00
Timo Sirainen
6d6b02d10e
Netjoins in +channels were printed as if users joined to "channel" and all
...
of them had ops, so the message always went to status/active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:42:52 +00:00
Timo Sirainen
0d54e4e299
SIGHUP now does /RELOAD - useful with for example /SBAR prompt DISABLE when
...
you don't have an input line to recover :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:20:44 +00:00
Timo Sirainen
ee8229be48
/CYCLE tried to do /PART twice.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:12:13 +00:00
Timo Sirainen
a868bbe124
/CAT prints files now with CLIENTCRAP + NEVER level, so timestamps aren't
...
printed. Also since /AWAY prints the awaylog using /CAT, we don't get
timestamps there either now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:07:57 +00:00
Timo Sirainen
ca234bdf5e
*** empty log message ***
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:55:46 +00:00
Timo Sirainen
418678bc95
/CYCLE reason didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:46:40 +00:00
Timo Sirainen
44247af3ff
/KNOCKOUT code was a bit stupid, and the timeout checking wasn't very
...
/accurate.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:31:07 +00:00
Timo Sirainen
8d245f2ddf
Don't send -autosendcmd after /UPGRADE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:28:08 +00:00
Timo Sirainen
9293d23da2
/SET autoclose_query - now only last received private message affects when
...
the query is closed, ie. /WHOIS requests or nick changes don't reset the
counter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:24:08 +00:00
Timo Sirainen
b67e363cde
Foreground ANSI colors weren't working
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:22:59 +00:00
Timo Sirainen
7c9ac989ff
No more infobar, but in empty windows topicbar contains the URL.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:02:33 +00:00
Timo Sirainen
95d8b617ae
Irssi didn't work properly if read() returned only partial utf8 character
...
string.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 17:54:38 +00:00
Timo Sirainen
34e5a31673
"use Irssi" now prints a warning if it's used outside irssi, but doesn't
...
die.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 12:17:32 +00:00
Timo Sirainen
f181dca67d
Fixed a memory leak with ^Y
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 09:25:06 +00:00
Timo Sirainen
600e0da443
/SET mirc_blink_fix - if ON, the bright/blink bit is stripped from MIRC
...
colors. Set this to ON, if your terminal shows bright background colors
as blinking. Patch by pv2b
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08 21:04:59 +00:00
Timo Sirainen
a6f4afab2d
/OP etc. shouldn't crash if channel hadn't received /NAMES list yet.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08 18:40:43 +00:00
Timo Sirainen
dd00622d39
scripts should be looked from share dir, not lib dir.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-01 19:56:50 +00:00
Timo Sirainen
c62e430a92
/FORMAT tab completion went to infinite loop if there was more spaces than
...
one in the line..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-25 17:48:08 +00:00
Timo Sirainen
2d5978fdfe
^Y shouldn't crash with empty cutbuffer
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-25 17:28:55 +00:00
Timo Sirainen
015d87579c
Show window's scroll state with /WINDOW.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22 13:12:33 +00:00
Timo Sirainen
4d96d7e4df
Window level matching code was a bit messy. Also, now the active window is
...
preferred if there's multiple matches by the same level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2525 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22 13:04:07 +00:00
Timo Sirainen
dd65d300b0
Highascii chars in replaces block in theme files could have crashed irssi.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-22 12:56:24 +00:00
Timo Sirainen
911f69dc3a
/UPGRADE saves now topic_time and topic_by.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 18:12:45 +00:00
Timo Sirainen
db4a0e5003
PROXY CTCP ON|OFF - proxy clients can send this command to specify that they
...
want to handle the received CTCP requests.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 15:21:50 +00:00
Timo Sirainen
87946e381f
$cumode wasn't updated after receiving nick list, so with empty channels it
...
didn't contain @ immediately.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 15:03:53 +00:00
Timo Sirainen
bcc5174e4a
Backspace/delete shouldn't modify cutbuffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2520 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 12:46:45 +00:00
Timo Sirainen
ec0270811e
stupid bug :) lines longer than 1024 chars made irssi crash.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 12:44:23 +00:00
Timo Sirainen
2bc09e0e50
Added escape_char /BIND command for inserting the next keypress to input
...
line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-18 20:59:40 +00:00
Timo Sirainen
be0e7f04b7
if gethostbyname() failed, the return value was returned incorrectly
...
(accidentally cvs committed it after some of my test)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2516 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-18 19:48:35 +00:00
Timo Sirainen
b8eff2d3b2
Some events that contained target parameter weren't printed to correct
...
window (eg. end of bans).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 20:20:52 +00:00
Timo Sirainen
4646cb7ec9
still one isxdigit() -> i_isxdigit()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 19:41:34 +00:00
Timo Sirainen
a543f63307
compiler warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 18:05:25 +00:00
Timo Sirainen
a6d61a0b2b
--disable-terminfo didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 15:42:07 +00:00
Timo Sirainen
5e87f04a46
Another crashfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2501 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 15:37:41 +00:00
Timo Sirainen
effd1185a4
fixed a compiler warning
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:42:53 +00:00
Timo Sirainen
c02ac34c65
Log writing sometimes might have produced some glib errors.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:41:38 +00:00
Timo Sirainen
74b1a57540
compiler warning fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:25:10 +00:00
Timo Sirainen
9ebcbffd66
"whops" :) ^D<char> as last chars in line made some screen corruption and
...
maybe even could have crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:00:34 +00:00
Timo Sirainen
be44c5c04a
--help printed part of the path for irssi which looked stupid, now it prints
...
only the binary name. patch by tommik.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 12:43:39 +00:00
Timo Sirainen
37f8547dc4
Added ^I = "tab" key.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 10:09:04 +00:00
Timo Sirainen
490e411814
Don't crash if special vars line ends with '$'.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 09:37:23 +00:00
Timo Sirainen
81c2e557d1
Added /STATUSBAR # RESET command for removing the whole statusbar block from
...
config file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 15:10:27 +00:00
Timo Sirainen
1dc3dafe0d
/ACTION supports -servertag now and tab completion works with it like with
...
/MSG.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 13:33:17 +00:00
Timo Sirainen
6f136674e9
Removed useless casting.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 13:32:53 +00:00
Timo Sirainen
01bcf83b56
server->emode_known wasn't saved during /UPGRADE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 10:41:32 +00:00
Timo Sirainen
82be2070e2
Cutbuffer should be cleared when ^U is used in empty line (or in general, 0
...
chars is erased)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 10:11:00 +00:00
Timo Sirainen
941ac87dfe
Don't crash when handling input line if the input line doesn't exist (huh?
...
how? no idea :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 07:37:31 +00:00
Timo Sirainen
8b8d48d0b7
/STATUSBAR now prints a list of statusbars, /STATUSBAR <name> prints
...
statusbar info.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 07:30:57 +00:00
Timo Sirainen
2649a06fa5
There was the check for max. 10 chars/ban, but for some reason it was 11 in
...
code :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 06:56:31 +00:00
Timo Sirainen
ef5a69cfe1
/STATUSBAR # VISIBLE command didn't work properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2466 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 06:48:35 +00:00
Timo Sirainen
a52d99ecf4
/RELOAD didn't update the statusbar colors the first time. /SET theme never
...
changed the statusbar colors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 00:08:47 +00:00
Timo Sirainen
202d0b070e
command_unbind("statusbar add") was called with wrong function parameter.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 23:15:25 +00:00
Timo Sirainen
8506f11fa5
case-insensitivity for /STATUSBAR command
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:42:09 +00:00
Timo Sirainen
b3beb2c49e
Added _very_ small help for /statusbar + their SYNTAXes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:22:46 +00:00
Timo Sirainen
0e4bf301ca
More statusbar commands.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2461 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:18:48 +00:00
Timo Sirainen
b38f4da166
renamed old config_node_index() to config_node_nth(). added new
...
config_node_index() function. added config_node_section_index() for
adding/moving node to specified position in list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2460 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:18:35 +00:00
Timo Sirainen
c9fd2197e3
Added /STATUSBAR commands for most commonly used tasks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2459 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 21:42:31 +00:00
Timo Sirainen
fa3d6dcd75
Disable the nl_langinfo() if CODESET isn't defined (openbsd).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 19:33:05 +00:00
Timo Sirainen
23a31f30de
/SET term_type didn't take effect on entry until the second time it was
...
changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2457 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 18:39:32 +00:00
Timo Sirainen
de272071c5
don't crash if trying to erase 0 chars and there's no cutbuffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 18:20:03 +00:00
Timo Sirainen
fa94c72774
Allow still showing ping time even if client replied with only one ping
...
parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2455 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 16:24:53 +00:00
Timo Sirainen
eb31bb1712
transpose_characters was broken
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2454 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 16:02:14 +00:00
Timo Sirainen
b18424f7cb
added meta-f and meta-b for forward/backward word
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2453 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 15:54:59 +00:00
Timo Sirainen
d84c054024
Added /SET window_check_level_first and /SET window_default_level. This allows you to keep all messages with specific level in it's own window, even if it was supposed to be printed in channel window. patch by mike@po.cs.msu.su
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:54:00 +00:00
Timo Sirainen
9d1506ebca
UTF-8 is now automatically used if locale is set properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:42:14 +00:00
Timo Sirainen
d0a9710bb8
get_utf8_char() was buggy
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2450 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:09:10 +00:00
Timo Sirainen
0f39c504d1
Statusbar wasn't always properly cleared when there was right-aligned items.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2449 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 14:04:10 +00:00
Timo Sirainen
afeb6fcb7d
/SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it's
...
now included the same way as utf8, though i'm not sure if it really works
but at least it should partially :) Input line is now internally using 32bit
chars but it's converted to 8bit chars for external use. Text buffer
supports only 8bit + utf8 for now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2448 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 13:38:24 +00:00
Timo Sirainen
612c061605
A bit kludge fix for perl statusbar items breaking prompt changes at
...
startup. Now the entry isn't destroyed until the statusbar is, and there can
be only one entry per statusbar (well, who would want more anyway :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2447 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 09:31:25 +00:00
Timo Sirainen
6eaf161199
/LAST -before didn't print the separators.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2446 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 09:22:35 +00:00
Timo Sirainen
fcc61f2382
window_activity() and window_item_activity() are now public. Added them to
...
perl as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 09:05:45 +00:00
Timo Sirainen
99c3c13f13
fixed module_uniq_destroy() calls
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 08:37:06 +00:00
Timo Sirainen
b76b41aa6f
server->real_address wasn't restored properly after /UPGRADE and that
...
started to raise lag (or maybe crash). Also removed some backwards
compatibility code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 08:26:12 +00:00
Timo Sirainen
e30c1b4f8e
Some /NAMES fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2441 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 07:31:25 +00:00
Timo Sirainen
3dc9cbbf24
the last 001 fix was useless, removed the if() part so now the real_address
...
is changed every time 001 is received :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2440 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 16:05:47 +00:00
Timo Sirainen
dd77726aa8
added user counts parameters to /NAMES header (not used by default), header/footer is printed with CLIENTCRAP, not CRAP level. patch by zinx@magenet.net
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2439 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:36:40 +00:00
Timo Sirainen
926342839b
Separated ctcp command/data in "message irc ctcp" signal and format. Added
...
/FORMAT ctcp_requestd_unknown.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:31:57 +00:00
Timo Sirainen
264e172abf
001 event should free real_address if it already existed. this might happen
...
with for example irc bouncers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:11:47 +00:00
Timo Sirainen
f37ea1af1e
updated the glib error message with netsplits
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 15:08:28 +00:00
Timo Sirainen
c2d8dc7eee
PARAM_FLAG_OPTCHAN_NAME check didn't work properly and it was always
...
assumed, so * didn't work as channel parameter. also changed the how
PARAM_FLAG_OPTCHAN_NAME was defined.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 14:09:21 +00:00
Timo Sirainen
0da21a5f59
That msg completion nick thing broke some other completions in msgs window,
...
like /SET.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 10:09:05 +00:00
Timo Sirainen
0bb2b6a9d4
don't update window->last_line timestamp with MSGLEVEL_NEVER text, so >1d
...
/SET autoclose_query setting works with "day changed" messagse.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2433 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 07:16:02 +00:00
Timo Sirainen
c0980aacdd
missed isxdigit() -> i_isxdigit() change
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2432 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-12 03:04:34 +00:00
Timo Sirainen
8dd775252f
stupid format string bugs. wasn't there long though :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 16:19:00 +00:00
Timo Sirainen
dddd9d17a6
In msgs window, you can now complete anywhere /MSG completion nicks (eg.
...
/ignore nick<tab>)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 09:13:17 +00:00
Timo Sirainen
27665c5cfb
-actcolor %n now means that the activity isn't changed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 08:23:02 +00:00
Timo Sirainen
d883248be2
"/WINDOW IMMORTAL" shows the mortal-state. Error messages are printed in
...
active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2428 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11 07:58:24 +00:00
Timo Sirainen
64e98b7f4a
Correctly handle DCC GET write() failures.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2427 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 18:42:23 +00:00
Timo Sirainen
113ed9118e
theme_format_compress_colors() doesn't assume the default color as %n
...
anymore. This is useful at least when you want to set statusbar background
color to %n so it won't be compressed to ""..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2425 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 15:09:58 +00:00
Timo Sirainen
0c209a6899
atexit(term_deinit)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 15:01:00 +00:00
Timo Sirainen
57629dcadc
Layout save support for immortality..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2423 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 15:00:15 +00:00
Timo Sirainen
9bb16705a5
Support for "immortal" windows, that can't be closed until explicitly set to
...
mortal with /WINDOW IMMORTAL OFF. Status and msgs windows are immortal by
default.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:59:36 +00:00
Timo Sirainen
59c5bb100a
Changed some clientnotices to clienterrors
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2421 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:53:55 +00:00
Timo Sirainen
5fb5230963
Added IRSSI_GLOBAL_CONFIG as well
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:35:21 +00:00
Timo Sirainen
464ff76954
added #define IRSSI_HOME_CONFIG
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:33:42 +00:00
Timo Sirainen
83f6408979
It's possible to use black foreground color now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2418 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:21:29 +00:00
Timo Sirainen
c1d61ddeaf
term_clear() should set the background color to RESET, not to 0 (black).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2417 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:10:09 +00:00
Timo Sirainen
aaeea771c2
all subdirs are now specified in "perl_dirs" so it's easier to add/remove
...
directories.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:01:25 +00:00
Timo Sirainen
ce41d6b18a
If *=port was used with /SET irssiproxy_ports, connections to server weren't
...
sent to already connected clients.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 12:53:10 +00:00
Timo Sirainen
7f8b0f07ec
support for event 477 which aborts joins to +R channels in dalnet.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 12:13:00 +00:00
Timo Sirainen
92eccaaf26
/MSG completion should work with /QUERY as well
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2413 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 11:24:51 +00:00
Timo Sirainen
9575eecb39
Removed some old backwards compatibility code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 11:04:08 +00:00
Timo Sirainen
86dadc071c
meta-backspace is now bound to delete_previous_word by default.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2410 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 11:01:56 +00:00
Timo Sirainen
9a3af7072a
Default event handler now prints the server name where it received the
...
event, unless it's the server we're connected to. /FORMAT default_event can
be used to modify where/if the server name is printed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2409 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:51:14 +00:00
Timo Sirainen
c674db5c8e
Don't stop reconnecting to server if we get nick collided
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:21:46 +00:00
Timo Sirainen
3990779dc5
/BIND meta-k erase_completion - support for removing completion data.
...
Currently this works only with /MSG completion, so eg. /MSG nick <meta-k>
removes nick from completion list and jumps to next completion.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 10:07:12 +00:00
Timo Sirainen
62028ad487
Level for own dcc chat messages should contain NO_ACT too (which also
...
disables beeping).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2406 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 09:35:38 +00:00
Timo Sirainen
2b007931a9
since common.h wasn't included in this, changed i_isdigit() -> isdigit()
...
back with some casting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2405 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-08 22:09:39 +00:00
Timo Sirainen
2f09d9be5a
Proxy is now emitting "proxy client connected" and "proxy client
...
disconnected" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-08 07:25:51 +00:00
Timo Sirainen
747347c990
"default event" now resends "default event numeric" which gets handled by
...
the event_received() function.. I think now all those extra spaces showing
up in places should be fixed :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 23:58:51 +00:00
Timo Sirainen
2891a871b7
only the first of --home / --config parameters were parsed, which broke eg.
...
irssi which was started with --config and /UPGRADEd.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2401 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 19:30:58 +00:00
Timo Sirainen
7b70a3d91a
'-' option as last parameter didn't work (eg. /LAST -)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 19:27:47 +00:00
Timo Sirainen
0141801e2d
Set objects ->type = 0 when freeing to make sure we notice immediately if
...
they're being used after freed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 19:17:36 +00:00
Timo Sirainen
dbb279a1fe
Don't crash in /NAMES list if /SET names_max_width was too small
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 00:34:43 +00:00
Timo Sirainen
a3ccfb08d4
Still some event_received() fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2397 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 23:37:03 +00:00
Timo Sirainen
f8114c834f
DCC /MSG handlers broke /MSG -ircnet
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 18:07:55 +00:00
Timo Sirainen
3a2b45559f
/EXEC's last output line wasn't printed if it didn't contain newline at end
...
of line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 18:03:58 +00:00
Timo Sirainen
f2c78cf482
Fixed the generic event_received() hadler not to remove ':' char twice in
...
some situations..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2394 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 04:20:34 +00:00
Timo Sirainen
75e724fdf7
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-05 04:36:07 +00:00
Timo Sirainen
649a962b99
Ahem.. my little kludge had a buffer overflow :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2392 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 21:26:03 +00:00
Timo Sirainen
d1ade13a71
Broke DCC CHAT queries.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 21:20:05 +00:00
Timo Sirainen
dfa60cf38f
Use the server tag printing with queries now too.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 04:35:11 +00:00
Timo Sirainen
cf83236346
printtext(): you can now specify server target with tag name instead of
...
record. This is useful with DCC chats when you know the initial server tag
but the server might be already disconnected.
So what this means is that you now get ~/irclogs/ircnet/=nick.log instead of
~/irclogs/=nick.log :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 04:27:45 +00:00
Timo Sirainen
82b0c081e2
Server referencing in /EVAL really should have checked if the server wasn't
...
NULL :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 23:14:22 +00:00
Timo Sirainen
6c291d34a4
broke $server->send_message()..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 23:06:36 +00:00
Timo Sirainen
06a33691f4
make sure redirect_continue is set to NULL if it contains the redirection
...
that is being destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 22:28:09 +00:00
Timo Sirainen
ebaea06eb9
target_type for "/MSG *" wasn't set properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 21:58:14 +00:00
Timo Sirainen
7c94cb083f
Added target_type to send_message(), -channel and -nick parameters to /MSG
...
to specify if it's supposed to be to channel/nick. /MSG -channel is used
automatically by irssi when sending messages to channel (the "normal" way
without /msg). This should help with protocols that don't have any channel
name prefixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 21:53:37 +00:00
Timo Sirainen
6ea882f893
Added missing #include
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 19:24:51 +00:00
Timo Sirainen
e8957938ea
A bit more safer now to use /EVAL with a command that disconnects from
...
server.. Also added a FIXME: window item would need reference counting as
well, eg. "/EVAL win close;say hello" wouldn't work now.. But that's probably
job for the rewrite irssi. don't go use things like that :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 18:32:46 +00:00
Timo Sirainen
aa544dec32
Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn't
...
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and
/DEVOICE so you can do /OP * again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 18:24:22 +00:00
Timo Sirainen
b2c92f3b4b
s/query_trace_nick_changes/query_track_nick_changes/ :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2378 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 22:46:28 +00:00
Timo Sirainen
77e866c542
Added /SET query_trace_nick_changes, which tells if irssi should track nick
...
changes in queries (eg. you get a msg from nick who's user@host is the same
as you already have query with). This feature has existed before, but now
you can turn if OFF if you want :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 22:34:06 +00:00
Timo Sirainen
14457371c8
Ignoring SIGTRAP signal which is sent at /UPGRADE time.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 19:55:33 +00:00
Timo Sirainen
0ce3f8243e
Comments are now allowed everywhere in config files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:37:44 +00:00
Timo Sirainen
85b63bf546
Also, if alternate_nick is "", don't go set it to connection record..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2373 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:27:20 +00:00
Timo Sirainen
feec7bfb62
/SET alternate_nick should default to "", not NULL which would cause
...
problems.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:26:11 +00:00
Timo Sirainen
30a4a2ab76
Ignore /SET dcc_autoresume if /SET dcc_autoget is OFF.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:23:56 +00:00
Timo Sirainen
19f1700a68
Add ^H and ^? as "backspace" key, so you can use meta-backspace etc.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 02:22:29 +00:00
Timo Sirainen
9089ea2365
Replaced /SET msgs_timestamps with /SET timestamp_level, defaults to ALL.
...
/SET timestamps must be ON for timestamp_level to have any effect.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 01:38:58 +00:00