History log of /dovecot/src/lib-index/mail-index-util.h
Revision Date Author Comments Expand
765b5eec222d2546247e74cb9bcabd43633d2e4a 03-Jun-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-index: Allow growing ext record_size after mail_index_update_ext() The existing records will just get some zero-padding at the end of records.

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 mail-cache-lookup.c mail-cache-transaction.c mail-index-alloc-cache.c mail-index-alloc-cache.h mail-index-map-hdr.c mail-index-map.c mail-index-util.h mail-index-view.c mail-index.c 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 /dovecot/src/lib-storage/index/dbox-common/dbox-file-fix.c /dovecot/src/lib-storage/index/dbox-common/dbox-save.h /dovecot/src/lib-storage/index/dbox-common/dbox-storage.c /dovecot/src/lib-storage/index/dbox-common/dbox-sync-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.h /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.c /dovecot/src/lib-storage/index/dbox-single/sdbox-storage.c /dovecot/src/lib-storage/index/imapc/imapc-mail.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync-changes.h /dovecot/src/lib-storage/index/maildir/maildir-filename-flags.c /dovecot/src/lib-storage/index/maildir/maildir-filename-flags.h /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync-index.c /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-sync.h /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/maildir/maildir-util.c /dovecot/src/lib-storage/index/mbox/mbox-file.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-mail.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/raw/raw-storage.c /dovecot/src/lib-storage/index/shared/shared-storage.c /dovecot/src/lib-storage/list/mailbox-list-delete.c /dovecot/src/lib-storage/list/mailbox-list-fs-iter.c /dovecot/src/lib-storage/list/mailbox-list-fs.c /dovecot/src/lib-storage/list/mailbox-list-index-status.c /dovecot/src/lib-storage/list/mailbox-list-index.c /dovecot/src/lib-storage/list/mailbox-list-maildir.c /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail-thread.h /dovecot/src/lib-storage/mail.c /dovecot/src/lib-storage/mailbox-get.c /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.c /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/lib-storage/mailbox-tree.c /dovecot/src/lib-storage/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
bc397dfcbe6e22aa1ca2e15a9f3cd42f39e2ec4e 13-Jul-2009 Timo Sirainen <tss@iki.fi>

Moved mail_index_seq_array_*() to mail-index-util.c and added its own .h file. --HG-- branch : HEAD

0d6c06233b2cdc5d854329ea6de3e1a0e244cdb4 27-Apr-2004 Timo Sirainen <tss@iki.fi>

removed out of the way of new index code --HG-- branch : HEAD

