]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 24 Mar 2009 21:10:29 +0000 (17:10 -0400)]
dbox: No longer allow an empty MAILBOXDIR. Future code relies on this.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Mar 2009 21:18:56 +0000 (17:18 -0400)]
dbox: Changed the default mailbox dir name, subscriptions and uidvalidity filenames.
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Mar 2009 21:30:45 +0000 (17:30 -0400)]
Added :MAILBOXDIR= to mail_location to specify the root dir for mailboxes.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Mar 2009 00:17:16 +0000 (20:17 -0400)]
dbox: Implemented copying by changing refcounts.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Mar 2009 00:16:56 +0000 (20:16 -0400)]
idxview: SHow 16bit extension fields also as decimals.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Mar 2009 00:10:55 +0000 (20:10 -0400)]
mail_index_atomic_inc_ext() didn't handle multiple increments within a transaction.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 22:31:09 +0000 (18:31 -0400)]
dbox: Create missing storage directory automatically when needed.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 22:26:05 +0000 (18:26 -0400)]
dbox: Don't give an error if "storage" directory is missing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 22:15:50 +0000 (18:15 -0400)]
dbox: Create usable indexes when mailboxes are created.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 21:40:32 +0000 (17:40 -0400)]
Don't cache Date: header if we don't really want it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 21:02:00 +0000 (17:02 -0400)]
dbox: Cleaning wasn't actually expunging records from map index.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 20:54:42 +0000 (16:54 -0400)]
dbox: Improved "Inconsistency in map index" error message.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 20:53:30 +0000 (16:53 -0400)]
mail_index_sync_get_offsets() now returns offset1 right.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 20:16:17 +0000 (16:16 -0400)]
dbox: Make sure indexes are never moved to memory (in case of out-of-disk space).
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 20:08:09 +0000 (16:08 -0400)]
Don't reset modseqs when reseting index.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 19:50:49 +0000 (15:50 -0400)]
dbox fixes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 23 Mar 2009 19:50:37 +0000 (15:50 -0400)]
idxview: Updated showing dbox data.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 22:23:12 +0000 (18:23 -0400)]
Added i_stream_is_eof().
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 22:22:59 +0000 (18:22 -0400)]
dbox bugfixes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 22:22:37 +0000 (18:22 -0400)]
Removed some asserts that dbox code hits now.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 22:21:25 +0000 (18:21 -0400)]
Mailbox syncing: If syncing wrote to transaction log, update the tail offset to include them.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 22:20:32 +0000 (18:20 -0400)]
Don't log an error if dovecot.index doesn't exist while trying to create the backup.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 18:06:15 +0000 (14:06 -0400)]
dbox: Initial code for handling crashes while writing to map index.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 18:05:50 +0000 (14:05 -0400)]
Added FSYNC flag for transactions.
--HG--
branch : HEAD
Timo Sirainen [Fri, 20 Mar 2009 18:05:33 +0000 (14:05 -0400)]
Added mail_index_sync_get_offsets().
--HG--
branch : HEAD
Timo Sirainen [Thu, 19 Mar 2009 00:01:34 +0000 (20:01 -0400)]
dbox: Initial commit for rebuilding multi-file dbox. Also added support for using backup index.
These changes are fully untested.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Mar 2009 21:00:11 +0000 (17:00 -0400)]
dbox: Create dovecot.index.backup files.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Mar 2009 19:24:46 +0000 (15:24 -0400)]
dbox: Code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Mar 2009 19:22:59 +0000 (15:22 -0400)]
dbox: When saving a message, put the original mailbox name to metadata.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Mar 2009 17:48:14 +0000 (13:48 -0400)]
dbox: More error handling.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 23:10:01 +0000 (19:10 -0400)]
dbox: More error handling fixes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 22:42:13 +0000 (18:42 -0400)]
Removed rarely used parameters from mail_index_transaction_commit().
mail_index_transaction_commit_get_pos() can be used where they're required.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 22:20:13 +0000 (18:20 -0400)]
dbox: Code cleanups and error handling improvements.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 22:12:45 +0000 (18:12 -0400)]
Added mail_index_open_or_create().
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 20:11:38 +0000 (16:11 -0400)]
imap: Code cleanup: Changed buffer to an array.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 20:06:30 +0000 (16:06 -0400)]
dbox: Fixes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Mar 2009 20:03:40 +0000 (16:03 -0400)]
imap: Improve "FETCH .. got too little data" error messages.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 22:39:19 +0000 (18:39 -0400)]
dbox: Reimplemented file cleanup in a safer way. Added some more error handling.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 16:29:02 +0000 (12:29 -0400)]
Compile warning fix.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 16:27:03 +0000 (12:27 -0400)]
indexes: Fixes to handling shrinking tail offsets.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 15:22:26 +0000 (11:22 -0400)]
dbox: When doing a cleanup, need to refresh map index after locking.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 04:59:14 +0000 (00:59 -0400)]
indexes: Removed unnecessary code.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 02:27:04 +0000 (22:27 -0400)]
Improved "corrupted transaction log file" error message.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 02:10:52 +0000 (22:10 -0400)]
dbox: Make sure we don't append to files that are already unlinked.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 01:10:44 +0000 (21:10 -0400)]
dbox fixes
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 01:00:31 +0000 (21:00 -0400)]
If indexes had been reset, extension changes may have been written wrong.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 00:51:35 +0000 (20:51 -0400)]
indexes: Don't add ext-intros unnecessarily twice for ext-rec updates.
Also did some code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Mar 2009 00:17:30 +0000 (20:17 -0400)]
indexes: Crashfix to error handling.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Mar 2009 21:49:10 +0000 (16:49 -0500)]
dbox: Locking fix.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Mar 2009 21:17:59 +0000 (16:17 -0500)]
dbox: Fixes to save/expunge/cleanup.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Mar 2009 21:17:39 +0000 (16:17 -0500)]
mail_index_atomic_inc_ext(): Added error checking.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Mar 2009 19:43:49 +0000 (14:43 -0500)]
idxview: Updated to show dbox message sizes.
--HG--
branch : HEAD
Timo Sirainen [Thu, 5 Mar 2009 23:24:19 +0000 (18:24 -0500)]
dbox: Saving shouldn't close any files after all, otherwise locks are lost.
--HG--
branch : HEAD
Timo Sirainen [Thu, 5 Mar 2009 22:27:25 +0000 (17:27 -0500)]
indexes: Make sure we don't shrink log_file_tail_offset.
--HG--
branch : HEAD
Timo Sirainen [Thu, 5 Mar 2009 21:37:44 +0000 (16:37 -0500)]
dbox: Don't close file we appended to if we're still reading from it.
--HG--
branch : HEAD
Timo Sirainen [Thu, 5 Mar 2009 21:28:56 +0000 (16:28 -0500)]
dbox: File cleanup is for now done in logout.
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Mar 2009 22:40:46 +0000 (17:40 -0500)]
dbox: Initial support for expunging messages.
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Mar 2009 22:40:24 +0000 (17:40 -0500)]
Added mail_index_atomic_inc_ext() for atomically incrementing numbers in extensions.
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Mar 2009 17:03:19 +0000 (12:03 -0500)]
virtual: Fixed to work again after set_uid_cache_updates() addition.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 17:30:36 +0000 (12:30 -0500)]
dbox: Fixes to saving messages.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 17:23:30 +0000 (12:23 -0500)]
dbox: Store message sizes to map index and use them. Some other save optimizations.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 17:22:33 +0000 (12:22 -0500)]
Mail copying: Avoid updating cache file because of copying.
The mail is being opened in any case, so it's unlikely to help anything.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 02:39:59 +0000 (21:39 -0500)]
dbox: Save optimizations.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 02:39:41 +0000 (21:39 -0500)]
Added o_stream_pwrite().
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 02:13:29 +0000 (21:13 -0500)]
Added i_stream_get_size(). Use it instead of i_stream_stat() where possible.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 00:45:07 +0000 (19:45 -0500)]
dbox: Initial support for saving multiple messages per file.
--HG--
branch : HEAD
Timo Sirainen [Wed, 25 Feb 2009 00:44:53 +0000 (19:44 -0500)]
idxview: Expand dbox map extension contents.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Feb 2009 23:12:32 +0000 (18:12 -0500)]
o_stream_send_istream(): Don't do backwards copying if the area doesn't really overlap.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Feb 2009 23:11:01 +0000 (18:11 -0500)]
ostream: When copying backwards within a file, update in/outstream offsets.
--HG--
branch : HEAD
Timo Sirainen [Tue, 24 Feb 2009 21:55:11 +0000 (16:55 -0500)]
mail_index_map_ext_hdr_check(): Fixed a wrong check.
--HG--
branch : HEAD
Timo Sirainen [Thu, 19 Feb 2009 23:39:43 +0000 (18:39 -0500)]
idxview: Support specifying the name of dovecot.index file.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Feb 2009 21:40:45 +0000 (16:40 -0500)]
dbox: Some more code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Feb 2009 21:24:39 +0000 (16:24 -0500)]
dbox: Cleaned up code to get ready for global storage.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Feb 2009 18:40:14 +0000 (13:40 -0500)]
dbox: Removed some more unnecessary code.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Feb 2009 03:47:50 +0000 (22:47 -0500)]
dbox: use mailbox uidvalidity file again for assigning new UIDVALIDITY.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Feb 2009 03:44:42 +0000 (22:44 -0500)]
dbox: Removed dbox-index code.
--HG--
branch : HEAD
Timo Sirainen [Tue, 17 Feb 2009 01:30:15 +0000 (20:30 -0500)]
dbox: Removed code that is no longer necessary with the redesign.
- Maildir code now uses dovecot-uidlist directly instead of dbox.index.
- Flags and keywords are no longer written to metadata.
- Removed metadata modifying code entirely.
- dbox.index is no longer read or written. The code will be removed soon.
--HG--
branch : HEAD
Timo Sirainen [Fri, 13 Feb 2009 22:44:00 +0000 (17:44 -0500)]
Fixed comment for mailbox_list_iter_deinit().
--HG--
branch : HEAD
Timo Sirainen [Thu, 12 Feb 2009 23:36:45 +0000 (18:36 -0500)]
"Maildir filename has wrong W value" error was missing new/cur directory in the middle.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Feb 2009 22:30:52 +0000 (17:30 -0500)]
Code comments updated.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Feb 2009 04:21:02 +0000 (23:21 -0500)]
pop3: Don't crash at startup if mailbox is empty.
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Feb 2009 00:28:06 +0000 (19:28 -0500)]
Added tag 1.2.beta1 for changeset
c21c082aebb6
--HG--
branch : HEAD
Timo Sirainen [Wed, 11 Feb 2009 00:28:02 +0000 (19:28 -0500)]
Released v1.2.beta1.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 17:46:14 +0000 (12:46 -0500)]
Minor changes to mailbox list indexing code. Still disabled/non-working.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 17:19:05 +0000 (12:19 -0500)]
pop3/imap: When master closes our log fd, don't die when trying to log disconnect reason.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 17:01:41 +0000 (12:01 -0500)]
Renamed imap_args_to_str() to imap_write_args() and added a new imap_args_to_str().
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 03:44:42 +0000 (22:44 -0500)]
master: Another deinit crashfix
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 02:04:08 +0000 (21:04 -0500)]
Updated.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 01:07:40 +0000 (20:07 -0500)]
Give an error if inbox=yes namespace is missing.
Previously we attempted to set it automatically, but that didn't work.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 01:00:13 +0000 (20:00 -0500)]
master: make sure we don't access freed memory on deinit.
--HG--
branch : HEAD
Timo Sirainen [Tue, 10 Feb 2009 00:44:07 +0000 (19:44 -0500)]
master: Don't crash if auth process dies too early.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 23:08:56 +0000 (18:08 -0500)]
imap-acl plugin: Memory leak fix
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 22:40:10 +0000 (17:40 -0500)]
pgsql: Fixes to handling reconnecting to server.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 22:19:57 +0000 (17:19 -0500)]
dict sql: If connect setting isn't given, give an error message instead of crashing.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 18:49:07 +0000 (13:49 -0500)]
imap: Added module contexts to struct client_command_context.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 18:39:48 +0000 (13:39 -0500)]
imap: Store command args to client command contexts for debugging purposes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 18:38:54 +0000 (13:38 -0500)]
Added imap_args_to_str()
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 18:38:26 +0000 (13:38 -0500)]
imap: export imap_commands array containing all registered commands.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 18:10:06 +0000 (13:10 -0500)]
Avoid calling imap_parser_*() directly. It's not required.
--HG--
branch : HEAD
Timo Sirainen [Fri, 6 Feb 2009 17:49:46 +0000 (12:49 -0500)]
Mail copying API changed to be based on save API. This allows extending it easily in future.
--HG--
branch : HEAD