Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-01 | core: add support of base64url in encode/decode functions (issue #2066) | Sébastien Helleu | |
2024-01-01 | core: update copyright dates | 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-10-30 | tests: check that environment variable "HOME" is set before using it | Sébastien Helleu | |
2023-10-17 | api: add function string_concat (issue #2005) | 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-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-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-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: move function hook_get_priority_and_name to wee-string.c (issue #1872) | Sébastien Helleu | |
2023-01-14 | tests: add tests on string comparison functions | Sébastien Helleu | |
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
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-24 | api: return arithmetic difference between chars in string comparison functions | Sébastien Helleu | |
Return code is changed for the following functions: - string_strcasecmp - string_strcasecmp_range - string_strncasecmp - string_strncasecmp_range - string_strcmp_ignore_chars - utf8_charcmp - utf8_charcasecmp - utf8_charcasecmp_range | |||
2022-12-23 | api: fix function strcmp_ignore_chars with case sensitive comparison and ↵ | Sébastien Helleu | |
wide chars starting with the same byte | |||
2022-12-21 | core: improve case convert and insensitive char comparisons (closes #258) | Sébastien Helleu | |
All lowercase letters are now properly converted to uppercase letters (and vice versa), via functions `towupper` and `towlower`. Functions `string_tolower`, `string_toupper` and `utf8_charcasecmp` have been optimized to be faster when there are ASCII chars (< 128); functions are about 25-40% faster with mixed chars (both ASCII and multi-bytes). Function `utf8_wide_char` has been removed, `utf8_char_int` can be used instead. | |||
2022-12-18 | api: return newly allocated string in functions string_tolower and ↵ | Sébastien Helleu | |
string_toupper | |||
2022-12-10 | core: fix function string_cut when there are non printable chars in suffix | Sébastien Helleu | |
2022-11-05 | tests: add another test on function string_translate_chars | Sébastien Helleu | |
2022-11-05 | api: add function string_translate_chars | Sébastien Helleu | |
2022-09-27 | api: restrict number to integer in function string_parse_size | Sébastien Helleu | |
2022-09-27 | api: add function string_parse_size | Sébastien Helleu | |
2022-09-18 | core: add key alt+backspace, change behavior of key ctrl+w (closes #559) | Sébastien Helleu | |
The key ctrl+w now deletes one word until whitespace. The new key alt+backspace deletes one word (same behavior as ctrl+w in previous releases). | |||
2022-08-13 | tests: add tests on dynamic string functions with NULL string | Sébastien Helleu | |
2022-07-20 | api: add arguments "index_start" and "index_end" in function ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-07-20 | api: rename function string_build_with_split_string to ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-03-10 | tests: move include of tests/tests.h outside of extern "C" | Sébastien Helleu | |
2022-02-19 | tests: add tests on function string_strndup | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2022-01-14 | tests: split tests on functions string_tolower and string_toupper | Sébastien Helleu | |
2022-01-14 | core: rename argument "length" to "bytes" in function string_strndup | Sébastien Helleu | |
2021-11-09 | tests: add extra tests on functions string_strcmp_ignore_chars and ↵ | Sébastien Helleu | |
string_convert_escaped_chars | |||
2021-07-04 | typing: add typing plugin | Sébastien Helleu | |
2021-06-22 | core: fix function string_match with joker in the string if multiple words ↵ | Sébastien Helleu | |
matched in input string Before fix: string_match("script.color.text_description", "*script*color*", 0) => 0 After fix: string_match("script.color.text_description", "*script*color*", 0) => 1 | |||
2021-06-01 | tests: add test of base64 encode/decode with NUL char in string | Sébastien Helleu | |
2021-05-11 | core: split WeeChat home in 4 directories, use XDG directories by default ↵ | Sébastien Helleu | |
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets | |||
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-10-03 | tests: run callback when resetting options in tests | Sébastien Helleu | |
2020-08-23 | api: add argument "bytes" in function string_dyn_concat | Sébastien Helleu | |
2020-05-31 | tests: fix memory leak in test of function string_hex_dump | Sébastien Helleu | |
2020-05-21 | tests: add tests on function string_input_for_buffer with custom command chars | Sébastien Helleu | |
2020-05-21 | tests: add tests on function string_is_command_char with custom command chars | Sébastien Helleu | |
2020-05-21 | tests: add test on function string_base64_decode with truncated base64 string | Sébastien Helleu | |
2020-05-21 | tests: add test on function string_base16_decode with a char >= 0xA0 | Sébastien Helleu | |