Commit graph

41 commits

Author SHA1 Message Date
moandji.ezana cd7b7b68d9 Loop over parsers 2014-08-13 12:09:04 +02:00
moandji.ezana 7e101ce3a3 Added support for literal strings 2014-08-13 11:28:18 +02:00
moandji.ezana 8f877776d6 Support for multiline strings 2014-08-13 00:28:12 +02:00
moandji.ezana 1dd40b14ed Separated error messages with a new line. 2014-08-12 22:45:37 +02:00
moandji.ezana ff4c0cbc16 Key names can have dots in them 2014-08-12 22:44:24 +02:00
moandji.ezana feba3c7e1a Added documentation to ValueParser 2014-08-12 18:09:11 +02:00
moandji.ezana 86e921cb4b Improved handling of malformed keys.
Incorporated all of the validator's invalid tests.
2014-08-12 18:08:37 +02:00
moandji.ezana bc6fa8e736 Moved all classes to single package to reduce visibility.
Only Toml class is public.
2014-08-12 17:38:23 +02:00
moandji.ezana 0a4ac0d875 ValueAnalysis renamed to ValueConverter 2014-08-12 17:30:44 +02:00
moandji.ezana e2a085d310 Improved handling of invalid integers.
Type parsers broken out into separate package
2014-08-12 17:29:56 +02:00
moandji.ezana 010bc88a20 Improved invalid boolean handling.
Introducing new ValueParser system
2014-08-12 16:44:47 +02:00
moandji.ezana 5253a80748 Renamed parsers 2014-08-12 16:17:12 +02:00
moandji.ezana adbfeae05e Improved handling of invalid strings and array entries 2014-08-12 15:59:53 +02:00
moandji.ezana 155781b5e2 Improved float handling 2014-08-12 15:42:18 +02:00
moandji.ezana 922408e979 Improved handling of invalid key names 2014-08-12 13:15:12 +02:00
moandji.ezana 6b67baf3bf Improved handling of nested arrays 2014-08-12 13:02:46 +02:00
moandji.ezana 01f2ff7d76 Improved handling of arrays, tables and table arrays 2014-08-12 12:53:18 +02:00
moandji.ezana 39e828ff10 Handle nested arrays 2014-08-11 00:51:21 +02:00
moandji.ezana 329b56e7d3 Improved comment handling 2014-08-09 01:10:30 +02:00
moandji.ezana 055480ee0b Initial work to implement regex-based parser 2014-08-05 22:18:04 +02:00
moandji.ezana 59a408314f Changed "key group" to "table" in error message 2014-08-03 14:22:04 +02:00
moandji.ezana 96016c02d2 Improved comment handling and disallowed mixed arrays 2014-07-22 15:56:07 +02:00
moandji.ezana d9e1ccc98a Added Toml#to(Class, Gson) to allow for test output as specified by
BurntSushi/toml-test
2014-07-22 15:50:39 +02:00
moandji.ezana e36b8dbe8e Read empty string followed by new line.
Fix #3 https://github.com/mwanji/toml4j/issues/3
2014-07-21 13:07:36 +02:00
moandji.ezana 0af30b90ac Indexed navigation in compound keys and shallow merging of defaults 2014-04-09 15:02:41 +02:00
moandji.ezana 2f355b47f3 Tested and documented extra possibilities of conversion to Java 2014-04-09 11:04:28 +02:00
moandji.ezana b0a8de8b19 Added Toml#parse(Reader) and Toml#parse(InputStream) 2014-04-08 16:37:02 +02:00
moandji.ezana 86257278b7 Added javadoc. Better null-handling and return empty containers instead
of null.
2014-04-08 12:52:56 +02:00
moandji.ezana 8b8722596b Improved error message formatting
[ci skip]
2014-04-08 11:27:44 +02:00
moandji.ezana 453ce84fc5 Support for nested table arrays 2014-04-07 14:38:34 +02:00
moandji.ezana 095e33a03b Added support for simple table array 2014-04-07 13:17:56 +02:00
moandji.ezana bc78ff64b5 Replaced "key group" by "table" 2014-04-06 22:25:21 +02:00
moandji.ezana 0c3448156c Track existing groups by their full name.
Fixes #1
2014-04-06 21:34:25 +02:00
moandji.ezana 2c3152e770 Minor refactoring 2014-04-06 21:12:34 +02:00
moandji.ezana 4473418a72 Added support for negative numbers 2013-03-22 14:36:48 +02:00
moandji.ezana 2483dc48ae Added support for all special and Unicode characters and checking for duplicate key groups. 2013-03-22 10:00:37 +02:00
moandji.ezana 450e7402ef Toml#to(Class) converts to custom class 2013-02-28 12:53:46 +02:00
moandji.ezana 53c2de5519 Added support for all special characters except null 2013-02-28 10:59:17 +02:00
moandji.ezana c539be53b9 Parses hard_example.toml 2013-02-28 09:33:16 +02:00
moandji.ezana 9fe3637126 Moved parsing from constructor to parse() methods 2013-02-26 21:20:00 +02:00
moandji.ezana 4ad8a683cc Initial commit 2013-02-26 09:57:26 +02:00