Commit graph

349 commits

Author SHA1 Message Date
Nick Jiang
bc04eec538 Returns the default value if the key was not found. 2015-03-26 16:50:48 +08:00
Nick Jiang
7f0ea04e99 Ignore the folder "target". 2015-03-26 16:46:39 +08:00
moandji.ezana
ffb0e08290 Fixed typo 2015-03-11 23:06:55 +02:00
moandji.ezana
8d183061ec Fixed typo 2015-03-11 23:01:31 +02:00
moandji.ezana
baec3a1697 Added VersionEye badge to README 2015-02-19 21:26:27 +02:00
moandji.ezana
598c319ef3 Bumped version and updated change log
[ci skip]
2015-02-17 10:28:27 +02:00
moandji.ezana
252a704a61 Merge branch 'master' into wip 2015-02-17 10:26:27 +02:00
moandji.ezana
8c66284960 In number, underscore after dot is invalid 2015-02-17 10:24:45 +02:00
moandji.ezana
7aa496582c Added v0.4.0 example 2015-02-17 10:21:57 +02:00
moandji.ezana
a3edb55e9c Merge branch 'underscores_in_numbers' into wip. Fixed version example
test.

Conflicts:
	src/main/java/com/moandjiezana/toml/NumberConverter.java
2015-02-17 10:21:17 +02:00
moandji.ezana
8d9f08e93f [maven-release-plugin] prepare for next development iteration 2015-02-16 14:56:43 +02:00
moandji.ezana
8528c22b93 [maven-release-plugin] prepare release toml4j-0.4.0 2015-02-16 14:56:33 +02:00
moandji.ezana
58e4f9191c Updates for release 2015-02-16 14:54:08 +02:00
moandji.ezana
7e88ad0f93 Merge branch 'wip'
Conflicts:
	README.md
2015-02-16 14:49:21 +02:00
moandji.ezana
4e22176f1e Improved duplicate table detection. Improved line reporting. 2015-02-16 13:33:02 +02:00
moandji.ezana
2b9af91bf4 Improved detection of invalid use of inline tables. 2015-02-15 01:44:13 +02:00
moandji.ezana
40f12ca3b1 Throw exception when duplicate keys are defined inside an inline table 2015-02-14 02:39:39 +02:00
moandji.ezana
14896a6033 Code coverage improvements 2015-02-14 01:36:14 +02:00
moandji.ezana
ba98daeb85 Added Toml#isEmpty()
Added tests for navigation to non-existant keys
2015-02-13 09:09:05 +02:00
moandji.ezana
ca7fcc766b Removed unused methods and variables 2015-02-13 08:44:54 +02:00
moandji.ezana
be85328555 Javadoc improvements 2015-02-13 08:43:35 +02:00
moandji.ezana
cdef758f4c Made TomlParser#run(String) static 2015-02-13 08:19:40 +02:00
moandji.ezana
b69f8514cb Deleted unused constant 2015-02-13 08:18:56 +02:00
moandji.ezana
96220b7a88 The TOML string is never transformed into an array 2015-02-12 23:25:10 +02:00
moandji.ezana
8388e394ed Removed unused methods 2015-02-12 23:12:50 +02:00
moandji.ezana
6e4c8fd022 Documentation clean up for version 0.4.0 2015-02-12 22:56:45 +02:00
moandji.ezana
d468ec1892 Updated copyright date 2015-02-12 22:55:55 +02:00
moandji.ezana
d28fffa4e6 Added support for Unicode characters in quoted keys 2015-02-12 22:38:40 +02:00
moandji.ezana
1c87a9e85a Improved bare key validation and quoted key support 2015-02-12 22:38:17 +02:00
moandji.ezana
8a6ca61101 Cleaned up bare key handling and started cleaning up identifier
validation
2015-02-12 11:21:00 +02:00
moandji.ezana
7292fe5468 Added Results.Errors to Context constructor and Context.with(Identifier) 2015-02-12 08:33:43 +02:00
moandji.ezana
786529fce6 Moved ValueConverterUtils.isComment(String) to ValueConverters 2015-02-12 08:31:34 +02:00
moandji.ezana
c0e78db681 Improved error message reporting 2015-02-11 17:59:20 +02:00
moandji.ezana
c4027ed2d5 Merge branch 'inline_tables' into wip
Conflicts:
	src/main/java/com/moandjiezana/toml/Results.java
	src/main/java/com/moandjiezana/toml/TomlParser.java
	src/test/java/com/moandjiezana/toml/ErrorMessagesTest.java
2015-02-11 16:43:48 +02:00
moandji.ezana
5567f6c8bd Updated change log 2015-02-11 16:02:43 +02:00
moandji.ezana
66f7946542 Added test for mixed inline tables in array 2015-02-11 16:02:30 +02:00
moandji.ezana
21c5dfd235 Improved error messages 2015-02-11 15:55:02 +02:00
moandji.ezana
3e2d9fad37 Simplified TomlParser 2015-02-11 15:54:51 +02:00
moandji.ezana
d1d7145a03 Streamlined array and inline table converters to re-use other converters
[ci skip]
2015-02-11 00:59:48 +02:00
moandji.ezana
ddb061b9f9 Added support for nested inline tables 2015-02-10 20:06:46 +02:00
moandji.ezana
5bd87a6b56 Added support for arrays in inline tables 2015-02-10 14:32:44 +02:00
moandji.ezana
a5a6ab22dc Support for very basic inline tables 2015-02-09 22:15:37 +02:00
moandji.ezana
de1bcbdca2 Reduced method visibility 2015-02-09 22:14:58 +02:00
moandji.ezana
91e5c65577 Improved error handling code and line numbers included in error messages 2015-02-09 22:14:25 +02:00
moandji.ezana
d32ead52d4 Improved error handling code and line numbers included in error messages 2015-02-09 16:29:20 +02:00
moandji.ezana
55d598c3b1 Added inceptionYear and ciManagement 2015-02-09 09:46:54 +02:00
moandji.ezana
9093fec59b Added support for underscores in numbers 2015-02-09 09:41:04 +02:00
moandji.ezana
1bc8d4bcc5 Removed misc. section of change log. Added to CONTRIBUTING.md. Clarified
javadoc.

[ci skip]
2015-02-08 23:56:54 +02:00
moandji.ezana
1a8e991f95 Added CONTRIBUTING.md 2015-02-08 23:32:59 +02:00
moandji.ezana
4615ed50f7 Cleaned up warnings 2015-02-08 23:28:09 +02:00