Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-14 | core: split wee-hook.c into multiple sources | Sébastien Helleu | |
2018-08-12 | api: add function hook_line | Sébastien Helleu | |
2018-08-12 | core: fix check of tags in lines | Sébastien Helleu | |
All changes: - fix check of tags in lines: check lines without tags, fix check of tags with negation ("!tag") - add string functions string_split_tags and string_free_split_tags - add tests on function gui_line_match_tags | |||
2018-03-11 | Revert "core: remove colors from prefix/message only when needed in ↵ | Sébastien Helleu | |
hook_print_exec" This reverts commit bfc579cb3354cb47a224c8fa55b6a2e5684c7ab9. | |||
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-11-04 | core: remove colors from prefix/message only when needed in hook_print_exec | Sébastien Helleu | |
2017-11-04 | core: add missing includes of stdio.h | Sébastien Helleu | |
2017-09-23 | core, plugins: check return code of strftime function | Sébastien Helleu | |
2017-08-12 | core: fix cast of time_t (to "long long" instead of "long") (closes #1051) | Sébastien Helleu | |
2017-06-25 | core: limit hook_command_run to the exact given command (when no "*" are in ↵ | Sébastien Helleu | |
command hook) | |||
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-12-13 | core, xfer: display more information on fork errors (issue #573) | Sébastien Helleu | |
2016-11-29 | core: add optional arguments in completion template, sent to the callback | Sébastien Helleu | |
2016-08-22 | core: fix warnings about unused variables | Sébastien Helleu | |
2016-08-19 | api: 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-04-23 | api: add support of functions in hook_process | Sébastien Helleu | |
2016-03-21 | core: 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-03-06 | core: remove plugin pointer in hooks debug messages | Sébastien Helleu | |
2016-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-07-18 | core: 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-16 | core: fix comment in function hook_find_pos | Sébastien Helleu | |
2015-07-15 | core: add variables with count of hooks | Sébastien Helleu | |
2015-07-14 | core: reset pointers, file descriptors and child PIDs in unhook() | Sébastien Helleu | |
2015-07-04 | api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵ | Sébastien Helleu | |
and utf8_add_offset | |||
2015-07-04 | core: add missing comments before functions when the result must be freed ↵ | Sébastien Helleu | |
after use | |||
2015-05-01 | core: fix compilation on Cygwin | Sébastien Helleu | |
The header sys/select.h is now required for select() function. | |||
2015-04-30 | core: add comments after some #endif | Sébastien Helleu | |
2015-01-21 | core: add gnutls version in #if compiler directives | Sébastien Helleu | |
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-11-22 | api: fix truncated process output in hook_process() (closes #266) | Sébastien Helleu | |
2014-11-15 | core: add debug message in hook_process when core debug >= 1 | Sébastien Helleu | |
2014-08-29 | api: use microseconds instead of milliseconds in functions util_timeval_diff ↵ | Sébastien Helleu | |
and util_timeval_add | |||
2014-08-23 | core: add missing return code in comment of function hook_command_exec | Sébastien Helleu | |
2014-08-23 | core: allow incomplete commands if unambiguous (task #5419) | Sébastien Helleu | |
2014-08-10 | core: remove dead assignment in function hook_process_child | Sébastien Helleu | |
2014-08-10 | core: remove dead assignment in function hook_command_exec | Sébastien Helleu | |
2014-07-05 | core: display curl error after a failed download | Sébastien Helleu | |
2014-04-03 | api: add option "buffer_flush" in function hook_process_hashtable | Sébastien Helleu | |
2014-03-11 | core: add missing \0 at the end of stderr buffer in hook_process | Sebastien Helleu | |
2014-03-11 | api: add option "detached" in function hook_process_hashtable | Sebastien Helleu | |
2014-03-11 | api: add option "signal" in function hook_set to send a signal to the child ↵ | Sebastien Helleu | |
process | |||
2014-03-11 | core: fix detection of terminated process in hook_process | Sebastien Helleu | |
Check if the process is finished, even if stdout/stderr are not closed. Moreover, if the process was terminated by a signal, the return code is set to WEECHAT_HOOK_PROCESS_ERROR. | |||
2014-02-21 | Merge branch 'trigger' | Sebastien Helleu | |
2014-02-14 | core: fix completion template used in command completion when first argument ↵ | Sebastien Helleu | |
in template has pipes | |||
2014-02-11 | core: ignore return value of 'write' in function hook_set (fix compiler warning) | Sebastien Helleu | |
2014-02-10 | api: add integer return code for functions hook_{signal|hsignal}_send | Sebastien Helleu | |
2014-02-09 | core: add argument "num_items" in function string_split_shell | Sebastien Helleu | |
2014-01-11 | api: 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-09 | core: optimize xxx_valid() functions: return immediately if pointer is NULL | Sebastien Helleu | |