Moandji Ezana
|
d977160e1b
|
Normalise line endings on Windows in tests
|
2016-06-14 20:19:33 -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
|
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
|
b1436c557d
|
Rename Toml#containsKey() to containsPrimitive
|
2015-12-10 12:23:08 -04:00 |
|
moandji.ezana
|
d60736e104
|
Rename parse to read and ValueConverter to ValueReader
|
2015-08-14 11:12:08 +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 |
|
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
|
95e7f28cfa
|
Remove warnings
|
2015-07-02 07:31:51 +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
|
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
|
56be048ab1
|
Created TomlWriter.Builder, so TomlWriter and IndentationPolicy can be
immutable
|
2015-06-30 11:37:22 +02:00 |
|
moandji.ezana
|
d8a02ce356
|
Support for special cases: char, Character, URL, URI and enums.
|
2015-06-29 20:52:32 +02:00 |
|
moandji.ezana
|
210d9dcb3c
|
Renamed ValueWriterTest to TomlWriterTest
|
2015-06-29 20:11:59 +02:00 |
|
moandji.ezana
|
123aa21aed
|
Moved BurntSushi encoder tests to own class to make it easier to see
which tests have been implemented.
|
2015-06-29 10:13:12 +02:00 |
|
Jonathan Wood
|
a879385f4c
|
Tweak test for openjdk-6.
|
2015-06-28 20:18:27 -07:00 |
|
Jonathan Wood
|
99c48231c2
|
Refuse to write heterogeneous arrays.
|
2015-06-28 14:35:39 -07:00 |
|
Jonathan Wood
|
f3dca7d24f
|
Remove extraneous tests.
The burntsushi tests provide adequate coverage of these.
|
2015-06-28 14:09:20 -07:00 |
|
Jonathan Wood
|
b550e638c7
|
Run burntsushi tests on TomlWriter, where possible.
|
2015-06-28 13:54:29 -07:00 |
|
Jonathan Wood
|
72941c146d
|
Add writer indentation policy controls.
Set the default indentation to 0.
|
2015-06-28 10:30:35 -07:00 |
|
Jonathan Wood
|
ec30be7901
|
Move Toml.write() to TomlWriter.
Add TomlWriter methods for writing to File, Writer, and OutputStream
targets.
|
2015-06-27 14:19:40 -07:00 |
|
Jonathan Wood
|
acc952a572
|
Remove Toml.serialize().
|
2015-06-27 13:11:52 -07:00 |
|
Jonathan Wood
|
c076099ddd
|
Use 'write' rather than 'serialize'.
Also refactor ValueWriter implementations into ValueConverter
implementations, where possible.
|
2015-06-27 12:50:15 -07:00 |
|
Jonathan Wood
|
ca6e043926
|
Change bouncy caps to underscores in test names.
|
2015-06-25 09:31:36 -07:00 |
|
Jonathan Wood
|
4ed3740732
|
Fix Date serialization testing.
The test can be run in any time zone, so always test with a Date instance
from the local time zone where the test is being run.
|
2015-06-25 07:56:04 -07:00 |
|
Jonathan Wood
|
f8f55a6f16
|
Merge remote-tracking branch 'upstream/wip' into merge
Conflicts:
README.md
src/main/java/com/moandjiezana/toml/Toml.java
|
2015-06-24 21:49:24 -07:00 |
|
Jonathan Wood
|
e7d7de7ae5
|
Implement serialization.
This provides functionality to convert populated Toml instances
and arbitrary objects into TOML.
|
2015-06-24 21:40:06 -07:00 |
|
moandji.ezana
|
38666593dd
|
Added Toml#contains(String) and Toml#containsXxx(String) methods
|
2015-06-24 01:07:34 +02:00 |
|
moandji.ezana
|
0cea9ae187
|
Added test cases for iterating over empty TOML and key containing empty
list
|
2015-06-24 00:49:41 +02:00 |
|
moandji.ezana
|
1c3e0642ae
|
Renamed IteratorTest -> IterationTest
|
2015-06-23 23:05:18 +02:00 |
|
moandji.ezana
|
4074242e0b
|
Using a private implementation of Map.Entry instead of public Toml.Entry
class
|
2015-06-23 23:05:18 +02:00 |
|
moandji.ezana
|
a0bd307f58
|
Added Toml#entrySet()
|
2015-06-23 23:05:18 +02:00 |
|
moandji.ezana
|
ae2911c82c
|
Toml#getTables() returns null for missing keys and indices
|
2015-04-29 22:10:30 +02:00 |
|
moandji.ezana
|
24a5134c2c
|
getTable() and getTables() return null for missing keys
|
2015-04-29 21:46:22 +02:00 |
|
moandji.ezana
|
a210896477
|
Improved a test's assertion semantics
|
2015-04-29 21:36:44 +02:00 |
|
moandji.ezana
|
a342b1fef6
|
Toml#getList() returns null if key is missing
|
2015-04-29 20:30:11 +02:00 |
|
moandji.ezana
|
4d32f77ce0
|
Removed Toml#to(Class, Gson)
|
2015-04-29 00:19:39 +02:00 |
|
moandji.ezana
|
0817b40d8f
|
Simplified test names
|
2015-04-13 13:24:52 +02:00 |
|
moandji.ezana
|
8cae6c2e32
|
Improved error message when key overwrites table
|
2015-04-13 13:23:58 +02:00 |
|
moandji.ezana
|
0795127266
|
New error message when table overwrites existing key definition
|
2015-04-13 13:04:10 +02:00 |
|
moandji.ezana
|
1a6ddbd5ac
|
Moved tests to more appropriate classes
|
2015-04-13 11:42:05 +02:00 |
|