summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-chat.c
AgeCommit message (Collapse)Author
2002-02-06DCC /MSG handlers broke /MSG -ircnetTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04Broke DCC CHAT queries.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2391 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-20Connection tag variable wasn't deinitialized, so when destroying a DCCTimo Sirainen
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-09Added "message dcc xxx" signals for printing DCC messages.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25/SET dcc_own_ip now affects also which interface irssi uses to connect toTimo Sirainen
outgoing DCC connections. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11added "dcc request send" signal - irssi now prints "DCC CHAT/SEND requestTimo Sirainen
sent to nick". git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20dcc_autoget_lowports -> dcc_autoaccept_lowports since dcc chat uses it tooTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory andTimo Sirainen
at connect() time it's decided which one should be used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21DCC CTCP replies weren't handled properlyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Removed /SET dcc_block_size and /SET dcc_fast_send - fast send is nowTimo Sirainen
always used and dcc_block_size is useless with it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10DCC cleanups - split DCC_REC to CHAT|GET|SEND_DCC_RECs. Plugins shouldTimo Sirainen
now be able to add whatever new DCC types. Nick changes affect DCC chats. /WHOIS without parameters works properly in DCC CHAT queries. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18DCC cleanups - half rewrite. New features: file names with spaces workTimo Sirainen
properly, you can have multiple dcc chats with same people (or more useful, same nick in different ircnets), /DCC CHAT|GET|RESUME with no arguments accepts the last request, notifies if dcc request was sent to channel, warns about connecting to lowports, /SET dcc_autoget_lowports specifies if autogetting should work with lowports, complains of invalid dcc ctcps instead of ignoring. And fixed /SET dcc_autorename OFF which didn't work before. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07item_get_dcc(void *item) -> WI_ITEM_REC *itemTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1088 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05Server events: switched order of data and server parameters. it's nowTimo Sirainen
SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04Use GIOChannel instead of sockets directly. Helps porting to win32 :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23s/enum GInputCondition/int/ - enums aren't supposed to orred together iTimo Sirainen
think.. at least MIPSpro gave warnings about it and it also feels wrong :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23several fixes to make irssi compile without warnings with MIPSproTimo Sirainen
also fixed ctcp_queue_clean() - it might have crashed sometimes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18compiler warning fixes + one real bug in dcc-chatTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25Don't allow sending data to dcc chats if connection isn't finished yet.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15Some changes handling g_input_add() - maybe this helps to problemsTimo Sirainen
where irssi sometimes eats all the cpu. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Added syntaxes of all commands in comments, they're going to be used toTimo Sirainen
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23A few extra checks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Use net-sendbuffer with DCC chat.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16Implemented network transmit buffer. If all data couldn't be sentTimo Sirainen
immediately, it's sent after a small timeout. This cleans up some code with IRC command sending. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@478 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15Fixed DCC stuff. Added DCCMSGS level for DCC chat messages.Timo Sirainen
Actions match now either MSGS or PUBLIC level as well as the ACTIONS level always. Added DCCMSGS level to default highlight levels. Highlighting works with other than public messages now even if -nick option is used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04If there was any spaces after /DCC CHAT nick (like after used nickTimo Sirainen
completion), Irssi used the spaces as part of the nick. /MSG =nick would also fail because of it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@425 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20cmd_get_params() calls had wrong parameter counts.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18Changed option handling in /commands. Irssi will now complain aboutTimo Sirainen
unknown options and missing option arguments. Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17Added /SET reuse_unused_windows setting, default is OFFTimo Sirainen
If window_close_on_part is ON, we don't anymore close the window if we get kicked or connection gets lost. Also don't close DCC chat window if the other side disconnects. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04Lots of DCC related fixes.Timo Sirainen
Added command_bind_first() and command_bind_last() functions. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25With some systems Irssi didn't notice if connect() failed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15Lots of changes again. Biggest ones:Timo Sirainen
- window's text buffer should work better - themes are almost working, you can change the text formats with /format - automatically try to rejoin the channel after 5 minutes if the join there failed because it was "temporarily unavailable" (netsplits) - generally cleaning code.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04.. lots of changes ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564