Permalink
Commits on Jul 17, 2008
  1. Expected resources have to be "binary" for svn because we don't want …

    …EOL conversions there.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@677601 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 17, 2008
  2. - Added 2 test messages including mixed newlines.

    - Expected resources have to be "binary" for svn because we don't want EOL conversions there.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@677599 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 17, 2008
  3. Expected resources have to be "binary" for svn because we don't want …

    …EOL conversions there.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@677585 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 17, 2008
  4. Expected resources have to be "binary" for svn because we don't want …

    …EOL conversions there.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@677583 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 17, 2008
  5. Fix for infinite loop on very long boundary (MIME4J-55)

    Patch provided by Oleg Kalnichevski.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@677582 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 17, 2008
Commits on Jul 15, 2008
  1. Updated MessageTree example to correct mime4j package.

    Stefano Bagnara committed Jul 15, 2008
  2. Forgot to commit this "expected" file

    Stefano Bagnara committed Jul 15, 2008
  3. Remove .reset() hack from the parsing stream classes tree (MIME4J-56)

    Patch provided by Oleg Kalnichevski.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@676874 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 15, 2008
  4. Renamed parsing streams class tree from:

    FilterInputStream
    '- BufferingInputStream
       |- BufferingInputStreamAdaptor
       |- InputBuffer
       '- MimeBoundaryInputStream 
    to:
    FilterInputStream
    '- LineReaderInputStream (again abstract)
        |- LineReaderInputStreamAdaptor (the current Adaptor)
        |- BufferedLineReaderInputStream (the refactored InputBuffer)
        '- MimeBoundaryInputStream
    (related to MIME4J-50 change)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@676846 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 15, 2008
  5. Fix typo.

    Stefano Bagnara committed Jul 15, 2008
  6. Make sure outer boundaries are always recognized when parsing nested …

    …content (MIME4J-56)
    
    This introduce double bufferings but at least provide RFC compliant behaviour.
    Also updated "missing-inner-boundary.msg" expected output to what Niklas suggested (corresponding to what RFC mandates).
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@676840 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 15, 2008
  7. Fix infinite loop on premature end (preamble) in multipart streams (M…

    …IME4J-52)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@676836 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 15, 2008
  8. Changed InputBuffer to extend FilterInputStream.

    Made it a BufferingInputStream extension.
    Altered the main MimeEntity code to work with a single InputBuffer instead of InputStream+InputBuffer (MIME4J-50)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@676835 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 15, 2008
  9. Creating a streams-refactoring branch to show some refactoring propos…

    …als for InputBuffer and the BufferingInputStream tree.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/streams-refactoring@676833 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 15, 2008
Commits on Jul 14, 2008
  1. add a test for very long lines in message body to make sure MIME4J-55…

    … does not apply to every line.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676601 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  2. adding a sample message with a 7000 chars boundary that sends mime4j …

    …in infinite loop.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676597 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  3. Adding a test with a non compliant bounday (700 chars) that mime4j co…

    …rrectly handles.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676596 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  4. A test for a boundary with all of the permitted chars and a length of…

    … 70, ending with a space.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676594 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  5. changed msg files svn:mime-type to application/octet-stream to preser…

    …ve mungled newlines.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676588 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  6. Adding some new messages proving bugs in the current implementation a…

    …nd differences from what we had in mime4j 0.2 result/testsuite.
    
    Expected results have to be checked for correctness.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676586 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  7. changed msg files svn:mime-type to application/octet-stream to preser…

    …ve mungled newlines.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676558 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
  8. Adding some new messages proving bugs in the current implementation a…

    …nd differences from what we had in mime4j 0.2 result/testsuite.
    
    Expected results have to be checked for correctness.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@676555 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 14, 2008
Commits on Jul 11, 2008
  1. Resolved MIME4J-48: Messages containing qp or base64 encoded embedded…

    … messages should now parse as expected.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675871 13f79535-47bb-0310-9956-ffa450edef68
    Niklas Therning committed Jul 11, 2008
Commits on Jul 10, 2008
  1. For some JVMs, Sun elects to throw a IOException when an InputStreamR…

    …eader encounters a zero. For example, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4684515. This prevents JAMES IMAP from functioning correct when faced with some large emails. Most clients will simply call this method again if zero is returned so I think that this fix should reasonably safe but please review.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675781 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 10, 2008
  2. Resolved MIME4J-47: Applied patch contributed by Oleg Kalnichevski.

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675695 13f79535-47bb-0310-9956-ffa450edef68
    Niklas Therning committed Jul 10, 2008
  3. Remove imports from the same package.

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675622 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 10, 2008
  4. Remove unused import (created a declared but unexisting cyclic depenc…

    …ies between packages)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675620 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jul 10, 2008
Commits on Jul 9, 2008
  1. MIME4J-30 Transfer-encoding should be transparent, https://issues.apa…

    …che.org/jira/browse/MIME4J-30. Committed patch contributed by Oleg Kalnichevski. Introduces transparent encoding but makes it optional.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675333 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 9, 2008
  2. MIME4J-5 Performance improvements patch 4, https://issues.apache.org/…

    …jira/browse/MIME4J-5. Contributed by Oleg Kalnichevski. Fixes issue caused by reset when parsing complex messages with embedded mail. Other minor performance improvements.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675310 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 9, 2008
  3. Added toString

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@675292 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 9, 2008
Commits on Jul 8, 2008
  1. MIME4J-5 Performance patch 3, https://issues.apache.org/jira/browse/M…

    …IME4J-5. Contributed by Oleg Kalnichevski. This patch eliminates one-byte-reads for common use cases; eliminates the synchronised StringBuffer and reduces memory footprint.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@674944 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 8, 2008
  2. Trying to track down why Mime4J now longer parses complex nested mess…

    …ages correctly.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@674936 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 8, 2008
Commits on Jul 7, 2008
  1. Added new recursion mode.

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@674620 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Jul 7, 2008
Commits on Jul 6, 2008