7c4ff436f9c6daa09ac052ad05505601605b3ebd |
|
17-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Compiler warning fix |
85b234661baa110e046d3d9ad22f59e69fa75c69 |
|
15-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Add support for lookup to return multiple values
Implements only the initial stubs to the drivers. |
e28b4fc2b62be020156a857485b61842b3b5d791 |
|
10-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Add dict_transaction_set_timestamp() |
6acd1a48e1377e74d3008288e5e95e006f41265c |
|
17-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added dict_iterate_set_limit() |
aef407f147034a569591c0f59593342a8c7b39ea |
|
17-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added dict_transaction_no_slowness_warning() |
c5d27aee77dad4b10d6dd915b9cb4c8757c0e988 |
|
17-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added DICT_COMMIT_RET_WRITE_UNCERTAIN |
9a382894724292e2af60ef94fc471d761f45e5d5 |
|
17-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added enum dict_commit_ret. |
a5ec9755556e3d97d7e6d78cb1b53046370e6598 |
|
20-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Added dict_switch_ioloop() |
661998e2ccd772ad92a9d4a75cb712692a8c94b3 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: dict_transaction_commit*() returns now error string |
055389c58fa3915e12fb4e72ec86782ce77c5c72 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: dict_iterate_deinit() returns now error string |
c4478af52de63804efef2055580adf1dfc8679c6 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Changed dict_wait() to return void.
If it encounters any failures, it should just make sure to abort any pending
async requests before returning. |
b5052fbfdbc2678cc8f12899afe55c998f43b740 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: dict_lookup() returns now error string |
20e04227229970d148801c507946666e2a9bd838 |
|
08-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-dict: Renamed dict_init_full() to dict_init() |
373b27178af59c8579967c126e7c2c002974d095 |
|
21-Apr-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
lib-dict: remove dict_append()
Remove all *_dict_append and redis_append functions and corresponding
command from lib-dict. |
d694b6009574ee6e3cfaee3834cbdbcd431affb0 |
|
02-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added async API for lookup and iteration. |
c93aca832ee532010ead91b85fa9f614132e1be2 |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Removed all invocations of atoi(). |
76b4207273534f71365bc7f900c23a5160692802 |
|
11-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added DICT_ITERATE_FLAG_EXACT_KEY flag.
This is mainly useful with SQL for iterating through a result that has
multiple rows. |
a6a6ad107e509cf8952a28f740eb2023284497b9 |
|
28-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-dict: file backend now expands ~/ paths if home_dir setting is set. |
39ea5717264668e2c7f9f7986eb821d21785f47f |
|
28-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Changed dict.init() API to take struct dict_settings and added dict_init_full().
This allows giving more settings to dict in future as needed. Unfortunately
it also breaks the internal dict API, but there aren't really any plugins
widely using it, so it's not a big problem. |
63b938821926c2b21fc6f98909e8a81571a682ee |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added DICT_ITERATE_FLAG_NO_VALUE
This allows iterating dictionary without wasting extra time on returning
values that aren't needed. |
eca38954bcf972618f6b85932a3690acbd2b673a |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: dict_init() now returns error string instead of logging it |
10399559650f552a23949772be79eb6a80198c5a |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
dict_init() API changed to return int. |
2aed6c2062317d1750f59c5c88e77d9f10967462 |
|
14-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
dict: Implemented dict_append() |
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 |
7fc0f80480063a9d4cb9e8c07b50db2a5627799e |
|
22-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Fixing my english: s/non-?existing/nonexistent/ |
9c7f6dbf65ca01026e5f9c8c8b67c7e629c0b5e7 |
|
18-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
dict: Added dict_iterate_init_multiple().
--HG--
branch : HEAD |
8d25b6ad05b99e75613cb045a121efd51e6afbb6 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Changed dict_iterate API.
--HG--
branch : HEAD |
8971ca621b7a7337947306494731b75d1d3919e5 |
|
05-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-dict: Added dict_[un]escape_string().
--HG--
branch : HEAD |
3954326e793bdef1e94e0ad781ed6cc7e48beebb |
|
07-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
dict: Added support for async commits. Changed dict_atomic_inc() behavior.
--HG--
branch : HEAD |
4073f0dbf3277f981a8fcee3b89ea15aaf380a7f |
|
28-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
dict proxy: Use base_dir as the default dict-server location.
--HG--
branch : HEAD |
d3fce898d31ad40b554c91f3035a7f4d7d52ed52 |
|
19-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Added dict_transaction_commit_async().
--HG--
branch : HEAD |
e3fabe8d0faa9aab7cae2d0eee9653f581a3061d |
|
19-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Added a simple flat file dict backend.
--HG--
branch : HEAD |
1dc6f277f5ac6a3dd5cd6aa75a7ef691de9acb7a |
|
27-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
dict API: deinit functions now take pointer-to-pointer parameter which gets NULLed.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
419cf63077e755935ce105747d6ebc67b7d38a7f |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Berkeley DB dict support is now enabled only when using --with-db configure option.
--HG--
branch : HEAD |
92d1458b00f4f236c4cec96a696253d3bbf8b05a |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Dictionary changes: Added support for defining value's type. Key is still always a string. Added support for sorting the iteration replies. Added dict_unset(). Added Berkeley DB support. Most of the code written by Tianyan Liu.
--HG--
branch : HEAD |
9844b5359f5cab77e4c31a7ac9e4a60a0073929e |
|
31-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Dictionary takes now a username parameter, which is used for private
queries. Made dict-sql use "insert .. on duplicate key update" syntax, which
unfortunately doesn't work with PostgreSQL yet.
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
f8ead0942a9b7c8fcf91414ed1b534d5807ca555 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added dictinary lookup server and a "proxy" dict implementation to talk to
it.
--HG--
branch : HEAD |
02a05d2791f1e9271853304336fec41cdab9d2ee |
|
14-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
API changes
--HG--
branch : HEAD |
28c75d59f1d1a7caeb85635964f3881c0038eb23 |
|
10-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added dictionary API and implementation for SQL. It's meant for looking and
modifying key=value pairs. In future we may need to use this for many
different things, but for now it's only used by quota-dict plugin.
--HG--
branch : HEAD |