Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-10 | core: do not display non printable chars, fix function utf8_char_size_screen | Sébastien Helleu | |
Now the function utf8_char_size_screen can return -1 when the char is not printable. It has a specific behavior for some chars: - U+0009: value of option weechat.look.tab_width - U+0001 to U+001F (except U+0009): 1 - U+00AD (soft hyphen): -1 - U+200B (zero width space): -1 | |||
2022-12-10 | api: add function utf8_strncpy | Sébastien Helleu | |
2022-12-10 | core: optimize and fix function utf8_strlen_screen with non printable chars | Sébastien Helleu | |
When there non printable chars, the return of the function was 1. For example utf8_strlen_screen("abc\x01") now returns 4 instead of 1. In addition the function has been optimized to not use the `mbstowcs` function which is slow; result is up to 15% faster. | |||
2022-12-10 | core: add result of `utf8_char_size_screen` in /debug unicode | Sébastien Helleu | |
2022-12-03 | core: display hex codepoint before integer codepoint in /debug unicode | Sébastien Helleu | |
2022-11-27 | tests: define constants with UTF-8 strings, add tests on functions returning ↵ | Sébastien Helleu | |
size on screen | |||
2022-11-21 | core: add option `unicode` in command `/debug` | Sébastien Helleu | |
2022-11-05 | tests: add another test on function string_translate_chars | Sébastien Helleu | |
2022-11-05 | core: add range of chars in evaluation of expressions with `chars:xxx` | Sébastien Helleu | |
2022-11-05 | api: add function string_translate_chars | Sébastien Helleu | |
2022-10-08 | tests: Use LONGS_EQUAL for version number tests | Trygve Aaberge | |
util_version_number returns an int, but BYTES_EQUAL only compares the last byte of the int, so it wouldn't test the rest of the int. I see other tests for functions returning an int use LONGS_EQUAL, so that seems correct to use. | |||
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-16 | api: add function crypto_hash_file | Sébastien Helleu | |
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-04-18 | core: add case conversion in evaluation of expressions (closes #1778) | Sébastien Helleu | |
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-21 | tests: add missing include of stdio.h | 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-11-07 | tests: fix allocation of test_ptr_1_hashtable_dyn in hdata tests | Sébastien Helleu | |
2021-11-07 | tests: add tests on UTF-8 string functions | Sébastien Helleu | |
2021-11-06 | api: add parameters pointers, extra_vars and options in function hdata_search | Sébastien Helleu | |
2021-11-05 | tests: add missing include of string.h | Sébastien Helleu | |
2021-11-05 | core: add unit tests on hdata | Sébastien Helleu | |
2021-10-01 | core: add command /toggle | Sébastien Helleu | |
2021-09-20 | core: add creation of user variables in evaluated expressions with ↵ | Sébastien Helleu | |
${define:name,value} | |||
2021-09-06 | api: add split of string and shell arguments in evaluation of expressions | Sébastien Helleu | |
Split of string: ${split:number,separators,flags,xxx} Split of shell arguments: ${split_shell:number,xxx} | |||
2021-08-29 | api: add "${re:repl_index}" to get the index of replacement in function ↵ | Sébastien Helleu | |
string_eval_expression | |||
2021-08-06 | core: fix decoding of attributes in basic ANSI colors (closes #1678) | Sébastien Helleu | |
2021-08-03 | api: add random integer number in evaluation of expressions with ↵ | Sébastien Helleu | |
"random:min,max" | |||
2021-07-04 | typing: add typing plugin | Sébastien Helleu | |
2021-07-03 | api: add function file_copy (issue #1667) | Sébastien Helleu | |
2021-06-26 | api: remember insertion order in hashtables | 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-16 | tests: fix tests on signal_search_number | Sébastien Helleu | |
2021-06-01 | api: add function crypto_hmac (issue #1628) | Sébastien Helleu | |
2021-06-01 | tests: add test of base64 encode/decode with NUL char in string | Sébastien Helleu | |
2021-05-16 | tests: remove dependency on French locale in eval tests | Sébastien Helleu | |
2021-05-16 | tests: add missing include of locale.h in eval tests | Sébastien Helleu | |
2021-05-16 | tests: remove commented includes | Sébastien Helleu | |
2021-05-16 | core: set server name when connecting to server with TLS (SNI extension) ↵ | Sébastien Helleu | |
only if it's not an IPV4/IPv6 (closes #1635) | |||
2021-05-16 | tests: add tests on translation in evaluated expressions | 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 |