james-mime4j.git
4 years agoMIME4J-270 Using "alternative" as default subtype.
Dmitry Katsubo [Tue, 22 May 2018 07:42:07 +0000 (09:42 +0200)] 
MIME4J-270 Using "alternative" as default subtype.

4 years ago[maven-release-plugin] prepare for next development iteration
benwa [Fri, 27 Apr 2018 08:47:58 +0000 (15:47 +0700)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release apache-mime4j-project-0.8.2 apache-mime4j-project-0.8.2
benwa [Fri, 27 Apr 2018 08:47:22 +0000 (15:47 +0700)] 
[maven-release-plugin] prepare release apache-mime4j-project-0.8.2

4 years agoMIME4J-273 Update encodeB encoding bytes splitting point.
Bowen [Sat, 14 Apr 2018 05:15:31 +0000 (22:15 -0700)] 
MIME4J-273 Update encodeB encoding bytes splitting point.

EncoderUtil.encodeIfNecessary(<unicode string>, EncoderUtil.Usage.TEXT_TOKEN, <number less than 10>) is broken in some cases, such as : https://issues.apache.org/jira/projects/MIME4J/issues/MIME4J-250?filter=allopenissues

The culprit is line
String part1 = text.substring(0, text.length() / 2);
Since the breaking point can be in between one unicode character. Once the string is breaking into two part, part1 will have a broken tail and part2 will have a broken head in this case.

Update test for failing testEncodeEncodedWordSplitForUnicode. Changed parameter is to force word split.

4 years agoMIME4J-272 Implicit DOM builder calls
benwa [Mon, 9 Apr 2018 03:06:56 +0000 (10:06 +0700)] 
MIME4J-272 Implicit DOM builder calls

4 years agoMIME4J-271 Make possible to define a Content-Type parameter
Matthieu Baechler [Wed, 28 Mar 2018 15:01:14 +0000 (17:01 +0200)] 
MIME4J-271 Make possible to define a Content-Type parameter

4 years agoMIME4J-269 Expose a convenient 100 Mo limited "permissive" mime config limit
benwa [Tue, 13 Mar 2018 02:36:55 +0000 (09:36 +0700)] 
MIME4J-269 Expose a convenient 100 Mo limited "permissive" mime config limit

This aims at remaining very permissive while still denying a single email to use all JVM memory.

4 years agoMIME4J-268 DefaultMessageWriter should expose a convenient *asBytes* method
benwa [Fri, 9 Mar 2018 07:29:07 +0000 (14:29 +0700)] 
MIME4J-268 DefaultMessageWriter should expose a convenient *asBytes* method

4 years agoMIME4J-269 Introduce a Lenient default mimeConfig object
benwa [Fri, 9 Mar 2018 07:23:06 +0000 (14:23 +0700)] 
MIME4J-269 Introduce a Lenient default mimeConfig object

4 years agoMIME4J-267 DateTimeFieldLenientImpl should support date with no timezones.
benwa [Wed, 17 Jan 2018 09:08:40 +0000 (16:08 +0700)] 
MIME4J-267 DateTimeFieldLenientImpl should support date with no timezones.

5 years agoJAMES-1789 Remove mention to SVN
benwa [Thu, 15 Jun 2017 00:58:38 +0000 (07:58 +0700)] 
JAMES-1789 Remove mention to SVN

5 years ago[maven-release-plugin] prepare for next development iteration
benwa [Fri, 9 Jun 2017 02:49:22 +0000 (09:49 +0700)] 
[maven-release-plugin] prepare for next development iteration

5 years ago[maven-release-plugin] prepare release apache-mime4j-project-0.8.1 apache-mime4j-project-0.8.1
benwa [Fri, 9 Jun 2017 02:48:48 +0000 (09:48 +0700)] 
[maven-release-plugin] prepare release apache-mime4j-project-0.8.1

5 years agoJAMES-2045 DateTimeFieldImpl should assume 19xx century when date without century... 13/head
benwa [Mon, 5 Jun 2017 11:03:53 +0000 (18:03 +0700)] 
JAMES-2045 DateTimeFieldImpl should assume 19xx century when date without century >= 70

5 years agoJAMES-2045 LenientDateTimeField should support partial years
benwa [Mon, 5 Jun 2017 06:54:26 +0000 (13:54 +0700)] 
JAMES-2045 LenientDateTimeField should support partial years

5 years agoJAMES-2045 Correct DateTimeTests
benwa [Mon, 5 Jun 2017 02:02:30 +0000 (09:02 +0700)] 
JAMES-2045 Correct DateTimeTests

5 years agoJAMES-2045 Improve DateTimeTest readability with assertJ messages
benwa [Mon, 5 Jun 2017 02:01:39 +0000 (09:01 +0700)] 
JAMES-2045 Improve DateTimeTest readability with assertJ messages

It was impossible to know wich dates differed before

5 years agoJAMES-2045 Add century when parsing dates without
Antoine Duprat [Fri, 2 Jun 2017 13:29:50 +0000 (15:29 +0200)] 
JAMES-2045 Add century when parsing dates without

5 years agoMIME4J-262 deprecated all MessageBuilder and replace it by Message.Builder
Luc DUZAN [Wed, 24 May 2017 13:09:21 +0000 (15:09 +0200)] 
MIME4J-262 deprecated all MessageBuilder and replace it by Message.Builder

5 years agoMIME4J-262 bugfix of MessageBuilder regarding getDate
Luc DUZAN [Tue, 23 May 2017 13:41:16 +0000 (15:41 +0200)] 
MIME4J-262 bugfix of MessageBuilder regarding getDate

Before MessageBuilder produces message that had a getDate that was returning a
non null date instead of null when the message had no "Date" header.

In order to not break old code that do not check for null value, old way to
create a builder has been kept and depreciated. Those old way return a builder
that act exactly the same than before.

New way of building a MessageBuilder has been added and do create a builder that
are not buggy anymore.

5 years agoJAMES-1900 Offer header value sanitizing out of the box
benwa [Fri, 5 May 2017 09:53:43 +0000 (16:53 +0700)] 
JAMES-1900 Offer header value sanitizing out of the box

5 years agoJAMES-1994 correct dead link
benwa [Fri, 14 Apr 2017 08:21:10 +0000 (15:21 +0700)] 
JAMES-1994 correct dead link

5 years agoJAMES-1994 Update top bar
benwa [Thu, 13 Apr 2017 07:13:12 +0000 (14:13 +0700)] 
JAMES-1994 Update top bar

5 years agoMerge pull request #2 from chibenwa/JAMES-1852
Tellier Benoit [Wed, 2 Nov 2016 08:57:46 +0000 (09:57 +0100)] 
Merge pull request #2 from chibenwa/JAMES-1852

JAMES-1852 Reorganize MIME4J side bar

5 years agoJAMES-1852 Name consistently MIME4J section
benwa [Fri, 28 Oct 2016 13:49:05 +0000 (15:49 +0200)] 
JAMES-1852 Name consistently MIME4J section

5 years agoAdding link to mailing list
benwa [Fri, 28 Oct 2016 07:07:03 +0000 (09:07 +0200)] 
Adding link to mailing list

5 years agoJAMES-1852 Reorganize MIME4J side bar
benwa [Thu, 27 Oct 2016 10:10:13 +0000 (12:10 +0200)] 
JAMES-1852 Reorganize MIME4J side bar

5 years agoMerge pull request #1 from chibenwa/JAMES-1850
Laura-Royet [Wed, 2 Nov 2016 08:25:41 +0000 (09:25 +0100)] 
Merge pull request #1 from chibenwa/JAMES-1850

JAMES-1850 Mime4J should have same top links than James

5 years agoJAMES-1850 Mime4J should have same top links than James 12/head
benwa [Wed, 26 Oct 2016 12:59:52 +0000 (14:59 +0200)] 
JAMES-1850 Mime4J should have same top links than James

5 years agoJAMES-1831 Use james-skin for rendering website
benwa [Thu, 6 Oct 2016 21:55:55 +0000 (23:55 +0200)] 
JAMES-1831 Use james-skin for rendering website

5 years agoJAMES-1831 Mime4J should use new logo
benwa [Thu, 6 Oct 2016 06:52:44 +0000 (08:52 +0200)] 
JAMES-1831 Mime4J should use new logo

5 years ago[maven-release-plugin] prepare for next development iteration
benwa [Wed, 12 Oct 2016 10:48:50 +0000 (12:48 +0200)] 
[maven-release-plugin] prepare for next development iteration

5 years ago[maven-release-plugin] prepare release apache-mime4j-project-0.8.0 apache-mime4j-project-0.8.0
benwa [Wed, 12 Oct 2016 10:48:15 +0000 (12:48 +0200)] 
[maven-release-plugin] prepare release apache-mime4j-project-0.8.0

5 years agoRevert "[maven-release-plugin] prepare release apache-mime4j-project-0.8.0"
benwa [Wed, 12 Oct 2016 10:46:39 +0000 (12:46 +0200)] 
Revert "[maven-release-plugin] prepare release apache-mime4j-project-0.8.0"

This reverts commit 2108ec9f25b40bd64e0423cc89ae01cd06f31cd6.

5 years ago[maven-release-plugin] prepare release apache-mime4j-project-0.8.0
benwa [Wed, 12 Oct 2016 10:44:18 +0000 (12:44 +0200)] 
[maven-release-plugin] prepare release apache-mime4j-project-0.8.0

5 years agoMIME4J-252 Apache parent pom should have version 18 11/head
benwa [Tue, 11 Oct 2016 14:27:35 +0000 (16:27 +0200)] 
MIME4J-252 Apache parent pom should have version 18

5 years agoMIME4J SCM is now git
benwa [Tue, 11 Oct 2016 09:57:22 +0000 (11:57 +0200)] 
MIME4J SCM is now git

5 years agoMIME4J-252 Specify java version to 1.6 10/head
benwa [Mon, 10 Oct 2016 14:32:44 +0000 (16:32 +0200)] 
MIME4J-252 Specify java version to 1.6

5 years agoMIME4J-252 mime4J should have a groupId
benwa [Mon, 10 Oct 2016 09:23:41 +0000 (11:23 +0200)] 
MIME4J-252 mime4J should have a groupId

6 years agoMIME4J We should not depend on james/project 8/head
benwa [Mon, 3 Oct 2016 12:11:19 +0000 (14:11 +0200)] 
MIME4J We should not depend on james/project

6 years agoJSIEVE-73 correcting folder name 7/head
benwa [Mon, 23 May 2016 02:46:04 +0000 (09:46 +0700)] 
JSIEVE-73 correcting folder name

Compilation under Eclipse is broken :

./james-utils/src/test/java/org.apache.james.mime4j.utils.search/MessageMatcherTest.java

instead of

./james-utils/src/test/java/org/apache/james/mime4j/utils/search/MessageMatcherTest.java

The maven tests pass, but  compilation within an Eclipse workspace does not.

6 years agoMAILBOX-266 Update to guava 18.0
benwa [Fri, 19 Feb 2016 08:01:01 +0000 (15:01 +0700)] 
MAILBOX-266 Update to guava 18.0

6 years agoJSIEVE-73 Factorize code for message body matching trunk
Benoit Tellier [Mon, 4 Jan 2016 22:36:35 +0000 (22:36 +0000)] 
JSIEVE-73 Factorize code for message body matching

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1722970 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMIME4J-245 Use FileUtils when deleting files - contributed by Antoine Duprat
Benoit Tellier [Mon, 22 Jun 2015 08:06:52 +0000 (08:06 +0000)] 
MIME4J-245 Use FileUtils when deleting files - contributed by Antoine Duprat

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1686797 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMIME4J-245 Don't run jar on pom packaging projects - contributed by Matthieu Baechlor
Benoit Tellier [Mon, 22 Jun 2015 08:06:05 +0000 (08:06 +0000)] 
MIME4J-245 Don't run jar on pom packaging projects - contributed by Matthieu Baechlor

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1686796 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMIME4J-245 Update maven parent to 1.8.3-SNAPSHOT - contributed by Matthieu Baechlor
Benoit Tellier [Mon, 22 Jun 2015 08:05:14 +0000 (08:05 +0000)] 
MIME4J-245 Update maven parent to 1.8.3-SNAPSHOT - contributed by Matthieu Baechlor

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1686795 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMIME4J-244: QP decoder incorrectly throws IOException in strict mode when LF is the...
Oleg Kalnichevski [Wed, 13 May 2015 09:24:29 +0000 (09:24 +0000)] 
MIME4J-244: QP decoder incorrectly throws IOException in strict mode when LF is the first character in content stream
Contributed by Detelin Hadzhiev <detelin.hadzhiev at softwareag.com>

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1679164 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRename AddressBuilder to DefaultAddressBuilder and introduce a common interface for...
Oleg Kalnichevski [Sat, 1 Nov 2014 12:07:00 +0000 (12:07 +0000)] 
Rename AddressBuilder to DefaultAddressBuilder and introduce a common interface for DefaultAddressBuilder/LenientAddressBuilder

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1635935 13f79535-47bb-0310-9956-ffa450edef68

7 years agoBasicBodyFactory to use strict mode when used by message builder to parse messages...
Oleg Kalnichevski [Sat, 1 Nov 2014 11:21:39 +0000 (11:21 +0000)] 
BasicBodyFactory to use strict mode when used by message builder to parse messages in strict mode

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1635924 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMIME4J-218: improves defaultCharset handling
Oleg Kalnichevski [Sat, 1 Nov 2014 11:12:42 +0000 (11:12 +0000)] 
MIME4J-218: improves defaultCharset handling
improves messages for limit exceptions with details about limit sizes
Contributed by Wolfgang Fahl <wf at bitplan.com>

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1635923 13f79535-47bb-0310-9956-ffa450edef68

7 years agofixes license header
Oleg Kalnichevski [Sat, 1 Nov 2014 11:12:25 +0000 (11:12 +0000)] 
fixes license header

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1635922 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMIME4J-218: Content-Type fallback character set
Oleg Kalnichevski [Fri, 31 Oct 2014 10:07:00 +0000 (10:07 +0000)] 
MIME4J-218: Content-Type fallback character set
contributed by Wolfgang Fahl <wf at bitplan.com>

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1635743 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMIME4J-242 Added more geenric From line matcher
Ioan Eugen Stan [Mon, 1 Sep 2014 08:52:29 +0000 (08:52 +0000)] 
MIME4J-242 Added more geenric From line matcher

* #fixes MIME4J-242

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1621705 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMoved Message, Header and Entity implementation test cases
Oleg Kalnichevski [Thu, 14 Aug 2014 19:58:42 +0000 (19:58 +0000)] 
Moved Message, Header and Entity implementation test cases

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1618037 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRemoved mutators from DOM interfaces (Message, BodyPart, Multipart, etc) that are...
Oleg Kalnichevski [Thu, 14 Aug 2014 19:57:59 +0000 (19:57 +0000)] 
Removed mutators from DOM interfaces (Message, BodyPart, Multipart, etc) that are now provided by corresponding builders

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1618036 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdded unit tests for MultipartBuilder and MessageBuilder
Oleg Kalnichevski [Thu, 14 Aug 2014 19:57:45 +0000 (19:57 +0000)] 
Added unit tests for MultipartBuilder and MessageBuilder

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1618035 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdded typed #getField methods
Oleg Kalnichevski [Wed, 13 Aug 2014 15:19:29 +0000 (15:19 +0000)] 
Added typed #getField methods

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1617739 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdded unit tests for AbstractEntityBuilder and BodyPartBuilder; incremental improveme...
Oleg Kalnichevski [Tue, 12 Aug 2014 19:23:00 +0000 (19:23 +0000)] 
Added unit tests for AbstractEntityBuilder and BodyPartBuilder; incremental improvements in builder implementations

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1617565 13f79535-47bb-0310-9956-ffa450edef68

8 years agoEntityBuilder -> /ParserStreamContentHandler; minor cleanups
Oleg Kalnichevski [Thu, 17 Jul 2014 08:08:07 +0000 (08:08 +0000)] 
EntityBuilder -> /ParserStreamContentHandler; minor cleanups

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1611279 13f79535-47bb-0310-9956-ffa450edef68

8 years agoExtended new builder classes with methods to create copies of message elements and...
Oleg Kalnichevski [Thu, 17 Jul 2014 08:07:31 +0000 (08:07 +0000)] 
Extended new builder classes with methods to create copies of message elements and to parse message from content stream

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1611278 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdded builder class for BodyPart and Multipart instances
Oleg Kalnichevski [Sun, 29 Jun 2014 11:40:02 +0000 (11:40 +0000)] 
Added builder class for BodyPart and Multipart instances

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1606455 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMoved common MIME entity building logic to a separate class
Oleg Kalnichevski [Sun, 29 Jun 2014 11:39:42 +0000 (11:39 +0000)] 
Moved common MIME entity building logic to a separate class

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1606454 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMinor code refactoring and cleanup in MessageBuilder; SingleBodyBuilder to use BodyFa...
Oleg Kalnichevski [Fri, 27 Jun 2014 17:59:51 +0000 (17:59 +0000)] 
Minor code refactoring and cleanup in MessageBuilder; SingleBodyBuilder to use BodyFactory to instantiate TextBody and BinaryBody

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1606167 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdded builder class for Message instances
Oleg Kalnichevski [Fri, 27 Jun 2014 12:34:17 +0000 (12:34 +0000)] 
Added builder class for Message instances

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1606062 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMIME4J-241: inconsistent StringInputStream read zero behavior
Oleg Kalnichevski [Fri, 27 Jun 2014 12:29:23 +0000 (12:29 +0000)] 
MIME4J-241: inconsistent StringInputStream read zero behavior

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1606057 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMIMEJ-237: fixed bug in RawFieldParser#parseValue() causing incorrect parsing of...
Oleg Kalnichevski [Fri, 7 Mar 2014 15:59:20 +0000 (15:59 +0000)] 
MIMEJ-237: fixed bug in RawFieldParser#parseValue() causing incorrect parsing of field values with quoted and unquoted content

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1575302 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMIME4J-236: invalid handling of soft line breaks in strict mode
Oleg Kalnichevski [Wed, 29 Jan 2014 14:18:49 +0000 (14:18 +0000)] 
MIME4J-236: invalid handling of soft line breaks in strict mode

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1562450 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMIME4J-235: Content-Type fields containing RFC 2231 formatted boundary attribute...
Oleg Kalnichevski [Wed, 8 Jan 2014 19:16:38 +0000 (19:16 +0000)] 
MIME4J-235: Content-Type fields containing RFC 2231 formatted boundary attribute cause NPE

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1556608 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-232: Problem paring date with extra leading space(s)
Oleg Kalnichevski [Wed, 25 Sep 2013 10:16:56 +0000 (10:16 +0000)] 
MIME4J-232: Problem paring date with extra leading space(s)
Contributed by Lukas Vlcek <lukas.vlcek at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1526148 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRemoved redundant class
Oleg Kalnichevski [Wed, 15 May 2013 14:39:55 +0000 (14:39 +0000)] 
Removed redundant class

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482868 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAdded builder class for BinaryPart and TextPart instances
Oleg Kalnichevski [Tue, 14 May 2013 15:10:12 +0000 (15:10 +0000)] 
Added builder class for BinaryPart and TextPart instances

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482374 13f79535-47bb-0310-9956-ffa450edef68

9 years agoEliminated duplicate class in dom module
Oleg Kalnichevski [Tue, 14 May 2013 13:29:53 +0000 (13:29 +0000)] 
Eliminated duplicate class in dom module

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482328 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMade MimeConfig immutable
Oleg Kalnichevski [Tue, 14 May 2013 10:51:32 +0000 (10:51 +0000)] 
Made MimeConfig immutable

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482294 13f79535-47bb-0310-9956-ffa450edef68

9 years agoThrow checked i/o exception instead of unchecked one in case of an unsupported /...
Oleg Kalnichevski [Tue, 14 May 2013 10:49:34 +0000 (10:49 +0000)] 
Throw checked i/o exception instead of unchecked one in case of an unsupported / invalid charset in body descriptor

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482293 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMoved CodecUtil methods to ContentUtil / EncoderUtil
Oleg Kalnichevski [Tue, 14 May 2013 10:44:12 +0000 (10:44 +0000)] 
Moved CodecUtil methods to ContentUtil / EncoderUtil

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482291 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMoved standard charsets to a separate class
Oleg Kalnichevski [Tue, 14 May 2013 10:43:35 +0000 (10:43 +0000)] 
Moved standard charsets to a separate class

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1482289 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRefactored sample message based test suites; fixed frivolous usage of file based...
Oleg Kalnichevski [Mon, 13 May 2013 12:13:09 +0000 (12:13 +0000)] 
Refactored sample message based test suites; fixed frivolous usage of file based resources

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1481814 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCleanups in core unit tests; removed unnecessary test utils
Oleg Kalnichevski [Sun, 12 May 2013 13:58:51 +0000 (13:58 +0000)] 
Cleanups in core unit tests; removed unnecessary test utils

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1481557 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUse more efficient implementations for byte array and string backed input stream...
Oleg Kalnichevski [Fri, 10 May 2013 17:26:02 +0000 (17:26 +0000)] 
Use more efficient implementations for byte array and string backed input stream implementations that attempt to minimize intermediate copying while streaming data

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1481113 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixed resource leak warnings
Oleg Kalnichevski [Fri, 10 May 2013 17:22:34 +0000 (17:22 +0000)] 
Fixed resource leak warnings

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1481112 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRestored full Java 1.5 compatibility
Oleg Kalnichevski [Tue, 30 Apr 2013 08:46:16 +0000 (08:46 +0000)] 
Restored full Java 1.5 compatibility

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1477509 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-229: test cases
Oleg Kalnichevski [Tue, 23 Apr 2013 14:01:58 +0000 (14:01 +0000)] 
MIME4J-229: test cases

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1470968 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-226 changed compiler source and target to java 1.5
Ioan Eugen Stan [Sun, 24 Mar 2013 09:18:24 +0000 (09:18 +0000)] 
MIME4J-226 changed compiler source and target to java 1.5

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1460288 13f79535-47bb-0310-9956-ffa450edef68

9 years agoFixes MIME4J-225 and MIME4J-222
Ioan Eugen Stan [Sun, 17 Mar 2013 12:20:53 +0000 (12:20 +0000)] 
Fixes MIME4J-225 and MIME4J-222

* thanks Rustam Gupta for the MIME4J-222 patch
* changed version format to 0.8.0

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1457434 13f79535-47bb-0310-9956-ffa450edef68

9 years agoChanged version format to tree component style 0.8.0
Ioan Eugen Stan [Sun, 17 Mar 2013 12:12:29 +0000 (12:12 +0000)] 
Changed version format to tree component style 0.8.0

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1457432 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUpdated commons-io to 2.4 fixed some tests
Ioan Eugen Stan [Sun, 17 Mar 2013 12:12:04 +0000 (12:12 +0000)] 
Updated commons-io to 2.4 fixed some tests

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1457431 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUpgraded to apache-james-project 1.8.2
Ioan Eugen Stan [Sun, 17 Mar 2013 12:08:05 +0000 (12:08 +0000)] 
Upgraded to apache-james-project 1.8.2

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1457430 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-221 Pom cleanup and IDE code analisys improvements
Ioan Eugen Stan [Sun, 17 Mar 2013 10:36:33 +0000 (10:36 +0000)] 
MIME4J-221 Pom cleanup and IDE code analisys improvements

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1457421 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-218: rethrow UnsupportedCharsetException as a checked I/O exception
Oleg Kalnichevski [Wed, 2 Jan 2013 15:45:57 +0000 (15:45 +0000)] 
MIME4J-218: rethrow UnsupportedCharsetException as a checked I/O exception

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1427831 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-218: made it easier to map a charset name to Charset implementation (added...
Oleg Kalnichevski [Wed, 2 Jan 2013 15:38:19 +0000 (15:38 +0000)] 
MIME4J-218: made it easier to map a charset name to Charset implementation (added BasicBodyFactory#resolveCharset method)

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1427827 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4J-221 Updated most tests to junit-4 style
Ioan Eugen Stan [Thu, 27 Dec 2012 13:23:54 +0000 (13:23 +0000)] 
MIME4J-221 Updated most tests to junit-4 style

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1426193 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMIME4j-219 Added new DateTime format and test. Added also the message sample to test...
Ioan Eugen Stan [Thu, 27 Dec 2012 12:25:27 +0000 (12:25 +0000)] 
MIME4j-219 Added new DateTime format and test. Added also the message sample to test/resources.

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1426178 13f79535-47bb-0310-9956-ffa450edef68

9 years agofix svn:ignore properties
Eric Charles [Fri, 23 Nov 2012 14:46:16 +0000 (14:46 +0000)] 
fix svn:ignore properties

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1412904 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMade DomainList immutable, fixes MIME4J-217
Ioan Eugen Stan [Wed, 26 Sep 2012 17:21:25 +0000 (17:21 +0000)] 
Made DomainList immutable, fixes MIME4J-217

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1390619 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMIME4J-215: Make MboxIterator compatible with target.jdk=1.5
Gazda [Sat, 23 Jun 2012 13:38:38 +0000 (13:38 +0000)] 
MIME4J-215: Make MboxIterator compatible with target.jdk=1.5
Eclipse's .settings, .project and .classpath added to svn:ignore

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1353129 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemoved Guava from dependencies.
Ioan Eugen Stan [Tue, 19 Jun 2012 09:41:33 +0000 (09:41 +0000)] 
Removed Guava from dependencies.

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1351620 13f79535-47bb-0310-9956-ffa450edef68

10 years agoIntegrated Mbox Iterator to Apache James Mime4j
Ioan Eugen Stan [Tue, 19 Jun 2012 09:41:00 +0000 (09:41 +0000)] 
Integrated Mbox Iterator to Apache James Mime4j

 * integrated https://github.com/ieugen/mbox-iterator into mime4j
 * bumped junit version to 4.10
 * added Guava in dependency management (used only in mbox-iterator)

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1351619 13f79535-47bb-0310-9956-ffa450edef68

10 years agouse 1.8.1 parent to generate correct site
Eric Charles [Tue, 17 Apr 2012 17:20:10 +0000 (17:20 +0000)] 
use 1.8.1 parent to generate correct site

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1327188 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMIME4J-213: OSGi metadata fix
Oleg Kalnichevski [Sat, 24 Mar 2012 11:09:15 +0000 (11:09 +0000)] 
MIME4J-213: OSGi metadata fix
Contributed by Raman Gupta <rocketraman at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1304761 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMIME4J-212: DefaultMessageBuilder#parseHeader ignores MimeConfig
Oleg Kalnichevski [Wed, 8 Feb 2012 18:27:04 +0000 (18:27 +0000)] 
MIME4J-212: DefaultMessageBuilder#parseHeader ignores MimeConfig

git-svn-id: https://svn.apache.org/repos/asf/james/mime4j/trunk@1242036 13f79535-47bb-0310-9956-ffa450edef68