]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
22 years agofix
Timo Sirainen [Mon, 10 Nov 2003 21:36:34 +0000 (23:36 +0200)] 
fix

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Mon, 10 Nov 2003 21:36:13 +0000 (23:36 +0200)] 
fixes

--HG--
branch : HEAD

22 years agoCRAM-MD5 mechanism by Joshua Goodall, plus some cleanups.
Timo Sirainen [Mon, 10 Nov 2003 20:36:02 +0000 (22:36 +0200)] 
CRAM-MD5 mechanism by Joshua Goodall, plus some cleanups.

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Mon, 10 Nov 2003 18:53:40 +0000 (20:53 +0200)] 
cleanup

--HG--
branch : HEAD

22 years agonet_set_nonblock(): don't replace flags in fd, change the existing ones
Timo Sirainen [Sun, 9 Nov 2003 20:20:36 +0000 (22:20 +0200)] 
net_set_nonblock(): don't replace flags in fd, change the existing ones

--HG--
branch : HEAD

22 years agoistream rewrite. instead of directly setting any limits to stream, you now
Timo Sirainen [Sun, 9 Nov 2003 18:26:25 +0000 (20:26 +0200)] 
istream rewrite. instead of directly setting any limits to stream, you now
have to use i_stream_create_limit() to existing stream. this should make the
istreams much easier to create and understand how they work.

--HG--
branch : HEAD

22 years agotype fixes
Timo Sirainen [Sun, 9 Nov 2003 18:23:20 +0000 (20:23 +0200)] 
type fixes

--HG--
branch : HEAD

22 years agocleanups and fix for partial header fetching
Timo Sirainen [Sat, 8 Nov 2003 21:12:45 +0000 (23:12 +0200)] 
cleanups and fix for partial header fetching

--HG--
branch : HEAD

22 years agomessage_send()'s skip parameter was buggy with messages having CRLF.
Timo Sirainen [Sat, 8 Nov 2003 20:47:07 +0000 (22:47 +0200)] 
message_send()'s skip parameter was buggy with messages having CRLF.

--HG--
branch : HEAD

22 years agoAdvertise PIPELINING capability
Timo Sirainen [Sat, 8 Nov 2003 18:17:15 +0000 (20:17 +0200)] 
Advertise PIPELINING capability

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Sat, 8 Nov 2003 15:56:54 +0000 (17:56 +0200)] 
cleanup

--HG--
branch : HEAD

22 years agosecurecoding.txt missing
Timo Sirainen [Sat, 8 Nov 2003 14:47:39 +0000 (16:47 +0200)] 
securecoding.txt missing

--HG--
branch : HEAD

22 years agowhops, too many changes
Timo Sirainen [Sat, 8 Nov 2003 14:23:41 +0000 (16:23 +0200)] 
whops, too many changes

--HG--
branch : HEAD

22 years agopread/pwrite fixes
Timo Sirainen [Sat, 8 Nov 2003 14:20:10 +0000 (16:20 +0200)] 
pread/pwrite fixes

--HG--
branch : HEAD

22 years agoAdded istream->eof. istream->v_size is now set to 0 with files.
Timo Sirainen [Wed, 5 Nov 2003 08:42:12 +0000 (10:42 +0200)] 
Added istream->eof. istream->v_size is now set to 0 with files.

--HG--
branch : HEAD

22 years agowe didn't sync mbox again after rewriting which left us broken mail offsets.
Timo Sirainen [Tue, 4 Nov 2003 22:26:16 +0000 (00:26 +0200)] 
we didn't sync mbox again after rewriting which left us broken mail offsets.

--HG--
branch : HEAD

