summaryrefslogtreecommitdiff
path: root/src/plugins/lua
AgeCommit message (Collapse)Author
2018-01-06core: update translations (issue #128)Sébastien Helleu
2018-01-06lua: add support of eval (issue #128)Sébastien Helleu
2018-01-06scripts: 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-05core: update copyright datesSébastien Helleu
2017-12-23scripts: add option "version" in script commands (closes #1075)Sébastien Helleu
2017-11-04core: add missing includes of stdio.hSébastien Helleu
2017-10-03lua: fix boolean return value (as integer) in API functionsSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-13api: change type of arguments status/gnutls_rc/sock in hook_connect() ↵Sébastien Helleu
callback from string to integer (in scripts)
2017-08-13api: send file descriptor as integer instead of string to the callback of ↵Sébastien Helleu
hook_fd
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-07-08fset: 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-30api: add function hdata_compareSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-11-27api: move functions hook_completion* after hook_commandSébastien Helleu
2016-11-01lua: use lua_pushinteger for int values in lua 5.3tomoe-mami
2016-04-23lua: fix crash when a lua function doesn't return a value and a string was ↵Sébastien Helleu
expected (closes #718)
2016-04-23api: add support of functions in hook_processSébastien Helleu
2016-03-24api: rename function unhook_all_plugin to unhook_allSé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-08-13api: add missing function infolist_search_var() in script API (issue #484)Sébastien Helleu
2015-08-13api: add missing function hook_completion_get_string() in script API (issue ↵Sébastien Helleu
#484)
2015-06-24api: add function string_eval_path_home()Sébastien Helleu
2015-04-30core: add comments after some #endifSébastien Helleu
2015-03-07scripts: reset current script pointer when load of script fails in ↵Sébastien Helleu
python/perl/ruby/lua/tcl plugins
2015-03-06lua: fix wrong argument usage in nicklist API functionsTor 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-04scripts: fix name of variables in infolist API functionsSébastien Helleu
2015-03-01lua: fix value returned in case of error in some functionsSé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-01scripts: fix return code of function bar_set in ↵Sébastien Helleu
python/perl/ruby/lua/tcl/guile plugins
2015-03-01scripts: 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-21scripts: rename macro API_FUNC to API_INIT_FUNC, add macro API_FUNC to ↵Sébastien Helleu
declare API functions
2015-02-21scripts: reformat some code to make it more readableSébastien Helleu
2015-02-21scripts: improve comments on functions that convert hashtablesSébastien Helleu
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-10-03core: use pkg-config to find Lua lib/headers with cmake, detection of Lua 5.2Sébastien Helleu
2014-07-20core: remove whitespace in cmake filesSébastien Helleu
2014-05-10api: change type of arguments displayed/highlight in hook_print callback ↵Sébastien Helleu
from string to integer (in scripts)
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-02-28scripts: fix size used in some snprintfSebastien Helleu
2014-02-22scripts: fix crash when a signal is received with type "int" and NULL ↵Sebastien Helleu
pointer in signal_data
2014-02-21lua: return WEECHAT_RC_ERROR in command /lua if arguments are wrong/missingSebastien Helleu
2014-02-17lua: fix interpreter used after unload of a scriptSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-25scripts: fix script interpreter used after register during load of script in ↵Sebastien Helleu
python/perl/ruby/lua/guile plugins (bug #41345)
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.