bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
3c00329780a7480f208b8cf62f9532c75ba584dd |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-settings: Added support for running checks after variable expansion. |
29357a858c79d8502ac83ab3b5425b5ffb64aa2e |
|
26-Nov-2017 |
Josh Soref <jsoref@users.noreply.github.com> |
lib-settings: Fix spelling of 'expanded' |
078e0f0c5d0699b9d4efff33304170f68abe09d8 |
|
06-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Add assert to help static analyzer |
56fbb7e70074775af1f7c9c2d630f96d6f63e702 |
|
25-Aug-2017 |
Sergey Kitov <sergey.kitov@open-xchange.com> |
lib-settings: Escape comma in section name.
Comma is valid symbol in encoded non-ascii section names, so it
shouldn't be used as splitting symbol in section name. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
e5ce686a6f888ee039d5abe6e39c7efb92efc345 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Add settings_parse_keyvalue() |
16402358d7ad740e68ee9dd5a72ec02fb6593a71 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Avoid duplicating settings' values when not needed |
0f5dc4da3982053036be65190e44bf28a67b1ca2 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand*() now returns error string.
This allows callers to fail properly if the format string is invalid. |
eda0261e7543b6cbfeecfec02bc2ab94a669bed7 |
|
20-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Minor error message fix. |
23bdbb7b1831785c6ba6df190f6369da882d2b9d |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Require comparisons to be strict boolean expressions
* No implicit integer -> boolean or pointer -> boolean conversions
* !expr can be used only if expr is boolean type
These were checked with a patched clang. It found various actual bugs,
which were fixed by the previous commits. |
f69f7373151940308b18a9e16f9cf3dc56d4184e |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Added SET_TIME_MSECS type. |
2a8a6e1a8cca51cce6c43f5b4286f4d993e469d0 |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Added settings_get_time_msecs() |
5d1653a011e7ab117563e10a2fb32eda2857cf26 |
|
07-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: settings_get_time() requires explicit unit now, except for 0.
This means that all the time interval settings in dovecot.conf must no
longer be simply a number. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
480a5afb29b3b2b3928118fc6b98895d037ea336 |
|
08-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: If SET_UINT_OCT has invalid value, we ignored the error and returned garbage value. |
9404dc8e4c0ded10c05c7807aa5231bf29ba9040 |
|
08-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-settings: Fixed parsing '0' value for SET_UINT_OCT.
This was used only by service { *_listener { mode } } |
9139e17489891d1513adfb7d0310e4634b4ba7b8 |
|
07-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Allow using comma as deflist separator.
This means that when adding new block {}s via e.g. userdb or post-login
script, the block names can now be set with block=a,b,c instead of
"block=a b c". This is beneficial with e.g. passwd-file or userdb
default_fields where spaces are used to separate parameters entirely. |
f990dde096949bd2b76aab28936211689bd6cadc |
|
23-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Don't try to pass through void function's return value
I wish gcc or clang complained about these. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
3ba70a3fa363850cc513d3cf28d1916e2469b90f |
|
03-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Removed SET_IN_PORT_ZERO - SET_IN_PORT now always allows zeros as well.
A zero in all the port settings means that the port is disabled, which is
also the default. So it shouldn't be an error to explicitly set it to zero
in the config file. |
0004409e743fceb77bc8dec3dba0199d7e19216e |
|
31-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Earlier in_port_t fix was ineffective due to one small detail.
The new SET_IN_PORT_ZERO did not actually use the new net_str2port_zero() function. |
84296542cb39dd452da2c64b84f3d48422cb42fd |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Earlier in_port_t fix created problems with service listener configuration.
Listeners are disabled with port=0, which was not allowed anymore. |
e48f289d2e5b2546a2c5dcc90f7ab624cc58cca2 |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Removed all invocations of strtoll() and friends. |
009217abb57a24a4076092e8e4e165545747839e |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Changed type of internet port values to in_port_t everywhere.
Created special SET_IN_PORT setting type for internet port values.
Created net_str2port() for parsing internet port values.
Removed several atoi() invocations in the process. |
fd3994922cf234a59a83500933a0ac8f132c308d |
|
28-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Added settings_var_expand_with_funcs() |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
b5351cfc57c3698a3b9e8ff252ecb34a462e818c |
|
24-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
Use i_stream_get_error() wherever possible instead of %m |
33bd898e7756b289e65f43133312d9637afc1371 |
|
25-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
Avoid logging warnings about increasing memory pool/data stack with DEBUG on.
These could have a minor effect on memory usage, but shouldn't be much. |
fd05c47210cad1f6d8effbda5cba7f7d938ca9a0 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Added several asserts to make sure duplicates aren't inserted into hash table.
The previous commit hopefully fixed the problem causing auth and login
processes to sometimes die with "key not found from hash" error, but if not
maybe one of these will catch it. |
bace943c67e6cd14ce6c994f533d82a3caad5bf1 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Use the new [io]_stream_create_fd_*autoclose() functions wherever possible. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
057284757a156a3494111f5fea5a1a5802a630a9 |
|
28-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Support also "seconds" and "minutes" (instead of just secs/mins) |
e0bfe93a72d26a4481468050b4d2f21779fc61de |
|
04-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Improved error messages when config server disconnects too early. |
edb47cfa7e676a4a5d5261e02092698082c62b81 |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Parse block names {} case-insensitively.
This fixes namespace { mailbox foo { .. } } settings when they go through
environment and get uppercased. |
8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765c |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Replaced all -1U and (unsigned int)-1 with UINT_MAX.
It's somewhat clearer this way. Also clang's -fsanitize=integer gives
runtime errors about -1U (but not about explicit casts, so no need to change
(type)-1 casts). |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
2984b6b095294c50c4626aef74a02d2e04472640 |
|
11-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Decrease minimum memory allocations.
This is mainly to avoid wasting settings-related memory for IMAP processes.
Probably something more radical should be done at some point. |
a75d470c9223a75801418fcdda258885c36317e0 |
|
20-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Reverted "support for non-pointers" part of the hash table API changes.
Originally I wrote it using clang, which didn't give as many warnings as gcc
did. I guess this way is safer anyway.. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
678d0463849ba777106eb7875f27db07a5d8e3df |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Hash table API is now (mostly) type safe. |
7536dca18968a279b69c685eedda205bee228fd4 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
hash_table_create(): Removed table_pool parameter.
Every single caller was using default_pool there, so there's no point in
having it. |
384034c3a9acc3d557ecac00d52f5751b7a704c6 |
|
17-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
config: Fixed error reporting when reloading settings for master process fails. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
22d0c231a4a238b397b2c354fbac80fa9b638824 |
|
26-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Make static analyzer happier. |
afa5d78cfc31180725510b40bd71b94d2063e3f8 |
|
21-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
lib-settings: settings_parser_apply_changes() now deduplicates SET_STRLIST arrays.
This fixes overriding strlist keys in config file filters, e.g.:
plugin {
foo = general
}
protocol lda {
plugin {
foo = lda-specific setting
}
} |
acb0236a7a1242f567cec83480c1efc9fc352f63 |
|
02-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool sizes and marked some of them as "growing". |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
d477b279ecb46c3e38bb505eefc6fbd20056905e |
|
06-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
config: Allow section names to contain spaces. |
a35ebc48bf172ea8a53f1d07048b855a1162d05b |
|
09-May-2011 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Crashfix for broken settings under strlist. |
ce05b1406e2d04c0835dc3f381788d7d75658df2 |
|
28-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix. |
ff640c9b10fa5029315bdac2192134eebe2f97a3 |
|
26-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Fixed crash when trying treat strlist as having a subsection.
For example "plugin/foo/bar=yes" crashed, while it should have been just
ignored. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
c1552624181039806e20491588f79f5e458e2813 |
|
22-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Fixed setting "strlist/key=value" when strlist hadn't been initialized yet.
This happened when using -O parameter. |
74b324a433f39e3b0b77a7ebf83489994625ee06 |
|
15-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Improved performance of previous duplicate key parsing change. |
cdc74bd19572082817e2d96be15ad3c55c57b7c9 |
|
15-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Fixed parsing settings when the key was duplicated to multiple roots.
Previously only the first one got the value set, now all of them get it. |
a857fb61f1cc77a81d18adee6a95ae04c27a5ffb |
|
09-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
Added env_get_environ_p() as more portable way of accessing environ variable.
Implemented with OS X using _NSGetEnviron(). |
691b39f8bac105c73c5982c456d378b3b2ee7a07 |
|
14-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Give a better error message for invalid boolean values |
b8dd981d689ae41ab3fe46ebe8237dc5a3602a30 |
|
16-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Do proper alignment for dynamically added structs.
Fixes a crash with some CPUs. |
e9a4ccb3c900254e3a6d2e57d58a5e0e48934e83 |
|
06-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: settings_parse_unalias() crashed if given strlist key.
--HG--
branch : HEAD |
24723ab707c21eb7f7b38201eb681e9a9407c977 |
|
25-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: settings_check() now also checks dynamic parsers.
--HG--
branch : HEAD |
e8b78a62efa64aec25d9926b3a2bcb4a203034e6 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Fixed parsing octal numbers.
--HG--
branch : HEAD |
9261dbf0675204898c6557591c7aa376e23a52b2 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Started using str_to_*() functions instead of libc's ones.
--HG--
branch : HEAD |
9b78c0d5e13141f4df6c6e483f854e5acb861288 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Fixed memory leak when parsing settings.
--HG--
branch : HEAD |
5aeacb77d572e6d39d6f54428672f608afa77f8a |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Added settings_parse_unalias().
--HG--
branch : HEAD |
a185a2e25da270264b22c2a0a758c5ea513ef960 |
|
27-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid casting away const qualifiers wherever possible.
--HG--
branch : HEAD |
bb308de9d25db75528605eb733a418c996d416ad |
|
27-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Replaced execv*() with execv*_const() wherever possible.
--HG--
branch : HEAD |
8ba62cd5d748d0d598cb17f8c31d82c875246e4b |
|
19-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Added settings_parse_is_changed().
--HG--
branch : HEAD |
d97e944b91a65f08c3d638b131e6e48d3c706d55 |
|
22-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Settings parser: Fixed overriding settings in strlist blocks.
For example plugin {}Â settings couldn't be overridden by userdb.
--HG--
branch : HEAD |
a7730afef10fabbdcbd49ab52a88a41096b78638 |
|
20-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Added some consts to parameters.
--HG--
branch : HEAD |
9a22f4474250fe0d23200a607e38560979ad3cd9 |
|
20-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
settings_parse_stream_read(): Try using existing data from stream first.
--HG--
branch : HEAD |
7a5e2e937f0f388465c2938645ee971b4fd01bf1 |
|
13-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
config: $setting as value returns the setting's current value.
--HG--
branch : HEAD |
71ba7159eb8598fb08edc7440b0c3c70dbbb14ac |
|
29-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Treat blocks with empty names as unique names, instead of merging them.
--HG--
branch : HEAD |
0f34a25a42c28288beb25ad54f342224180b921d |
|
27-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Initialize block{}s, even if they don't have anything inside.
For example if there's an empty userdb {}, it should give an error instead
of being silently ignored.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
57fc30eb8669d1a564372a2ca9842da4f118663f |
|
19-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
config: Added support for "octal integer", which is just printed as octal.
--HG--
branch : HEAD |
822ae9061773d9ac1246c35d3c47cc0f49cee3ab |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: Added support for setting name aliases.
--HG--
branch : HEAD |
b73cc2ac2a6e6234338429871ed4251c72bdbc78 |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-settings: settings_get_time/size() are now public.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
b68d82ee3f2a56db587f9251e734e50888f2d32e |
|
20-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes.
--HG--
branch : HEAD |
50e20db49f29917fe9adcf1b56b11badf28bd0e4 |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Added "time" (interval) setting type, which supports s/m/h/d/w suffixes.
--HG--
branch : HEAD |
61618d4c58080570f689614fec204ae14e90cef2 |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Added "size" setting type, which supports B/k/M/G/T suffixes.
--HG--
branch : HEAD |
8e2d1e68cf594ad81cb824dfc11356e82f704322 |
|
30-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: Allow multiple strlist blocks with same name. They just get merged.
--HG--
branch : HEAD |
b9678c0f9f3db993bc794884a7cfaa19afb5c6a4 |
|
29-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings: Allow referencing strlists without section key (e.g. plugin/foo vs. plugin/0/foo)
--HG--
branch : HEAD |
c63f8a67eb97b22bd9d49113d532b6e9498a3c7b |
|
29-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: Don't crash if trying to expand a setting under strlist.
--HG--
branch : HEAD |
9f0f2de10e4ea0c99052bf4b2bef8179f2536228 |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved default service settings from master.conf to source code.
--HG--
branch : HEAD |
7744586e3e0fd60158abfbb03a233d3bd8d6c48b |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Changed all settings related structs to const and changed APIs to make it work.
--HG--
branch : HEAD |
4b94ae3dcbace4781b64e87aea00ec0bc03a0d8a |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
config: Added SET_DEFLIST_UNIQUE type. Settings in unique sections can be overridden.
--HG--
branch : HEAD |
46fe4ad44e0c48859da60a01ee4fa384522e69a4 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings_find_dynamic() now takes const pointer.
--HG--
branch : HEAD |
c199bd2fd329ba0e80a5989d34df06bb43216c5e |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Allow settings parsers with zero byte setting structures.
--HG--
branch : HEAD |
92f66dd5bfcc966c7201f0f82102d9342f9370bb |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-settings: Added settings_check() to check specific setting structure.
--HG--
branch : HEAD |
ba248fca361a191d686ab3e82958c69a7a134ec7 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings_parser_get_list() returns now NULL-terminated list.
--HG--
branch : HEAD |
1cfdcb36985904eff281fc6d7ea2d13b3c375980 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
struct setting_parser_info now specifies the module name.
--HG--
branch : HEAD |
383d0e8c24451468d6bea17e4b55d74de744abe6 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Reordered struct setting_parser_info fields to make using them easier.
--HG--
branch : HEAD |
c7bcda91fd4ae2bc07cab2e1c874169259c16bc4 |
|
08-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: copying boolean values also copied some unintended memory.
--HG--
branch : HEAD |
df6551ce47053de2c366f490bef60803207beaa4 |
|
09-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
config: When reporting errors in variable-strings, skip over the "0" prefix.
--HG--
branch : HEAD |
6ed1e82824590b514201d9db84ba96bdfc832dd5 |
|
05-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes.
--HG--
branch : HEAD |
1c822593d45cfe5acbb8bb0624a5252226aa9902 |
|
03-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Added settings_parser_apply_changes() for copying changed settings.
--HG--
branch : HEAD |
9047ee8712a22bfa5e07394bea113fead39e24a9 |
|
02-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Settings parser: Support keeping track of what settings were explicitly set.
--HG--
branch : HEAD |
af30218c28365dd776a9d0c8e883187f8499d15d |
|
02-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: Removed unused settings_parse_save_input().
--HG--
branch : HEAD |
02fc43580d22c1a6c9d18ae953d1a81b787e0fa8 |
|
15-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
settings parser: If first line begins with "ERROR ", return it as the error message.
--HG--
branch : HEAD |
d5d91745fc7a8fd1a647935b238f4db5ac142b9c |
|
14-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
setting_parse_environ(): Don't crash if environ=NULL.
--HG--
branch : HEAD |
ebded144e74a668973ec9ba6e7e169d4e6dc766c |
|
25-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Increased some initial memory pool sizes.
--HG--
branch : HEAD |
c9dea5c23355dea35c6fa423de69f6507852efe4 |
|
17-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_sort() instead of qsort() wherever possible.
--HG--
branch : HEAD |
1da20d773865d0628850c7fdde282cc614d8988d |
|
23-May-2009 |
Timo Sirainen <tss@iki.fi> |
settings_parse_stream*() could have stopped after reading unknown settings.
--HG--
branch : HEAD |
c99fe55d4535d839a6ad0735c4719e076a1adb2c |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes.
--HG--
branch : HEAD |
449ca4cf873e1b86b1911c2a1e2149b865a912ca |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
Removed SET_INTERNAL, it's unnecessary.
--HG--
branch : HEAD |
9f0410c6f27e78b558eefa630a279d1c4cd46ca3 |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
settings_dup(): Copy only the settings, leave the rest of the struct zeroed out.
--HG--
branch : HEAD |
1b33e848e84e6f74aa0e3339c32fa96bc15102a2 |
|
14-May-2009 |
Timo Sirainen <tss@iki.fi> |
config: If value contains <file, the setting value is read from the given file.
--HG--
branch : HEAD |
5753e58ce7f968e0f07003714f96b30745855d58 |
|
12-May-2009 |
Timo Sirainen <tss@iki.fi> |
settings_parser_dup() fixes.
--HG--
branch : HEAD |
d39a04db2f4d0599cb9b5f03a9aa10a3c234453c |
|
06-May-2009 |
Timo Sirainen <tss@iki.fi> |
Binaries now take -o key=value parameters to override settings.
--HG--
branch : HEAD |
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 |
|
24-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for v2.0 master rewrite. Several features are still missing.
--HG--
branch : HEAD |
187704613a19b6e053e88251f1d48f09a7528b43 |
|
17-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
settings_dup() didn't copy STRLISTs.
--HG--
branch : HEAD |
465757e46a2fb0dee429f3791a3fb67afb957088 |
|
15-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added settings_parser_dup().
--HG--
branch : HEAD |
c771818dd7a97d41636acc963924df4d9545e1e9 |
|
12-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Sort environment for settings in reverse order, or it won't work..
--HG--
branch : HEAD |
9abaf9eb82c92c90f49d6ceec78c2bb33c7d9364 |
|
12-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Sort environ[] before feeding it to settings parser. This fixes running with valgrind.
--HG--
branch : HEAD |
8d3278a82b964217d95c340ec6f82037cdc59d19 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Currently only the standalone applications (e.g. deliver) uses this.
--HG--
branch : HEAD |
b9f30617c2c96d54acbc4f85ed17b939c4f28916 |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Updated missing copyright years to 2009.
--HG--
branch : HEAD |
d63b4241643b6014d49ff356f14e0f3ee43068a8 |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
settings_parser_info.check_func() now gets pool parameter if it wants to change settings.
--HG--
branch : HEAD |
b215a8a123623782554a83f3025ef4e771bd8f01 |
|
10-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
doveconf now checks that all settings are ok by calling check functions.
--HG--
branch : HEAD |
ad0f1d2f2e7f1d42b2de403b04a0ffe1675109cc |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Plugin setting backwards compatibility support and other fixes.
--HG--
branch : HEAD |
e5e526b31fb261f2333e6537e42ac356d7fa34d0 |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed variable expansion in master <-> mail processes.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |