[jira] Updated: (IMAP-246) Use different read timeout when in IDLE

2011-01-16 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/IMAP-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning updated IMAP-246: - Priority: Minor (was: Major) Fix Version/s: (was: 0.2) Issue Type: Improvement

[jira] Created: (IMAP-246) Use different read timeout when in IDLE

2011-01-15 Thread Niklas Therning (JIRA)
: Niklas Therning Assignee: Niklas Therning Fix For: 0.2 If the client doesn't send anything within the configured read timeout the connection will be closed. During IDLE I think there should be another timeout which is typically configured to be a lot higher than the ord

[jira] Commented: (IMAP-239) Implement IDLE

2011-01-15 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/IMAP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982080#action_12982080 ] Niklas Therning commented on IMAP-239: -- An initial implementation has been checke

[jira] Resolved: (IMAP-239) Implement IDLE

2011-01-15 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/IMAP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved IMAP-239. -- Resolution: Fixed Fix Version/s: 0.2 > Implement I

Re: [VOTE] Release Mime4J 0.6.1

2010-12-28 Thread Niklas Therning
[X] +1 Yes please release /Niklas On 12/27/2010 10:02 PM, Norman Maurer wrote: Hi there, as asked for on the ml I prepared to cut a bugfix release of mime4j (0.6.1) So please review and cast your vote: https://repository.apache.org/content/repositories/orgapachejames-052/ [ ] +1 Yes please

Re: svn commit: r1049622 - in /james/imap/trunk: api/src/main/java/org/apache/james/imap/api/ api/src/main/java/org/apache/james/imap/api/display/ message/src/main/java/org/apache/james/imap/decode/ m

2010-12-15 Thread Niklas Therning
onse every 30 seconds or so so the client doesn't timeout. This is what the Dovecot IMAP server does. Every 30 seconds it sends back something like '* OK Still here' to the client to prevent timeouts. Let me know what you think. /Niklas On 12/15/2010 05:46 PM, Norman Maurer wrot

svn commit: r1049622 - in /james/imap/trunk: api/src/main/java/org/apache/james/imap/api/ api/src/main/java/org/apache/james/imap/api/display/ message/src/main/java/org/apache/james/imap/decode/ messa

2010-12-15 Thread niklas
Author: niklas Date: Wed Dec 15 16:00:25 2010 New Revision: 1049622 URL: http://svn.apache.org/viewvc?rev=1049622&view=rev Log: Added initial support for IDLE (IMAP-239). Added: james/imap/trunk/api/src/main/java/org/apache/james/imap/api/ContinuationReader.java james/imap/t

[jira] Created: (IMAP-239) Implement IDLE

2010-12-15 Thread Niklas Therning (JIRA)
Implement IDLE -- Key: IMAP-239 URL: https://issues.apache.org/jira/browse/IMAP-239 Project: JAMES Imap Issue Type: New Feature Components: Protocol Reporter: Niklas Therning Assignee: Niklas

IMAP - Implementing IDLE

