Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-14 | core: reinitialize config file pointer to NULL after an error on section ↵ | Sébastien Helleu | |
creation | |||
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-09-23 | core, plugins: check return code of strftime function | Sébastien Helleu | |
2017-08-12 | core: fix cast of time_t (to "long long" instead of "long") (closes #1051) | Sébastien Helleu | |
2017-08-10 | core: remove value for first #define in headers, add "PLUGIN" in plugin headers | Sébastien Helleu | |
2017-07-08 | fset: fix priority of plugin (load it after all other plugins) | Sébastien Helleu | |
This fixes a refresh problem of options after /upgrade in fset buffer. | |||
2017-01-13 | tests: fix compilation of tests on FreeBSD 11 | Sébastien Helleu | |
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD. | |||
2017-01-01 | irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276) | Sébastien Helleu | |
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-12-13 | core, xfer: display more information on fork errors (issue #573) | Sébastien Helleu | |
2016-10-30 | xfer: add check on filename2 allocation | Sébastien Helleu | |
Now string_expand_home() can return NULL if the HOME environment variable it not set, so this commit adds an extra check on the variable "filename2" before using it. | |||
2016-08-20 | xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set ↵ | Sébastien Helleu | |
(closes #781) | |||
2016-08-13 | xfer: fix NULL pointer derefence in case of memory error in ↵ | Sébastien Helleu | |
xfer_set_{local|remote}_address() | |||
2016-08-13 | xfer: fix memory leak in case of memory error in xfer_chat_open_buffer() | Sébastien Helleu | |
2016-08-07 | core: irc, xfer: do not check return code of res_init() | Sébastien Helleu | |
If the call to res_init() fails, the connection may be OK anyway or in worst case it will fail (with an appropriate error) if the name can not be resolved. | |||
2016-08-07 | core, irc, xfer: add missing includes for function res_init() | Sébastien Helleu | |
2016-08-07 | core/plugins: Use res_init before getaddrinfo. | Raghavendra Prabhu | |
With weechat, if the network changes in anyway that causes resolv.conf to be updated, that is not picked up, resulting in irc: connecting to server XXXX.com/1026 (SSL)... irc: address "XXX.com" not found irc: error: Name or service not known irc: reconnecting to server in 30 seconds This happens, especially when one connects to an irc server behind a VPN. This can also happen when there is no network connectivity weechat was started but later network is connected to. The fix is simple, it relies on calling res_init (3) before getaddrinfo in network_connect_child and other places. res_init reloads the resolv.conf and getaddrinfo does not fail with address resolution error. | |||
2016-06-18 | api: remove functions printf_date() and printf_tags() | Sébastien Helleu | |
2016-05-27 | core, irc, xfer: display more information in memory allocation errors (issue ↵ | Sébastien Helleu | |
#573) | |||
2016-03-21 | core: add pointer in some callbacks (closes #406) | Sébastien Helleu | |
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read | |||
2016-02-05 | xfer: ignore signals when polling socket during file receive (closes #677) | Simmo Saan | |
When signals (e.g. SIGWINCH for terminal resize) are fired they cause poll to fail with EINTR, erroring file receival even when there wasn't a problem with it. This patch adds additional checks for EINTR and EAGAIN that cause retry of poll, since both are unrelated to actual file receival. | |||
2016-01-15 | Add extern keyword several places to link in osx | Luis Colorado | |
2016-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-07-19 | xfer: fix typo in a comment | Sébastien Helleu | |
2015-07-18 | xfer: fix crash if the DCC file socket number is too high (issue #465) | Sébastien Helleu | |
2015-06-27 | xfer: evaluate content of options xfer.file.download_path and ↵ | Sébastien Helleu | |
xfer.file.upload_path (issue #388) | |||
2015-05-18 | xfer: correctly use and parse \r\n line endings in CHAT (closes #425) | Simmo Saan | |
2015-04-30 | core: add comments after some #endif | Sébastien Helleu | |
2015-01-15 | core: add priority in plugins to initialize them in order | Sébastien Helleu | |
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script. | |||
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-12-03 | xfer: rename callback for infolist "xfer" | Sébastien Helleu | |
2014-11-09 | xfer: fix code style | Sébastien Helleu | |
2014-11-09 | Merge branch 'xfer_chat' of git://github.com/talisein/weechat-1 into ↵ | Sébastien Helleu | |
talisein-xfer_chat | |||
2014-11-09 | xfer: fix comments | Sébastien Helleu | |
2014-11-09 | xfer: return 0/1 instead of WEECHAT_RC_OK/ERROR in function xfer_resolve_addr | Sébastien Helleu | |
2014-08-20 | xfer: bind to wildcard address when sending | Andrew 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-19 | xfer: Use hook_connect() for receiving chats | Andrew Potter | |
fixes #160 | |||
2014-05-06 | xfer: fix problem with option xfer.file.auto_accept_nicks when the server ↵ | Sébastien Helleu | |
name contains dots | |||
2014-04-13 | xfer: fix freeze/problems when sending empty files with DCC (closes #53) | Sébastien Helleu | |
2014-04-12 | core: fix crash on "weechat --upgrade" if no .upgrade files are found | Sébastien Helleu | |
2014-04-12 | core: use lower case for CMake keywords | Sébastien Helleu | |
2014-04-12 | xfer: fix help of option xfer.file.convert_spaces | Sébastien Helleu | |
2014-04-03 | core: close .upgrade files before deleting them after /upgrade | Sébastien Helleu | |
2014-03-19 | core: fix use of reserved C identifiers in headers (closes #31) | Sebastien Helleu | |
2014-03-13 | xfer: 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-13 | xfer: Don't use sockaddr_storage for address_length | Andrew Potter | |
Hopefully this addresses #25. | |||
2014-03-11 | xfer: Fix xfer.network.own_ip behavior | Andrew 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-28 | xfer: replace constant by sizeof in a call to snprintf | Sebastien Helleu | |
2014-02-22 | xfer: remove dead assignment in function xfer_add_cb | Sebastien Helleu | |