History log of /dovecot/src/lib-index/mail-cache.h
Revision Date Author Comments Expand
2608ab4495148a9362e75ec5c67dcbdec92dbae2 20-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-index: Add mail_cache_open_or_create_path() This allows moving cache file to another directory.

93cb78fb1947d34e98efffecc2b73f035e711f18 21-Aug-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-index: Add mail_cache_close_mail() to smartly drop cached data with INDEX=MEMORY Instead of reseting the entire transaction buffer when 256 kB is reached, just drop mails have have been marked closed with mail_cache_close_mail(). If that's not enough, continue deleting forcibly until the buffer is below 256 kB. This is especially important when mail_prefetch_count>0 and INDEX=MEMORY. In that case there can be multiple mails that are being added to cache and used later on. If they were dropped from cache too early, the work would have to be done all over again.

846624bdec0d5deec6cf22071158221391ec5f2d 11-May-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-index: Add mail_cache_set_seq_corrupted_reason Marks a seq in cache corrupted, and removes that instead of the whole cache.

215cdc8dbdeee2e0e91e6f67d9c6a575a90e118a 20-Jan-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-index: Add mail_cache_decisions_copy This allows priming cache decisions for a folder.

1211f411e0f851fe144e502967d22a8c2f36dee6 20-Jan-2017 Aki Tuomi <aki.tuomi@dovecot.fi>

lib-index: Unconstify mail_cache_register_get_list This way the result is usable as input for mail_cache_register_fields.

99d5f0bf1eea2b78eac309fcd50aa6ba6b3de96b 03-Aug-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-index: Added mail_cache_get_missing_reason()

d6d9ee111d3b31a366c19391eabb377a3d2d66e8 02-Mar-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib-index: Minor code cleanup - removed duplicate function prototype.

0f833d18af36bf307cd69f235eb3fb779245b478 07-Oct-2014 Timo Sirainen <tss@iki.fi>

lib-index: Delay unlocking cache compression until changes to transaction log are committed. This should fix race condition with two processes compressing the file at the same time with same file_seq and becoming confused.

e4b242684975b4d3702ca79bfd56452fe139a2bf 07-Oct-2014 Timo Sirainen <tss@iki.fi>

lib-index: Fixed cache file creation race condition. If two processes are creating the index files at the same time, don't have one of them delete the dovecot.index.cache that the other one just created. This means we never should be calling mail_cache_create(), so it was removed entirely.

8ae72ad7d0c69e972cfa65d1e2ce4e3e9a8b765c 24-Feb-2013 Timo Sirainen <tss@iki.fi>

Replaced all -1U and (unsigned int)-1 with UINT_MAX. It's somewhat clearer this way. Also clang's -fsanitize=integer gives runtime errors about -1U (but not about explicit casts, so no need to change (type)-1 casts).

/dovecot/configure.ac /dovecot/src/anvil/anvil-settings.c /dovecot/src/auth/db-ldap.c /dovecot/src/config/doveconf.c /dovecot/src/director/director-settings.c /dovecot/src/director/doveadm-connection.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict.c /dovecot/src/lib-http/http-client-peer.c /dovecot/src/lib-imap/imap-envelope.c mail-cache-compress.c mail-cache-fields.c mail-cache-lookup.c mail-cache-transaction.c mail-cache.h mail-index-map.c mail-index-sync-keywords.c mail-index-sync.c mail-index.c mail-index.h mail-transaction-log-file.c /dovecot/src/lib-mail/test-message-address.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-sql/driver-sqlpool.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/imapc/imapc-storage.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-rebuild.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/list/mailbox-list-index.c /dovecot/src/lib-storage/list/mailbox-list-iter.c /dovecot/src/lib-storage/mail-storage-hooks.c /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib/istream-concat.c /dovecot/src/lib/priorityq.c /dovecot/src/lib/strnum.c /dovecot/src/lib/test-aqueue.c /dovecot/src/lib/test-base64.c /dovecot/src/lib/test-bsearch-insert-pos.c /dovecot/src/lib/test-seq-range-array.c /dovecot/src/lmtp/commands.c /dovecot/src/log/log-settings.c /dovecot/src/master/service-monitor.c /dovecot/src/plugins/fts/fts-build-mail.c /dovecot/src/plugins/quota/quota.c /dovecot/src/replication/replicator/replicator-settings.c /dovecot/src/stats/stats-settings.c
cb6b9d1ce0a3514b98feabef5a477afaf66ce549 09-Feb-2012 Timo Sirainen <tss@iki.fi>

lib-index: mail_cache_open_and_verify() is now public.

008a83e9f680f04f69789fb702232416eab2a86c 10-Dec-2011 Timo Sirainen <tss@iki.fi>

lib-index: Allow updating cache's last_used field with mail_cache_register_fields()

128ea07dab8d67124ea74bcc085a478784b6358a 30-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-index: Changed mail_cache_view_close() API to take pointer-to-pointer.

f3976df875193529127d584cb713983e8160bdcf 31-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-index: Added mail_cache_exists()

ad6fe4a3c0d589bb2db5238e0a6418f8d863b3c2 30-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-index: Added mail_cache_view_update_cache_decisions()

8fa86f7ef06aa6cf0239c7ca2eb98889691d40d4 30-Aug-2011 Timo Sirainen <tss@iki.fi>

lib-index: Added mail_cache_view_update_cache_decisions()

58816241cbaf79e3f8dd7d831b7c6f02c6c38ee6 05-May-2011 Timo Sirainen <tss@iki.fi>

lib-index: Added mail_cache_field_exists_any()

e2e105f6182f550efa82f77d2a46b3e8a2d4da10 20-Oct-2010 Timo Sirainen <tss@iki.fi>

lib-index: Added mail_cache_register_get_field().

d35fee8d1e5e31614dba5e64d45ed23c7d6bfa53 12-Aug-2010 Timo Sirainen <tss@iki.fi>

lib-index: Added mail_cache_reset().

764846c40e7f3ffd503337ccf798d7849cecc1c2 17-Nov-2009 Timo Sirainen <tss@iki.fi>

mail_cache_register_fields(): Update caching decisions from input fields. --HG-- branch : HEAD

61b6d1256936065321153bcd9228b9e45d95c9ab 14-Jul-2009 Timo Sirainen <tss@iki.fi>

More fixes to cache changes. --HG-- branch : HEAD

6f73af3a3a6ee900c7e736874587968d76a20bc0 22-Sep-2007 Timo Sirainen <tss@iki.fi>

mail_cache_transaction_commit()/rollback() API is now public and takes a ** pointer. Don't break if transaction is committed/rollbacked multiple times for a cache view. --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 mail-cache-sync-update.c mail-cache.h mail-index-dummy-view.c mail-index-fsck.c mail-index-private.h mail-index-sync-private.h mail-index-view.c mail-transaction-log-private.h 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 /dovecot/src/lib-storage/index/cydir/cydir-save.c /dovecot/src/lib-storage/index/cydir/cydir-storage.c /dovecot/src/lib-storage/index/dbox/dbox-save.c /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.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-util.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/list/mailbox-list-fs.c /dovecot/src/lib-storage/list/mailbox-list-maildir.c /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/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 mail-cache-private.h mail-cache.h mail-hash.h mail-index-private.h mail-index-sync-private.h mail-index-transaction-private.h mail-index-view-private.h mail-index.h mail-transaction-log-private.h mail-transaction-log.h mailbox-list-index-private.h 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 /dovecot/src/lib-storage/index/cydir/cydir-storage.h /dovecot/src/lib-storage/index/cydir/cydir-sync.h /dovecot/src/lib-storage/index/dbox/dbox-file.h /dovecot/src/lib-storage/index/dbox/dbox-index.h /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync.h /dovecot/src/lib-storage/index/index-mail.h /dovecot/src/lib-storage/index/index-sort.h /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.h /dovecot/src/lib-storage/index/maildir/maildir-keywords.h /dovecot/src/lib-storage/index/maildir/maildir-storage.h /dovecot/src/lib-storage/index/maildir/maildir-sync.h /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.h /dovecot/src/lib-storage/index/mbox/mbox-file.h /dovecot/src/lib-storage/index/mbox/mbox-from.h /dovecot/src/lib-storage/index/mbox/mbox-lock.h /dovecot/src/lib-storage/index/mbox/mbox-md5.h /dovecot/src/lib-storage/index/mbox/mbox-storage.h /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/list/index-mailbox-list.h /dovecot/src/lib-storage/list/mailbox-list-fs.h /dovecot/src/lib-storage/list/mailbox-list-maildir.h /dovecot/src/lib-storage/list/mailbox-list-subscriptions.h /dovecot/src/lib-storage/list/subscription-file.h /dovecot/src/lib-storage/mail-copy.h /dovecot/src/lib-storage/mail-error.h /dovecot/src/lib-storage/mail-namespace.h /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mailbox-list-private.h /dovecot/src/lib-storage/mailbox-list.h /dovecot/src/lib-storage/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
710deabc6b3c305c3a842e7a2e0d173c526d13a7 14-Jun-2007 Timo Sirainen <tss@iki.fi>

