summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-repo.c
AgeCommit message (Collapse)Author
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).
2013-01-01core: update copyright datesSebastien Helleu
2012-12-25script: add missing close of file in case of error when computing MD5 ↵Sebastien Helleu
checksum of a file
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-09-18script: consider that empty file "plugins.xml.gz" is not up-to-dateSebastien Helleu
2012-09-18script: do not define _XOPEN_SOURCE on OpenBSD (bugs with gcrypt) (bug #37373)Sebastien 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-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-08-18script: add option "search" for command /script (completion with script tags)Sebastien Helleu
2012-08-16script: add option script.look.translate_descriptionSebastien Helleu
2012-08-15script: add status "a" (autoloaded) for scriptsSebastien Helleu
2012-08-15script: fix compilation with -O2 (replace define of _GNU_SOURCE by ↵Sebastien Helleu
_XOPEN_SOURCE)
2012-08-14core: add new plugin "script" (scripts manager, replacing scripts weeget.py ↵Sebastien Helleu
and script.pl)