summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-script.c
AgeCommit message (Collapse)Author
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-10-01core: replace "long unsigned int" by "unsigned long"Sébastien Helleu
2018-04-13scripts: fix memory leak in hook_info callbackSébastien Helleu
2018-04-10scripts: do not allocate memory when converting pointers to stringsSébastien Helleu
2018-01-15scripts: add configuration file for each script pluginSébastien Helleu
2018-01-06core: update translations (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 infos "xxx_interpreter" and "xxx_version" in script plugins ↵Sébastien Helleu
(issue #1075)
2017-12-23scripts: add option "version" in script commands (closes #1075)Sébastien Helleu
2017-07-22script: replace scripts iset.pl and buffers.pl by go.py and urlserver.py in ↵Sébastien Helleu
examples
2017-07-04api: add argument "recurse_subdirs" in function exec_on_files()Sébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-12-31script: fix auto-load of new scripts with /script installSébastien Helleu
Regression was introduced by commit 4c6d9e14d1dd428b0196a50bf8fe3201ec329741.
2016-12-01script: reload a script after upgrade only if it was loaded, set autoload ↵Sébastien Helleu
only if the script was auto-loaded (closes #855)
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-03-12scripts: fix typo in commentSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-01-01core: update copyright datesSébastien Helleu
2014-08-09core: fix memory leak when removing script filesSébastien Helleu
2014-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-04-12api: allow wildcard "*" inside the mask in function string_matchSébastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-18core: reformat hook_command argumentsSebastien Helleu
2014-01-09core: optimize xxx_valid() functions: return immediately if pointer is NULLSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-17scripts: display lib version on signal "debug_libs"Sebastien Helleu
2013-07-28script: add info about things defined by script in the detailed view of ↵Sebastien Helleu
script (/script show)
2013-05-18api: do not display a warning by default when loading a script with a ↵Sebastien Helleu
license different from GPL
2013-03-17scripts: create directories (language and language/autoload) on each action ↵Sebastien Helleu
(install/remove/autoload), just in case they have been removed (bug #38473)
2013-02-25script: add control of autoload (enable/disable/toggle) (task #12393)Sebastien Helleu
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-01-22scripts: do now allow empty script name in function "register"Sebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-11-02core: add command /eval, use expression in conditions for bars, add function ↵Sebastien Helleu
"string_eval_expression" in plugin API
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-08-21script: add option script.look.quiet_actions (no messages when ↵Sebastien Helleu
installing/removing/loading/unloading scripts on script buffer)
2012-08-08scripts: add signals for scripts loaded/unloaded/installed/removedSebastien Helleu
2012-08-05scripts: fix name of lists in hdata with scripts (remove leading "*")Sebastien Helleu
2012-08-03core: rename type t_script_callback to t_plugin_script_cbSebastien Helleu
2012-08-03scripts: add hdata with list of scripts for each languageSebastien Helleu
2012-08-02core: remove directory "src/plugins/scripts", move script plugins in ↵Sebastien Helleu
"src/plugins"