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 |
|
moandji.ezana
|
6340d39ba7
|
Reduce visibility of TomlWriter#getIndentationPolicy()
|
2015-06-30 12:23:28 +02:00 |
|
moandji.ezana
|
5af1ca6f06
|
Removed unnecessary SuppressWarnings
|
2015-06-30 12:19:40 +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
|
0f42d37f60
|
Updated changelog
|
2015-06-29 21:30:02 +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
|
d9964fd61a
|
Added an example for each TomlWriter#write method
|
2015-06-29 20:10:43 +02:00 |
|
moandji.ezana
|
3a3915416a
|
Added finally block to TomlWriter#write(Object, File) to close
FileWriter
|
2015-06-29 19:41:44 +02:00 |
|
moandji.ezana
|
feb3aec259
|
TomlWriter#write methods delegate to TomlWriter#write(Object, Writer) to
take advantage of streaming when possible.
|
2015-06-29 18:49:34 +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 |
|
moandji.ezana
|
9968add0ae
|
Removed ValueWriter#isTable()
|
2015-06-29 09:57:05 +02:00 |
|
moandji.ezana
|
121db7ef05
|
Merge branch 'wip' of git://github.com/dilecti/toml4j into writer
|
2015-06-29 08:30:43 +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
|
7ce548e616
|
Note writer options in the readme.
|
2015-06-28 14:15:38 -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
|
1a0d38bc72
|
Improve wording for array whitespace controls
|
2015-06-28 13:37:47 -07:00 |
|
Jonathan Wood
|
77f7b922be
|
Fix escaping of back slashes.
|
2015-06-28 13:35:34 -07:00 |
|
Jonathan Wood
|
3d90260d32
|
Add methods to control date formatting and time zones.
|
2015-06-28 11:52:40 -07:00 |
|
Jonathan Wood
|
ecbd9f048d
|
Add a way to control spacing around array brackets.
|
2015-06-28 11:26:49 -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
|
24a6503d19
|
Conform to the project's singleton pattern.
|
2015-06-27 14:35:26 -07:00 |
|
Jonathan Wood
|
8b3652a309
|
Remove classes merged into Converters.
|
2015-06-27 14:27:38 -07:00 |
|
Jonathan Wood
|
bcc52f5cb0
|
Use new 'write' vocabulary in the docs.
|
2015-06-27 14:23:52 -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 |
|