summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-action.c
AgeCommit message (Collapse)Author
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-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-02-16script: fix unexpected display of scripts list in buffer with command ↵Sébastien Helleu
/script list -i
2020-02-16script: remove dead assignment of variable length in function ↵Sébastien Helleu
script_action_list_input
2020-01-04core: update copyright datesSébastien Helleu
2019-09-19script: add options "-ol" and "-il" in command /script, display "No scripts ↵Sébastien Helleu
loaded" if no scripts are loaded
2019-06-15api: add argument "strip_items" in function string_splitSé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-01-05core: update copyright datesSébastien Helleu
2017-07-22script: replace scripts iset.pl and buffers.pl by go.py and urlserver.py in ↵Sébastien Helleu
examples
2017-05-10script: remove dead assignment in function script_action_install_process_cbSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
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-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-24script: add option script.scripts.download_timeoutSé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-01-01core: update copyright datesSébastien Helleu
2014-11-15script: add option script.scripts.url_force_https (closes #253)Sébastien Helleu
2014-07-14script: fix display of curl errorsSébastien Helleu
2014-02-22script: remove dead assignments in functions script_action_{unload|reload}Sebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-03-17script: create "script" directory on each action (just in case it has been ↵Sebastien Helleu
removed) (bug #38472)
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
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-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-30script: add diff between current script and version in repositorySebastien Helleu
New options: - script.look.diff_command - script.look.diff_color Key alt-d has been changed to alt-v on script buffer (view script). Key alt-d is now used on detail of script to jump to diff (if diff is displayed).
2012-08-28script: add option "script.look.display_source" (display source code with ↵Sebastien Helleu
detail of script, enabled by default)
2012-08-21script: add missing extensions in output of /script -o|-iSebastien Helleu
2012-08-21script: add options -o and -i for /script listSebastien Helleu
2012-08-21script: add option script.look.quiet_actions (no messages when ↵Sebastien Helleu
installing/removing/loading/unloading scripts on script buffer)
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-17script: add option "reload" for command /script, fix completion of /script, ↵Sebastien Helleu
add examples in /help script
2012-08-15script: add status "a" (autoloaded) for scriptsSebastien Helleu
2012-08-14core: add new plugin "script" (scripts manager, replacing scripts weeget.py ↵Sebastien Helleu
and script.pl)