]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
14 years agoAdded lib-ssl-iostream for handling SSL connections more easily.
Timo Sirainen [Mon, 31 Jan 2011 16:40:27 +0000 (18:40 +0200)] 
Added lib-ssl-iostream for handling SSL connections more easily.

14 years agoimapc: Write large message bodies to temp files rather than keeping in memory.
Timo Sirainen [Mon, 31 Jan 2011 02:02:04 +0000 (04:02 +0200)] 
imapc: Write large message bodies to temp files rather than keeping in memory.

14 years agolib-imap: struct imap_arg.str_size now contains the string value lengths.
Timo Sirainen [Mon, 31 Jan 2011 02:00:44 +0000 (04:00 +0200)] 
lib-imap: struct imap_arg.str_size now contains the string value lengths.
This is especially useful for literals that might contain NUL bytes.

14 years agolib-storage: Threading code uses now separate extra_wanted_headers also.
Timo Sirainen [Mon, 31 Jan 2011 00:17:26 +0000 (02:17 +0200)] 
lib-storage: Threading code uses now separate extra_wanted_headers also.

14 years agoimapc: Fixed sending single FETCH queries.
Timo Sirainen [Mon, 31 Jan 2011 00:13:51 +0000 (02:13 +0200)] 
imapc: Fixed sending single FETCH queries.

14 years agolib-storage: Moved setting "wanted fields/headers" fields for sort program from imap...
Timo Sirainen [Mon, 31 Jan 2011 00:13:06 +0000 (02:13 +0200)] 
lib-storage: Moved setting "wanted fields/headers" fields for sort program from imap-specific code.
Also separate between fields that are actually wanted to be fetched from the
fields that sorting wants to temporarily use.

14 years agoimapc: Minor code cleanup
Timo Sirainen [Sun, 30 Jan 2011 23:36:29 +0000 (01:36 +0200)] 
imapc: Minor code cleanup

14 years agoimapc: Send UID FETCH commands with larger uidset parameter if possible.
Timo Sirainen [Sun, 30 Jan 2011 18:47:43 +0000 (20:47 +0200)] 
imapc: Send UID FETCH commands with larger uidset parameter if possible.
This code assumes that server doesn't reorganize FETCH replies when it's
given an increasing UID range, which in theory IMAP server would be allowed
to do, but I doubt there are any.

14 years agolib-storage: Index search context is now more accessible by backends.
Timo Sirainen [Sun, 30 Jan 2011 18:16:04 +0000 (20:16 +0200)] 
lib-storage: Index search context is now more accessible by backends.
Moved struct index_search_context to index-search-private.h and added
recheck_index_args flag that backends can set.

14 years agoscript: Root permissions weren't being dropped before executing the script.
Timo Sirainen [Sun, 30 Jan 2011 15:51:17 +0000 (17:51 +0200)] 
script: Root permissions weren't being dropped before executing the script.

14 years agoscript utility now supports the script using stdio/stdout for communication.
Timo Sirainen [Fri, 28 Jan 2011 17:41:03 +0000 (19:41 +0200)] 
script utility now supports the script using stdio/stdout for communication.

14 years agoimapc: If mail's input stream is changed, don't assume virtual size = physical size.
Timo Sirainen [Fri, 28 Jan 2011 17:39:00 +0000 (19:39 +0200)] 
imapc: If mail's input stream is changed, don't assume virtual size = physical size.

14 years agoimapc: Added support for saving and copying messages.
Timo Sirainen [Fri, 28 Jan 2011 15:57:21 +0000 (17:57 +0200)] 
imapc: Added support for saving and copying messages.

14 years agoioloop: Use -1 for infinite poll/epoll timeout rather than INT_MAX.
Timo Sirainen [Wed, 26 Jan 2011 19:47:52 +0000 (21:47 +0200)] 
ioloop: Use -1 for infinite poll/epoll timeout rather than INT_MAX.
Should improve performance a tiny bit and also works around a CPU eater bug
in Linux 2.6.37.

