Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-28 | core: make bar and bar items case sensitive (issue #1872) | Sébastien Helleu | |
2023-01-28 | core, plugins: make info, info_hashtable and infolist case sensitive (issue ↵ | Sébastien Helleu | |
#1872) | |||
2023-01-28 | core: make case insensitive comparison with a lower case string (issue #1872) | Sébastien Helleu | |
This is faster because with case insensitive comparison, the chars are converted to lower case anyway before being compared. | |||
2023-01-28 | core, plugins: make commands, hook command_run, completions and aliases case ↵ | Sébastien Helleu | |
sensitive (issue #1872) | |||
2023-01-28 | core: make configuration files, sections and options case sensitive (issue ↵ | Sébastien Helleu | |
#1872) | |||
2023-01-28 | core: add function config_file_get_configs_by_priority (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: simplify code in config functions (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: sort configuration files by name, reload them by priority (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: set priority in calls to config_file_new (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: add priority in config file (issue #1872) | Sébastien Helleu | |
Priority is now allowed in function config_file_new, parameter `name`, with the same format as hooks: "priority|name" (for example: "2000|test"). If not specified, the default priority is 1000. | |||
2023-01-28 | core: move function hook_get_priority_and_name to wee-string.c (issue #1872) | Sébastien Helleu | |
2023-01-12 | core: remove useless continue statement in loop | Sébastien Helleu | |
2023-01-12 | core: display error in command if allocation of arraylist fails | Sébastien Helleu | |
2023-01-12 | core: fix display glitch in command errors when a wide char is set in option ↵ | Sébastien Helleu | |
weechat.look.command_chars (closes #1871) | |||
2023-01-08 | core: do not allocate strings in dir_search_full_lib_name_ext, check return ↵ | Sébastien Helleu | |
code of snprintf This removes three compiler warnings. | |||
2023-01-08 | core: remove build with autotools | Sébastien Helleu | |
CMake is now the only way to build WeeChat. | |||
2023-01-04 | core: fix Curl version in comments | Sébastien Helleu | |
2023-01-03 | api: add Curl options for versions 7.64.0 to 7.87.0 | Sébastien Helleu | |
2023-01-03 | core: fix crash or infinite loop in /allbuf command | Sébastien Helleu | |
A crash could occur if the command closes buffers. An infinite loop could occur if the command creates new buffers. | |||
2023-01-03 | core: add variable list_size to prevent computing arraylist size in each ↵ | Sébastien Helleu | |
iteration | |||
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-12-29 | core: add option weechat.look.chat_space_right (issue #1862) | Sébastien Helleu | |
2022-12-25 | core: move `/input` buffer switch/zoom actions to command `/buffer` | Sébastien Helleu | |
Actions moved: * `/input switch_active_buffer` -> `/buffer switch` * `/input switch_active_buffer_previous` -> `/buffer switch -previous` * `/input zoom_merged_buffer` -> `/buffer zoom` | |||
2022-12-25 | core: move `/input` set_unread actions to commands `/allbuf` and `/buffer set` | Sébastien Helleu | |
Actions moved: * `/input set_unread` -> `/allbuf /buffer set unread` * `/input set_unread_current_buffer` -> `/buffer set unread` | |||
2022-12-25 | core: add command `/allbuf` | Sébastien Helleu | |
2022-12-25 | api: do not check hotlist add conditions when adding buffer in hotlist with ↵ | Sébastien Helleu | |
function buffer_set | |||
2022-12-25 | core: add option `add` in command `/hotlist` | Sébastien Helleu | |
2022-12-25 | core: move `/input` hotlist actions to new command `/hotlist` | Sébastien Helleu | |
Actions moved to command `/hotlist`: * `/input hotlist_clear` -> `/hotlist clear` * `/input hotlist_remove_buffer` -> `/hotlist remove` * `/input hotlist_restore_buffer` -> `/hotlist restore` * `/input hotlist_restore_all` -> `/hotlist restore -all` | |||
2022-12-25 | core: add function gui_buffer_jump_last_visible_number | Sébastien Helleu | |
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-25 | core: fix typo in comment | Sébastien Helleu | |
2022-12-24 | core: remove useless conditions | Sébastien Helleu | |
2022-12-24 | api: add functions string_strcmp and string_strncmp | Sébastien Helleu | |
2022-12-24 | doc/api: mention "UTF-8" in char/string comparison functions | 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-19 | core: remove unneeded casts | Sébastien Helleu | |
2022-12-19 | core: fix call to string_toupper | Sébastien Helleu | |
2022-12-19 | core: 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-18 | core: return number of bytes for UTF-8 char in function utf8_int_string | Sébastien Helleu | |
2022-12-10 | core: add whole string information in /debug unicode | Sébastien Helleu | |
2022-12-10 | core: add color attributes "blink" and "dim" (half bright) (closes #1855) | Sébastien Helleu | |
2022-12-10 | core: fix function string_cut when there are non printable chars in suffix | Sébastien Helleu | |
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 | |