History log of /dovecot/src/lib/Makefile.am
Revision Date Author Comments Expand
5f08b0309190ec818d46bfe0e497468b30714a93 29-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

global: Rename timing API to stats-dist API The API wasn't really about timings specifically, but about statistics in general. The new stats service was already using it for tracking statistics for non-timing related numbers.

918384d458981e7db4aadc283212eb19912d5709 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add event filter This currently supports matching events by: * name * source file:line * categories * key=value fields

b8a1347a9ea2cecf0d16f24748c2600fea8c7158 13-Dec-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add event API The events are hierarchical and the child events inherit the parents' fields. The events will be attached to "objects", which gives them some context. For example each mail user, mailbox and mail will have its own event. The events can also have a log prefix, so logging events to e.g. mail will always log a consistent prefix that identifies which mail is being logged about. The events will also be used for statistics. Typically this is done by logging a debug event, which contains fields that are interesting for statistics. The interesting events will have a name, which can be used to identify them when configuring which statistics are wanted to be tracked. It's possible to also track events that have no name, but that requires using the source code's filename:line as the event name. That of course may change between releases, so it's not very reliable.

44d29bbfa14662dc1b2873f1a570a0767f827cd1 30-Nov-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add bloom filter support

f6de86ea29e87fba001b6231d38a4c51e8a5c543 30-Nov-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add murmurhash3 support Needed for bloom filters

8734467f39c1d36050380f07a408860404d60996 24-Nov-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

mempool-allocfree: Add linked-list malloc allocation This is useful when you want to actually free memory from pool too

4c7d704408fc77467143a945dc2d0a856f72e674 01-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add memarea API This can be used to create reference counted memory areas where a callback is called once the refcount drops to zero.

e9fe799e27b5a3b67c256766d4bafd388e560684 10-Oct-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add istream-try This can be used to automatically detect the underlying istream format from a given list of choices.

149299c7d5136a8fb425ef3cf8953026a1358002 11-Oct-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

global: Use check-local in Makefile.am instead of overriding check directly This helps with dependency problems, like running "make check" in lib-storage without "make" first would try to compile the test programs too early and fail.

/dovecot/src/anvil/Makefile.am /dovecot/src/auth/Makefile.am /dovecot/src/director/Makefile.am /dovecot/src/doveadm/Makefile.am /dovecot/src/doveadm/dsync/Makefile.am /dovecot/src/lib-charset/Makefile.am /dovecot/src/lib-compression/Makefile.am /dovecot/src/lib-dcrypt/Makefile.am /dovecot/src/lib-dict-backend/Makefile.am /dovecot/src/lib-dict/Makefile.am /dovecot/src/lib-dns/Makefile.am /dovecot/src/lib-fs/Makefile.am /dovecot/src/lib-fts/Makefile.am /dovecot/src/lib-http/Makefile.am /dovecot/src/lib-imap-client/Makefile.am /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-ldap/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-master/Makefile.am /dovecot/src/lib-program-client/Makefile.am /dovecot/src/lib-settings/Makefile.am /dovecot/src/lib-smtp/Makefile.am /dovecot/src/lib-storage/Makefile.am Makefile.am /dovecot/src/plugins/mail-crypt/Makefile.am /dovecot/src/plugins/pop3-migration/Makefile.am /dovecot/src/plugins/quota/Makefile.am /dovecot/src/plugins/var-expand-crypt/Makefile.am
184d3a07c99f4622c16d99efc08d6516c2c8b48a 05-Oct-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib: move fd_set_nonblock() to fd-util.[ch]

fa26ad32932ab2ce1b7e3b2b121bb2df886f5736 05-Oct-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib: move fd-close-on-exec.[ch] code into fd-util.[ch]

df6b9bbcd01a383a021a770ea19e8533ee21d4aa 05-Oct-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib: always include fd-close-on-exec.h & fd-set-nonblock.h via fd-util.h

1de7b73a11afda43323410a4481d866930b1e632 05-Oct-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add multiplex stream support This allows having multiple channels of data in single stream.

5405ee4d314ccb4a9c3c0c20f3d9996a9eba5ee2 07-Sep-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Replace rand.c with i_rand function Replacement for rand

0043fea12a75cf8fcf2892673106844376da8e76 07-Sep-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib: lib-signals: Removed explicit notification of ioloop change through lib_signals_reset_ioloop() in favor of implicit method. Before, if the ioloop changed, the application had to explicitly notify lib-signals using lib_signals_reset_ioloop(). This is error-prone and requires doing this all over the Dovecot code base. Now, lib-signals registers an ioloop switch callback that deals with this implicitly. The application can detach lib-signals from the ioloop explicitly if delayed signal handling is not required/desired in the new ioloop. Specific delayed signal handlers can be exempt from this automated behavior using a flag, meaning that such signal handlers need to be moved between ioloops explicitly.

b3e71425659780a58cba2f1d84eceef5b4616762 24-Jul-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

var-expand: Add support for conditionals %{if;value-a,op,value-b:true-value:false-value}

19b42eb8acd9aa4790476d5c42df304679b33de3 11-Jul-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib: Created basic test suite for ostream-buffer.

9a18972285665fc8ce3709f444f0f1e72e8b71a7 28-Jun-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add unit test for file_create_locked()

c9d76e2baf653fa5504d6849e5c1aae32eff3c53 12-Jun-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib: import byte swapping & endian converting functions

6509aa7306649042e828fef9e2f280f4535ea137 08-Jun-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add test-mempool unit test. It verifies that the p_new() and p_realloc_type() handle overflows correctly. test-malloc-overflow already does this for the low-level MALLOC_*() macros, but here we're cheking that the actually used memory allocation macros also work.

71b92ca8e3ecfba24c2247df997719a4a482850c 08-Jun-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add i_realloc_type() for i_realloc() that checks for overflows

f08b05d41b66e6f52daf6e8b40c1612617e84c79 09-May-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

{lib,lib-fts}: fix builds with BSD make Without this change, BSD make doesn't know how to make a couple of the generated files because the BUILT_SOURCES file names don't match exactly the left hand sides of the rules. (GNU make somehow manages to match the rule even though it is not an exact match.)

b2760eb6b4906ad5d2adff941a1172c39657eb61 09-May-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib: use full path to unicode data script This is a step toward fixing builds where object dir != source dir.

16d84b9006cfce652b5892727628dbfb5cc03726 09-May-2017 Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi>

lib: download unicode data into srcdir This is a step toward fixing builds where object dir != source dir.

5c00a22fcca7f68479a8768fec7ace7f679b344d 23-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add extension support for var-expand This enables loading new var-expand features using plugins.

4e64ac91c5a3eb2a55e0b18d8da832b29ec08289 23-Mar-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib: Download unicode.org files from dovecot.org

6004fdf3cc8fe87a6c35ce297d39ab68feb707b0 20-Feb-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib,lib-storage: Move hook building code to lib This allows it to be reused elsewhere

b28403dc4da6ee942ff18315596b43d4c4e9b7bd 30-Jan-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib: Add tests for path-util

dfa2201c6ac8ddb2d2798dee15662cfe774e644e 30-Jan-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib: Rename abspath to path-util

c81ec7de302a1c38f4ea27a82dad3b2f631701d9 23-Dec-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add unit test for istream-sized

ddf9529d37056f8817825f6265c27d8070123013 23-Dec-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add istream-jsonstr unit test.

b716136fc47efd434d60be5db262b4013e375fa9 16-Dec-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Add MALLOC_MULTIPLY() and MALLOC_ADD() These can be used for calculating memory allocation sizes. If there's an overflow, the macro panics.

134b5022c0549daef243e2c3220bd0238f396868 29-Nov-2016 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib: add tests for HMAC-SHA256 from RFC 4231

f7060b8499ed07205734cf7af94ad5405fa687b5 17-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add test for iostream-proxy

26e7bc65f13482709c0f6216650582e7705eeeff 17-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add iostream-proxy iostream-proxy proxies data between two pairs of istream/ostream.

4d9181518769b1f78d8078f7fae899fd0b95907f 17-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add tests for iostream-pump

08c0bffa1c9ccb1ac67689093f3c99cd38cfd3a4 17-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add iostream-pump

70ee483d320a270993b56c713e350b736edd753f 08-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add SHA3 hashing methods for 256 and 512 bits

6868400686d0726ac2c08d67ed896f2c76e7b219 08-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Move sha context and result size to new header This is to prepare for SHA3 inclusion

458d877d84f62005e0ffc338f8591a8e2a36adad 03-Oct-2016 Stephan Bosch <stephan@rename-it.nl>

lib: uri-util: Implemented API to check generic URI syntax. This allows checking whether something is a valid URI of any type. This change adds a test suite for the generic URI syntax, which is currently the main purpose of the API addition. Apart from a few simple vality checks, the test suite also tests various URI examples from RFCs.

6e2856a5beeeb0edf5d852dde63d99fb9af11151 13-Aug-2016 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib: move sort and search from strfuncs.h to sort.h

6335b1be387359ac461b0c34087bbba98a925a49 08-Aug-2016 Phil Carmody <phil@dovecot.fi>

lib: tests - give the tests names, using the new macros The lists of test function declarations and of test functions to call was basically the same list. Use the new test macros to squash them into one list, and then chose to name all the tests, so that you can select which ones to run. This can simplify the debug cycle when some of the tests are lengthy. e.g.: phil@phil:~/repos/dovecot-core$ src/lib/test-lib --match crc crc32 ................................................................ : ok 0 / 1 tests failed src/lib is clearly the most complicated case, conversions of others where filtering would be useful should be trivial following this example. Signed-off-by: Phil Carmody <phil@dovecot.fi>

ed1e909434714837f583c9d180c2a16a1c2675c2 04-Aug-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Added log throttling API.

ea623e25e8d03cb1c28677f418d3dcd5729d09e1 30-Apr-2016 Stephan Bosch <stephan@rename-it.nl>

lib: Added ostream-unix for writing fd sockets via ostream.

2ac0ee86377636dcf9e8c0ddad93842b1fb3d46a 30-Apr-2016 Stephan Bosch <stephan@rename-it.nl>

lib: ostream-file: Allow creating derived file output streams.

df74b8f6ff432d9a26727669dfed9a15d77efb55 27-Apr-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add PKCS#5 pbkdf1 and 2

