summaryrefslogtreecommitdiff
path: root/src/core/wee-hook.h
AgeCommit message (Collapse)Author
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-08-14core: split wee-hook.c into multiple sourcesSébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
2017-01-01core: update copyright datesSébastien Helleu
2016-08-19api: fix connection to servers with hook_connect() on Windows 10 with ↵Sébastien Helleu
Windows subsystem for Linux (issue #770) The test on socketpair() function is now made when hooks are initialized (instead of doing the test at compilation time).
2016-08-19Revert "api: fix connection to servers with hook_connect() on Windows 10 ↵Sébastien Helleu
with Windows subsystem for Linux (closes #770)" This reverts commit 399636f98453bdc1fca19b4dbc742993549aa6c3.
2016-08-06api: fix connection to servers with hook_connect() on Windows 10 with ↵Sébastien Helleu
Windows subsystem for Linux (closes #770)
2016-04-23api: add support of functions in hook_processSébastien Helleu
2016-03-21core: 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-01-01core: update copyright datesSébastien Helleu
2015-07-18core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 ↵Sébastien Helleu
on Linux/BSD) (closes #465) The calls to select() are replaced by poll(), which doesn't have limitation on file descriptor number.
2015-07-15core: add variables with count of hooksSébastien Helleu
2015-04-30core: add comments after some #endifSébastien Helleu
2015-01-21core: add gnutls version in #if compiler directivesSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-08-23core: allow incomplete commands if unambiguous (task #5419)Sébastien Helleu
2014-04-03api: add option "buffer_flush" in function hook_process_hashtableSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-11api: add option "detached" in function hook_process_hashtableSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-11api: add stdin options in functions hook_process_hashtable and hook_set ↵Sebastien Helleu
(task #10847, task #13031) The function hook_set has been added in script API.
2014-01-01core: update copyright datesSebastien Helleu
2013-12-15core: add support of logical and/or for argument "tags" in function hook_printSebastien Helleu
2013-07-28api: use pointer for infolist "hook" to return only one hookSebastien Helleu
2013-04-12api: fix connection to servers with hook_connect on OS X (bug #38496)Sebastien Helleu
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-10-17core: fix sendmsg/recvmsg on BSD/OSX by sending 1 byte of data (in hook_connect)Simon Arlott
2012-10-17core: fix connection to servers on OS XSebastien Helleu
2012-10-14api: connect with IPv6 by default in hook_connect (with fallback to IPv4), ↵Simon Arlott
shuffle list of hosts for a same address (task #11205)
2012-07-09core: add function "hook_set" in plugin API, add "subplugin" in hooks (set ↵Peter Boström
by script plugins), display subplugin in /help on commands (task #12049)
2012-03-23core: add a connection timeout for child process in hook_connect (bug #35966)Sebastien Helleu
2012-01-16core: add URL transfer (using libcurl), add function hook_process_hashtable ↵Sebastien Helleu
in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247)
2012-01-08core: update copyright datesSebastien Helleu
2011-12-07core: add option "hooks" for command /debugSebastien Helleu
2011-11-03core: fix typo: occured -> occurredSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-10-25core: fix compilation error with "pid_t" on Mac OS X (bug #34639)Sebastien Helleu
2011-08-26core: replace deprecated gnutls function ↵Sebastien Helleu
"gnutls_certificate_client_set_retrieve_function" by new function "gnutls_certificate_set_retrieve_function" (gnutls >= 2.11.0)
2011-08-14core: return info about line/word for chat area in focus hashtable, add keys ↵Sebastien Helleu
m/q/Q to quote line in cursor mode, sort mouse keys by priority
2011-08-01core: add info about position where mouse button is released in hook_focus ↵Sebastien Helleu
(for mouse gestures)
2011-07-26core: add mouse support (task #5435), free cursor movement, hook_focus, fix ↵Sebastien Helleu
bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer New features and bugs fixed: - mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse" - free movement of cursor: new command /cursor, new key context "cursor" - new hook_focus (used by cursor and mouse) - info "cursor_mode" - bugs fixed with key "^" - allow plugin name in /buffer name - fix bugs with bar windows: do not create bar windows for hidden bars - fix completion bug when two words for completion are equal but with different case - automatic scroll direction in /bar scroll (x/y is now optional)
2011-06-22core: display error (only once) when bad file descriptor is detected in hook_fdSebastien Helleu
2011-06-13core: add "hdata" (direct access to WeeChat/plugin data)Sebastien Helleu
2011-04-28irc: add option "ssl_priorities" in servers (task #10106, debian #624055)Sebastien Helleu
2011-03-02Fix verification of SSL certificates by calling gnutls verify callback ↵Gu1ll4um3r0m41n
(patch #7459)