1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

2345 Commits

Author SHA1 Message Date
Timo Sirainen
aed634ae08 /CONNECT and /SERVER crashed without parameters
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30 22:00:06 +00:00
Timo Sirainen
05ecb785fb "/MODE #channel -k" automatically appends the channel key if it wasn't
given.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30 01:57:34 +00:00
Timo Sirainen
0edf041e14 ..and of course I broke IPv4 net_gethostbyname() with it :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 23:11:22 +00:00
Timo Sirainen
13eb6379e7 OK, looks like I was doing stupid things with IPv6 hostname lookups :) Back
when I originally wrote that code, there wasn't any man pages for them and I
couldn't really find any good docs either, so I just copy&pasted some code
from somewhere and it seemed to work. Anyway, it was doing reverse name
lookup for uninitialized host name which really wasn't a good idea :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 22:16:40 +00:00
Timo Sirainen
f2a4a97668 net_gethostbyname() fix for ipv6.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 21:26:41 +00:00
Timo Sirainen
3801628b44 Forgot to commit utf8 change here.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 03:35:18 +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
0cdc8a7f6a Whops, crasfix for last "fix". :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2353 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 23:31:36 +00:00
Timo Sirainen
747d0f19ca Fixed a few minor memleaks. Don't use g_strdup() in lib-popt because it may
be freed with a real free() call instead of g_free().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2352 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 15:20:57 +00:00
Timo Sirainen
08c23ce6d4 Don't change the "wanted nick" when receiving NICK event from server, unless
we did the /NICK change. This is useful with the new irc servers changing
your nick to your UID instead of killing you, at reconnect time you'd get
"invalid nick" when irssi would try setting the UID as your nick..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 05:28:25 +00:00
Timo Sirainen
a6ee439c26 "Your nick is owned by .." message was checked always with default nick.
This wasn't wanted with eg. /IRCNET ADD -nick.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 02:37:54 +00:00
Timo Sirainen
ebe60cca55 Scripts using Irssi::printformat() might have crashed irssi, especially if
they cought in autolog.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 22:15:37 +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
0f1550dbf8 Added -rawlog <file> option to /CONNECT and /SERVER, so you can get the
rawlog from servers that disconnect you too fast.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2346 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-26 12:43:47 +00:00
Timo Sirainen
e00877e89b /SERVER ADD -noproxy wasn't saved to config
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-25 02:28:42 +00:00
Timo Sirainen
182adb805c /SERVER ADD: added -noproxy option and -proxy which just removes the
-noproxy.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24 20:57:16 +00:00
Timo Sirainen
d74d284463 Fixed a small memory leak when connected to same network twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24 01:19:52 +00:00
Timo Sirainen
16693c461f Tab-completion for /SCRIPT UNLOAD crashed irssi soon after
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-23 20:36:52 +00:00
Timo Sirainen
46a6cf58f3 Don't send proxy commands to server if -noproxy option was used.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-23 00:23:31 +00:00
Timo Sirainen
4c4f7ec042 last commit was only partial :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 21:04:39 +00:00
Timo Sirainen
92eaf0dc9a Never reconnect immediately to server when server is being disconnected -
this could lead scripts (or maybe even irssi itself) handle the partially
disconnected server wrong. Also moved the server->disconnected = TRUE before
the "server disconnected" signal is sent, this makes sure the
server_disconnect() is never called twice.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 21:04:04 +00:00
Timo Sirainen
0157d234f8 Added /SET proxy_string_after setting which gets sent after NICK/USER, bnc
wants this.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 20:29:45 +00:00
Timo Sirainen
5202ef9314 distclean -> distclean-generic so it'll be executed before clean-am which
removes */Makefiles.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 19:52:17 +00:00
Timo Sirainen
fbfc2b8ab6 Irssi::command_bind*() allows using hash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2336 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 18:25:39 +00:00
Timo Sirainen
2cd0cb5ef8 removed some unused code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 15:56:29 +00:00
Timo Sirainen
e4aa149c54 Irssi::signal_add_first() and .._last() allows hashes now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21 19:20:08 +00:00
Timo Sirainen
1af5f41812 Added Irssi::term_refresh_freeze() and ..thaw()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2333 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21 18:20:44 +00:00
Timo Sirainen
cda3d1eaee Using signal_add_first() for a few more signals now, so they can be stopped by scripts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-21 16:57:44 +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
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