summaryrefslogtreecommitdiff
path: root/src/plugins/script/script.c
AgeCommit message (Collapse)Author
2024-01-01core: update copyright datesSébastien Helleu
2023-12-15core: fix crash on plugin reload when using musl libs (closes #2052)Sébastien Helleu
2023-09-16script: replace hook_process_hashtable by hook_url to download scripts and ↵Sébastien Helleu
list of scripts (closes #1723)
2023-01-28core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872)Sébastien Helleu
2023-01-28core, plugins: check that string parameters are not NULL in search functions ↵Sébastien Helleu
(issue #1872)
2023-01-28core, plugins: make commands, hook command_run, completions and aliases case ↵Sébastien Helleu
sensitive (issue #1872)
2023-01-28plugins: set priority in calls to weechat_config_new (issue #1872)Sébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
2021-01-02core: update copyright datesSébastien Helleu
2020-10-15script: allow command /script list when option ↵Sébastien Helleu
script.scripts.download_enabled is set to off (closes #1574)
2020-09-06script: add option script.scripts.download_enabled (closes #1548)Sébastien Helleu
2020-09-02script: do not automatically download list of scripts on startup if the file ↵Sébastien Helleu
is too old (closes #1548) The repository file is downloaded anyway if too old on any /script action.
2020-01-04core: update copyright datesSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-01-29core: fix typo: scripts manager -> script managerSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-09-03script: add support of PHP scriptsSé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-04-23script: remove option script.scripts.url_force_https, use HTTPS by default ↵Sébastien Helleu
in option script.scripts.url (issue #253)
2017-03-31script: move default mouse keys for script plugin from core to script-mouse.cSébastien Helleu
2017-01-01core: update copyright datesSé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-03-18script: fix state of script plugins when list of scripts has not been downloadedSébastien Helleu
The problem happened when doing "/script load script.py" if the scripts list has not been downloaded (with "/script update"): WeeChat displays that python plugin is not loaded (which is wrong).
2015-03-07javascript: add new plugin to run javascript scripts in WeeChatSébastien Helleu
This plugin was originally written by Koka El Kiwi (repository: https://github.com/KokaKiwi/weechat-js-plugin). This plugin uses Google V8 engine to execute JS scripts.
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-15script: add option script.scripts.url_force_https (closes #253)Sébastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-09script: load plugin even if options can not be read in script.conf (with ↵Sebastien Helleu
warnings)
2013-01-26core: use size of 32 for hashtables (instead of 4, 8 or 16)Sebastien Helleu
A size of 32 will use a little more memory but will reduce collisions in key hashs, and then length of linked lists inside hash structure (faster search in hashtable).
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-09-04script: display error when installing/removing/loading script if plugin for ↵Sebastien Helleu
language is not loaded
2012-08-20script: add focus info for mouse on script buffer, add two default mouse ↵Sebastien Helleu
bindings: left button = select line, right button = install/remove script
2012-08-14core: add new plugin "script" (scripts manager, replacing scripts weeget.py ↵Sebastien Helleu
and script.pl)