14 years agoimapc: Syncing optimization: Don't wait for STOREs to complete before sending EXPUNGE.
Timo Sirainen [Tue, 25 Jan 2011 15:35:32 +0000 (17:35 +0200)] 
imapc: Syncing optimization: Don't wait for STOREs to complete before sending EXPUNGE.

14 years agoimapc: Added support for changing flags and expunging.
Timo Sirainen [Tue, 25 Jan 2011 15:23:52 +0000 (17:23 +0200)] 
imapc: Added support for changing flags and expunging.

14 years agoimapc: Added support for keywords.
Timo Sirainen [Tue, 25 Jan 2011 15:15:54 +0000 (17:15 +0200)] 
imapc: Added support for keywords.

14 years agodsync: Changes to make it work with imapc storage.
Timo Sirainen [Sun, 23 Jan 2011 22:42:29 +0000 (00:42 +0200)] 
dsync: Changes to make it work with imapc storage.

14 years agoimapc: Fixed mail_set_seq/uid() to work.
Timo Sirainen [Sun, 23 Jan 2011 22:42:06 +0000 (00:42 +0200)] 
imapc: Fixed mail_set_seq/uid() to work.

14 years agodbox: mailbox_create/update() might not have updated index header correctly.
Timo Sirainen [Sun, 23 Jan 2011 22:31:05 +0000 (00:31 +0200)] 
dbox: mailbox_create/update() might not have updated index header correctly.

14 years agoimapc: Implemented more methods.
Timo Sirainen [Sun, 23 Jan 2011 22:00:02 +0000 (00:00 +0200)] 
imapc: Implemented more methods.

14 years agoimapc: Fixed mailbox deletion and some error handling. Code cleanups.
Timo Sirainen [Sun, 23 Jan 2011 21:32:52 +0000 (23:32 +0200)] 
imapc: Fixed mailbox deletion and some error handling. Code cleanups.

14 years agolib-storage: Don't fail mailbox deletion if backend doesn't support mailbox GUIDs.
Timo Sirainen [Sun, 23 Jan 2011 21:32:34 +0000 (23:32 +0200)] 
lib-storage: Don't fail mailbox deletion if backend doesn't support mailbox GUIDs.

14 years agolib-storage: Recent changes accidentally made INBOX case-sensitive.
Timo Sirainen [Sun, 23 Jan 2011 20:58:34 +0000 (22:58 +0200)] 
lib-storage: Recent changes accidentally made INBOX case-sensitive.

14 years agoimapc: Handle properly mailbox changes while it's selected. Added support for IDLE.
Timo Sirainen [Sun, 23 Jan 2011 20:57:01 +0000 (22:57 +0200)] 
imapc: Handle properly mailbox changes while it's selected. Added support for IDLE.

14 years agoimapc: Fixed seqmap to work.
Timo Sirainen [Sun, 23 Jan 2011 18:26:02 +0000 (20:26 +0200)] 
imapc: Fixed seqmap to work.
The algorithm is a bit slow, could be improved. But probably won't make
much of a difference in real life.

14 years agoimapc: Code cleanups and fixes.
Timo Sirainen [Fri, 21 Jan 2011 15:39:24 +0000 (17:39 +0200)] 
imapc: Code cleanups and fixes.

14 years agoimapc: Call istream_opened() method if it's set for mail.
Timo Sirainen [Thu, 20 Jan 2011 23:05:00 +0000 (01:05 +0200)] 
imapc: Call istream_opened() method if it's set for mail.

14 years agoimapc: Added support for LIST/LSUB.
Timo Sirainen [Thu, 20 Jan 2011 20:45:41 +0000 (22:45 +0200)] 
imapc: Added support for LIST/LSUB.

14 years agoimapc: Don't send broken FETCH command when we don't actually have to fetch anything.
Timo Sirainen [Thu, 20 Jan 2011 20:44:53 +0000 (22:44 +0200)] 
imapc: Don't send broken FETCH command when we don't actually have to fetch anything.

