Commit Graph

78 Commits

Author SHA1 Message Date
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
Thomas Pelletier 0f6008f46e Add some tests for the lexer 2013-12-09 19:05:18 +01:00
Thomas Pelletier be268e4049 Include @cmars tests 2013-12-09 17:25:31 +01:00
Thomas Pelletier 53005a205f Handle keys with dash. ref #10 2013-12-09 17:12:07 +01:00
Thomas Pelletier 34d60ec92f Make Travis use multiple Go versions 2013-07-01 22:12:22 +02:00
Thomas Pelletier 1df0722ee1 Mark supported TOML version as v0.1.0 v0.1.0 2013-07-01 21:43:09 +02:00
Thomas Pelletier 34e1e282fa Add test for unicode string 2013-07-01 21:40:08 +02:00
Thomas Pelletier 71141675e5 Fixes #6: implement \uXXXX escaping 2013-07-01 21:38:00 +02:00
Thomas Pelletier f2a1344e12 Add exmaple of direct get in README 2013-06-30 13:31:48 +02:00
Thomas Pelletier 523e11f0d3 Merge pull request #8 from kevinburke/usage
Add usage example to README

Thank you @kevinburke!
2013-06-23 12:01:14 -07:00
Kevin Burke 682034a662 Add usage example to README 2013-06-23 10:54:40 -07:00
Thomas Pelletier 23d36c08ab Add GetDefault to TomlTree 2013-05-01 18:47:27 +02:00
Thomas Pelletier 558a227433 Run gofmt 2013-03-26 12:10:14 +01:00
Thomas Pelletier edc78bc0bf Add test for newlines in arrays 2013-03-26 11:52:42 +01:00
Thomas Pelletier 329092b812 Implement escapable characters in strings 2013-03-26 11:45:36 +01:00