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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
33d30268b4
added some pointer casting to get rid of warnings with some compilers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 20:14:30 +00:00
Timo Sirainen
f8221db7ca
When resizing terminal, width of all split windows weren't always updated
...
properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2364 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 19:26:58 +00:00
Timo Sirainen
2c3216d10c
A bit more better utf8 support, still not a good input line.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2355 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 03:13:06 +00:00
Timo Sirainen
46b318b831
Preliminary support for UTF8 with /SET term_utf8 ON. Input line is still
...
messed up, but lines should wrap properly in text buffer.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2354 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 01:33:41 +00:00
Timo Sirainen
f4897860b5
toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some
...
systems, use our own is_...() functions now instead.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 20:45:59 +00:00
Timo Sirainen
820c9d3d82
Comment changes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 20:42:45 +00:00
Timo Sirainen
f12d3914e5
Added -before and -after options to /LASTLOG. You can also use
...
-<number> to specify both before and after values.
Added special "#" option name to commands which specifies that
-<number> parameter is allowed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2331 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 16:57:06 +00:00
Timo Sirainen
117f27eb92
Fixed a memory leak.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2329 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 12:50:10 +00:00
Timo Sirainen
8cf0d71c5c
Some MIRC color changes, patch by qrczak@knm.org.pl
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19 18:46:23 +00:00
Timo Sirainen
02f0574506
swapped dark/bright reds.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 18:55:24 +00:00
Timo Sirainen
9ddebe6bcf
Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 13:29:20 +00:00
Timo Sirainen
c255a7b8ea
Still some #include "servers.h"s ..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:17:35 +00:00
Timo Sirainen
c99205b512
Never allow adding CR or LF characters to input line, they could mess up everything.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19 15:25:16 +00:00
Timo Sirainen
080b491db9
Hidden entry texts shouldn't have gone to command history..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2269 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19 00:42:22 +00:00
Timo Sirainen
e46446e950
Since I accidentally already committed some of the detach-code, here's the
...
rest of it. It doesn't really work, you can make irssi detached but you
can't attach to it anymore :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 23:01:12 +00:00
Timo Sirainen
ba09b3f299
if window-specific history is off, the command that closed the window should
...
go in the command history.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 22:13:18 +00:00
Timo Sirainen
f126e1b2c3
irssi-dummy was still in Makefile
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 19:41:18 +00:00
Timo Sirainen
35d363136f
Separate irssi-dummy binary was a bit stupid idea, now it can be started with -d command line parameter.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 18:41:06 +00:00
Timo Sirainen
475aa27588
Added irssi-dummy binary which works like ircii's dummy mode.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 16:27:20 +00:00
Timo Sirainen
5705e7b4f2
If window specific history was on and command changed a window, the command
...
was saved in wrong window's buffer.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 20:31:45 +00:00
Timo Sirainen
6a1f6b560f
Still some window closing bugs/crashes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 14:03:44 +00:00
Timo Sirainen
54a933f29c
Small focus bugfix when closing a split window.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 23:26:46 +00:00
Timo Sirainen
1b8a5a866d
Fixed some problems with mainwindow resizing not affecting the subwindows.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 23:20:23 +00:00
Timo Sirainen
5bab99f096
Fixed 2 small memory leaks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 04:27:32 +00:00
Timo Sirainen
377b66745d
Never print the last character in screen, this may break some terminals (cygwin at least).
...
term_addstr() now uses const char * instead of char * parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-04 14:40:37 +00:00
Timo Sirainen
1eeb5cf362
add the "gui exit" with signal_add_last() so it can be aborted while still running the other "gui exit" hooks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 13:06:31 +00:00
Timo Sirainen
b35062bb6a
snprintf() -> g_snprintf()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 15:22:52 +00:00
Timo Sirainen
6e4b264148
Make sure the more-statusbar item doesn't crash if there's no active window.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 23:50:47 +00:00
Timo Sirainen
b40901efba
When /SET colors is OFF, irssi displays all non-default background colors as reversed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 12:09:31 +00:00
Timo Sirainen
8028f969fe
didn't work properly with scripts calling Irssi::printformat()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 20:21:56 +00:00
Timo Sirainen
dd408a959d
/SET term_force_colors was broken.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 13:05:16 +00:00
Timo Sirainen
9db0c7cc7d
--more-- statusbar item didn't work properly with split windows. Also
...
changed it's settings in non-active window to be the same as in active
window (right aligned)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:35:11 +00:00
Timo Sirainen
7dfb10b29e
set only non-automatic windows sticky so that the windows irssi creates at
...
startup wont get sticky. also the check if split window was empty was wrong.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 21:42:56 +00:00
Timo Sirainen
2416437eb8
/SET colors OFF should work even if /SET term_force_colors is ON
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:44:17 +00:00
Timo Sirainen
615efbcc79
/WINDOW STICK <ref#> OFF didn't work.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2126 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:38:53 +00:00
Timo Sirainen
ffe3f5788f
When creating hidden windows in sticky split windows, they should go to the
...
active split window, not to some other non-sticky window..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:35:23 +00:00
Timo Sirainen
275c04a6aa
Irssi didn't redraw the screen properly when split windows were created but
...
were never set active.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2119 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:43:43 +00:00
Timo Sirainen
e0841d15a2
/UPGRADE now saves the session, disconnects the servers so that the socket
...
isn't closed but irssi thinks its disconnected, then it quits irssi, and as
the last command executes the new irssi. This way we get clean
deinitialization so irssi can close log files, destroy scripts, etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 01:47:29 +00:00
Timo Sirainen
04275a632e
Specified "cleft" and "cright" for ctrl-left/right keys. Added xterm's
...
keycodes for them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2111 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:57:29 +00:00
Timo Sirainen
964cb3c384
Rewrote lag statusbar item. It's now updated properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 22:21:57 +00:00
Timo Sirainen
0ffcbdc9b4
Removed memory debugging code. It's a lot easier to check for buffer
...
overflows with electric fence and memory leaks with memprof.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:30:19 +00:00
Timo Sirainen
04bb4bbf39
moved the dirty_check() before fe_common_core_finish_init() so that if
...
~/.irssi/startup file does something that wants to change the prompt it
would work..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2089 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 17:31:33 +00:00
Timo Sirainen
c710ca1d7e
Redraw the screen before emitting "irssi init finished" signal, so we have
...
input entry created if someone wants to change prompt.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2087 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 16:57:19 +00:00
Timo Sirainen
d56ed85d91
With /SET window_auto_change ON, irssi might have crashed if input entry was
...
not visible at that time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 15:59:55 +00:00
Timo Sirainen
0f865f87b9
Removed GLib error when doing /RELOAD.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 12:46:15 +00:00
Timo Sirainen
bbbb36cf19
/UPGRADE - upgrade-on-the-fly feature. Currently only moves the active
...
server connections to the new irssi process, but that should be enough to
never quit from IRC again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 01:48:58 +00:00
Timo Sirainen
18bc86bfe7
--more-- works again, better than ever :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:17:31 +00:00
Timo Sirainen
99120dc508
back to "Irssi didn't always remove the statusbar item from screen when it
...
should have." bug - this time with right-aligned items :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:15:56 +00:00
Timo Sirainen
0be0cc8198
term_refresh(): Change the color to black after everything is done. It's
...
annoying when the color usually was left to the statusbar's color and when
ssh connection to irssi dropped, the terminal's background changed to blue..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:09:02 +00:00
Timo Sirainen
1bc6c723ed
typobugfix for previous commit.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 18:16:14 +00:00
Timo Sirainen
b4f40ca9e0
Don't handle keypresses when there's no active entry in screen.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2059 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 18:12:28 +00:00
Timo Sirainen
11b175d702
After calls to statusbar_item_register() and statusbar_item_unregister(),
...
the statusbars should be redrawn. This also fixes the crash at quit when
using statusbar perl scripts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 18:06:51 +00:00
Timo Sirainen
a1197a5c08
Fixed the "multiple space split" fix :) It was causing crashes, strange that
...
it worked in my tests..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2051 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 14:28:04 +00:00
Timo Sirainen
5802ec5a34
Sometimes when changing from split window to another, irssi crashed/messed
...
up the screen. Happened mostly if the window layout was saved.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 11:56:41 +00:00
Timo Sirainen
1a80491f81
If line was split from multiple spaces, irssi printed the spaces in the
...
beginning of the next line - which wasn't good if the next line was
statusbar..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17 17:15:55 +00:00
Timo Sirainen
2f02302f45
Irssi didn't always remove the statusbar item from screen when it should
...
have.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-17 16:39:23 +00:00
Timo Sirainen
c2e2d606e6
Removed /SET term_scroll_fast - looks like il/dl commands work fine with
...
scrolling region at least in xterm and linux console, so it looks nice and
is fast.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2028 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 10:05:21 +00:00
Timo Sirainen
e54a819104
textbuffer_insert() didn't work properly when trying to add empty string.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 22:36:12 +00:00
Timo Sirainen
fee2ad09c9
The default color for line should be ATTR_RESET, not 0 (black).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2025 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 21:01:38 +00:00
Timo Sirainen
23fe491e84
/WINDOW DOWN and /WINDOW UP now cycle to highest/lowest window.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2024 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 20:49:12 +00:00
Timo Sirainen
fc91857029
Changed the escaping system - theme_format_expand_data()'s
...
EXPAND_FLAG_IGNORE_EMPTY now also checks if the argument is a $variable that
is empty. Statusbar now first expands the formats and after then expands
$variables. Should fix at least when trying to print #$$$ channel in
statusbar.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 20:02:15 +00:00
Timo Sirainen
cda63f03d4
When overriding default statusbars, don't forget the
...
type/placement/position/visible settings if they're not specified in new
statusbar config.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 18:57:31 +00:00
Timo Sirainen
39f9073586
Right-aligned statusbar items weren't positioned correctly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 18:44:58 +00:00
Timo Sirainen
c6302cd6e7
Lag checking fixes - should work fine again.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 13:47:51 +00:00
Timo Sirainen
4d771c54d9
/SET force_colors -> /SET term_force_colors. Added /SET term_scroll_fast
...
option to specify if we want to scroll with fastest method, or the cleanest
method. The default is cleanest and it looks best with xterm, with some
other terminals where line-by-line scroll is slow, you might want to use the
fast scrolling.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 00:52:35 +00:00
Timo Sirainen
0dafb7349a
Scrolling should dirty the whole scrolling area, not just the new lines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 00:32:30 +00:00
Timo Sirainen
7481fe606f
Reset the terminal color before scrolling, so the scrolled area's background doesn't get non-black..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2000 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-13 13:01:09 +00:00
Timo Sirainen
e577b8a771
Closing last non-sticky window didn't destroy the split window.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 17:39:01 +00:00
Timo Sirainen
e261b422ec
/WINDOW BALANCE was buggy sometimes - thanks to poptix for finding it :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 13:53:58 +00:00
Timo Sirainen
5014a941cb
Prefer scrolling with n lines insert/remove to 1 line at a time scrolling
...
region.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 09:32:11 +00:00
Timo Sirainen
e16b2fa495
Removed statusbar-items.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 09:15:39 +00:00
Timo Sirainen
6a82e806b4
Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
d589ac85ce
Still messing up with colors.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 21:47:37 +00:00
Timo Sirainen
3578cea258
Virtualized cursor movement and clearing to end of line. Now neither is done
...
unless really needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 15:31:13 +00:00
Timo Sirainen
d4d72e5583
Don't clear the window before redrawing, it's faster to do it at the same
...
time window is being redrawn.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 14:50:43 +00:00
Timo Sirainen
25b04419d4
Reset the color before clearing screen. Set the cursor invisible when moving
...
around in screen and set it visible again when it's in wanted position.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 14:42:28 +00:00
Timo Sirainen
655e111007
update_cmd_color() updated colors wrong.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:28:06 +00:00
Timo Sirainen
ab99ca7231
Quit if terminal gets lost.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:12:15 +00:00
Timo Sirainen
8f65188776
Some fixes to drawing lines & handling long lines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 12:54:29 +00:00
Timo Sirainen
f354fe54c7
Moved some stuff from irc to core. Added command_bind_proto() function to
...
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
9833844f38
Buffer overflow fix (read-only, might have caused some crashes).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:30:45 +00:00
Timo Sirainen
083bdc74be
indent_always setting was wrongly set when configuration was changed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1951 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 17:55:49 +00:00
Timo Sirainen
7b7b235ce8
forgot to define TI_rep for repeat() command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 20:44:45 +00:00
Timo Sirainen
6d1d0208fe
bug in last commit :) background color was broken
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 19:17:54 +00:00
Timo Sirainen
3d50a058b9
when colors aren't used, don't save last_fg and last_bg. This helps at least clrtoeol().
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 19:16:14 +00:00
Timo Sirainen
3cdedf5b4b
terminfo's term_clrtoeol() uses the clrtoeol() command only when using the default colors. otherwise it just goes and fills the line with spaces.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 19:13:52 +00:00
Timo Sirainen
2500457729
Windows weren't created with correct size. When setting statusbar lines for
...
windows, irssi didn't resize the window properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 18:42:42 +00:00
Timo Sirainen
59e310c723
stuff in LIBS moved to PROG_LIBS again. Otherwise linking perl module (and maybe some other stuff as well) tries to link all that with the module.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 13:43:46 +00:00
Timo Sirainen
6729317cac
not needed anymore, code is in term*.[ch] now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 13:04:15 +00:00
Timo Sirainen
92ec922637
clrtoeol() wasn't called always when drawing buffer, so some garbage could
...
have been left to screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 23:52:36 +00:00
Timo Sirainen
801e593718
term_getch() -> term_gets() which can be used to read multiple keypresses at
...
once. Also fixes keyboard not working with netbsd.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 23:47:47 +00:00
Timo Sirainen
856e1de779
added a "const" to cvtchar() to get rid of compiler warnings
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 23:08:40 +00:00
Timo Sirainen
0229a2bd84
Change that should have been committed already
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 22:06:07 +00:00
Timo Sirainen
20e1de5ae1
terminfo_resize() updated - new terminal width can't be taken by reading it
...
from capabilities. Have to figure out something else (setupterm()?)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 21:49:35 +00:00
Timo Sirainen
858ed4b1ef
Some resize fixes. With terminfo + /SET indent_always OFF, doubleclicking
...
long words (URLs mostly) that get split into two lines, selects the word
fully.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 21:17:34 +00:00
Timo Sirainen
3826079dba
Use TCSADRAIN option when changing terminfo settings.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 19:20:59 +00:00
Timo Sirainen
83324a0ed5
color forcing stuff left from previous commit
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1927 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 18:51:00 +00:00
Timo Sirainen
fb439b5c2a
Redrawing fixes - irssi should now rarely redraw stuff uselessly in screen.
...
Most of the code now just marks the window/statusbar/etc. as dirty, and lets
the dirty-checker handle it later.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 18:40:12 +00:00
Timo Sirainen
2ba339a26b
Added support for using terminfo/termcap instead of curses. By default,
...
configure chooses to use ncurses if found, of terminfo if only curses was
found. --with-terminfo parameter can be used to specify if you want it or
not.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 11:30:26 +00:00
Timo Sirainen
8567481fd0
When scrolling window with eg. scroll_page_count /2, irssi didn't
...
remove window's statusbars lines when calculating number of lines to
scroll.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-27 11:47:59 +00:00
Timo Sirainen
39b66ab883
forward_word and backward_word now move only to next/prev non-alphanumeric character. added forward_to_space and backward_to_space. transpose_characters moves the cursor to right. patch by peder@linpro.no.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 14:39:36 +00:00
Timo Sirainen
2a75c88f99
Added support for changing indentation behaviour with modules.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:52:15 +00:00
Timo Sirainen
b43f210a47
Reset QUIT and INTR keys at quit.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 21:19:54 +00:00
Timo Sirainen
5f1cc94f84
Redraw was buggy if entry line didn't continue to end of line.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 14:13:42 +00:00
Timo Sirainen
319e852bb4
window-top-statusbars weren't working properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 13:57:54 +00:00
Timo Sirainen
8a5cda6167
Always set the newly created entry active. Currently we don't support multiple, but if the entry moves between statusbars sometimes we first create new one then destroy the old one and there's no active then..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 13:47:13 +00:00
Timo Sirainen
7793f2fe73
Activity list colors are now configurable.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1903 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 21:26:03 +00:00
Timo Sirainen
3f3ea3c1b5
Using cbreak() mode again, but disable QUIT and INTR keys.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23 20:55:22 +00:00
Timo Sirainen
ec81d7b6fe
Deinitialize perl before textui stuff.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 10:31:03 +00:00
Timo Sirainen
79212504ec
Lag statusbar item isn't anymore displayed always
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 10:25:37 +00:00
Timo Sirainen
a5142ec311
Initialize perl before fe_common_core_finish_init() or sending "irssi init
...
finished". This way if /LOAD perl is in startup-file we don't load it twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 09:25:29 +00:00
Timo Sirainen
76c6e9ab83
Dependencies finally work correctly in perl libraries (they're each compiled
...
separately now). Added statusbar code to available to perl, it's now
possible to create new statusbar items with perl scripts.
statusbar_items_redraw(char *name) can now be used to easily redraw all
named statusbar items in screen.
Probably several other changes I've already forgotten :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 19:52:07 +00:00
Timo Sirainen
17f4d6b5de
added mainwindow_resize_freeze() and .._thaw() functions to temporarily
...
freeze all window resizes. It's now being used with statusbar code so
changing between split windows don't make the screen jump around.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1860 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 14:30:20 +00:00
Timo Sirainen
69dccf4a67
When resizing terminal smaller, destroy some split windows if they don't fit
...
into screen otherwise. Also, irssi doesn't crash anymore or mess up the
screen even if terminal is resized to 1x1 size (not sure of 0x0, my terminal
doesn't resize that small, and maybe I shouldn't bother with it anyway :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1855 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 10:35:42 +00:00
Timo Sirainen
113486564f
Fixed restoring split windows layout. Some other split window resizing fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 10:01:29 +00:00
Timo Sirainen
7d7b5e380e
/LASTLOG -count option added. patch by dgl@dgl.cx
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-19 11:59:27 +00:00
Timo Sirainen
980bd19808
mainwindow_set_statusbar_lines() resized only active window - not all
...
windows in that main window.. This made screen mess up for example with
/RELOAD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 20:18:34 +00:00
Timo Sirainen
53d5c92cf4
Fixed some memory leaks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 14:14:54 +00:00
Timo Sirainen
2752599e7a
fixed a minor memleak
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 13:45:27 +00:00
Timo Sirainen
8c7243f19c
delete_previous_word and delete_next_word now deletes only until
...
non-alphanumeric character is found. added delete_to_next_space command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:32:06 +00:00
Timo Sirainen
f86da8c0e5
Window-statusbars are created correctly with /RELOAD, some input line
...
fixes related to /RELOAD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:17:13 +00:00
Timo Sirainen
1718083cf6
Resizing terminal works now properly, also sends "terminal resized" signal
...
now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 10:45:00 +00:00
Timo Sirainen
85749b70bd
Reversed text (^V) works again.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 10:14:32 +00:00
Timo Sirainen
b716b29cb7
fallback to sb_background in theme if no other statusbar background settings
...
were found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 09:54:52 +00:00
Timo Sirainen
7e56ccba1e
When active input line was destroyed, irssi didn't set active_entry to NULL.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1823 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:59:03 +00:00
Timo Sirainen
dbe49236d2
Configurable statusbar - see default config file (irssi.conf) for example
...
how to configure it. Added %> format which clears to end of line using the
current bg color. Added support for multiple input lines (just the core, not
used anywhere yet).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:11:13 +00:00
Timo Sirainen
3432f02a05
It's now possible to stop single character /BINDs from printing to input
...
line. Hiascii characters didn't work properly with /BIND.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:15:17 +00:00
Timo Sirainen
9dd057825b
Disabled using idcok() which caused redrawing problems with netbsd.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10 15:34:49 +00:00
Timo Sirainen
be6cf00ebb
Restoring split windows layout didn't work properly (didn't I already commit
...
this days ago?)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-09 12:20:17 +00:00
Timo Sirainen
8e3005a1c1
/WINDOW MOVE UP|DOWN might have crashed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-09 12:12:28 +00:00
Timo Sirainen
cac1cbf2cf
mainwindow_set_size() called mainwindow_shrink() improperly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 20:27:43 +00:00
Timo Sirainen
6597d2d1c6
Added command /RESIZE for resizing the terminal when SIGWINCH isn't supported.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28 12:24:46 +00:00
Timo Sirainen
bdaeaa11cd
/LASTLOG: start parameter wasn't handled correctly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 14:08:35 +00:00
Timo Sirainen
0d5e569195
Some internal changes how /SERVER command works. Added /SERVER PURGE
...
[<target>] command. The channel output is purged at /PART if the output
queue is larger than 10.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:19:06 +00:00
Timo Sirainen
3deb0a7b66
--more-- checker uses now "gui print text finished" signal. "gui " part was
...
missing from signal_remove("gui print text finished") in gui-printtext.c..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 01:19:34 +00:00
Timo Sirainen
285b33e992
/SET scroll ON - should the windows be scrolled by default when you're at
...
bottom. /WINDOW SCROLL ON|OFF|DEFAULT - Window specific scrolling behaviour,
also saved in windows layout.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 01:14:26 +00:00
Timo Sirainen
51b1d80fbe
Removed trigraphs by adding "" in the middle.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:53:56 +00:00
Timo Sirainen
803d805016
Module loading updates - /LOAD shows now also the statically loaded modules.
...
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].
NOTE: all modules now need to call register_module() in their init()
function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
08b9062028
textbuffer_view_remove_line() fixes (with a small kludge..)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 18:25:43 +00:00
Timo Sirainen
c54646cad9
"mail counter" signal is now sent when mail counter is updated in statusbar.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:12:38 +00:00
Timo Sirainen
c86333393c
Changed signal / function names for /LAYOUT stuff. /LAYOUT RESET now resets
...
the split windows too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:05:50 +00:00
Timo Sirainen
a8193b168a
Never insert NUL characters to entry line (Ctrl-Space)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:39:27 +00:00
Timo Sirainen
d248a87497
one more extra cleanup for textbuffer_remove_all_lines()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:48:54 +00:00
Timo Sirainen
b9a83129fe
Some extra cleanups for /SB CLEAR.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:43:07 +00:00
Timo Sirainen
a99458ebe5
/WINDOW BALANCE didn't work properly when topicbar was off. Added a few
...
comments to mainwindows.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 14:43:14 +00:00
Timo Sirainen
1db558b8ea
Windows' parent weren't saved (but was restored..)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1711 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 15:16:26 +00:00
Timo Sirainen
45bb5c3cee
Restoring layout for split windows works betters now. Some sticky window
...
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands
/WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window
only inside split windows. mainwindows-save.c -> mainwindows-layout.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 12:41:10 +00:00
Timo Sirainen
f4e7b4a705
statusbar_item_redraw() didn't work properly with multiple split windows.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04 02:31:36 +00:00
Timo Sirainen
80793ace1c
/WINDOW STICK changes - If ref# is given and it's in another split window,
...
it's moved to the active split window - even if the window was already
sticky in the other one.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 23:39:35 +00:00
Timo Sirainen
ce0bd80b05
Added sticky window information to /WINDOW.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 22:54:08 +00:00
Timo Sirainen
6c2f9c685a
--enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
...
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.
filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
d06cd9ddbb
Resize fixes. Now SIGWINCH only sets a flag that a resize check is needed.
...
Resizes are checked/done 2 times a second.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1671 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 02:25:55 +00:00
Timo Sirainen
6ec7e12967
Added a small sanity check - the condition should never happen, but it seems
...
to have happened with one guy.. perhaps something else had corrupted memory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:14:25 +00:00
Timo Sirainen
581fc794b4
forgot to add textbuffer-reformat.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 16:10:12 +00:00
Timo Sirainen
7f9959274c
/SB REDRAW functionality - not fully working yet.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 13:13:46 +00:00