Commit Graph

492 Commits

Author SHA1 Message Date
Thomas Pelletier f15dd550e8 Add godoc badge 2014-08-23 15:31:59 +02:00
Thomas Pelletier 5ad4cb7120 Add 1.3 to Travis' build matrix 2014-08-14 10:14:50 +02:00
Thomas Pelletier 65684e6bb0 Fixes #20 : Creation of subgroup in table arrays 2014-08-14 10:12:39 +02:00
Thomas Pelletier 68d2a60b37 Merge branch 'eanderton-master' 2014-08-07 12:53:56 +02:00
Thomas Pelletier bf549a2194 Run gofmt 2014-08-07 12:52:42 +02:00
eanderton aa194b5c41 Revised error message in parser test 2014-08-06 20:30:30 -04:00
eanderton 14e2d94bdd Added missing test entry 2014-08-06 20:28:44 -04:00
eanderton 1f8a8cbc06 Added error context for parsing of subtrees 2014-08-06 08:20:53 -04:00
eanderton 6db660fed5 Revised error formatting, fixed tests 2014-08-06 08:15:05 -04:00
eanderton 7d9a3c25bd Revised error reporting 2014-08-06 07:34:01 -04:00
eanderton dd04a2f3cd Added line/col support to lexer 2014-08-06 07:13:15 -04:00
Thomas Pelletier e493544dfd Merge pull request #18 from simia-tech/master
extended Has function to work with paths
2014-07-10 16:28:49 +02:00
Philipp Brüll e9ae961088 extended Has function to work with paths 2014-07-09 16:34:41 +02:00
Thomas Pelletier c1ad095e9b Update README.md
Update the supported TOML version and the command to run the tests.
2014-07-09 07:40:16 +02:00
Thomas Pelletier 86a7f2508e Merge pull request #17 from eanderton/master
TOML v0.2.0 Group Array Support and ToString Feature
v0.2.0
2014-07-09 07:34:48 +02:00
eanderton 713478a34e Dropped travis support for go v1.0 2014-07-08 22:12:58 -04:00
eanderton 5dd3b53635 Fixed formatting 2014-07-08 22:02:42 -04:00
eanderton 262211488d Fixed path handling and key group array name lexing for test compliance 2014-07-08 22:00:46 -04:00
eanderton abdecb7be7 Refactored testing approach to use 'vendorized' libraries at test time. 2014-07-08 21:26:30 -04:00
eanderton f69e0b0837 merged from pelletier/go-toml 2014-07-08 18:38:07 -04:00
Thomas Pelletier cd055fa448 Remove outdated test dependency 2014-07-08 07:38:28 +02:00
eanderton c9ea292f59 Additional formatting 2014-07-07 21:08:57 -04:00
eanderton 7b208738bc Fixed formatting; added name to license file 2014-07-07 21:06:42 -04:00
eanderton c8b5633273 Group array support; ToString() support 2014-07-07 20:48:29 -04:00
Thomas Pelletier b28c2d0c9e Merge pull request #16 from half-ogre/15-fix-parser-on-windows
Fix parser on Windows
2014-02-21 14:27:47 +01:00
half-ogre 1c0f7f552c \r is not a keychar on Windows 2014-02-20 14:51:43 -08:00
Thomas Pelletier 0773148832 Merge branch 'master' of github.com:pelletier/go-toml 2013-12-10 22:00:49 +01:00
Thomas Pelletier fbf99a1816 Add Go 1.2 to the build matrix 2013-12-10 21:55:30 +01:00
Thomas Pelletier 1cfdab9cee Merge pull request #14 from pelletier/pelletier/go_test_support
Add BurntSushi's test suite
2013-12-10 12:52:51 -08:00
Thomas Pelletier dc20c454d7 Handle dots in keys 2013-12-10 21:51:40 +01:00
Thomas Pelletier 0c4e891f3e Handle non-alpha chars in keys 2013-12-10 19:46:56 +01:00
Thomas Pelletier b1d602f733 Add missing string escape sequences 2013-12-10 19:35:47 +01:00
Thomas Pelletier a4d623ad05 Fix implicit declaration 2013-12-10 19:29:01 +01:00
Thomas Pelletier 4fdde9794a Output JSON for test suite
Reused @BurntSushi's
2013-12-10 19:00:35 +01:00
Thomas Pelletier 3085454477 Don't allow duplicate keys 2013-12-10 17:50:59 +01:00
Thomas Pelletier 01609e0ab7 Add some tests for nested empty arrays 2013-12-10 17:46:30 +01:00
Thomas Pelletier a34fc5f051 Don't allow invalid escape sequences 2013-12-10 17:34:11 +01:00
Thomas Pelletier e8d5dbf787 Don't allow two equals for the same key 2013-12-10 17:28:16 +01:00
Thomas Pelletier 5ffe2e5565 Don't allow float to end with a dot 2013-12-10 17:24:53 +01:00
Thomas Pelletier 278c4d97ec Don't allow floats starting with a dot 2013-12-10 17:17:15 +01:00
Thomas Pelletier c743c90315 Don't allow empty intermediate tables 2013-12-10 16:23:53 +01:00
Thomas Pelletier 8081f3cc09 Don't allow tables to be redefined 2013-12-10 16:10:26 +01:00
Thomas Pelletier 72f17747a0 Prevent mixed types in arrays 2013-12-10 15:45:50 +01:00
Thomas Pelletier 979a055512 Retrieve the exit code from the test suites 2013-12-10 15:28:52 +01:00
Thomas Pelletier def5433558 Add a note on the README 2013-12-10 15:06:32 +01:00
Thomas Pelletier c163b3f68b Add wrapper to find the test binary 2013-12-10 15:02:55 +01:00
Thomas Pelletier bbe45c63f2 Add test script to run both unit and example tests 2013-12-10 14:50:52 +01:00
Thomas Pelletier 40a44dc51f Add BurntSushi's test suite 2013-12-10 14:43:27 +01:00
Thomas Pelletier 2ba6587bf3 Merge pull request #11 from pelletier/fix_comments_multilines_array
Comments in a multiline array cause parse error
2013-12-09 10:08:18 -08:00
Thomas Pelletier 72d57d8477 Fix multiline array comments lexing 2013-12-09 19:05:29 +01:00