summaryrefslogtreecommitdiff
path: root/src/plugins/xfer
AgeCommit message (Collapse)Author
2014-08-20xfer: bind to wildcard address when sendingAndrew Potter
When #5 was fixed, we started to always bind to the local address connected to the irc server because the xfer.network.own_ip address may not be able to be bound to when NATed. But this means when the own_ip address is a different family (IPv4 vs IPv6) from the irc server connection, we were listening for connections on the wrong interface. This patch lets us figure out which family is being used, (xfer.network.own_ip's family, or the irc connection's family otherwise) and bind() into the correct family via that family's wildcard address.
2014-08-19xfer: Use hook_connect() for receiving chatsAndrew Potter
fixes #160
2014-05-06xfer: fix problem with option xfer.file.auto_accept_nicks when the server ↵Sébastien Helleu
name contains dots
2014-04-13xfer: fix freeze/problems when sending empty files with DCC (closes #53)Sébastien Helleu
2014-04-12core: fix crash on "weechat --upgrade" if no .upgrade files are foundSébastien Helleu
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-04-12xfer: fix help of option xfer.file.convert_spacesSébastien Helleu
2014-04-03core: close .upgrade files before deleting them after /upgradeSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-13xfer: Fix segfault in DCC send.Andrew Potter
This was broken before the previous change, since remote_address was just a zero'd out struct.
2014-03-13xfer: Don't use sockaddr_storage for address_lengthAndrew Potter
Hopefully this addresses #25.
2014-03-11xfer: Fix xfer.network.own_ip behaviorAndrew Potter
Fixes #5. xfer shouldn't try to bind() to the own_ip address. Instead, always bind to the same local address that is connected to the irc server, and just change the out_addr if own_ip is used. Also fixes a memory leak in error path.
2014-02-28xfer: replace constant by sizeof in a call to snprintfSebastien Helleu
2014-02-22xfer: remove dead assignment in function xfer_add_cbSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-18core: reformat hook_command argumentsSebastien Helleu
2014-01-10xfer: add gcrypt library for link of pluginSebastien Helleu
2014-01-09xfer: add support of IPv6 for DCC chat/file (patch #7992)Andrew Potter
2014-01-06xfer: use same infolist for hook and signals (patch #7974)Andrew Potter
2014-01-06xfer: add option xfer.file.auto_check_crc32 (patch #7963)Sebastien Helleu
Thanks to Andrew Potter for the patch.
2014-01-05xfer: replace call to sprintf() with snprintf()Sebastien Helleu
2014-01-02xfer: add "network" prefix for (dis)connection messages in xfer chat bufferSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-09xfer: load plugin even if options can not be read in xfer.conf (with warnings)Sebastien Helleu
2013-10-05core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am ↵Sebastien Helleu
in plugins This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-07-20core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.amSebastien Helleu
2013-07-11xfer: add option xfer.look.pv_tagsSebastien Helleu
2013-07-11core: sort config options by name in sourcesSebastien Helleu
2013-05-27xfer: fix compilation error on OpenBSDSimon Kuhnle
Signed-off-by: Simon Kuhnle <Simon.Kuhnle@cs.fau.de>
2013-05-22xfer: fix compilation warningsSebastien Helleu
2013-03-25xfer: add option xfer.file.auto_accept_nicks (patch #7962)Andrew Potter
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-03-01xfer: fix typo in commentSebastien Helleu
2013-02-28xfer: fix freeze of DCC file received: use select() to read socket and if an ↵Sebastien Helleu
ACK send fails, silently ignore and disable ACK (except the last)
2013-02-26xfer: fix freeze of DCC file received: use non-blocking socket after ↵Sebastien Helleu
connection to sender and ensure the ACK is properly sent (bug #38340)
2013-01-24core: display error number and string in some network errorsSebastien Helleu
Error number and string is now displayed when an error is returned by one of these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-01core: update copyright datesSebastien Helleu
2012-12-25xfer: fix memory leak when refreshing xfer bufferSebastien Helleu
2012-12-17xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logNSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-11-27xfer: display remote IP address for DCC chat/file (task #12289) (patch from ↵Sebastien Helleu
Nils Görs)
2012-11-27xfer: limit bytes received to file size (for DCC file received), fix crash ↵Sebastien Helleu
when displaying a xfer file with pos greater than size
2012-10-18core: add option "-quit" for command /upgrade (save session and quit without ↵Sebastien Helleu
restarting WeeChat, for delayed restoration)
2012-09-24xfer: fix DCC transfer error (bug #37432)Sebastien Helleu
2012-08-02core: update description of plugins and translate them in output of /pluginSebastien Helleu
2012-07-27relay: add support of SSL (for irc and weechat protocols), new option ↵Sebastien Helleu
relay.network.ssl_cert_key (task #12044)
2012-06-01xfer: set O_NONBLOCK flag on socket using flags readSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-11-27core: check pointer returned by function localtimeSebastien Helleu