Timo Sirainen
337ae1a862
max number of parameters for printformat() was calculated wrong.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 20:29:56 +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
a843057fed
removed memdebug support
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 18:12:30 +00:00
Timo Sirainen
698f7b9ea7
default level for /EXEC should be CLIENTCRAP, not CLIENTNOTICE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 13:56:00 +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
241fc61d23
added support for servers where /WHO only gives "end of who" message.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 21:59:49 +00:00
Timo Sirainen
53bdd8f602
Irssi didn't properly abort a redirection of which end event it missed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 20:55:45 +00:00
Timo Sirainen
e246ca668b
printformat_perl() crashfix was buggy :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 18:34:20 +00:00
Timo Sirainen
e6f006009f
/SET dcc_own_ip now affects also which interface irssi uses to connect to
...
outgoing DCC connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:35:47 +00:00
Timo Sirainen
e8b71dcd98
Added backwards compatibility for /UPGRADE for transferring nick list..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2149 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:06:11 +00:00
Timo Sirainen
c3429fa50e
/UPGRADE: when trying to restore connection to server of which chat
...
protocol is unknown, close the specified handle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2148 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:03:00 +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
09b5baa3d9
window_get_theme() now checks that window isn't NULL, so we don't crash if
...
something tries to print to screen when there's no windows yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:31:24 +00:00
Timo Sirainen
ba445fe37e
/SCRIPT LOAD modifies the script name so that all non-alphanumeric
...
characters are translated to '_' char .. now this behaviour is done also
when /SCRIPT UNLOAD is done, so people don't get confused why their "test-1"
script can't be unloaded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:17:44 +00:00
Timo Sirainen
ed4d24b282
/UPGRADE: Irssi no longer asks for /NAMES list from server when
...
rejoining channels, but the nick list is transferred in session file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:13:12 +00:00
Timo Sirainen
f0ce4f221b
Irssi::printformat() doesn't crash anymore if you try to use unregistered
...
format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:43:08 +00:00
Timo Sirainen
ff16e15389
/FORMAT timestamp and /FORMAT day_changed use now strftime()-style
...
formats for specifying time. %x is still treated as color format, so
you'll need to escape them with another % (%%H:%%S). The $ parameters
don't work anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:41:37 +00:00
Timo Sirainen
7ae96f540d
Added printtext_string_window(), Irssi::UI::Window::print() uses it also
...
now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:27:47 +00:00
Timo Sirainen
8fd09aa09f
/WINDOW NAME now complains if you try to change the window's name to
...
something that's already in use.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:16:28 +00:00
Timo Sirainen
5347d24e61
Doing /RECONNECT while server was still being connected to, irssi
...
didn't disconnect the server so you ended up having two connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:05:38 +00:00
Timo Sirainen
66b0ffe057
Irssi::Window::command() should make the specified window active_win
...
temporarily.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:01:39 +00:00
Timo Sirainen
ea904f8dc9
Irssi::printformat() crashed if the registered format contained $0- etc.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-24 01:31:49 +00:00
Timo Sirainen
24015a360a
/FOREACH QUERY did actually same as /FOREACH CHANNEL :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-21 17:50:58 +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
d133a90eaa
377 numeric seems to be used as motd by some servers..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 21:19:35 +00:00
Timo Sirainen
cd09cd6332
Still forgot to add pidwait_get_pids() here.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:54:21 +00:00
Timo Sirainen
d4d2fe5e80
added function pidwait_get_pids() which session.c uses - forgot to commit
...
last time :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:48:43 +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
94be91c30e
--session broke --help output
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:36:12 +00:00
Timo Sirainen
b24629822e
/UPGRADE: waited pids are now transferred to new client so we don't leave
...
zombie processes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2129 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:29:45 +00:00
Timo Sirainen
c355002886
using signal_add() instead of signal_add_first() again. the ..first() wasn't
...
really needed and it broke autoaway.pl script .. which is because
/DISCONNECT and /UPGRADE commands destroy the server record, but it's still
left in the signal's parameter. Guess I'll need to add reference counting to
server record as well..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:51:28 +00:00
Timo Sirainen
637a3c76c1
data_is_empty() might have crashed when it was called at the startup when
...
there was no active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:38:03 +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
a715b8b9ab
send_raw_split() example's nickarg was wrong (2 -> 3).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:28:31 +00:00
Timo Sirainen
53ce47a81a
irc_send_cmd_split() - don't crash if there was no nicks given (probably
...
called improperly from script)..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:26:36 +00:00
Timo Sirainen
72d943acdb
/UPGRADE: --home and --config parameters weren't passed to new irssi.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:19:02 +00:00
Timo Sirainen
7bdd1cbec9
Added /FORMAT names_prefix to print prefix at the beginning of each /NAMES
...
list line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:11:02 +00:00
Timo Sirainen
9cf8d32198
Typobugfix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:48:53 +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
29aa8ef2c8
/SET autocreate_split_windows - If autocreated windows should be split
...
windows instead of hidden.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:25:38 +00:00
Timo Sirainen
1eff191e65
Added halfop support for nick modes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:22:12 +00:00
Timo Sirainen
26128a3de2
Previous commit in core/commands.c broke /^cmd (command output hiding).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:08:37 +00:00
Timo Sirainen
8279d9c5c2
/SET join_auto_chans_on_invite setting wasn't registered so it didn't work..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2115 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:04:44 +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
bb3592f5c7
/UPGRADE: server command queue is now flushed to make sure everything
...
gets sent to server. Channels are now stored in in config blocks
instead of just in one string, this way we can restore the topic and
key. Away status in server is also restored.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 01:29:23 +00:00
Timo Sirainen
333f6a3bab
Added net_sendbuffer_flush() for flushing the buffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2112 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 00:54:51 +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
0fc752528f
/BIND works a bit better again when parsing the given key.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2110 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:56:00 +00:00
Timo Sirainen
44565932e3
Don't break if /CHANNEL ADD -bots list has bots separated with more than
...
one space.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2109 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:12:00 +00:00