]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 18 Jun 2008 03:30:51 +0000 (06:30 +0300)]
Code cleanup: Don't mix up '\0' and NULL.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 03:28:18 +0000 (06:28 +0300)]
mail_index_ext_resize() may have looked up old record size from wrong
message.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 02:57:23 +0000 (05:57 +0300)]
Check strtoimax() and strtoumax() with inttypes.h included. They won't be
detected otherwise with HP-UX.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 01:59:20 +0000 (04:59 +0300)]
Moved non-syncing related search result updating code to a separate file and
did some other cleanups.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 01:34:46 +0000 (04:34 +0300)]
Search result update handling code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 02:19:56 +0000 (05:19 +0300)]
Renamed seq_range_array_remove_invert_range() to seq_range_array_intersect().
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 01:06:19 +0000 (04:06 +0300)]
Mailbox view sync: If modseqs are enabled, use them as well as direct
flag/keyword comparing to find out changes when transaction logs are
missing.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 23:37:06 +0000 (02:37 +0300)]
RPA auth mechanism: Fixed handling usernames longer than 255 characters.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 12:30:54 +0000 (15:30 +0300)]
Mailbox view sync: Figure out the changes by comparing old and new maps if
any of the required transaction logs are missing.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 11:00:28 +0000 (14:00 +0300)]
Added assert.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 10:59:47 +0000 (13:59 +0300)]
mail_index_record_map_move_to_private(): Drop messages from record_map the
map hasn't itself seen yet.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 10:57:48 +0000 (13:57 +0300)]
Added mail_index_map_lookup_keywords().
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 10:56:50 +0000 (13:56 +0300)]
CONTEXT=SEARCH optimization: Don't look up expunged messages' UIDs if we
don't have any saved search results.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 09:36:25 +0000 (12:36 +0300)]
Rotated transaction logs weren't always unlocked, potentially causing other
processes to fail with timeout errors.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 09:36:15 +0000 (12:36 +0300)]
Maildir saving: Fixed a potential crash when saving a mail with keywords.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 07:52:18 +0000 (10:52 +0300)]
Mail index view sync: Don't look for expunges if we already did it once.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 07:43:16 +0000 (10:43 +0300)]
Changed mail index view syncing API to return only flag changes.
Currently it has only a single caller and it's not interested in anything
else.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 07:25:55 +0000 (10:25 +0300)]
mail_index_view_sync_begin() code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 07:20:54 +0000 (10:20 +0300)]
mail_index_view_sync_begin() _FLAG_FIX_INCONSISTENT code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 06:56:28 +0000 (09:56 +0300)]
mail_index_view_sync_begin() now delays its failures to _commit().
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 05:14:53 +0000 (08:14 +0300)]
Updated conformed RFC list.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 10:10:06 +0000 (13:10 +0300)]
APPEND: Uncork stream only after syncing and sending tagged reply.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 08:02:56 +0000 (11:02 +0300)]
If $shrext_cmds isn't set for some reason, fallback to ".so" suffix.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 08:01:36 +0000 (11:01 +0300)]
MEMBER(): Don't try to use the C99 "." feature with HP-UX.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:57:48 +0000 (10:57 +0300)]
Fixed looking up plugin suffix.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:23:56 +0000 (10:23 +0300)]
Compiler warning fix
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:23:49 +0000 (10:23 +0300)]
Fixed setting MODULE_SUFFIX with OS X.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:13:29 +0000 (10:13 +0300)]
Previous changes broke plugin symlink creation in make install.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:07:09 +0000 (10:07 +0300)]
FreeBSD compile warning fix.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:05:55 +0000 (10:05 +0300)]
Removed accidentally committed debug code.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:01:32 +0000 (10:01 +0300)]
Compiler warning fix when compiling without iconv.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 07:00:42 +0000 (10:00 +0300)]
FreeBSD NFS workarounds: We called fchown() with random UID. It shouldn't
have really mattered though, because the call failed always anyway.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 01:39:49 +0000 (04:39 +0300)]
Reversing the primary sort criterion reversed also reversed secondary
criterions.
Fixed reverse sorting the first condition.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 01:36:19 +0000 (04:36 +0300)]
Added array_reverse().
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 01:25:05 +0000 (04:25 +0300)]
Uninlined some of the more complex array functions.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 00:53:37 +0000 (03:53 +0300)]
imap_get_base_subject_cased(): Subject trailers weren't removed correctly.
Also cleaned up the code a bit.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 23:19:53 +0000 (02:19 +0300)]
Message sorting by date, arrival or size was broken.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 23:00:07 +0000 (02:00 +0300)]
prefetch: Updated log message.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 22:43:19 +0000 (01:43 +0300)]
logview: Expand header update records to user-readable form.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 21:48:58 +0000 (00:48 +0300)]
Change fd limit in login process after it's execed. This fixes OSes which
don't allow setting fd limit below what's already used (e.g. HP-UX).
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 21:36:23 +0000 (00:36 +0300)]
Cleanup: Calculate file descriptor count a bit more correctly.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 21:28:18 +0000 (00:28 +0300)]
Support systems with non-C99 vsnprintf().
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 21:27:24 +0000 (00:27 +0300)]
t_get_bytes_available(): Return a bit less than is available because some
space is wasted to alignmentation (and for other things when DEBUG enabled).
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 20:49:58 +0000 (23:49 +0300)]
HP-UX fs quota: Convert blocks to bytes using filesystem's actual block size
instead of using a hardcoded DEV_BSIZE (should this be done with other OSes
too?)
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 20:31:51 +0000 (23:31 +0300)]
Added more fallbacks if strtoll() or strtoull() isn't implemented
(e.g. HP-UX).
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 20:16:46 +0000 (23:16 +0300)]
HP-UX: Fixed compiling problem in fs-quota.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 20:13:24 +0000 (23:13 +0300)]
fs quota: message/inode values and limits were set wrong, except for Solaris
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 20:11:45 +0000 (23:11 +0300)]
If we need -lcrypto for randomness, put it to $LIBS instead of $RAND_LIBS
since it needs to be linked to all binaries anyway.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 01:52:57 +0000 (04:52 +0300)]
Increased default mail search args memory pool size.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 01:51:40 +0000 (04:51 +0300)]
Make sure initial_modseq is correct when rotating transaction log.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 01:51:23 +0000 (04:51 +0300)]
Update sync_highest_modseq while appending new transactions.
Our own transaction commits
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Jun 2008 01:47:17 +0000 (04:47 +0300)]
QRESYNC: We could have sent VANISHED with UID 0.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 00:29:40 +0000 (03:29 +0300)]
mbox_from_parse() now returns also the parsed timezone.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Jun 2008 00:29:24 +0000 (03:29 +0300)]
Added imap_to_datetime_tz() to create IMAP date-time with specified timezone.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 10:16:08 +0000 (13:16 +0300)]
Quota: If quota root has unwanted parameters, log an error and die.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 05:39:46 +0000 (08:39 +0300)]
dbox: Don't double-free memory if message saving is aborted.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 03:08:57 +0000 (06:08 +0300)]
Message header parser: Don't return values pointing to input stream. It
seemed to work most of the time, but not always when combined with
message-parser.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Jun 2008 02:28:17 +0000 (05:28 +0300)]
tests: Test message-parser better with nonblocking input.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 23:54:39 +0000 (02:54 +0300)]
threading left search parameters broken when returning.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 23:24:03 +0000 (02:24 +0300)]
mail_hash_update() updated wrong index.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 23:15:38 +0000 (02:15 +0300)]
CONTEXT=SEARCH: Removed extra ')' from ESEARCH replies.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 23:08:16 +0000 (02:08 +0300)]
dbox: Set MAILBOX_NOCHILDREN flag for selectable mailboxes if we know it.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 23:03:17 +0000 (02:03 +0300)]
dbox: Set MAILBOX_CHILDREN flag for \NoSelect mailboxes if we know it.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 22:48:48 +0000 (01:48 +0300)]
SEARCH: Fixed NOT <seqset> not matching anything.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 22:42:21 +0000 (01:42 +0300)]
thread indexes: Fixed infinite loop.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 21:31:59 +0000 (00:31 +0300)]
Use dynamic module suffix provided by libtool rather than hardcoded ".so".
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 21:19:20 +0000 (00:19 +0300)]
HP-UX: Added missing EX_CONFIG macro
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Jun 2008 21:18:23 +0000 (00:18 +0300)]
HP-UX: Fixed quota-fs compiling.
--HG--
branch : HEAD
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