s/field/field_idx/ --HG-- branch : HEAD

7ca9da144f79317f9a0d3b0b5cc1fe21e44a5bf4 22-May-2007 Timo Sirainen <tss@iki.fi>

When compressing cache file, update the cache file offsets using the existing sync transaction. --HG-- branch : HEAD

5c0034beb9933bca2a8b7d83d11dface1ea3b7fa 02-Nov-2006 Timo Sirainen <tss@iki.fi>

If cache file contains broken field type or decision type mark the cache corrupted instead of assert-crashing later. --HG-- branch : HEAD

e0127c3244319fffb07bf65a3ed9e4a5d6e555b7 08-May-2006 Timo Sirainen <timo.sirainen@movial.fi>

Added mail_cache_field_want_add() and mail_cache_field_can_add() --HG-- branch : HEAD

d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d 14-Jan-2006 Timo Sirainen <tss@iki.fi>

deinit, unref, destroy, close, free, etc. functions now take a pointer to their data pointer, and set it to NULL. This makes double-frees less likely to cause security holes. --HG-- branch : HEAD

/dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-cache.h /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-connection.h /dovecot/src/auth/auth-master-listener.c /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-module.c /dovecot/src/auth/auth-module.h /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth-worker-client.h /dovecot/src/auth/auth-worker-server.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/db-sql.c /dovecot/src/auth/db-sql.h /dovecot/src/auth/main.c /dovecot/src/auth/mech-gssapi.c /dovecot/src/auth/passdb-cache.c /dovecot/src/auth/passdb-checkpassword.c /dovecot/src/auth/passdb-ldap.c /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/passdb-passwd-file.c /dovecot/src/auth/passdb-sql.c /dovecot/src/auth/passdb.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.c /dovecot/src/dict/dict-cache.c /dovecot/src/dict/dict-server.c /dovecot/src/dict/main.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client.c /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap/client.c /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-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-logout.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-unselect.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-sort.c /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-auth/auth-client.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-auth/auth-server-request.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-dict/dict-client.c /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict.c /dovecot/src/lib-dict/dict.h /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-match.c /dovecot/src/lib-imap/imap-match.h /dovecot/src/lib-imap/imap-parser.c /dovecot/src/lib-imap/imap-parser.h mail-cache-compress.c mail-cache.c mail-cache.h mail-index-private.h mail-index-sync-update.c mail-index-sync.c mail-index-transaction-private.h mail-index-transaction-view.c mail-index-transaction.c mail-index-view-sync.c mail-index-view.c mail-index.c mail-index.h mail-transaction-log-view.c mail-transaction-log.c mail-transaction-log.h /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/message-body-search.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-settings/settings.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/sql-api.c /dovecot/src/lib-sql/sql-api.h /dovecot/src/lib-storage/index/dbox/dbox-file.c /dovecot/src/lib-storage/index/dbox/dbox-list.c /dovecot/src/lib-storage/index/dbox/dbox-save.c /dovecot/src/lib-storage/index/dbox/dbox-sync-expunge.c /dovecot/src/lib-storage/index/dbox/dbox-sync.c /dovecot/src/lib-storage/index/dbox/dbox-uidlist.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mailbox-check.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-transaction.c /dovecot/src/lib-storage/index/maildir/maildir-keywords.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/mbox-file.c /dovecot/src/lib-storage/index/mbox/mbox-list.c /dovecot/src/lib-storage/index/mbox/mbox-mail.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-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/mail-copy.c /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mail.c /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib/buffer.c /dovecot/src/lib/buffer.h /dovecot/src/lib/file-cache.c /dovecot/src/lib/file-cache.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/ioloop-notify-dn.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/istream-limit.c /dovecot/src/lib/istream-seekable.c /dovecot/src/lib/istream.c /dovecot/src/lib/istream.h /dovecot/src/lib/lib-signals.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/ostream-crlf.c /dovecot/src/lib/ostream-file.c /dovecot/src/lib/ostream.c /dovecot/src/lib/ostream.h /dovecot/src/lib/str.c /dovecot/src/lib/str.h /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/auth-process.c /dovecot/src/master/dict-process.c /dovecot/src/master/log.c /dovecot/src/master/login-process.c /dovecot/src/master/main.c /dovecot/src/master/ssl-init.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/main.c /dovecot/src/util/rawlog.c
6ef7e31619edfaa17ed044b45861d106a86191ef 13-Jan-2006 Timo Sirainen <tss@iki.fi>