14 years agolib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API...
Timo Sirainen [Thu, 20 Jan 2011 18:59:07 +0000 (20:59 +0200)] 
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

14 years agolib-storage: Added mailbox_get_last_*error() wrappers and use them.
Timo Sirainen [Thu, 20 Jan 2011 17:21:20 +0000 (19:21 +0200)] 
lib-storage: Added mailbox_get_last_*error() wrappers and use them.

14 years agolib-storage: Crashfix on trying to create index root dir.
Timo Sirainen [Thu, 20 Jan 2011 16:17:22 +0000 (18:17 +0200)] 
lib-storage: Crashfix on trying to create index root dir.

14 years agolib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists().
Timo Sirainen [Thu, 20 Jan 2011 16:14:53 +0000 (18:14 +0200)] 
lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists().

14 years agoimapc: Fixed authenticating with AUTHENTICATE command without SASL-IR.
Timo Sirainen [Tue, 18 Jan 2011 23:21:03 +0000 (01:21 +0200)] 
imapc: Fixed authenticating with AUTHENTICATE command without SASL-IR.

14 years agoimapc: Fixed sending non-syncing literals.
Timo Sirainen [Tue, 18 Jan 2011 23:20:48 +0000 (01:20 +0200)] 
imapc: Fixed sending non-syncing literals.

14 years agoAdded initial implementation of "imapc" storage.
Timo Sirainen [Sun, 16 Jan 2011 16:08:23 +0000 (18:08 +0200)] 
Added initial implementation of "imapc" storage.
It can be used to create a "smart IMAP proxy" where Dovecot uses remote IMAP
server as a mail storage.

This is a very rough early implementation. Performance isn't good, many
required features are missing, error handling is lacking and code needs
de-uglification. Still, it should be enough for selecting INBOX and
accessing mails in it.

14 years agoTODO updated
Timo Sirainen [Thu, 13 Jan 2011 11:08:40 +0000 (13:08 +0200)] 
TODO updated

14 years agoAdded io_loop_move_io() and io_loop_move_timeout().
Timo Sirainen [Thu, 13 Jan 2011 11:08:21 +0000 (13:08 +0200)] 
Added io_loop_move_io() and io_loop_move_timeout().

14 years agocydir: Minor fix.
Timo Sirainen [Thu, 13 Jan 2011 11:08:02 +0000 (13:08 +0200)] 
cydir: Minor fix.

14 years agoconfigure: Added a note that this is the UNSTABLE branch.
Timo Sirainen [Sat, 1 Jan 2011 14:00:01 +0000 (16:00 +0200)] 
configure: Added a note that this is the UNSTABLE branch.

14 years agoMerged fixes from v2.0 tree.
Timo Sirainen [Sat, 1 Jan 2011 13:59:02 +0000 (15:59 +0200)] 
Merged fixes from v2.0 tree.

14 years agoTODO updated.
Timo Sirainen [Sat, 1 Jan 2011 13:56:37 +0000 (15:56 +0200)] 
TODO updated.

14 years agolib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata().
Timo Sirainen [Sat, 1 Jan 2011 13:52:39 +0000 (15:52 +0200)] 
lib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata().
The idea is now that all status items are tracked all the time after mailbox
is opened and they can always be looked up without failure. The metadata
items are looked up lazily and the lookups may fail at any time.

mailbox_get_status() can be used after mailbox_alloc() to indicate that the
mailbox doesn't necessarily have to be opened, just that the status fields
get returned.

If mailbox is already known to be open, mailbox_get_open_status() can be
used. It never fails.

14 years agolib-storage: Added warning comments about mail_get_*header*utf8().
Timo Sirainen [Sat, 1 Jan 2011 12:34:14 +0000 (14:34 +0200)] 
lib-storage: Added warning comments about mail_get_*header*utf8().

