1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00
Commit Graph

395 Commits

Author SHA1 Message Date
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