[MailboxAPI] Naming

2007-11-05 Thread Robert Burrell Donkin
MailboxManager (http://svn.apache.org/repos/asf/james/server/trunk/core-library/src/main/java/org/apache/james/mailboxmanager/manager/MailboxManager.java) contains a list method returning an array of ListResult: /** * * @param base *hierarchy starting point like #ma

[MailboxAPI] List, arrays and memory usage

2007-11-05 Thread Robert Burrell Donkin
https://issues.apache.org/jira/browse/JAMES-734 discusses the general design of the API one major issue for IMAP ATM is that when FETCHing a large quantity of data, all that data has to be loaded into memory and then the full result created in a StringBuffer before the output begins. this uses a l

Re: source distribution 3.0 snapshot

2007-11-05 Thread Serge Knystautas
On 11/2/07, Norman Maurer <[EMAIL PROTECTED]> wrote: > B) +1 +1 -- Serge Knystautas Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTE

Re: [MailboxManager] API Design

2007-11-05 Thread Zsombor
On 11/5/07, Paulo Sergio <[EMAIL PROTECTED]> wrote: > > Hi Robert, > > On 11/5/07, Robert Burrell Donkin <[EMAIL PROTECTED]> wrote: > > > > On Nov 4, 2007 8:21 PM, Paulo Sergio <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > hi paulo > > > > > i've been following the discussion and i would like

Re: [MailboxManager] API Design

2007-11-05 Thread Paulo Sergio
Hi Robert, On 11/5/07, Robert Burrell Donkin <[EMAIL PROTECTED]> wrote: > > On Nov 4, 2007 8:21 PM, Paulo Sergio <[EMAIL PROTECTED]> wrote: > > Hi all, > > hi paulo > > > i've been following the discussion and i would like to give my > opinion > > (although i'm not an expert). > > i think we ar

Re: [MailboxManager] API Design

2007-11-05 Thread Robert Burrell Donkin
On Nov 4, 2007 8:21 PM, Paulo Sergio <[EMAIL PROTECTED]> wrote: > Hi all, hi paulo > i've been following the discussion and i would like to give my opinion > (although i'm not an expert). > i think we are forgetting an important thing, we are designing an API > thinking about the existent prot

Re: [MailboxManager] API Design

2007-11-05 Thread Robert Burrell Donkin
On Nov 4, 2007 11:37 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > > On Nov 2, 2007 12:54 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > >> Robert Burrell Donkin ha scritto: > Maybe the problem is that I don't know what the MailboxManager > resp

Re: [IMAP] MessageResult += Content

2007-11-05 Thread Robert Burrell Donkin
On Nov 5, 2007 12:03 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > > On Nov 5, 2007 9:01 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > >> Is it only metadata+headers or they also ask something about bodies > >> (excluding length) during the opening? > > > >

Re: [MailboxAPI][IMAP] CRLF...?

2007-11-05 Thread Robert Burrell Donkin
On Nov 4, 2007 11:13 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > > [...] > > given a MimeMessage, i do not know how to determine whether the lines > > have been corrected as per RFC822 or not. ATM the MailboxAPI assumes > > that the mssage has not been norma

svn commit: r592039 - /james/project/trunk/project/src/site/site.xml

2007-11-05 Thread bago
Author: bago Date: Mon Nov 5 07:19:00 2007 New Revision: 592039 URL: http://svn.apache.org/viewvc?rev=592039&view=rev Log: Added "required" foundation links to our main menu. Modified: james/project/trunk/project/src/site/site.xml Modified: james/project/trunk/project/src/site/site.xml URL:

Re: [IMAP] MessageResult += Content

2007-11-05 Thread Stefano Bagnara
Robert Burrell Donkin ha scritto: > On Nov 5, 2007 9:01 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: >> Is it only metadata+headers or they also ask something about bodies >> (excluding length) during the opening? > > the meta-data includes information about the structure body content > includin

Re: [MailboxAPI] Headers and FETCH ENVELOPE

2007-11-05 Thread Stefano Bagnara
Robert Burrell Donkin ha scritto: > On Nov 4, 2007 10:57 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: >> Robert Burrell Donkin ha scritto: >>> MimeMessages are expensive to create. >> I see you wrote this twice in 2 messages: have you measured it? I never >> ran a real benchmark but I know MimeMe

svn commit: r591949 - in /james/server/trunk: experimental-seda-imap-function/src/main/java/org/apache/james/experimental/imapserver/ imap-codec-library/src/main/java/org/apache/james/imapserver/codec

2007-11-05 Thread rdonkin
Author: rdonkin Date: Mon Nov 5 02:22:47 2007 New Revision: 591949 URL: http://svn.apache.org/viewvc?rev=591949&view=rev Log: Factored out interface for composer. Design seems a little overengineered now but an interface makes mocking easier. Added: james/server/trunk/imap-codec-library/sr

Re: [MailboxAPI] Headers and FETCH ENVELOPE

2007-11-05 Thread Robert Burrell Donkin
On Nov 4, 2007 10:57 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > > MimeMessages are expensive to create. > > I see you wrote this twice in 2 messages: have you measured it? I never > ran a real benchmark but I know MimeMessage sources and the way we > subcla

Re: [IMAP] MessageResult += Content

2007-11-05 Thread Robert Burrell Donkin
On Nov 5, 2007 9:01 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > > in order to create a usable IMAP server, reading meta-data must be > > very fast and reading normal (non-MIME) mail fast. to create an IMAP > > server which will run on a machine of moderate p

Re: [IMAP] MessageResult += Content

2007-11-05 Thread Stefano Bagnara
Robert Burrell Donkin ha scritto: > in order to create a usable IMAP server, reading meta-data must be > very fast and reading normal (non-MIME) mail fast. to create an IMAP > server which will run on a machine of moderate power, meta-data > reading and normal message reading must not consume a lot

Re: [IMAP] MessageResult += Content

2007-11-05 Thread Robert Burrell Donkin
On Nov 4, 2007 11:21 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > > On Nov 2, 2007 7:22 PM, Robert Burrell Donkin > > <[EMAIL PROTECTED]> wrote: > >> On Nov 2, 2007 12:34 AM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > >>> Robert Burrell Donkin ha scritto: >

Re: [IMAP] MessageResult += Content

2007-11-05 Thread Robert Burrell Donkin
On Nov 4, 2007 11:30 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin ha scritto: > >> I've not even investigated this option, but before thinking what the > >> real problems could be I want to be sure I'm understanding what you > >> propose! > > > > messages are typically re