14 years agolib-storage: Don't double-demimefy headers when DISPLAYFROM/DISPLAYTO sorting.
Timo Sirainen [Sat, 1 Jan 2011 11:27:16 +0000 (13:27 +0200)] 
lib-storage: Don't double-demimefy headers when DISPLAYFROM/DISPLAYTO sorting.

14 years agolib-storage: Fixed deleting symlinked mailbox.
Timo Sirainen [Thu, 30 Dec 2010 11:45:11 +0000 (13:45 +0200)] 
lib-storage: Fixed deleting symlinked mailbox.

14 years agounlink_directory(): Return ELOOP for unexpected symlinks also when O_NOFOLLOW isn...
Timo Sirainen [Thu, 30 Dec 2010 11:41:10 +0000 (13:41 +0200)] 
unlink_directory(): Return ELOOP for unexpected symlinks also when O_NOFOLLOW isn't supported.

14 years agodoveadm quota: Don't crash if quota isn't enabled.
Timo Sirainen [Thu, 30 Dec 2010 10:45:52 +0000 (12:45 +0200)] 
doveadm quota: Don't crash if quota isn't enabled.

14 years agodoveadm: Fixed mailbox-guid search key to work with shared/public mailboxes.
Timo Sirainen [Thu, 30 Dec 2010 10:40:50 +0000 (12:40 +0200)] 
doveadm: Fixed mailbox-guid search key to work with shared/public mailboxes.

14 years agovpopmail: "Service disabled" check wasn't being done correctly.
Timo Sirainen [Thu, 30 Dec 2010 10:04:30 +0000 (12:04 +0200)] 
vpopmail: "Service disabled" check wasn't being done correctly.

14 years agodoveadm user: If user isn't found, exit with status 2.
Timo Sirainen [Thu, 30 Dec 2010 09:51:59 +0000 (11:51 +0200)] 
doveadm user: If user isn't found, exit with status 2.

14 years agolib-storage: mailbox_get_status() can now fail.
Timo Sirainen [Wed, 29 Dec 2010 09:43:01 +0000 (11:43 +0200)] 
lib-storage: mailbox_get_status() can now fail.
It might have failed earlier also, but the errors were hidden from caller.

14 years agolib-storage: Crashfix for opening sdbox/mdbox mailbox.
Timo Sirainen [Wed, 29 Dec 2010 09:39:32 +0000 (11:39 +0200)] 
lib-storage: Crashfix for opening sdbox/mdbox mailbox.

14 years agolda: Removed optimization of not creating temp files for large mails when not using...
Timo Sirainen [Fri, 17 Dec 2010 13:23:07 +0000 (13:23 +0000)] 
lda: Removed optimization of not creating temp files for large mails when not using Sieve.
The backwards seeking was still needed if bouncing the mail because of
out of quota.

14 years agosnarf: Make sure destination mailbox is open when syncing it.
Timo Sirainen [Fri, 17 Dec 2010 13:16:01 +0000 (13:16 +0000)] 
snarf: Make sure destination mailbox is open when syncing it.

14 years agomaster-child API change: Use a separate fd for tracking when master dies.
Timo Sirainen [Wed, 15 Dec 2010 17:07:01 +0000 (17:07 +0000)] 
master-child API change: Use a separate fd for tracking when master dies.
This works around a Linux performance problem where when one process writes
to status fd all the other processes of the same service type wake up.

14 years agonet_listen(): If IPv6 isn't supported, don't fallback to IPv4 if my_ip is given.
Timo Sirainen [Mon, 13 Dec 2010 13:40:27 +0000 (13:40 +0000)] 
net_listen(): If IPv6 isn't supported, don't fallback to IPv4 if my_ip is given.

14 years agoquota: Quota warnings could have been executed at incorrect times with some configs.
Timo Sirainen [Mon, 13 Dec 2010 13:27:18 +0000 (13:27 +0000)] 
quota: Quota warnings could have been executed at incorrect times with some configs.
If target mailbox had quota ignored, the warning was sent if the mail would
have otherwise exceeded the warning threshold. Same when using multiple
quota roots where all of the roots weren't used for the target mailbox.

