Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-14 | lua: mkdir API functions should return ERROR on error. | emk | |
2018-08-12 | api: add function hook_line | Sébastien Helleu | |
2018-07-25 | scripts: fix duplicated lines in output of script eval (python, perl, ruby, ↵ | Sébastien Helleu | |
lua and guile) When there was a call to a hook callback during the eval, the output buffer was cleared too late, and displayed multiple times in the buffer. This commit clears the buffer even before we display it (this display can trigger a hook callback). | |||
2018-07-13 | lua: fix macros used to return values | Sébastien Helleu | |
2018-04-13 | scripts: fix memory leak in hook_info callback | Sébastien Helleu | |
2018-04-12 | scripts: fix return value of hook_infolist callback (pointer instead of string) | Sébastien Helleu | |
2018-04-10 | scripts: return long integer instead of string in function infolist_time | Sébastien Helleu | |
2018-04-10 | scripts: do not allocate memory when converting pointers to strings | Sébastien Helleu | |
2018-04-07 | api: add function string_format_size in scripting API | Sébastien Helleu | |
2018-03-17 | scripts: hide message when the eval script is unloaded | Sébastien Helleu | |
Related to commit 8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e. | |||
2018-02-19 | scripts: display the script name in stdout/stderr output from scripts | Sébastien Helleu | |
2018-01-15 | scripts: add option "eval_keep_context" in script plugins | Sébastien Helleu | |
2018-01-15 | scripts: add configuration file for each script plugin | Sébastien Helleu | |
2018-01-14 | scripts: add missing initialization of plugin pointer to NULL | Sébastien Helleu | |
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-06 | core: update translations (issue #128) | Sébastien Helleu | |
2018-01-06 | lua: add support of eval (issue #128) | Sébastien Helleu | |
2018-01-06 | scripts: add "eval" option in script commands and info "xxx_eval" (issue #128) | Sébastien Helleu | |
For now this works only in python, perl, ruby and guile. | |||
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-12-23 | scripts: add option "version" in script commands (closes #1075) | Sébastien Helleu | |
2017-11-04 | core: add missing includes of stdio.h | Sébastien Helleu | |
2017-10-03 | lua: fix boolean return value (as integer) in API functions | Sébastien Helleu | |
2017-09-23 | core, plugins: check return code of strftime function | Sébastien Helleu | |
2017-08-13 | api: change type of arguments status/gnutls_rc/sock in hook_connect() ↵ | Sébastien Helleu | |
callback from string to integer (in scripts) | |||
2017-08-13 | api: send file descriptor as integer instead of string to the callback of ↵ | Sébastien Helleu | |
hook_fd | |||
2017-08-12 | core: fix cast of time_t (to "long long" instead of "long") (closes #1051) | Sébastien Helleu | |
2017-08-10 | core: remove value for first #define in headers, add "PLUGIN" in plugin headers | Sébastien Helleu | |
2017-07-08 | fset: fix priority of plugin (load it after all other plugins) | Sébastien Helleu | |
This fixes a refresh problem of options after /upgrade in fset buffer. | |||
2017-05-30 | api: add function hdata_compare | Sébastien Helleu | |
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-11-27 | api: move functions hook_completion* after hook_command | Sébastien Helleu | |
2016-11-01 | lua: use lua_pushinteger for int values in lua 5.3 | tomoe-mami | |
2016-04-23 | lua: fix crash when a lua function doesn't return a value and a string was ↵ | Sébastien Helleu | |
expected (closes #718) | |||
2016-04-23 | api: add support of functions in hook_process | Sébastien Helleu | |
2016-03-24 | api: rename function unhook_all_plugin to unhook_all | 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-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-08-13 | api: add missing function infolist_search_var() in script API (issue #484) | Sébastien Helleu | |
2015-08-13 | api: add missing function hook_completion_get_string() in script API (issue ↵ | Sébastien Helleu | |
#484) | |||
2015-06-24 | api: add function string_eval_path_home() | Sébastien Helleu | |
2015-04-30 | core: add comments after some #endif | Sébastien Helleu | |
2015-03-07 | scripts: reset current script pointer when load of script fails in ↵ | Sébastien Helleu | |
python/perl/ruby/lua/tcl plugins | |||
2015-03-06 | lua: fix wrong argument usage in nicklist API functions | Tor Hveem | |
3 functions in the API; niclist_remove_group, nicklist_remove_nick and nicklist_remove_all use the incorrent offset to get the Lua argument values. | |||
2015-03-04 | scripts: fix name of variables in infolist API functions | Sébastien Helleu | |
2015-03-01 | lua: fix value returned in case of error in some functions | Sébastien Helleu | |
Affected functions: - config_option_reset - config_string - config_string_default - config_color - config_color_default - config_write - config_read - config_reload - hook_modifier_exec - buffer_string_replace_local_var - nicklist_group_set - nicklist_nick_set - command - upgrade_read - upgrade_close | |||
2015-03-01 | scripts: fix return code of function bar_set in ↵ | Sébastien Helleu | |
python/perl/ruby/lua/tcl/guile plugins | |||
2015-03-01 | scripts: fix type of value returned by function hdata_time (from string to ↵ | Sébastien Helleu | |
long integer) in perl/ruby/lua/tcl/guile plugins | |||
2015-02-21 | scripts: rename macro API_FUNC to API_INIT_FUNC, add macro API_FUNC to ↵ | Sébastien Helleu | |
declare API functions | |||
2015-02-21 | scripts: reformat some code to make it more readable | Sébastien Helleu | |
2015-02-21 | scripts: improve comments on functions that convert hashtables | Sébastien Helleu | |