History log of /dovecot/src/lib-storage/mailbox-list-private.h
Revision Date Author Comments Expand
847caf605dc11acfb1861586b558d9cca4a85cb0 07-Feb-2018 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mailbox_list_[un]lock()

49c48631cfd07017d5f93d83713fffe4f13730c4 24-Jul-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Allow LISTINDEX to point to a different directory Most importantly because the mailbox list index is only a cache, it could be safely pointed to e.g. tmpfs to save disk I/O.

4654cf737f538f5de032b8c9908913f121917366 10-Jul-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mailbox_list_last_error_push/pop() These are similar to mail_storage_last_error_push/pop()

5069b6adc4acb0efb3c6e87e778b820bae9bae9b 03-Jul-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Add mailbox_permissions_copy()

427250183664665c9067880c0dafa0203fb00ebc 30-May-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Make mailbox_list_iter_init_autocreate() static again It's no longer needed elsewhere.

f8a67af9b7bde79c186e6b82ea200d7fcf85571b 30-May-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Fix mailbox_list_index=yes + ACLs + auto=subscribe mailboxes If the auto=subscribe mailbox didn't have a lookup ACL, it shouldn't have been listed. This didn't work properly, because ACL plugin initialized the autocreate_ctx only for the index iterator, while the autoboxes were listed using the backend iterator. Fixed by not creating index iterator at all when doing a passthrough iteration.

58a89627905e3590381cdd5eb931b9537c4b4ea6 19-May-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Implement mailbox_list_notify_flush() This flushes any pending notifications. For now it only checks if there's a pending notification waiting for a timeout. It could also stat() the files to make sure, but that's probably unnecessary.

b5c6ce2ab8dc1a5817e8adc989d21a9f603a6673 18-May-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-storage: Rename autocreate_iter_existing to mailbox_list_iter_autocreate_filter It makes next commit possible

34b724d1d7e50b1ab24267a3b6fc089b1147c1ab 23-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-storage: Add and use default mailbox iterator The idea is to allow mail plugins to see also the non-existent autoboxes by feeding them thru the iterator. Fixes problem where autocreated boxes are not seen by ACL plugin.

fbcc3e140de579779d67b6cb9a0220eb2a13ad8a 23-Mar-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-storage: Expose mailbox_list_init_autocreate It is needed when backend_ctx is created on the fly

8ca217bf3aa23c7922d0d4aa44fcd2320416d61c 23-Mar-2017 Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>

lib-storage: Add mailbox_list_get_last_internal_error() This returns the error given to mailbox_list_set_critical().

fa780a18c41881036af582f7a3473d6399e9d34d 16-Dec-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Make dovecot.list.index's filename configurable. This is useful when there are multiple namespaces pointing to the same mail root directory. For example mdbox with lazy-expunge: namespace { prefix = Expunged/ location = mdbox:~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index .. }

33525312d3f45995686aa0b538dea1cd6eb936e2 16-Dec-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Deduplicate code into mailbox_list_settings_init_defaults()

bedb7f369599d112e62eed14ab692351493bf623 09-Sep-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-storage: Limit folder full name only Before we had limit of 16 levels and 255 bytes per name which is same as 4096 bytes. Now we limit only the total length of the name to MAILBOX_LIST_NAME_MAX_LENGTH. For compability reasons, we are restricting individual component names to 255 characters.

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]

/dovecot/src/anvil/anvil-connection.c /dovecot/src/anvil/penalty.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-penalty.c /dovecot/src/auth/auth-postfix-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/db-sql.h /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb-static.c /dovecot/src/config/config-connection.c /dovecot/src/config/config-parser-private.h /dovecot/src/config/doveconf.c /dovecot/src/dict/dict-connection.h /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.h /dovecot/src/director/director.h /dovecot/src/director/doveadm-connection.c /dovecot/src/director/login-connection.c /dovecot/src/director/mail-host.h /dovecot/src/director/user-directory.h /dovecot/src/doveadm/client-connection.h /dovecot/src/doveadm/doveadm-dsync.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail.h /dovecot/src/doveadm/doveadm-print-flow.c /dovecot/src/doveadm/doveadm-print-pager.c /dovecot/src/doveadm/doveadm-print-tab.c /dovecot/src/doveadm/doveadm-print-table.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/dsync/dsync-brain-private.h /dovecot/src/doveadm/dsync/dsync-ibc-private.h /dovecot/src/doveadm/dsync/dsync-ibc-stream.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree.h /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-login/imap-login-client.h /dovecot/src/imap-urlauth/imap-urlauth-client.h /dovecot/src/imap-urlauth/imap-urlauth-login.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-urlfetch.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-notify.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sync.c /dovecot/src/indexer/indexer-client.c /dovecot/src/indexer/indexer-queue.h /dovecot/src/indexer/master-connection.c /dovecot/src/indexer/worker-connection.c /dovecot/src/ipc/ipc-connection.h /dovecot/src/lib-auth/auth-client-private.h /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-compression/istream-bzlib.c /dovecot/src/lib-compression/istream-lz4.c /dovecot/src/lib-compression/istream-lzma.c /dovecot/src/lib-compression/istream-zlib.c /dovecot/src/lib-compression/ostream-bzlib.c /dovecot/src/lib-compression/ostream-lzma.c /dovecot/src/lib-compression/ostream-zlib.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-fs/fs-api-private.h /dovecot/src/lib-http/http-client-private.h /dovecot/src/lib-http/http-header-parser.c /dovecot/src/lib-http/http-message-parser.h /dovecot/src/lib-http/http-request-parser.c /dovecot/src/lib-http/http-request.h /dovecot/src/lib-http/http-response.h /dovecot/src/lib-http/http-server-private.h /dovecot/src/lib-http/http-transfer-chunked.c /dovecot/src/lib-http/http-url.c /dovecot/src/lib-http/http-url.h /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap-storage/imap-metadata.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.h /dovecot/src/lib-imap-urlauth/imap-urlauth-private.h /dovecot/src/lib-imap/imap-arg.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/imap-url.h /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log-view-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-mail/istream-binary-converter.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/message-decoder.c /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-parser.c /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-search.c /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-instance.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-login.h /dovecot/src/lib-master/master-service-private.h /dovecot/src/lib-master/master-service-settings-cache.c /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/service-settings.h /dovecot/src/lib-sql/driver-cassandra.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlite.c /dovecot/src/lib-sql/sql-api-private.h /dovecot/src/lib-ssl-iostream/iostream-openssl.h index/cydir/cydir-save.c index/dbox-common/dbox-file.h index/dbox-common/dbox-save.h index/dbox-multi/mdbox-map-private.h index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.h index/imapc/imapc-list.h index/imapc/imapc-save.c index/imapc/imapc-storage.h index/imapc/imapc-sync.h index/index-mail.h index/index-rebuild.h index/index-search-private.h index/index-search.c index/index-sort-string.c index/index-thread-finish.c index/index-thread-private.h index/index-thread.c index/istream-mail.c index/maildir/maildir-copy.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/mbox/istream-raw-mbox.c index/mbox/mbox-save.c index/mbox/mbox-storage.h index/mbox/mbox-sync-private.h index/pop3c/pop3c-client.c index/pop3c/pop3c-storage.h index/raw/raw-storage.h list/mailbox-list-fs-iter.c list/mailbox-list-index-notify.c list/mailbox-list-index-sync.h list/mailbox-list-index.h list/mailbox-list-iter.c list/mailbox-list-none.c mail-namespace.h mail-search-register.c mail-search.h mail-storage-private.h mail-storage-service.c mail-storage-service.h mail-storage.h mail-user.h mailbox-list-private.h mailbox-search-result-private.h mailbox-tree.c /dovecot/src/lib/buffer.c /dovecot/src/lib/connection.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/ioloop-private.h /dovecot/src/lib/istream-crlf.c /dovecot/src/lib/istream-file-private.h /dovecot/src/lib/istream-jsonstr.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream-private.h /dovecot/src/lib/istream-tee.c /dovecot/src/lib/istream.h /dovecot/src/lib/mempool.h /dovecot/src/lib/module-dir.h /dovecot/src/lib/ostream-file-private.h /dovecot/src/lib/ostream-private.h /dovecot/src/lib/ostream.h /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.c /dovecot/src/log/log-connection.c /dovecot/src/login-common/client-common.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/service-process.h /dovecot/src/master/service.h /dovecot/src/plugins/acl/acl-api-private.h /dovecot/src/plugins/acl/acl-api.h /dovecot/src/plugins/acl/acl-backend-vfile.h /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-squat/squat-trie-private.h /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-indexer.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/pop3/pop3-client.h /dovecot/src/replication/replicator/dsync-client.c /dovecot/src/replication/replicator/notify-connection.c /dovecot/src/replication/replicator/replicator-brain.c /dovecot/src/replication/replicator/replicator-queue.h
a4e2101473cfd7ce960fc49b3ce097c3f89ec2ad 14-Jan-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-storage: Added mailbox_list_[un]escape_name_params() This allows calling the mailbox_list_[un]escape_name() with wanted parameters instead of taking them from mailbox_list.

