Permalink
Commits on Jun 23, 2011
  1. Removed "parseAllFields" parameters from the logic. Users that do not…

    … want to parse all of them will provide a custom FieldParser (Proposed refactoring for MIME4J-116)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/mime4j-116-refactoring@1138767 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 23, 2011
Commits on Jun 21, 2011
  1. Proposed refactoring for MIME4J-116.

    FieldParser has been moved to the dom package and field parsing is expected to happen inside the MutableBodyDescriptor implementation.
    Minimal/MaximalBodyDescriptor implementations takes a FieldParser instance and a boolean saying if they are expected to parse every field supported by the FieldParser or only the one used for the descriptor results, so that EntityBuilder doesn't have to know the FieldParser again.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/branches/mime4j-116-refactoring@1138155 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 21, 2011
  2. Branch to show the proposed refactoring for MIME4J-116

    Stefano Bagnara committed Jun 21, 2011
  3. Fixed broken #charAt method; renamed to #byteAt

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1138047 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 21, 2011
Commits on Jun 20, 2011
  1. Added methods to create Header and Multipart instances to MessageBuil…

    …der interface
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1137655 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 20, 2011
  2. MessageFormatter -> MessageWriter

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1137644 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 20, 2011
  3. Eliminated MessageBuilderImpl to match changes made on the writer sid…

    …e of the DOM API
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1137643 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 20, 2011
Commits on Jun 17, 2011
  1. Just replace tabs with spaces

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136813 13f79535-47bb-0310-9956-ffa450edef68
    normanmaurer committed Jun 17, 2011
  2. Expose writing methods for other dom objects via MessageFormatter (MI…

    …ME4J-193)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136805 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 17, 2011
  3. No need to have MessageFormatterImpl as MimeWriter can directly imple…

    …ment MessageFormatter and anyway the whole thing is exposed via MessageFormatter interface (MIME4J-193)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136800 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 17, 2011
  4. Renamed MessageFormatter's writeTo to writeMessage (MIME4J-193)

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136799 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 17, 2011
  5. QuotedPrintable: added the dot the the "default" list of encoded char…

    …s (MIME4J-186)
    
    Updated test case expected outputs.
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136794 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 17, 2011
Commits on Jun 16, 2011
  1. added 2 "expected" files missing from a previous commit.

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136558 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 16, 2011
  2. remove empty file (rat is failing)

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136556 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 16, 2011
  3. re-added mimetools double-semicolon tests.

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136406 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 16, 2011
  4. Improved exception messages

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136404 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Jun 16, 2011
Commits on Jun 15, 2011
  1. MIME4J-180: I/O exception is thrown in the strict parsing mode when r…

    …eading from body content stream if the mime part has no end boundary; fixed recursion in MimeBoundaryInputStream#read(byte[], int, int) method
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1136061 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 15, 2011
  2. MIME4J-197: added lenient implementations of MailboxField, MailboxLis…

    …tField, AddressListField and DateTimeField
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1135968 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 15, 2011
Commits on Jun 14, 2011
  1. MIME4J-197: Lenient implementation of AddressBuilder

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1135622 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 14, 2011
Commits on Jun 9, 2011
  1. MIME4J-197: Lenient implementation of Mailbox parser; refactored Addr…

    …essBuilder and AddressFormatter test cases
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1133920 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 9, 2011
Commits on Jun 6, 2011
  1. MIME4J-197: added lenient implementations of ContentLocationField and…

    … MimeVersionField
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1132671 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 6, 2011
Commits on Jun 1, 2011
  1. MIME4J-197: added lenient implementations of ContentDispositionField …

    …and ContentLanguageField
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1130114 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Jun 1, 2011
Commits on May 25, 2011
  1. MIME4J-197: Added 'lenient' ContentTypeField implementation; added Le…

    …nientFieldParser as an alternative to DefaultFieldParser
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1127570 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed May 25, 2011
Commits on May 24, 2011
  1. Follow-up to MIME4J-116: FieldParser interface changed to take Field …

    …as an input parameter. This enables more efficient parser implementations that can make use of RawField data without having to make an intermediate copy of the field body
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1127006 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed May 24, 2011
Commits on May 23, 2011
  1. Follow-up to MIME4J-116: parsing code moved from body descriptors to …

    …individual field impls; body descriptors are now collections of lazily parsed fields
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1126712 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed May 23, 2011
Commits on May 19, 2011
  1. MIME4J-116: duplicate parsing of header fields can now be avoided by …

    …passing an instance of FieldParser to the MimeTokenStream. The field parser can choose to parse fields either eagerly or lazily. Lazy parsing is used per default
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1124803 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed May 19, 2011
Commits on May 15, 2011
  1. MIME4J-116: Groundwork to resolve duplicate parsing of header field: …

    …moved Field interface back to core; RawField changed to implement Field; ContentHandler changed to accept Fields instead of RawFields
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1103501 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed May 15, 2011
Commits on Apr 24, 2011
  1. Update Maven version and tighten prose

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1096304 13f79535-47bb-0310-9956-ffa450edef68
    itstechupnorth committed Apr 24, 2011
Commits on Apr 20, 2011
  1. MIME4J-189: fixed regression caused by incorrect handling of folded q…

    …uoted strings in RawFieldParser
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1095398 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Apr 20, 2011
  2. RawFieldPsrser: handling of comments in field values

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1095388 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Apr 20, 2011
Commits on Apr 19, 2011
  1. A complete rewrite of the low level field parsing routines: the parse…

    …r should be more flexible now while still being very efficient and fast (the parser never needs to move backward and does not create intermediate copies of the data being parsed). Handling of comments will be implemented as the next step
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1095175 13f79535-47bb-0310-9956-ffa450edef68
    ok2c committed Apr 19, 2011
  2. Revert bad code that broke tests. Whitespace is valid in the boundary…

    …. left the CR/LF checks in place. (MIME4J-189)
    
    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1095117 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Apr 19, 2011
  3. Temporay fix for missing unfolding by RawFieldParser (MIME4J-189)

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1095114 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Apr 19, 2011
  4. Temporarily comment the failing test (MIME4J-189)

    git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1095112 13f79535-47bb-0310-9956-ffa450edef68
    Stefano Bagnara committed Apr 19, 2011