[Mime4J] Support For Non-Streaming Inputs

2007-09-20 Thread Robert Burrell Donkin
i'd like to gauge opinions about whether anyone else feels strongly about supporting non-streaming inputs for MimeTokenStream. i've been keeping this in mind whilst reviewing jochen's patches but this has lead to conflicts about the design (https://issues.apache.org/jira/browse/MIME4J-30). the pric

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-20 Thread Jochen Wiedmann
g (keep in mind: This patch is *not* the issue in MIME4J-30) was developed specifically with java.nio in mind. However, my patch is not even proposed. Why do we discuss it *before* I post my proposal? Jochen -- View this message in context: http://www.nabble.com/-Mime4J--Support-For-Non-Streaming-In

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-20 Thread Robert Burrell Donkin
On 9/20/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > > > robert burrell donkin-2 wrote: > > > > i'd like to gauge opinions about whether anyone else feels strongly > > about supporting non-streaming inputs for MimeTokenStream. i've been > > keeping this in mind whilst reviewing jochen's patch

RE: [Mime4J] Support For Non-Streaming Inputs

2007-09-20 Thread Noel J. Bergman
Robert Burrell Donkin wrote: > Jochen Wiedmann wrote: > > robert burrell donkin-2 wrote: > > > i'd like to gauge opinions about whether anyone else feels strongly > > > about supporting non-streaming inputs for MimeTokenStream. i've been > > > keeping this in mind whilst reviewing jochen's patches

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-20 Thread Norman Maurer
Hi, I don't think we need to support non-streaming solutions in mime4j.. But that's only my "idea".. bye Norman Am Donnerstag, den 20.09.2007, 21:53 +0100 schrieb Robert Burrell Donkin: > i'd like to gauge opinions about whether anyone else feels strongly > about supporting non-streaming inputs

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-21 Thread Robert Burrell Donkin
On 9/21/07, Noel J. Bergman <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin wrote: > > Jochen Wiedmann wrote: > > > robert burrell donkin-2 wrote: > > > > i'd like to gauge opinions about whether anyone else feels strongly > > > > about supporting non-streaming inputs for MimeTokenStream. i've b

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-21 Thread Serge Knystautas
On 9/20/07, Robert Burrell Donkin <[EMAIL PROTECTED]> wrote: > i'd like to gauge opinions about whether anyone else feels strongly > about supporting non-streaming inputs for MimeTokenStream. i've been > keeping this in mind whilst reviewing jochen's patches but this has > lead to conflicts about t

RE: [Mime4J] Support For Non-Streaming Inputs

2007-09-21 Thread Norman Maurer
Am Freitag, den 21.09.2007, 15:30 -0400 schrieb Noel J. Bergman: > Robert Burrell Donkin wrote: > > > it's really about objectives and aims rather than technical designs > > > i wonder whether it's worthwhile having what's probably going to be a > > long technical discussion about a design for a

RE: [Mime4J] Support For Non-Streaming Inputs

2007-09-21 Thread Noel J. Bergman
Robert Burrell Donkin wrote: > it's really about objectives and aims rather than technical designs > i wonder whether it's worthwhile having what's probably going to be a > long technical discussion about a design for a unified parser for both > streams and non-streams. if no one else really feel

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-21 Thread Jochen Wiedmann
t we are talking quite different things here. In particular, I am far from understanding why they should be mutually exclusive. Jochen -- View this message in context: http://www.nabble.com/-Mime4J--Support-For-Non-Streaming-Inputs-tf4490104.html#a12829975 Sent from the Ja

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-22 Thread Robert Burrell Donkin
On 9/21/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > > > Serge Knystautas-2 wrote: > > > > Thanks for raising this project scope issue since IMHO these are the > > bigger than technical decisions. If I can restate, currently we > > support both non-streaming and streaming uses, and have a cu

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-22 Thread Robert Burrell Donkin
On 9/22/07, Robert Burrell Donkin <[EMAIL PROTECTED]> wrote: > On 9/21/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > > > > > > > Serge Knystautas-2 wrote: > > > > > > Thanks for raising this project scope issue since IMHO these are the > > > bigger than technical decisions. If I can restate,

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-22 Thread Jochen Wiedmann
te buffers. Whether it is actually faster, I cannot tell so far, because I am still debugging. That can be seen when the benchmark is working. Jochen -- View this message in context: http://www.nabble.com/-Mime4J--Support-For-Non-Streaming-Inputs-tf4490104.html#a12835172 Sent from the James - De

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-22 Thread Robert Burrell Donkin
On 9/22/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > > > robert burrell donkin-2 wrote: > > > > i'm not sure that they are necessarily mutally exclusive but i do > > believe that good support introduces complexity and leads to > > unnecessary debates about design > > > > And the proper place

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-22 Thread Jochen Wiedmann
Jochen -- View this message in context: http://www.nabble.com/-Mime4J--Support-For-Non-Streaming-Inputs-tf4490104.html#a12838664 Sent from the James - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Mime4J] Support For Non-Streaming Inputs

