Commit graph

321 commits

Author SHA1 Message Date
Moandji Ezana 0a5b5190b9 [maven-release-plugin] prepare release toml4j-0.6.0 2016-06-15 09:32:05 -04:00
Moandji Ezana ea845af1de Update Maven build to latest plugin versions and current recommendations 2016-06-15 09:04:45 -04:00
Moandji Ezana 55d5b91e1d Merge branch 'wip' 2016-06-14 20:22:05 -04:00
Moandji Ezana d977160e1b Normalise line endings on Windows in tests 2016-06-14 20:19:33 -04:00
Moandji Ezana f0da6d4c36 Bump version to 0.6.0 2016-06-14 20:01:22 -04:00
Moandji Ezana b7d3b34619 Support positive offset in datetime
Fixes #31
2016-06-14 19:58:13 -04:00
Moandji Ezana a37dfd80a8 Transient fields are not written to TOML files by TomlWriter
Fixes #30
2016-06-14 19:51:22 -04:00
Moandji Ezana ab05197c9d Add Toml#toMap()
Fixes #29
2016-05-09 22:58:46 -04:00
moandji.ezana 15666880a8 [maven-release-plugin] prepare for next development iteration 2016-01-25 09:39:56 -04:00
moandji.ezana 963507ae61 [maven-release-plugin] prepare release toml4j-0.5.1 2016-01-25 09:39:52 -04:00
moandji.ezana 6318013c81 Specify Java 1.6 and above 2016-01-25 09:35:56 -04:00
moandji.ezana acca966946 Merge branch 'wip' 2016-01-25 09:33:42 -04:00
moandji.ezana a5e34f464f Update version number in README 2016-01-24 22:14:16 -04:00
moandji.ezana d9b3c191fb Merge branch 'wip' of git@github.com:mwanji/toml4j.git into wip 2016-01-24 22:12:26 -04:00
moandji.ezana e024b51b0c Fix handling of tables with same name in different table array items.
Fixes https://github.com/mwanji/toml4j/issues/26
2016-01-24 22:10:35 -04:00
Moandji Ezana 2f45ce657c Merge pull request #25 from dilecti/wip
Update README for the 0.5.0 release.
2016-01-24 15:43:11 -04:00
Jonathan Wood aacd2bf319 Update README for the 0.5.0 release. 2016-01-14 08:23:11 -08:00
moandji.ezana b2daf2475f [maven-release-plugin] prepare for next development iteration 2015-12-10 12:26:42 -04:00
moandji.ezana a5f0c6aec7 [maven-release-plugin] prepare release toml4j-0.5.0 2015-12-10 12:26:37 -04:00
moandji.ezana b1436c557d Rename Toml#containsKey() to containsPrimitive 2015-12-10 12:23:08 -04:00
moandji.ezana 41b5438707 Prepare for 0.5.0 release 2015-12-10 11:50:30 -04:00
moandji.ezana 175c8d645f Add link to contribution guidelines 2015-12-10 11:47:46 -04:00
moandji.ezana 23567297fb Switch back to Java 6 2015-12-10 11:46:20 -04:00
moandji.ezana c88f283b3c Use Java 8 2015-10-28 20:44:01 -04:00
moandji.ezana 5740936619 Update docs 2015-10-28 20:42:00 -04:00
moandji.ezana 4773638a12 Read files as UTF-8. Fixes https://github.com/mwanji/toml4j/issues/22 2015-08-15 02:12:44 +02:00
moandji.ezana d60736e104 Rename parse to read and ValueConverter to ValueReader 2015-08-14 11:12:08 +02:00
moandji.ezana 039b487115 Set OutputStreamWriter to UTF-8. Document UTF-8 requirements. 2015-07-29 13:45:24 +02:00
Jonathan Wood b21391add7 Improve readability for special char code.
When populating specialCharacterEscapes, use character representations
rather than hex-formatted numbers.
2015-07-18 12:25:58 -07:00
moandji.ezana 212bd49bf6 Delete commented code 2015-07-14 22:30:44 +02:00
moandji.ezana 97e0133450 Write Unicode symbols instead of escaping them 2015-07-14 22:29:54 +02:00
moandji.ezana c90d4e1e71 TomlWriter#write() throws IllegalArgumentException when source object is
of an invalid type.
2015-07-14 01:51:09 +02:00
moandji.ezana 16915c8edb Merge branch 'writer' of git@github.com:mwanji/toml4j.git into writer
Conflicts:
	src/main/java/com/moandjiezana/toml/TomlWriter.java
	src/test/java/com/moandjiezana/toml/TomlWriterTest.java
2015-07-14 01:44:46 +02:00
moandji.ezana dbbd2f5e0e Do not write types that would not produce valid TOML 2015-07-14 01:33:11 +02:00
moandji.ezana 30d4898938 Document TomlWriter threadsafety in readme. 2015-07-13 23:46:09 +02:00
Jonathan Wood 568a77b1bf Refuse to write TOML fragments. 2015-07-04 17:50:52 -07:00
Jonathan Wood 8a8319b5f9 Write empty nested arrays properly. 2015-07-03 13:57:09 -07:00
moandji.ezana 50522d6a8c Include final fields but ignore constants 2015-07-02 08:22:31 +02:00
moandji.ezana 912ab61158 Test that keys are quoted when writing from an object and in table names 2015-07-02 07:59:30 +02:00
moandji.ezana 9358162a58 Remove ValueWriters#write(Object, WriterContext) 2015-07-02 07:41:22 +02:00
moandji.ezana 95e7f28cfa Remove warnings 2015-07-02 07:31:51 +02:00
moandji.ezana 47bd5022f1 Rename WriterIndentationPolicy to IndentationPolicy 2015-07-02 07:21:48 +02:00
moandji.ezana 7d5e429e12 Remove unused code 2015-07-01 13:01:16 +02:00
moandji.ezana fa591a0f0c Improve test coverage with test on error message for nested heterogenous
arrays
2015-07-01 12:59:12 +02:00
moandji.ezana 1244fdbfb3 Reduce visibility of public methods on WriterContext 2015-07-01 12:47:28 +02:00
moandji.ezana dbab02ce52 TomlWriter can display fractional seconds 2015-07-01 12:25:40 +02:00
moandji.ezana b59a246b86 Timezone can be set on TomlWriter.
DateConverterJdk6 class handles Java 6 date formatting limitations.
2015-07-01 11:22:29 +02:00
moandji.ezana a6e31da5ca Streamlined writing dates in UTC timezone. 2015-07-01 10:21:10 +02:00
moandji.ezana d9abbe7bc3 Updated encoding documentation 2015-07-01 09:32:16 +02:00
moandji.ezana ea36399255 Streamline WriterContext constructors. Make instance variables final
where possible.
2015-06-30 12:31:57 +02:00