Added "bool" type and changed all ints that were used as booleans to bool. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/auth/auth-cache.c /dovecot/src/auth/auth-cache.h /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-master-listener.c /dovecot/src/auth/auth-master-listener.h /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-worker-client.c /dovecot/src/auth/auth.c /dovecot/src/auth/auth.h /dovecot/src/auth/common.h /dovecot/src/auth/db-ldap.c /dovecot/src/auth/db-ldap.h /dovecot/src/auth/db-passwd-file.c /dovecot/src/auth/db-passwd-file.h /dovecot/src/auth/main.c /dovecot/src/auth/mech-apop.c /dovecot/src/auth/mech-cram-md5.c /dovecot/src/auth/mech-digest-md5.c /dovecot/src/auth/mech-ntlm.c /dovecot/src/auth/mech-rpa.c /dovecot/src/auth/passdb-bsdauth.c /dovecot/src/auth/passdb-cache.c /dovecot/src/auth/passdb-cache.h /dovecot/src/auth/passdb-pam.c /dovecot/src/auth/passdb-passwd.c /dovecot/src/auth/passdb-shadow.c /dovecot/src/auth/passdb.h /dovecot/src/auth/password-scheme.c /dovecot/src/auth/password-scheme.h /dovecot/src/auth/userdb-ldap.c /dovecot/src/auth/userdb-prefetch.c /dovecot/src/auth/userdb.h /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/client-authenticate.h /dovecot/src/imap-login/client.c /dovecot/src/imap-login/client.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-idle.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-namespace.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-thread.c /dovecot/src/imap/cmd-uid.c /dovecot/src/imap/cmd-unselect.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/imap-expunge.c /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-sync.c /dovecot/src/imap/imap-sync.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/namespace.c /dovecot/src/lib-auth/auth-client.c /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-auth/auth-server-connection.h /dovecot/src/lib-auth/auth-server-request.c /dovecot/src/lib-auth/auth-server-request.h /dovecot/src/lib-charset/charset-iconv.c /dovecot/src/lib-charset/charset-utf8.c /dovecot/src/lib-charset/charset-utf8.h /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-private.h /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict.c /dovecot/src/lib-dict/dict.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-date.c /dovecot/src/lib-imap/imap-date.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-parser.c /dovecot/src/lib-imap/imap-parser.h /dovecot/src/lib-imap/imap-quote.c /dovecot/src/lib-imap/imap-quote.h mail-cache-compress.c mail-cache-lookup.c mail-cache-transaction.c mail-cache.c mail-cache.h mail-index-fsck.c mail-index-lock.c mail-index-private.h mail-index-sync-ext.c mail-index-sync-private.h mail-index-sync-update.c mail-index-sync.c mail-index-transaction-private.h mail-index-transaction.c mail-index-view-private.h mail-index-view-sync.c mail-index-view.c mail-index.c mail-index.h mail-transaction-log-append.c mail-transaction-log-private.h mail-transaction-log-view.c mail-transaction-log.c mail-transaction-log.h /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h /dovecot/src/lib-mail/message-address.c /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-content-parser.h /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-decode.h /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-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-ntlm/ntlm-encrypt.c /dovecot/src/lib-ntlm/ntlm-message.c /dovecot/src/lib-ntlm/ntlm-message.h /dovecot/src/lib-ntlm/ntlm.h /dovecot/src/lib-settings/settings.c /dovecot/src/lib-settings/settings.h /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-storage/index/dbox/dbox-list.c /dovecot/src/lib-storage/index/dbox/dbox-mail.c /dovecot/src/lib-storage/index/dbox/dbox-save.c /dovecot/src/lib-storage/index/dbox/dbox-storage.c /dovecot/src/lib-storage/index/dbox/dbox-storage.h /dovecot/src/lib-storage/index/dbox/dbox-sync-expunge.c /dovecot/src/lib-storage/index/dbox/dbox-sync.c /dovecot/src/lib-storage/index/dbox/dbox-sync.h /dovecot/src/lib-storage/index/dbox/dbox-uidlist.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mailbox-check.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/index-sync.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-list.c /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.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.h /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.h /dovecot/src/lib-storage/index/mbox/mbox-file.c /dovecot/src/lib-storage/index/mbox/mbox-file.h /dovecot/src/lib-storage/index/mbox/mbox-list.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-md5.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/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync-update.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/mbox/mbox-transaction.c /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/mailbox-tree.c /dovecot/src/lib-storage/mailbox-tree.h /dovecot/src/lib-storage/subscription-file/subscription-file.c /dovecot/src/lib-storage/subscription-file/subscription-file.h /dovecot/src/lib/array.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/data-stack.h /dovecot/src/lib/fd-close-on-exec.c /dovecot/src/lib/fd-close-on-exec.h /dovecot/src/lib/fd-set-nonblock.c /dovecot/src/lib/fd-set-nonblock.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-dotlock.h /dovecot/src/lib/hash.c /dovecot/src/lib/hash.h /dovecot/src/lib/hex-binary.c /dovecot/src/lib/ioloop-epoll.c /dovecot/src/lib/ioloop-notify-dn.c /dovecot/src/lib/ioloop-notify-inotify.c /dovecot/src/lib/ioloop-poll.c /dovecot/src/lib/ioloop.c /dovecot/src/lib/ioloop.h /dovecot/src/lib/istream-data.c /dovecot/src/lib/istream-file.c /dovecot/src/lib/istream-internal.h /dovecot/src/lib/istream-limit.c /dovecot/src/lib/istream-mmap.c /dovecot/src/lib/istream-seekable.c /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/mempool-alloconly.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/module-dir.h /dovecot/src/lib/network.c /dovecot/src/lib/network.h /dovecot/src/lib/ostream-crlf.c /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/printf-upper-bound.c /dovecot/src/lib/restrict-access.c /dovecot/src/lib/restrict-access.h /dovecot/src/lib/restrict-process-size.h /dovecot/src/lib/seq-range-array.c /dovecot/src/lib/seq-range-array.h /dovecot/src/lib/strfuncs.c /dovecot/src/lib/strfuncs.h /dovecot/src/lib/unlink-directory.c /dovecot/src/lib/unlink-directory.h /dovecot/src/lib/var-expand.c /dovecot/src/login-common/client-common.c /dovecot/src/login-common/client-common.h /dovecot/src/login-common/common.h /dovecot/src/login-common/main.c /dovecot/src/login-common/master.c /dovecot/src/login-common/master.h /dovecot/src/login-common/sasl-server.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/login-common/ssl-proxy.h /dovecot/src/master/auth-process.c /dovecot/src/master/common.h /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-login-interface.h /dovecot/src/master/master-settings.c /dovecot/src/master/master-settings.h /dovecot/src/master/ssl-init.c /dovecot/src/master/syslog-util.c /dovecot/src/master/syslog-util.h /dovecot/src/plugins/imap-quota/imap-quota-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-private.h /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/quota/quota.h /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/zlib/istream-zlib.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3-login/client-authenticate.h /dovecot/src/pop3-login/client.c /dovecot/src/pop3-login/client.h /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/common.h /dovecot/src/pop3/main.c /dovecot/src/util/rawlog.c
16598a1fb870ae40d6177755a4306216e4d6a4cd 03-Jul-2005 Timo Sirainen <tss@iki.fi>