22 years agoSTORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only.
Timo Sirainen [Tue, 4 Nov 2003 20:40:58 +0000 (22:40 +0200)] 
STORE .. FLAGS.SILENT will now return flags anyway if mailbox is read-only.

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Wed, 29 Oct 2003 15:45:41 +0000 (17:45 +0200)] 
fixes

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Wed, 29 Oct 2003 15:31:45 +0000 (17:31 +0200)] 
fixes

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Wed, 29 Oct 2003 15:12:46 +0000 (17:12 +0200)] 
fix

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Wed, 29 Oct 2003 15:01:36 +0000 (17:01 +0200)] 
fix

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Wed, 29 Oct 2003 14:54:03 +0000 (16:54 +0200)] 
fix

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Wed, 29 Oct 2003 14:53:55 +0000 (16:53 +0200)] 
cleanup

--HG--
branch : HEAD

22 years agomore kludgeing to get pread/pwrite working
Timo Sirainen [Wed, 29 Oct 2003 14:19:28 +0000 (16:19 +0200)] 
more kludgeing to get pread/pwrite working

--HG--
branch : HEAD

22 years agoAdded bsdauth support, patch by Dan Cross
Timo Sirainen [Wed, 29 Oct 2003 14:10:20 +0000 (16:10 +0200)] 
Added bsdauth support, patch by Dan Cross

--HG--
branch : HEAD

22 years agoremoved debugging
Timo Sirainen [Wed, 29 Oct 2003 13:53:12 +0000 (15:53 +0200)] 
removed debugging

--HG--
branch : HEAD

22 years agopread/pwrite fixes
Timo Sirainen [Wed, 29 Oct 2003 13:50:36 +0000 (15:50 +0200)] 
pread/pwrite fixes

--HG--
branch : HEAD

22 years agoFixes to make copying mail inside same mbox working.
Timo Sirainen [Wed, 29 Oct 2003 13:37:33 +0000 (15:37 +0200)] 
Fixes to make copying mail inside same mbox working.

--HG--
branch : HEAD

22 years agoChanged to use pread() with files.
Timo Sirainen [Wed, 29 Oct 2003 13:37:02 +0000 (15:37 +0200)] 
Changed to use pread() with files.

--HG--
branch : HEAD

22 years agoreset stream_errno
Timo Sirainen [Wed, 29 Oct 2003 12:58:35 +0000 (14:58 +0200)] 
reset stream_errno

--HG--
branch : HEAD

22 years agoRemoved fetch_init/fetch_next from mail-storage. search_* makes it
Timo Sirainen [Sun, 26 Oct 2003 20:13:15 +0000 (22:13 +0200)] 
Removed fetch_init/fetch_next from mail-storage. search_* makes it
unnecessary

--HG--
branch : HEAD

22 years agoSome optimizations to messageset handling in search.
Timo Sirainen [Sun, 26 Oct 2003 19:41:09 +0000 (21:41 +0200)] 
Some optimizations to messageset handling in search.

--HG--
branch : HEAD

22 years agominor optimization
Timo Sirainen [Sun, 26 Oct 2003 19:39:58 +0000 (21:39 +0200)] 
minor optimization

--HG--
branch : HEAD

22 years agoMoved copy() method from struct mail to struct mailbox - the context
Timo Sirainen [Sun, 26 Oct 2003 18:05:42 +0000 (20:05 +0200)] 
Moved copy() method from struct mail to struct mailbox - the context
parameter makes sense only to destination mailbox handler.

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Sun, 26 Oct 2003 17:28:44 +0000 (19:28 +0200)] 
cleanup

--HG--
branch : HEAD

22 years agomissing t_pop()
Timo Sirainen [Sun, 26 Oct 2003 17:19:59 +0000 (19:19 +0200)] 
missing t_pop()

--HG--
branch : HEAD

22 years agoUse unsigned char for buffer_append_c and str_append_c.
Timo Sirainen [Sun, 26 Oct 2003 07:27:51 +0000 (09:27 +0200)] 
Use unsigned char for buffer_append_c and str_append_c.

--HG--
branch : HEAD

