summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-buffer.c
AgeCommit message (Collapse)Author
2024-04-26plugins: remove check of NULL pointers before calling ↵Sébastien Helleu
weechat_hashtable_free() (issue #865)
2024-01-01core: update copyright datesSébastien Helleu
2023-09-15script: rename parameters up/down/go to -up/-down/-go in command `/script`Sébastien Helleu
2023-09-08script: fix up/down keys on /script bufferSébastien Helleu
Regression was introduced in commit 817d1eaf8e0be700bf9b61dcbaf9db7ab507d3af.
2023-08-24script: add local key bindings during the buffer creationSébastien Helleu
This allows the user to bind or unbind keys by setting options "weechat.buffer.script.scripts.key_bind_*" and "weechat.buffer.script.scripts.key_unbind_*".
2023-05-20script: create buffer with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-03-16core: use new key name in command `/key` and configuration fileSébastien Helleu
Legacy keys are automatically converted to new names when loading configuration file `weechat.conf`. Examples: "ctrl-I" => "tab" "meta2-1;3A" => "meta-up" "meta2-Z" => "shift-tab" "meta-wmeta-meta2-A" => "meta-w,meta-up" "ctrl-Cb" => "ctrl-c,b"
2023-01-01core: update copyright datesSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-11-22script: increase buffer size in function script_buffer_detail_labelSébastien Helleu
This fixes a compiler warning complaining about a too small buffer for snprintf, even if this should never happen.
2020-01-04core: update copyright datesSébastien Helleu
2019-02-28script: use SHA-512 instead of MD5 for script checksumSébastien Helleu
Related to weechat/weechat.org@66a8b72ab17784e7476b142e36c0fd8c7ae9c7c3
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-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-07-11script: add local variable "filter" in the script buffer (closes #1037)Sé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-01-01core: update copyright datesSébastien Helleu
2014-04-02script: add commas in title of script bufferSébastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-01script: fix uninitialized pointer in detailed view of a scriptSebastien Helleu
2013-07-28script: add info about things defined by script in the detailed view of ↵Sebastien Helleu
script (/script show)
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-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: remove spaces before/after tags displayed on detail of scriptSebastien Helleu
2012-08-28script: add option "script.look.display_source" (display source code with ↵Sebastien Helleu
detail of script, enabled by default)
2012-08-23script: fix color used for script description on script bufferSebastien Helleu
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-18script: add key alt+L to reload script, allow input on script buffer for ↵Sebastien Helleu
actions on script, add option script.look.use_keys
2012-08-15script: add status "a" (autoloaded) for scriptsSebastien Helleu
2012-08-14script: fix missing format in calls to snprintfSebastien Helleu
2012-08-14core: add new plugin "script" (scripts manager, replacing scripts weeget.py ↵Sebastien Helleu
and script.pl)