Commit graph

91 commits

Author SHA1 Message Date
moandji.ezana e0762bf82a Removed duplicate comment checks 2015-01-23 15:22:46 +02:00
moandji.ezana b7b546dc83 Improved handling of bare and quoted keys 2015-01-23 15:17:50 +02:00
moandji.ezana f804c99534 Table array name parsing no longer handled by Parboiled 2015-01-23 14:17:39 +02:00
moandji.ezana 537c75757e Removed support for escaping a slash 2015-01-22 16:02:32 +02:00
moandji.ezana 3ca947785d Added test for example-v0.3.0.toml 2015-01-22 15:18:03 +02:00
moandji.ezana 6ad2743276 Removed unnecessary code 2015-01-22 15:16:54 +02:00
moandji.ezana ac3c0fd230 Adapted hard_example to bare/quoted key restrictions 2015-01-22 15:06:11 +02:00
moandji.ezana be3b027d1e Fixed exponent handling 2015-01-22 15:05:47 +02:00
moandji.ezana ba84494583 Fixed handling of short-form unicode escapes 2015-01-22 14:54:50 +02:00
moandji.ezana 1380c72d48 Limited the range of characters bare keys can accept 2015-01-22 14:39:08 +02:00
moandji.ezana df235e5a29 Added support for quoted keys with index arrays 2015-01-22 10:38:41 +02:00
moandji.ezana db950ab054 Added support for quoted keys
https://github.com/toml-lang/toml/pull/283
2015-01-14 09:46:36 +02:00
moandji.ezana 28c57069c6 Fixed Javadoc for Java 8 2014-12-16 01:07:59 +02:00
moandji.ezana 5ed9a4155e Test that key name cannot start with [ 2014-12-15 23:47:06 +02:00
moandji.ezana 714fb81330 Support for unicode characters starting with \U 2014-12-15 16:02:49 +02:00
moandji.ezana 1b3c08a433 Empty table names cause parsing to fail 2014-12-15 15:58:19 +02:00
moandji.ezana 12e73fb314 Added support for RFC 3339 dates. 2014-12-15 15:44:03 +02:00
moandji.ezana 6267ac6c9d Split tests into more manageable chunks 2014-12-15 13:01:48 +02:00
moandji.ezana 28ef345bba Updated tests from BurntSushi/toml-test 2014-12-15 13:01:17 +02:00
moandji.ezana 1390487d3f Support for exponents and doubles with a plus sign 2014-11-10 23:02:10 +02:00
moandji.ezana 16e9fa16f0 Support integer with leading plus sign 2014-11-10 22:01:46 +02:00
moandji.ezana 729e0e4ed9 Fail on unterminated multiline strings 2014-11-02 18:13:58 +02:00
moandji.ezana 4c9d28bfc4 Deleted unused code 2014-11-02 18:13:26 +02:00
moandji.ezana 7a780b58b3 Moved test file to correct folder
(I didn't see it before because it failed in Maven but not in Eclipse)
2014-11-02 13:26:49 +02:00
moandji.ezana 39300478f1 Added multiline and raw string tests from BurntSushi 2014-11-02 13:22:20 +02:00
moandji.ezana 16c8b409e6 Added test to confirm that out-of-order table arrays are supported.
cf. https://github.com/toml-lang/toml/issues/252
2014-10-10 11:45:22 +02:00
moandji.ezana ccca314649 Parse multiline string literals and all multiline strings with text on
the first line
2014-08-22 23:59:02 +02:00
moandji.ezana 1f290c94b8 Removed unused variable and added static imports. 2014-08-22 22:30:18 +02:00
moandji.ezana fcd77dca6b Renamed ValueParser#String() to ValueParser#StringToken() to avoid
conflicts/confusion with Parboiled method.
2014-08-13 20:24:58 +02:00
moandji.ezana dfd5501132 Introduced Multiline enum to clean TomlParser up a bit 2014-08-13 20:22:34 +02:00
moandji.ezana b6af2c6d48 ValueConverterUtils.parse() and ValueConverterUtils.parser() make it
easier to use Parboiled.
2014-08-13 16:01:31 +02:00
moandji.ezana 2b8bf136a9 Renamed StatementParser to ValueParser 2014-08-13 14:36:21 +02:00
moandji.ezana 697349e9a2 Renamed ValueParser to ValueConverter and associated changes 2014-08-13 14:31:50 +02:00
moandji.ezana c841c4e1fe Removed regexes from BooleanParser and IntegerParser and using Parboiled
instead
2014-08-13 14:27:23 +02:00
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 2667e2c20d Test that key names in table arrays can contain dots 2014-08-12 23:17:07 +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 b2888519fb Incorporated all of validator's valid tests into JUnit test suite 2014-08-12 18:27:14 +02:00
moandji.ezana 0bca81e5da Split BurntSushiTest into valid and invalid. 2014-08-12 18:17:15 +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