d1eec04fac1f40f4d8f4c84f7f90ef6944495418 12-Apr-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Added ostream-null

2686ef87921233609d1d8ec8dee2883facc2c5eb 24-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Added unit test to iostream-temp.

ec39e55c707d8815d7444285e7950d39baba0b5e 10-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

Makefile: Added missing ostream-escaped.h

662bb64be818407c6719a69780411f7ca8d6c96f 10-Feb-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add ostream-escaped filter

3ab672903a7ed98263b89180261079870c964831 26-Jan-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: When closing istream-chain, make sure parent stream is seeked to correct offset. We were only seeking it earlier if it ended at EOF.

d9e3a9484eb98b3363a2188a8b1efec5415950ef 21-Sep-2015 Timo Sirainen <tss@iki.fi>

Makefile: Added missing sort.h

273a7cf98c20a3794990e2a6fe09cbb63f4ece26 15-Sep-2015 Timo Sirainen <tss@iki.fi>

lib: Added a simple timing.h API for tracking min/max/avg for events.

9b3565b09683b48f66de51aebb52786934d1c324 27-Aug-2015 Timo Sirainen <tss@iki.fi>

lib: Try fixing ec6e672a6e32 (ioloop timeout fixing) Previous code was broken at least when moving a timeout between ioloops. This is now tested and works.

9c0c600b351ec8043f538026937d4273d11812a8 27-Aug-2015 Timo Sirainen <tss@iki.fi>

Reverted ec6e672a6e32 for now due to some bugs.

72a7c4f2ba93a723e23c941369a2985d75f240c9 27-Aug-2015 Stephan Bosch <stephan@rename-it.nl>

ioloop: Delay actual start of a new normal timeout until the next io_loop_run() cycle. This makes sure that timeouts will not expire before they get a chance to run.

b554101f70e3f16380903c9a4ee87a2c96c1d322 23-Aug-2015 Timo Sirainen <tss@iki.fi>

lib: Added io_stream_get_disconnect_reason() to iostream.h

88e52b9ca10bdf02766f79925ec182fc1dd06bd1 19-Aug-2015 Timo Sirainen <tss@iki.fi>

Removed support for dnotify. Everybody should be using inotify by now.

9294b9ad2eb112258c247906b53010664f84e57b 16-Jun-2015 Timo Sirainen <tss@iki.fi>

lib: Added o_stream_create_failure_at() to inject EIO at given offset in ostream

289bb39856d74484c1622d096922acf126dd90fc 16-Jun-2015 Timo Sirainen <tss@iki.fi>

lib: Added i_stream_create_failure_at() to inject EIO at given offset in istream.

8549b59aa3499ddf0b7b59bc2e083933ebbb4f1f 15-Jun-2015 Phil Carmody <phil@dovecot.fi>

lib: test-failures - tests get/set handlers and the various log levels Also indirectoy tests the new lib-test test_expect* family. Signed-off-by: Phil Carmody <phil@dovecot.fi>

a63907c14bd96eec1493eb893a043137c1799485 23-May-2015 Timo Sirainen <tss@iki.fi>

lib: Added file_create_locked()

a5563dc790a44bb58860d74479a24349f593d68f 14-May-2015 Timo Sirainen <tss@iki.fi>

Reverted d592417ec815 which added unnecessary code to Makefiles. The original problem it tried to solve was properly fixed by 46969c4cc57e. make will actually wait for processes to finish creating files before it continues to the next program that wants to access the file. As long as the dependencies are correct.

68ae5d6615e80f46d5565735a700ea69869d46a4 29-Apr-2015 Timo Sirainen <tss@iki.fi>

lib: Renamed test-network to test-net Since network.c had been renamed to net.c some time ago.

bf132be3fe1c9e8de84f10d0b05c0b46ca542ac4 25-Apr-2015 Timo Sirainen <tss@iki.fi>

lib: Added istream-unix for reading fd sockets via istream.

31e6dbee5fc7d6c33b44c75c7e18ea576f44184b 08-Apr-2015 Timo Sirainen <tss@iki.fi>

lib: Added json-tree API for parsing JSON input into a tree structure. This makes it easier to access complicated JSON structs that can fit into memory.

ca20a10994930a63a2991939f8613d1a59b897e3 13-Mar-2015 Timo Sirainen <tss@iki.fi>

Makefile: Avoid make race conditions when generating files that are used as dependencies. The file creation needs to be atomic, otherwise another process can start trying to use an unfinished file. So we first create .tmp file and then mv it into the final one.

75f7e423ea22446ed529d33cb660dadf680e13e0 15-Nov-2014 Stephan Bosch <stephan@rename-it.nl>

Added support for base32 encode/decode.

639587335dfe5d66dc7034817b3e685458ecbee1 13-Nov-2014 Timo Sirainen <tss@iki.fi>

lib: Added str-table API for keeping reference counted strings in a hash table.

3bb59b47d47cba85a92df67823b0e49d2c383307 22-Oct-2014 Timo Sirainen <tss@iki.fi>

lib: Added unit tests for guid_128_*()

5a9c7366ed354a7ad309cc17c7cf9951facfedf5 19-Aug-2014 Timo Sirainen <tss@iki.fi>

lib: Added unit tests for wildcard_match()

605ebd475263466e60d43fccadb4c39c7bdfe174 11-Aug-2014 Timo Sirainen <tss@iki.fi>

lib: Added istream-callback API

992a1726a41b42fa47204565ff17f7c635fcb421 28-Jul-2014 Phil Carmody <phil@dovecot.fi>

lib: test-data-stack - too important a library not to be thrashed hard OK, it's thrashed a bit by other tests such as aqueue, str, etc., but these tests attempt to probe all corner cases given detailed knowledge of the limits of the block/frame implementation. At the moment, no realloc functionality is tested, as with DEBUG builds they would fail very noisily. Signed-off-by: Phil Carmody <phil@dovecot.fi>

42826d96c8d0bba9eddc85b01bf70d7db571ae7f 02-Jul-2014 Phil Carmody <phil@dovecot.fi>

lib: test-lib - add unit tests for str_to_*() helpers This doesn't test all the helpers, but ensures both signed and unsigned are tested, as are 32-bit and 64-bit cases. All the other helpers fall back onto using one of those cases. Unless uintmax_t is larger than 64 bits, in which case this needs a revisit. NOTE: This causes the following make check errors: test-strnum.c:35: Assert(#7) failed: ret == u64tests[i].ret test-strnum.c:35: Assert(#10) failed: ret == u64tests[i].ret test-strnum.c:37: Assert(#10) failed: val == u64tests[i].val str_to_uint64 ........................................................ : FAILED Corresponding to test cases: [7] = INVALID(18446744073709551616), This does not wrap-past-0 (become smaller) on multiply, but wraps-past-0 on addition. [10]= INVALID(20496382304121724020), This wraps-past-n (becomes larger) on multiply. Signed-off-by: Phil Carmody <phil@dovecot.fi>

1b139ee4de2833fbf0d51ee6f19eb4515d4e8942 27-Jun-2014 Phil Carmody <phil@dovecot.fi>

lib: add rand helper library Initially, just wrap srand() so that we can find out what the last-used seed was. In situations where srand() is called only once (via this helper) this lets us reproduce exactly the same stream of random data again in order to reproduce rare crashes. Signed-off-by: Phil Carmody <phil@dovecot.fi>

1d940afbc02516d8c3d016780e1223a779844a1e 27-Jun-2014 Phil Carmody <phil@dovecot.fi>

lib: test printf_format_fix() Signed-off-by: Phil Carmody <phil@dovecot.fi>

f5982bb5b0a704e88fa2b44b0b74e365d13103b9 19-Jun-2014 Timo Sirainen <tss@iki.fi>

lib: If two istreams share one parent, i_stream_get_data() may have returned corrupted data to another. This happened only for istreams that used parent's buffer directly instead of having their own buffer. For now at least we've solved this by truncating the other stream's buffer so it needs to be read again. Hopefully this is good enough. Added also unit test to check this functionality.

9fe07780492524a34423686794bc1b4061206246 09-Jun-2014 Phil Carmody <phil@dovecot.fi>

lib: unit tests for lib/bits Signed-off-by: Phil Carmody <phil@dovecot.fi>

3637a2ad3b2ead17efd5591f73effd3b140d8d2d 09-Jun-2014 Phil Carmody <phil@dovecot.fi>

lib: bit twiddles bits_requiredXX() gives the number of bits required to store an unsigned integer. Here, XX is 8, 16, 32, 64, reperesenting the size of the operand. It belongs in the same file as nearest_power(), which makes most sense in a separate bit twiddles file. Universal enough to stay in lib.h by inclusion. Signed-off-by: Phil Carmody <phil@dovecot.fi>

44af44edbffb19d33e109b4eb74d41f4fbb2e04a 09-Jun-2014 Timo Sirainen <tss@iki.fi>

lib: Added some kind of a unit test for hash table. Just try out some insert+deletes randomly. Mainly I wrote this to check if there is some obvious problem, but looks like not.

b0114f9348060796a29a9042af757e8f99cdd422 07-May-2014 Timo Sirainen <tss@iki.fi>

liblib: Added unit test for hash methods to make sure they don't do read access beyond buffer. This currently fails for MD4 and MD5, so they need to be fixed/replaced..

854b4074ac77a138b3983d72510b4d8779d15040 03-Apr-2014 Timo Sirainen <tss@iki.fi>

Added istream-timeout, which triggers I/O event and fails with ETIMEDOUT after the timeout.

3157f61431f19e01173e2e0d270c28af86dc97aa 09-Sep-2013 Timo Sirainen <tss@iki.fi>

liblib: Added istream-hash, similar to ostream-hash.

2e5d4199ae0f51de146480d13780530c7dd9e3e4 06-Mar-2013 Timo Sirainen <tss@iki.fi>

Added ostream-hash for calculating a hash from data going through ostream.

8e4a702a1f96f118976da6eb9ece344df625eabb 15-Jan-2013 Timo Sirainen <tss@iki.fi>

buffer: Always keep +1 byte available for str_c()'s NUL.

86763e4c68313df83606e1060fc1795280590677 04-Jan-2013 Timo Sirainen <tss@iki.fi>

uni_utf8_*(): Treat overlong UTF8 sequences as invalid.

7877db7b5daad125b6cb3e015574f33871c9a51b 29-Nov-2012 Timo Sirainen <tss@iki.fi>