2007-09-22 Thread Noel J. Bergman
Robert Burrell Donkin wrote: > your patch would require double buffering when used with direct > buffers and would require convertion of structured data into bytes. > so, it's unsatisfactory for use cases 1 and 2. however, i'm not sure > whether this is something that is worthwhile arguing about.

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-23 Thread Robert Burrell Donkin
On 9/23/07, Noel J. Bergman <[EMAIL PROTECTED]> wrote: > Robert Burrell Donkin wrote: > > > your patch would require double buffering when used with direct > > buffers and would require convertion of structured data into bytes. > > so, it's unsatisfactory for use cases 1 and 2. however, i'm not sur

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-23 Thread Robert Burrell Donkin
On 9/22/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > > > robert burrell donkin-2 wrote: > > > > your patch would require double buffering when used with direct > > buffers and would require convertion of structured data into bytes. > > so, it's unsatisfactory for use cases 1 and 2. however, i

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-23 Thread Jochen Wiedmann
it that I do not know about memory mapped files and why they should be relevant. I'll be reading on that. -- View this message in context: http://www.nabble.com/-Mime4J--Support-For-Non-Streaming-Inputs-tf4490104.html#a12845823 Sent from the James -

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Bernd Fondermann
On 9/23/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > > > > robert burrell donkin-2 wrote: > > > > this is the problem with lots of small patches: i don't understand > > where you are taking the design > > > > In general, non-committers are expected to split their work up into smaller > patches,

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Stefano Bagnara
Bernd Fondermann ha scritto: > On 9/23/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: >> >> >> robert burrell donkin-2 wrote: >>> this is the problem with lots of small patches: i don't understand >>> where you are taking the design >>> >> In general, non-committers are expected to split their work

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Niklas Therning
Stefano Bagnara wrote: > Bernd Fondermann ha scritto: > >> On 9/23/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: >> >>> robert burrell donkin-2 wrote: >>> this is the problem with lots of small patches: i don't understand where you are taking the design

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Robert Burrell Donkin
On 9/23/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > robert burrell donkin-2 wrote: > > > > it's direct use of byte arrays which worried me. how do you propose to > > handle memory mapped files without double buffering? > > > > I have to admit that I do not know about memory mapped files and

RE: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Noel J. Bergman
Robert Burrell Donkin wrote: > the disadvantage with using a byte array rather than a bytebuffer is > that direct bytebuffers would have to copy their data out into a byte > array. using a byte buffer at the lowest level would solve this issue > without really an added overhead for the bio case (

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Serge Knystautas
On 9/24/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Ignoring the technical/design issue I think at this time it is better > for mime4j to increase its community/acceptance by helping other > projects (e.g. commons-upload) to use mime4j. IMHO collecting users that > depends on the library is th

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Norman Maurer
Am Montag, den 24.09.2007, 14:58 -0400 schrieb Serge Knystautas: > On 9/24/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > > Ignoring the technical/design issue I think at this time it is better > > for mime4j to increase its community/acceptance by helping other > > projects (e.g. commons-upload

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Stefano Bagnara
Norman Maurer ha scritto: > Am Montag, den 24.09.2007, 14:58 -0400 schrieb Serge Knystautas: >> On 9/24/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: >>> Ignoring the technical/design issue I think at this time it is better >>> for mime4j to increase its community/acceptance by helping other >>> p

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Stefano Bagnara
Noel J. Bergman ha scritto: > Robert Burrell Donkin wrote: > >> the disadvantage with using a byte array rather than a bytebuffer is >> that direct bytebuffers would have to copy their data out into a byte >> array. using a byte buffer at the lowest level would solve this issue >> without really

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Robert Burrell Donkin
On 9/24/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > Bernd Fondermann ha scritto: > > On 9/23/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > >> > >> > >> robert burrell donkin-2 wrote: > >>> this is the problem with lots of small patches: i don't understand > >>> where you are taking the desi

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-25 Thread Serge Knystautas
Norman Maurer wrote: Ps: Serge maybe you allready knows... Your email client seems to set the reply-to field to your emailaddress. So if someone just use reply you are the only one which gets the answers.. Thanks for letting me know. I'm just using GMail. Danny, I think you use GMail for ASF

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-26 Thread Stefano Bagnara
Serge Knystautas ha scritto: > Norman Maurer wrote: >> Ps: Serge maybe you allready knows... Your email client seems to set the >> reply-to field to your emailaddress. So if someone just use reply you >> are the only one which gets the answers.. > > Thanks for letting me know. I'm just using GMai

[OT] Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Norman Maurer
Am Montag, den 24.09.2007, 21:28 +0200 schrieb Stefano Bagnara: > Norman Maurer ha scritto: > > Am Montag, den 24.09.2007, 14:58 -0400 schrieb Serge Knystautas: > >> On 9/24/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > >>> Ignoring the technical/design issue I think at this time it is better >

Re: [OT] Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Stefano Bagnara
Norman Maurer ha scritto: > Am Montag, den 24.09.2007, 21:28 +0200 schrieb Stefano Bagnara: >> Norman Maurer ha scritto: >>> Ps: Serge maybe you allready knows... Your email client seems to set the >>> reply-to field to your emailaddress. So if someone just use reply you >>> are the only one which