summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-10core: do not display non printable chars, fix function utf8_char_size_screenSé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-10core: display chars < 32 with a letter/symbol and reverse video attribute in ↵Sébastien Helleu
chat
2022-12-10core: toggle reverse video attribute in bars for chars < 32 only if not ↵Sébastien Helleu
already enabled
2022-12-10core: expand tabulations as spaces in barsSébastien Helleu
2022-12-10core: replace call to memcpy by utf8_strncpySébastien Helleu
2022-12-10api: add function utf8_strncpySébastien Helleu
2022-12-10core: optimize and fix function utf8_strlen_screen with non printable charsSé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-10core: add result of `utf8_char_size_screen` in /debug unicodeSébastien Helleu
2022-12-05doc: update Serbian auto-generated filesSébastien Helleu
2022-12-05Update Serbian translationIvan Pešić
Documentation and messages translation update
2022-12-03core: display hex codepoint before integer codepoint in /debug unicodeSébastien Helleu
2022-12-03core: remove useless call to mbstowcs in function debug_unicode_charSébastien Helleu
2022-11-27tests: define constants with UTF-8 strings, add tests on functions returning ↵Sébastien Helleu
size on screen
2022-11-22doc: update German auto-generated fileSébastien Helleu
2022-11-22core: update German translationsNils Görs
2022-11-21core: add option `unicode` in command `/debug`Sébastien Helleu
2022-11-20core: reorder sub-commands in /debug command callbackSébastien Helleu
2022-11-20core: fix typo in commentSébastien Helleu
2022-11-19trigger: properly initialize variable "value" to NULLSébastien Helleu
2022-11-19ci: install guile-3.0-dev instead of guile-2.2-devSébastien Helleu
2022-11-19debian: change dependency guile-2.2-dev to guile-3.0-devSébastien Helleu
2022-11-11core: add identifier in buffer lines (closes #901)Sébastien Helleu
For buffers with formatted content, the "id" starts to 0 on each buffer and is incremented on each new line displayed (it is reset to 0 if reaching INT_MAX). For buffers with free content, the "id" is set to the same value as "y" (ie the line number, starting to 0).
2022-11-09doc/api: add missing note after list of signalsSébastien Helleu
2022-11-09doc/user: add missing supported format for trigger regexSébastien Helleu
2022-11-08doc: update German auto-generated fileSébastien Helleu
2022-11-08core: add signals "buffer_user_{input|closing}_xxx" for buffers created with ↵Sébastien Helleu
`/buffer add` (closes #1848)
2022-11-07doc: update German documentationNils Görs
2022-11-07core: update German translationsNils Görs
2022-11-06trigger: display failing regex in trigger creation errorSébastien Helleu
2022-11-06core: update translationsSébastien Helleu
2022-11-06trigger: use explicit command "s" in regex of default triggersSébastien Helleu
2022-11-06core: add release notes about new trigger regex formatSébastien Helleu
2022-11-06trigger: add regex command "y" to translate chars, set default regex command ↵Sébastien Helleu
to "s" (regex replace) (closes #1510)
2022-11-05tests: add another test on function string_translate_charsSébastien Helleu
2022-11-05core: add range of chars in evaluation of expressions with `chars:xxx`Sébastien Helleu
2022-11-05api: add function string_translate_charsSébastien Helleu
2022-11-05doc: Fix typo in highlight_disable_regex option nameTrygve Aaberge
The section describes highlight_disable_regex, but the example used highlight_regex instead.
2022-10-23core: update ChangeLog (issue #1844)Sébastien Helleu
2022-10-23core: Prevent use of uninitialized memory when setting invalid colorTrygve Aaberge
If a color option value is null and is tried being set to an invalid color, the value was set to uninitialized memory which can lead to a segfault. Can be reproduced with this script: https://gist.github.com/trygveaa/6ddb3a52f525a7fd8e0908bafa83e07c The option doesn't have to be set from a script, it also happens with the /set command.
2022-10-22doc: remove extra "#" before hex colorSébastien Helleu
2022-10-22debian: update changelogSébastien Helleu
2022-10-21core: add version 3.7.1Sébastien Helleu
2022-10-20doc: update German documentationNils Görs
2022-10-20trigger: 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-19doc/faq: remove mention of obsolete WeeChat versionsSébastien Helleu
2022-10-19doc: fix language in links to other docsSébastien Helleu
2022-10-16python: remove functions defined for Python < 2.6Sébastien Helleu
2022-10-15python: remove support of Python 2.xSébastien Helleu
2022-10-15tests: ignore pylint error unnecessary-passSébastien Helleu
2022-10-15api: do not expect any return value in callbacks change/delete of ↵Sébastien Helleu
config_new_option (scripting API)