Timo Sirainen
e6bf76ed11
Don't try to set alternate_nick to any default value, it's not very useful
...
and it didn't work properly if nick was 9 chars with last char being '_'
(not very likely though :). Also handle properly the situation where nick
and alternate_nick are the same.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 12:03:00 +00:00
Timo Sirainen
66e8aa2c74
Using "server1 <-> server2, server3" format for netsplit messages now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 11:11:09 +00:00
Timo Sirainen
e35c8e4d08
dcc chat actions didn't work properly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11 12:19:47 +00:00
Timo Sirainen
1d7a8245ca
Whops, didn't actually fix the connection_lost :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11 05:48:37 +00:00
Timo Sirainen
6d44620b4a
When commands were being parsed, the currectly active server should have been referenced, but the code was accidentally in subcommand parser not in the main one.. Also, the connection_lost wasn't checked after parsing the command and might have caused a glib error.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2307 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11 05:47:52 +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
4cd853feec
Purge the commands in queue for channel if you get kicked from there.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 18:39:02 +00:00
Timo Sirainen
4840b1575f
Changed again behaviour of resetting user modes when reconnecting to server,
...
it was also buggy and didn't work.. Anyway, now we don't anymore even try to
remove "non-wanted" modes set by server when reconnecting, if you really
don't want to have some mode, set it with -x in /set usermode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 18:36:27 +00:00
Timo Sirainen
9fffa58c20
Actions are now sent in "ctcp action" signal which is never ignored. "ctcp
...
msg action" doesn't work anymore nor does it show in "ctcp msg"s.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 18:02:22 +00:00
Timo Sirainen
7131ceb909
g_strdup() the error message before emitting "script error" signal, since
...
perl scripting might be executed during that signal and it clears the error
message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2302 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 17:36:41 +00:00
Timo Sirainen
4032addbf9
When /SET expand_escapes was ON, \012 and \015 should be treated as newlines
...
so that text after them is sent as privmsgs, not as direct commands to
server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10 04:03:34 +00:00
Timo Sirainen
805f59d9ee
small bugfix, mirc color flag was set on unless both /set hide_mirc_colors
...
and /set hide_text_style was on.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09 17:10:46 +00:00
Timo Sirainen
897aa03814
irc_send_cmd() now doesn't call server_disconnect(), but rather just mark
...
the connection_lost to TRUE, the disconnection is after the "server
incoming" signal is finished.
Changed irc_parse_incoming() back to not handling any commands in server's
input buffer after server_disconnect() is called, it's not safe enough.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09 17:00:45 +00:00
Timo Sirainen
6e4730b65d
Added "message dcc xxx" signals for printing DCC messages.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09 16:04:53 +00:00
Timo Sirainen
a01aab7a64
Changed level HILIGHT -> HILIGHTS.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2297 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-08 07:36:40 +00:00
Timo Sirainen
41e92b3062
the same #ifdef { parsing problem..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2296 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:28:26 +00:00
Timo Sirainen
8996062276
moved the two { chars inside #ifdef #else #endif to one { outside it, so it won't confuse some parsers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:27:28 +00:00
Timo Sirainen
855f467474
Use static arrays, so it works with non-ansi C compilers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:20:32 +00:00
Timo Sirainen
ca5df6fb8c
removed (void) definition from libtool test, so it passes with non-ansi C compilers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2293 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:12:12 +00:00
Timo Sirainen
d723a5b64b
command_bind_first() and command_bind_last() didn't work properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03 23:25:18 +00:00
Timo Sirainen
cffe29818d
Irssi::signal_emit() - make sure the parameter is a reference before trying
...
to unreference it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-03 21:19:16 +00:00
Timo Sirainen
a72f7244ff
server_disconnect() should do nothing if you call it twice, especially it
...
shouldn't emit the "server disconnected" again.
We'll now handle the remaining data coming from server after disconnection.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-02 21:21:49 +00:00
Timo Sirainen
f594121100
Accidentally had committed a debug thing.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-31 16:31:08 +00:00
Timo Sirainen
3f75bd3c3c
Abort joins on 442-numeric that dalnet sends when you can't join to channel
...
because you've not registered your nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-31 16:30:32 +00:00
Timo Sirainen
ffe00ae245
s/redirection_register/redirect_register/ in example.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-30 21:27:34 +00:00
Timo Sirainen
0b4a39be8c
"nicklist ..." signals were missing channel parameter.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2286 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-30 20:20:17 +00:00
Timo Sirainen
de6f8a7439
Irssi::version() should return the time always with 4 digits, padded with
...
zeros if needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 22:35:16 +00:00
Timo Sirainen
0ccf0ebdff
argh, typofix :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 12:40:31 +00:00
Timo Sirainen
555e3e6395
Added an extra check to make sure nothing bad happens..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 12:40:09 +00:00
Timo Sirainen
92933dace3
Server parameter is sent now too with /WHO, though the format itself wasn't changed. patch by peder.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 11:38:46 +00:00
Timo Sirainen
db907c209f
Don't add command to history if it's already in there as last entry. patch by peder.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 11:37:31 +00:00
Timo Sirainen
c15769685c
Check that the nick doesn't get added twice to nicklist, seems to happen sometimes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-22 02:28:22 +00:00
Timo Sirainen
acffe7b322
/LOG OPEN -window accepts now -targets too to specify the refnum
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-21 15:13:05 +00:00
Timo Sirainen
361e79b0d6
added $versiontime
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-21 11:57:01 +00:00
Timo Sirainen
d87d8caece
Some crashfixes with command history.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 21:52:16 +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
9ed228551b
"nick mode changed" signal was missing channel parameter
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 12:46:34 +00:00
Timo Sirainen
f6cd4478c3
And the final #include :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:18:35 +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
bf5b6c08c5
Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:14:49 +00:00
Timo Sirainen
4d1938d4ef
Changed ircnet's max_query_chans to 5 from 10, so that it wouldn't take forever to receive WHO replies if you join to 10 channels..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2271 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19 15:58:23 +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
4bc4da5c6b
mode +d is now also treated as having argument (hybrid 7 / dancer realname ban)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 19:47:23 +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
5b5df3ebbe
/VERSION printed time wrong, hopefully the last version fix..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 02:21:27 +00:00