bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
d4002fe1f64d25a792f76fb102ef7dc519cd4e24 |
|
11-Dec-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use mail_set_critical() and mailbox_set_critical() if possible
Replace calls to mail_storage_set_critical() with mail_set_critical()
or mailbox_set_critical() in places where mailbox or mail are easily
available. |
77f8c49beac69a8f5d5d41239528474ee1b877ea |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert maildir to use container_of |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
5eb85ec9546bac4eea7d78de8997920ba3debd30 |
|
30-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed MAIL_FETCH_UIDL_FILE_NAME to MAIL_FETCH_STORAGE_ID.
Keep MAIL_FETCH_UIDL_FILE_NAME for backwards compatibility for now. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
2ed2459dbd183bb371da4a0aecb2d2b74ae7c815 |
|
15-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
Handle "out of disk space" and "out of user quota" as separate cases.
"Out of disk space" is a temporary error that should be logged as error and
the failure should be sent to user as "Internal server error".
Obsolete the use of MAIL_ERROR_NOSPACE and MAIL_ERRSTR_NO_SPACE. Use the
clearer MAIL_ERROR_NOQUOTA and MAIL_ERRSTR_NO_QUOTA instead. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
7f735cb86b2d8abd8f230089065eacfc24e9e5d6 |
|
23-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If disable_reflink_copy_to=TRUE, disable hardlink/refcount copying. |
1554bed8d2b4e4286c10f7d6bcf716b246bd5baf |
|
20-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
dbox, maildir: When copying messages, copy the cached fields also.
Copy only fields whose caching decision is not "no" in the destination mailbox. |
53f9b870939a525dc7885603801e2e2d96debe2d |
|
23-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Cleaned up filename/guid preserving code on save/copy. |
fb0debc9d136b9e5b62bdcba27856a4e57c4c947 |
|
14-May-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed a memory leak when copying with hardlinks.
--HG--
branch : HEAD |
ba8b4001cd274967c4f626602308cc97b9bde36e |
|
18-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Always try to preserve message GUIDs when copying.
Because of this, maildir_copy_preserve_filename setting is now removed.
--HG--
branch : HEAD |
ea4c984d8097f24aa18ed5bb364ebaf3b01bc2a3 |
|
18-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_with_hardlinks=yes no longer has a race condition.
--HG--
branch : HEAD |
099a6b509dc3fc68e662b6736f03b73eb575c527 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed some code duplication.
--HG--
branch : HEAD |
d22301419109ed4a38351715e6760011421dadec |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: *_mailboxes don't descend from index_mailbox anymore, it's now a context.
--HG--
branch : HEAD |
ca98d6a1bbe73499da758a36bfab2963375c8d06 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved struct mail_index_* from index_mailbox to mailbox.
We're relying more and more of all mailboxes being used via lib-index, and
this change makes accessing the indexes easier.
--HG--
branch : HEAD |
651fc0f1e43fef3e02e0e7b5f498973b05f641d7 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Added support for marking mailbox index deleted. Don't allow any changes after that.
This is going to help with race conditions when deleting mailboxes.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
b9d91b39ae356f3986236cd63e8f0afd25f5abc6 |
|
15-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Always add S=size to filenames.
It's necessary for using zlib plugin and doesn't hurt much anyway.
--HG--
branch : HEAD |
6a757aa1a7f441ac5b7febcabc02641c1f54d944 |
|
03-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_preserve_filename=yes could have caused crashes.
--HG--
branch : HEAD |
eb0816090cf5a549280ad783b9aa6fec199d36ba |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index-storage: Simplified the way transactions are are created/finished.
Removed also mail_storage.class_init/deinit since they're no longer used
for anything.
--HG--
branch : HEAD |
88f56040cebb5d272b658b8e00f02434b9dca200 |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index-storage: Code cleanups.
--HG--
branch : HEAD |
d59f44917f9862d3f95d7c95885b6f50e802ae38 |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Removed duplicated flags from struct index_transaction_context.
--HG--
branch : HEAD |
ea9fd7f876643e985946a2563140359064819b8e |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Cleaned up save/copy code.
--HG--
branch : HEAD |
0f8468dc3fec29197166249e918cef9efa142917 |
|
09-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Reverted changes committed accidentally in previous commit.
--HG--
branch : HEAD |
36689df65df7edb8b5d707d7c60abe67662605e7 |
|
09-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
master: A bit more logging improvements for bad UID/GID.
--HG--
branch : HEAD |
303079fb1b356981de656c9b3d419a925c6e70a3 |
|
09-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: Small code cleanup.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
7ede6554e451ec039a67beec7d6ee4aff61d386e |
|
04-May-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir: Handle uidlist errors better.
--HG--
branch : HEAD |
dc7c35479b96456dcca68b7d8e1ae9b9beac1074 |
|
14-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
s/deliver/lda/
--HG--
branch : HEAD |
af48aa19e038315afd4166666530000672032957 |
|
26-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix.
--HG--
branch : HEAD |
a425baf62f30f4b62250227ff97b4b01c4b01aff |
|
24-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Removed unused code.
Based on coccinelle output from Diego Liziero.
--HG--
branch : HEAD |
bd4d0a1a7c0626452b8d82f37e3ec07267ac9896 |
|
06-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Mail copying API changed to be based on save API. This allows extending it easily in future.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
781091004d36633bea411f3ebaf2a1e8a6ff6ab8 |
|
09-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: When hardlink-copying a file, copy the W=vsize if it exists in the
original filename.
--HG--
branch : HEAD |
80cc932b7d4fd914ed6ccb68e988e9002118d5de |
|
02-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
deliver: Added -c parameter to provide path to delivered mail. This allows
maildir to save it using hard links.
--HG--
branch : HEAD |
15a9ff92098d72c3a7a4ad4e3bd16c1d19478f83 |
|
02-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
maildir copy: Try to use hard linking also between different namespaces.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
4f44284b96302c0a18203e2ac1243aeb193c6840 |
|
25-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Delayed NFS attribute cache flushing had some bug, so removed it for now.
--HG--
branch : HEAD |
9716b2665ee3938d3dfe64bda44d7c3ae3b55d30 |
|
16-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
nfs_safe_link(): Support linking files without original link count=1. Use it
when copying maildir files, but only if mail_nfs_storage=yes.
--HG--
branch : HEAD |
d98109d230575391c1dfe1bea3800d3ff0ac3f11 |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Use nfs_safe_link() instead of link().
--HG--
branch : HEAD |
746a7ec64a09649ed3c96c88b97cdc370a7bbe2f |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
NFS: Delay flushing dovecot-uidlist's attribute cache until we find an
unseen file or UID.
--HG--
branch : HEAD |
47001341950b8588c5f3a96b75864dab48e279ae |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_create_mode/gid from struct maildir_mailbox to struct mailbox.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
98b50695d27ec96e947b0de2d278c2b96560ee29 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Don't copy mails with hardlinks if source and destination file mode/gid are
different.
--HG--
branch : HEAD |
87c9068892d6e298e488a059136a98dbdf7dec4d |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
cleanup: s/maildir_uidlist_update()/maildir_uidlist_refresh()/
--HG--
branch : HEAD |
538303a216166f3526c0ae9658c9978275cfa100 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed maildir_generate_tmp_filename() to maildir_filename_generate(). Also
changed it to create the unique filename with time+usecs+pid, increasing
usecs as needed. So there's no longer a process delivery counter.
--HG--
branch : HEAD |
e8bdf1be00aec45d0c6dd72ad9c8be02a3dfc778 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved maildir filename related functions to maildir-filename.c
--HG--
branch : HEAD |
ff7056842f14fd3b30a2d327dfab165b9d15dd30 |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling rewrite.
--HG--
branch : HEAD |
ccc895c0358108d2304239063e940b7d75f364ab |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed struct index_storage abstraction. It's pointless.
--HG--
branch : HEAD |
de71fdcb6840a09c5830f9b4a9d08c6818c7706b |
|
23-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
comment update
--HG--
branch : HEAD |
dc673ce34be9d369fa4c2299d60c6285a46707ca |
|
22-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_with_hardlinks=yes could have caused "Duplicate file in
uidlist" errors. The fix slows it down a bit though, the files are now
always first hardlinked to tmp/ and later rename()d from there to cur/ or
new/.
--HG--
branch : HEAD |
0f506139b4c95589a09a81a5d51636aee994cd1e |
|
22-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added maildir_copy_preserve_filename setting.
--HG--
branch : HEAD |
2cfe9983ce7a6280636ee12beccc2e865111967b |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.
--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 |
5d8bb3817bfa1bdf06a06f1e8e7d4f0020f43510 |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Handle EMLINK and EPERM errors the same way as EXDEV when handling hardlink
failures. Added ECANTLINK() macro for this.
--HG--
branch : HEAD |
677e22747b82bf15b339e31d1d0106d62bf806da |
|
15-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Add ",S=size" to maildir filenames when quota plugin is loaded with
Maildir++ backend.
--HG--
branch : HEAD |
2ebeb22b9a8a8bb7fbe2f2e2908478a220792b87 |
|
09-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Changed mailbox_save_*() API a bit: Moved the struct mail *dest_mail to
save_init() instead of being in save_finish(). This way you can request
wanted fields from the mail while it's being saved.
With maildir the message is being parsed at the same time as it's being
saved, and the results are stored into cache file.
--HG--
branch : HEAD |
721b683078dab7a46e2a42cfcb81c7d066b57dea |
|
06-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Merged save-copying and hardlink-copying code so that hardlink-copying updates indexes immediately.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
e1ca7af110ea6eeb6303bdd8f07c172b11dff2fa |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
maildir_copy_with_hardlinks works again.
--HG--
branch : HEAD |
c13f3df87bc8ec1fb279fc0ffa6e8517f74dc07c |
|
06-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Added flags and keywords parameters to mailbox_copy() in case they're wanted
to be changed while copying.
--HG--
branch : HEAD |
1c890e28803578f778c85450172a388879bd4823 |
|
18-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
Disable hardlink copying until it's fixed
--HG--
branch : HEAD |
16f816d3f3c32ae3351834253f52ddd0212bcbf3 |
|
04-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Moved array declaration to array-decl.h and include it in lib.h. So array.h
needs to be now included to use any array_*() functions.
--HG--
branch : HEAD |
cce169a321c9c629e4f2db1a69dae3b75bbcb27a |
|
30-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Keywords are stored in maildir filename and maildir-keywords file
(backwards compatible with 0.99.x's .customflags file)
--HG--
branch : HEAD |
8153fdec343e40e2a78f5c12353e89b994b28f74 |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Created mbox_storage and maildir_storage.
--HG--
branch : HEAD |
b5e6f6f27c1461f0f9f202615eeb738a645188c3 |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Moved mbox/maildir-specific variables from struct index_mailbox to
mbox_mailbox and maildir_mailbox.
--HG--
branch : HEAD |
fdc557286bc9f92c5f3bb49096ff6e2bcec0ea79 |
|
15-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Major mail-storage API changes. It's now a bit cleaner and much more plugin
friendly. Removed proxy_mailbox* stuff, they were difficult to use and
there's now much easier way to replace them.
--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 |
a423d985ba7261661475811c22b21b80ec765a71 |
|
21-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Changed mail saving API to be nonblocking.
--HG--
branch : HEAD |
345212e8f61ebf14ff4f80df26df9e655eb5121e |
|
20-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
mailbox_save() and mailbox_copy() functions can now return the saved mail so
it can be immediately queried. Implemented UIDPLUS extension using it.
Maildir implementation missing, so it crashes with it for now.. APPEND with
mbox now doesn't require resyncing the mailbox since it updates indexes
directly.
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |
b37634f5bf23ff8c72b88ef6966fd5c730017419 |
|
11-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Maildir syncing works now without requiring base filenames to be in index
cache file. Also message flag updates with +FLAGS and -FLAGS works correctly
now if another client had just changed it's flags.
--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 |
ff1c87522054d080d68b0123373d989a8991aa2a |
|
26-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API changes: Don't keep variables in mailbox class.
--HG--
branch : HEAD |
dfbf03518468bee9a2ca54c104a9be71b38d4436 |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for copying messages.
--HG--
branch : HEAD |
84cb5a7e17355490bf48280eae5e32b5d3377898 |
|
19-Jun-2003 |
Timo Sirainen <tss@iki.fi> |
Hardlink copying crashed.
--HG--
branch : HEAD |
868772ffa3756090710d239f5a75cf20d3399760 |
|
15-Jun-2003 |
Timo Sirainen <tss@iki.fi> |
Only NOOP and CHECK will now always do a real mailbox sync. Other commands
will also do it but no often than once in 5 seconds. Also with maildir we
don't anymore try to sync it before running commands since syncing is now
done automatically whenever we try to access a file that doesn't exist.
--HG--
branch : HEAD |
db1ee4a91a6572602302115e02146b29adea3a54 |
|
18-May-2003 |
Timo Sirainen <tss@iki.fi> |
Maildir syncing updates: it's now faster, it handles read-only folders, it
handles many out of disk space conditions (uidlist doesn't) and all commands
finally handle the condition when maildir filename was renamed after
our syncing but before we had the chance to open it.
--HG--
branch : HEAD |
36ae421805c99e44c7a3aaca375ce924e815d3aa |
|
05-Apr-2003 |
Timo Sirainen <tss@iki.fi> |
hardlink copying was broken again
--HG--
branch : HEAD |
2de9aa3c03938fc3112fbcb5d4089026549e5c6f |
|
19-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Include microseconds in maildir filename base.
--HG--
branch : HEAD |
8ec4e32c9c886c777954c7b9d99fc5d9250b3805 |
|
22-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Support for MULTIAPPEND extension. COPY now behaves like spec says - if it
fails, none of the messages are copied. maildir_copy_with_hardlinks didn't
actually work.
--HG--
branch : HEAD |
5ce2084ada06ade9f44fc2914c34658e9a842dc1 |
|
20-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
mail-storage.h interface changes, affects pretty much everything.
FETCH, SEARCH, SORT and THREAD handling were pretty much moved from
lib-storage/ to imap/ so adding non-index storages would be much easier now.
Also POP3 server can now be easily implemented with lib-storage.
Not too well tested, and at least one major problem: partial fetching is
_slow_.
--HG--
branch : HEAD |
f923659c0e5298263d80622c99f4dc4132b4675b |
|
11-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming change for function typedefs.
--HG--
branch : HEAD |
c0435c854a0e7246373b9752d163095cc4fbe985 |
|
05-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
--HG--
branch : HEAD |
a8767e3a8dd08bb782f05dacf2c8877f3cba644e |
|
20-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Added :INDEX=<dir> for both Maildir and mbox to specify different location
where to store index files. This would allow keeping mailboxes accessible
through NFS but still keep the indexes in fast local disk.
Did also some other related cleanups and minor fixes.
--HG--
branch : HEAD |
555ebb032f9b8f0cdb66f27ce7374734833e7cac |
|
19-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Buffer related cleanups. Use PATH_MAX instead of hardcoded 1024 for paths.
Added str_path() and str_ppath() functions. i_snprintf() now returns only -1
or 0 depending on if buffer got full. dec2str() returns the string allocated
from data stack. Instead of just casting to (long) or (int), we now use
dec2str() with printf-like functions. Added o_stream_send_str(). Added
strocpy() and replaced all strcpy()s and strncpy()s with it.
Pretty much untested, hope it doesn't break too badly :)
--HG--
branch : HEAD |
c2bb1764c359ce85a7f7f789ead11dd613ff9769 |
|
25-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
Locking changes triggered a bit larger cleanup :) If we have to wait for a
lock longer, the client is now notified about it every 30 seconds. Also if
mailbox opening fails because of lock timeout, we won't overwrite the index
anymore. Finally user gets a clear error message about lock timeout instead
of "internal error".
--HG--
branch : HEAD |
100e980900f652c9114997d7153e010e0639effe |
|
04-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
And more locking/syncing fixes. Now it's finally beginning to look sane
again.
--HG--
branch : HEAD |
85eee5da111b2d6260f446bce3fba529e4294c3c |
|
02-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
Mostly mbox locking/syncing fixes. Still some problems though.
--HG--
branch : HEAD |
c04cafc1cdd093afcb32e313bcefbc9bb8972d9e |
|
27-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Moved several fields from .imap.index file to .imap.index.data file. Fixed
code so that most of the fields do not need to be set when building index,
allowing the index building to be fast (just readdir()s with maildir). This
still needs some configuration and ability to update the fields whenever it
can grab exclusive lock.
Also fixed SEARCH LARGER, SMALLER and KEYWORD.
--HG--
branch : HEAD |
a5a515ed977c15e61ffb293059e63659120af127 |
|
21-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Hardlink COPYing still copied the file name instead of generating a new one,
which really broke things when mail was duplicated in the same mailbox.
--HG--
branch : HEAD |
1138ef5e898296a167d1904e825ee654ee421591 |
|
21-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
Added setting mail_save_crlf. Few other settings cleanups.
--HG--
branch : HEAD |
2968c03063b4c0203a4ae6c8d4493ac4377460ff |
|
19-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
mail_custom_flags_list_unref() isn't needed, the list returned by
..list_get() can't be free'd even while the flags inside it
may change. But only unused flags may change and only while calling
..fix_list(), so it's no problem. Makes COPYing mails to selected mailbox
work.
--HG--
branch : HEAD |
93d369bdc4db0b1adf8c1d73f4134957d4dccf26 |
|
30-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
hardlink-COPY fixed.
--HG--
branch : HEAD |
ac50d909882a95e3012a186c577ddecb2d3f310f |
|
29-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Modify log fixes. STORE and SEARCH didn't handle properly message sequence
numbers when some in the middle were externally deleted.
--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 |
bd55fb75756b5a9405d7369a0b555e8197da8492 |
|
07-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Moved lib-index/mail-messageset.* to lib-storage/index/index-messageset.*.
--HG--
branch : HEAD |
7169e2898bd65ed97401d2419c7ea349c5516094 |
|
27-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Errors in user-specified messagesets are now properly reported back to user.
--HG--
branch : HEAD |
1215bc4d7e747846f282cf710e61f3768e69238d |
|
22-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
s/user_data/context/ and some s/Data/Context/
--HG--
branch : HEAD |
66251e6ab31e5cc153fe5cae608e416dacafe9cd |
|
08-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Initial revision
--HG--
branch : HEAD |