Added mail_cache_register_get_list() to get a list of all registered fields in cache file. --HG-- branch : HEAD

a835194f9a9dae88528367a791cbc282589f6c01 23-Apr-2005 Timo Sirainen <tss@iki.fi>

s/PREFIX/SUFFIX/ for .cache and .log filename suffixes.. --HG-- branch : HEAD

9d3ccd79130199ffdb19a688027d49bf20a4aaaa 08-Apr-2005 Timo Sirainen <tss@iki.fi>

Several size_t -> unsigned int changes. Try to keep "unsigned int" for counters, size_t for actual memory range sizes. --HG-- branch : HEAD

f239eb76f77afcbc0bfc97c9b52b4407d1bc3fe6 31-Jan-2005 Timo Sirainen <tss@iki.fi>

Don't complain about cache indexid changing when recreating index. --HG-- branch : HEAD

4bbee99b3aef449a9a2a11a5b5cf1ca486915c49 20-Jul-2004 Timo Sirainen <tss@iki.fi>

Cache fixes. Decisions are saved again. --HG-- branch : HEAD

e015e2f7e7f48874495f9df8b0dd192b7ffcb5cc 18-Jul-2004 Timo Sirainen <tss@iki.fi>

Header caching redesigned. New design allows caching decisions per field, so they can be divided to temporary/permanent. Cached headers are now always returned in original order, old code didn't guarantee it. Some other caching changes. (still missing code to store changes in caching decisions) --HG-- branch : HEAD

/dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-imap/imap-bodystructure.c Makefile.am mail-cache-compress.c mail-cache-decisions.c mail-cache-fields.c mail-cache-lookup.c mail-cache-private.h mail-cache-transaction.c mail-cache.c mail-cache.h /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/istream-header-filter.h /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-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/mbox/mbox-mail.c /dovecot/src/lib-storage/index/mbox/mbox-storage.c /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/proxy-mail.c /dovecot/src/lib-storage/proxy-mailbox.c
992a13add4eea0810e4db0f042a595dddf85536a 08-Jul-2004 Timo Sirainen <tss@iki.fi>

Cache file fixes, API changes, etc. It's still in somewhat ugly state, but getting better.. --HG-- branch : HEAD

1171f0abf442638bac1827bb24a0b6b8eb682a82 04-Jul-2004 Timo Sirainen <tss@iki.fi>

Cache API updates. Don't return direct pointers to mmaped cache file anymore. --HG-- branch : HEAD

72cbf33ae81fde08384d30c779ff540752d9256c 04-Jul-2004 Timo Sirainen <tss@iki.fi>

Cache updating is done now by first reserving space where to write, and then writing to it whenever buffer gets full. There is no persistent cache file locks anymore because of this, but it also means that the same cached field may be written multiple times to the file by different processes. Also since we reserve more space than we actually need at first, it some space can be wasted if multiple processes are updating the cache. --HG-- branch : HEAD