22 years agop_strndup() read str[max_chars] byte - could have possibly crashed in some
Timo Sirainen [Thu, 23 Oct 2003 08:30:04 +0000 (11:30 +0300)] 
p_strndup() read str[max_chars] byte - could have possibly crashed in some
rare conditions

--HG--
branch : HEAD

22 years agoDon't request empty headers
Timo Sirainen [Tue, 21 Oct 2003 14:14:56 +0000 (17:14 +0300)] 
Don't request empty headers

--HG--
branch : HEAD

22 years agoassert
Timo Sirainen [Tue, 21 Oct 2003 13:50:09 +0000 (16:50 +0300)] 
assert

--HG--
branch : HEAD

22 years agoheader fix
Timo Sirainen [Tue, 21 Oct 2003 11:10:05 +0000 (14:10 +0300)] 
header fix

--HG--
branch : HEAD

22 years agoremoved unused #include
Timo Sirainen [Tue, 21 Oct 2003 05:27:57 +0000 (08:27 +0300)] 
removed unused #include

--HG--
branch : HEAD

22 years agoDon't save empty header lists
Timo Sirainen [Tue, 21 Oct 2003 03:35:43 +0000 (06:35 +0300)] 
Don't save empty header lists

--HG--
branch : HEAD

22 years agoassert
Timo Sirainen [Tue, 21 Oct 2003 03:35:32 +0000 (06:35 +0300)] 
assert

--HG--
branch : HEAD

22 years agocompression could have broken header lists
Timo Sirainen [Tue, 21 Oct 2003 03:25:03 +0000 (06:25 +0300)] 
compression could have broken header lists

--HG--
branch : HEAD

22 years agoSome cleanups and extra checks to detect if header names list gets
Timo Sirainen [Tue, 21 Oct 2003 03:14:44 +0000 (06:14 +0300)] 
Some cleanups and extra checks to detect if header names list gets
duplicated (can happen, why?..)

--HG--
branch : HEAD

22 years agorecent change broke it
Timo Sirainen [Mon, 20 Oct 2003 07:33:21 +0000 (10:33 +0300)] 
recent change broke it

--HG--
branch : HEAD

22 years agomail_create_mode was set too late.
Timo Sirainen [Mon, 20 Oct 2003 07:19:21 +0000 (10:19 +0300)] 
mail_create_mode was set too late.

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Mon, 20 Oct 2003 07:15:37 +0000 (10:15 +0300)] 
fix

--HG--
branch : HEAD

22 years agocrashfix
Timo Sirainen [Mon, 20 Oct 2003 07:09:35 +0000 (10:09 +0300)] 
crashfix

--HG--
branch : HEAD

22 years agofixed dovecot-uidlist permissions for shared mailboxes
Timo Sirainen [Mon, 20 Oct 2003 06:18:58 +0000 (09:18 +0300)] 
fixed dovecot-uidlist permissions for shared mailboxes

--HG--
branch : HEAD

22 years agoIf maildir contains dovecot-shared file Dovecot does two things differently:
Timo Sirainen [Mon, 20 Oct 2003 06:01:08 +0000 (09:01 +0300)] 
If maildir contains dovecot-shared file Dovecot does two things differently:
it allows some flags to be private and stored only in index file (currently
hardcoded to \Seen flag only) and new mails are created with dovecot-shared
file's mode & 0666. So if you set filesystem permissions correctly, you
should have fully functioning shared mailboxes.

--HG--
branch : HEAD

22 years agoIf input is empty, return only list with NULL.
Timo Sirainen [Mon, 20 Oct 2003 05:10:05 +0000 (08:10 +0300)] 
If input is empty, return only list with NULL.

--HG--
branch : HEAD

22 years agoAdded dotlock parameter to specify how old lock file has to be to be
Timo Sirainen [Mon, 20 Oct 2003 05:01:57 +0000 (08:01 +0300)] 
Added dotlock parameter to specify how old lock file has to be to be
immediately deleted. This fixes the problem of never deleting uidlist.lock
files.