2010-12-15 Thread Niklas Therning
in JIRA? I think I have write access to the Subversion repo (I'm a dormant Mime4j and MINA committer) so I think I could create a branch if that's what you prefer. /Niklas - To unsubscribe, e-mail: server-dev-uns

Re: [VOTE] Create mime4j-dev mailing list

2009-01-15 Thread Niklas Therning
there /Niklas - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org

Re: [VOTE] James Mime4j 0.5 release

2008-10-14 Thread Niklas Therning
+1 (non-binding) -- Niklas Therning www.spamdrain.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[jira] Commented: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

2008-09-17 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632115#action_12632115 ] Niklas Therning commented on MIME4J-74: --- Yes, in the HTTP context it certainl

[jira] Created: (MIME4J-75) Rename o.a.j.mj.stream to o.a.j.mj.io for test classes

2008-09-17 Thread Niklas Therning (JIRA)
: 0.4 Reporter: Niklas Therning Priority: Minor Fix For: 0.5 The package name under src/test/java doesn't match the one under src/main/java -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue o

[jira] Resolved: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

2008-09-17 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-74. --- Resolution: Fixed > ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream w

svn commit: r696267 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/io/BufferedLineReaderInputStream.java test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamBufferTe

2008-09-17 Thread niklas
Author: niklas Date: Wed Sep 17 05:08:43 2008 New Revision: 696267 URL: http://svn.apache.org/viewvc?rev=696267&view=rev Log: Resolved issue MIME4J-74 Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/io/BufferedLineReaderInputStream.java james/mime4j/trunk/src/

[jira] Created: (MIME4J-74) ArrayIndexOutOfBoundsException in BufferedLineReaderInputStream when stream contains 0xFF

2008-09-17 Thread Niklas Therning (JIRA)
Project: JAMES Mime4j Issue Type: Bug Affects Versions: 0.4 Reporter: Niklas Therning Assignee: Niklas Therning Fix For: 0.5 The line int[] shiftTable = new int[255]; should int[] shiftTable = new int[256]; -- This message is

Re: [VOTE] James Mime4j 0.4 release (take 2)

2008-08-17 Thread Niklas Therning
+1 (non-binding) /Niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [VOTE] James Mime4j 0.4 release

2008-08-14 Thread Niklas Therning
[X] +1 Release the packages as James Mime4j 0.4. /Niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [mime4j] what else need to be done (Was: Benchmark of 0.3 vs 0.4)

2008-08-07 Thread Niklas Therning
Stefano Bagnara wrote: Niklas Therning ha scritto: Stefano Bagnara wrote: Robert Burrell Donkin ha scritto: On Tue, Aug 5, 2008 at 6:16 PM, Bernd Fondermann <[EMAIL PROTECTED]> wrote: On Tue, Aug 5, 2008 at 18:52, Stefano Bagnara <[EMAIL PROTECTED]> wrote: IMHO this one

Re: [mime4j] what else need to be done (Was: Benchmark of 0.3 vs 0.4)

2008-08-06 Thread Niklas Therning
nately what I thought was consensus a week ago now seems something invented by me ;-) My questions to Niklas and Bernd are really to understand if "refinements" is something that can be done on the refactored tree or if the consensus is now too far from that and we should better revert i

Re: [Mime4j] Benchmark of 0.3 vs 0.4

2008-08-05 Thread Niklas Therning
Bernd Fondermann wrote: On Mon, Aug 4, 2008 at 13:51, Niklas Therning <[EMAIL PROTECTED]> wrote: Hi, I've done some benchmarking of the recent performance improvements in trunk vs Mime4j 0.3. I must say that the result is very promising! :) Please let me know if my b

Re: [mime4j] what else need to be done (Was: Benchmark of 0.3 vs 0.4)

2008-08-05 Thread Niklas Therning
Stefano Bagnara wrote: Niklas Therning ha scritto: Oleg Kalnichevski wrote: Stefano Bagnara wrote: Robert Burrell Donkin ha scritto: what else needs to be done before we can ship? I'm looking here: https://issues.apache.org/jira/browse/MIME4J?r

Re: [mime4j] what else need to be done (Was: Benchmark of 0.3 vs 0.4)

2008-08-05 Thread Niklas Therning
uld very much appreciate if the 0.4 release could happen rather sooner than later. It would be very unfortunate if we had to release HttpClient 4.0-beta1 without the HttpMime module. Oleg I agree with Oleg. IMO these issues can be moved to 0.5. /Niklas -

Re: [Mime4j] Benchmark of 0.3 vs 0.4

2008-08-04 Thread Niklas Therning
I'm using Ubuntu 8.04 64-bit on a 2.4 GHz core duo Dell laptop. [EMAIL PROTECTED]:~$ uname -a Linux niklas-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux [EMAIL PROTECTED]:~$ java -version java version "1.6.0_06" Java(TM) SE Runtime Environment

[Mime4j] Benchmark of 0.3 vs 0.4

2008-08-04 Thread Niklas Therning
t me know if my benchmarking method is flawed in any way. I'm attaching the source code of the test tool. -- Niklas Therning www.spamdrain.net import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import