d3e5a14ea363264dcc7640ca7226249d0c27a793 26-Aug-2015 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_list_[un]escape_name() can now be called globally

697ff56bf3cdc9e7989ea2a70accf866b14b64d1 22-Mar-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_list_fs_get_list() Using mailbox_list_init_fs() now sets the mailbox_list pointer to root fs, which allows the fs backends to lookup the list. Although this can't be done in the init() function since the list is set only afterwards.

4c0aff96fc7e6d779be43458f96cbf015849a3de 16-Apr-2014 Timo Sirainen <tss@iki.fi>

lib-storage: Further changes to mailbox_alloc_guid() caching. We'll now cache the GUIDs forever and force invalidation after mailbox rename or when mailbox GUIDs have been updated. This is what dsync needs, especially for good performance, and currently there aren't any other users for this API.

d6499957ea59e6d9729d3350d9ac5eae992635f6 15-Apr-2014 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_alloc_guid() shouldn't refresh GUID cache on every nonexistent GUID. Refresh it only if we know it has had some changes (made by our process) or timestamp has changed. This should handle the cases that are currently important (=single dsync run).

9393445a6dabd17ce62ebfc12fd73545b0065824 06-Nov-2013 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_list_init_fs() to easily initialize fs. Use it for dbox's attachment_fs.

bdb026e2dc8a7c77585ed5ba489f0056df8074d4 23-Mar-2013 Timo Sirainen <tss@iki.fi>

"Mailbox doesn't exist" error mixed up using storage and virtual mailbox names. This could have allowed a user to figure out existence of a mailbox without having lookup ACL.

29543188462c9348f365ec29115d777ffe4769d3 26-Nov-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Fixes to LAYOUT=index backend.

917498e6f84969d2b93410c1e479735abe8e0ed7 12-Oct-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added optional mailbox_list.init(), which can check for failure. "index" backend now gives a nice error message instead of crashing when mailbox_list_index=no

77b5fd56e5a06d624f3ab92198272287333114f4 18-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: MAILBOX_LIST_ITER_SKIP_ALIASES now skips also "alias symlinks" An "alias symlink" is a symlink that points to the same directory. These can safely be skipped when iterating through all mails in all mailboxes (unlike other symlinks that may point to external storages).

9fc97c8aa8190df87624d214bcc5d0b5362bec93 26-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_get_path() and friends can now return an error. An upcoming "index" mailbox_list backend uses mailbox GUIDs as the directory names. Doing a name => GUID lookup may fail, so the path lookup may fail. This is a somewhat annoying change and perhaps it can be removed in future, but for now it looks like it can't be avoided.

/dovecot/src/doveadm/dsync/doveadm-dsync.c /dovecot/src/indexer/master-connection.c index/dbox-common/dbox-storage.c index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-storage.c index/dbox-single/sdbox-file.c index/dbox-single/sdbox-storage.c index/dbox-single/sdbox-sync-rebuild.c index/imapc/imapc-list.c index/index-rebuild.c index/index-storage.c index/index-sync-pvt.c index/index-sync.c index/maildir/maildir-keywords.c index/maildir/maildir-storage.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-lock.c index/mbox/mbox-storage.c index/mbox/mbox-sync.c index/shared/shared-list.c index/shared/shared-storage.c list/mailbox-list-delete.c list/mailbox-list-fs-flags.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-index.c list/mailbox-list-maildir.c list/mailbox-list-none.c mail-storage-private.h mail-storage.c mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/doveadm-acl.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/mailbox-alias/mailbox-alias-plugin.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota.c
94f84d1c3f786d1b92dd2a1507f83a2dad887c56 26-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Cleanups to mailbox mkdir() related functions.

76b91bac787101e6b0075122ab6478dd98c8a884 26-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_list_get_root_permissions() now returns struct mailbox_permissions.

3d6fdafca17c073606b63745ca8638e035e871f4 25-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Removed mailbox_list.create_mailbox_dir() virtual function. It really didn't need to be virtual. Some storages didn't care about it, others wanted it to work basically the same.

a71cf79a95881bab3638f37bb3879f3c485c3367 25-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Removed unused MAILBOX_DIR_CREATE_TYPE_ONLY_NOSELECT

442b4c6c0d69e04297c00beb1a06da9855cb5ebe 25-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Removed mailbox list backend-specific mailbox name/pattern validation. The virtual name validity is independent of the backend. The physical name is always used for paths in filesystem, so it can also be verified with common code. Backend's mailbox_dir and storage's internal directories can also be checked. There's nothing else left really.

a8fe899601735459641edae975c0fa08be8482e2 16-Sep-2012 Timo Sirainen <tss@iki.fi>

Removed all the "enum foo;" declarations. They didn't seem to be very standard. Old gcc versions warn about them and C++ code doesn't like them.

/dovecot/src/auth/passdb-cache.h /dovecot/src/config/config-request.h /dovecot/src/config/old-set-parser.h /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-mail-iter.h /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/doveadm/doveadm-mail.h /dovecot/src/doveadm/doveadm-mailbox-list-iter.h /dovecot/src/doveadm/dsync/dsync-mailbox-tree-fill.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-notify.c /dovecot/src/imap/imap-notify.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-index-modseq.h /dovecot/src/lib-lda/mail-deliver.h Makefile.am index/imapc/imapc-sync.h index/maildir/maildir-sync.h list/mailbox-list-delete.h list/mailbox-list-index.h list/mailbox-list-subscriptions.h mailbox-list-iter.h mailbox-list-private.h mailbox-list.h /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/virtual/virtual-config.c
cf1797248b02eadfd7d63aabc0b64678a4239540 12-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Allow #including mailbox-list-private.h from C++ code

71e88fae3be360e9a93b3398e743f99a6f05d2ed 10-Sep-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Removed rename_children parameter from mailbox_rename() The children are now always renamed. The only reason this feature was added in the first place was to make dsync's job easier, but this is no longer needed.

/dovecot/src/doveadm/doveadm-mail-mailbox.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c /dovecot/src/imap/cmd-rename.c fail-mailbox.c index/imapc/imapc-list.c index/index-storage.c index/index-storage.h index/shared/shared-list.c list/mailbox-list-fs.c list/mailbox-list-index.c list/mailbox-list-maildir.c list/mailbox-list-none.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/notify/notify-plugin-private.h /dovecot/src/plugins/notify/notify-plugin.c /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/replication/replication-plugin.c
24acd68c82dc137b88bb3ba3258b9d1f7ebcb44d 04-Sep-2012 Timo Sirainen <tss@iki.fi>

NOTIFY: Implemented SubscriptionChange

4ee00532a265bdfb38539d811fcd12d51210ac35 19-Aug-2012 Timo Sirainen <tss@iki.fi>

Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name Easy way to update your existing code: perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch]

/dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/main.c /dovecot/src/auth/passdb-template.c /dovecot/src/auth/passdb.c /dovecot/src/auth/userdb-template.c /dovecot/src/auth/userdb.c /dovecot/src/config/config-parser-private.h /dovecot/src/config/config-parser.c /dovecot/src/dict/dict-connection.h /dovecot/src/dict/dict-settings.h /dovecot/src/director/director-test.c /dovecot/src/director/director.h /dovecot/src/director/mail-host.c /dovecot/src/director/main.c /dovecot/src/director/user-directory.c /dovecot/src/doveadm/doveadm-dump.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-mail-altmove.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail.h /dovecot/src/doveadm/doveadm-print-flow.c /dovecot/src/doveadm/doveadm-print-pager.c /dovecot/src/doveadm/doveadm-print-table.c /dovecot/src/doveadm/doveadm-print.c /dovecot/src/doveadm/doveadm-server.h /dovecot/src/doveadm/doveadm-settings.h /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/doveadm.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree-private.h /dovecot/src/doveadm/dsync/dsync-mailbox-tree-sync.c /dovecot/src/doveadm/dsync/dsync-slave-pipe.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-notify.h /dovecot/src/imap/imap-search.h /dovecot/src/indexer/worker-connection.c /dovecot/src/ipc/ipc-connection.h /dovecot/src/ipc/ipc-group.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-dict/dict-memcached-ascii.c /dovecot/src/lib-dict/dict-redis.c /dovecot/src/lib-dict/dict-sql-settings.c /dovecot/src/lib-dict/dict-sql-settings.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict-transaction-memory.h /dovecot/src/lib-dict/dict.c /dovecot/src/lib-imap-client/imapc-client-private.h /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-modseq.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-view.c /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-transaction-log-view-private.h /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-mail/istream-attachment-connector.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/rfc2231-parser.c /dovecot/src/lib-mail/test-istream-attachment.c /dovecot/src/lib-master/anvil-client.c /dovecot/src/lib-master/ipc-client.c /dovecot/src/lib-master/master-instance.c /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/mountpoint-list.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlpool.c /dovecot/src/lib-sql/sql-api-private.h index/dbox-common/dbox-file.h index/dbox-multi/mdbox-map-private.h index/dbox-multi/mdbox-save.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.h index/dbox-single/sdbox-save.c index/imapc/imapc-storage.h index/index-mail-binary.c index/index-mail-headers.c index/index-mail.h index/index-search-private.h index/index-storage.c index/index-sync-changes.c index/index-thread-finish.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/mbox/mbox-sync-private.h list/mailbox-list-fs-iter.c list/mailbox-list-index-notify.c list/mailbox-list-maildir.c mail-search-register-human.c mail-search-register.c mail-storage-hooks.c mail-storage-private.h mail-storage-settings.h mail-user.h mailbox-keywords.c mailbox-list-iter.c mailbox-list-private.h mailbox-list.c mailbox-tree.c /dovecot/src/lib/array-decl.h /dovecot/src/lib/array.h /dovecot/src/lib/ioloop-epoll.c /dovecot/src/lib/ioloop-kqueue.c /dovecot/src/lib/ioloop-private.h /dovecot/src/lib/lib.h /dovecot/src/lib/module-context.h /dovecot/src/lib/priorityq.c /dovecot/src/lib/test-aqueue.c /dovecot/src/lib/test-array.c /dovecot/src/lib/var-expand.c /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.c /dovecot/src/log/log-connection.c /dovecot/src/master/service-listen.c /dovecot/src/master/service-process-notify.c /dovecot/src/master/service.h /dovecot/src/plugins/acl/acl-backend-vfile.h /dovecot/src/plugins/acl/acl-cache.c /dovecot/src/plugins/expire/doveadm-expire.c /dovecot/src/plugins/expire/expire-set.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-solr/fts-backend-solr-old.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-parser-script.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-search.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/virtual/virtual-transaction.h /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-client.h /dovecot/src/replication/replicator/replicator-brain.c /dovecot/src/replication/replicator/replicator-queue.c /dovecot/src/ssl-params/main.c
678d0463849ba777106eb7875f27db07a5d8e3df 19-Aug-2012 Timo Sirainen <tss@iki.fi>

