1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
Sébastien Helleu 705d86e684 core: update copyright dates 2017-01-01 11:32:04 +01:00
Sébastien Helleu 6c1815d3d1 core, xfer: display more information on fork errors (issue #573) 2016-12-13 18:24:46 +01:00
Sébastien Helleu 7342a47de0 core, irc, xfer: display more information in memory allocation errors (issue #573) 2016-05-27 20:13:35 +02:00
Sébastien Helleu cf6aca1619 core: add pointer in some callbacks (closes #406)
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-03-21 18:11:21 +01:00
Sébastien Helleu 3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu 2d48964463 xfer: fix code style 2014-11-09 17:35:23 +01:00
Andrew Potter e5cd0eb247 xfer: Use hook_connect() for receiving chats
fixes #160
2014-08-19 22:09:37 -07:00
Sébastien Helleu db912ded26 xfer: fix freeze/problems when sending empty files with DCC (closes #53) 2014-04-13 12:52:25 +02:00
Andrew Potter 1baa2e288c xfer: Fix segfault in DCC send.
This was broken before the previous change, since remote_address was
just a zero'd out struct.
2014-03-13 21:05:47 -07:00
Andrew Potter 144dc60d0a xfer: add support of IPv6 for DCC chat/file (patch #7992) 2014-01-09 12:48:54 +01:00
Sebastien Helleu 646a072511 xfer: add option xfer.file.auto_check_crc32 (patch #7963)
Thanks to Andrew Potter for the patch.
2014-01-06 11:21:12 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 9c54e33ee1 xfer: fix compilation warnings 2013-05-22 20:57:14 +02:00
Sebastien Helleu e890ac0a81 xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340) 2013-02-26 21:43:39 +01:00
Sebastien Helleu 27b539affe core: display error number and string in some network errors
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-24 08:55:04 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu 37a3001dc7 xfer: display remote IP address for DCC chat/file (task #12289) (patch from Nils Görs) 2012-11-27 22:45:22 +01:00
Sebastien Helleu 3b9e94c234 xfer: set O_NONBLOCK flag on socket using flags read 2012-06-01 11:50:43 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 893485ba5f core: remove compilation warnings about unused return values of functions 2011-09-22 16:16:41 +02:00
Sebastien Helleu 1ad6ab1fe0 xfer: remove unused variable 2011-05-01 10:55:36 +02:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu f874402089 Remove obsolete comments in xfer plugin 2010-11-12 17:33:57 +01:00
Sebastien Helleu 118f2918b3 Fix dcc file transfer for large files (more than 4 GB) on 32-bit systems (bug #31531)
This commit fixes another bug when file is sent: sometimes transfer was still
active although file was successfully sent.
2010-11-10 16:39:41 +01:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu eb56a98fc8 Remove evil tabs in sources 2010-01-24 10:47:53 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu acef147775 Fix progress bar display for large xfer/dcc files (more than 2 Gb) 2009-08-05 13:10:09 +02:00
Sebastien Helleu 54ae52c4f0 Fix typo: transfert -> transfer 2009-05-12 11:39:22 +02:00
Sebastien Helleu 8e55147364 Add new hook type "process": launch command with fork and catch result (rc/stdout/stderr) via callback 2009-03-06 18:22:34 +01:00
Sebastien Helleu 4d1fdfade0 Give file descriptor to callback of hook_fd 2009-02-18 11:13:23 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu 20a1360bd8 Add new plugin "relay", new function "string_format_size" in plugin API 2008-12-10 17:08:56 +01:00
Sebastien Helleu 2e52e54a3a Add support for more than one proxy, with proxy selection for each IRC server (task #6859) 2008-11-23 23:04:52 +01:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu 9e03812ed7 Add speed limit for DCC files sending (task #6178) 2008-06-15 13:49:24 +02:00
Sebastien Helleu 1525adda5a Fix compilation of xfer plugin on FreeBSD 2008-05-02 10:28:39 +02:00
Sebastien Helleu b0e88590b9 Xfer file resume (for DCC protocol) is back 2008-05-07 13:34:04 +02:00
Sebastien Helleu e9603acb1a IRC DCC chat and file (without resume) reintroduced, via xfer plugin (called by /dcc command) 2008-05-06 16:51:30 +02:00
Sebastien Helleu e7a16efa0c Added new plugin "xfer" (used by irc plugin for DCC file and chat) (warning: initial commit, not working yet) 2008-05-04 20:24:20 +02:00