summaryrefslogtreecommitdiff
path: root/src/plugins/script
AgeCommit message (Collapse)Author
2023-10-17script: format and translate commands line by line (issue #2005)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-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-09-05core: add note for translators on command arguments (issue #2005)Sébastien Helleu
Only text between angle brackets (eg: "<name>") must be translated.
2023-08-27script: fix crash when a `/script` command triggers another `/script` ↵Sébastien Helleu
command (issue #923)
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-08-22script: add parameters up/down/go in `/help script` and command completionSébastien Helleu
2023-08-22script: allow jump to the last script with command `/script go end`Sébastien Helleu
2023-08-22script: adjust scroll after command `/script go N`Sébastien Helleu
2023-08-13script: allow commands `/script autoload|noautoload|toggleautoload` with ↵Sébastien Helleu
scripts not present in the repository (closes #1980)
2023-08-13script: replace "iset" example by "go" in commentsSébastien Helleu
2023-07-04script: fix buffer used by command `/script list -i|-il|-o|-ol`Sébastien Helleu
The command is now executed on the buffer where it is received instead of the current buffer (in most cases this is the same buffer, but could be different sometimes).
2023-07-04script: fix cursor position after `/script list -i` or `/script list -il`Sébastien Helleu
2023-05-22script: remove trailing "J" (line feed char) in source of scripts displayedSébastien Helleu
Regression was indirectly caused by commit d18f68e497c4244404ff8f4f50de82717b178e09 in core that allows to display all control chars in buffers. But the fix is in script plugin: when the script is downloaded and read line by line, trailing "\r" and "\n" are removed, and therefore not displayed.
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-05-13core: add quotes around paths in CMake files (closes #29)Sébastien Helleu
2023-04-26script: change default colors (issue #1920)Sébastien Helleu
Default values changed: - script.color.status_autoloaded: cyan -> 39 - script.color.text_bg_selected: red -> 24 - script.color.text_date: default -> 65 - script.color.text_date_selected: white -> 50 - script.color.text_delimiters: default -> 240 - script.color.text_description: default -> 249 - script.color.text_extension: default -> 242 - script.color.text_extension_selected: white -> 248 - script.color.text_name: cyan -> 73 - script.color.text_name_selected: lightcyan -> 51 - script.color.text_version: magenta -> 180 - script.color.text_version_loaded: default -> 246 - script.color.text_version_selected: lightmagenta -> 224
2023-04-01core, plugins: set options to NULL by default, refactor config init functionsSébastien Helleu
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-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-28script: make script names case sensitive (issue #1872)Sébastien Helleu
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-08core: remove build with autotoolsSébastien Helleu
CMake is now the only way to build WeeChat.
2023-01-01core: update copyright datesSébastien Helleu
2022-12-18api: return newly allocated string in functions string_tolower and ↵Sébastien Helleu
string_toupper
2022-08-16script: use API function weechat_crypto_hash_file in script_repo_sha512sum_fileSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-09-09core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list"Sébastien Helleu
2021-05-29core, irc, script: fix typosSébastien Helleu
2021-05-11script: change default value of option script.scripts.path to ↵Sébastien Helleu
"${weechat_cache_dir}/script" (issue #1285)
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-12-15script: add status of scripts in output of command /script list in /help scriptSé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-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-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-05-08core: rename functions hook_completion_{get_string|list_add} to ↵Sébastien Helleu
completion_{get_string|list_add} Old functions are kept for compatibility reasons.
2020-03-01script: rename variable length_hash to hash_sizeSébastien Helleu
2020-03-01core: move crypto functions to wee-crypto.c, rename API function string_hash ↵Sébastien Helleu
to crypto_hash
2020-03-01core: merge functions string_hash_binary and string_hash into a single ↵Sébastien Helleu
function string_hash
2020-03-01script: call function string_hash in script_repo_sha512sum_file to compute ↵Sébastien Helleu
SHA512 hash This removes dependency on libgcrypt in script plugin.
2020-02-18script: fix memory leak in read of script repository file if it has invalid ↵Sébastien Helleu
content
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