1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Sébastien Helleu 1361602ea5 tests: fix compilation of tests on FreeBSD 11
Some includes were missing in .h files, and the tests must be linked
with intl and execinfo on FreeBSD.
2017-01-13 20:57:59 +01:00
Sébastien Helleu 705d86e684 core: update copyright dates 2017-01-01 11:32:04 +01:00
Sébastien Helleu de7dc59c87 trigger: rename "once action" to "post action" 2016-08-09 21:35:39 +02:00
Sébastien Helleu 810077fc12 Merge remote-tracking branch 'origin/pr/509' 2016-08-09 21:05:34 +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
Simmo Saan 1d3a75333e trigger: add support for one-time triggers (closes #399) 2015-08-22 12:22:51 +03:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu 8e63a9a52f trigger: add option trigger.look.enabled (can be changed with /trigger enable|disable|toggle) 2014-02-14 18:35:29 +01:00
Sebastien Helleu c103bc6584 trigger: refactor some code in hook callbacks using macros 2014-02-13 12:52:06 +01:00
Sebastien Helleu 132b09bde9 trigger: add hook focus 2014-02-13 12:06:46 +01:00
Sebastien Helleu 00402b87c2 trigger: add hook command 2014-02-13 11:33:16 +01:00
Sebastien Helleu 9b3d2eeec7 trigger: add hook config 2014-02-10 13:08:40 +01:00
Sebastien Helleu 66158f41f2 trigger: add hook command_run 2014-02-09 12:55:40 +01:00
Sebastien Helleu a703fc8c17 trigger: add timer 2014-02-09 12:55:40 +01:00
Sebastien Helleu 30942f7f62 trigger: add trigger plugin 2014-02-09 12:55:40 +01:00