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
a4acb08ac9
Yell if gmodule doesn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2443 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 08:31:35 +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
0dc3e3f0dd
Default background color for prompt statusbar should be %n, not %0.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2426 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 15:10:24 +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
0fccf3be6e
updated redirection code
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 11:12:05 +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