14 years agoimap: Fixed a memory leak in ESEARCH
Timo Sirainen [Thu, 9 Dec 2010 20:49:53 +0000 (20:49 +0000)] 
imap: Fixed a memory leak in ESEARCH

14 years agolib-storage: Added assert check to make sure we never do timeout_add(0)
Timo Sirainen [Thu, 9 Dec 2010 11:16:24 +0000 (11:16 +0000)] 
lib-storage: Added assert check to make sure we never do timeout_add(0)

14 years agoacl: Crashfix at deinit in some configurations.
Timo Sirainen [Wed, 8 Dec 2010 23:17:11 +0000 (23:17 +0000)] 
acl: Crashfix at deinit in some configurations.

14 years agoauth: Master user login + prefetch userdb changed username to master user.
Timo Sirainen [Tue, 7 Dec 2010 02:00:45 +0000 (02:00 +0000)] 
auth: Master user login + prefetch userdb changed username to master user.

14 years agoauth: Checkpassword's output fields are now logged with auth_debug=yes
Timo Sirainen [Tue, 7 Dec 2010 01:50:43 +0000 (01:50 +0000)] 
auth: Checkpassword's output fields are now logged with auth_debug=yes

14 years agoauth: When logging in as anonymous user, return "anonymous" userdb extra field.
Timo Sirainen [Mon, 6 Dec 2010 04:36:30 +0000 (04:36 +0000)] 
auth: When logging in as anonymous user, return "anonymous" userdb extra field.

14 years agoauth: When logging in as anonymous user, return "anonymous" userdb extra field.
Timo Sirainen [Mon, 6 Dec 2010 04:36:30 +0000 (04:36 +0000)] 
auth: When logging in as anonymous user, return "anonymous" userdb extra field.

14 years agoTODO updated.
Timo Sirainen [Mon, 6 Dec 2010 04:00:26 +0000 (04:00 +0000)] 
TODO updated.

14 years agolib-storage: Moved mailbox.save_is_attachment() to mail_save_context.part_is_attachment()
Timo Sirainen [Mon, 6 Dec 2010 03:58:17 +0000 (03:58 +0000)] 
lib-storage: Moved mailbox.save_is_attachment() to mail_save_context.part_is_attachment()

14 years agolib-storage: Unvirtualized mailbox_header_lookup_*()
Timo Sirainen [Mon, 6 Dec 2010 03:53:30 +0000 (03:53 +0000)] 
lib-storage: Unvirtualized mailbox_header_lookup_*()

14 years agolib-storage: Unvirtualized some methods from struct mailbox.
Timo Sirainen [Mon, 6 Dec 2010 03:43:23 +0000 (03:43 +0000)] 
lib-storage: Unvirtualized some methods from struct mailbox.
There was never any point in overriding or hooking into them.

14 years agolib-storage: Added missing mailbox-keywords.c for recent commit.
Timo Sirainen [Mon, 6 Dec 2010 03:41:31 +0000 (03:41 +0000)] 
lib-storage: Added missing mailbox-keywords.c for recent commit.

14 years agofts: Added missing new files for last commit.
Timo Sirainen [Mon, 6 Dec 2010 03:40:41 +0000 (03:40 +0000)] 
fts: Added missing new files for last commit.

14 years agoMoved fts/virtual plugin communication functions away from lib-storage.
Timo Sirainen [Mon, 6 Dec 2010 03:28:29 +0000 (03:28 +0000)] 
Moved fts/virtual plugin communication functions away from lib-storage.

14 years agolib-lda: duplicate_check() should return bool, not int.
Timo Sirainen [Mon, 6 Dec 2010 03:11:08 +0000 (03:11 +0000)] 
lib-lda: duplicate_check() should return bool, not int.

