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

13 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 c4e3d66ba5 core: add a parent name in options (closes #629)
Inherited values are now displayed in /set output when the value is
null, if a parent option name is defined in option.

New option: weechat.color.chat_value_null
2015-12-24 07:53:37 +01:00
Sébastien Helleu b5ef916564 doc: update auto-generated files with hdata 2015-12-20 10:40:04 +01:00
Sébastien Helleu 9489443527 doc: update auto-generated files with hdata 2015-10-18 12:19:01 +02:00
Sébastien Helleu 815a07658d doc: update auto-generated files with hdata 2015-08-08 09:13:25 +02:00
Sébastien Helleu 8107025c78 core: update translations 2015-07-26 19:55:24 +02:00
Sébastien Helleu ad499d944e doc: add comment in auto-generated doc files to prevent any changes by hand 2015-03-11 20:15:23 +01:00
Sébastien Helleu 300d1ad44e doc: add Javascript plugin in docs 2015-03-07 16:52:30 +01:00
Sébastien Helleu 714df489cd doc: update auto-generated files with hdata 2015-01-25 18:12:27 +01:00
Sébastien Helleu cf5501f69c core: add priority in plugins to initialize them in order
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu 25c775d850 doc: update German auto-generated files 2014-11-01 17:56:31 +01:00
Sébastien Helleu 652b91c007 doc: update auto-generated files with hdata 2014-10-05 09:38:27 +02:00
Sébastien Helleu dc0229617a doc: use .asciidoc extension instead of .txt for doc files 2014-05-25 12:47:24 +02:00