Thomas Pelletier
6b9002d8f9
Harden tests for bad arrays
2015-09-09 17:33:28 +01:00
Thomas Pelletier
5753e884d0
Fix floating points with underscores
2015-09-09 17:17:08 +01:00
Thomas Pelletier
d467309bdd
Add comment to justify this madness
2015-09-09 17:04:36 +01:00
Thomas Pelletier
821a80e635
Add removed test
2015-09-09 17:01:05 +01:00
Thomas Pelletier
dd4c4ffc2b
Implement inline tables
2015-09-09 16:56:18 +01:00
Thomas Pelletier
da703daafe
Add go 1.5 to tested versions
2015-08-19 10:24:53 -07:00
Thomas Pelletier
f58048cec0
Merge pull request #39 from pelletier/pelletier/integers_underscores
...
Accept underscores in integers
2015-07-17 16:54:19 -07:00
Thomas Pelletier
440592fa85
Merge pull request #40 from pelletier/pelletier/space-in-keys
...
Accept spaces in keys
2015-07-17 16:53:53 -07:00
Thomas Pelletier
f4f2456dcd
Merge pull request #38 from pelletier/pelletier/multiline
...
Reject full 00 - 1F unicode range
2015-07-17 16:52:59 -07:00
Thomas Pelletier
a77f30ea80
Add coveralls badge to readme
2015-07-16 23:55:56 -07:00
Thomas Pelletier
d61c80733b
Add goveralls
2015-07-16 23:51:41 -07:00
Thomas Pelletier
894e775e38
Accept spaces in keys
2015-07-16 23:04:13 -07:00
Thomas Pelletier
8e75093380
Accept underscores in integers
2015-07-16 22:07:16 -07:00
Thomas Pelletier
cf5ad6a245
Fixes #27 : Reject full 00 - 1F unicode range
2015-07-16 21:54:10 -07:00
Thomas Pelletier
8fc7451ffc
Merge pull request #37 from pelletier/pelletier/better_keys_parsing
...
Update keys parsing
2015-07-16 17:47:46 -07:00
Thomas Pelletier
9defd66d3c
Parse datetimes in UTC
2015-07-15 10:58:08 -07:00
Thomas Pelletier
6adf8057ed
Use the new Travis container infrastructure
...
http://docs.travis-ci.com/user/migrating-from-legacy/#Why-migrate-to-container-based-infrastructure%3F
2015-07-15 09:12:52 -07:00
Thomas Pelletier
36e1197190
Test datetimes differently
2015-07-15 08:17:28 -07:00
Thomas Pelletier
6dd2de38a9
We have been in 2015 for quite a while now
2015-07-14 20:18:44 -07:00
Thomas Pelletier
209315c2af
Fixes #35 : Retrieve dotted keys
2015-07-14 20:15:02 -07:00
Thomas Pelletier
41a8959f14
Reject new lines in keys
2015-07-14 20:07:43 -07:00
Thomas Pelletier
16a681db2a
Allow numbers in keys parsing
2015-07-14 19:56:28 -07:00
Thomas Pelletier
9f36448571
Basic keys parsing
2015-07-14 16:33:33 -07:00
Thomas Pelletier
222e90a7d3
Parse long unicode
2015-05-21 18:52:26 -07:00
Thomas Pelletier
a8327d781a
Specifiy timezone name
2015-04-23 15:42:25 -07:00
Thomas Pelletier
61449e9d32
Test for Go 1.4.1
2015-04-23 15:36:06 -07:00
Thomas Pelletier
48c977fb58
Test for golang 1.4
2015-04-23 15:33:31 -07:00
Thomas Pelletier
42e7853ef6
Merge pull request #34 from pelletier/issue-29
...
Changes to support #29 - Support multi-line literal strings
2015-02-27 14:48:13 +01:00
eanderton
1f3d0e03c3
Changes to support #29 - Support multi-line literal strings
...
* Added error output to test_program.go
* Added multi-line literal string support to lexer
* Added multi-line string supprt to lexer
* Added unit-test for new string support
* Modified test.sh to take an optional parameter to run an individual BurntSushi test suite.
* Fixed formatting
2015-02-26 18:03:30 -05:00
Thomas Pelletier
36d65b681a
Merge branch 'toml-0.3.1'
2014-12-06 15:27:39 +01:00
Thomas Pelletier
a56707c85f
Fixes #28 : Support of literal strings
2014-12-06 15:23:37 +01:00
Thomas Pelletier
4b47f52cb0
Fixes #31 : Use RFC 3339 for datetimes
2014-12-06 15:00:24 +01:00
Thomas Pelletier
2f2f28631b
Fixes #32 : Ensure keys are correctly parsed
2014-12-06 14:16:42 +01:00
Thomas Pelletier
543444f747
Fixes #30 : Implement exp notation in floats
2014-12-06 13:56:27 +01:00
Thomas Pelletier
b814e1a94f
Merge pull request #25 from vektra/master
...
Make it possible to use lib to make new Toml Trees
2014-11-05 19:08:21 +01:00
Evan Phoenix
1fe62f3000
Merge remote-tracking branch 'prim/master'
...
Conflicts:
match_test.go
queryparser.go
2014-11-05 09:52:03 -08:00
Evan Phoenix
709382e9c1
Fix usage on 32bit machines
2014-11-05 09:24:08 -08:00
Evan Phoenix
71e7762db5
Don't wrap native types in a tomlValue{}
2014-11-05 09:23:41 -08:00
Evan Phoenix
34da10d880
Report the type and value that generated the error
2014-11-05 09:23:28 -08:00
Thomas Pelletier
db15f8a481
Merge pull request #24 from pelletier/pelletier/integer_overflow
...
Int overflow in queryparser
2014-11-03 22:09:12 +01:00
Evan Phoenix
8ef71920bd
Expose ability to make an empty tree and handle raw values
2014-10-28 11:49:50 -07:00
Evan Phoenix
fa055bcbba
Fix inserting values into a tree
2014-10-28 11:49:14 -07:00
Thomas Pelletier
7337a63f5a
Use MaxInt instead of MaxInt64 for ints
...
This is causing an integer overflow on 386 go builds, because ints are
int32 and not int64 on this platform.
2014-10-16 05:58:50 -07:00
Thomas Pelletier
21af3aacfe
Merge pull request #23 from pelletier/jsonpath
...
Powerful querying interface
v0.2.1
2014-10-07 22:30:42 +02:00
eanderton
66e7f06e7d
Revised readme per peer-review
2014-10-01 18:38:03 -04:00
eanderton
d9de45b5b5
Revised after review
...
* Dropped 'script' support
* Improved documentation
* Made pathFn members private
2014-09-30 14:57:03 -04:00
eanderton
d9e8f54d1c
gofmt pass
2014-09-12 22:50:39 -04:00
eanderton
7f678451a8
added missing token.go
2014-09-12 22:42:35 -04:00
eanderton
081f3db916
Final Toml-Path Solution
...
* Refactored type names and file names to mesh with existing TOML library more closely
* Added QueryResult structure that provides values and position data
* Added Query() method to TomlTree type
* Tests, tests, and more tests
* Fixed bug where positions returned from some tables were invalid
* Added test case for bug patch
The bugfix was an interesting case. Position information wasn't being
set in cases where createPath was called. So table names like [foo.bar]
would result in table 'foo' having no position.
2014-09-12 22:32:15 -04:00
eanderton
2811a1a3c9
Added QueryResult and patched bugs
...
QueryResult now stores result items and position data, which aligns more
strongly with the rest of the library features than a plain
[]interface[}. The design of the parser_test unittest was revised to
use array/map/scalar serialization (like match_test), since Go 1.3
redesigned maps to randomly order their keys. Since naive comparisons of
map data is now no longer possible, the unittest now sorts map
keys:value combinations.
* Patched a bug where getPosition("") was returning an invalid Position
* Revised parser_test to use serialization for comparisons for Go 1.3
2014-09-09 22:31:41 -04:00