14 years agolib-storage: Added mailbox_list_get_root_[dir_]permissions()
Timo Sirainen [Mon, 6 Dec 2010 03:08:31 +0000 (03:08 +0000)] 
lib-storage: Added mailbox_list_get_root_[dir_]permissions()
They should be used instead of mailbox_list_get_[dir_]permissions() with
name=NULL parameter.

14 years agolib-storage: Simplified mailbox_keyword*() APIs.
Timo Sirainen [Mon, 6 Dec 2010 02:16:22 +0000 (02:16 +0000)] 
lib-storage: Simplified mailbox_keyword*() APIs.
They are no longer struct mailbox methods, because they're always implemented
as being wrappers to lib-index APIs anyway.

Also mailbox_keywords_ref/unref() no longer take mailbox parameter.

14 years agolib-storage: Removed mailbox.backend_readonly. Backends set it internally lazily...
Timo Sirainen [Mon, 6 Dec 2010 01:47:50 +0000 (01:47 +0000)] 
lib-storage: Removed mailbox.backend_readonly. Backends set it internally lazily now.

14 years agomaildir: Avoid harder to unnecessarily read uidlist when syncing mailbox.
Timo Sirainen [Mon, 6 Dec 2010 01:27:11 +0000 (01:27 +0000)] 
maildir: Avoid harder to unnecessarily read uidlist when syncing mailbox.

14 years agomaildir: Avoid harder to unnecessarily read uidlist when syncing mailbox.
Timo Sirainen [Mon, 6 Dec 2010 01:27:03 +0000 (01:27 +0000)] 
maildir: Avoid harder to unnecessarily read uidlist when syncing mailbox.

14 years agomaildir: Avoid unnecessarily reading uidlist when opening mailbox.
Timo Sirainen [Mon, 6 Dec 2010 01:20:14 +0000 (01:20 +0000)] 
maildir: Avoid unnecessarily reading uidlist when opening mailbox.

14 years agomaildir: Avoid unnecessarily reading uidlist when opening mailbox.
Timo Sirainen [Mon, 6 Dec 2010 01:19:25 +0000 (01:19 +0000)] 
maildir: Avoid unnecessarily reading uidlist when opening mailbox.

14 years agolib-storage: Moved box->private_flags_mask to mailbox_get_private_flags_mask()
Timo Sirainen [Mon, 6 Dec 2010 01:11:07 +0000 (01:11 +0000)] 
lib-storage: Moved box->private_flags_mask to mailbox_get_private_flags_mask()
This allows getting it lazily only when it's actually needed.

14 years agolib-storage: Removed subscription name validity check from lib-storage after all.
Timo Sirainen [Mon, 6 Dec 2010 00:52:42 +0000 (00:52 +0000)] 
lib-storage: Removed subscription name validity check from lib-storage after all.
It could have broken when subscriptions were being set for subscriptions=no
namespace.

14 years agolib-storage: Mailbox directory creation didn't properly enforce that the name was...
Timo Sirainen [Mon, 6 Dec 2010 00:43:28 +0000 (00:43 +0000)] 
lib-storage: Mailbox directory creation didn't properly enforce that the name was valid.
The name was checked against "valid existing name" rather than "valid create
name", which mainly meant that the name could have contained control characters
and other things that weren't really intended. This couldn't be used to
cause any security holes though.

14 years agoacl: Make the mailbox visible only when it has l/r/i right.
Timo Sirainen [Mon, 6 Dec 2010 00:42:42 +0000 (00:42 +0000)] 
acl: Make the mailbox visible only when it has l/r/i right.
This change only affects the ability to SUBSCRIBE to a mailbox. Previously
it was allowed when user had any rights at all to mailbox.

14 years agolib-storage: Removed unused mailbox_list_get_mailbox_name_status() status codes.
Timo Sirainen [Mon, 6 Dec 2010 00:37:20 +0000 (00:37 +0000)] 
lib-storage: Removed unused mailbox_list_get_mailbox_name_status() status codes.

