summaryrefslogtreecommitdiff
path: root/src/irc/dcc
AgeCommit message (Collapse)Author
2002-11-11whops, forgot to addTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11DCC send supports now queueing. Patch by Heikki Orsila <heikki@ee.tut.fi>,Timo Sirainen
although I did pretty heavy changes which hopefully didn't break it too badly :) New syntax: DCC SEND [-append | -prepend | flush | -rmtail | -rmhead] <nick> -<file> [<file> ...] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14/SET dcc_file_create_mode wasn't used. Also print strerror() message ifTimo Sirainen
creation fails. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14in_addr_t wasn't too standard, so use guint32 after all.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14s/guint32/in_addr_t/ actually.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14DCC was broken with some 64bit systems (64bit unsigned long)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26removed the stupid error-parameters from net_connect*() calls. errno can beTimo Sirainen
used just fine. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26"/MSG *" works now properly with dcc chat queries.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26net_ip2host() and net_host2ip() now treat any IPv6 IPs as 0.0.0.0, if IPv6Timo Sirainen
support isn't enabled in irssi. Also DCC's human readable IP address is taken from DCC SEND request directly with IPv6. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19net_connect*() contains now error parameter, so it can be used to properlyTimo Sirainen
check the errno if connect() fails. Added support for connecting to named UNIX sockets. Some cleanups with session handling / server connecting as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17crashfix for previous ~/. kludgeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16kludgeing: don't autoget files beginning with '.' if dcc_download_path isTimo Sirainen
home dir. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12dcc reject bugfix went wrong, fixed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12irssi didn't notice if DCC send connection died.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10don't send DCC REJECT when closing a connected DCC connection.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23warning fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2708 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18/SET dcc_send_replace_space_with_underscore - patch by nix@suhs.nuTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-11/SET dcc_autoget_max_size default changed to 0 (disabled) - it's prettyTimo Sirainen
stupid default since no-one wants it anyway git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-10Fixed one error and several warnings with GLIB 2.0Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31Listen for DCC connections in all interfacesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17fallback to rename() if link() isn't supported on the filesystem, so peopleTimo Sirainen
can still download files to such FSes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13proper checking for lseek() failureTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10Correctly handle DCC GET write() failures.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2427 dbcabf3a-b0e7-0310-adc4-f8d773084564
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-02-02Ignore /SET dcc_autoresume if /SET dcc_autoget is OFF.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2371 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-17When creating a file for DCC download, make sure we won't run into any raceTimo Sirainen
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-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-19Ignoring CTCPs shouldn't ignore DCC CTCPs, we're checking DCC level forTimo Sirainen
ignoring them now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19If /SET dcc_upload_path is empty, we should use the current directory, notTimo Sirainen
root directory. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2074 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get ↵Timo Sirainen
before possibly identically named headers in the glib's include directory. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 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-09-12The new /SET dcc_port range didn't work properly..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10/SET dcc_port accepts now port range (eg. "10000 20000")Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Module loading updates - /LOAD shows now also the statically loaded modules.Timo Sirainen
You can't /LOAD the same module twice. Syntax changed to /LOAD <module> [<submodule>], /UNLOAD <module> [<submodule>]. NOTE: all modules now need to call register_module() in their init() function. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30DCC_REC was missing MODULE_DATA_INIT() / .._DEINIT()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01dcc, flood and notifylist aren't compiled as loadable modules anymore,Timo Sirainen
no-one wants that and irssi crashes in AIX because of it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22/SET dcc_own_ip for specifying own IP to use in DCC requestsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1512 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-05-11"dcc error file not found" -> "dcc error file open". Print the actual errorTimo Sirainen
message based on errno, don't just assume the file wasn't found. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1471 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-04union { .. } addr removed from IPADDR - it hasn't been actually usedTimo Sirainen
for a long time.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1339 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-28fixed some signed/unsigned issuesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1304 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