summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-repo.c
AgeCommit message (Collapse)Author
2023-08-13script: replace "iset" example by "go" in commentsSébastien Helleu
2023-01-28core, plugins: check that string parameters are not NULL in search functions ↵Sébastien Helleu
(issue #1872)
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-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-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-01-04core: update copyright datesSébastien Helleu
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-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-05-18script: fix memory leak in case of invalid XML content in list of scriptsSébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)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-11script: add local variable "filter" in the script buffer (closes #1037)Sébastien Helleu
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-05-15script: fix typo in a commentSébastien Helleu
2017-03-25script: check that script pointer is not NULL in function "script_repo_free"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-02-19script: force refresh of scripts buffer after download of scripts list ↵Sébastien Helleu
(closes #693)
2016-01-01core: update copyright datesSébastien Helleu
2015-12-09script: add completion with languages and extensions, support search by ↵Sébastien Helleu
language/extension in /script search
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-08-22script: fix crash on "/script update" if a script detail is displayed in ↵Sébastien Helleu
buffer (closes #177)
2014-08-10script: fix potential crash in case of malloc errorSébastien Helleu
2014-07-14script: fix display of curl errorsSébastien Helleu
2014-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-03-16core: fix some compilation problems on SmartOSSebastien Helleu
2014-01-29core: fix typos in translations and docsSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
2013-04-27script: do not search by license and author in /script search (thanks to ↵Sebastien Helleu
Nils Görs)
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).