14 years agoimap-acl, imap-quota: Compile fix for last change.
Timo Sirainen [Mon, 6 Dec 2010 00:37:09 +0000 (00:37 +0000)] 
imap-acl, imap-quota: Compile fix for last change.

14 years agoimap: Avoid using mailbox_list_get_mailbox_name_status()
Timo Sirainen [Mon, 6 Dec 2010 00:30:36 +0000 (00:30 +0000)] 
imap: Avoid using mailbox_list_get_mailbox_name_status()
The validity checks should already be done by the actual commands in most
cases (if they didn't, there would be race condition bugs). The only
exception is SUBSCRIBE. It doesn't require that the mailbox exists, but
we want to enforce that anyway via IMAP.

14 years agolib-storage: Don't allow subscribing to invalid mailbox names.
Timo Sirainen [Mon, 6 Dec 2010 00:14:25 +0000 (00:14 +0000)] 
lib-storage: Don't allow subscribing to invalid mailbox names.

14 years agolib-storage: Mailbox directory creation didn't properly enforce that the name was...
Timo Sirainen [Mon, 6 Dec 2010 00:13:28 +0000 (00:13 +0000)] 
lib-storage: Mailbox directory creation didn't properly enforce that the name was valid.
The name was checked against "valid existing name" rather than "valid create
name", which mainly meant that the name could have contained control characters
and other things that weren't really intended. This couldn't be used to
cause any security holes though.

14 years agoRemoved unused BITS_IN_UINT and CLAMP macros.
Timo Sirainen [Sun, 5 Dec 2010 23:53:47 +0000 (23:53 +0000)] 
Removed unused BITS_IN_UINT and CLAMP macros.

14 years agoUnexpand BITS_IN_SIZE_T in the only place it's used and remove the macro.
Timo Sirainen [Sun, 5 Dec 2010 23:53:25 +0000 (23:53 +0000)] 
Unexpand BITS_IN_SIZE_T in the only place it's used and remove the macro.

14 years agoMoved a global NVL() macro to the few places in lib-imap where it was actually used.
Timo Sirainen [Sun, 5 Dec 2010 23:52:37 +0000 (23:52 +0000)] 
Moved a global NVL() macro to the few places in lib-imap where it was actually used.

14 years agolib-storage: Fixed error handling when trying to delete mailbox under noinferiors...
Timo Sirainen [Sun, 5 Dec 2010 23:48:34 +0000 (23:48 +0000)] 
lib-storage: Fixed error handling when trying to delete mailbox under noinferiors mailbox.

14 years agolib-storage: Don't allocate index until mailbox_open()
Timo Sirainen [Sun, 5 Dec 2010 23:44:38 +0000 (23:44 +0000)] 
lib-storage: Don't allocate index until mailbox_open()

14 years agolib-storage: Lazily look up mailbox path and permissions. Added functions to get...
Timo Sirainen [Sun, 5 Dec 2010 23:18:55 +0000 (23:18 +0000)] 
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them.

14 years agolib-storage: mailbox_create_fd() handles "no inferior mailboxes allowed" error now.
Timo Sirainen [Sun, 5 Dec 2010 22:11:01 +0000 (22:11 +0000)] 
lib-storage: mailbox_create_fd() handles "no inferior mailboxes allowed" error now.

14 years agolib-storage: Removed struct index_transaction_context.
Timo Sirainen [Sun, 5 Dec 2010 21:39:09 +0000 (21:39 +0000)] 
lib-storage: Removed struct index_transaction_context.
All of its contents are now in struct mailbox_transaction_context.

14 years agoCompiler warning fix.
Timo Sirainen [Sun, 5 Dec 2010 21:11:03 +0000 (21:11 +0000)] 
Compiler warning fix.

14 years agolib-master: Error message typofix.
Timo Sirainen [Fri, 3 Dec 2010 23:16:26 +0000 (23:16 +0000)] 
lib-master: Error message typofix.