1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00
Commit Graph

109 Commits

Author SHA1 Message Date
Sébastien Helleu 93d472e3d0 core: fix potential crash in case of malloc error when resetting config option 2014-08-10 15:51:35 +02:00
Sébastien Helleu 7aaf3be15b api: add argument "flags" in function hdata_new_list 2014-05-24 18:03:14 +02:00
Sebastien Helleu f09e1c136c core: remove trailing space in log message when writing a configuration file 2014-03-18 09:25:15 +01:00
Sebastien Helleu 59f4fe05bc core: fix size used in snprintf when reading a configuration file 2014-02-24 10:41:51 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 8c7b9a1c5e core: improve error message when a .conf file can not be read, add a second warning about default values used 2013-11-09 10:15:32 +01:00
Sebastien Helleu 05e1e31072 core: create .conf file with default options only if the file does not exist (and not on read error with existing file) 2013-11-09 08:44:48 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Peter Boström a67d97f16e core: add option "diff" for command /set (list options with changed value) 2012-12-20 18:18:33 +01:00
Sebastien Helleu 2b78673aa9 core: add git version in build, display it in "weechat-curses --help" and /version 2012-12-16 23:07:33 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu 641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu df80aa5fc9 api: allow update for some variables of hdata, add new functions hdata_update and hdata_set 2012-08-27 09:47:46 +02:00
Sebastien Helleu 03a5e8a729 core: free data before removing config file/section/option from lists (remove warning in valgrind about blocks still reachable) 2012-08-14 10:10:46 +02:00
Sebastien Helleu eab0110732 core: add support of arrays in hdata variables 2012-07-20 18:12:07 +02:00
Sebastien Helleu 0732789f34 core: escape special chars (#[\) in configuration files for name of options (bug #36584) 2012-06-04 18:14:57 +02:00
Sebastien Helleu 54b45e9c5e core: support lines of 16 Kb long in configuration files (instead of 1 Kb) 2012-05-11 08:04:19 +02:00
Mateusz Poszwa 59234aef2d core: fix truncated config files (zero-length) after system crash (bug #36383)
The function config_file_write_internal now performs an overwrite-by-rename
(call to "rename" only) instead of calls to "unlink" then "rename".
2012-05-03 16:10:00 +02:00
Sebastien Helleu 3a2a1ce6f2 core: follow symbolic links when writing configuration files (.conf) (task #11779) 2012-03-13 18:13:45 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu e9ef9a9e1b core: display full line (option + value) for lines with error in configuration files 2011-11-05 16:11:22 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu ebf72c7eda core: use dynamic buffer size for calls to vsnprintf 2011-08-26 09:55:55 +02:00
Sebastien Helleu 19bc95b961 core: many improvements on hdata
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-26 18:15:42 +02:00
Sebastien Helleu c8b2a6a084 core: add "hdata" (direct access to WeeChat/plugin data) 2011-06-13 12:32:27 +02:00
Sebastien Helleu 97de735761 core: remove unused variables 2011-05-01 10:55:10 +02:00
Sebastien Helleu e8df46c005 Fix crash when setting wrong value in option irc.server.xxx.sasl_mechanism (bug #32670) 2011-03-03 22:06:08 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 0721bb1d4c Add new command /color 2011-01-01 14:39:12 +01:00
Sebastien Helleu cd7a02bec5 Add 256 colors support
Changes:
- new section "palette" in weechat.conf
- new API functions: list_search_pos and list_casesearch_pos
2010-12-20 10:13:37 +01:00
Sebastien Helleu 4043ca3d38 Allow use of color pair number in color options and in API function "weechat_color" 2010-12-17 09:54:46 +01:00
Sebastien Helleu e0b528600f Call to hook_config when config option is created 2010-12-01 16:41:39 +01:00
Sebastien Helleu 8b9abab711 Fix problem with /set on boolean options with value "toggle" 2010-11-24 22:03:55 +01:00
Sebastien Helleu 5b236c5658 Return an error when trying to set boolean option with invalid value 2010-11-19 14:56:25 +01:00
Sebastien Helleu fdc5fa1b14 Fix bug with default value in config option infolist 2010-10-30 15:07:00 +02:00
Sebastien Helleu 91343167cd Fix use of unitialized value when setting new value to config option 2010-09-27 15:25:56 +02:00
Sebastien Helleu a6cd860b5a If null value is allowed for an option, display it in /help option 2010-08-14 11:44:08 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 339e42df76 Fix bug with writing of configuration files under Cygwin 2010-04-12 14:06:33 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 2e82d65819 Fix comment in wee-config-file.c 2010-04-06 14:11:35 +02:00
Sebastien Helleu b9e65ec63d Fix bug with writing of configuration files when disk is full (bug #29331) 2010-03-26 19:01:25 +01:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu fee92d00a2 Fix value of option sent to callback of hook_config 2010-01-22 12:53:56 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 24432e78e0 Fix bug in config files when option name begins with '[' 2009-08-12 10:12:07 +02:00
Sebastien Helleu 2f7a5a4147 Rename function string_explode to string_split 2009-06-28 19:49:32 +02:00
Sebastien Helleu 375e0b1b23 Fix set of color options with ++N or --N, to add/subtract integer value to color 2009-06-02 15:41:43 +02:00
Sebastien Helleu 71fe8c9353 Fix creation of integer options, when created from a script plugin (if string_values is empty but not NULL) 2009-04-05 19:21:23 +02:00