a40d26f83af808a0ea1e212c001d682a96d870b0 04-Jul-2004 Timo Sirainen <tss@iki.fi>

Caching fixes and optimizations. Removed all network byte ordering code - it's not worth the trouble and would require massive changes in indexing code as well to be useful. Changed next_offset to prev_offset which is updated while syncing index. --HG-- branch : HEAD

fd2f5fbc1f07aa93e2214a28cdf02437fb7d06c8 04-Jul-2004 Timo Sirainen <tss@iki.fi>

Cache file compression works now and compressed cache file is reopened. Several other cleanups related to opening - cache file isn't created immediately anymore. --HG-- branch : HEAD

fc024418a9f522fd8e9fafaa68f525727a439c99 29-Jun-2004 Timo Sirainen <tss@iki.fi>

fix --HG-- branch : HEAD

8aacc9e7c84f8376822823ec98c2f551d4919b2e 28-Jun-2004 Timo Sirainen <tss@iki.fi>

Added some smartness for deciding what to cache. Cache compression code compiles, but untested. --HG-- branch : HEAD

33d63688ed8b26dc333e3c2edbfb2fe6e412604d 23-Jun-2004 Timo Sirainen <tss@iki.fi>

Added a framework for getting POP3 UIDL strings from mail-storage. The default still is uidvalidity.uid. Added beginnings of overriding it from X-UIDL header in mbox. --HG-- branch : HEAD

56f45b3f3ae20e5c933701f4657dda5ef1916855 19-Jun-2004 Timo Sirainen <tss@iki.fi>

Several fixes and cleanups to cache file code, still badly broken --HG-- branch : HEAD

da5d50534cfca45d0aaaf0bdac17b287b4588809 20-Jun-2004 Timo Sirainen <tss@iki.fi>

Beginnings of getting cache file working again. Easy to break currently, but basics seem to work. --HG-- branch : HEAD

fd3d711f219fd6813492acbe051e04327f0ca0f0 02-May-2004 Timo Sirainen <tss@iki.fi>

Added support for setting dirty flags for messages (TODO: undirty..) s/mail_index_record_flag/mail_cache_record_flag/ --HG-- branch : HEAD

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

importing new index code. mbox still broken. --HG-- branch : HEAD

/dovecot/configure.in /dovecot/src/imap/Makefile.am /dovecot/src/imap/client.c /dovecot/src/imap/cmd-append.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-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-idle.c /dovecot/src/imap/cmd-list.c /dovecot/src/imap/cmd-logout.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-thread.c /dovecot/src/imap/cmd-unselect.c /dovecot/src/imap/commands-util.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-messageset.c /dovecot/src/imap/imap-messageset.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-thread.c /dovecot/src/imap/mail-storage-callbacks.c /dovecot/src/imap/namespace.c /dovecot/src/lib-imap/imap-util.c /dovecot/src/lib-imap/imap-util.h Makefile.am mail-cache-compress.c mail-cache-lookup.c mail-cache-old.c mail-cache-private.h mail-cache-transaction.c mail-cache.c mail-cache.h mail-index-fsck.c mail-index-lock.c mail-index-private.h mail-index-reset.c mail-index-sync-private.h mail-index-sync-update.c mail-index-sync.c mail-index-transaction-private.h mail-index-transaction.c mail-index-view-private.h mail-index-view-sync.c mail-index-view.c mail-index.c mail-index.h mail-transaction-log-private.h mail-transaction-log-view.c mail-transaction-log.c mail-transaction-log.h mail-transaction-util.c mail-transaction-util.h maildir/Makefile.am mbox/Makefile.am /dovecot/src/lib-mail/Makefile.am /dovecot/src/lib-mail/mail-types.h /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-parser.h /dovecot/src/lib-storage/Makefile.am /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-expunge.h /dovecot/src/lib-storage/index/index-fetch.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-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-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-transaction.c /dovecot/src/lib-storage/index/index-update-flags.c /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-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.c /dovecot/src/lib-storage/index/maildir/maildir-transaction.c /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/Makefile.am /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c /dovecot/src/lib-storage/index/mbox/istream-raw-mbox.h /dovecot/src/lib-storage/index/mbox/mbox-expunge.c /dovecot/src/lib-storage/index/mbox/mbox-from.c /dovecot/src/lib-storage/index/mbox/mbox-from.h /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-sync-header.c /dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync-private.h /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync-update.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/mail-save.c /dovecot/src/lib-storage/mail-save.h /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage-private.h /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/proxy-mail-storage.c /dovecot/src/lib-storage/proxy-mail-storage.h /dovecot/src/lib-storage/proxy-mail.c /dovecot/src/lib-storage/proxy-mailbox.c /dovecot/src/lib-storage/proxy-mailbox.h /dovecot/src/lib-storage/register/Makefile.am /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/Makefile.am /dovecot/src/lib/compat.h /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/file-lock.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/macros.h /dovecot/src/lib/network.c /dovecot/src/lib/read-full.c /dovecot/src/lib/read-full.h /dovecot/src/lib/write-full.c /dovecot/src/lib/write-full.h /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c /dovecot/src/pop3/mail-storage-callbacks.c
0d6c06233b2cdc5d854329ea6de3e1a0e244cdb4 27-Apr-2004 Timo Sirainen <tss@iki.fi>

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

