summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2002-02-10Removed some old backwards compatibility code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07only the first of --home / --config parameters were parsed, which broke eg.Timo Sirainen
irssi which was started with --config and /UPGRADEd. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2401 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07'-' option as last parameter didn't work (eg. /LAST -)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07Set objects ->type = 0 when freeing to make sure we notice immediately ifTimo Sirainen
they're being used after freed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04printtext(): you can now specify server target with tag name instead ofTimo Sirainen
record. This is useful with DCC chats when you know the initial server tag but the server might be already disconnected. So what this means is that you now get ~/irclogs/ircnet/=nick.log instead of ~/irclogs/=nick.log :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Server referencing in /EVAL really should have checked if the server wasn'tTimo Sirainen
NULL :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03target_type for "/MSG *" wasn't set properly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added target_type to send_message(), -channel and -nick parameters to /MSGTimo Sirainen
to specify if it's supposed to be to channel/nick. /MSG -channel is used automatically by irssi when sending messages to channel (the "normal" way without /msg). This should help with protocols that don't have any channel name prefixes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added missing #includeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03A bit more safer now to use /EVAL with a command that disconnects fromTimo Sirainen
server.. Also added a FIXME: window item would need reference counting as well, eg. "/EVAL win close;say hello" wouldn't work now.. But that's probably job for the rewrite irssi. don't go use things like that :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn'tTimo Sirainen
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and /DEVOICE so you can do /OP * again :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02Comments are now allowed everywhere in config files.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01added some pointer casting to get rid of warnings with some compilers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30/CONNECT and /SERVER crashed without parametersTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29..and of course I broke IPv4 net_gethostbyname() with it :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29OK, looks like I was doing stupid things with IPv6 hostname lookups :) BackTimo Sirainen
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-29net_gethostbyname() fix for ipv6.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28Fixed a few minor memleaks. Don't use g_strdup() in lib-popt because it mayTimo Sirainen
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-28Don't change the "wanted nick" when receiving NICK event from server, unlessTimo Sirainen
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-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
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-26Added -rawlog <file> option to /CONNECT and /SERVER, so you can get theTimo Sirainen
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-25/SERVER ADD -noproxy wasn't saved to configTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24/SERVER ADD: added -noproxy option and -proxy which just removes theTimo Sirainen
-noproxy. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24Fixed a small memory leak when connected to same network twice.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22last commit was only partial :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22Never reconnect immediately to server when server is being disconnected -Timo Sirainen
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-22Added /SET proxy_string_after setting which gets sent after NICK/USER, bncTimo Sirainen
wants this. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20Added -before and -after options to /LASTLOG. You can also useTimo Sirainen
-<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-20Autosaving settings and autoflushing write buffer might have stopped fromTimo Sirainen
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-19Added -noproxy option to /CONNECT and /SERVER.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-15Removed module_data from NICK_REC. It's not used for anything and just takes ↵Timo Sirainen
memory. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12Settings names are now case-insensitive.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11Whops, didn't actually fix the connection_lost :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11When commands were being parsed, the currectly active server should have ↵Timo Sirainen
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-08Changed level HILIGHT -> HILIGHTS.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2297 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04the same #ifdef { parsing problem..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2296 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04moved the two { chars inside #ifdef #else #endif to one { outside it, so it ↵Timo Sirainen
won't confuse some parsers. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04Use static arrays, so it works with non-ansi C compilers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-02server_disconnect() should do nothing if you call it twice, especially itTimo Sirainen
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
2001-12-31Accidentally had committed a debug thing.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added WINDOW_REC declaration to common.h, removed unneeded #include ↵Timo Sirainen
"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-16Leading zeros didn't work well in IRSSI_VERSION_TIME.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Added $versiontime and Irssi::version_time()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15IRSSI_VERSION_DATE is now a number, so you can do #iffing with itTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14net_listen(): when socket() failed because we tried to use IPv6, we shouldTimo Sirainen
have falled back to IPv4, but wrong errno was checked. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14Added reference counting to server record. At least now we don't accidentallyTimo Sirainen
use a destroyed server record when some /command disconnects the server (shouldn't happen really) or when irc_send_cmd() fails sending data to server and disconnects the server (I don't know if this ever happens, but if it does, it very well could have caused crashes) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09Better support for halfops, patch by yathen@web.deTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09Regexp-ignores weren't compiled at startup - thanks to Manoj KasichainulaTimo Sirainen
for noticing this, I never tried restarting when trying to reproduce the regexp problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07$!xx! history search didn't work because history_func() got also theTimo Sirainen
trailing '!' character. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06/IRCNET ADD -usermode option added.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2206 dbcabf3a-b0e7-0310-adc4-f8d773084564