--HG--
branch : HEAD

22 years ago*_strconcat() bugfix
Timo Sirainen [Mon, 20 Oct 2003 04:53:23 +0000 (07:53 +0300)] 
*_strconcat() bugfix

--HG--
branch : HEAD

22 years agoAdded t_strsplit_spaces().
Timo Sirainen [Mon, 20 Oct 2003 04:15:16 +0000 (07:15 +0300)] 
Added t_strsplit_spaces().

--HG--
branch : HEAD

22 years agombox was always synced when mailbox was opened.
Timo Sirainen [Mon, 20 Oct 2003 03:25:10 +0000 (06:25 +0300)] 
mbox was always synced when mailbox was opened.

--HG--
branch : HEAD

22 years agoSync stamps weren't updated always from header.
Timo Sirainen [Mon, 20 Oct 2003 03:24:40 +0000 (06:24 +0300)] 
Sync stamps weren't updated always from header.

--HG--
branch : HEAD

22 years agoWe didn't notice cache compression immediately in other processes. Also some
Timo Sirainen [Mon, 20 Oct 2003 03:13:06 +0000 (06:13 +0300)] 
We didn't notice cache compression immediately in other processes. Also some
other bugfixes.

--HG--
branch : HEAD

22 years agosave errno in failures
Timo Sirainen [Mon, 20 Oct 2003 01:50:18 +0000 (04:50 +0300)] 
save errno in failures

--HG--
branch : HEAD

22 years agoMAP_FIXED didn't actually work the way I thought (should have looked the man
Timo Sirainen [Sun, 19 Oct 2003 20:15:15 +0000 (23:15 +0300)] 
MAP_FIXED didn't actually work the way I thought (should have looked the man
page more carefully..). Dropped that and now we'll always just memcpy() the
data when we want to grow a mmaping.

--HG--
branch : HEAD

22 years agoDon't disconnect client immediately if there's an error in IMAP syntax.
Timo Sirainen [Thu, 16 Oct 2003 15:56:20 +0000 (18:56 +0300)] 
Don't disconnect client immediately if there's an error in IMAP syntax.

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Thu, 16 Oct 2003 15:50:20 +0000 (18:50 +0300)] 
cleanup

--HG--
branch : HEAD

22 years agoCOPY: Don't crash if no mailbox is selected.
Timo Sirainen [Thu, 16 Oct 2003 15:45:16 +0000 (18:45 +0300)] 
COPY: Don't crash if no mailbox is selected.

--HG--
branch : HEAD

22 years agoIf there was multiple headers with same name, we stored only first one into
Timo Sirainen [Mon, 6 Oct 2003 23:23:37 +0000 (02:23 +0300)] 
If there was multiple headers with same name, we stored only first one into
cache.

--HG--
branch : HEAD

22 years agobugfixes
Timo Sirainen [Mon, 6 Oct 2003 21:06:36 +0000 (00:06 +0300)] 
bugfixes

--HG--
branch : HEAD

22 years agobugfixes
Timo Sirainen [Mon, 6 Oct 2003 20:53:39 +0000 (23:53 +0300)] 
bugfixes

--HG--
branch : HEAD