c0435c854a0e7246373b9752d163095cc4fbe985 05-Jan-2003 Timo Sirainen <tss@iki.fi>

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-interface.h /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/cookie.c /dovecot/src/auth/cookie.h /dovecot/src/auth/login-connection.c /dovecot/src/auth/login-connection.h /dovecot/src/auth/main.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-pam.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/auth/userinfo-passwd.c /dovecot/src/auth/userinfo-passwd.h /dovecot/src/auth/userinfo-shadow.c /dovecot/src/auth/userinfo-vpopmail.c /dovecot/src/auth/userinfo.c /dovecot/src/auth/userinfo.h /dovecot/src/imap/client.c /dovecot/src/imap/client.h /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-authenticate.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-check.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-examine.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-login.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-lsub.c /dovecot/src/imap/cmd-noop.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/cmd-uid.c /dovecot/src/imap/cmd-unsubscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.h /dovecot/src/imap/common.h /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/main.c /dovecot/src/imap/rawlog.c /dovecot/src/lib-charset/charset-iconv.c /dovecot/src/lib-charset/charset-utf8.c /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-imap/imap-base-subject.h /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-match.c /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-quote.c /dovecot/src/lib-imap/imap-quote.h /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h mail-custom-flags.c mail-custom-flags.h mail-index-compress.c mail-index-data.c mail-index-data.h mail-index-fsck.c mail-index-open.c mail-index-update-cache.c mail-index-update.c mail-index-util.c mail-index-util.h mail-index.c mail-index.h mail-lockdir.c mail-lockdir.h mail-modifylog.c mail-modifylog.h mail-tree-redblack.c mail-tree.c mail-tree.h maildir/maildir-build.c maildir/maildir-index.c maildir/maildir-index.h maildir/maildir-open.c maildir/maildir-rebuild.c maildir/maildir-sync.c maildir/maildir-update.c mbox/mbox-append.c mbox/mbox-from.c mbox/mbox-index.c mbox/mbox-index.h mbox/mbox-lock.c mbox/mbox-lock.h mbox/mbox-open.c mbox/mbox-rebuild.c mbox/mbox-rewrite.c mbox/mbox-sync-full.c mbox/mbox-sync.c /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/message-address.c /dovecot/src/lib-mail/message-address.h /dovecot/src/lib-mail/message-body-search.c /dovecot/src/lib-mail/message-body-search.h /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-date.c /dovecot/src/lib-mail/message-date.h /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-search.c /dovecot/src/lib-mail/message-header-search.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/message-part-serialize.h /dovecot/src/lib-mail/message-send.c /dovecot/src/lib-mail/message-send.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/message-tokenize.c /dovecot/src/lib-mail/message-tokenize.h /dovecot/src/lib-mail/quoted-printable.c /dovecot/src/lib-mail/quoted-printable.h /dovecot/src/lib-mail/rfc822-address.h /dovecot/src/lib-mail/rfc822-date.h /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-expunge.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-mailbox-check.c /dovecot/src/lib-storage/index/index-messageset.c /dovecot/src/lib-storage/index/index-messageset.h /dovecot/src/lib-storage/index/index-msgcache.c /dovecot/src/lib-storage/index/index-save.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort.c /dovecot/src/lib-storage/index/index-sort.h /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-update-flags.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-expunge.c /dovecot/src/lib-storage/index/maildir/maildir-list.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-list.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-sort.c /dovecot/src/lib-storage/mail-sort.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib-storage/subscription-file/subscription-file.h /dovecot/src/lib/base64.c /dovecot/src/lib/base64.h /dovecot/src/lib/buffer.c /dovecot/src/lib/buffer.h /dovecot/src/lib/compat.h /dovecot/src/lib/data-stack.c /dovecot/src/lib/env-util.c /dovecot/src/lib/failures.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.c /dovecot/src/lib/hex-binary.h /dovecot/src/lib/imem.c /dovecot/src/lib/imem.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/iostream-internal.h /dovecot/src/lib/iostream.c /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/lib/md5.c /dovecot/src/lib/md5.h /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/mempool-datastack.c /dovecot/src/lib/mempool-system.c /dovecot/src/lib/mempool.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/ostream-file.c /dovecot/src/lib/ostream-internal.h /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/str.c /dovecot/src/lib/str.h /dovecot/src/lib/strescape.c /dovecot/src/lib/strescape.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client-authenticate.h /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/login/main.c /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/login/ssl-proxy-gnutls.c /dovecot/src/login/ssl-proxy-openssl.c /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/common.h /dovecot/src/master/imap-process.c /dovecot/src/master/login-process.c /dovecot/src/master/main.c /dovecot/src/master/master-interface.h /dovecot/src/master/settings.c /dovecot/src/master/settings.h /dovecot/src/master/ssl-init.c
38a5a537d2a082f4492fde4caf7dbc541fb8abd7 21-Dec-2002 Timo Sirainen <tss@iki.fi>

Added some missing format attribute declarations. And fixed one more bug found found with them. --HG-- branch : HEAD

c2bb1764c359ce85a7f7f789ead11dd613ff9769 25-Nov-2002 Timo Sirainen <tss@iki.fi>

Locking changes triggered a bit larger cleanup :) If we have to wait for a lock longer, the client is now notified about it every 30 seconds. Also if mailbox opening fails because of lock timeout, we won't overwrite the index anymore. Finally user gets a clear error message about lock timeout instead of "internal error". --HG-- branch : HEAD

/dovecot/TODO /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/mailbox-sync.c mail-custom-flags.c mail-index-open.c mail-index-util.c mail-index-util.h mail-index.c mail-index.h mail-modifylog.c maildir/maildir-index.c mbox/mbox-index.c mbox/mbox-lock.c /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-expunge.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-messageset.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-update-flags.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib/file-lock.c /dovecot/src/lib/file-lock.h
67950e1843bd879bab73d8752ee54f60bbd21987 28-Oct-2002 Timo Sirainen <tss@iki.fi>