Hash table API is now (mostly) type safe.

/dovecot/src/anvil/connect-limit.c /dovecot/src/anvil/penalty.c /dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/db-checkpassword.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/mech-otp-skey-common.c /dovecot/src/config/config-request.c /dovecot/src/director/director-test.c /dovecot/src/director/user-directory.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-log.c /dovecot/src/doveadm/doveadm-mail-server.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/doveadm-who.h /dovecot/src/doveadm/dsync/dsync-brain-mailbox.c /dovecot/src/doveadm/dsync/dsync-brain-private.h /dovecot/src/doveadm/dsync/dsync-brain.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree-fill.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree-private.h /dovecot/src/doveadm/dsync/dsync-mailbox-tree-sync.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree.c /dovecot/src/doveadm/dsync/dsync-transaction-log-scan.c /dovecot/src/doveadm/dsync/dsync-transaction-log-scan.h /dovecot/src/indexer/indexer-queue.c /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-dict/dict-file.c /dovecot/src/lib-index/mail-cache-fields.c /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-master/master-auth.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-service-settings-cache.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-sql/sql-db-cache.c index/dbox-multi/mdbox-purge.c index/dbox-multi/mdbox-storage-rebuild.c index/index-thread-finish.c index/maildir/maildir-filename.c index/maildir/maildir-filename.h index/maildir/maildir-keywords.c index/maildir/maildir-uidlist.c list/mailbox-list-index-sync.c list/mailbox-list-index.c list/mailbox-list-index.h mailbox-guid-cache.c mailbox-list-private.h mailbox-list.c /dovecot/src/lib/child-wait.c /dovecot/src/lib/guid.c /dovecot/src/lib/guid.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/log/log-connection.c /dovecot/src/login-common/login-proxy-state.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/service-monitor.c /dovecot/src/master/service-process.c /dovecot/src/master/service.c /dovecot/src/master/service.h /dovecot/src/plugins/acl/acl-cache.c /dovecot/src/plugins/expire/doveadm-expire.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts-solr/fts-backend-solr-old.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts/fts-expunge-log.c /dovecot/src/pop3/pop3-commands.c /dovecot/src/replication/aggregator/replicator-connection.c /dovecot/src/replication/replicator/replicator-queue.c /dovecot/src/stats/mail-domain.c /dovecot/src/stats/mail-ip.c /dovecot/src/stats/mail-session.c /dovecot/src/stats/mail-user.c
8854395cdd21ca521b37ce669f3acb8445792b20 13-Aug-2012 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox-list-notify API for tracking changes in all mailboxes. Requires mailbox_list_index=yes to work.

a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 23-Jun-2012 Timo Sirainen <tss@iki.fi>

Marked functions parameters that are allowed to be NULL. Some APIs were also changed. The non-obvious APIs where NULL parameter was changed to "" are master_service_init() and auth_master_user_list_init(). These checks can currently be enabled only on a patched clang: http://llvm.org/bugs/show_bug.cgi?id=6786

/dovecot/src/anvil/main.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-stream.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/db-checkpassword.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/main.c /dovecot/src/auth/mech-anonymous.c /dovecot/src/auth/mech-apop.c /dovecot/src/auth/mech-cram-md5.c /dovecot/src/auth/mech-ntlm.c /dovecot/src/auth/mech-otp-skey-common.c /dovecot/src/auth/mech-plain-common.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/mech-winbind.c /dovecot/src/auth/mech.c /dovecot/src/auth/password-scheme-otp.c /dovecot/src/auth/password-scheme.h /dovecot/src/auth/userdb-passwd.c /dovecot/src/auth/userdb-static.c /dovecot/src/auth/userdb.h /dovecot/src/config/config-parser-private.h /dovecot/src/config/config-request.h /dovecot/src/config/doveconf.c /dovecot/src/config/main.c /dovecot/src/dict/main.c /dovecot/src/director/director-connection.c /dovecot/src/director/director-test.c /dovecot/src/director/director.h /dovecot/src/dns/dns-client.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-log.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-iter.h /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/dsync/doveadm-dsync.c /dovecot/src/doveadm/dsync/dsync-brain.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-slave-io.c /dovecot/src/doveadm/main.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/imap-client.h /dovecot/src/imap/imap-commands-util.h /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sync.c /dovecot/src/indexer/indexer.c /dovecot/src/indexer/master-connection.c /dovecot/src/ipc/client.c /dovecot/src/ipc/main.c /dovecot/src/lib-auth/auth-client-request.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-dict/dict.h /dovecot/src/lib-dns/dns-lookup.h /dovecot/src/lib-imap-client/imapc-connection.h /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-alloc-cache.c /dovecot/src/lib-index/mail-index-alloc-cache.h /dovecot/src/lib-index/mail-index-map-hdr.c /dovecot/src/lib-index/mail-index-map.c /dovecot/src/lib-index/mail-index-util.h /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-lda/smtp-client.h /dovecot/src/lib-mail/istream-binary-converter.c /dovecot/src/lib-mail/istream-dot.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/message-search.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/rfc822-parser.h /dovecot/src/lib-mail/test-istream-header-filter.c /dovecot/src/lib-master/anvil-client.h /dovecot/src/lib-master/ipc-client.h /dovecot/src/lib-master/ipc-server.c /dovecot/src/lib-master/master-service-settings-cache.h /dovecot/src/lib-master/master-service-settings.h /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/mountpoint-list.c /dovecot/src/lib-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-encrypt.h /dovecot/src/lib-otp/otp-parse.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlpool.c /dovecot/src/lib-sql/sql-api.c index/dbox-common/dbox-file-fix.c index/dbox-common/dbox-save.h index/dbox-common/dbox-storage.c index/dbox-common/dbox-sync-rebuild.c index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-multi/mdbox-sync.c index/dbox-single/sdbox-storage.c index/imapc/imapc-mail.c index/index-mail-headers.c index/index-mail.c index/index-mail.h index/index-search.c index/index-sort.c index/index-storage.h index/index-sync-changes.h index/maildir/maildir-filename-flags.c index/maildir/maildir-filename-flags.h index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/maildir/maildir-sync.c index/maildir/maildir-sync.h index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.h index/maildir/maildir-util.c index/mbox/mbox-file.c index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-storage.c index/mbox/mbox-sync-parse.c index/mbox/mbox-sync.c index/raw/raw-storage.c index/shared/shared-storage.c list/mailbox-list-delete.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-index-status.c list/mailbox-list-index.c list/mailbox-list-maildir.c mail-namespace.h mail-search.h mail-storage-service.c mail-storage-service.h mail-storage.c mail-storage.h mail-thread.h mail.c mailbox-get.c mailbox-list-private.h mailbox-list.c mailbox-list.h mailbox-tree.c mailbox-tree.h /dovecot/src/lib-test/test-common.h /dovecot/src/lib/base64.h /dovecot/src/lib/buffer.h /dovecot/src/lib/child-wait.h /dovecot/src/lib/eacces-error.h /dovecot/src/lib/failures.c /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hash2.h /dovecot/src/lib/ioloop-notify-fd.h /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/iso8601-date.c /dovecot/src/lib/istream-base64-encoder.c /dovecot/src/lib/istream-chain.c /dovecot/src/lib/istream-chain.h /dovecot/src/lib/istream-crlf.c /dovecot/src/lib/istream-private.h /dovecot/src/lib/istream-seekable.h /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib-signals.c /dovecot/src/lib/lib-signals.h /dovecot/src/lib/macros.h /dovecot/src/lib/mkdir-parents.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/ostream-private.h /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/restrict-access.h /dovecot/src/lib/safe-mkstemp.c /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/test-iso8601-date.c /dovecot/src/lib/uri-util.c /dovecot/src/lib/uri-util.h /dovecot/src/lib/var-expand.h /dovecot/src/lmtp/client.h /dovecot/src/lmtp/lmtp-proxy.h /dovecot/src/log/main.c /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/login-settings.h /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/common.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-squat/squat-trie.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota.c /dovecot/src/pop3/pop3-client.h /dovecot/src/replication/aggregator/aggregator.c /dovecot/src/replication/replicator/replicator.c /dovecot/src/ssl-params/main.c /dovecot/src/stats/mail-domain.h /dovecot/src/stats/mail-ip.h /dovecot/src/stats/mail-session.h /dovecot/src/stats/mail-user.h /dovecot/src/stats/main.c
5da1aa5197a43d83f0fb3eeb83125c7cd73d1b62 11-Jun-2012 Timo Sirainen <tss@iki.fi>

