Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-28 | core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872) | Sébastien Helleu | |
2023-01-28 | core, plugins: check that string parameters are not NULL in search functions ↵ | Sébastien Helleu | |
(issue #1872) | |||
2023-01-28 | core, plugins: make info, info_hashtable and infolist case sensitive (issue ↵ | Sébastien Helleu | |
#1872) | |||
2023-01-28 | core, plugins: make commands, hook command_run, completions and aliases case ↵ | Sébastien Helleu | |
sensitive (issue #1872) | |||
2023-01-28 | plugins: set priority in calls to weechat_config_new (issue #1872) | Sébastien Helleu | |
2023-01-03 | plugins: change priority of scripting plugins | Sébastien Helleu | |
Use a step of 10 between each scripting plugin priority. | |||
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-12-11 | scripts: Send null values to config section callbacks | Trygve Aaberge | |
The callback_read and callback_create_option functions in the scripting APIs always get the value as a string, never as null. This means that if the value is null, there is no way for the script to distinguish this from an empty string for string options. This makes it impossible to properly make options with fallback values, like the irc server and server_default options, as far as I can see. All the scripting languages except Tcl use that language's equivalent for null. For JavaScript which has both null and undefined, null is used. For Tcl, the magic null string defined in commit 197a7a01e is used and the documentation is updated to describe that. I tested this with these scripts: https://gist.github.com/trygveaa/2d49c609addf9773d2ed16e15d1e3447 You can load all of those scripts and see the result with this command (assuming you have the scripts in the current directory): weechat -t -r "/filter add script * * script; /script load $(echo script_config.*)" | |||
2022-03-06 | guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8 | Sébastien Helleu | |
This fixes the compilation warning: weechat-guile.c: In function ‘weechat_plugin_init’: weechat-guile.c:1270:5: warning: ‘scm_install_gmp_memory_functions’ is deprecated [-Wdeprecated-declarations] | |||
2022-02-20 | scripts: auto-load scripts with supported extensions only (closes #1698) | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-10-02 | plugins: use a different plugin priority for each scripting language | Sébastien Helleu | |
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-08-23 | api: add argument "bytes" in function string_dyn_concat | Sébastien Helleu | |
2020-06-07 | guile: fix compiler warning (issue #1514) | Sébastien Helleu | |
2020-06-07 | guile: fix memory leak in output port | Joram Schrijver | |
2020-06-07 | guile: re-enable "/guile eval" (issue #1098) | Joram Schrijver | |
With the output port now properly implemented for Guile >= 2.2, this command works again. | |||
2020-06-07 | guile: fix printing of output to buffer (issue #1098) | Joram Schrijver | |
The support for Guile 2.2 did not implement the custom port correctly, and did not configure it to be the default output port. This caused output from Guile to be printed straight to the TTY, breaking the WeeChat interface. Note that the port is unbuffered, so that code like (display "test") immediately results in output, without an explicit call to force-output. | |||
2020-01-30 | Fix the build with guile-3.0.0. | orbea | |
v2: Update configure.ac too. Signed-off-by: orbea <orbea@riseup.net> | |||
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-09-21 | guile: disable "/guile eval" as this does not (yet) work with Guile >= 2.2 ↵ | Sébastien Helleu | |
(issue #1098) | |||
2019-09-21 | guile: add support of Guile 2.2 (issue #1098) | Sébastien Helleu | |
2019-04-13 | api: return allocated string in hook_info callback and function info_get | Sébastien Helleu | |
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-07-25 | scripts: fix duplicated lines in output of script eval (python, perl, ruby, ↵ | Sébastien Helleu | |
lua and guile) When there was a call to a hook callback during the eval, the output buffer was cleared too late, and displayed multiple times in the buffer. This commit clears the buffer even before we display it (this display can trigger a hook callback). | |||
2018-04-13 | scripts: fix memory leak in hook_info callback | Sébastien Helleu | |
2018-04-12 | scripts: fix return value of hook_infolist callback (pointer instead of string) | Sébastien Helleu | |
2018-03-17 | scripts: hide message when the eval script is unloaded | Sébastien Helleu | |
Related to commit 8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e. | |||
2018-02-19 | scripts: display the script name in stdout/stderr output from scripts | Sébastien Helleu | |
2018-01-15 | scripts: add option "eval_keep_context" in script plugins | Sébastien Helleu | |
2018-01-15 | scripts: add configuration file for each script plugin | Sébastien Helleu | |
2018-01-06 | core: update translations (issue #128) | Sébastien Helleu | |
2018-01-06 | scripts: add "eval" option in script commands and info "xxx_eval" (issue #128) | Sébastien Helleu | |
For now this works only in python, perl, ruby and guile. | |||
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-12-23 | scripts: add option "version" in script commands (closes #1075) | Sébastien Helleu | |
2017-07-08 | fset: fix priority of plugin (load it after all other plugins) | Sébastien Helleu | |
This fixes a refresh problem of options after /upgrade in fset buffer. | |||
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-03-21 | core: 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-01 | core: update copyright dates | Sébastien Helleu | |
2015-04-30 | core: add comments after some #endif | Sébastien Helleu | |
2015-02-21 | scripts: reformat some code to make it more readable | Sébastien Helleu | |
2015-02-21 | scripts: improve comments on functions that convert hashtables | Sébastien Helleu | |
2015-01-15 | core: add priority in plugins to initialize them in order | Sébastien Helleu | |
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script. | |||
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-11-22 | api: return value in function command(), remove WeeChat error after command ↵ | Sébastien Helleu | |
callback if return code is WEECHAT_RC_ERROR | |||
2014-09-20 | guile: fix compilation with Guile < 2.0.4 (closes #198) | Sébastien Helleu | |
2014-02-21 | guile: return WEECHAT_RC_ERROR in command /guile if arguments are wrong/missing | Sebastien Helleu | |
2014-02-17 | guile: fix module used after unload of a script | Sebastien Helleu | |
2014-02-10 | api: add integer return code for functions hook_{signal|hsignal}_send | Sebastien Helleu | |