Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-25 | core: move `/input` jump actions to command `/buffer jump` | Sébastien Helleu | |
Actions moved to command `/buffer jump`: * `/input jump_smart` -> `/buffer jump smart` * `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited` * `/input jump_next_visited_buffer` -> `/buffer jump next_visited` * `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed` | |||
2022-12-24 | api: add functions string_strcmp and string_strncmp | Sébastien Helleu | |
2022-12-24 | api: rename char comparison functions "utf8_char*" to "string_char*" | Sébastien Helleu | |
2022-12-19 | irc: fix calls to weechat_string_toupper | Sébastien Helleu | |
2022-12-19 | spell: return directly output of string_dyn_free without temporary variable | Sébastien Helleu | |
2022-12-19 | irc: return directly output of string_dyn_free without temporary variable | Sébastien Helleu | |
2022-12-18 | api: return newly allocated string in functions string_tolower and ↵ | Sébastien Helleu | |
string_toupper | |||
2022-12-17 | irc: do not join channels in server autojoin option after reconnection to ↵ | Sébastien Helleu | |
the server (closes #560, bug #21529) | |||
2022-12-11 | doc/api: Improve python example for config_new_section | Trygve Aaberge | |
This updates the Python examples to include all the possible return values for the callbacks in config_new_section, like it is done in the C example. It also aligns the order of the values with the C example. | |||
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-12-10 | trigger: fix variables sent to focus callback (closes #1858) | Sébastien Helleu | |
This fixes a regression introduced in WeeChat 3.7 by commit 0f67f55098db564c82c848262540704985790129. | |||
2022-12-10 | api: add function utf8_strncpy | Sébastien Helleu | |
2022-11-19 | trigger: properly initialize variable "value" to NULL | Sébastien Helleu | |
2022-11-06 | trigger: display failing regex in trigger creation error | Sébastien Helleu | |
2022-11-06 | trigger: use explicit command "s" in regex of default triggers | Sébastien Helleu | |
2022-11-06 | trigger: add regex command "y" to translate chars, set default regex command ↵ | Sébastien Helleu | |
to "s" (regex replace) (closes #1510) | |||
2022-11-05 | api: add function string_translate_chars | Sébastien Helleu | |
2022-10-20 | trigger: execute trigger command on appropriate buffer (closes #1841) | Sébastien Helleu | |
This affects the following hook types: - command - command_run - line - modifier - print This fixes a regression introduced in WeeChat 3.7 by commit 0f67f55098db564c82c848262540704985790129. | |||
2022-10-16 | python: remove functions defined for Python < 2.6 | Sébastien Helleu | |
2022-10-15 | python: remove support of Python 2.x | Sébastien Helleu | |
2022-10-15 | api: do not expect any return value in callbacks change/delete of ↵ | Sébastien Helleu | |
config_new_option (scripting API) | |||
2022-10-14 | python: Fix return types for config option callbacks | Trygve Aaberge | |
I erroneously typed the return types for these to int in commit e0c117e14, but they should be None. | |||
2022-10-12 | irc: escape backslashes in raw buffer (closes #1838) | Sébastien Helleu | |
2022-10-09 | python: Include script examples in function docstring | Trygve Aaberge | |
This makes it possible to see how functions are used without having to go to the web page. It's especially useful to see the types of the callback functions. | |||
2022-10-08 | xfer: add missing include of netinet/in.h | Sébastien Helleu | |
This fixes compilation on FreeBSD 13.0. | |||
2022-10-02 | python: Include constant values in python stub | Trygve Aaberge | |
This is useful for two reasons: 1. When running unit tests for a script weechat needs to be mocked. By having the constant values available in the stub file, they can be loaded from that, instead of having to define the constants manually for the mock. 2. If you log a constant value you have to look up what it means. This makes it easier, in the same vein as PR #1824. | |||
2022-10-01 | irc: set local variable "filter" when doing `/server raw xxx` with raw ↵ | Sébastien Helleu | |
buffer already opened (closes #1448) | |||
2022-09-30 | trigger: add variable `${tg_hook_type}` (closes #1765) | Sébastien Helleu | |
2022-09-29 | api: change type of argument object_id in upgrade_new callback from string ↵ | Sébastien Helleu | |
to integer (in scripts) | |||
2022-09-29 | api: change type of argument remaining_calls in hook_timer callback from ↵ | Sébastien Helleu | |
string to integer (in scripts) | |||
2022-09-29 | php: add missing arginfo_weechat_string_parse_size in legacy arginfo | Sébastien Helleu | |
2022-09-28 | logger: add options to rotate and compress log files (closes #314) | Sébastien Helleu | |
New options: - logger.file.rotation_compression_level - logger.file.rotation_compression_type - logger.file.rotation_size_max | |||
2022-09-27 | api: add function file_compress | Sébastien Helleu | |
2022-09-27 | api: add function string_parse_size | Sébastien Helleu | |
2022-09-26 | irc: fix use of uninitialized variable `ptr_nick` | Sébastien Helleu | |
2022-09-18 | trigger: escape arguments with double quotes in output of `/trigger ↵ | Sébastien Helleu | |
input|output|recreate` (closes #190) | |||
2022-09-17 | irc: fix message when disconnecting from server in case of high lag when ↵ | Sébastien Helleu | |
server option autoreconnect is off (closes #1708) | |||
2022-09-17 | spell: allow special dict value "-" to disable spell checking on a specific ↵ | Sébastien Helleu | |
buffer (closes #1699) | |||
2022-09-15 | irc: add option irc.look.display_pv_nick_change | Sébastien Helleu | |
2022-09-10 | irc: replace chars "\01" by spaces in CTCP replies (closes #1819) | Sébastien Helleu | |
This prevents any attack due to an external security issue in the Linux netfilter implementation (nf_conntrack_irc). See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2663 | |||
2022-09-09 | xfer: use larger buffer for IP address | Sébastien Helleu | |
This removes a gcc warning about a too small buffer. | |||
2022-09-05 | irc: fix display of message 350 (whois, gateway) (closes #1815) | Sébastien Helleu | |
2022-09-03 | xfer: fix DCC file receive on Termux (closes #1811) | Sébastien Helleu | |
This fixes such error displayed on Termux when receiving a DCC file: xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known | |||
2022-08-31 | core: rename argument "length" to "bytes" in function string_strndup (header ↵ | Sébastien Helleu | |
files) Argument was already renamed in commit f8915129bf2656623168c9f17846ac29759c13ef but it was incomplete (missing header files). | |||
2022-08-29 | irc: fix target buffer of generic errors when they contain a target nick ↵ | Sébastien Helleu | |
(closes #1814) | |||
2022-08-16 | script: use API function weechat_crypto_hash_file in script_repo_sha512sum_file | Sébastien Helleu | |
2022-08-16 | api: add function crypto_hash_file | Sébastien Helleu | |
2022-08-15 | irc: fix extract of isupport value when it is last in list and without value ↵ | Sébastien Helleu | |
(closes #1807) | |||
2022-08-15 | buflist: improve help on option buflist.look.enabled | Sébastien Helleu | |
2022-08-15 | trigger: add elapsed time for trigger execution on monitor buffer when ↵ | Sébastien Helleu | |
trigger debug is set (closes #1806) |