[jira] Resolved: (MIME4J-62) Unnecessary qp encoding of SPACE and TAB characters in CodecUtil

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-62. --- Resolution: Fixed > Unnecessary qp encoding of SPACE and TAB characters in CodecU

[jira] Closed: (MIME4J-62) Unnecessary qp encoding of SPACE and TAB characters in CodecUtil

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-62. - > Unnecessary qp encoding of SPACE and TAB characters in CodecU

[jira] Commented: (MIME4J-62) Unnecessary qp encoding of SPACE and TAB characters in CodecUtil

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615416#action_12615416 ] Niklas Therning commented on MIME4J-62: --- Great work Robert! It seems to be wor

svn commit: r678554 - in /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message: TempFileBinaryBody.java TempFileTextBody.java

2008-07-21 Thread niklas
Author: niklas Date: Mon Jul 21 13:41:27 2008 New Revision: 678554 URL: http://svn.apache.org/viewvc?rev=678554&view=rev Log: Removed the extra CRLF written by writeTo() when QP encoding is used. Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/mes

Re: Opinions about MIME4J-54 (boundaries should only be found at the beginning of a line)

2008-07-21 Thread Niklas Therning
my response as a comment on the MIME4J-54 issue page. /Niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[jira] Commented: (MIME4J-54) boundaries should only be found at the beginning of a line

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615294#action_12615294 ] Niklas Therning commented on MIME4J-54: --- IMO, boundaries should only be matche

[jira] Commented: (MIME4J-62) Unnecessary qp encoding of SPACE and TAB characters in CodecUtil

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615289#action_12615289 ] Niklas Therning commented on MIME4J-62: --- Stefano, the extra CRLF you see come

[jira] Commented: (MIME4J-62) Unnecessary qp encoding of SPACE and TAB characters in CodecUtil

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615278#action_12615278 ] Niklas Therning commented on MIME4J-62: --- It's not trivial to implement rule

Re: [Mime4j] 24 Test Failures

2008-07-21 Thread Niklas Therning
to add your knowledge to that threads so we can close them ASAP. My preference is to have tests that pass in trunk. I'd rather have the test cases that prove a bug in JIRA. Once a bug has been fixed the test case will of course be added to trunk to prove that it has been fixed. /N

[jira] Resolved: (MIME4J-63) QuotedPrintable encoder fails on 8bit bytes

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-63. --- Resolution: Fixed A fix and test case has been committed. > QuotedPrintable encoder fails

svn commit: r678387 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/util/CodecUtil.java test/java/org/apache/james/mime4j/util/CodecUtilTest.java

2008-07-21 Thread niklas
Author: niklas Date: Mon Jul 21 03:36:57 2008 New Revision: 678387 URL: http://svn.apache.org/viewvc?rev=678387&view=rev Log: Resolved MIME4J-63: CodecUtil.encodeQuotedPrintableBinary() now handles 8bit bytes as expected. Modified: james/mime4j/trunk/src/main/java/org/apache/james/mi

[jira] Assigned: (MIME4J-63) QuotedPrintable encoder fails on 8bit bytes

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning reassigned MIME4J-63: - Assignee: Niklas Therning > QuotedPrintable encoder fails on 8bit by

[jira] Resolved: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-59. --- Resolution: Fixed I've added the test message and committed a fix for this issue. Th

svn commit: r678383 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/message/ test/resources/testmsgs/

2008-07-21 Thread niklas
Author: niklas Date: Mon Jul 21 03:20:00 2008 New Revision: 678383 URL: http://svn.apache.org/viewvc?rev=678383&view=rev Log: Resolved MIME4J-59: The TextBody instances created when parsing a message will now handle the decoding/encoding of qp and base64 bodies automatically as it was don

svn commit: r678382 - /james/mime4j/trunk/src/test/java/org/apache/james/mime4j/message/MessageParserTest.java

2008-07-21 Thread niklas
Author: niklas Date: Mon Jul 21 03:15:41 2008 New Revision: 678382 URL: http://svn.apache.org/viewvc?rev=678382&view=rev Log: Saved txt files will now use the mime charset specified for the body part instead of the Java default. Modified: james/mime4j/trunk/src/test/java/org/apache/j

[jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615190#action_12615190 ] Niklas Therning commented on MIME4J-59: --- Hmmm, Stefano, I think you have attached

[jira] Assigned: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning reassigned MIME4J-59: - Assignee: Niklas Therning > Quoted-Printable encoded body no more deco

[jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615186#action_12615186 ] Niklas Therning commented on MIME4J-59: --- Or maybe it should be int nextUnsi

[jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615182#action_12615182 ] Niklas Therning commented on MIME4J-59: --- I think int nextUnsigned = next &a

[jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615179#action_12615179 ] Niklas Therning commented on MIME4J-59: --- I just checked in a fix for

[jira] Created: (MIME4J-62) Unnecessary qp encoding of SPACE and TAB characters in CodecUtil

2008-07-21 Thread Niklas Therning (JIRA)
Affects Versions: 0.4 Reporter: Niklas Therning Priority: Minor Fix For: 0.4 ATM we always encode SPACE and TAB. The result is that the output of the encoding is longer than necessary. According to the MIME RFC: (3) (White Space) Octets with values of 9 and 32

[jira] Resolved: (MIME4J-61) ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-61. --- Resolution: Fixed A fix has been comitted > ArrayIndexOutOfBoundsException

[jira] Assigned: (MIME4J-61) ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning reassigned MIME4J-61: - Assignee: Niklas Therning > ArrayIndexOutOfBoundsException

[jira] Closed: (MIME4J-61) ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs

2008-07-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-61. - > ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for > large

svn commit: r678373 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/util/CodecUtil.java test/java/org/apache/james/mime4j/util/CodecUtilTest.java

2008-07-21 Thread niklas
Author: niklas Date: Mon Jul 21 02:23:31 2008 New Revision: 678373 URL: http://svn.apache.org/viewvc?rev=678373&view=rev Log: Fix for MIME4J-61: Large inputs will not cause ArrayIndexOutOfBoundsException anymore when encoded using quoted printable. Modified: james/mime4j/trunk/src/main/

[jira] Created: (MIME4J-61) ArrayIndexOutOfBoundsException in CodecUtil.encodeQuotedPrintableBinary for large inputs

2008-07-21 Thread Niklas Therning (JIRA)
Project: Mime4j Issue Type: Bug Affects Versions: 0.4 Reporter: Niklas Therning Fix For: 0.4 The exception occurs in write() when outputIndex = outBuffer.length. When this is true the contents of the buffer should be flushed. But the current code tries to

[jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-20 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615126#action_12615126 ] Niklas Therning commented on MIME4J-59: --- I have a fix for this issue which seem

[jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded

2008-07-20 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615121#action_12615121 ] Niklas Therning commented on MIME4J-59: --- This bug was introduced while fixing MI

[jira] Commented: (MIME4J-52) Infinite loop when nested multipart is missing end boundary

2008-07-14 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613434#action_12613434 ] Niklas Therning commented on MIME4J-52: --- Stefano, wouldn't that mean that we

Re: [mime4j] boundaries and parsing

2008-07-14 Thread Niklas Therning
Stefano Bagnara wrote: Niklas submitted this message as part of MIME4J-52 == Content-Type: multipart/mixed; boundary="outer-boundary" Outer preamble --outer-boundary Content-Type: text/plain Foo --outer-boundary Content-Type: multipart/alternative; bound

[jira] Updated: (MIME4J-52) Infinite loop when nested multipart is missing end boundary

2008-07-14 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning updated MIME4J-52: -- Attachment: 36387089_3.msg > Infinite loop when nested multipart is missing end bound

[jira] Created: (MIME4J-52) Infinite loop when nested multipart is missing end boundary

2008-07-14 Thread Niklas Therning (JIRA)
: 0.4 Reporter: Niklas Therning Fix For: 0.4 I'm attaching a message which causes Mime4j to loop indefinitely in non-strict mode. The message contains badly formatted MIME. The inner multipart has no end boundary. Mime4j 0.3 handled this situation without any pro

[jira] Resolved: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-48. --- Resolution: Fixed Checked in the fix. I've also added the test message I attached as a

[jira] Assigned: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning reassigned MIME4J-48: - Assignee: Niklas Therning > NPE when parsing embedded quoted printable encoded mess

svn commit: r675871 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/MimeEntity.java test/java/org/apache/james/mime4j/MultipartTokensTest.java

2008-07-11 Thread niklas
Author: niklas Date: Fri Jul 11 01:58:23 2008 New Revision: 675871 URL: http://svn.apache.org/viewvc?rev=675871&view=rev Log: Resolved MIME4J-48: Messages containing qp or base64 encoded embedded messages should now parse as expected. Modified: james/mime4j/trunk/src/main/java/org/ap

[jira] Closed: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-49. - Resolution: Cannot Reproduce Assignee: Niklas Therning Turns out the infinite loop was

[jira] Commented: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612803#action_12612803 ] Niklas Therning commented on MIME4J-49: --- I'll add a test case for this >

[jira] Commented: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612787#action_12612787 ] Niklas Therning commented on MIME4J-49: --- This very simple patch seems to fix

[jira] Commented: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612780#action_12612780 ] Niklas Therning commented on MIME4J-48: --- Hmmm, ok. But I thought the stream wra

[jira] Created: (MIME4J-49) Message or body part with empty header causes infinite loop

2008-07-11 Thread Niklas Therning (JIRA)
: 0.4 Reporter: Niklas Therning Fix For: 0.4 If a message or body part contains an empty header the parser will loop indefinitely (when in non-strict mode). Seems like qmail sometimes sends out failure notices which have body parts with empty headers. -- This message

[jira] Commented: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-11 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612775#action_12612775 ] Niklas Therning commented on MIME4J-48: --- After some debugging I've figured

[jira] Updated: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-10 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning updated MIME4J-48: -- Attachment: 36442979.msg If you replace =3DNextPart with NextPart this message will

[jira] Created: (MIME4J-48) NPE when parsing embedded quoted printable encoded message

2008-07-10 Thread Niklas Therning (JIRA)
: 0.4 Reporter: Niklas Therning Fix For: 0.4 When trying to parse a message which contains an embedded quoted printable message I received a NullPointerException: Exception in thread "main" java.lang.NullPointerException

[jira] Resolved: (MIME4J-47) Nested multipart messages with non-empty epilogue cause indefinite loop

2008-07-10 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-47. --- Resolution: Fixed Fix Version/s: 0.4 Thanks Oleg, your patch has been applied

[jira] Closed: (MIME4J-47) Nested multipart messages with non-empty epilogue cause indefinite loop

2008-07-10 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-47. - > Nested multipart messages with non-empty epilogue cause indefinite l

svn commit: r675695 - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/MimeBoundaryInputStream.java test/java/org/apache/james/mime4j/MultipartTokensTest.java

2008-07-10 Thread niklas
Author: niklas Date: Thu Jul 10 12:37:09 2008 New Revision: 675695 URL: http://svn.apache.org/viewvc?rev=675695&view=rev Log: Resolved MIME4J-47: Applied patch contributed by Oleg Kalnichevski. Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/MimeBoundaryInputStream.

[jira] Assigned: (MIME4J-47) Nested multipart messages with non-empty epilogue cause indefinite loop

2008-07-10 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning reassigned MIME4J-47: - Assignee: Niklas Therning > Nested multipart messages with non-empty epilogue ca

[jira] Updated: (MIME4J-47) Nested multipart messages with non-empty epilogue cause indefinite loop

2008-07-10 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning updated MIME4J-47: -- Attachment: 36368753.msg And here's the message > Nested multipart messages with n

[jira] Created: (MIME4J-47) Nested multipart messages with non-empty epilogue cause indefinite loop

2008-07-10 Thread Niklas Therning (JIRA)
: Bug Affects Versions: 0.4 Reporter: Niklas Therning I'm attaching a very simple message which causes the current version of Mime4j to loop indefinitely when the following app is run: public static void main(String[] args) throws IOException { String msg = "36

Re: [mime4j] review website update

2008-04-10 Thread Niklas Therning
pos/asf/james/site/trunk/www/mime4j/index.html Stefano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Looks good to me except that the News and Status page says that the next rele

Re: org.apache.james.mime4j.EOLConvertingInputStream takes too much time for conversion (REPOSTED)

2007-11-26 Thread Niklas Therning
you are uncertain of what line separator is used in the mail you're trying to parse or if it's always just LF (\n). If you always have CRLF (\r\n) in your mails you don't need to use it. HTH /Niklas - To unsu

Re: [Mime4J] Support For Non-Streaming Inputs

2007-09-24 Thread Niklas Therning
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 the best thing to ensure that future design > choices will satisfy anyone needs. > > At the

[jira] Commented: (MIME4J-6) Loading bodies on demand instead of using temporary files

2007-09-21 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529337 ] Niklas Therning commented on MIME4J-6: -- The idea is to make the Message class and friends be able to do this so

[jira] Commented: (MIME4J-6) Loading bodies on demand instead of using temporary files

2007-09-19 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528701 ] Niklas Therning commented on MIME4J-6: -- If the mail is read from disk Mime4j could scan it first to find the

svn commit: r552505 - in /james/mime4j/trunk/src: main/jjtree/org/apache/james/mime4j/field/address/AddressListParser.jjt test/java/org/apache/james/mime4j/field/address/AddressTest.java

2007-07-02 Thread niklas
Author: niklas Date: Mon Jul 2 07:33:02 2007 New Revision: 552505 URL: http://svn.apache.org/viewvc?view=rev&rev=552505 Log: Fixed a StringIndexOutOfBoundsException when parsing addresses with local parts containing an empty quoted-string followed by a dot-atom. Modified: james/mi

Re: Mime4J

2007-06-05 Thread Niklas Therning
x27;s been fixed in trunk. /Niklas Rickard Ekeroth wrote: > > Hello Niklas! > > I don't know if this is the correct way to report what I think is a > bug in Mime4J version 0.3... > > I think that the code in the static initializer of the class > 'TempStorage'

[jira] Closed: (MIME4J-17) Initialization of custom TempStorage doesn't work

2007-06-05 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning closed MIME4J-17. - > Initialization of custom TempStorage doesn

[jira] Resolved: (MIME4J-17) Initialization of custom TempStorage doesn't work

2007-06-05 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niklas Therning resolved MIME4J-17. --- Resolution: Fixed > Initialization of custom TempStorage doesn

svn commit: r544474 - /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/TempStorage.java

2007-06-05 Thread niklas
Author: niklas Date: Tue Jun 5 05:46:17 2007 New Revision: 544474 URL: http://svn.apache.org/viewvc?view=rev&rev=544474 Log: Resolved issue MIME4J-17. Initialization of custom TempStorage using system properties should now work. Modified: james/mime4j/trunk/src/main/java/org/apache/j

[jira] Created: (MIME4J-17) Initialization of custom TempStorage doesn't work

2007-06-05 Thread Niklas Therning (JIRA)
: 0.3 Reporter: Niklas Therning Assignee: Niklas Therning Fix For: 0.4 Rickard Ekeroth reported the following bug to the ML: I think that the code in the static initializer of the class 'TempStorage' is not correct when trying to find a custom class t

Re: Mime4j and buffering

2007-05-31 Thread Niklas Therning
am in an undefined state for example when parsing > is stopped with MimeStreamParser.stop(). Is this OK? > I think it would be ok. Actually, I'm not sure that the current code leaves the stream in a defined state when stop() is called.

Re: [VOTE] mime4j and james-project

2007-05-24 Thread Niklas Therning
Norman Maurer wrote: > Hi all, > > I finally found the time todo the releases for mime4j and james-project. > I will try to add a small HOWTO later for the release stuff with maven. > > So please review and vote: > http://people.apache.org/~norman/staging-repository/ >

[jira] Commented: (MIME4J-5) Mime4j takes really long to parse big messages

2007-05-24 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498619 ] Niklas Therning commented on MIME4J-5: -- Jukka, please, go ahead and give it a try. I'm not working on

[jira] Commented: (MIME4J-5) Mime4j takes really long to parse big messages

2007-05-14 Thread Niklas Therning (JIRA)
[ https://issues.apache.org/jira/browse/MIME4J-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495869 ] Niklas Therning commented on MIME4J-5: -- Please move to 0.4. IMO, even if it gets fixed soon it will require a lot

Re: [mime4j] Licensing & Co.

2007-05-03 Thread Niklas Therning
Stefano Bagnara wrote: > Niklas Therning ha scritto: > >> Noel J. Bergman wrote: >> >>>> RAT indicates that the following files are missing proper licensing >>>> >>>> >>> headers >>> >>> They we

Re: [mime4j] Licensing & Co.

2007-05-01 Thread Niklas Therning
Noel J. Bergman wrote: >> RAT indicates that the following files are missing proper licensing >> > headers > > They were part of the initial import by Joe Cheng, and appear to have been > untouched since by anyone. Has anyone asked Joe or Niklas about them? > &g

Re: mime4j package not o.a.j?

2007-04-26 Thread Niklas Therning
the first official ASF release than later. > > I can take care of this in the next days if no one will precede me. > > I'm fine with the package change. Better do it sooner than later. -- Niklas Therning www.spamdrain.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [MIME4j] Release version 0.4 ?

2007-04-26 Thread Niklas Therning
> > Well, when I landed to James mime4j was already there. So I just thought > that legal issues have been solved more than 2 years ago when the > sourcecode has been committed to ASF repository. > > Can anyone confirm this? >

Re: [MIME4j] Release version 0.4 ?

2007-04-26 Thread Niklas Therning
Hi Norman, You're more than welcome to handle this. Thanks man! /Niklas Norman Maurer wrote: > Hi Niklas, > > thx for taking care :-) > Is it ok for you when i "manage" the release stuff ? If not just step in ;-) > > bye > Norman > > Niklas Therning

Re: [MIME4j] Release version 0.4 ?

2007-04-26 Thread Niklas Therning
the download URL will be though. /Niklas Stefano Bagnara wrote: > Hi Norman, > first of all thank you for taking care of this, too. > > I guess the release version should probably be 0.3 (the last release > on sourceforge is 0.2). > > Before tagging and voting we should change th

svn commit: r532724 - in /james/mime4j/trunk/src/site/xdoc: index.xml navigation.xml start/build.xml start/download.xml

2007-04-26 Thread niklas
Author: niklas Date: Thu Apr 26 05:22:06 2007 New Revision: 532724 URL: http://svn.apache.org/viewvc?view=rev&rev=532724 Log: Removed all references to Sourceforge. Added a note about mvn eclipse:eclipse not generating the .classpath properly for the javacc generated sources. Modi

Re: svn commit: r531444 - /james/mime4j/trunk/src/main/java/org/mime4j/util/CharsetUtil.java

2007-04-23 Thread Niklas Therning
gt;>> java.nio.charset.Charset.forName(charsetName); >>> if (c == null) { >>> -//TODO: Check what touse as default >>> c = java.nio.charset.Charset.forName("ISO8859-1"); >>> } >>> &g

Re: svn commit: r531444 - /james/mime4j/trunk/src/main/java/org/mime4j/util/CharsetUtil.java

2007-04-23 Thread Niklas Therning
using Message.writeTo(). When parsing to a Message object the default is to use ISO8859-1 if the charset specified in the message is unknown or not specified. -- Niklas Therning www.spamdrain.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [mime4j] null charset error

2007-04-23 Thread Niklas Therning
Yes, if possible please post the source of the message you are parsing. That will help us fix the first problem. Also, make sure you don't close() the OutputStream you are writing to before your call to Message.writeTo(). /Niklas Norman Maurer wrote: > Can you show use the emai

Re: [MIME4J] Thread-Safe

2007-04-11 Thread Niklas Therning
Norman Maurer wrote: > Niklas Therning schrieb: > >> Norman Maurer wrote: >> >> >>> Hi guys, >>> >>> after using mime4j a little bit to implement some actions which should >>> get taken for specific message parts I'm a

  1   2   >