shared mailboxes: Per-user flags can now be stored in private index files. This can be enabled by adding e.g.: mail_location = mdbox:/var/shared/mdbox:INDEXPVT=~/mdbox/shared

/dovecot/src/doveadm/doveadm-dump-log.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction-finish.c /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index-transaction-view.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c index/Makefile.am index/index-mail.c index/index-storage.c index/index-storage.h index/index-sync-private.h index/index-sync-pvt.c index/index-sync.c index/index-transaction.c index/shared/shared-list.c list/mailbox-list-fs.c list/mailbox-list-maildir.c mail-storage-private.h mail-storage.c mailbox-list-private.h mailbox-list.c mailbox-list.h
458752f9e9012482843b92379bcfebecfe26f360 09-May-2012 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_list_get_storage_name/_get_vname() are now public.

ed354926406e28254b581f821bb052f38d9c14e8 02-Dec-2011 Timo Sirainen <tss@iki.fi>

Implemented IMAP SPECIAL-USE extension.

eb1572d7c44ebc7b0b039d085c3dbab2ef7043dd 02-Dec-2011 Timo Sirainen <tss@iki.fi>

Moved autocreate plugin functionality into lib-storage. The autocreate plugin is still used for backwards compatibility. Mailboxes can be configured like: mailbox Sent { auto = subscribe } mailbox Spam { auto = create }

7ff6268cc35102675d73d44d680bed13d0709f7b 02-Dec-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added pool to struct mailbox_list_iterate_context.

fb365addee8210c28e6856e34d690dd8d1636993 11-Sep-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Removed unused struct stat parameter from mailbox_list.get_mailbox_flags()

de62ce819d59a529530da4b57be1b8d6dad13d6b 25-Aug-2011 Timo Sirainen <tss@iki.fi>

Moved GUID code to liblib. Use guid_128_t type consistently everywhere.

/dovecot/src/doveadm/doveadm-dump-index.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail-search.c /dovecot/src/dsync/dsync-brain-msgs.c /dovecot/src/dsync/dsync-data.c /dovecot/src/dsync/dsync-data.h /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/dsync/test-dsync-brain-msgs.c /dovecot/src/dsync/test-dsync-common.c /dovecot/src/dsync/test-dsync-common.h /dovecot/src/dsync/test-dsync-proxy-server-cmd.c /dovecot/src/dsync/test-dsync-proxy.c /dovecot/src/imap/imap-status.c /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mailbox-log.h /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c /dovecot/src/lib-lda/mail-deliver.c /dovecot/src/lib-lda/mail-deliver.h /dovecot/src/lib-mail/mail-types.h index/dbox-common/dbox-file-fix.c index/dbox-common/dbox-save.c index/dbox-common/dbox-save.h index/dbox-multi/mdbox-save.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-multi/mdbox-sync.c index/dbox-single/sdbox-copy.c index/dbox-single/sdbox-file.c index/dbox-single/sdbox-save.c index/dbox-single/sdbox-storage.c index/dbox-single/sdbox-storage.h index/dbox-single/sdbox-sync-rebuild.c index/index-attachment.c index/index-mail.c index/index-search.c index/index-storage.c index/index-sync-changes.c index/index-sync-changes.h index/maildir/maildir-storage.c index/maildir/maildir-sync-index.c index/maildir/maildir-uidlist.c index/maildir/maildir-uidlist.h index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync.c list/index-mailbox-list-status.c list/index-mailbox-list.h list/mailbox-list-fs.c mail-storage.c mail-storage.h mail.c mailbox-guid-cache.c mailbox-guid-cache.h mailbox-list-private.h mailbox-list.c mailbox-list.h test-mailbox-get.c /dovecot/src/lib/Makefile.am /dovecot/src/lib/guid.c /dovecot/src/lib/guid.h /dovecot/src/lmtp/client.c /dovecot/src/plugins/fts-lucene/doveadm-fts-lucene.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/lucene-wrapper.cc /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts/doveadm-dump-fts-expunge-log.c /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-expunge-log.c /dovecot/src/plugins/fts/fts-expunge-log.h
bd4e36a8cd7257cca7d1434c49a1e343ed7c5100 11-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_alloc_guid() for opening mailbox by its GUID.

89a2b8909d952d8382e6ffbbd30ab0fd799ae754 02-Jul-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Made mailbox_list_mkdir_root() public

be110f0a3888a24282f06820ec0b5068d2b8f906 02-Jul-2011 Timo Sirainen <tss@iki.fi>

lib-storage: mkdir APIs changed.

0b25846ba794ce19536a24d4065beaf2a0bd9464 30-Apr-2011 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_delete() for a symlink now removes the symlink instead of expunging mails.

4ba962c3e78f140facdcfb1e093c4c46de75ae24 11-Feb-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Changed mailbox_list.subscriptions_refresh() API to be more flexible. The new API makes it easier implement subscriptions=no to a backend that doesn't use the regular subscriptions file.

b13f738e8eb3f24dc2abf2c804f954b4d864ac6f 02-Feb-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Cleaned up subscription listing internally. The subscription listing code is now mostly separated from the mailbox listing code.

9f46aa48a9982567a37bb08dd95af8bee5100c7e 02-Feb-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Made struct mailbox_list_iterate_context usable for plugins.

c0a87e5f3316a57e6f915882fa1951d0fbb74a61 20-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes. All storage_name <-> vname conversions now go through the same two mailbox_list methods. This has many benefits, such as: * listescape plugin is now much simpler and bugfree * allows changing lib-storage API to use UTF-8 mailbox names in future * allows creation of "mailbox aliases" plugin

/dovecot/TODO /dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-iter.c /dovecot/src/doveadm/doveadm-mail-list-iter.c /dovecot/src/doveadm/doveadm-mail-mailbox.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-namespace.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands-util.h /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-storage.c index/dbox-multi/mdbox-storage-rebuild.c index/dbox-multi/mdbox-storage.c index/dbox-multi/mdbox-storage.h index/dbox-single/sdbox-storage.c index/imapc/imapc-storage.c index/index-storage.c index/index-storage.h index/maildir/maildir-storage.c index/mbox/mbox-storage.c index/raw/raw-storage.c index/shared/shared-list.c index/shared/shared-storage.c list/index-mailbox-list.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c list/mailbox-list-maildir.h list/mailbox-list-none.c list/mailbox-list-subscriptions.c mail-namespace.c mail-namespace.h mail-search.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h test-mail-storage.h test-mailbox.c /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/snarf/snarf-plugin.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3/pop3-client.c
306cfd77100131c08b243de10f6d40500f4c27c6 20-Jan-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists().

a91bd6256b33729531c33ff8bc66ee1ae95840f9 14-Sep-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_list_create_dir()

4d84348ffcbb60de566108562c95ad64629e7a53 07-Jul-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Make sure index directory is created early enough for mailbox.log For example if subscriptions were added before any mailbox was opened, the index dir may not have been created yet. --HG-- branch : HEAD

539977f9257bd8985be5a8093658da266ae9cd19 07-Jun-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Plugin API changed to run plugin functions in correct order. Previously the hooks were run in correct order, but the functions they overrode were run in reverse order. This caused problems when multiple plugins were used. --HG-- branch : HEAD

mail-storage-hooks.c mail-storage-hooks.h mail-storage-private.h mail-user.h mail.c mailbox-list-private.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/zlib/zlib-plugin.c
0b4e1043e596bfb36d999dacbf1d4d63ee96d75f 04-Jun-2010 Timo Sirainen <tss@iki.fi>

When creating shared directories, preserve parent dir's permissions if it has setgid bit enabled. This works only if location path uses %variables. The directories up to last variable are created by preserving parent directory's modes, while the rest of the directories are created with 0700. For example with "/var/mail/%d/%2n/%n/Maildir", "/var/mail/domain/nn" preserves /var/mail's permissions, while the "username/Maildir" directories have 0700 mode. --HG-- branch : HEAD