22 years agoBODY[HEADER] and RFC822.HEADER fetching was broken (why did it work before?..)
Timo Sirainen [Mon, 6 Oct 2003 20:17:19 +0000 (23:17 +0300)] 
BODY[HEADER] and RFC822.HEADER fetching was broken (why did it work before?..)

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Mon, 6 Oct 2003 20:11:03 +0000 (23:11 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Sun, 5 Oct 2003 20:01:31 +0000 (23:01 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agoStrip trailing '/' from mail directory if given. Just makes it cleaner in
Timo Sirainen [Sun, 5 Oct 2003 19:41:16 +0000 (22:41 +0300)] 
Strip trailing '/' from mail directory if given. Just makes it cleaner in
log files.

--HG--
branch : HEAD

22 years agopread/pwrite doesn't move file offset. make our compat functions restore it
Timo Sirainen [Sun, 5 Oct 2003 18:01:57 +0000 (21:01 +0300)] 
pread/pwrite doesn't move file offset. make our compat functions restore it

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Sun, 5 Oct 2003 17:54:19 +0000 (20:54 +0300)] 
fix

--HG--
branch : HEAD

22 years agobugfixes
Timo Sirainen [Sun, 5 Oct 2003 17:45:53 +0000 (20:45 +0300)] 
bugfixes

--HG--
branch : HEAD

22 years agombox expunging works again
Timo Sirainen [Sun, 5 Oct 2003 17:45:46 +0000 (20:45 +0300)] 
mbox expunging works again

--HG--
branch : HEAD

22 years agombox rewriting should work again..
Timo Sirainen [Sun, 5 Oct 2003 17:23:38 +0000 (20:23 +0300)] 
mbox rewriting should work again..

--HG--
branch : HEAD

22 years agoUse data stack pool instead of temp_pool. Fixes sorting by subject.
Timo Sirainen [Fri, 3 Oct 2003 16:20:58 +0000 (19:20 +0300)] 
Use data stack pool instead of temp_pool. Fixes sorting by subject.

--HG--
branch : HEAD

22 years agoPartial BODY[header] or BODY[part] fetches were buggy if client requested
Timo Sirainen [Fri, 3 Oct 2003 16:18:28 +0000 (19:18 +0300)] 
Partial BODY[header] or BODY[part] fetches were buggy if client requested
more data than was available in the header/part.

--HG--
branch : HEAD

22 years agoAllow using data stack pool with imap_get_base_subject_cased()
Timo Sirainen [Fri, 3 Oct 2003 16:16:29 +0000 (19:16 +0300)] 
Allow using data stack pool with imap_get_base_subject_cased()

--HG--
branch : HEAD

22 years agoget_header() returned values wrong
Timo Sirainen [Fri, 3 Oct 2003 15:26:31 +0000 (18:26 +0300)] 
get_header() returned values wrong

--HG--
branch : HEAD

22 years agoDon't require timezone in Date-header.
Timo Sirainen [Fri, 3 Oct 2003 15:15:20 +0000 (18:15 +0300)] 
Don't require timezone in Date-header.

--HG--
branch : HEAD

22 years agoPut the msg/cmsg checks in CHECK_MSG() and CHECK_CMSG() macros. Add support
Timo Sirainen [Fri, 3 Oct 2003 15:02:47 +0000 (18:02 +0300)] 
Put the msg/cmsg checks in CHECK_MSG() and CHECK_CMSG() macros. Add support
for Linux 2.0 kernels by checking if LINUX20 is defined.

--HG--
branch : HEAD

22 years agoIf we don't have function foo, do it always as #define foo my_foo and create
Timo Sirainen [Fri, 3 Oct 2003 14:50:48 +0000 (17:50 +0300)] 
If we don't have function foo, do it always as #define foo my_foo and create
your own my_foo. Did this to pread/pwrite/madvise.

--HG--
branch : HEAD

22 years ago\Draft and \Deleted flags used opposite flag chars in X-Status header. We
Timo Sirainen [Mon, 29 Sep 2003 14:15:05 +0000 (17:15 +0300)] 
\Draft and \Deleted flags used opposite flag chars in X-Status header. We
were incompatible with other mbox accessing software.

--HG--
branch : HEAD

22 years agoAlignment fix
Timo Sirainen [Wed, 24 Sep 2003 10:16:46 +0000 (13:16 +0300)] 
Alignment fix

--HG--
branch : HEAD

22 years agoFixes memory/fd leaking with INDEX=MEMORY.
Timo Sirainen [Tue, 23 Sep 2003 19:34:34 +0000 (22:34 +0300)] 
Fixes memory/fd leaking with INDEX=MEMORY.

--HG--
branch : HEAD

22 years agoFixed potential file descriptor leaks
Timo Sirainen [Tue, 23 Sep 2003 13:41:31 +0000 (16:41 +0300)] 
Fixed potential file descriptor leaks

--HG--
branch : HEAD

22 years agoFix for leaking fds with non-writable .customflags files.
Timo Sirainen [Mon, 22 Sep 2003 14:29:11 +0000 (17:29 +0300)] 
Fix for leaking fds with non-writable .customflags files.

--HG--
branch : HEAD

22 years agoSecure coding guide for Dovecot.
Timo Sirainen [Sun, 21 Sep 2003 18:03:49 +0000 (21:03 +0300)] 
Secure coding guide for Dovecot.

--HG--
branch : HEAD

22 years agoAdded support for Boehm GC. However it seems to be crashing for some reason
Timo Sirainen [Sun, 21 Sep 2003 17:55:36 +0000 (20:55 +0300)] 
Added support for Boehm GC. However it seems to be crashing for some reason
with me..

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Sun, 21 Sep 2003 17:18:29 +0000 (20:18 +0300)] 
cleanup

