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. |
9f02b2016f05292cfe2635380a95392976c55c6f |
|
11-Aug-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Add unit test to mail_transaction_update_modseq() |
7f51e8608944e19e02df8680f379c1a0d7e1a53b |
|
05-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Added test-mail-index-modseq unit test |
0cc566d5e68a650d12fd73631d53a467fad72e1e |
|
28-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-index: Added unit test to mail_index_map_lookup_seq_range() |
791230632f4bc9eab1b04acb5b5fe1bc4eb52cef |
|
16-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Makefile: Again changes to handling test program dependencies.
.la libraries need to link .lo files, .a libraries need to link .o files.
Changed dsync to be .la library for consistency. |
41e6163a8c2b0550b2a45b8e8fb3ec86d1b3489f |
|
16-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Makefile: Fixed test program dependencies
Explicit dependencies on .o or .lo files didn't seem to work properly and
with high enough make -j value the build failed. Depending on the entire
library guarantees that all the individual .o files have been built. |
16f5ed4f7b2b9e7c83b8bb7adc1f5f6285b8ae4e |
|
08-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-index: Removed the old "mailbox list" type index, which is no longer used.
It was rather overdesigned and fragile. |
93e8e70062fe33db681a9b3b66bb5e523e5a84f7 |
|
29-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: mail_index_sync_ext_atomic_inc() does now better error checking.
--HG--
branch : HEAD |
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 |
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 |
ac26a4607cb12b156f6a42f1ead2881bedd43d94 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index lookup cache from lib-storage to lib-index.
Removed some code duplication as a result.
--HG--
branch : HEAD |
fb15bb48cf8be41cd94738c868b64608b4fda1ad |
|
06-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
lib-index: Added mailbox transaction log.
It's a much simplified version of mail transaction log.
--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 |
02bb8313a711dfe50c7f01e8132e13ca93ecfb42 |
|
14-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
mail index transactions: More code cleanups and unit tests.
--HG--
branch : HEAD |
b346610430690398b8c840006004a2df4aa8ce92 |
|
14-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Moved around mail-index-transaction code and added initial unit tests.
--HG--
branch : HEAD |
bc397dfcbe6e22aa1ca2e15a9f3cd42f39e2ec4e |
|
13-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index_seq_array_*() to mail-index-util.c and added its own .h file.
--HG--
branch : HEAD |
05d0c79c7bd4b9449e949bd93f5f60cde9197869 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Compiling fix for Solaris 7.
--HG--
branch : HEAD |
da34d4d991b7e734a39be2742c39a3197f0ddd5c |
|
01-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Link test programs with .lo instead of .o. Dependencies aren't tracked properly with .o.
--HG--
branch : HEAD |
4f31ec91b85063c74c0f3129f173b0b45d3329dd |
|
27-May-2009 |
Timo Sirainen <tss@iki.fi> |
mail-transaction-log-view unit testing is now also independent.
--HG--
branch : HEAD |
5550482ce58e51584f83c10a4c63d35b66431742 |
|
27-May-2009 |
Timo Sirainen <tss@iki.fi> |
Added unit test for mail-transaction-log-append.
--HG--
branch : HEAD |
d1a0d9aa3b7062a56c2cbde5171352e0283485fc |
|
27-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some generic library functions to mail-index-util.c.
--HG--
branch : HEAD |
7a896d960824c93e2f04ac21e8eae0f892bf8d20 |
|
20-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some code from mail-index-map.c to mail-index-map-read.c
--HG--
branch : HEAD |
5806683c1c3f5b1997e92a023c0fe39912d4df5d |
|
20-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved some code from mail-index-map.c to mail-index-map-hdr.c
--HG--
branch : HEAD |
1d920ffe9608fdef5663583ea5ac6a68411c30eb |
|
17-May-2009 |
Timo Sirainen <tss@iki.fi> |
And fix for last change: Use LIBICONV, not LTLIBICONV when linking.
--HG--
branch : HEAD |
4d1fe7537ecacd51c334d1005b36d9e8cedf79bd |
|
17-May-2009 |
Timo Sirainen <tss@iki.fi> |
test-* programs weren't linking enough libraries in all systems.
--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 |
1279090ba03f9c176976a69ab7718f0ed77b19af |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Moved transaction commiting code to mail-index-transaction-*.c
--HG--
branch : HEAD |
993e6c2caaae971dd3c34913a42d854e3b623261 |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Transaction log view code cleanups.
--HG--
branch : HEAD |
ee99e9730164f6652804047e901d219b0c213843 |
|
05-May-2009 |
Mark Washenberger <none@none> |
Flattened header namespace on install.
--HG--
branch : HEAD |
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 |
a914bff43644dd9b3977244203839ca74161e40c |
|
01-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Rewrote thread indexing code. It's a lot simpler and takes less disk space.
We no longer try to keep a hash table and the entire thread tree stored on
disk. Instead we keep a simple Message-ID string (actually just "uid, ref#"
pointer) -> unique index number mapping on disk, read it to memory and use
it to build the thread tree. After the initial build the thread tree is
still updated incrementally.
--HG--
branch : HEAD |
a2f250a332dfc1e6cd4ffd196c621eb9dbf7b8a1 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Initial CONDSTORE support.
--HG--
branch : HEAD |
44fb34e3ec46c7d1f9488f3fe14b9ffb8ea4e81d |
|
11-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Removed mail-hash. It's not used anywhere and its API has been redesigned.
--HG--
branch : HEAD |
10a97b15c34119ffe2d2eab9b975252fed631df2 |
|
16-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index_write() to its own file.
--HG--
branch : HEAD |
4163ec6941bd55fe2c963a6c4605e7fa38f05ea2 |
|
13-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Removed mail-transaction-util.[ch]. They're no longer needed.
--HG--
branch : HEAD |
4bc96ba6f1d67a90a75fa131bcd2cd508ea5a05a |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail transaction log file related code to its own file.
--HG--
branch : HEAD |
2a34e2be33f8a17d21384a5527ed9f75f4d270e0 |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail index map related code to its own file.
--HG--
branch : HEAD |
bbe42963032af89fac1318844da08c742525cc87 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Added --with-headers configure option to install .h files.
--HG--
branch : HEAD |
5fb3bff645380804c9db2510940c41db6b8fdb01 |
|
25-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
--HG--
branch : HEAD |
b2e173f1d31fe7fa0cd731b9b3453900f03bbfe1 |
|
15-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
And removed the rest of the mailbox-list-index* too..
--HG--
branch : HEAD |
cecfce05e62a0b9fe9cd6c33971068c34100162f |
|
15-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
mailbox-list-index wasn't supposed to be committed yet.
--HG--
branch : HEAD |
9bf2dc275ec21bff3d468ab1bc4fddc8874f7d1b |
|
13-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
When registering fields, if they were already exited in the cache file mark
the cache file corrupted.
--HG--
branch : HEAD |
1f61bf4b810bdcb60ac86bab8f90fee59e0f5225 |
|
11-Jul-2006 |
Timo Sirainen <tss@iki.fi> |
Added code to support hash table index files.
--HG--
branch : HEAD |
b87a4156eca6dcf6b29c504eb0cb9be2fdb11b63 |
|
08-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Moved code into mail-transaction-log-append.c
--HG--
branch : HEAD |
e8acc691a14a6d0884c5ca9aa4d8507f1e082040 |
|
22-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Instead of using separate transaction sorting code for syncing, just put the
data from transactions into a temporary transaction and read it from there.
--HG--
branch : HEAD |
16c89b1260c9d07c01c83a9219424d3727069b2e |
|
26-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Initial support for keywords. Syncing to mbox/maildir doesn't work yet.
--HG--
branch : HEAD |
a0d34d3982507f513a9d800082481e9faeb9a943 |
|
07-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Moved extension syncing code to separate file.
--HG--
branch : HEAD |
6a19e109ee8c5a6f688da83a86a7f6abeb71abdd |
|
06-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Removed cache_offset from mail_index_record and changed it to use extension
instead. Added possibility to register sync and expunge handlers for
extensions. Changed the way extension resets work: all extension updates
which were committed without having seen the reset are ignored.
--HG--
branch : HEAD |
5355df8b66da35698449a10c2c83633a64995298 |
|
21-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Upgrades to autoconf 2.5 and automake >1.4.
--HG--
branch : HEAD |
e015e2f7e7f48874495f9df8b0dd192b7ffcb5cc |
|
18-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Header caching redesigned. New design allows caching decisions per field, so
they can be divided to temporary/permanent. Cached headers are now always
returned in original order, old code didn't guarantee it. Some other caching
changes. (still missing code to store changes in caching decisions)
--HG--
branch : HEAD |
8aacc9e7c84f8376822823ec98c2f551d4919b2e |
|
28-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Added some smartness for deciding what to cache. Cache compression code compiles, but untested.
--HG--
branch : HEAD |
24fc71a693331ffe77e2b6d81c70aca6fa055e47 |
|
22-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Added mail_index_transaction_get_updated_view() which can be used to access
uncommitted messages.
--HG--
branch : HEAD |
685393de106e55b61f754d420e378d05bd462ebb |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
remove mail_index_reset() completely
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |
38082cb8119f71ede556f374d62ad2ca7f314c5d |
|
11-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Support for upgrading from old index file with smaller header.
--HG--
branch : HEAD |
6789ed17e7ca4021713507baf0dcf6979bb42e0c |
|
06-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Index cache file rewrite. It's not finished yet and mbox support is
completely broken. But it's getting difficult to maintain outside cvs :)
--HG--
branch : HEAD |
a8307ac704d26a4e49405144b50764cba3efa99e |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
mail-tree.h no longer needed
--HG--
branch : HEAD |
e2503d9e0306e3d256b314b5410460a18c8b99e4 |
|
21-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Removed .imap.index.tree file. For now we'll just rewrite .imap.index file
whenever there's expunges. "Expunge binary tree" might be added later, but
it's not really useful until you have thousands of messages in mailbox and
you're deleting old messages from it.
--HG--
branch : HEAD |
b9bfb1bd23d31f3032d5bd843ffbcc2ccd5cb3a6 |
|
27-Apr-2003 |
Timo Sirainen <tss@iki.fi> |
--with-storage=maildir,mbox can now be used to compile in only the wanted
storage formats.
--HG--
branch : HEAD |
0f203eb6e0524641e415ce6b555212b5395a54ce |
|
23-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Index opening rewrites. We don't try to support .imap.index-<hostname> style
indexes anymore. They just made things more difficult, and it's really not a
good idea to use index files via NFS anyway.
Added support for :INDEX=MEMORY in MAIL env to disable using index files.
Also if we can't open or create index file for any reason, we now fallback
to in-memory indexes. Before we fallbacked only with out of disk space
errors.
If .customflags can't be created, we still work now by not allowing to
create new custom flags.
--HG--
branch : HEAD |
d8bbb406a4a394b0109d4d5318cf0b02a57e7407 |
|
06-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
First version of binary tree file, still some locking issues while opening
the file.
--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 |
d60705bcd8e777fa90f6d0daa615c4207592c80b |
|
08-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Moved custom flags handling into lib-index.
--HG--
branch : HEAD |
bd55fb75756b5a9405d7369a0b555e8197da8492 |
|
07-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Moved lib-index/mail-messageset.* to lib-storage/index/index-messageset.*.
--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 |
ee0e168613bd79e77ab14c6b927fb68116772621 |
|
25-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
after a few times of trying to access uncached fields, they're cached the
next time mailbox is opened. also some mbox fixes.
--HG--
branch : HEAD |
468bb8fbe53f28a18a47b8dc6761171d5d8ce706 |
|
24-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
mbox fixes, not fully working yet but almost :)
--HG--
branch : HEAD |
e403d34ae6904cd8d9f72345a2f2dc017d3b46aa |
|
22-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Message data is parsed in blocks (no longer entirely mmap()ed). Several
IOBuffer changes. All mixed signed/unsigned comparisions were fixed so code
can now be compiled with gcc's -W flag. mbox support is broken currently,
and there's most likely several other problems too.
--HG--
branch : HEAD |
66251e6ab31e5cc153fe5cae608e416dacafe9cd |
|
08-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Initial revision
--HG--
branch : HEAD |