JSON parser: Added support for reading string value as istream.

ae9691f7ef36d5272d72c90fa51393dfea5dd126 29-Nov-2012 Timo Sirainen <tss@iki.fi>

JSON parser supports now nested objects and parsing from non-blocking input stream.

cf636afb3826f0d8e15c248aa1fc04ce72820e08 26-Nov-2012 Timo Sirainen <tss@iki.fi>

Added iostream-temp for easily creating a temporary istream (to memory/file).

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. :)

/dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-penalty.c /dovecot/src/auth/auth-postfix-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/auth/passdb-pam.c /dovecot/src/config/config-filter.h /dovecot/src/config/settings-get.pl /dovecot/src/director/auth-connection.c /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.h /dovecot/src/director/director.h /dovecot/src/director/doveadm-connection.c /dovecot/src/director/login-connection.c /dovecot/src/director/mail-host.h /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-penalty.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-util.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.h /dovecot/src/imap-urlauth/imap-urlauth-client.c /dovecot/src/imap-urlauth/imap-urlauth-login.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-urlfetch.c /dovecot/src/imap/imap-client.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dns/dns-lookup.c /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.c /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/test-imap-url.c /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/lmtp-client.h /dovecot/src/lib-master/anvil-client.c /dovecot/src/lib-master/ipc-client.c /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-auth.h /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib-storage/mail-user.c Makefile.am connection.c connection.h failures.c fd-close-on-exec.c ioloop-notify-inotify.c istream-file.c net.c net.h ostream-file.c sendfile-util.c test-network.c unix-socket-create.c uri-util.c /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.h /dovecot/src/login-common/access-lookup.c /dovecot/src/login-common/client-common.h /dovecot/src/login-common/login-proxy-state.c /dovecot/src/login-common/login-proxy.h /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/master-settings.c /dovecot/src/master/service-listen.c /dovecot/src/master/service.h /dovecot/src/plugins/fts/fts-indexer.c /dovecot/src/plugins/fts/fts-parser-script.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/replication/replication-plugin.c /dovecot/src/plugins/stats/stats-connection.c /dovecot/src/plugins/zlib/doveadm-zlib.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3/pop3-client.c /dovecot/src/replication/aggregator/notify-connection.c /dovecot/src/replication/aggregator/replicator-connection.c /dovecot/src/replication/replicator/doveadm-connection.c /dovecot/src/stats/client-export.c /dovecot/src/stats/mail-stats.h /dovecot/src/util/rawlog.c
0a3769a4ef3afbbbd05df38f43ec7382fd65a2b6 30-Aug-2012 Florian Zeitz <florob@babelmonkeys.de>

lib: Generalize hmac to be hash independent

ad044cd01e98be8041c45849056616a37fbc6954 19-Aug-2012 Timo Sirainen <tss@iki.fi>

Added missing hash-decl.h

3f73764415873c1d7c9a284f19bbc124c4c9ac7b 11-Aug-2012 Timo Sirainen <tss@iki.fi>

liblib: Added "number packing" API.

3700eab7818bcf8a68424c418485ae4e8770865d 10-Aug-2012 Timo Sirainen <tss@iki.fi>

Added istream-base64-decoder.

96f89d51e8315f644f46804a9f0fc4f685ac48bf 30-Jul-2012 Timo Sirainen <tss@iki.fi>

Added "connection" API for handling client/server connections more easily.

bc151e6b8ae73b5bf5a9dbf011b14dab220c92de 08-Jul-2012 Timo Sirainen <tss@iki.fi>

Added "connection" API for handling client/server connections more easily.

e0ba54c7f985fc403b41c6e36d6a7f44908b23f0 08-Jul-2012 Timo Sirainen <tss@iki.fi>

Added a simple JSON parser for parsing an object.

c00c7161dbec6be950ca3596969d0a3019bb281b 28-Jun-2012 Timo Sirainen <tss@iki.fi>

Renamed istream-attachment to istream-sized. The code didn't really assume anything about the input being an attachment, so this allows reusing the stream for other purposes.

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.

/dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/mech-winbind.c /dovecot/src/config/config-parser.c /dovecot/src/config/sysinfo-get.c /dovecot/src/director/director-test.c /dovecot/src/doveadm/doveadm-dump-log.c /dovecot/src/doveadm/doveadm-dump-mailboxlog.c /dovecot/src/doveadm/doveadm-instance.c /dovecot/src/doveadm/doveadm-master.c /dovecot/src/doveadm/doveadm-sis.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/dsync/doveadm-dsync.c /dovecot/src/doveadm/dsync/dsync-slave-io.c /dovecot/src/imap/main.c /dovecot/src/lda/main.c /dovecot/src/lib-dict/dict-file.c /dovecot/src/lib-dns/dns-lookup.c /dovecot/src/lib-imap-client/imapc-client.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-transaction-log.c /dovecot/src/lib-lda/smtp-client.c /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/mountpoint-list.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-storage/index/index-attachment.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/mbox-file.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/list/mailbox-list-maildir.c /dovecot/src/lib-storage/mailbox-uidvalidity.c Makefile.am askpass.c close-keep-errno.c close-keep-errno.h failures.c fdatasync-path.c file-copy.c file-dotlock.c ioloop-notify-dn.c ioloop-notify-kqueue.c iostream-rawlog.c istream-seekable.c macros.h network.c nfs-workarounds.c randgen.c safe-mkstemp.c test-ostream-file.c unlink-directory.c /dovecot/src/lmtp/commands.c /dovecot/src/login-common/access-lookup.c /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/master/main.c /dovecot/src/master/service-listen.c /dovecot/src/master/service-monitor.c /dovecot/src/master/service.c /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts/doveadm-dump-fts-expunge-log.c /dovecot/src/plugins/fts/fts-expunge-log.c /dovecot/src/plugins/fts/fts-indexer.c /dovecot/src/plugins/fts/fts-parser-script.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/zlib/doveadm-zlib.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3/main.c /dovecot/src/ssl-params/ssl-params.c /dovecot/src/util/gdbhelper.c /dovecot/src/util/rawlog.c
0fe2992e4d09f3ae4cceea88c9871c832d67b461 02-Jun-2012 Stephan Bosch <stephan@rename-it.nl>

Added chain istream. This is a nephew of the concat stream with the difference that new child streams can be added dynamically.

8fe8f97e688779add9cd042a9db4ddb7b117cce2 02-Jun-2012 Stephan Bosch <stephan@rename-it.nl>

liblib: Added generic URI parsing functions.

5fb662c8dff409ed8c8385cde59325b944af66b4 02-Jun-2012 Stephan Bosch <stephan@rename-it.nl>

Adds ISO8601/RFC3339 date format parsing and construction support. Interface is somewhat based on message date parser in src/lib-mail, but it also provides access to struct tm.

eab3cb1db0b4fb711eb6e34421c372321d7a9833 26-Jan-2012 Timo Sirainen <tss@iki.fi>

Makefile: Added UnicodeData.txt dependency to unicodemap.c.

d8fc47550ff67af42508aa0e77f52cb5da3c2631 24-Nov-2011 Timo Sirainen <tss@iki.fi>

Makefile: Added missing hmac-sha1.h

a3350c34a257a28417c7df10b3fde97af70e4f1f 16-Sep-2011 Florian Zeitz <florob@babelmonkeys.de>

lib: Add hmac-sha1 adapted from hmac-md5

be6ad6e46ecb8c7126b421819046e7f4857a2bab 21-Sep-2011 Timo Sirainen <tss@iki.fi>

Added rawlog i/ostreams.

0536ccb51d41e3078c3a9fa33e509fb4b2420f95 21-Sep-2011 Timo Sirainen <tss@iki.fi>

