summaryrefslogtreecommitdiff
path: root/src/core/wee-config-file.c
AgeCommit message (Collapse)Author
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
2012-08-14core: free data before removing config file/section/option from lists ↵Sebastien Helleu
(remove warning in valgrind about blocks still reachable)
2012-07-20core: add support of arrays in hdata variablesSebastien Helleu
2012-06-04core: escape special chars (`#[\`) in configuration files for name of ↵Sebastien Helleu
options (bug #36584)
2012-05-11core: support lines of 16 Kb long in configuration files (instead of 1 Kb)Sebastien Helleu
2012-05-03core: fix truncated config files (zero-length) after system crash (bug #36383)Mateusz Poszwa
The function config_file_write_internal now performs an overwrite-by-rename (call to "rename" only) instead of calls to "unlink" then "rename".
2012-03-13core: follow symbolic links when writing configuration files (.conf) (task ↵Sebastien Helleu
#11779)
2012-01-08core: update copyright datesSebastien Helleu
2011-11-05core: display full line (option + value) for lines with error in ↵Sebastien Helleu
configuration files
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-08-26core: use dynamic buffer size for calls to vsnprintfSebastien Helleu
2011-06-26core: many improvements on hdataSebastien Helleu
New features: - add optional hdata name for variables in hdata - add plugin API functions: hdata_get_var_hdata - use hashtable to store hdata (created by WeeChat and plugins) - free hdata and infolists created by plugin on plugin unload - free all hdata on exit - add "free" option to command /debug hdata - remove hdata for hooks
2011-06-13core: add "hdata" (direct access to WeeChat/plugin data)Sebastien Helleu
2011-05-01core: remove unused variablesSebastien Helleu
2011-03-03Fix crash when setting wrong value in option irc.server.xxx.sasl_mechanism ↵Sebastien Helleu
(bug #32670)