Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-26 | core: allow value "0" in buffer property "unread" to remove read marker from ↵ | Sébastien Helleu | |
buffer | |||
2022-12-26 | doc/api: fix formatting of return value in char/string comparison functions | Sébastien Helleu | |
2022-12-25 | core: reorder entries in ChangeLog | Sébastien Helleu | |
2022-12-25 | changelog: add entry about Ruby 3.2 detection | Dawid Dziurla | |
2022-12-25 | ruby: add detection of Ruby 3.2 | Dawid Dziurla | |
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: fix typo in comment | 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 style in ChangeLog and release notes | Sébastien Helleu | |
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-22 | core: fix typo in French translation of /help input | Sébastien Helleu | |
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 | irc: fix calls to weechat_string_toupper | Sébastien Helleu | |
2022-12-19 | core: fix call to string_toupper | Sébastien Helleu | |
2022-12-19 | spell: return directly output of string_dyn_free without temporary variable | Sébastien Helleu | |
2022-12-19 | irc: return directly output of string_dyn_free without temporary variable | 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-18 | tests: add tests on function gui_input_delete_next_word | Sébastien Helleu | |
2022-12-18 | tests: add tests on function gui_input_delete_range | Sébastien Helleu | |
2022-12-18 | tests: add tests on gui delete previous/next char functions | Sébastien Helleu | |
2022-12-18 | tests: add extra tests on function gui_input_set_pos | Sébastien Helleu | |
2022-12-18 | tests: add tests on gui input completion functions | Sébastien Helleu | |
2022-12-18 | core: remove unused argument "pos" from function gui_input_insert_string, ↵ | Sébastien Helleu | |
add tests on function | |||
2022-12-17 | core: simplify gui input functions by returning immediately if condition not met | Sébastien Helleu | |
2022-12-17 | irc: do not join channels in server autojoin option after reconnection to ↵ | Sébastien Helleu | |
the server (closes #560, bug #21529) | |||
2022-12-14 | doc: update German auto-generated file | Sébastien Helleu | |
2022-12-14 | core: update German translations | Nils Görs | |
2022-12-11 | doc/api: Improve python example for config_new_section | Trygve Aaberge | |
This updates the Python examples to include all the possible return values for the callbacks in config_new_section, like it is done in the C example. It also aligns the order of the values with the C example. | |||
2022-12-11 | doc/api: Fix return values for callback_read in config_new_section | Trygve Aaberge | |
These return values were wrong in the description and C example. As can be seen on lines 2835 and 2873-2903 of src/core/wee-config-file.c the callback_read function should return the same as the function config_file_option_set plus the value WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND (which is also the same as the possible return values of config_file_option_set_with_string). The Python example was already correct and the C example was already correct in the other languages apart from English. These errors were introduced in commit 02e2b21d3 and commit 5210ff1ae. | |||
2022-12-11 | core: add contributor (issue #1859) | Sébastien Helleu | |
2022-12-11 | core: update ChangeLog (issue #1859) | Sébastien Helleu | |
2022-12-11 | cmake: add support of compiling with enchant-2 for the Spell plugin | Ryan Qian | |
2022-12-11 | core: update ChangeLog (issue #1843) | Sébastien Helleu | |
2022-12-11 | scripts: Send null values to config section callbacks | Trygve Aaberge | |
The callback_read and callback_create_option functions in the scripting APIs always get the value as a string, never as null. This means that if the value is null, there is no way for the script to distinguish this from an empty string for string options. This makes it impossible to properly make options with fallback values, like the irc server and server_default options, as far as I can see. All the scripting languages except Tcl use that language's equivalent for null. For JavaScript which has both null and undefined, null is used. For Tcl, the magic null string defined in commit 197a7a01e is used and the documentation is updated to describe that. I tested this with these scripts: https://gist.github.com/trygveaa/2d49c609addf9773d2ed16e15d1e3447 You can load all of those scripts and see the result with this command (assuming you have the scripts in the current directory): weechat -t -r "/filter add script * * script; /script load $(echo script_config.*)" | |||
2022-12-10 | trigger: fix variables sent to focus callback (closes #1858) | Sébastien Helleu | |
This fixes a regression introduced in WeeChat 3.7 by commit 0f67f55098db564c82c848262540704985790129. |