Added --enable-debug. Currently it just forces file locks so that index files can't be written to when not holding exclusive lock. Also main index file can't be even read if we're unlocked (other files don't get notification of unlock, so they don't do this at least yet). --HG-- branch : HEAD

c04cafc1cdd093afcb32e313bcefbc9bb8972d9e 27-Oct-2002 Timo Sirainen <tss@iki.fi>

Moved several fields from .imap.index file to .imap.index.data file. Fixed code so that most of the fields do not need to be set when building index, allowing the index building to be fast (just readdir()s with maildir). This still needs some configuration and ability to update the fields whenever it can grab exclusive lock. Also fixed SEARCH LARGER, SMALLER and KEYWORD. --HG-- branch : HEAD

mail-index-compress.c mail-index-data.c mail-index-data.h mail-index-update-cache.c mail-index-update.c mail-index-util.c mail-index-util.h mail-index.c mail-index.h maildir/maildir-build.c maildir/maildir-index.c maildir/maildir-index.h maildir/maildir-open.c maildir/maildir-rebuild.c maildir/maildir-sync.c maildir/maildir-update.c mbox/mbox-append.c mbox/mbox-index.c mbox/mbox-index.h mbox/mbox-open.c mbox/mbox-rebuild.c mbox/mbox-rewrite.c mbox/mbox-sync-full.c mbox/mbox-sync.c /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-msgcache.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-expunge.c
0cc775b41a0dd59d5fb6a55a6fa27f0317b58eec 20-Oct-2002 Timo Sirainen <tss@iki.fi>

If maildir files are unexpectedly deleted, don't treat it as error, and don't return partially fetched data. Instead try to handle it just as if sync() had noticed it earlier. --HG-- branch : HEAD

02b32cf39a098edf60981fc228e4b034f11f3b90 14-Sep-2002 Timo Sirainen <tss@iki.fi>

lots of cleanups. also index/datafile is now capable of staying in memory, as long as it's noticed while opening the index. --HG-- branch : HEAD

/dovecot/src/imap/client.c /dovecot/src/lib-imap/imap-message-cache.c Makefile.am mail-custom-flags.c mail-hash.c mail-index-compress.c mail-index-data.c mail-index-data.h mail-index-fsck.c mail-index-open.c mail-index-util.c mail-index-util.h mail-index.c mail-index.h mail-modifylog.c maildir/maildir-build.c maildir/maildir-index.c maildir/maildir-open.c maildir/maildir-rebuild.c maildir/maildir-sync.c maildir/maildir-update.c mbox/mbox-index.c mbox/mbox-index.h mbox/mbox-open.c mbox/mbox-rebuild.c mbox/mbox-rewrite.c /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-messageset.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib/Makefile.am /dovecot/src/lib/file-lock.c /dovecot/src/lib/file-lock.h /dovecot/src/lib/file-set-size.c /dovecot/src/lib/file-set-size.h /dovecot/src/lib/mmap-anon.c /dovecot/src/lib/mmap-util.c /dovecot/src/lib/mmap-util.h
79d62d195b7eb330c4962ad166f2d066f8837e91 13-Sep-2002 Timo Sirainen <tss@iki.fi>

Added extra functions for easier printing of error messages. Moved file_set_size() to generic function in lib. If there's no space to build hash file, it builds itself in anon-mmaped memory and stays there. --HG-- branch : HEAD

7f0113f4efa1e4e020d64f714d1d765963005fd5 06-Sep-2002 Timo Sirainen <tss@iki.fi>

Bigger changes.. full_virtual_size was removed from index record and MessagePart caching is now forced. Also added per-message flags, including binary flags which can be used to check if CRs need to be inserted into message data. Added mbox-rewrite support which can be used to write out mbox file with updated flags. This still has the problem of being able to read changed custom flags, that'll require another bigger change. There's also several other mostly mbox related fixes. --HG-- branch : HEAD

66251e6ab31e5cc153fe5cae608e416dacafe9cd 08-Aug-2002 Timo Sirainen <tss@iki.fi>

Initial revision --HG-- branch : HEAD

