Re: Mime4j and buffering

2007-07-15 Thread robert burrell donkin
On 7/11/07, robert burrell donkin [EMAIL PROTECTED] wrote: On 7/11/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: robert burrell donkin-2 wrote: On 5/31/07, Jukka Zitting [EMAIL PROTECTED] wrote: I'm planning to use a buffer (even a mapped one if using nio) to load larger chunks of the

Re: Mime4j and buffering

2007-07-15 Thread Serge Knystautas
On 7/11/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: It took me about 4 hours to create the patch for MIME4J-19. (Pull parser API) Given my experiences with commons-fileupload, I believe it would take another 6 hours or so to rewrite MIME4J-19 a second time in order to use a single, buffered

Re: Mime4j and buffering

2007-07-11 Thread robert burrell donkin
On 7/11/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: robert burrell donkin-2 wrote: On 5/31/07, Jukka Zitting [EMAIL PROTECTED] wrote: I'm planning to use a buffer (even a mapped one if using nio) to load larger chunks of the message being parsed. The parser can then look ahead in the

Re: Collecting Emails For Testing [WAS Re: Mime4j and buffering]

2007-06-19 Thread robert burrell donkin
On 6/19/07, Serge Knystautas [EMAIL PROTECTED] wrote: On 6/13/07, Serge Knystautas [EMAIL PROTECTED] wrote: On 6/12/07, robert burrell donkin [EMAIL PROTECTED] wrote: preferable MIME ones (attachments, mails forwarded as MIME attachments) plus outlook's stupid HTML format. the content is

Re: Collecting Emails For Testing [WAS Re: Mime4j and buffering]

2007-06-13 Thread Serge Knystautas
On 6/12/07, robert burrell donkin [EMAIL PROTECTED] wrote: preferable MIME ones (attachments, mails forwarded as MIME attachments) plus outlook's stupid HTML format. the content is not important (i've been using the apache license). the main thing is that they have been contributed to the ASF

Re: Collecting Emails For Testing [WAS Re: Mime4j and buffering]

2007-06-12 Thread Serge Knystautas
On 6/10/07, robert burrell donkin [EMAIL PROTECTED] wrote: i plan to create and send emails of various kinds to myself using various clients for use in functional testing. maybe of these would be useful for testing common cases. BTW i don't use m$ so if anyone else so contributions sent from

Re: Collecting Emails For Testing [WAS Re: Mime4j and buffering]

2007-06-12 Thread robert burrell donkin
On 6/12/07, Serge Knystautas [EMAIL PROTECTED] wrote: On 6/10/07, robert burrell donkin [EMAIL PROTECTED] wrote: i plan to create and send emails of various kinds to myself using various clients for use in functional testing. maybe of these would be useful for testing common cases. BTW i

Collecting Emails For Testing [WAS Re: Mime4j and buffering]

2007-06-10 Thread robert burrell donkin
On 6/7/07, Stefano Bagnara [EMAIL PROTECTED] wrote: Jukka Zitting ha scritto: Hi, By the way, do we have somewhere a good set of test messages I could use when testing my Mime4j modifications? BR, Jukka Zitting I attached here the messages I removed (for copyright issues)

Re: Mime4j and buffering

2007-06-07 Thread Stefano Bagnara
Andrew C. Oliver ha scritto: although you can't use it (due to Apache's anti-LGPL dogma) http://blog.buni.org/blog/mbarker/Meldware/2007/06/04/Panto-0-4-release-Still-really-fast I suggest looking at the technique used by Buni's panto. Hi Andrew, I didn't think at it before, but

Re: Mime4j and buffering

2007-06-07 Thread Jukka Zitting
Hi, On 6/7/07, Andrew C. Oliver [EMAIL PROTECTED] wrote: although you can't use it (due to Apache's anti-LGPL dogma) http://blog.buni.org/blog/mbarker/Meldware/2007/06/04/Panto-0-4-release-Still-really-fast I suggest looking at the technique used by Buni's panto. Thanks for the tip! I

Re: Mime4j and buffering

2007-06-07 Thread Jukka Zitting
Hi, By the way, do we have somewhere a good set of test messages I could use when testing my Mime4j modifications? BR, Jukka Zitting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Mime4j and buffering

2007-06-07 Thread Stefano Bagnara
Stefano Bagnara ha scritto: Andrew C. Oliver ha scritto: although you can't use it (due to Apache's anti-LGPL dogma) http://blog.buni.org/blog/mbarker/Meldware/2007/06/04/Panto-0-4-release-Still-really-fast I suggest looking at the technique used by Buni's panto. Hi Andrew, I didn't

Re: Mime4j and buffering

2007-06-07 Thread robert burrell donkin
On 6/7/07, Jukka Zitting [EMAIL PROTECTED] wrote: Hi, On 6/7/07, Andrew C. Oliver [EMAIL PROTECTED] wrote: although you can't use it (due to Apache's anti-LGPL dogma) http://blog.buni.org/blog/mbarker/Meldware/2007/06/04/Panto-0-4-release-Still-really-fast I suggest looking at the

Mime4j and buffering

2007-05-31 Thread Jukka Zitting
Hi, I've been looking at MIME4J-5 and I have a few ideas on how to speed up parsing. However, I'm not sure about how the underlying mime stream should be treated. I would use a lookahead buffer but that would leave the underlying stream in an undefined state for example when parsing is stopped

Re: Mime4j and buffering

2007-05-31 Thread Norman Maurer
Can you please elaborate what a lookahead buffer is ? bye Norman Am Donnerstag, den 31.05.2007, 17:08 +0300 schrieb Jukka Zitting: Hi, I've been looking at MIME4J-5 and I have a few ideas on how to speed up parsing. However, I'm not sure about how the underlying mime stream should be

Re: Mime4j and buffering

2007-05-31 Thread Niklas Therning
Jukka Zitting wrote: Hi, I've been looking at MIME4J-5 and I have a few ideas on how to speed up parsing. However, I'm not sure about how the underlying mime stream should be treated. I would use a lookahead buffer but that would leave the underlying stream in an undefined state for example

Re: Mime4j and buffering

2007-05-31 Thread robert burrell donkin
On 5/31/07, Jukka Zitting [EMAIL PROTECTED] wrote: Hi, On 5/31/07, Norman Maurer [EMAIL PROTECTED] wrote: Can you please elaborate what a lookahead buffer is ? I'm planning to use a buffer (even a mapped one if using nio) to load larger chunks of the message being parsed. The parser can then

Re: Mime4j and buffering

2007-05-31 Thread Norman Maurer
Am Donnerstag, den 31.05.2007, 17:23 +0100 schrieb robert burrell donkin: On 5/31/07, Jukka Zitting [EMAIL PROTECTED] wrote: Hi, On 5/31/07, Norman Maurer [EMAIL PROTECTED] wrote: Can you please elaborate what a lookahead buffer is ? I'm planning to use a buffer (even a mapped one if