Renamed lib/*-internal.h files to lib/*-private.h for consistency.

/dovecot/src/lib-fs/ostream-cmp.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-ssl-iostream/istream-openssl.c /dovecot/src/lib-ssl-iostream/ostream-openssl.c /dovecot/src/lib-storage/index/istream-attachment.c /dovecot/src/lib-storage/index/istream-mail-stats.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-test/test-common.c Makefile.am ioloop-epoll.c ioloop-iolist.c ioloop-kqueue.c ioloop-notify-dn.c ioloop-notify-fd.c ioloop-notify-inotify.c ioloop-notify-kqueue.c ioloop-notify-none.c ioloop-poll.c ioloop-private.h ioloop-select.c ioloop.c iostream-private.h iostream.c istream-base64-encoder.c istream-concat.c istream-crlf.c istream-data.c istream-file.c istream-limit.c istream-mmap.c istream-private.h istream-seekable.c istream-tee.c istream.c ostream-buffer.c ostream-file.c ostream-private.h ostream.c test-istream-base64-encoder.c test-istream-concat.c test-istream-crlf.c test-istream-seekable.c test-istream-tee.c /dovecot/src/plugins/zlib/istream-bzlib.c /dovecot/src/plugins/zlib/istream-zlib.c /dovecot/src/plugins/zlib/ostream-bzlib.c /dovecot/src/plugins/zlib/ostream-zlib.c
de62ce819d59a529530da4b57be1b8d6dad13d6b 25-Aug-2011 Timo Sirainen <tss@iki.fi>

Moved GUID code to liblib. Use guid_128_t type consistently everywhere.

/dovecot/src/doveadm/doveadm-dump-index.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail-search.c /dovecot/src/dsync/dsync-brain-msgs.c /dovecot/src/dsync/dsync-data.c /dovecot/src/dsync/dsync-data.h /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/dsync/test-dsync-brain-msgs.c /dovecot/src/dsync/test-dsync-common.c /dovecot/src/dsync/test-dsync-common.h /dovecot/src/dsync/test-dsync-proxy-server-cmd.c /dovecot/src/dsync/test-dsync-proxy.c /dovecot/src/imap/imap-status.c /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mailbox-log.h /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c /dovecot/src/lib-lda/mail-deliver.c /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-mail/mail-types.h /dovecot/src/lib-storage/index/dbox-common/dbox-file-fix.c /dovecot/src/lib-storage/index/dbox-common/dbox-save.c /dovecot/src/lib-storage/index/dbox-common/dbox-save.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.c /dovecot/src/lib-storage/index/dbox-single/sdbox-copy.c /dovecot/src/lib-storage/index/dbox-single/sdbox-file.c /dovecot/src/lib-storage/index/dbox-single/sdbox-save.c /dovecot/src/lib-storage/index/dbox-single/sdbox-storage.c /dovecot/src/lib-storage/index/dbox-single/sdbox-storage.h /dovecot/src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c /dovecot/src/lib-storage/index/index-attachment.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-sync-changes.c /dovecot/src/lib-storage/index/index-sync-changes.h /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-sync-index.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/list/index-mailbox-list-status.c /dovecot/src/lib-storage/list/index-mailbox-list.h /dovecot/src/lib-storage/list/mailbox-list-fs.c /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail.c /dovecot/src/lib-storage/mailbox-guid-cache.c /dovecot/src/lib-storage/mailbox-guid-cache.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.c /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/lib-storage/test-mailbox-get.c Makefile.am guid.c guid.h /dovecot/src/lmtp/client.c /dovecot/src/plugins/fts-lucene/doveadm-fts-lucene.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts/doveadm-dump-fts-expunge-log.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-expunge-log.c /dovecot/src/plugins/fts/fts-expunge-log.h
596f582a422eddef951ee445f9a0ed3d4bf14ff8 17-Mar-2011 Timo Sirainen <tss@iki.fi>

Added i_getpw*() and i_getgr*() wrappers for getpw*()/getgr*(). These functions make error handling easier.

6a3a0723319ea31343ea6f03f40672c4b533b21d 15-Nov-2010 Timo Sirainen <tss@iki.fi>

Added unit test for istream-base64-encoder.

dc2e774b4c86a1bedba5ca4631f9f49f77b94d76 19-Oct-2010 Timo Sirainen <tss@iki.fi>

liblib: Added istream for reading binary data as base64-encoded.

37bd98570b30513255a19cc52de16594bc4256e0 19-Oct-2010 Timo Sirainen <tss@iki.fi>

liblib: Added API for easily building hash strings based on given format string and input.

74ae32512357bdd4872bf160dc697ff7b54b54c5 19-Oct-2010 Timo Sirainen <tss@iki.fi>

liblib: Added a common API for accessing all hash methods.

08baf8e4f38f6e5858b16e954e1841675cecae0c 18-Oct-2010 Timo Sirainen <tss@iki.fi>

ostream-file: Fixed potential crash in write_at() and also fixed attempted optimization.

2a2beae3a4c1e75b3aeff996781503138e6f24bc 03-Sep-2010 Timo Sirainen <tss@iki.fi>

liblib: Removed unused system-clean and alloconly-clean mempools. They're just making the code messier and slower.

b780aa272b742a43579cdb523cc79cc8d4521306 25-Jun-2010 Timo Sirainen <tss@iki.fi>

Renamed fsync_disable to mail_fsync=optimized|always|never. --HG-- branch : HEAD

/dovecot/doc/example-config/conf.d/10-mail.conf /dovecot/src/config/old-set-parser.c /dovecot/src/config/settings-get.pl /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-write.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-append.c /dovecot/src/lib-index/mail-transaction-log-file.c /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log.c /dovecot/src/lib-index/mailbox-list-index-sync.c /dovecot/src/lib-index/mailbox-list-index.c /dovecot/src/lib-storage/index/cydir/cydir-save.c /dovecot/src/lib-storage/index/cydir/cydir-storage.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-single/sdbox-save.c /dovecot/src/lib-storage/index/dbox-single/sdbox-storage.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/mail-storage-settings.c /dovecot/src/lib-storage/mail-storage-settings.h Makefile.am fsync-mode.h
53f37d41e1abb068131320f39f870fc92e81f560 08-Apr-2010 Timo Sirainen <tss@iki.fi>

configure: Removed --enable-header-install. It's now always enabled. There didn't seem to be much point in keeping it optional anymore. They're now more useful than before because shared libraries are also installed. --HG-- branch : HEAD

/dovecot/Makefile.am /dovecot/configure.in /dovecot/src/auth/Makefile.am /dovecot/src/imap/Makefile.am /dovecot/src/lib-auth/Makefile.am /dovecot/src/lib-charset/Makefile.am /dovecot/src/lib-dict/Makefile.am /dovecot/src/lib-dns/Makefile.am /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-lda/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-master/Makefile.am /dovecot/src/lib-settings/Makefile.am /dovecot/src/lib-sql/Makefile.am /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/cydir/Makefile.am /dovecot/src/lib-storage/index/dbox-common/Makefile.am /dovecot/src/lib-storage/index/dbox-multi/Makefile.am /dovecot/src/lib-storage/index/dbox-single/Makefile.am /dovecot/src/lib-storage/index/maildir/Makefile.am /dovecot/src/lib-storage/index/mbox/Makefile.am /dovecot/src/lib-storage/index/raw/Makefile.am /dovecot/src/lib-storage/index/shared/Makefile.am /dovecot/src/lib-storage/list/Makefile.am /dovecot/src/lib-test/Makefile.am Makefile.am /dovecot/src/login-common/Makefile.am /dovecot/src/plugins/notify/Makefile.am /dovecot/src/pop3/Makefile.am
3ed749924ed5215d84e0a095bc7d74ce3100e242 07-Apr-2010 Timo Sirainen <tss@iki.fi>

Added str_to_*() for converting strings to numbers, plus a few helper functions. The str_to_*() return failure also if integer is too large or too small to fit into destination. --HG-- branch : HEAD

74179667f4325e7d7f5b49bc040741c6edc2dad2 27-Mar-2010 Timo Sirainen <tss@iki.fi>

Added execv_const() and execvp_const() helper functions. --HG-- branch : HEAD

c2af5ea6d4df3a69d2a7a5a820d53ad4c074f3a6 26-Mar-2010 Timo Sirainen <tss@iki.fi>

If valgrind exists, run unit tests using it. If valgrind prints any errors, fail the test. --HG-- branch : HEAD

f2528b977128fbac005fc940012eac9e50022c4d 18-Mar-2010 Timo Sirainen <tss@iki.fi>

Added wildcard_match*() for matching strings with '*' and '?' wildcards. --HG-- branch : HEAD

3efdcb59492bd1e0602340a4204003a32b34654a 05-Feb-2010 Timo Sirainen <tss@iki.fi>

crc32*() didn't return a standard CRC32 value. --HG-- branch : HEAD

927d3977d5598f12ae18d4fa3f22b9e913f7dd46 23-Dec-2009 Timo Sirainen <tss@iki.fi>

var_expand(): Added support for built-in host, pid and env:* variables. --HG-- branch : HEAD

9d930f59fda0bac96da3c5b3e3374a81e279527e 12-Dec-2009 Timo Sirainen <tss@iki.fi>

Added t_abspath*(). --HG-- branch : HEAD

12ff27eadb44c6877298d3e214c7039342669669 12-Dec-2009 Timo Sirainen <tss@iki.fi>

Added p_strarray_dup(). --HG-- branch : HEAD

0f95379e1ceb0685e9a288e01550bfecfe7d4bcb 23-Nov-2009 Timo Sirainen <tss@iki.fi>

Makefile: Added UnicodeData.txt to distribution. --HG-- branch : HEAD

9761e0036c87f459abe040632e1252f794ffe5f7 06-Nov-2009 Timo Sirainen <tss@iki.fi>

Added DLLIST2_*() functions for doubly linked list with head and tail. --HG-- branch : HEAD

7d548d4984752d74bfea8dc4bf1781a8996f43e7 26-Oct-2009 Timo Sirainen <tss@iki.fi>

Added unit tests for istream-seekable istream-concat. --HG-- branch : HEAD

8d74263c408f3ad68eda24796b5b8c843104480d 09-Oct-2009 Timo Sirainen <tss@iki.fi>

Moved askpass() from master/ to lib/. Added t_askpass(). --HG-- branch : HEAD

9c7045e31aa75d9e3014e64303c8b817de5094ef 05-Oct-2009 Timo Sirainen <tss@iki.fi>

unicodemap.c now gets recreated if unicodemap.pl changes. --HG-- branch : HEAD

03888f9891b45c024f2bdc8e55438528b78bd96e 14-Aug-2009 Timo Sirainen <tss@iki.fi>

Added unit test for istream-tee. --HG-- branch : HEAD

4332108b1bff778b866f6421771578e7c6633098 14-Aug-2009 Timo Sirainen <tss@iki.fi>

Renamed test-istream.c to test-istream-crlf.c --HG-- branch : HEAD

bc6a872cc6cecb4e3f8d0a99236c4ab484f2f754 12-Aug-2009 Timo Sirainen <tss@iki.fi>

Added unit tests for timeval_*(). --HG-- branch : HEAD

7ef3553585e556f35d5919589cfdc1de3329e4bb 12-Aug-2009 Timo Sirainen <tss@iki.fi>

Moved all struct timeval comparing/calculation code to lib/time-util. --HG-- branch : HEAD

b0db301ae7cdbc8376e9a7717809650df896d1df 03-Aug-2009 Timo Sirainen <tss@iki.fi>

Makefiles: Changed check-test to depend on all-am to fix build dependency problems. --HG-- branch : HEAD

002db944c36f6d6021aa2c0518e2f117bff4bf3a 16-Jul-2009 Timo Sirainen <tss@iki.fi>

Added binary_to_hex_append(). --HG-- branch : HEAD

b565a6a7a66fb9f224d00c06a950e3c1c585c18e 30-Jun-2009 Timo Sirainen <tss@iki.fi>

Added o_stream_create_buffer() for having output stream write to a buffer. --HG-- branch : HEAD

047ebb958b682bc058097eddc34df574c3f3d6d4 16-Jun-2009 Timo Sirainen <tss@iki.fi>

Added str_append_tabunescaped(). str_tabescape*() now escapes also CR. Added unit tests. --HG-- branch : HEAD

05d0c79c7bd4b9449e949bd93f5f60cde9197869 03-Jun-2009 Timo Sirainen <tss@iki.fi>

Compiling fix for Solaris 7. --HG-- branch : HEAD

48acc31adebfdd4e4945ee76e1f5259e4b1b6fff 01-Jun-2009 Timo Sirainen <tss@iki.fi>

liblib unit tests are now split to separate files. --HG-- branch : HEAD

40a5aeebf6b4858b93f0ddff0bf12fba769cf903 09-May-2009 Timo Sirainen <tss@iki.fi>

Tests are now run on "make check". Added initial tests for lib-index. Moved old tests away from tests/ to libraries' individual directories. --HG-- branch : HEAD

/dovecot/.hgignore /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-imap/test-imap.c /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-transaction-log-append.c /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/test-index.c /dovecot/src/lib-index/test-index.h /dovecot/src/lib-index/test-transaction-log-view.c /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/test-mail.c /dovecot/src/lib-test/Makefile.am /dovecot/src/lib-test/test-common.c /dovecot/src/lib-test/test-common.h /dovecot/src/lib-test/test-common.lo /dovecot/src/lib-test/test-common.o Makefile.am test-istream.c test-lib.c test-lib.h /dovecot/src/tests/Makefile.am
ee99e9730164f6652804047e901d219b0c213843 05-May-2009 Mark Washenberger <none@none>

Flattened header namespace on install. --HG-- branch : HEAD

/dovecot/src/auth/Makefile.am /dovecot/src/imap/Makefile.am /dovecot/src/lib-auth/Makefile.am /dovecot/src/lib-charset/Makefile.am /dovecot/src/lib-dict/Makefile.am /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-lda/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-settings/Makefile.am /dovecot/src/lib-sql/Makefile.am /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/cydir/Makefile.am /dovecot/src/lib-storage/index/dbox/Makefile.am /dovecot/src/lib-storage/index/maildir/Makefile.am /dovecot/src/lib-storage/index/mbox/Makefile.am /dovecot/src/lib-storage/index/raw/Makefile.am /dovecot/src/lib-storage/index/shared/Makefile.am /dovecot/src/lib-storage/list/Makefile.am Makefile.am /dovecot/src/pop3/Makefile.am
d3b29d4b61f1549244a7509b798be6f806cf7d4e 04-Apr-2009 Timo Sirainen <tss@iki.fi>

Build libdovecot.so and libdovecot-storage.so. Based on patch by Stephan Bosch. --HG-- branch : HEAD

/dovecot/.hgignore /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/auth/Makefile.am /dovecot/src/config/Makefile.am /dovecot/src/deliver/Makefile.am /dovecot/src/dict/Makefile.am /dovecot/src/imap-login/Makefile.am /dovecot/src/imap/Makefile.am /dovecot/src/lib-auth/Makefile.am /dovecot/src/lib-charset/Makefile.am /dovecot/src/lib-dict/Makefile.am /dovecot/src/lib-dovecot/Makefile.am /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-settings/Makefile.am /dovecot/src/lib-sql/Makefile.am /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/cydir/Makefile.am /dovecot/src/lib-storage/index/dbox/Makefile.am /dovecot/src/lib-storage/index/maildir/Makefile.am /dovecot/src/lib-storage/index/mbox/Makefile.am /dovecot/src/lib-storage/index/raw/Makefile.am /dovecot/src/lib-storage/index/shared/Makefile.am /dovecot/src/lib-storage/list/Makefile.am /dovecot/src/lib-storage/register/Makefile.am Makefile.am /dovecot/src/login-common/Makefile.am /dovecot/src/master/Makefile.am /dovecot/src/plugins/convert/Makefile.am /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/fts-squat/Makefile.am /dovecot/src/pop3-login/Makefile.am /dovecot/src/pop3/Makefile.am /dovecot/src/tests/Makefile.am /dovecot/src/util/Makefile.am
5cdd1691e5185ecfe424f5de7b6f697813b88ba2 20-Feb-2009 Timo Sirainen <tss@iki.fi>

Moved user-friendly EACCES error message generation to lib/. --HG-- branch : HEAD

d10036d32eac25c861f9075ade2c007f5524b81e 21-Oct-2008 Timo Sirainen <tss@iki.fi>

Added API for waiting child processes. --HG-- branch : HEAD

af5423cd2fb397e699c76f0d687ff23773d07a7c 01-Sep-2008 Timo Sirainen <tss@iki.fi>

Added an alternative hash table implementation. --HG-- branch : HEAD

aa181b6e3751d4e76da6f135729032660b14406c 13-Jun-2008 Timo Sirainen <tss@iki.fi>

Uninlined some of the more complex array functions. --HG-- branch : HEAD

ff3e079cdcd74e64eb35af0bc361e75d2ea03822 04-Mar-2008 Timo Sirainen <tss@iki.fi>

Moved fdatasync_path() to a global function. --HG-- branch : HEAD

/dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-storage/index/dbox/dbox-file.c /dovecot/src/lib-storage/index/dbox/dbox-file.h /dovecot/src/lib-storage/index/dbox/dbox-mail.c /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync-file.c /dovecot/src/lib-storage/index/dbox/dbox-sync.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/maildir/maildir-save.c Makefile.am fdatasync-path.c fdatasync-path.h /dovecot/src/master/child-process.c /dovecot/src/master/child-process.h /dovecot/src/master/mail-process.c /dovecot/src/master/mail-process.h /dovecot/src/master/main.c /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/expire/expire-env.c /dovecot/src/plugins/expire/expire-env.h /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c
bb41db071dcbc51a6f170d7f44afb74adb00f89a 04-Mar-2008 Timo Sirainen <tss@iki.fi>

Moved fdatasync_path() to a global function. --HG-- branch : HEAD

04052710485ccc4a89c177527066b9c2a511f221 06-Jan-2008 Timo Sirainen <tss@iki.fi>

Added macros for handling a doubly linked list. --HG-- branch : HEAD

9afebd21ced1d43f638e08a1411c9a89e526231f 03-Jan-2008 Timo Sirainen <tss@iki.fi>

Added a priority queue implementation. --HG-- branch : HEAD

63cde222abaaa2a9bdaa9a143698dbc8b23bd742 01-Jan-2008 Timo Sirainen <tss@iki.fi>

Renamed queue to aqueue ("array queue") because struct queue already exists in Solaris. --HG-- branch : HEAD

f59e2b09deeb94317342016949592577ef150c1b 29-Dec-2007 Timo Sirainen <tss@iki.fi>

Added queue implementation. --HG-- branch : HEAD

0791d5779d67da0983375dc01dadec4c749b6f38 08-Dec-2007 Timo Sirainen <tss@iki.fi>

Removed unlink_lockfiles() and replaced it with a simpler unlink_old_files() --HG-- branch : HEAD

130d899cc20670cf554873a07d1cd647816558ec 20-Nov-2007 Timo Sirainen <tss@iki.fi>

Create unicodemap.c to $(srcdir). --HG-- branch : HEAD

f89cb43088c8b46d12d66ac924724b53ab14ce66 20-Oct-2007 Timo Sirainen <tss@iki.fi>

Added concatenation input stream. --HG-- branch : HEAD

37f2d421e07c55edcc1b40c53be37eec637c0c1e 06-Oct-2007 Timo Sirainen <tss@iki.fi>

Removed CRLF/LF output streams. They're no longer needed. --HG-- branch : HEAD

5fe5ea74285e2fc0fbf7568c53f251aa894650fb 06-Oct-2007 Timo Sirainen <tss@iki.fi>

Added input stream filters for reading linefeeds as CRLFs or LFs. --HG-- branch : HEAD

f186e12b626342ee566e2310751074841b7377fa 20-Jul-2007 Timo Sirainen <tss@iki.fi>

Add unicodemap.pl to tarball, although it's not necessary. --HG-- branch : HEAD

0ddb604f911b908085ef787455c015a91dc9c365 20-Jul-2007 Timo Sirainen <tss@iki.fi>

Added uni_ucs4_to_titlecase() and uni_utf8_to_decomposed_titlecase(). They use a unicharmap.c file generated from UnicodeData.txt. --HG-- branch : HEAD

7a7d97c082834dccdd89dbb95598977deec4d5a7 16-Jun-2007 Timo Sirainen <tss@iki.fi>

Added support for SHA256. Based on patch by Jasper Slits. --HG-- branch : HEAD

5dd05e966ffd69181ab3067f6939b03ced68ebc3 11-Jun-2007 Timo Sirainen <tss@iki.fi>

Require C99 compatible vsnprintf(). Removed printf_string_upper_bound() and replaced the code with printf_format_fix*() and vsnprintf(). --HG-- branch : HEAD

402f9183489c1a75736b1e9068c33fe2741a366d 11-Jun-2007 Timo Sirainen <tss@iki.fi>

Renamed printf_string_fix_format() to printf_format_fix() and moved it to its own file. --HG-- branch : HEAD

128ab2c52a29068be87e12ab5aebbb8fdc933adf 11-Apr-2007 Timo Sirainen <tss@iki.fi>

Added safe_mkstemp(). --HG-- branch : HEAD

1d5e52e398381873081455ad99edec945038eec0 04-Apr-2007 Timo Sirainen <tss@iki.fi>

Added Boyer-Moore string searching. --HG-- branch : HEAD

8e371a3ce32bd64288786855b8ce0cb63f19f7d1 29-Mar-2007 Timo Sirainen <tss@iki.fi>

Better type safety to module_contexts arrays. Already fixed some bugs. --HG-- branch : HEAD

/dovecot/src/imap/imap-thread.c /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-transaction.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-transaction.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-transaction.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-transaction.c /dovecot/src/lib-storage/list/index-mailbox-list-sync.c /dovecot/src/lib-storage/list/index-mailbox-list.c /dovecot/src/lib-storage/list/index-mailbox-list.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.c Makefile.am module-context.h /dovecot/src/plugins/acl/Makefile.am /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-lucene/Makefile.am /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h /dovecot/src/plugins/fts-squat/Makefile.am /dovecot/src/plugins/fts/Makefile.am /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/Makefile.am /dovecot/src/plugins/zlib/zlib-plugin.c
91ea6240c34e043ec47068aedc01fdb9b522dc33 18-Mar-2007 Timo Sirainen <tss@iki.fi>

Added system_clean_pool. default_pool is now set statically, so it can be changed before calling lib_init(). Use malloc_usable_size() if it's available for asserts and for implementing system_clean_pool. --HG-- branch : HEAD

dcc76bb1e1bb287e3e71e6a39a7ca207fab0eaa8 08-Mar-2007 Timo Sirainen <tss@iki.fi>

Various cleanups to ioloop code. --HG-- branch : HEAD

bbe42963032af89fac1318844da08c742525cc87 22-Feb-2007 Timo Sirainen <tss@iki.fi>

Added --with-headers configure option to install .h files. --HG-- branch : HEAD

aa883f5fbc68920c48c4f52919e8a5bb9611e678 13-Dec-2006 Timo Sirainen <tss@iki.fi>

Added unichar_t UCS-4 type and some ucs4/utf8 functions. --HG-- branch : HEAD

7ba4c0608e32d0cc8a8600cb8b9987b2b56e2bf8 19-Nov-2006 Timo Sirainen <tss@iki.fi>

Since getting core dumps can be sometimes difficult, if we now do abort() ourself, we first log the backtrace. This works at least with Linux and Solaris. --HG-- branch : HEAD

35565557e05721a761132cec2ba1d93acacb6c14 16-Aug-2006 Timo Sirainen <tss@iki.fi>

Rewrote much of the kqueue code. It didn't work correctly if there were both input and output I/O handlers added for the same file descriptor. The code works now very much like epoll code. Did also several cleanups. --HG-- branch : HEAD

f877ee033a0737100c2f661a7ca4c559ea2ddb8a 11-Jul-2006 Timo Sirainen <tss@iki.fi>

Added crc32 calculation functions. --HG-- branch : HEAD

b978e532c217b51d398d1855893143b7bc0a73f3 17-Jun-2006 Timo Sirainen <tss@iki.fi>

Added file_copy(). --HG-- branch : HEAD

ea37a9aedfc3a6ff5f4ea10bc4eff4ca23f62a15 08-May-2006 Timo Sirainen <timo.sirainen@movial.fi>

Added tee-istream, which can be used to create multiple readable input streams from one input stream. --HG-- branch : HEAD

b494ffed8ded8d170d9ace3dc607b1d278048241 14-Apr-2006 Timo Sirainen <tss@iki.fi>

Added mountpoint_get() for looking up a path's mount point information. --HG-- branch : HEAD

89b548af722113acb5d63dfffb44423cb60f91e4 25-Feb-2006 Timo Sirainen <tss@iki.fi>

Renamed safe-open.* to nfs-workarounds.*, safe_open() to nfs_safe_open() and added a new global NFS_ESTALE_RETRY_COUNT which everyone uses instead of defining their own. --HG-- branch : HEAD

1e47cfede3a0b62654105daab00e97b5d660bc6b 16-Feb-2006 Timo Sirainen <timo.sirainen@movial.fi>

Try to handle ESTALE NFS errors the best way we can. --HG-- branch : HEAD

91ca41a6542f96558483c3086eb77db325c79e9f 14-Feb-2006 Timo Sirainen <timo.sirainen@movial.fi>

Moved dupliated close_save_errno() code to public close_keep_errno() function. --HG-- branch : HEAD

6a029ebed745994ce2e5f64182d8b5c8f10d53d6 30-Dec-2005 Timo Sirainen <tss@iki.fi>

Added kqueue notification support. Patch by Vaclav Haisman --HG-- branch : HEAD

8b1ff8af3123607dde63c516e007b47f6519c69a 21-Dec-2005 Timo Sirainen <tss@iki.fi>

Added bsearch_insert_pos(). Similar to bsearch(), but if value isn't found, returns the position where it would be inserted. --HG-- branch : HEAD

efe43f863ea26447689f90680f339778fb1ec62b 14-Dec-2005 Timo Sirainen <tss@iki.fi>

Added kqueue support. Patch by Vaclav Haisman. --HG-- branch : HEAD

e6055ac974358d31bb2269731dcac57fbe910cc2 25-Nov-2005 Timo Sirainen <tss@iki.fi>

Added decimal <-> hex string translation functions. --HG-- branch : HEAD

503a863a317acba125a4e46435694e35fad769e4 25-Nov-2005 Timo Sirainen <tss@iki.fi>

Moved seq_range_*() functions to more generic ones in lib/. --HG-- branch : HEAD

afda7fc4b70f2bfe9f9ebeeb22b26570cd2f302d 25-Sep-2005 Timo Sirainen <tss@iki.fi>

Added fd_set_nonblock() and changed net_set_nonblock() to use it. --HG-- branch : HEAD

9d7451b57769988f7e3e41cd8790e65429ffc5c7 12-Jul-2005 Timo Sirainen <tss@iki.fi>

Added inotify patch by Johannes Berg and did some restructuring to ioloop notify internals. --HG-- branch : HEAD

055eca0e13ffb557074badd021d024ef9c17315c 12-Jul-2005 Timo Sirainen <tss@iki.fi>

Missing array-decl.h --HG-- branch : HEAD

2201e2cc1b3f744dac61c2bf8095bcb6b5719540 29-Mar-2005 Timo Sirainen <tss@iki.fi>

Added istream-seekable, which allows combining multiple input streams and creating a single seekable stream out of them. --HG-- branch : HEAD

3bbe99d30871f49610aac0417ee5951d1e740b98 27-Mar-2005 Timo Sirainen <tss@iki.fi>

Added pool_get_exp_grown_size(). Use it for buffers, istreams and ostreams when buffer needs to grow. Optimizes memory usage a bit. --HG-- branch : HEAD

30972f343b285b6214ea053e1939b92cfe79040c 12-Mar-2005 Timo Sirainen <tss@iki.fi>

Added dynamic array implementation. When compiling with gcc and DEBUG enabled, gcc checks type safety at compile time. --HG-- branch : HEAD

66bcc2a2f65576211f2f55edbe61130b96287fcd 28-Feb-2005 Timo Sirainen <tss@iki.fi>

Added unix_socket_create(). --HG-- branch : HEAD

deeabe11fa17e44a7fa1ad04b3ef573b27b1a25d 08-Nov-2004 Timo Sirainen <tss@iki.fi>

Removed byteorder.* files. They're not used anymore. --HG-- branch : HEAD

1098fc409a45e7603701dc94635927a673bee0c1 08-Nov-2004 Timo Sirainen <tss@iki.fi>

Cache file works now with mmap_disable=yes. Still needs a few optimizations. --HG-- branch : HEAD

115e833ecfa871aa1056edf178fe26410c8f56f9 05-Oct-2004 Timo Sirainen <tss@iki.fi>

Added string sanitization functions. --HG-- branch : HEAD

328930fb9395d9c73095e44a96e36581751b360d 05-Sep-2004 Timo Sirainen <tss@iki.fi>

Added epoll support if --with-ioloop=epoll is given. Patch by Andrey Panin. --HG-- branch : HEAD

4d46ce4d5d0279cf2efc09e012f16d99b680f991 23-Aug-2004 Timo Sirainen <tss@iki.fi>

ostream-crlf.h was missing --HG-- branch : HEAD

9cbaab4518c2bf1c88d4078856786c64d1d3d794 22-Aug-2004 Timo Sirainen <tss@iki.fi>

Added CRLF/LF output stream converters. --HG-- branch : HEAD

2767104d81e97a109f0aa9758792bfa1da325a97 15-Aug-2004 Timo Sirainen <tss@iki.fi>

We never do blocking reads/writes to network anymore. Changed imap and pop3 processes to use a single I/O loop. Not much tested yet, and currently LIST/LSUB may eat too much memory and APPEND eats all CPU. --HG-- branch : HEAD

/dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/password-scheme.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.c /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/main.c /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-request.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/mail-storage.h Makefile.am alarm-hup.c alarm-hup.h file-lock.c iostream-internal.h iostream.c istream-data.c istream-file.c istream-limit.c istream-mmap.c istream.c istream.h lib.c ostream-file.c ostream-internal.h ostream.c ostream.h strfuncs.c strfuncs.h /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3/client.c /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.c
edf7428147facc11ddb43b9a874a99b96486d42d 30-Jul-2004 Timo Sirainen <tss@iki.fi>

Merged CRAM-MD5 and NTLM hmac-md5 code. Patch by Joshua Goodall --HG-- branch : HEAD

c7480644202e5451fbed448508ea29a25cffc99c 28-Jul-2004 Timo Sirainen <tss@iki.fi>

NTLM authentication. Patch by Andrey Panin --HG-- branch : HEAD

/dovecot/AUTHORS /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/auth/Makefile.am /dovecot/src/auth/mech-ntlm.c /dovecot/src/auth/mech.c /dovecot/src/auth/passdb.c /dovecot/src/auth/passdb.h /dovecot/src/auth/password-scheme-ntlm.c /dovecot/src/auth/password-scheme.c /dovecot/src/auth/password-scheme.h /dovecot/src/lib-ntlm/.cvsignore /dovecot/src/lib-ntlm/Makefile.am /dovecot/src/lib-ntlm/hmac-md5.c /dovecot/src/lib-ntlm/hmac-md5.h /dovecot/src/lib-ntlm/ntlm-byteorder.h /dovecot/src/lib-ntlm/ntlm-des.c /dovecot/src/lib-ntlm/ntlm-des.h /dovecot/src/lib-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-encrypt.h /dovecot/src/lib-ntlm/ntlm-flags.h /dovecot/src/lib-ntlm/ntlm-message.c /dovecot/src/lib-ntlm/ntlm-message.h /dovecot/src/lib-ntlm/ntlm-types.h /dovecot/src/lib-ntlm/ntlm.h Makefile.am md4.c md4.h
794ac3e4a22caba0297a1333b43e6bd47fc50b91 26-Jul-2004 Timo Sirainen <tss@iki.fi>

Added dovecotpw utility. Patch by Joshua Goodall --HG-- branch : HEAD

0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 27-Apr-2004 Timo Sirainen <tss@iki.fi>

importing new index code. mbox still broken. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.c /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/namespace.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-old.c /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-lock.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-reset.c /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log-view.c /dovecot/src/lib-index/mail-transaction-log.c /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mail-transaction-util.c /dovecot/src/lib-index/mail-transaction-util.h /dovecot/src/lib-index/maildir/Makefile.am /dovecot/src/lib-index/mbox/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/mail-types.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-expunge.c /dovecot/src/lib-storage/index/index-expunge.h /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-mailbox-check.c /dovecot/src/lib-storage/index/index-messageset.c /dovecot/src/lib-storage/index/index-messageset.h /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-transaction.c /dovecot/src/lib-storage/index/index-update-flags.c /dovecot/src/lib-storage/index/maildir/Makefile.am /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-expunge.c /dovecot/src/lib-storage/index/maildir/maildir-list.c /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-transaction.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/maildir/maildir-util.c /dovecot/src/lib-storage/index/mbox/Makefile.am /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.h /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-from.c /dovecot/src/lib-storage/index/mbox/mbox-from.h /dovecot/src/lib-storage/index/mbox/mbox-list.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-sync-header.c /dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync-update.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/mail-save.c /dovecot/src/lib-storage/mail-save.h /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/proxy-mail-storage.c /dovecot/src/lib-storage/proxy-mail-storage.h /dovecot/src/lib-storage/proxy-mail.c /dovecot/src/lib-storage/proxy-mailbox.c /dovecot/src/lib-storage/proxy-mailbox.h /dovecot/src/lib-storage/register/Makefile.am /dovecot/src/lib-storage/subscription-file/Makefile.am /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib-storage/subscription-file/subscription-file.h Makefile.am compat.h file-dotlock.c file-lock.c istream-data.c istream-file.c istream-limit.c istream-mmap.c macros.h network.c read-full.c read-full.h write-full.c write-full.h /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/mail-storage-callbacks.c
dd62b77c932d1b518f2a3e4bf80e36542becc256 09-Nov-2003 Timo Sirainen <tss@iki.fi>

istream rewrite. instead of directly setting any limits to stream, you now have to use i_stream_create_limit() to existing stream. this should make the istreams much easier to create and understand how they work. --HG-- branch : HEAD

cd466fe7b84b0223735a6469c7f7bc225f65996d 21-Sep-2003 Timo Sirainen <tss@iki.fi>

data_stack_pool split into two: unsafe_data_stack_pool which works like before, and a new one which verifies that stack frame stays the same whenever the pool is accessed. --HG-- branch : HEAD

/dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-plain.c /dovecot/src/auth/mech.c /dovecot/src/auth/passdb-pam.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-charset/charset-utf8.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-quote.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-mail/message-address.c /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/mail-search.c Makefile.am mempool-alloconly.c mempool-datastack.c mempool-system.c mempool-unsafe-datastack.c mempool.h str.c strfuncs.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c
9bf98814caf6ca9091a77e1eeb5d64bfc5c537af 24-Aug-2003 Timo Sirainen <tss@iki.fi>

Added IO_DIR_NOTIFY and IO_FILE_NOTIFY conditions to io_add(). IO_DIR_NOTIFY is now implemented for Linux dnotify. --HG-- branch : HEAD

af117dcec3b747f651d0cfebfa01387208fb623f 06-Aug-2003 Timo Sirainen <tss@iki.fi>

Added some network byte ordering functions and macros --HG-- branch : HEAD

53b32ab10cd22d7e762db4d813298ff72bff4b3d 18-May-2003 Timo Sirainen <tss@iki.fi>

More robust error handling for mbox. --HG-- branch : HEAD

9e708a17f984ef7690ff2468ec19ad62c95b1ac2 14-May-2003 Timo Sirainen <tss@iki.fi>

Added support for dynamically loadable imap/pop3 modules. --HG-- branch : HEAD

48f78a48f2e1cf299026544444666471ae16ad97 12-Feb-2003 Timo Sirainen <tss@iki.fi>

Locking code cleanups and small fixes --HG-- branch : HEAD

50933e4d608a259c49e72775284a5f9df985de84 11-Feb-2003 Timo Sirainen <tss@iki.fi>

Added mail_full_filesystem_access setting. Some of the setting variable types were declared wrong and caused Dovecot to crash if they were set in config file. --HG-- branch : HEAD

4cb2599c5cdf27362a66ac475ce295409c093c92 27-Jan-2003 Timo Sirainen <tss@iki.fi>

Added var_expand() --HG-- branch : HEAD

4a6f9ed8e5412508dcba1eabb58a3680ad5e9b68 03-Jan-2003 Timo Sirainen <tss@iki.fi>

Rewrote rfc822-tokenize.c to work one token at a time so it won't uselessly take memory, maybe also a bit faster. This caused pretty large changes all around. Also moved all string (un)escaping code to lib/strescape.c. --HG-- branch : HEAD

/dovecot/src/imap/cmd-list.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-header-search.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/rfc822-address.c /dovecot/src/lib-mail/rfc822-date.c /dovecot/src/lib-mail/rfc822-date.h /dovecot/src/lib-mail/rfc822-tokenize.c /dovecot/src/lib-mail/rfc822-tokenize.h /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-search.c Makefile.am strescape.c strescape.h strfuncs.c strfuncs.h /dovecot/src/login/client.c
e1e5b1f4ada9d9b4d36edeaf1c5229be90b12815 22-Dec-2002 Timo Sirainen <tss@iki.fi>

String function cleanups. Allocating 0 bytes of memory is treated as error now, it could be an integer overflow. Moved printf_string_upper_bound() to it's own file, so strfuncs.c can be with MIT license. --HG-- branch : HEAD

33ca6b017b6ebbd048651b5e3d16915001dbc291 21-Dec-2002 Timo Sirainen <tss@iki.fi>

Replaced TempString with a String which can use any memory pool and uses Buffer internally. --HG-- branch : HEAD

/dovecot/src/auth/auth-digest-md5.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/commands-util.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-quote.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/mbox/mbox-from.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-mail/rfc822-address.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h Makefile.am lib.h str.c str.h strfuncs.h temp-string.c temp-string.h /dovecot/src/login/client-authenticate.c /dovecot/src/master/imap-process.c
2b619d427addefb7d1660b23a528259d162a5f67 21-Dec-2002 Timo Sirainen <tss@iki.fi>

We don't have separate read-write pools, so renamed pool_create(.., FALSE) to pool_alloconly_create(). --HG-- branch : HEAD

fed105d173e2102400f9dc98623ca52979d8779b 21-Dec-2002 Timo Sirainen <tss@iki.fi>

If used base/login directories exist already, make sure they're with correct permissions. Always delete contents in login directory at startup. Added safe_mkdir(). changed unlink_directory() behaviour, and fixed a race condition which could have made it follow symlinks to other directories and delete them. Didn't really harm us so far, we never used it for deleting unsafe directories. --HG-- branch : HEAD

2a6f72a80e2c6e410e1128dd6beb4ea950b3839e 17-Dec-2002 Timo Sirainen <tss@iki.fi>

Added safe_memset() which guarantees that compiler optimizations don't optimize it away. Not that we really need to clear the passwords from memory, but won't hurt much either :) --HG-- branch : HEAD

def516ea503a60f20d510c14d5070b7ff5bbddf4 08-Dec-2002 Timo Sirainen <tss@iki.fi>

Added buffer API. Point is to hide all buffer writing behind this API which verifies that nothing overflows. Much better than doing the same checks all around the code, even if it is slightly slower. Buffer reading is still mostly done directly, that isn't such a big security risk and I can't think of a reasonable API for it anyway. --HG-- branch : HEAD

/dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-plain.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-uid.c /dovecot/src/imap/main.c /dovecot/src/imap/rawlog.c /dovecot/src/lib-charset/charset-iconv.c /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-header-search.c /dovecot/src/lib-mail/message-header-search.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/message-part-serialize.h /dovecot/src/lib-mail/quoted-printable.c /dovecot/src/lib-mail/quoted-printable.h /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/mail-sort.c /dovecot/src/lib-storage/mail-storage.c Makefile.am base64.c base64.h buffer.c buffer.h data-stack.c hex-binary.c hex-binary.h lib.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client.c /dovecot/src/login/client.h
ecc81625167ed96c04c02aa190a1ea5baa65b474 06-Dec-2002 Timo Sirainen <tss@iki.fi>

Renamed IBuffer and OBuffer to IStream and OStream which describes their functionality better. I tried to keep the variable names and comments also sensible. --HG-- branch : HEAD

/dovecot/src/auth/login-connection.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync-full.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-body-search.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-msgcache.c /dovecot/src/lib-storage/index/index-save.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort.c /dovecot/src/lib-storage/index/index-sort.h /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/mail-sort.c /dovecot/src/lib-storage/mail-storage.h Makefile.am ibuffer-file.c ibuffer-internal.h ibuffer-mmap.c ibuffer.c ibuffer.h iobuffer-internal.h iostream-internal.h iostream.c istream-data.c istream-file.c istream-internal.h istream-mmap.c istream.c istream.h lib.h obuffer-file.c obuffer-internal.h obuffer.c obuffer.h ostream-file.c ostream-internal.h ostream.c ostream.h /dovecot/src/login/auth-connection.c /dovecot/src/login/client-authenticate.c /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/master/auth-process.c /dovecot/src/master/login-process.c /dovecot/src/master/settings.c
53d794b1cb99c0cc437ec9449d19abf504058390 03-Dec-2002 Timo Sirainen <tss@iki.fi>

Login process now changes it's name if verbose_proctitle = yes, and we're running BSD. This is also possible with Linux with a pretty ugly hack, which you can enable by modifying lib/process-title.c if you _really_ want to. And a nasty bugfix - login_process_per_connection setting didn't work with imaps port connections which is exactly where it was mostly wanted. --HG-- branch : HEAD

962d9d2bb349ba5522247fb10a693a8a2c14c33c 01-Dec-2002 Timo Sirainen <tss@iki.fi>

We use close-on-exec flag now to make sure that master process closes the fds when executing other processes. --HG-- branch : HEAD

cfbab67e839000b57f32308dd26f9807b5dbe8e3 01-Dec-2002 Timo Sirainen <tss@iki.fi>

Added virtual memory size limits to processes. Default values are pretty high, this is mostly because I want it to prevent accidental infinite loops eating memory or some integer overflows, not to actually restrict anything. --HG-- branch : HEAD

a128456c8530046dd9a998386f383160e70b532f 26-Nov-2002 Timo Sirainen <tss@iki.fi>

Created env_put() and env_clean() for a bit easier handling of environment variables. --HG-- branch : HEAD

4472a5d9137b6c0aaf586126a3c37319f86107b5 26-Nov-2002 Timo Sirainen <tss@iki.fi>

Moved mycrypt() into auth/ dir, so we don't have to link all programs with -lcrypt --HG-- branch : HEAD

1f0615d56d43cb14aa67529bbda043f5d8af971a 26-Nov-2002 Timo Sirainen <tss@iki.fi>

Forgot mycrypt.h --HG-- branch : HEAD

780f1209b9c85df383572c8020121197e80e7697 26-Nov-2002 Timo Sirainen <tss@iki.fi>

Still more crypt() problems. Wrapped it into mycrypt() which should finally put end to this kludgeing. --HG-- branch : HEAD

960e80edf5cde4e194f0669c6c784cdd76e3dfe5 25-Nov-2002 Timo Sirainen <tss@iki.fi>

select() support was broken. Also changed the way it's built. --HG-- branch : HEAD

283230fafb40e39adb0ab9d8b62539cfeae76509 28-Oct-2002 Timo Sirainen <tss@iki.fi>

I/O buffers now use real blocking instead of setting up a sub-ioloop to poll(). alarm() is called every 30 secs to send SIGHUP and break out of the read/write calls, so the given timeout values aren't exact. Also some other cleanups, like not including ioloop.h in [io]buffer.h which broke several other files which hadn't included it itself.. --HG-- branch : HEAD

201108608e6686d3e9dce9b95678a814122b6471 24-Oct-2002 Timo Sirainen <tss@iki.fi>

Fixes to timezone handling which were handling quite badly. added ioloop_timezone which gets updated with ioloop_time. Changed some GMT references to UTC. Timezone offsets are in minutes now everywhere instead of seconds. Fixes for unsigned time_t. --HG-- branch : HEAD

b646fdb90f75ab80ea7feca42fa2e1f8e788b004 14-Oct-2002 Timo Sirainen <tss@iki.fi>

Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer and file OBuffer. --HG-- branch : HEAD

/dovecot/src/auth/login-connection.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/main.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-index/mail-index-update-cache.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-msgcache.c /dovecot/src/lib-storage/index/index-save.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/mail-storage.h Makefile.am compat.c compat.h data-stack.c ibuffer-data.c ibuffer-file.c ibuffer-internal.h ibuffer-mmap.c ibuffer.c ibuffer.h iobuffer-internal.h iobuffer.c iobuffer.h lib.h network.c network.h obuffer-file.c obuffer-internal.h obuffer.c obuffer.h /dovecot/src/login/auth-connection.c /dovecot/src/login/client-authenticate.c /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/master/auth-process.c /dovecot/src/master/login-process.c /dovecot/src/master/settings.c
35f9fc9ddd58846ddbbe2a94cd04a91318f989a3 10-Oct-2002 Timo Sirainen <tss@iki.fi>

missing mempool-datastack.c --HG-- branch : HEAD

6d72e8dc3009c2850b74b39fecb72c32765156ac 09-Oct-2002 Timo Sirainen <tss@iki.fi>

s/temporary memory pool/data stack/ which is the correct name for it. --HG-- branch : HEAD

02b32cf39a098edf60981fc228e4b034f11f3b90 14-Sep-2002 Timo Sirainen <tss@iki.fi>

lots of cleanups. also index/datafile is now capable of staying in memory, as long as it's noticed while opening the index. --HG-- branch : HEAD

/dovecot/src/imap/client.c /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-index-compress.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-open.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-messageset.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/subscription-file/subscription-file.c Makefile.am file-lock.c file-lock.h file-set-size.c file-set-size.h mmap-anon.c mmap-util.c mmap-util.h
79d62d195b7eb330c4962ad166f2d066f8837e91 13-Sep-2002 Timo Sirainen <tss@iki.fi>

Added extra functions for easier printing of error messages. Moved file_set_size() to generic function in lib. If there's no space to build hash file, it builds itself in anon-mmaped memory and stays there. --HG-- branch : HEAD

/dovecot/src/lib-index/mail-custom-flags.c /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-index-compress.c /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-rewrite.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/index-status.c Makefile.am file-set-size.c file-set-size.h mmap-util.c mmap-util.h
56b4a136485a399620a650150f8cb8c55418a278 28-Aug-2002 Timo Sirainen <tss@iki.fi>

sendfile() works now properly with 64bit off_t --HG-- branch : HEAD

c27c55fe2c083c7573cde51e366ef689c1a69708 26-Aug-2002 Timo Sirainen <tss@iki.fi>

Added write_full() which is a simple wrapper around write() meant for writing into files. When there's too much deleted data in index files, they're now compressed when the index is being opened. --HG-- branch : HEAD

66251e6ab31e5cc153fe5cae608e416dacafe9cd 08-Aug-2002 Timo Sirainen <tss@iki.fi>

Initial revision --HG-- branch : HEAD

/dovecot/.cvsignore /dovecot/.inslog2 /dovecot/AUTHORS /dovecot/COPYING.LGPL /dovecot/Makefile.am /dovecot/NEWS /dovecot/README /dovecot/TODO /dovecot/acconfig.h /dovecot/autogen.sh /dovecot/configure.in /dovecot/doc/.cvsignore /dovecot/doc/Makefile.am /dovecot/doc/auth.txt /dovecot/doc/design.txt /dovecot/doc/index.txt /dovecot/doc/multiaccess.txt /dovecot/doc/nfs.txt /dovecot/dovecot-example.conf /dovecot/src/.cvsignore /dovecot/src/Makefile.am /dovecot/src/auth/.cvsignore /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-interface.h /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/cookie.c /dovecot/src/auth/cookie.h /dovecot/src/auth/login-connection.c /dovecot/src/auth/login-connection.h /dovecot/src/auth/main.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-pam.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/auth/userinfo-passwd.c /dovecot/src/auth/userinfo-passwd.h /dovecot/src/auth/userinfo-shadow.c /dovecot/src/auth/userinfo.c /dovecot/src/auth/userinfo.h /dovecot/src/imap/.cvsignore /dovecot/src/imap/.psrc /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-authenticate.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-check.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-examine.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-login.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-lsub.c /dovecot/src/imap/cmd-noop.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/cmd-uid.c /dovecot/src/imap/cmd-unsubscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.c /dovecot/src/imap/commands.h /dovecot/src/imap/common.h /dovecot/src/imap/main.c /dovecot/src/lib-imap/.cvsignore /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-match.c /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-message-send.c /dovecot/src/lib-imap/imap-message-send.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/.cvsignore /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mail-hash.c /dovecot/src/lib-index/mail-hash.h /dovecot/src/lib-index/mail-index-data.c /dovecot/src/lib-index/mail-index-data.h /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-update.c /dovecot/src/lib-index/mail-index-util.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-lockdir.c /dovecot/src/lib-index/mail-lockdir.h /dovecot/src/lib-index/mail-messageset.c /dovecot/src/lib-index/mail-messageset.h /dovecot/src/lib-index/mail-modifylog.c /dovecot/src/lib-index/mail-modifylog.h /dovecot/src/lib-index/maildir/.cvsignore /dovecot/src/lib-index/maildir/Makefile.am /dovecot/src/lib-index/maildir/maildir-build.c /dovecot/src/lib-index/maildir/maildir-index.c /dovecot/src/lib-index/maildir/maildir-index.h /dovecot/src/lib-index/maildir/maildir-open.c /dovecot/src/lib-index/maildir/maildir-rebuild.c /dovecot/src/lib-index/maildir/maildir-sync.c /dovecot/src/lib-index/maildir/maildir-update.c /dovecot/src/lib-index/mbox/.cvsignore /dovecot/src/lib-index/mbox/Makefile.am /dovecot/src/lib-index/mbox/mbox-append.c /dovecot/src/lib-index/mbox/mbox-fsck.c /dovecot/src/lib-index/mbox/mbox-index.c /dovecot/src/lib-index/mbox/mbox-index.h /dovecot/src/lib-index/mbox/mbox-lock.c /dovecot/src/lib-index/mbox/mbox-lock.h /dovecot/src/lib-index/mbox/mbox-open.c /dovecot/src/lib-index/mbox/mbox-rebuild.c /dovecot/src/lib-index/mbox/mbox-sync.c /dovecot/src/lib-mail/.cvsignore /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/rfc822-address.c /dovecot/src/lib-mail/rfc822-address.h /dovecot/src/lib-mail/rfc822-date.c /dovecot/src/lib-mail/rfc822-date.h /dovecot/src/lib-mail/rfc822-tokenize.c /dovecot/src/lib-mail/rfc822-tokenize.h /dovecot/src/lib-storage/.cvsignore /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/flags-file/.cvsignore /dovecot/src/lib-storage/flags-file/Makefile.am /dovecot/src/lib-storage/flags-file/flags-file.c /dovecot/src/lib-storage/flags-file/flags-file.h /dovecot/src/lib-storage/index/.cvsignore /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-expunge.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-save.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-update-flags.c /dovecot/src/lib-storage/index/maildir/.cvsignore /dovecot/src/lib-storage/index/maildir/Makefile.am /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-expunge.c /dovecot/src/lib-storage/index/maildir/maildir-list.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/mbox/.cvsignore /dovecot/src/lib-storage/index/mbox/Makefile.am /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-list.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/subscription-file/.cvsignore /dovecot/src/lib-storage/subscription-file/Makefile.am /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib-storage/subscription-file/subscription-file.h .cvsignore Makefile.am base64.c base64.h compat.c compat.h failures.c failures.h fdpass.c fdpass.h gmtoff.c gmtoff.h hash.c hash.h hex-binary.c hex-binary.h hostpid.c hostpid.h imem.c imem.h iobuffer.c iobuffer.h ioloop-internal.h ioloop-poll.c ioloop-select.c ioloop.c ioloop.h lib-signals.c lib-signals.h lib.c lib.h macros.h md5.c md5.h mempool-allocfree.c mempool-allocfree.h mempool-alloconly.c mempool-system.c mempool.c mempool.h mmap-util.c mmap-util.h network.c network.h primes.c primes.h randgen.c randgen.h restrict-access.c restrict-access.h strfuncs.c strfuncs.h temp-mempool.c temp-mempool.h temp-string.c temp-string.h unlink-directory.c unlink-directory.h unlink-lockfiles.c unlink-lockfiles.h /dovecot/src/login/.cvsignore /dovecot/src/login/.psrc /dovecot/src/login/Makefile.am /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client-authenticate.h /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/login/common.h /dovecot/src/login/main.c /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/login/ssl-proxy.c /dovecot/src/login/ssl-proxy.h /dovecot/src/master/.cvsignore /dovecot/src/master/.psrc /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/common.h /dovecot/src/master/imap-process.c /dovecot/src/master/login-process.c /dovecot/src/master/login-process.h /dovecot/src/master/main.c /dovecot/src/master/master-interface.h /dovecot/src/master/settings.c /dovecot/src/master/settings.h /dovecot/stamp.h.in