/dovecot/.cvsignore /dovecot/.inslog2 /dovecot/AUTHORS /dovecot/COPYING.LGPL /dovecot/Makefile.am /dovecot/NEWS /dovecot/README /dovecot/TODO /dovecot/acconfig.h /dovecot/autogen.sh /dovecot/configure.in /dovecot/doc/.cvsignore /dovecot/doc/Makefile.am /dovecot/doc/auth.txt /dovecot/doc/design.txt /dovecot/doc/index.txt /dovecot/doc/multiaccess.txt /dovecot/doc/nfs.txt /dovecot/dovecot-example.conf /dovecot/src/.cvsignore /dovecot/src/Makefile.am /dovecot/src/auth/.cvsignore /dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-digest-md5.c /dovecot/src/auth/auth-interface.h /dovecot/src/auth/auth-plain.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/cookie.c /dovecot/src/auth/cookie.h /dovecot/src/auth/login-connection.c /dovecot/src/auth/login-connection.h /dovecot/src/auth/main.c /dovecot/src/auth/master.c /dovecot/src/auth/userinfo-pam.c /dovecot/src/auth/userinfo-passwd-file.c /dovecot/src/auth/userinfo-passwd.c /dovecot/src/auth/userinfo-passwd.h /dovecot/src/auth/userinfo-shadow.c /dovecot/src/auth/userinfo.c /dovecot/src/auth/userinfo.h /dovecot/src/imap/.cvsignore /dovecot/src/imap/.psrc /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-authenticate.c /dovecot/src/imap/cmd-capability.c /dovecot/src/imap/cmd-check.c /dovecot/src/imap/cmd-close.c /dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-create.c /dovecot/src/imap/cmd-delete.c /dovecot/src/imap/cmd-examine.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-login.c /dovecot/src/imap/cmd-logout.c /dovecot/src/imap/cmd-lsub.c /dovecot/src/imap/cmd-noop.c /dovecot/src/imap/cmd-rename.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-status.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-subscribe.c /dovecot/src/imap/cmd-uid.c /dovecot/src/imap/cmd-unsubscribe.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/commands-util.h /dovecot/src/imap/commands.c /dovecot/src/imap/commands.h /dovecot/src/imap/common.h /dovecot/src/imap/main.c /dovecot/src/lib-imap/.cvsignore /dovecot/src/lib-imap/Makefile.am /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-bodystructure.h /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h /dovecot/src/lib-imap/imap-match.c /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-message-cache.c /dovecot/src/lib-imap/imap-message-cache.h /dovecot/src/lib-imap/imap-message-send.c /dovecot/src/lib-imap/imap-message-send.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h .cvsignore Makefile.am mail-hash.c mail-hash.h mail-index-data.c mail-index-data.h mail-index-fsck.c mail-index-update.c mail-index-util.c mail-index-util.h mail-index.c mail-index.h mail-lockdir.c mail-lockdir.h mail-messageset.c mail-messageset.h mail-modifylog.c mail-modifylog.h maildir/.cvsignore maildir/Makefile.am maildir/maildir-build.c maildir/maildir-index.c maildir/maildir-index.h maildir/maildir-open.c maildir/maildir-rebuild.c maildir/maildir-sync.c maildir/maildir-update.c mbox/.cvsignore mbox/Makefile.am mbox/mbox-append.c mbox/mbox-fsck.c mbox/mbox-index.c mbox/mbox-index.h mbox/mbox-lock.c mbox/mbox-lock.h mbox/mbox-open.c mbox/mbox-rebuild.c mbox/mbox-sync.c /dovecot/src/lib-mail/.cvsignore /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/message-content-parser.c /dovecot/src/lib-mail/message-content-parser.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-mail/message-size.c /dovecot/src/lib-mail/message-size.h /dovecot/src/lib-mail/rfc822-address.c /dovecot/src/lib-mail/rfc822-address.h /dovecot/src/lib-mail/rfc822-date.c /dovecot/src/lib-mail/rfc822-date.h /dovecot/src/lib-mail/rfc822-tokenize.c /dovecot/src/lib-mail/rfc822-tokenize.h /dovecot/src/lib-storage/.cvsignore /dovecot/src/lib-storage/Makefile.am /dovecot/src/lib-storage/flags-file/.cvsignore /dovecot/src/lib-storage/flags-file/Makefile.am /dovecot/src/lib-storage/flags-file/flags-file.c /dovecot/src/lib-storage/flags-file/flags-file.h /dovecot/src/lib-storage/index/.cvsignore /dovecot/src/lib-storage/index/Makefile.am /dovecot/src/lib-storage/index/index-copy.c /dovecot/src/lib-storage/index/index-expunge.c /dovecot/src/lib-storage/index/index-fetch-section.c /dovecot/src/lib-storage/index/index-fetch.c /dovecot/src/lib-storage/index/index-fetch.h /dovecot/src/lib-storage/index/index-save.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-status.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-update-flags.c /dovecot/src/lib-storage/index/maildir/.cvsignore /dovecot/src/lib-storage/index/maildir/Makefile.am /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-expunge.c /dovecot/src/lib-storage/index/maildir/maildir-list.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/mbox/.cvsignore /dovecot/src/lib-storage/index/mbox/Makefile.am /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-list.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/subscription-file/.cvsignore /dovecot/src/lib-storage/subscription-file/Makefile.am /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib-storage/subscription-file/subscription-file.h /dovecot/src/lib/.cvsignore /dovecot/src/lib/Makefile.am /dovecot/src/lib/base64.c /dovecot/src/lib/base64.h /dovecot/src/lib/compat.c /dovecot/src/lib/compat.h /dovecot/src/lib/failures.c /dovecot/src/lib/failures.h /dovecot/src/lib/fdpass.c /dovecot/src/lib/fdpass.h /dovecot/src/lib/gmtoff.c /dovecot/src/lib/gmtoff.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.c /dovecot/src/lib/hex-binary.h /dovecot/src/lib/hostpid.c /dovecot/src/lib/hostpid.h /dovecot/src/lib/imem.c /dovecot/src/lib/imem.h /dovecot/src/lib/iobuffer.c /dovecot/src/lib/iobuffer.h /dovecot/src/lib/ioloop-internal.h /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop-select.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/lib-signals.c /dovecot/src/lib/lib-signals.h /dovecot/src/lib/lib.c /dovecot/src/lib/lib.h /dovecot/src/lib/macros.h /dovecot/src/lib/md5.c /dovecot/src/lib/md5.h /dovecot/src/lib/mempool-allocfree.c /dovecot/src/lib/mempool-allocfree.h /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/mempool-system.c /dovecot/src/lib/mempool.c /dovecot/src/lib/mempool.h /dovecot/src/lib/mmap-util.c /dovecot/src/lib/mmap-util.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/primes.c /dovecot/src/lib/primes.h /dovecot/src/lib/randgen.c /dovecot/src/lib/randgen.h /dovecot/src/lib/restrict-access.c /dovecot/src/lib/restrict-access.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/temp-mempool.c /dovecot/src/lib/temp-mempool.h /dovecot/src/lib/temp-string.c /dovecot/src/lib/temp-string.h /dovecot/src/lib/unlink-directory.c /dovecot/src/lib/unlink-directory.h /dovecot/src/lib/unlink-lockfiles.c /dovecot/src/lib/unlink-lockfiles.h /dovecot/src/login/.cvsignore /dovecot/src/login/.psrc /dovecot/src/login/Makefile.am /dovecot/src/login/auth-connection.c /dovecot/src/login/auth-connection.h /dovecot/src/login/client-authenticate.c /dovecot/src/login/client-authenticate.h /dovecot/src/login/client.c /dovecot/src/login/client.h /dovecot/src/login/common.h /dovecot/src/login/main.c /dovecot/src/login/master.c /dovecot/src/login/master.h /dovecot/src/login/ssl-proxy.c /dovecot/src/login/ssl-proxy.h /dovecot/src/master/.cvsignore /dovecot/src/master/.psrc /dovecot/src/master/Makefile.am /dovecot/src/master/auth-process.c /dovecot/src/master/auth-process.h /dovecot/src/master/common.h /dovecot/src/master/imap-process.c /dovecot/src/master/login-process.c /dovecot/src/master/login-process.h /dovecot/src/master/main.c /dovecot/src/master/master-interface.h /dovecot/src/master/settings.c /dovecot/src/master/settings.h /dovecot/stamp.h.in