1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
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
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 f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu dd6e5282e8 xfer: fix memory leak when refreshing xfer buffer 2012-12-25 17:02:11 +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 9c3ee3c407 xfer: limit bytes received to file size (for DCC file received), fix crash when displaying a xfer file with pos greater than size 2012-11-27 19:23:59 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu 41b5ef1e4c core: check pointer returned by function localtime 2011-11-27 11:48:35 +01:00
Sebastien Helleu 746e56f28c xfer: display origin of xfer in core and xfer buffers (task #10956) 2011-11-19 11:39:48 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 49f7b5d701 relay, xfer: display possible actions in buffer even if list is empty 2011-06-15 14:50:23 +02:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +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 645d38d403 Fix bugs with xfer buffer after /upgrade 2010-03-17 16:19:57 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu e263a847da Add new local variable "type" for buffers
Values are set by plugins:
- irc and jabber: "server", "channel", "private", "debug"
- relay: "relay" (list)
- xfer: "xfer" (list), "private" (DCC chat)
2009-02-17 19:42:05 +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 3c51c0e7c4 Remove argument "switch_to_another" for function gui_buffer_close() 2008-11-27 17:05:59 +01:00
Sebastien Helleu a965be6802 Add function buffer_set_pointer in plugin API 2008-10-22 12:58:05 +02:00
Sebastien Helleu 9c4f98e278 Replace french word "pourcentage" by percentage 2008-09-18 18:53:35 +02:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu b76d7e4a5c Reintroduce /upgrade command, working only with core and IRC plugin today
Command will be improved in near future and other plugins like xfer
will be modified to manage upgrade process.
2008-08-19 23:22:52 +02:00
Sebastien Helleu 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu b0e88590b9 Xfer file resume (for DCC protocol) is back 2008-05-07 13:34:04 +02:00
Sebastien Helleu 3751d6565f Xfer list: help about keys, fix of minor display bugs 2008-05-06 19:17:07 +02:00
Sebastien Helleu aea2a0e31a Do not automatically switch to xfer buffer, except by /xfer command 2008-05-06 18: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