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
Timo Sirainen
79d1d7089a
Added --home and --config command line parameters to irssi to specify
...
locations for ~/.irssi and ~/.irssi/config
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
9eed52fa40
Replaced GList by adding prev/next pointers to LINE_REC. This should make
...
some things faster and take a bit less memory. Also fixed an evil memory
leak.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12 21:44:01 +00:00
Timo Sirainen
aae1efa61a
Moved screen_refresh_thaw() in initialization before the
...
fe_common_core_finish_init() so that if it prints something it gets printed
to screen immediately. Also doing it afterwards triggered some screen
updating bug and the printed lines were left blank until screen was
refreshed..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:24:52 +00:00
Timo Sirainen
7ffe6ace97
removed fe-perl
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:27:02 +00:00
Timo Sirainen
75543048b5
Added -v / --version command line option. Moved POPT_AUTOHELP option to
...
fe-common from fe-text.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 20:22:43 +00:00
Timo Sirainen
6362ab86f6
"print text finished" -> "gui print text finished". Added %[options] format
...
for printing text. The syntax for options is [+-]<option>[+-]<option>...
Currently supports options 't' = timestamp, 'T' = server tag, 's' =
line_start, 'S' = line_start_irssi. -s or -S means don't print the
line_start. For example %[-st+T] would never print line_start or timestamp
to line, but would always print server tag to line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 21:28:00 +00:00
Timo Sirainen
af4d6bebe3
Added $cumode expando which works like $P, but prints voices/halfops also.
...
Changed statusbar to use $cumode. Patch by fuchs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 19:27:26 +00:00
Timo Sirainen
8b733e0568
special-vars: added flag PARSE_FLAG_ESCAPE_THEME to escape { and } chars
...
with % char. Used this with statusbar items - now for example "{error xxx}"
topic won't print it with error color.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 15:33:07 +00:00
Timo Sirainen
5ddb29fb33
if perl is compiled statically, initialize it after the "irssi init
...
finished" signal so for example ~/.irssi/startup is run before the perl
autorun scripts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-21 07:10:25 +00:00
Timo Sirainen
f7e9649286
/SET scrollback_lines 0 now means unlimited.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-18 15:32:05 +00:00
Timo Sirainen
bd7cc25590
resizing empty windows didn't work properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 21:58:47 +00:00
Timo Sirainen
af7c5fd221
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1536 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-02 12:35:25 +00:00
Timo Sirainen
05777636a7
Replaced all direct curses calls with screen_xx() wrappers. This should
...
enable us to optionally use termcap directly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 21:49:07 +00:00
Timo Sirainen
6f5c1117de
moved /SET ignore_signals to core.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 20:21:07 +00:00
Timo Sirainen
e403244a2d
Resizing window destroyed curses window, but didn't update the view's curses
...
window which kept using the old one, and probably crashed soon.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 19:12:07 +00:00
Timo Sirainen
3f0e76d516
more #endif WANT_BIG5 -> #endif changes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:49:32 +00:00
Timo Sirainen
62aa12c411
s/newline/new_line/ - AIX curses (or something) seems to use #define
...
newline for something
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1528 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 17:48:41 +00:00
Timo Sirainen
3d370cd3e0
Removed gccism: #endif WANT_BIG5 -> #endif
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1527 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 17:45:36 +00:00
Timo Sirainen
3bc5752be6
Split window fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-31 10:51:21 +00:00
Timo Sirainen
39d54da896
added missing ')' from last patch :) and now /last 0<number> (eg. /last 050)
...
also isn't treated as counter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30 14:45:31 +00:00
Timo Sirainen
0f62f9c21c
/LAST <number> <non-number> (eg. /last 5 -) should treat the number as text,
...
not as count parameter. This way you don't have to type "/last 5 - -" if you
want to search for string "5" from lastlog.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30 14:41:01 +00:00
Timo Sirainen
62dc0e36eb
scrolling in empty windows crashed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 23:50:13 +00:00
Timo Sirainen
d9bf6afc0a
removing line from the top of the screen crashed irssi
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 22:45:49 +00:00
Timo Sirainen
c7d4b81069
Split windows created with /WINDOW SHOW are now sticky if
...
/SET autostick_split_windows is ON.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1506 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-18 14:54:02 +00:00
Timo Sirainen
2338954e8a
textbuffer_view_redraw() - call werase() before drawing anything, this
...
hopefully helps with some buggy curseses.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1505 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 21:01:00 +00:00
Timo Sirainen
a914b60689
don't crash with /WINDOW HIDE
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1504 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:52:43 +00:00
Timo Sirainen
c2b2d45bd6
Getting rid of gettext, moved some _(..) texts to themes and left some error
...
messages hard coded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:13:59 +00:00
Timo Sirainen
a88cd53ea5
raw() mode also disabled SIGINT == ^C, so remove the 5x^C = SIGTERM.
...
Also use sigaction() instead of signal() with /SET ignore_signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 11:47:21 +00:00
Timo Sirainen
31499f142c
cbreak() -> raw() - this fixes at least the Ctrl-4 abort.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 11:24:33 +00:00
Timo Sirainen
af08857261
KEY_RESIZE isn't defined in all curseses, #ifdef it
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 11:13:06 +00:00
Timo Sirainen
f89d89b0e7
statusbar was a bit broken when using split windows
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:35:38 +00:00
Timo Sirainen
e3805b63a5
Line removing fixes, /LAST -clear fixed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1477 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:12:21 +00:00
Timo Sirainen
4e06d50255
updated /BIND help, removed special_char bind command and added insert_text.
...
It can be used to add text to entry line, $variables also works with it (eg.
/BIND ^T /TOPIC $topic)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1476 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:44:23 +00:00
Timo Sirainen
912cf63c07
resizing terminal with /CLEARed empty windows scrolled those windows so that
...
the last screenful of text was visible again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:08:47 +00:00
Timo Sirainen
1cc3891821
KEY_RESIZE is sent when screen is resized, ignore it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:01:46 +00:00
Timo Sirainen
711c17b746
keyboard handling rewrite
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-06 19:28:15 +00:00
Timo Sirainen
6d4f2ab6fa
--with-big5 enables Chinese Big5 charset support. Patch by vanilla@freebsd.org
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-01 09:38:06 +00:00
Timo Sirainen
a321ad0150
/SET indent_always - should we indent the long words that are forcibly
...
wrapped to next line. Default is ON.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-22 23:20:42 +00:00
Timo Sirainen
cb4ce9f1b2
potential crash fix..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 17:35:29 +00:00
Timo Sirainen
7acb8fa027
added/removed some checks
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1450 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-16 16:46:34 +00:00
Timo Sirainen
26312fae9a
split windows were broken. added some checks to textbuffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1449 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-16 16:44:10 +00:00
Timo Sirainen
8405520f5b
resize fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1446 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 23:44:31 +00:00
Timo Sirainen
529e204139
some resize problems fixed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 23:24:19 +00:00
Timo Sirainen
5d5b9cbc28
bugfixes for multiple windows support :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1443 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:40:45 +00:00
Timo Sirainen
adb7eced39
Rewrote text buffer handling in windows - try #3 .
...
/SET scrollback_save_formats + /SB REDRAW is broken currently. There's some
other minor things that might need to be changed.
This time it allows the same window to be visible multiple times in screen,
like you could make a new split window where to scroll back and find
something while still seeing the new messages at the other window, this
however doesn't work yet but it should be quite easy to make it :)
I've tested that pretty much everything should work with this, new lines can
be added at any position and lines can be removed from any position and
screen should be updated properly. Screen resizing should also work
perfectly now (maybe it did previously too, not sure) and hopefully now we
won't see any of those ugly strange bugs some people were having. Also this
time the same code isn't written 2-3 times to do some specific thing, like
scrolling has now only one view_scroll() function instead of the 3 separate
functions it used to have :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:24:56 +00:00
Timo Sirainen
86f5d9c0b4
removed unused colors
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01 01:39:28 +00:00
Timo Sirainen
e9b4833c48
gui_window_line2text(): don't keep track of colors - if fg or bg doesn't
...
change, just use FORMAT_COLOR_NOCHANGE instead of figuring out what it
should be.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01 00:31:02 +00:00
Timo Sirainen
4b5803d6d7
removed some unused includes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01 00:25:47 +00:00
Timo Sirainen
d9008ae249
%F = blinking on/off. several fixes to make blinking work better. some
...
hilight fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:32:32 +00:00
Timo Sirainen
c3da7fa8ab
Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
...
hilight_act_color now use %codes for specifying color.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
aa4a4d4072
Added some debug messages..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1401 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 00:55:47 +00:00
Timo Sirainen
9e1cbb2637
Text buffer: Saving pointer to char[] didn't work correctly with
...
netbsd/alpha which caused crash soon after startup. Changed the code a bit,
I'm not sure if it's still correct ANSI C but at least it seems to work fine
with netbsd/alpha now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1397 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 22:33:58 +00:00
Timo Sirainen
99e7b28eef
minor cleanup
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:48:04 +00:00
Timo Sirainen
dcb652bc4d
when some statusbar item was forced to be removed because of lack of space,
...
it still used 2 chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:31:36 +00:00
Timo Sirainen
87777968c3
Beginnings of configurable statusbar. The existing items can be configured
...
in default.theme.
If some abstract isn't set in theme, it fallbacks to the one in
default.theme now. This should help with old themes, and maybe themes
that don't change something should just keep those parts commented out..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:26:12 +00:00
Timo Sirainen
1d453ed92c
%n+bg color change doesn't anymore set foreground black. changed theme's
...
default_bold_color to default_real_color.
Activity list printed first item with white always. Color redrawed itself
every second.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 19:43:32 +00:00
Timo Sirainen
4d5da596c9
Statusbar rewrites. Colors are currently not configurable at all, but other
...
than that, it should work better.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 10:33:13 +00:00
Timo Sirainen
2968d45f82
/SET scroll_page_count - don't crash if /0 is given. Works now properly
...
if /0.xx is given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1364 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:27:40 +00:00
Timo Sirainen
9f28d16456
/LASTLOG -window unknown crashed irssi
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 23:55:54 +00:00
Timo Sirainen
5f0b432beb
"command window prev" -> "command window previous"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:45 +00:00
Timo Sirainen
f56ddd872a
/SET autostick_split_windows (default ON) - should we do /WINDOW STICK
...
ON to all new split windows and hidden windows that are created inside
it. This hopefully makes it easier to use split windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 05:46:09 +00:00
Timo Sirainen
24e36e0081
More statusbar size fixes. Shouldn't corrupt entry line anymore.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:52:17 +00:00
Timo Sirainen
a1842e6baa
Statusbar could have gotten to endless loop trying to grow size of some
...
item when there was no space left.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:35:12 +00:00
Timo Sirainen
160da45261
/WINDOW SHOW didn't work properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:26:35 +00:00
Timo Sirainen
d4558de232
/SET prompt - if target had %c or something in it, it shouldn't be
...
treated as color code. So color codes can now be used in /SET prompt
string itself, but in none of the $variables it uses.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:34:06 +00:00
Timo Sirainen
fcd8810b6c
Removed all beep handling from text printing. If you want to beep just
...
send "beep" signal.
/LAST -clear crashed if window contained only lastlog lines. Some other
minor cleanups.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:22:09 +00:00
Timo Sirainen
88094fa9f2
delete_next_word key implemented, patch by Tinuk
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:04:10 +00:00
Timo Sirainen
95c17bafc4
/LASTLOG: -case option for case-sensitive matches. -force option is now
...
required to print lastlogs longer than 1000 lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:45:35 +00:00
Timo Sirainen
64e52b7e26
/WINDOW STICKY -> /WINDOW STICK
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27 08:00:45 +00:00
Timo Sirainen
a04a1c6f21
Entry line works now properly with very long prompts
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 19:00:07 +00:00
Timo Sirainen
4718edf055
added format_get_length() for getting length of text part in a format
...
string. gui_printtext() now works like printtext_string() so %s won't
accidentally crash it. /SET prompt can now have %formats.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 04:21:15 +00:00
Timo Sirainen
c3cebfd93d
Instead of directly calling beep(), send "beep" signal which default
...
behaviour is to call beep()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 14:55:42 +00:00
Timo Sirainen
2e1466d210
/LASTLOG syntax updated
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:27:24 +00:00
Timo Sirainen
6b4a838813
Moved /LASTLOG handling to lastlog.c. Added options -file <filename>
...
for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:23:04 +00:00
Timo Sirainen
f453e84436
/NETSPLIT prints nicks now sorted and prints @ or + before channel if
...
user was opped/voiced before split.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:33:39 +00:00
Timo Sirainen
c1c7674ae2
Highlight colors can now have background color set with fg,bg. Works
...
with activity list too, useful for example blinking.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:25:24 +00:00
Timo Sirainen
1117638b52
Moved autoconnects and command line parameter parsing from irc to core.
...
Added not_initialized parameter to chat protocols that are created
using chat_protocol_get_unknown(). /CONNECT doesn't crash now with
non-initialized protocols but instead complains about them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:50:08 +00:00
Timo Sirainen
5807efc587
more static perl fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 11:05:29 +00:00
Timo Sirainen
abe4ddb52a
/LOAD module tries to load "module_core" instead. If it wasn't found,
...
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.
Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:35:35 +00:00
Timo Sirainen
355e7dd841
theme->default_color is now used again, added default_bold_color which
...
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do
anything with curses..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 10:19:47 +00:00
Timo Sirainen
5ab27ea604
/SAVEWINDOWS saves now split windows
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 07:26:54 +00:00
Timo Sirainen
5061783f4c
added descriptions for left_window and right_window
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:34:46 +00:00
Timo Sirainen
0de0499fd8
/WINDOW STICK [ON|OFF|<ref#>] - stick window to specified main window.
...
After setting window to sticky non-sticky windows can't replace the
active sticky one. Each main window can have it's own sticky window
group.
/WINDOW LEFT, /WINDOW RIGHT - Go to previous/next window in the current
sticky window group, or if there's no sticky windows go to
previous/next non-sticky window. Alt-Left/Right keys default to these
commands now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:43:21 +00:00
Timo Sirainen
3f113f51b9
make deinitialization between screen_refresh_freeze() and
...
screen_refresh_thaw() so screen won't get redrawn needlessly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-05 01:06:42 +00:00
Timo Sirainen
e2acaaa067
Added gui_printtext() function for printing text in printtext() format
...
to screen in specified position.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 19:29:38 +00:00
Timo Sirainen
b24243e45a
/SB STATUS: for debugging mostly, displays number of lines and used kBs
...
of memory per window and totally
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:11:47 +00:00
Timo Sirainen
2a31ecaa32
Ugly quick hack to make act: never disappear but print as much activity
...
to statusbar as fits.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 11:23:29 +00:00
Timo Sirainen
4339c9a7ed
WINDOW_REC: added width and height variables
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:44:29 +00:00
Timo Sirainen
96512a3d6a
/SB END: Don't do anything when already at the bottom (it was broken if
...
there was empty space at bottom)
Horizontal resizing now keeps window position. Also some fixes to
vertical resizing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 09:16:22 +00:00
Timo Sirainen
1157ed5800
mainwindows_recreate() should be declared always
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:58:16 +00:00
Timo Sirainen
ae2bb54a42
screen resizing fixes when resizeterm() isn't supported
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:47:51 +00:00
Timo Sirainen
0807bafbe8
no, bugfix done wrong :) reversed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:25:49 +00:00
Timo Sirainen
24dd6d0917
Compiling with --disable-curses-windows was broken
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:20:30 +00:00
Timo Sirainen
a5d88f4db1
#undef some things term.h #defines that break irssi
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 22:18:09 +00:00
Timo Sirainen
1698500f80
$[.10]var truncates the var to 10 chars, but doesn't pad if var is
...
shorter than 10 chars
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-12 17:05:05 +00:00
Timo Sirainen
1a3c700838
Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 10:15:34 +00:00
Timo Sirainen
c5832fdc56
Fixed, added comment what it does so I wouldn't forget again :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:29:00 +00:00
Timo Sirainen
d256f71a00
Highlighting cleanups. Added /HILIGHT -priority option.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:06:45 +00:00
Timo Sirainen
1de2aade40
In core/module-formats.h: IRCTXT_ -> TXT_
...
Added "message irc ctcp" signal to print CTCPs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 19:42:59 +00:00
Timo Sirainen
64dcb756b6
/BIND comment updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:22:58 +00:00
Timo Sirainen
59d46dcadf
MIRC colors >=16 changed to work as in MIRC (color %= 16)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:20:09 +00:00
Timo Sirainen
596ef586b2
Added keyboard_entry_redirect() function to keyboard.[ch] which sends
...
the signal "gui entry redirect" signal. Added possibility to keep the
entry hidden.
/OPER [<nick> [<password>]] - syntax changed. If password isn't given,
it's asked.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:01:51 +00:00
Timo Sirainen
4a33801669
Added/moved several "typedef struct _XXX XXX;" to common.h so that
...
they're known to all files and I don't need those stupid "void *xxx"
anymore just to avoid useless #include. Header files themselves don't
either include others as often anymore.
Added channel->ownnick to point to our NICK_REC in channel's nicks.
Gives a minor speedup in few places :)
Moved completion specific lastmsgs from channel/server core records to
fe-common/core specific records. Also changed the nick completion logic
a bit so it should work better now. Removed
completion_keep_publics_count setting, but changed the meaning of
completion_keep_publics to same as _count was before. Nick completion
doesn't have any time specific code anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 07:45:54 +00:00
Timo Sirainen
d130d80696
bugfix for displaying 128-160 ascii chars.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1010 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 19:24:21 +00:00
Timo Sirainen
bbc33bff5e
/SET prompt, /SET prompt_window - Specifies the text in prompt.
...
'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:39:22 +00:00
Timo Sirainen
aac80846b8
Settings are now stored in module-specific blocks. Irssi complains
...
about all unknown settings that are found inside those blocks.
Left backwards compatibility kludge which should be removed in 0.7.98.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 05:44:45 +00:00
Timo Sirainen
fc491c5f8d
Some minor query fixes. Nick changes are also detected by checking if
...
query with another nick from same address if found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 02:20:22 +00:00
Timo Sirainen
346808789c
net_gethostbyname_nonblock(): don't crash if net_gethosterror() returns
...
error message as NULL.
Initialize winsock with win32.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 19:43:12 +00:00
Timo Sirainen
d1eaeca255
Split expandos from special-vars.c to expandos.c. Added list of signals
...
to each expando that can might change it's value.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 00:53:04 +00:00
Timo Sirainen
1c9f45b4a4
Use GIOChannel instead of sockets directly. Helps porting to win32 :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 22:57:18 +00:00
Timo Sirainen
e81fdd7307
/CLEAR -all - clear all windows.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 20:36:00 +00:00
Timo Sirainen
ba3842761e
don't allow printing iso8859-1 nonprintable highascii chars.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 15:15:03 +00:00
Timo Sirainen
d8f07fe001
/SET scroll_page_count - how many lines to scroll with pgup/pgdn. either
...
an absolute value, or if the count starts with '/', it's calculated as
lines_in_screen/count, default is /2.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 13:11:44 +00:00
Timo Sirainen
d174cc6db0
Don't crash if first line in window is just a newline
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 06:07:33 +00:00
Timo Sirainen
043d9b8079
print the firsttimer info to irssi's window instead of stdout.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 05:47:50 +00:00
Timo Sirainen
e70ca21648
complain about old default.themes
...
notify new irssi users about startup-HOWTO
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 05:23:26 +00:00
Timo Sirainen
14dfacdb5f
Don't redraw screen when trying to scroll up at the start of scrollback
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:44:36 +00:00
Timo Sirainen
4d39f311f9
fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 02:28:01 +00:00
Timo Sirainen
fab312dde3
Print timestamps correctly with /SB REDRAW
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 22:08:07 +00:00
Timo Sirainen
d1028e2a7c
Moved activity to last item in statusbar
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 22:03:26 +00:00
Timo Sirainen
085b938dd3
/SB REDRAW fixes, multiline formats should work now correctly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 20:34:00 +00:00