--HG--
branch : HEAD

22 years agoMake i_free(), p_free() and pool_unref() calls also set the given parameter
Timo Sirainen [Sun, 21 Sep 2003 16:39:29 +0000 (19:39 +0300)] 
Make i_free(), p_free() and pool_unref() calls also set the given parameter
to NULL.

--HG--
branch : HEAD

22 years agoRemoved pool leak checking stuff, it's not used.
Timo Sirainen [Sun, 21 Sep 2003 16:26:35 +0000 (19:26 +0300)] 
Removed pool leak checking stuff, it's not used.

--HG--
branch : HEAD

22 years agodata_stack_pool split into two: unsafe_data_stack_pool which works like
Timo Sirainen [Sun, 21 Sep 2003 16:21:36 +0000 (19:21 +0300)] 
data_stack_pool split into two: unsafe_data_stack_pool which works like
before, and a new one which verifies that stack frame stays the same
whenever the pool is accessed.

--HG--
branch : HEAD

22 years agoCompiler warning fix
Timo Sirainen [Sun, 21 Sep 2003 16:14:38 +0000 (19:14 +0300)] 
Compiler warning fix

--HG--
branch : HEAD

22 years agolocation defaulted only to default_mail_env, not userdb.
Timo Sirainen [Sat, 20 Sep 2003 18:45:53 +0000 (21:45 +0300)] 
location defaulted only to default_mail_env, not userdb.

--HG--
branch : HEAD

22 years agoRevert the mailbox/ == mailbox change after all. It broke LIST and it's not
Timo Sirainen [Wed, 17 Sep 2003 00:08:48 +0000 (03:08 +0300)] 
Revert the mailbox/ == mailbox change after all. It broke LIST and it's not
important really..

--HG--
branch : HEAD

22 years agoReverted mailbox == mailbox/ change, it applies to only dual-use mailboxes..
Timo Sirainen [Mon, 15 Sep 2003 21:21:17 +0000 (00:21 +0300)] 
Reverted mailbox == mailbox/ change, it applies to only dual-use mailboxes..

--HG--
branch : HEAD

22 years agoIf client requests invalid body part, return it as NIL.
Timo Sirainen [Mon, 15 Sep 2003 18:04:12 +0000 (21:04 +0300)] 
If client requests invalid body part, return it as NIL.

--HG--
branch : HEAD

22 years agoIgnore hierarchy separator at the end of mailbox name.
Timo Sirainen [Mon, 15 Sep 2003 17:49:04 +0000 (20:49 +0300)] 
Ignore hierarchy separator at the end of mailbox name.

--HG--
branch : HEAD