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
93061dd48f
Handle PING requests now properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 14:03:14 +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
c55bac3a09
We now handle PINGs from client properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2328 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 12:21:18 +00:00
Timo Sirainen
c8a58bffad
whops, still wasn't fixed :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 11:47:04 +00:00
Timo Sirainen
0b12f76d1f
Every time a /SET was changed, it leaked a signal_add() which would cause
...
very buggy behaviour at least related to flood checking.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 11:37:21 +00:00
Timo Sirainen
bba5603903
Autosaving settings and autoflushing write buffer might have stopped from
...
working sometimes because of missing "return 1".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 03:30:28 +00:00
Timo Sirainen
d6abc84ab5
Connection tag variable wasn't deinitialized, so when destroying a DCC
...
record it might have stopped a wrong timeout/io func (or probably not,
because new source func was allocated soon after, and it'd have the same tag
which would just be free'd twice).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 02:18:37 +00:00
Timo Sirainen
59e32a18c9
Don't use -lnsl or -lsocket if it's not needed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19 23:36:11 +00:00
Timo Sirainen
c20cc9bb1f
Added -noproxy option to /CONNECT and /SERVER.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19 23:21:24 +00:00
Timo Sirainen
77c658bf80
Added "dccownquerynick" which /FORMAT own_dcc_query uses.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2321 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19 18:49:35 +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
9941ad52bf
/SAVE -formats saves all the /formats to theme file.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-18 16:23:57 +00:00
Timo Sirainen
103d668974
When creating a file for DCC download, make sure we won't run into any race
...
conditions if /SET dcc_download_path was set to some directory where other
users could write files as well. Also, the created file mode is always 0600
now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-17 22:51:28 +00:00
Timo Sirainen
ab19c70aa1
Removed module_data from NICK_REC. It's not used for anything and just takes memory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-15 14:07:19 +00:00
Timo Sirainen
ff6d1dd0cd
that irix fix broke configure..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2316 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-14 17:01:30 +00:00
Timo Sirainen
bacc22d5ba
Don't use -lnsl or -lsocket with irix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-14 13:30:21 +00:00
Timo Sirainen
dff49792ed
Settings names are now case-insensitive.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 14:32:28 +00:00
Timo Sirainen
ea4323a1b6
< and > removed from replaces block. added %K code to msgnick so <> would
...
still be grey in nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 13:00:57 +00:00
Timo Sirainen
757be11fff
Add commas between splitted nicks. patch by Qrczak
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 12:47:12 +00:00
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