e0ca8f2484847b57e20798a9f9c7040708696a90 04-Jun-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_list_get_root_path() to reduce code duplication. --HG-- branch : HEAD

b365bd121cdc87f63e1dd47c5085a27091118e00 04-Jun-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Code cleanup. --HG-- branch : HEAD

dca6d617a23e3f93af3b8df59acb46478179fe55 15-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Changed mailbox_list.iter_is_mailbox() API. --HG-- branch : HEAD

2649b237dd4690575e75a30b2bf3b39ebd37b835 14-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Mailbox renaming API changed. --HG-- branch : HEAD

61b0637759146621cbb7edcbd0b03a71cfd66dfe 09-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Mailbox deletion API changed. Mailbox deletion should now be free of race conditions. The actual file deletion code is now responsibility of mailbox_list backend. --HG-- branch : HEAD

/dovecot/src/dsync/dsync-worker-local.c /dovecot/src/imap/cmd-delete.c index/cydir/cydir-storage.c index/dbox-common/dbox-mail.h index/dbox-common/dbox-storage.c index/dbox-common/dbox-storage.h index/dbox-multi/mdbox-map.c index/dbox-multi/mdbox-map.h index/dbox-multi/mdbox-storage.c index/dbox-single/sdbox-storage.c index/index-storage.c index/index-storage.h index/index-transaction.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-storage.c index/raw/raw-storage.c index/shared/shared-list.c list/Makefile.am list/mailbox-list-delete.c list/mailbox-list-delete.h list/mailbox-list-fs.c list/mailbox-list-fs.h list/mailbox-list-maildir.c list/mailbox-list-maildir.h mail-copy.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h test-mailbox.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/notify/notify-noop.c /dovecot/src/plugins/notify/notify-plugin-private.h /dovecot/src/plugins/notify/notify-plugin.c /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/virtual/virtual-storage.c
3c493c276f599d9b9cd10764876d648003046954 07-Feb-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Moved mailbox directory creation code to mailbox_list backend. --HG-- branch : HEAD

2f30b72d49fbff0c4096125c139e4bdfef45669c 31-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Added mailbox_list_delete_dir() to (try to) delete a \noselect mailbox. --HG-- branch : HEAD

9c66dd5c3e2ba484a5c7cdb98a139bda31fdfaa4 31-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Removed mailbox_list_get_guid(). Directory GUIDs are pretty pointless. --HG-- branch : HEAD

3fe67ec75ccae1230bb9eb9f16affc48377f6441 21-Dec-2009 Timo Sirainen <tss@iki.fi>

dsync: Write mailbox changelog records using original timestamps. --HG-- branch : HEAD

5666a3d6a7ea89362b8d9e8b39b15424cd9d6388 04-Dec-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Plugin hook API changed to support per-user plugins within a process. --HG-- branch : HEAD

Makefile.am list/index-mailbox-list-sync.c list/index-mailbox-list.c mail-namespace.c mail-namespace.h mail-storage-private.h mail-storage.c mail-user.c mail-user.h mailbox-list-private.h mailbox-list.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/autocreate/autocreate-plugin.h /dovecot/src/plugins/convert/convert-plugin.c /dovecot/src/plugins/convert/convert-plugin.h /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-plugin.h /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.h /dovecot/src/plugins/fts-squat/fts-squat-plugin.c /dovecot/src/plugins/fts-squat/fts-squat-plugin.h /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.h /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.h /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.h /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.h /dovecot/src/plugins/notify/notify-plugin-private.h /dovecot/src/plugins/notify/notify-plugin.c /dovecot/src/plugins/notify/notify-plugin.h /dovecot/src/plugins/notify/notify-storage.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/trash/trash-plugin.h /dovecot/src/plugins/virtual/virtual-plugin.c /dovecot/src/plugins/virtual/virtual-plugin.h /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/plugins/zlib/zlib-plugin.h
5a0b68eeaf48cd1655057f36f19357146bf08e1d 20-Nov-2009 Timo Sirainen <tss@iki.fi>

Added mailbox_list_set_changelog_writable(). --HG-- branch : HEAD

0185427dd52fddec6fc76d6e99c7659620d4366e 29-Oct-2009 Timo Sirainen <tss@iki.fi>

mbox: Added support for mailbox directory GUIDs. --HG-- branch : HEAD

37847ec8eaec9ad55c9df10ae109efe7b37ac573 06-Aug-2009 Timo Sirainen <tss@iki.fi>

lib-storage: Fill mailbox log with mailbox delete/rename/(un)subscribes. --HG-- branch : HEAD

e156adefc1260d31a145df2f5e9b3c82050d4163 28-Jun-2009 Timo Sirainen <tss@iki.fi>

Whenever file's group changing fails, show the group origin in the error message. --HG-- branch : HEAD

/dovecot/src/lda/main.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-index.h index/cydir/cydir-storage.c index/dbox/dbox-file.c index/dbox/dbox-map.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/index-storage.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-storage.c list/mailbox-list-fs.c list/subscription-file.c mail-storage-private.h mail-storage.c mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/lib/eacces-error.c /dovecot/src/lib/eacces-error.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/mkdir-parents.c /dovecot/src/lib/mkdir-parents.h /dovecot/src/lib/safe-mkstemp.c /dovecot/src/lib/safe-mkstemp.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-maildir.c
1d2b188f0eedc3cab6e27ceac5425a037f38042e 15-Jun-2009 Timo Sirainen <tss@iki.fi>

Mailbox opening and closing APIs changed. --HG-- branch : HEAD

/dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/imap-status.c /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-storage.c index/cydir/cydir-storage.h index/cydir/cydir-sync.c index/dbox/dbox-file.c index/dbox/dbox-mail.c index/dbox/dbox-save.c index/dbox/dbox-storage-rebuild.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-rebuild.c index/dbox/dbox-sync.c index/index-storage.c index/index-storage.h index/index-thread.c index/maildir/maildir-copy.c index/maildir/maildir-keywords.c index/maildir/maildir-mail.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/maildir/maildir-sync.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-file.c index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync-rewrite.c index/mbox/mbox-sync.c index/raw/raw-mail.c index/raw/raw-storage.c index/raw/raw-storage.h index/raw/raw-sync.c list/index-mailbox-list-sync.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c test-mail-storage.c test-mail-storage.h test-mailbox.c /dovecot/src/lmtp/commands.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3/pop3-client.c /dovecot/src/util/doveadm.c
2615df45a8027948a474abe5e817b34b0499c171 03-Jun-2009 Timo Sirainen <tss@iki.fi>

Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n. This will allow namespaces to share the same storage and a single namespace to have multiple storages (multiple mailbox formats). Neither works currently, and this commit probably breaks some things. --HG-- branch : HEAD

/dovecot/src/config/settings-get.pl /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands-util.h /dovecot/src/imap/imap-commands.h /dovecot/src/imap/imap-status.c /dovecot/src/imap/imap-status.h /dovecot/src/lda/main.c /dovecot/src/lib-lda/mail-deliver.c index/cydir/cydir-mail.c index/cydir/cydir-save.c index/cydir/cydir-storage.c index/cydir/cydir-sync.c index/dbox/dbox-map.c index/dbox/dbox-settings.c index/dbox/dbox-storage-rebuild.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-rebuild.c index/index-storage.c index/index-storage.h index/maildir/maildir-keywords.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync-index.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-lock.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/raw/raw-storage.c index/shared/shared-list.c index/shared/shared-storage.c index/shared/shared-storage.h list/index-mailbox-list-sync.c list/index-mailbox-list.c list/mailbox-list-fs.c list/mailbox-list-maildir.h mail-namespace.c mail-namespace.h mail-storage-private.h mail-storage-settings.c mail-storage-settings.h mail-storage.c mail-storage.h mail-user.c mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/lmtp/commands.c /dovecot/src/plugins/acl/acl-api-private.h /dovecot/src/plugins/acl/acl-api.c /dovecot/src/plugins/acl/acl-api.h /dovecot/src/plugins/acl/acl-backend-vfile-acllist.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/acl-backend.c /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-shared-storage.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/acl/acl-storage.h /dovecot/src/plugins/autocreate/autocreate-plugin.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/listescape/listescape-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-storage.h /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3/pop3-client.c /dovecot/src/util/doveadm.c
91b203fd2132510a47a4b34252c0ae0efd688a19 23-May-2009 Timo Sirainen <tss@iki.fi>

Implemented initial support for renaming mailboxes across namespaces. --HG-- branch : HEAD

b31ddaad0c05e2c63cfe45eae28094829e2a5c57 08-Apr-2009 Timo Sirainen <tss@iki.fi>

Shared mailboxes: Fix to previous mailbox_open() change. --HG-- branch : HEAD

77c462c3a415536f9c87028ee34546ee96fd1445 07-Apr-2009 Timo Sirainen <tss@iki.fi>

Shared mailboxes: Find the final storage before calling mail_storage.mailbox_open(), not inside it. This fixes some crashes with plugins. --HG-- branch : HEAD

106b804c819443791f1324f8bbe34429eeea6a13 22-Feb-2009 Timo Sirainen <tss@iki.fi>

