summaryrefslogtreecommitdiff
path: root/src/core/wee-config-file.c
AgeCommit message (Collapse)Author
2021-10-01core: add command /toggleSébastien Helleu
2021-09-27core: check that option is not NULL in function ↵Sébastien Helleu
config_file_option_value_to_string
2021-09-27core: fix search of option when the section is not givenSébastien Helleu
2021-09-27core: check that option_name is not NULL in config file functionsSébastien Helleu
2021-05-11core: 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-14core: mention /fset command in header comment of configuration filesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-11-17core: fix and normalize error messagesSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-10-23core: optimize search of options in configuration sectionsSé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-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-10-14core: 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-08core: call the config hook when options are renamedSébastien Helleu
2017-07-08core: call the config hook when options are removedSébastien Helleu
2017-06-25fset: add ${file}, ${section}, ${option}, add color optionsSébastien Helleu
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-09core: remove unused functions config_file_config_insert and ↵Sébastien Helleu
config_file_section_insert_in_config (issue #1012)
2017-05-30api: add function config_option_get_string in plugin APISébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-11-21core: add a warning in header of configuration files to not edit by hand ↵Sébastien Helleu
(closes #851)
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSébastien Helleu
2016-03-21core: 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-01core: update copyright datesSébastien Helleu
2015-12-24core: 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-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-04-22core: remove WeeChat version from config files (closes #407)Sébastien Helleu
2015-04-17core: add a welcome message on first WeeChat run (closes #318)Sébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-10-23api: fix crash when reading config options with NULL value (closes #238)Sébastien Helleu
2014-09-29core: remove sort on configuration files and sectionsSé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.
2014-08-24core: sort linked lists with configuration files and sections by nameSébastien Helleu
2014-08-10core: fix potential crash in case of malloc error when resetting config optionSébastien Helleu
2014-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-03-18core: remove trailing space in log message when writing a configuration fileSebastien Helleu
2014-02-24core: fix size used in snprintf when reading a configuration fileSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-09core: improve error message when a .conf file can not be read, add a second ↵Sebastien Helleu
warning about default values used
2013-11-09core: create .conf file with default options only if the file does not exist ↵Sebastien Helleu
(and not on read error with existing file)
2013-01-01core: update copyright datesSebastien Helleu
2012-12-20core: add option "diff" for command /set (list options with changed value)Peter Boström
2012-12-16core: add git version in build, display it in "weechat-curses --help" and ↵Sebastien Helleu
/version
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set