4e8b456590e76a3c53c3bf638f87e0fe5c0cec96 03-Sep-2003 Timo Sirainen <tss@iki.fi>

mbox reading is kind of working again. Just don't try rewriting or expunging :) Changing headers are also hidden from clients so mbox messages are finally seen immutable as required by IMAP. --HG-- branch : HEAD

bb8937e0c503b49a752858f00445646062b6f06e 24-Aug-2003 Timo Sirainen <tss@iki.fi>

use int32_t instead of int in struct mail_sent_date --HG-- branch : HEAD

bfe5d546f5ecc459d46dbc1c569d633de7c0516d 21-Aug-2003 Timo Sirainen <tss@iki.fi>

Removed some header/body size fields. We use only message_part now everywhere since it's small enough. virtual_full_size was left because we may know that by just reading maildir filename. --HG-- branch : HEAD

7d168af4ee6e7a38067b07cfc259d076e55900f9 18-Aug-2003 Timo Sirainen <tss@iki.fi>

Removed NBO32_BIT* stuff --HG-- branch : HEAD

6789ed17e7ca4021713507baf0dcf6979bb42e0c 06-Aug-2003 Timo Sirainen <tss@iki.fi>

Index cache file rewrite. It's not finished yet and mbox support is completely broken. But it's getting difficult to maintain outside cvs :) --HG-- branch : HEAD

/dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-fetch-body-section.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-thread.c /dovecot/src/lib-imap/imap-envelope.c /dovecot/src/lib-imap/imap-envelope.h Makefile.am mail-cache.c mail-cache.h mail-custom-flags.c mail-index-compress.c mail-index-data.c mail-index-data.h mail-index-fsck.c mail-index-open.c mail-index-rebuild.c mail-index-update-cache.c mail-index-update.c mail-index.c mail-index.h maildir/Makefile.am maildir/maildir-build.c maildir/maildir-expunge.c maildir/maildir-index.c maildir/maildir-index.h maildir/maildir-open.c maildir/maildir-sync.c maildir/maildir-uidlist.c maildir/maildir-update-flags.c mbox/Makefile.am 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-expunge.c /dovecot/src/lib-storage/index/index-fetch.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-storage.c /dovecot/src/lib-storage/index/index-storage.h /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/mail-search.c /dovecot/src/lib-storage/mail-search.h /dovecot/src/lib-storage/mail-storage.h /dovecot/src/lib-storage/proxy-mailbox.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c