mailboxes: Copy root directory's +x modes for newly created dirs perfectly. --HG-- branch : HEAD

a64adf62fa33f2463a86f990217b0c9078531a40 28-Jan-2009 Timo Sirainen <tss@iki.fi>

Initial commit for config rewrite. --HG-- branch : HEAD

/dovecot/.hgignore /dovecot/TODO /dovecot/configure.in /dovecot/src/Makefile.am /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-settings.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth-worker-server.h /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/auth/mech-anonymous.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/mech-winbind.c /dovecot/src/auth/mech.c /dovecot/src/auth/mech.h /dovecot/src/auth/passdb-cache.c /dovecot/src/auth/passdb-cache.h /dovecot/src/auth/passdb-passwd-file.c /dovecot/src/auth/passdb.c /dovecot/src/auth/passdb.h /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-prefetch.c /dovecot/src/auth/userdb.c /dovecot/src/auth/userdb.h /dovecot/src/config/Makefile.am /dovecot/src/config/common.h /dovecot/src/config/config-connection.c /dovecot/src/config/config-connection.h /dovecot/src/config/config-parser.c /dovecot/src/config/config-parser.h /dovecot/src/config/main.c /dovecot/src/config/settings-get.pl /dovecot/src/deliver/Makefile.am /dovecot/src/deliver/deliver-settings.c /dovecot/src/deliver/deliver-settings.h /dovecot/src/deliver/deliver.c /dovecot/src/deliver/deliver.h /dovecot/src/imap-login/Makefile.am /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-id.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-settings.c /dovecot/src/imap/imap-settings.h /dovecot/src/imap/imap-sync.c /dovecot/src/imap/main.c /dovecot/src/lib-settings/Makefile.am /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h Makefile.am index/cydir/cydir-storage.c index/dbox/Makefile.am index/dbox/dbox-file.c index/dbox/dbox-settings.c index/dbox/dbox-settings.h index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/index-mail.c index/index-storage.c index/index-storage.h index/maildir/Makefile.am index/maildir/maildir-copy.c index/maildir/maildir-keywords.c index/maildir/maildir-save.c index/maildir/maildir-settings.c index/maildir/maildir-settings.h index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-uidlist.c index/mbox/Makefile.am index/mbox/mbox-lock.c index/mbox/mbox-mail.c index/mbox/mbox-save.c index/mbox/mbox-settings.c index/mbox/mbox-settings.h index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-sync.c index/raw/raw-storage.c index/shared/shared-storage.c list/index-mailbox-list.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir.c list/subscription-file.c mail-namespace.c mail-namespace.h mail-storage-private.h mail-storage-settings.c mail-storage-settings.h mail-storage.c mail-storage.h mail-user.c mail-user.h mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/lib/array-decl.h /dovecot/src/login-common/Makefile.am /dovecot/src/login-common/client-common.c /dovecot/src/login-common/common.h /dovecot/src/login-common/login-settings.c /dovecot/src/login-common/login-settings.h /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/child-process.c /dovecot/src/master/child-process.h /dovecot/src/master/dict-process.c /dovecot/src/master/listener.c /dovecot/src/master/listener.h /dovecot/src/master/login-process.c /dovecot/src/master/login-process.h /dovecot/src/master/mail-process.c /dovecot/src/master/mail-process.h /dovecot/src/master/main.c /dovecot/src/master/master-settings-defs.c /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/master/ssl-init.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/pop3-login/Makefile.am /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/Makefile.am /dovecot/src/pop3/client.c /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.c /dovecot/src/pop3/common.h /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-settings.c /dovecot/src/pop3/pop3-settings.h
bbd0a870f8639767e4e4011d2aedadac08d5c66f 15-Nov-2008 Timo Sirainen <tss@iki.fi>

Fixed dbox to work with Maildir++ layout. --HG-- branch : HEAD

96f2533c48ce5def0004931606a2fdf275578880 30-Aug-2008 Timo Sirainen <tss@iki.fi>

Created mail_user_[try_]home_expand(). Used them for expanding mail directories. --HG-- branch : HEAD

7230352f1177a8ed2b924c6992e751fd2ab9bc27 04-May-2008 Timo Sirainen <tss@iki.fi>

Added mailbox_name parameter to mailbox_list.iter_is_mailbox(). --HG-- branch : HEAD

4366a21968093172d9b757fe6894b1ee8916434e 04-May-2008 Timo Sirainen <tss@iki.fi>

mailbox_list_iter_update() was always setting subscribed flags to processed nodes. Changed the API so the flags can be specified. --HG-- branch : HEAD

0e5f8c4589cfeccb752307c8ac35a2f1633e4eca 05-Mar-2008 Timo Sirainen <tss@iki.fi>

dbox: Fixes to creating, deleting and renaming mailboxes when using alt directories. --HG-- branch : HEAD

8a0ad174adb1eb5108511b90e97f4e5f9089b0ee 15-Feb-2008 Timo Sirainen <tss@iki.fi>

Memory leak fixes --HG-- branch : HEAD

266697d2af982a9e52573404a1dd9cf0898bf43c 15-Feb-2008 Timo Sirainen <tss@iki.fi>

Memory leak fixes --HG-- branch : HEAD

c040ee67d0ac0fb7375bb543965bf67dcae6affa 08-Dec-2007 Timo Sirainen <tss@iki.fi>

Added mailbox_list_get_global_temp_prefix() --HG-- branch : HEAD

d02d34e138e32b4266f5a403d6c51d7803bf322f 11-Nov-2007 Timo Sirainen <tss@iki.fi>

Simplified mailbox_list_get_permissions() a bit. Now it returns only permissions for the root directory. Also UID isn't returned anymore. --HG-- branch : HEAD

4645cc6c911a95991d7af43b40f88e99506ea5e9 03-Nov-2007 Timo Sirainen <tss@iki.fi>

Support for looking up dbox files from an alternative directory if they're not found from the primary directory. --HG-- branch : HEAD

ef50336eefcb9ba99f73c6af37420eaf8857a39b 28-Oct-2007 Timo Sirainen <tss@iki.fi>

Fixes to handling namespace prefixes and real!=virtual separator. Added a new MAILBOX_LIST_ITER_VIRTUAL_NAMES which specifies if mailbox listing should be using virtual or real mailbox names. --HG-- branch : HEAD

adb6413686e52e00dded4932babcc08ff041876b 17-Sep-2007 Timo Sirainen <tss@iki.fi>

Moved mail_location data parsing to a common function. It supports now also specifying SUBSCRIPTIONS and DIRNAME. --HG-- branch : HEAD

43d32cbe60fdaef2699d99f1ca259053e9350411 16-Sep-2007 Timo Sirainen <tss@iki.fi>

Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED. --HG-- branch : HEAD

/dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/main.c /dovecot/src/auth/mech-cram-md5.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-winbind.c /dovecot/src/auth/passdb-bsdauth.c /dovecot/src/auth/passdb-checkpassword.c /dovecot/src/auth/passdb-ldap.c /dovecot/src/auth/passdb-passwd-file.c /dovecot/src/auth/passdb-passwd.c /dovecot/src/auth/passdb-shadow.c /dovecot/src/auth/passdb-sia.c /dovecot/src/auth/passdb-sql.c /dovecot/src/auth/passdb-vpopmail.c /dovecot/src/auth/password-scheme.c /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-passwd-file.c /dovecot/src/auth/userdb-sql.c /dovecot/src/auth/userdb-static.c /dovecot/src/deliver/deliver.c /dovecot/src/deliver/smtp-client.c /dovecot/src/dict/main.c /dovecot/src/imap-login/client.c /dovecot/src/imap/client.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/main.c /dovecot/src/lib-charset/charset-utf8.c /dovecot/src/lib-dict/dict-db.c /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-index/mail-cache-sync-update.c /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-index-dummy-view.c /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlite.c /dovecot/src/lib-sql/sql-api.c index/cydir/cydir-save.c index/cydir/cydir-storage.c index/dbox/dbox-save.c index/dbox/dbox-storage.c index/index-search.c index/index-storage.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-util.c index/mbox/istream-raw-mbox.c index/mbox/mbox-lock.c index/mbox/mbox-save.c index/mbox/mbox-sync-private.h list/mailbox-list-fs.c list/mailbox-list-maildir.c mail-storage-private.h mailbox-list-private.h mailbox-list.c /dovecot/src/lib/backtrace-string.c /dovecot/src/lib/data-stack.c /dovecot/src/lib/data-stack.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/fdpass.c /dovecot/src/lib/imem.h /dovecot/src/lib/ioloop-notify-dn.c /dovecot/src/lib/ioloop-notify-none.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-limit.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream-seekable.c /dovecot/src/lib/istream-tee.c /dovecot/src/lib/istream.c /dovecot/src/lib/lib-signals.c /dovecot/src/lib/macros.h /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/mempool-datastack.c /dovecot/src/lib/mempool-system-clean.c /dovecot/src/lib/mempool-system.c /dovecot/src/lib/mempool-unsafe-datastack.c /dovecot/src/lib/mempool.h /dovecot/src/lib/mmap-anon.c /dovecot/src/lib/mmap-util.c /dovecot/src/lib/mmap-util.h /dovecot/src/lib/module-dir.c /dovecot/src/lib/network.c /dovecot/src/lib/nfs-workarounds.c /dovecot/src/lib/ostream-crlf.c /dovecot/src/lib/printf-format-fix.h /dovecot/src/lib/process-title.c /dovecot/src/lib/restrict-process-size.c /dovecot/src/lib/sendfile-util.c /dovecot/src/lib/str.h /dovecot/src/lib/strfuncs.h /dovecot/src/lib/utc-offset.c /dovecot/src/lib/var-expand.c /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/login-common/ssl-proxy.c /dovecot/src/master/auth-process.c /dovecot/src/master/child-process.c /dovecot/src/master/dict-process.c /dovecot/src/master/log.c /dovecot/src/master/login-process.c /dovecot/src/master/mail-process.c /dovecot/src/master/mail-process.h /dovecot/src/master/main.c /dovecot/src/master/master-settings.c /dovecot/src/master/ssl-init-main.c /dovecot/src/master/ssl-init.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts-squat/squat-test.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-dict.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/zlib/istream-zlib.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3/client.c /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.c /dovecot/src/pop3/main.c /dovecot/src/util/dovecotpw.c /dovecot/src/util/listview.c
c25356d5978632df6203437e1953bcb29e0c736f 16-Sep-2007 Timo Sirainen <tss@iki.fi>

