]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 11 Jun 2008 21:04:01 +0000 (00:04 +0300)]
HP-UX: Fixed fd passing.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 21:01:21 +0000 (00:01 +0300)]
HP-UX: pread() and pwrite() are broken, use our own implementation.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 20:55:36 +0000 (23:55 +0300)]
dict sql: Iterated keys need to contain private/shared prefix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 20:48:57 +0000 (23:48 +0300)]
expire-tool: Iterate dict recursively - we want everything.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 20:48:34 +0000 (23:48 +0300)]
Fixed dict iteration with SQL backend.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 13:11:03 +0000 (16:11 +0300)]
CLOSE: Use MAILBOX_SYNC_FLAG_EXPUNGE.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 12:44:35 +0000 (15:44 +0300)]
QRESYNC: Send HIGHESTMODSEQ automatically in all tagged replies whenever it
seems useful.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 12:43:12 +0000 (15:43 +0300)]
Changed the way mailbox changing ambiguity is checked.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 11:39:52 +0000 (14:39 +0300)]
QRESYNC: If MODSEQs were returned in FETCH replies but there are pending
expunges, send a low enough HIGHESTMODSEQ reply to make sure the client will
later see the expunges.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 11:37:49 +0000 (14:37 +0300)]
QRESYNC: Always send UID in FETCH sync replies.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 11:36:44 +0000 (14:36 +0300)]
QRESYNC crashfix
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 11:35:15 +0000 (14:35 +0300)]
Modseqs are no longer calculated from transaction log sequence + offset.
Now they begin from 1 and each "visible" transaction increases it by one.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 11:28:54 +0000 (14:28 +0300)]
Added missing virtual-plugin.h
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 01:26:48 +0000 (04:26 +0300)]
UID SEARCH: Don't return EXPUNGEs if search criteria contains sequences.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Jun 2008 23:30:34 +0000 (02:30 +0300)]
logview: Handle unexpected header sizes correctly.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Jun 2008 19:06:26 +0000 (22:06 +0300)]
LIST: Renamed X-STATUS return option to STATUS, since the first draft of the
standard was released now. The capability isn't added yet though.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Jun 2008 17:28:48 +0000 (20:28 +0300)]
env_clean(): calloc() is probably the safest way to do it.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Jun 2008 04:27:19 +0000 (07:27 +0300)]
env_clean(): Try yet another way that appears to work better.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 19:02:02 +0000 (22:02 +0300)]
Removed pool parameter from message_search_init().
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 18:25:21 +0000 (21:25 +0300)]
Use clearenv() if available.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 16:05:29 +0000 (19:05 +0300)]
env_clean(): Don't free environment memory pool to make sure the environment
won't get corrupted in case the clearing fails.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 03:11:38 +0000 (06:11 +0300)]
deliver: Kludge more to get boolean settings with "yes" as default value to
work correctly.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 03:04:01 +0000 (06:04 +0300)]
Maildir: When hardlink-copying a file, copy the W=vsize if it exists in the
original filename.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 02:55:51 +0000 (05:55 +0300)]
Added documentation about how thread indexes work.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 02:29:05 +0000 (05:29 +0300)]
Added a note about this being UNSTABLE branch.
--HG--
branch : HEAD
Timo Sirainen [Mon, 9 Jun 2008 02:11:18 +0000 (05:11 +0300)]
Merged latest v1.1 changes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 8 Jun 2008 21:57:19 +0000 (00:57 +0300)]
mailbox_sync(): Don't call mailbox_sync_next() - it's not necessary and it
just slows down the syncing.
--HG--
branch : HEAD
Timo Sirainen [Sun, 8 Jun 2008 21:56:32 +0000 (00:56 +0300)]
Minor code cleanup
--HG--
branch : HEAD
Timo Sirainen [Sat, 7 Jun 2008 02:10:26 +0000 (05:10 +0300)]
If writing to log failed with EAGAIN (shouldn't normally happen), waiting
for the log fd to be writable again was buggy.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Jun 2008 17:08:23 +0000 (20:08 +0300)]
sort index: Try to catch broken sort_ids and recreate them correctly instead
of assert-crashing.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Jun 2008 17:07:45 +0000 (20:07 +0300)]
sort index: Messages without sort_id weren't sorted correctly on secondary
sort conditions.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Jun 2008 16:40:07 +0000 (19:40 +0300)]
sort index: Removed some optimization checks that wouldn't always be true,
causing bad results.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Jun 2008 14:15:14 +0000 (17:15 +0300)]
maildir: Write dovecot-uidlist before syncing index to make sure that any
new messages' filenames are available immediately when they're seen in index.
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Jun 2008 17:32:33 +0000 (20:32 +0300)]
gssapi: Check for gssapi_krb5.h existence before trying to use it.
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Jun 2008 17:23:05 +0000 (20:23 +0300)]
sort index: Fixed infinite looping.
--HG--
branch : HEAD
Timo Sirainen [Tue, 3 Jun 2008 13:04:32 +0000 (16:04 +0300)]
mbox: Empty lines were inserted in the middle of saved mails' headers.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 23:46:32 +0000 (02:46 +0300)]
auth_debug_passwords: Include the password when logging about "Requested x
scheme, but we have only y".
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 23:17:04 +0000 (02:17 +0300)]
Changed deliver -c parameter to -p parameter, which is the correct one.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 23:16:08 +0000 (02:16 +0300)]
deliver: Added -p parameter to help.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 22:02:37 +0000 (01:02 +0300)]
Added tag 1.1.rc8 for changeset
58c7f5c31db1
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 22:02:31 +0000 (01:02 +0300)]
Released v1.1.rc8.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 19:10:28 +0000 (22:10 +0300)]
expire plugin: Pass username to dict_init().
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 19:10:11 +0000 (22:10 +0300)]
dict: Added assert to make sure username is never NULL.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 19:08:58 +0000 (22:08 +0300)]
Compiler warning fix
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 18:20:22 +0000 (21:20 +0300)]
mbox: We always add end-of-headers line while saving the message, so make
sure the parsing code also sees it and updates cache correctly.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 18:19:26 +0000 (21:19 +0300)]
header filter istream: Added HEADER_FILTER_ADD_MISSING_EOH flag to add
end-of-headers line if it's missing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 18:06:27 +0000 (21:06 +0300)]
If cached message part showed header's size to be smaller than in reality,
return "broken" instead of assert-crashing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 18:00:49 +0000 (21:00 +0300)]
dbox: Forgot to add pop3.uidl cache variables in previous commit.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:23:28 +0000 (20:23 +0300)]
Link test-imap with libcharset.a as well (required by some linkers)
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:18:11 +0000 (20:18 +0300)]
dbox sync rebuilding: Don't leave all maildir file fds open until the end of
sync. It can cause too many open files.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:01:42 +0000 (20:01 +0300)]
dbox: Use POP3 UIDLs from metadata if they exist.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:00:45 +0000 (20:00 +0300)]
dbox: When converting maildir-format file to native dbox format, be sure to
set received/save dates in metadata. Try to write virtual size as well if it
exists in the maildir filename.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 16:18:54 +0000 (19:18 +0300)]
deliver: Added -c parameter to provide path to delivered mail. This allows
maildir to save it using hard links.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 16:17:31 +0000 (19:17 +0300)]
maildir copy: Try to use hard linking also between different namespaces.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 15:57:13 +0000 (18:57 +0300)]
dbox: Fixed opening a maildir-converted file.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 15:51:02 +0000 (18:51 +0300)]
dbox: Crashfix when using old maildir files.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 15:25:15 +0000 (18:25 +0300)]
dbox: If converted maildir filenames don't contain ,W=<vsize>, don't return
broken values.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 13:23:50 +0000 (16:23 +0300)]
maildir -> dbox conversion: Create the destination mailbox so the conversion
won't fail with rename() error.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 13:19:54 +0000 (16:19 +0300)]
dbox: Support creating non-selectable mailboxes ("directories").
--HG--
branch : HEAD
Timo Sirainen [Sat, 31 May 2008 11:27:27 +0000 (14:27 +0300)]
Rewrite X-IMAPbase: header before updating index file header, so that we
write the latest mtime as sync_stamp.
--HG--
branch : HEAD
Timo Sirainen [Sat, 31 May 2008 10:59:46 +0000 (13:59 +0300)]
Don't try to call a cancelled command if it hasn't started running. Cancel
the input-waiting command last. These should fix "Trying to close mailbox
with open transactions" assert when client disconnects.
--HG--
branch : HEAD
Timo Sirainen [Sat, 31 May 2008 10:47:11 +0000 (13:47 +0300)]
MAIL_FETCH_UIDL_BACKEND crashed with non-maildir backends. Changed the API a
bit and fixed/cleaned/optimized POP3 UIDL listing a bit.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 19:55:46 +0000 (22:55 +0300)]
Added tag 1.1.rc7 for changeset
290bd8b0c2d7
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 19:55:36 +0000 (22:55 +0300)]
Released v1.1.rc7.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 19:54:34 +0000 (22:54 +0300)]
Link test-imap with libmail.a as well (required by some linkers)
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 09:00:29 +0000 (12:00 +0300)]
Previous fix broke CMP_ST_CTIME() nsec checks.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 08:58:56 +0000 (11:58 +0300)]
Fixed compiling in BSD systems.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 00:15:22 +0000 (03:15 +0300)]
Added tag 1.1.rc6 for changeset
79857a116d28
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 00:15:07 +0000 (03:15 +0300)]
Released v1.1.rc6.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 23:54:06 +0000 (02:54 +0300)]
When saving new messages, make sure we parse the "Date" header so we can
add "date.sent" to cache file even if "hdr.Date" isn't added.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 23:09:20 +0000 (02:09 +0300)]
Fixes to handling races in initial index creation.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 16:11:32 +0000 (19:11 +0300)]
SEARCH/SORT/THREAD: If search parameters are missing, return a clear error
message.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 16:08:05 +0000 (19:08 +0300)]
If SORT/THREAD has invalid search parameters, return BAD instead of NO.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 15:57:56 +0000 (18:57 +0300)]
Maildir: If POP3 UIDL extra field is found from dovecot-uidlist, it's used
instead of the default UIDL format (or X-UIDL: header).
Patch by Nicholas Von Hollen @ Mailtrust.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 15:49:55 +0000 (18:49 +0300)]
Sort index optimization: Don't write changes to sort IDs if we're doing it
only to give sort ID space to expunged messages.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 15:47:46 +0000 (18:47 +0300)]
Sort index: Fix to renumbering sort IDs.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 13:29:35 +0000 (16:29 +0300)]
Sort index: Handle reset_id growing while adding non-wanted messages to sort
list.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 04:05:18 +0000 (07:05 +0300)]
Fixes to sort indexing.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 03:17:24 +0000 (06:17 +0300)]
logview: Show ext reset.preserve_data.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 03:16:06 +0000 (06:16 +0300)]
Message sort index handling rewrite to fix several race conditions when
multiple processes are sorting at the same time. Also fixes sorting to work
correctly with 64bit timestamps and file sizes.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 01:47:53 +0000 (04:47 +0300)]
Added mail_index_ext_reset_inc() to atomically increase extension's
reset_id. Added clear_data parameter to mail_index_ext_reset*().
--HG--
branch : HEAD
Timo Sirainen [Wed, 28 May 2008 16:03:42 +0000 (19:03 +0300)]
Print raw backtrace when dying with out-of-memory (with all log backends).
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 23:09:47 +0000 (02:09 +0300)]
Avoid using shadow variables. Unfortunately -Wshadow also complains about
index variable conflicting with index(), which is used in way too many
places to change.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 21:16:12 +0000 (00:16 +0300)]
mbox: Be sure to flush output when writing to non-seekable "mboxes" (pipes).
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 21:12:01 +0000 (00:12 +0300)]
mbox: When saving messages buffer the output until it's full, so if we die
at the beginning we don't just leave a single From_-line.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 15:50:58 +0000 (18:50 +0300)]
Minor cleanup to previous commit.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 15:49:35 +0000 (18:49 +0300)]
If dovecot-uidlist contains a filename with '/', log an error and recreate
the uidlist instead of assert-crashing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 15:47:24 +0000 (18:47 +0300)]
Code cleanup
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 11:46:00 +0000 (14:46 +0300)]
Prefix AC_CACHE_CHECK variables with i_cv_.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 11:05:09 +0000 (14:05 +0300)]
Once $KRB5_CFLAGS is set, use it instead of calling krb5-config again.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 19:31:10 +0000 (22:31 +0300)]
Don't crash if subscribed mailbox begins with hierarchy separator.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 13:05:09 +0000 (16:05 +0300)]
If SUBSCRIBE or UNSUBSCRIBE fails, we returned "Unknown error".
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 12:10:59 +0000 (15:10 +0300)]
expire-tool: Fixed changing uid/gid.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 02:01:47 +0000 (05:01 +0300)]
Maildir: Moved uidlist refreshing to maildir_uidlist_lookup() where it
benefits all callers.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:49:08 +0000 (04:49 +0300)]
Fixed previous transaction log assert-avoidance check.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:44:18 +0000 (04:44 +0300)]
Fixed GSSAPI checks. Perhaps it works now with Solaris krb5-config also.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:19:49 +0000 (04:19 +0300)]
If index file's header shows that it's unusable (e.g. major version change
or CPU arch change), make sure they're not tried to be used and handle the
rebuilding nicely.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:18:42 +0000 (04:18 +0300)]
When creating a new transaction log, don't reuse an existing one if its
sequence isn't 1.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:17:39 +0000 (04:17 +0300)]
Avoid assert-crashing with broken transaction log files.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 00:11:15 +0000 (03:11 +0300)]
squat: Flush NFS caches.
--HG--
branch : HEAD