Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-03 | doc: fix formatting issues with links that target a blank window | Sébastien Helleu | |
2023-06-02 | relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and ↵ | Sébastien Helleu | |
"relay_client_irc_out" | |||
2023-05-30 | doc: update Serbian documentation | Ivan Pešić | |
2023-05-20 | doc: move toc and section asciidoctor attributes from docs to CMakeLists.txt | Sébastien Helleu | |
2023-05-16 | doc/api: add note about hashtable removal in function info_get_hashtable | Sébastien Helleu | |
2023-05-15 | irc: add modifier "irc_cap_sync_req" (closes #1767) | Sébastien Helleu | |
2023-05-03 | irc: add support of capability "batch" (closes #1292) | Sébastien Helleu | |
2023-05-03 | doc: Update Serbian documentation | Ivan Pešić | |
2023-04-25 | doc/api: add variable "_chat_focused_line" in function hook_focus | Sébastien Helleu | |
2023-04-15 | doc/api: add more examples on function util_version_number | Sébastien Helleu | |
2023-03-30 | doc: convert docgen.py to C, remove autogen files from repository, add ↵ | Sébastien Helleu | |
parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "<lang>/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide | |||
2023-03-20 | core: add relative move of read marker with `/buffer set unread [+/-]N` ↵ | Sébastien Helleu | |
(closes #1895) | |||
2023-03-19 | doc/api: fix typo | Sébastien Helleu | |
2023-03-19 | core: fix default value of options for bars added by plugins | Sébastien Helleu | |
When the bar name already exists, the function `bar_new` returns the pointer to the bar (instead of NULL) and sets the default value for all options with the values received. | |||
2023-03-18 | core: bump version to 4.0.0-dev, follow "practical" semantic versioning | Sébastien Helleu | |
2023-03-16 | core: add configuration version, add API function config_set_version | Sébastien Helleu | |
2023-03-10 | doc/api: add hashtable methods in function string_eval_expression | Sébastien Helleu | |
2023-02-01 | core/doc Update Serbian translations | Ivan Pešić | |
Update messages and documentation translations. | |||
2023-01-28 | core: make function gui_buffer_match_list case sensitive (issue #1872) | Sébastien Helleu | |
2023-01-28 | doc/api: add priority in function config_new (issue #1872) | Sébastien Helleu | |
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 | api: do not check hotlist add conditions when adding buffer in hotlist with ↵ | Sébastien Helleu | |
function buffer_set | |||
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-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-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 | 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 | core: add color attributes "blink" and "dim" (half bright) (closes #1855) | 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-05 | Update Serbian translation | Ivan Pešić | |
Documentation and messages translation update | |||
2022-11-09 | doc/api: add missing note after list of signals | Sébastien Helleu | |
2022-11-08 | core: add signals "buffer_user_{input|closing}_xxx" for buffers created with ↵ | Sébastien Helleu | |
`/buffer add` (closes #1848) | |||
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-14 | python: Fix return types for config option callbacks | Trygve Aaberge | |
I erroneously typed the return types for these to int in commit e0c117e14, but they should be None. | |||
2022-09-30 | doc/api: Fix config_new_option types for non English docs | Trygve Aaberge | |
Only English was changed in commit 197a7a01e. | |||
2022-09-29 | api: change type of argument remaining_calls in hook_timer callback from ↵ | Sébastien Helleu | |
string to integer (in scripts) | |||
2022-09-29 | doc/api: Remove unnecessary cast in Python example | Trygve Aaberge | |
The highlight argument is already an int, so no point in casting it. | |||
2022-09-29 | doc/api: Add types for Python callbacks | Trygve Aaberge | |
2022-09-28 | doc/api: Add values for hook_process constants | Trygve Aaberge | |
When logging this value I just see a number so I have to look up what it means. Previously you would have to check the code or print the value of each of these constants to see it. Seeing the value directly in the documentation makes this much easier. | |||
2022-09-28 | doc/api: add note about C API for constant WEECHAT_HOOK_PROCESS_CHILD ↵ | Sébastien Helleu | |
(function hook_process) | |||
2022-09-28 | doc/api: fix typo | Sébastien Helleu | |
2022-09-27 | api: add function file_compress | Sébastien Helleu | |
2022-09-27 | api: restrict number to integer in function string_parse_size | Sébastien Helleu | |