Changed .h ifdef/defines to use <NAME>_H format. --HG-- branch : HEAD

/dovecot/src/auth/auth-cache.h /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-client-interface.h /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-master-interface.h /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-stream.h /dovecot/src/auth/auth-worker-client.h /dovecot/src/auth/auth-worker-server.h /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/db-sql.h /dovecot/src/auth/mech.h /dovecot/src/auth/mycrypt.h /dovecot/src/auth/otp-skey-common.h /dovecot/src/auth/passdb-blocking.h /dovecot/src/auth/passdb-cache.h /dovecot/src/auth/passdb.h /dovecot/src/auth/password-scheme.h /dovecot/src/auth/plain-common.h /dovecot/src/auth/userdb-blocking.h /dovecot/src/auth/userdb-static.h /dovecot/src/auth/userdb-vpopmail.h /dovecot/src/auth/userdb.h /dovecot/src/deliver/auth-client.h /dovecot/src/deliver/deliver.h /dovecot/src/deliver/duplicate.h /dovecot/src/deliver/mail-send.h /dovecot/src/deliver/smtp-client.h /dovecot/src/dict/dict-cache.h /dovecot/src/dict/dict-server.h /dovecot/src/imap-login/client-authenticate.h /dovecot/src/imap-login/client.h /dovecot/src/imap-login/imap-proxy.h /dovecot/src/imap/client.h /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.h /dovecot/src/imap/common.h /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.h /dovecot/src/imap/imap-status.h /dovecot/src/imap/imap-sync.h /dovecot/src/imap/imap-thread.h /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-auth/auth-server-request.h /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-dict/dict-client.h /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.h /dovecot/src/lib-dict/dict.h /dovecot/src/lib-imap/imap-base-subject.h /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-date.h /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-quote.h /dovecot/src/lib-imap/imap-util.h /dovecot/src/lib-index/mail-cache-private.h /dovecot/src/lib-index/mail-cache.h /dovecot/src/lib-index/mail-hash.h /dovecot/src/lib-index/mail-index-private.h /dovecot/src/lib-index/mail-index-sync-private.h /dovecot/src/lib-index/mail-index-transaction-private.h /dovecot/src/lib-index/mail-index-view-private.h /dovecot/src/lib-index/mail-index.h /dovecot/src/lib-index/mail-transaction-log-private.h /dovecot/src/lib-index/mail-transaction-log.h /dovecot/src/lib-index/mailbox-list-index-private.h /dovecot/src/lib-index/mailbox-list-index.h /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/mail-types.h /dovecot/src/lib-mail/message-address.h /dovecot/src/lib-mail/message-date.h /dovecot/src/lib-mail/message-decoder.h /dovecot/src/lib-mail/message-header-decode.h /dovecot/src/lib-mail/message-header-parser.h /dovecot/src/lib-mail/message-id.h /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-part-serialize.h /dovecot/src/lib-mail/message-search.h /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/quoted-printable.h /dovecot/src/lib-mail/rfc822-parser.h /dovecot/src/lib-ntlm/ntlm-byteorder.h /dovecot/src/lib-ntlm/ntlm-des.h /dovecot/src/lib-ntlm/ntlm-encrypt.h /dovecot/src/lib-ntlm/ntlm-flags.h /dovecot/src/lib-ntlm/ntlm-message.h /dovecot/src/lib-ntlm/ntlm-types.h /dovecot/src/lib-ntlm/ntlm.h /dovecot/src/lib-otp/otp-dictionary.h /dovecot/src/lib-otp/otp-hash.h /dovecot/src/lib-otp/otp-parity.h /dovecot/src/lib-otp/otp-parse.h /dovecot/src/lib-otp/otp.h /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/sql-api-private.h /dovecot/src/lib-sql/sql-api.h index/cydir/cydir-storage.h index/cydir/cydir-sync.h index/dbox/dbox-file.h index/dbox/dbox-index.h index/dbox/dbox-storage.h index/dbox/dbox-sync.h index/index-mail.h index/index-sort.h index/index-storage.h index/index-sync-changes.h index/maildir/maildir-filename.h index/maildir/maildir-keywords.h index/maildir/maildir-storage.h index/maildir/maildir-sync.h index/maildir/maildir-uidlist.h index/mbox/istream-raw-mbox.h index/mbox/mbox-file.h index/mbox/mbox-from.h index/mbox/mbox-lock.h index/mbox/mbox-md5.h index/mbox/mbox-storage.h index/mbox/mbox-sync-private.h list/index-mailbox-list.h list/mailbox-list-fs.h list/mailbox-list-maildir.h list/mailbox-list-subscriptions.h list/subscription-file.h mail-copy.h mail-error.h mail-namespace.h mail-search.h mail-storage-private.h mail-storage.h mailbox-list-private.h mailbox-list.h mailbox-tree.h /dovecot/src/lib/array-decl.h /dovecot/src/lib/array.h /dovecot/src/lib/backtrace-string.h /dovecot/src/lib/base64.h /dovecot/src/lib/bsearch-insert-pos.h /dovecot/src/lib/buffer.h /dovecot/src/lib/close-keep-errno.h /dovecot/src/lib/compat.h /dovecot/src/lib/crc32.h /dovecot/src/lib/data-stack.h /dovecot/src/lib/env-util.h /dovecot/src/lib/failures.h /dovecot/src/lib/fd-close-on-exec.h /dovecot/src/lib/fd-set-nonblock.h /dovecot/src/lib/fdpass.h /dovecot/src/lib/file-cache.h /dovecot/src/lib/file-copy.h /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/file-lock.h /dovecot/src/lib/file-set-size.h /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.h /dovecot/src/lib/hex-dec.h /dovecot/src/lib/hmac-md5.h /dovecot/src/lib/home-expand.h /dovecot/src/lib/hostpid.h /dovecot/src/lib/imem.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-iolist.h /dovecot/src/lib/ioloop-notify-fd.h /dovecot/src/lib/ioloop.h /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-seekable.h /dovecot/src/lib/istream-tee.h /dovecot/src/lib/istream.h /dovecot/src/lib/lib-signals.h /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/lib/md4.h /dovecot/src/lib/md5.h /dovecot/src/lib/mempool.h /dovecot/src/lib/mkdir-parents.h /dovecot/src/lib/mmap-util.h /dovecot/src/lib/module-context.h /dovecot/src/lib/module-dir.h /dovecot/src/lib/mountpoint.h /dovecot/src/lib/network.h /dovecot/src/lib/nfs-workarounds.h /dovecot/src/lib/ostream-crlf.h /dovecot/src/lib/ostream-internal.h /dovecot/src/lib/ostream.h /dovecot/src/lib/primes.h /dovecot/src/lib/printf-format-fix.h /dovecot/src/lib/process-title.h /dovecot/src/lib/randgen.h /dovecot/src/lib/read-full.h /dovecot/src/lib/restrict-access.h /dovecot/src/lib/restrict-process-size.h /dovecot/src/lib/safe-memset.h /dovecot/src/lib/safe-mkdir.h /dovecot/src/lib/safe-mkstemp.h /dovecot/src/lib/sendfile-util.h /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/sha1.h /dovecot/src/lib/str-find.h /dovecot/src/lib/str-sanitize.h /dovecot/src/lib/str.h /dovecot/src/lib/strescape.h /dovecot/src/lib/strfuncs.h /dovecot/src/lib/unichar.h /dovecot/src/lib/unix-socket-create.h /dovecot/src/lib/unlink-directory.h /dovecot/src/lib/unlink-lockfiles.h /dovecot/src/lib/utc-mktime.h /dovecot/src/lib/utc-offset.h /dovecot/src/lib/var-expand.h /dovecot/src/lib/write-full.h /dovecot/src/login-common/client-common.h /dovecot/src/login-common/common.h /dovecot/src/login-common/login-proxy.h /dovecot/src/login-common/master.h /dovecot/src/login-common/sasl-server.h /dovecot/src/login-common/ssl-proxy.h /dovecot/src/master/askpass.h /dovecot/src/master/auth-process.h /dovecot/src/master/capabilities.h /dovecot/src/master/child-process.h /dovecot/src/master/common.h /dovecot/src/master/dict-process.h /dovecot/src/master/dup2-array.h /dovecot/src/master/listener.h /dovecot/src/master/log.h /dovecot/src/master/login-process.h /dovecot/src/master/mail-process.h /dovecot/src/master/master-login-interface.h /dovecot/src/master/master-settings.h /dovecot/src/master/ssl-init.h /dovecot/src/master/syslog-util.h /dovecot/src/plugins/acl/acl-api-private.h /dovecot/src/plugins/acl/acl-api.h /dovecot/src/plugins/acl/acl-backend-vfile.h /dovecot/src/plugins/acl/acl-cache.h /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/convert/convert-plugin.h /dovecot/src/plugins/convert/convert-storage.h /dovecot/src/plugins/expire/auth-client.h /dovecot/src/plugins/expire/expire-env.h /dovecot/src/plugins/expire/expire-plugin.h /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h /dovecot/src/plugins/fts-lucene/lucene-wrapper.h /dovecot/src/plugins/fts-squat/fts-squat-plugin.h /dovecot/src/plugins/fts-squat/squat-trie-private.h /dovecot/src/plugins/fts-squat/squat-trie.h /dovecot/src/plugins/fts-squat/squat-uidlist.h /dovecot/src/plugins/fts/fts-api-private.h /dovecot/src/plugins/fts/fts-api.h /dovecot/src/plugins/fts/fts-plugin.h /dovecot/src/plugins/imap-quota/imap-quota-plugin.h /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.h /dovecot/src/plugins/mail-log/mail-log-plugin.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.h /dovecot/src/plugins/quota/quota-fs.h /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota.h /dovecot/src/plugins/trash/trash-plugin.h /dovecot/src/plugins/zlib/istream-zlib.h /dovecot/src/plugins/zlib/zlib-plugin.h /dovecot/src/pop3-login/client-authenticate.h /dovecot/src/pop3-login/client.h /dovecot/src/pop3-login/pop3-proxy.h /dovecot/src/pop3/capability.h /dovecot/src/pop3/client.h /dovecot/src/pop3/commands.h /dovecot/src/pop3/common.h
d92f33f13830ba23d814342bf3ea8db721a15bb1 15-Jul-2007 Timo Sirainen <tss@iki.fi>

