Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-28 | core, plugins: replace calls to strcmp by string_strcmp when difference ↵ | Sébastien Helleu | |
matters (issue #1872) | |||
2023-01-28 | core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: make get/set object properties case sensitive (issue #1872) | Sébastien Helleu | |
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: 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-01 | core: update copyright dates | Sébastien Helleu | |
2022-10-23 | core: Prevent use of uninitialized memory when setting invalid color | Trygve 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-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-06-18 | core: add trailing slashes in URLs | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-11-04 | core: fix access to integer/long/time arrays in hdata, add support of static ↵ | Sébastien Helleu | |
arrays in hdata | |||
2021-10-01 | core: add command /toggle | Sébastien Helleu | |
2021-09-27 | core: check that option is not NULL in function ↵ | Sébastien Helleu | |
config_file_option_value_to_string | |||
2021-09-27 | core: fix search of option when the section is not given | Sébastien Helleu | |
2021-09-27 | core: check that option_name is not NULL in config file functions | 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 | |||
2021-03-14 | core: mention /fset command in header comment of configuration files | Sébastien Helleu | |
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-11-17 | core: fix and normalize error messages | Sébastien Helleu | |
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-10-23 | core: optimize search of options in configuration sections | Sébastien Helleu | |
Since options are sorted in sections, it is faster to search from the last option to the first one. For configuration files with many options in a single section (like plugins.conf), the load of configuration file is about 2 to 3x faster. | |||
2019-06-15 | api: add argument "strip_items" in function string_split | Sébastien Helleu | |
2019-03-10 | core: replace argument "keep_eol" by "flags" in function string_split ↵ | Sébastien Helleu | |
(closes #1322) | |||
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-10-14 | core: add option weechat.look.save_config_with_fsync (closes #1083) | Sébastien Helleu | |
This makes the save of all configuration files about 20 to 200x slower (according to the storage device speed); so this is disabled by default. | |||
2017-07-08 | core: call the config hook when options are renamed | Sébastien Helleu | |
2017-07-08 | core: call the config hook when options are removed | Sébastien Helleu | |
2017-06-25 | fset: add ${file}, ${section}, ${option}, add color options | Sébastien Helleu | |
2017-06-10 | core, plugins: fix conditions to insert elements in linked lists | Sébastien Helleu | |
This removes scan-build warnings about dereference of last_xxx null pointers. | |||
2017-06-09 | core: remove unused functions config_file_config_insert and ↵ | Sébastien Helleu | |
config_file_section_insert_in_config (issue #1012) | |||
2017-05-30 | api: add function config_option_get_string in plugin API | Sébastien Helleu | |
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-11-21 | core: add a warning in header of configuration files to not edit by hand ↵ | Sébastien Helleu | |
(closes #851) | |||
2016-07-09 | core: rename function string_iconv_fprintf to string_fprintf | Sébastien Helleu | |
2016-03-21 | core: add pointer in some callbacks (closes #406) | Sébastien Helleu | |
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read | |||
2016-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-12-24 | core: add a parent name in options (closes #629) | Sébastien Helleu | |
Inherited values are now displayed in /set output when the value is null, if a parent option name is defined in option. New option: weechat.color.chat_value_null | |||
2015-07-04 | core: add missing comments before functions when the result must be freed ↵ | Sébastien Helleu | |
after use | |||
2015-04-22 | core: remove WeeChat version from config files (closes #407) | Sébastien Helleu | |
2015-04-17 | core: add a welcome message on first WeeChat run (closes #318) | Sébastien Helleu | |
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-10-23 | api: fix crash when reading config options with NULL value (closes #238) | Sébastien Helleu | |
2014-09-29 | core: remove sort on configuration files and sections | Sébastien Helleu | |
The sort was causing bugs because some options were missing while reading other options, so the order of sections is important, they must not be sorted. This is a partial revert of commit 56f099bec647ef79542e3e65e847e24d1bdcaa61. |