Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-05 | api: add functions config_{boolean|integer|string|color|enum}_inherited in ↵ | Sébastien Helleu | |
scripting API | |||
2024-03-05 | tests: add tests on functions that read values of config options | Sébastien Helleu | |
2024-02-10 | tests: fix compiler warning on empty snprintf format | Sébastien Helleu | |
This fixes the following warning: test-core-dir.cpp:178:36: warning: zero-length gnu_printf format string [-Wformat-zero-length] | |||
2024-02-10 | core: remove trailing directory separators in home directories (closes #2070) | Sébastien Helleu | |
2024-02-01 | core: add support of base64url in encode/decode functions (issue #2066) | Sébastien Helleu | |
2024-01-27 | core: use function util_strftimeval in evaluation of expression `date:xxx` | Sébastien Helleu | |
2024-01-27 | api: add support of specifier `%!` for timestamp in function util_strftimeval | Sébastien Helleu | |
2024-01-22 | irc: fix random date displayed when a received message contains tags but no ↵ | Sébastien Helleu | |
"time" (closes #2064) | |||
2024-01-05 | api: add function util_parse_time (issue #649) | Sébastien Helleu | |
2024-01-01 | core: update copyright dates | Sébastien Helleu | |
2023-12-26 | core: store microseconds in buffer lines (closes #649) | Sébastien Helleu | |
2023-12-02 | tests: remove unneeded constant TOTP_SECRET | Sébastien Helleu | |
2023-11-24 | tests: add eval tests on "raw" and "raw_hl" with escaped prefix | Sébastien Helleu | |
2023-11-23 | tests: fix tests on function string_replace_with_callback | Sébastien Helleu | |
2023-11-23 | core: evaluate expressions even when the suffix is missing (issue #2042, ↵ | Sébastien Helleu | |
issue #1714) | |||
2023-11-23 | core: add syntax highlighting in evaluation of expressions, add option ↵ | Sébastien Helleu | |
weechat.color.eval_syntax_colors (issue #2042) Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}` Syntax highlighting: `${hl:xxx}` | |||
2023-10-30 | tests: check that environment variable "HOME" is set before using it | Sébastien Helleu | |
2023-10-17 | api: add support of format/translation of command arguments description line ↵ | Sébastien Helleu | |
by line (issue #2005) | |||
2023-10-17 | api: add function string_concat (issue #2005) | Sébastien Helleu | |
2023-09-25 | tests: cast infolist time variable value to the correct data type | LuK1337 | |
2023-09-20 | tests: fix condition on libgcrypt version for algorithms `sha512-224` and ↵ | Sébastien Helleu | |
`sha512-256` (issue #2008) | |||
2023-09-13 | core: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and ↵ | Sébastien Helleu | |
`blake2s-*` in option sec.crypt.hash_algo (closes #2008) | |||
2023-09-13 | api: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` ↵ | Sébastien Helleu | |
in hash functions (issue #2008) | |||
2023-08-29 | api: add support of path to variable and hashtable comparison in function ↵ | Sébastien Helleu | |
hdata_compare (closes #1066) | |||
2023-08-28 | core: add command `/sys` to show resource limits and usage | Sébastien Helleu | |
2023-08-25 | core: add function util_get_microseconds_string | Sébastien Helleu | |
2023-08-25 | core: add microseconds precision in function util_parse_delay | Sébastien Helleu | |
2023-08-24 | api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" ↵ | Sébastien Helleu | |
(issue #194) | |||
2023-08-23 | tests: add tests on string comparison functions with range of 29 chars | Sébastien Helleu | |
2023-08-16 | tests: add tests on eval ternary operator with extra colon in value | Sébastien Helleu | |
2023-07-08 | core: add option type "enum" (closes #1973) | Sébastien Helleu | |
The type "enum" replaces type "integer" when used with string values. For compatibility, any option created with type "integer" and string values is automatically created to "enum" on creation, with no error. | |||
2023-07-01 | tests: fix hdata tests failure on Alpine 3.18 | Sébastien Helleu | |
2023-06-27 | core: check for newline characters in string_is_whitespace_char | Trygve Aaberge | |
This fixes a bug where if you had multiple lines in the input and pressed ctrl-w when the cursor was after the first word of any line but the first, it would delete both the word before the cursor and the last word on the preceding line. | |||
2023-05-23 | tests: check tags in messages displayed by IRC plugin | Sébastien Helleu | |
2023-05-22 | tests: separate prefix from message in recorded messages | Sébastien Helleu | |
The record functions are moved to tests-record.cpp. | |||
2023-05-14 | tests: reverse arguments in calls to STRCMP_EQUAL | Sébastien Helleu | |
2023-05-05 | core: fix execution of multiple commands separated by newline when there are ↵ | Sébastien Helleu | |
no spaces For example typing this on core buffer: /t1 /t2 was not executing the two commands but sent the text to the buffer instead. This is because WeeChat thinks it's a path, and the newline should indicate it's not (like a space before the next slash: "/t1 /t2" is a command, not a path, but "/t1/t2" is considered a path). | |||
2023-05-04 | api: don't split on newline by default in functions `command` and ↵ | Sébastien Helleu | |
`command_options` when input_multiline is set to 0 The API functions `command` and `command_options` (when `split_newline` = 0, which is the default value) don't split on newline and then the first line is executed and the subsequent lines (after "\n") are ignored. There are no changes when the input has multiple lines filled by the user: the split is done and multiple commands are executed (for example if the user is pasting multiple commands to execute). | |||
2023-03-28 | core: check that infolist is not NULL in next/prev/reset_item_cursor functions | Sébastien Helleu | |
2023-03-26 | core: Implement commands for operating on a single input line | Trygve Aaberge | |
This changes the commands delete_beginning_of_line, delete_end_of_line, delete_line, move_beginning_of_line and move_end_of_line to operate on the current line instead of the whole input. The commands delete_beginning_of_input, delete_end_of_input, delete_input, move_beginning_of_input and move_end_of_input are added with the previous implementations that the line commands had. Additionally, the commands move_previous_line and move_next_line are added which moves the cursor to the previous/next line and keeps the horizontal position in the line. The meta-r key is changed from delete_line to delete_input to keep the behavior, and because you probably want to delete the whole input more often than the line. The meta-R key is added for delete_line. The home, end, ctrl-u and ctrl-k keys are kept to the same commands, which means that they change behaviour. This is because having them operate on the line is consistent with other applications (vim, zsh), and I also think it's more practical. These new bindings are added: shift-home: /input move_beginning_of_input shift-end: /input move_end_of_input shift-up: /input move_previous_line shift-down: /input move_next_line meta-R: /input delete_line meta-ctrl-u: /input delete_beginning_of_input meta-ctrl-k: /input delete_end_of_input Relates to #1498 | |||
2023-03-19 | core: do not call check callback when setting default value of option | Sébastien Helleu | |
2023-03-19 | core: add command `/reset` to reset options to their default values | Sébastien Helleu | |
2023-03-16 | core: add function config_file_option_set_default | Sébastien Helleu | |
2023-03-16 | core: add configuration version, add API function config_set_version | Sébastien Helleu | |
2023-03-12 | tests: add tests on functions weeurl_search_constant and weeurl_search_option | Sébastien Helleu | |
2023-03-10 | core: allow /eval to get hashtable properties | Andrew Potter | |
2023-01-30 | tests: fix comments (issue #1877) | Sébastien Helleu | |
2023-01-30 | core: add function string_get_common_bytes_count (issue #1877) | Sébastien Helleu | |
2023-01-30 | core: add function string_levenshtein (issue #1877) | Sébastien Helleu | |
2023-01-28 | core: make configuration files, sections and options case sensitive (issue ↵ | Sébastien Helleu | |
#1872) |