Added support for multiple mailbox list patterns. --HG-- branch : HEAD

533bfba437e4120aa29dd45bca2aa87e30ee28a2 29-Jun-2007 Timo Sirainen <tss@iki.fi>

s/mask/pattern/ for mailbox listing. --HG-- branch : HEAD

61e84692827b6a64912343f515c984853021483a 27-Jun-2007 Timo Sirainen <tss@iki.fi>

mailbox_list_iter_next() returns now const pointer. --HG-- branch : HEAD

ff7056842f14fd3b30a2d327dfab165b9d15dd30 13-May-2007 Timo Sirainen <tss@iki.fi>

Error handling rewrite. --HG-- branch : HEAD

/dovecot/src/deliver/deliver.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/imap-search.c Makefile.am index/cydir/cydir-save.c index/cydir/cydir-storage.c index/dbox/dbox-save.c index/dbox/dbox-storage.c index/dbox/dbox-uidlist.c index/index-search.c index/maildir/maildir-copy.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-uidlist.c index/maildir/maildir-util.c index/mbox/mbox-file.c index/mbox/mbox-lock.c index/mbox/mbox-save.c index/mbox/mbox-storage.c index/mbox/mbox-sync.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir.c list/subscription-file.c mail-error.c mail-error.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/pop3/client.c
2423da95ee20fd4b3c260c1389cf2952d25f099c 17-Apr-2007 Timo Sirainen <tss@iki.fi>

Removed HAS_INBOX and SHARED_NAMESPACE flags from mail storage and mailbox list flags. They can be directly taken from struct mail_namespace. --HG-- branch : HEAD

5694eeb99b69dea8033ca77ad69743c6b4871370 11-Apr-2007 Timo Sirainen <tss@iki.fi>

Added mailbox_list_get_permissions() and MAILBOX_LIST_ITER_RAW_LIST. --HG-- branch : HEAD

c58906589cafc32df4c04ffbef933baadd3f2276 11-Apr-2007 Timo Sirainen <tss@iki.fi>

Added mailbox_list to struct mail_namespace. Added a few functions to get private data out of mailbox_list. --HG-- branch : HEAD

8e371a3ce32bd64288786855b8ce0cb63f19f7d1 29-Mar-2007 Timo Sirainen <tss@iki.fi>

Better type safety to module_contexts arrays. Already fixed some bugs. --HG-- branch : HEAD

/dovecot/src/imap/imap-thread.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-transaction.c index/index-storage.c index/index-storage.h index/index-transaction.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-transaction.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h index/mbox/mbox-transaction.c list/index-mailbox-list-sync.c list/index-mailbox-list.c list/index-mailbox-list.h mail-storage-private.h mail-storage.c mailbox-list-private.h mailbox-list.c /dovecot/src/lib/Makefile.am /dovecot/src/lib/module-context.h /dovecot/src/plugins/acl/Makefile.am /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-lucene/Makefile.am /dovecot/src/plugins/fts-lucene/fts-backend-lucene.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.c /dovecot/src/plugins/fts-lucene/fts-lucene-plugin.h /dovecot/src/plugins/fts-squat/Makefile.am /dovecot/src/plugins/fts/Makefile.am /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/quota/quota-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/Makefile.am /dovecot/src/plugins/zlib/zlib-plugin.c
b039dabf4c53f72454e795930e7643b6e0e625f9 29-Mar-2007 Timo Sirainen <tss@iki.fi>

Moved delete/rename operations to mailbox_list API. Fixed mbox/maildir to work with either fs/maildir++ directory layout. They can be changed by appending :LAYOUT=fs|maildir++ to mail_location. --HG-- branch : HEAD

/dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-rename.c index/dbox/dbox-file.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/dbox/dbox-sync-expunge.c index/dbox/dbox-sync-full.c index/dbox/dbox-uidlist.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/mbox/mbox-storage.c list/index-mailbox-list-sync.c list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-plugin.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c
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

/dovecot/src/deliver/deliver.c /dovecot/src/imap/Makefile.am /dovecot/src/imap/cmd-list.c /dovecot/src/imap/common.h /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/main.c /dovecot/src/imap/namespace.c /dovecot/src/lib-index/Makefile.am /dovecot/src/lib-index/mailbox-list-index-private.h /dovecot/src/lib-index/mailbox-list-index-sync.c /dovecot/src/lib-index/mailbox-list-index.c /dovecot/src/lib-index/mailbox-list-index.h index/dbox/dbox-storage.c index/dbox/dbox-sync.c index/dbox/dbox-transaction.c index/index-status.c index/index-storage.c index/index-storage.h index/index-sync.c index/maildir/maildir-copy.c index/maildir/maildir-save.c index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-sync.c index/maildir/maildir-sync.h index/maildir/maildir-transaction.c index/maildir/maildir-util.c index/mbox/mbox-storage.c index/mbox/mbox-sync.c index/mbox/mbox-transaction.c list/Makefile.am list/index-mailbox-list-sync.c list/index-mailbox-list.c list/index-mailbox-list.h list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-fs.h list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c list/mailbox-list-maildir.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h mailbox-tree.c register/Makefile.am /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/client.c /dovecot/src/pop3/common.h /dovecot/src/pop3/main.c
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3 16-Nov-2006 Timo Sirainen <tss@iki.fi>

Initial code for separation of mailbox accessing and directory layout handling. It's not yet possible to change the default layouts though. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/deliver/Makefile.am /dovecot/src/imap/Makefile.am /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/main.c Makefile.am index/dbox/Makefile.am index/dbox/dbox-list.c index/dbox/dbox-storage.c index/dbox/dbox-storage.h index/index-storage.c index/index-storage.h index/maildir/Makefile.am index/maildir/maildir-storage.c index/maildir/maildir-storage.h index/maildir/maildir-uidlist.c index/mbox/Makefile.am index/mbox/mbox-list.c index/mbox/mbox-storage.c index/mbox/mbox-storage.h list/.cvsignore list/mailbox-list-fs-iter.c list/mailbox-list-fs.c list/mailbox-list-fs.h list/mailbox-list-maildir-iter.c list/mailbox-list-maildir.c list/mailbox-list-maildir.h list/subscription-file.c list/subscription-file.h mail-storage-private.h mail-storage.c mail-storage.h mailbox-list-private.h mailbox-list.c mailbox-list.h mailbox-tree.h register/.cvsignore register/Makefile.am subscription-file/Makefile.am /dovecot/src/plugins/acl/Makefile.am /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-plugin.h /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/convert/Makefile.am /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/Makefile.am /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/pop3/Makefile.am