summaryrefslogtreecommitdiff
path: root/src/plugins/script
AgeCommit message (Collapse)Author
2017-03-25script: check that script pointer is not NULL in function "script_repo_free"Sébastien Helleu
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
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-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-10script: update help on /script searchSébastien Helleu
2015-12-09script: add completion with languages and extensions, support search by ↵Sébastien Helleu
language/extension in /script search
2015-12-02script: fix commentSébastien Helleu
2015-08-24script: add option script.scripts.download_timeoutSébastien Helleu
2015-06-26script: call function string_eval_path_home() to evaluate scripts pathSébastien Helleu
2015-06-21script: rename option script.scripts.dir to script.scripts.path (issue #388)Sébastien Helleu
2015-06-19script: evaluate content of option script.scripts.dir (issue #388)Sé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-03-10script: add note about HTTPS in /help script.scripts.urlSébastien Helleu
2015-03-07javascript: add new plugin to run javascript scripts in WeeChatSébastien Helleu
This plugin was originally written by Koka El Kiwi (repository: https://github.com/KokaKiwi/weechat-js-plugin). This plugin uses Google V8 engine to execute JS scripts.
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-12-01script: rename callback for infolist "script_script"Sébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
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-07-01core: remove "www" in weechat.org URLsSébastien Helleu
2014-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-04-12api: allow wildcard "*" inside the mask in function string_matchSébastien Helleu
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-04-02script: add commas in title of script bufferSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-17script: set option script.scripts.cache_expire to 1440 by defaultSebastien Helleu
2014-03-16core: fix some compilation problems on SmartOSSebastien Helleu
2014-03-07script: fix scroll on script buffer in the detailed view of script (closes #6)Sebastien Helleu
2014-02-22script: remove dead assignments in functions script_action_{unload|reload}Sebastien Helleu
2014-02-21script: return WEECHAT_RC_ERROR in command /script if arguments are ↵Sebastien Helleu
wrong/missing
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-29core: fix typos in translations and docsSebastien Helleu
2014-01-18core: reformat hook_command argumentsSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-12-23core: replace darkgray color as default value of optionsSebastien Helleu
New default value is now used for these options: - weechat.color.chat_inactive_buffer: "default" - weechat.color.chat_inactive_window: "default" - weechat.color.chat_nick_offline: "default" - weechat.color.chat_nick_offline_highlight_bg: "blue" - weechat.color.chat_prefix_buffer_inactive_buffer: "default" - irc.color.topic_old: "default" - logger.color.backlog_end: "default" - logger.color.backlog_line: "default" - script.color.text_delimiters: "default"
2013-11-09script: load plugin even if options can not be read in script.conf (with ↵Sebastien Helleu
warnings)
2013-10-05core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am ↵Sebastien Helleu
in plugins This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
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-07-20core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.amSebastien Helleu
2013-07-11core: sort config options by name in sourcesSebastien Helleu
2013-05-03script: add key alt+A in /help script (thanks ArZa)Sebastien Helleu
2013-04-27script: do not search by license and author in /script search (thanks to ↵Sebastien Helleu
Nils Görs)