Commit Graph

  • 7dbf7554c4 Nested arrays Thomas Pelletier 2021-02-09 19:22:54 -05:00
  • 2790964270 Bool value Thomas Pelletier 2021-02-08 20:44:23 -05:00
  • 3488a91eff Array values Thomas Pelletier 2021-02-08 20:38:53 -05:00
  • 0e8fd64203 Move tests out of the package Thomas Pelletier 2021-02-08 09:18:42 -05:00
  • 70d41bd750 Add more tests for unmarshal array tables Thomas Pelletier 2021-02-08 09:16:26 -05:00
  • a197513ce7 Simple table array Thomas Pelletier 2021-02-08 09:08:42 -05:00
  • bd8df24646 Parse tables Thomas Pelletier 2021-02-07 18:30:33 -05:00
  • 89052d60b4 Very beginning of unmarshaler + builder interface Thomas Pelletier 2021-02-06 23:20:26 -05:00
  • 9fa2fd413d Implement inline tables Thomas Pelletier 2021-02-06 09:33:20 -05:00
  • b1e11f82a9 Implement array values Thomas Pelletier 2021-02-06 09:27:24 -05:00
  • 165f65408d Implement tables Thomas Pelletier 2021-02-06 09:09:41 -05:00
  • 540c2a7b59 Fix parsing bugs + boolean impl Thomas Pelletier 2021-02-06 08:54:40 -05:00
  • a2e5256180 CI should also run on master Thomas Pelletier 2021-02-06 08:03:04 -05:00
  • a466f0ca79 Multiline literal strings Thomas Pelletier 2021-02-06 08:01:38 -05:00
  • 736a75748b Multiline basic string parsing Thomas Pelletier 2021-02-05 17:46:40 -05:00
  • ca12c0670d wip parsing Thomas Pelletier 2021-02-05 14:47:24 -05:00
  • 5163266f16 Create codeql-analysis.yml (#473) Thomas Pelletier 2021-02-05 08:33:55 -05:00
  • 0ee0fe7f7c Trying the scanner approach Thomas Pelletier 2021-02-04 10:14:11 -05:00
  • b4f0a950bf Value string representation public function (#469) Vincent Serpoul 2021-02-03 21:48:53 +08:00
  • b123c357c5 Add tokens to Document Thomas Pelletier 2021-02-02 20:54:20 -05:00
  • ef48fb2be1 Expose MarshalOrder (#470) Thomas Pelletier 2021-02-02 12:12:10 -05:00
  • 94ad175728 wip Thomas Pelletier 2021-02-02 10:55:23 -05:00
  • 1e8b0dc3c9 Rename to lexer and split in files Thomas Pelletier 2021-02-02 08:28:30 -05:00
  • 7300b6a97b Array tables Thomas Pelletier 2021-02-02 08:19:04 -05:00
  • aae4656c64 Standard Table Thomas Pelletier 2021-02-01 22:03:53 -05:00
  • 44f7a7aead Inline tables Thomas Pelletier 2021-02-01 21:41:34 -05:00
  • bac65cc530 Array implementation Thomas Pelletier 2021-02-01 21:25:20 -05:00
  • 91d7afbc0a Parse rvalue string Thomas Pelletier 2021-02-01 20:54:04 -05:00
  • 7b4d82a939 Remove error handling for rune Thomas Pelletier 2021-02-01 20:25:31 -05:00
  • 2ab0f8c733 Default to use bytes instead of runes Thomas Pelletier 2021-02-01 20:20:24 -05:00
  • b96c535061 Check for allocs Thomas Pelletier 2021-02-01 19:25:07 -05:00
  • fd961100c1 Boolean values Thomas Pelletier 2021-02-01 19:19:40 -05:00
  • 1c7e9fe3af Dotted keys Thomas Pelletier 2021-02-01 19:07:51 -05:00
  • 07aa85ea0b Refactor to use parser state Thomas Pelletier 2021-02-01 09:00:36 -05:00
  • d54ad15d16 Track ABNF file Thomas Pelletier 2021-02-01 09:00:21 -05:00
  • abe1005d7a wip: string parsing Thomas Pelletier 2021-01-30 20:31:14 -05:00
  • b4bb91fc13 test Thomas Pelletier 2021-01-30 09:07:55 -05:00
  • c9a09d8695 Provide Tree and treeValue public aliases (#467) Vincent Serpoul 2021-01-29 21:31:09 +08:00
  • 3430b0f086 Update docs to reference pkg.go.dev (#465) y-yagi 2021-01-25 22:31:50 +09:00
  • a713a3eccc Improved default tag for durations (#464) Richard Patel 2021-01-21 22:47:51 +01:00
  • 652b9f8232 Cleanup (#462) Thomas Pelletier 2021-01-06 20:48:20 -05:00
  • ba1b12be14 Fix ToMap for tables in nested mixed-type arrays (#461) Thomas Pelletier 2021-01-06 20:34:25 -05:00
  • 2e01f733df [README] There are 3 cli tools, not 2. (#454) Stanisław Barzowski 2020-11-24 19:14:26 +01:00
  • 1bd9461acb Fix ToMap for tables in mixed-type arrays (#453) Micah Stetson 2020-11-14 18:15:35 -08:00
  • 5b4e7e5dcc Remove underscore regexps (#448) Thomas Pelletier 2020-10-11 19:27:08 -04:00
  • b4905040a8 TOML 1.0.0-rc.3 (#449) Thomas Pelletier 2020-10-11 16:12:23 -04:00
  • 5c66c78bc5 Remove date regexp (#447) Thomas Pelletier 2020-10-11 15:31:33 -04:00
  • f9ba08244d Do not allow T-prefix on local dates (#446) Allen 2020-10-09 22:55:11 +08:00
  • e6908614ee toml.Unmarshaler supports leaf nodes (#444) Thomas Pelletier 2020-09-13 18:46:13 -04:00
  • a7448fe8de Fix date lexer to only support 4-digit year (#443) Cameron Moore 2020-09-12 17:04:04 -05:00
  • 65ca806488 Fix Unmarshaler call when value is missing (#439) v1.8.1 Thomas Pelletier 2020-09-12 14:42:04 -04:00
  • 5c94d86029 Use strings.Builder in lexer (#438) Cameron Moore 2020-09-12 11:01:32 -05:00
  • b76eb62117 Marshal into empty interface{} (#433) Thomas Pelletier 2020-09-11 10:04:46 -04:00
  • 196ce3a1f6 Support go 1.15 (#434) Thomas Pelletier 2020-09-10 21:39:16 -04:00
  • 9f8f82dfe8 Fix index exception when setting empty Tree slice (#425) Stephen Levine 2020-09-10 21:19:18 -04:00
  • 661484ae7e Add *Tree.SetPositionPath (#426) Stephen Levine 2020-07-31 23:44:50 -04:00
  • 34de94e6a8 fix issue #421 AllenX2018 2020-07-08 19:02:44 +08:00
  • 88263a05cc move benchmark to a seperate diectory (#420) Allen 2020-06-16 05:55:19 +08:00
  • 1dbe20e76c Fix TreeFromMap on list of interfaces (#416) jixiuf 2020-06-14 00:27:57 +08:00
  • 05bf3807d3 fix issue#414 AllenX2018 2020-06-11 12:08:04 +08:00
  • 06838de5d2 Merge branch 'RiyaJohn-better_lists' Thomas Pelletier 2020-06-01 10:18:10 -04:00
  • db62263e3e Added exta tests for GetArrayPath Thomas Pelletier 2020-06-01 10:16:36 -04:00
  • 2d866e3fae fix: rm int, int32, float32 RiyaJohn 2020-05-21 22:50:23 +05:30
  • 100799f7b7 add testcase for bool RiyaJohn 2020-05-18 16:13:17 +05:30
  • ecd155a62f Merge remote-tracking branch 'upstream/master' into better_lists RiyaJohn 2020-05-18 15:54:12 +05:30
  • bcacc71a18 feat: add GetArray() with testcases RiyaJohn 2020-05-18 15:26:15 +05:30
  • 16c9a8bdc0 Mention support to v1.0.0-rc.1 v1.8.0 Thomas Pelletier 2020-05-17 17:56:44 -04:00
  • f99d6bbca1 Fix query test x-hgg-x 2020-05-17 14:42:51 +02:00
  • 8784f9c73a Fix typos Jim Tittsler 2020-05-17 21:41:16 +09:00
  • a60e466129 Fix index and slice expressions for query (#405) x-hgg-x 2020-05-14 08:21:51 +02:00
  • 44aed552fd Bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 (#408) dependabot-preview[bot] 2020-05-14 06:20:36 +00:00
  • 1479e10663 fix issue #406 AllenX2018 2020-05-08 18:43:08 +08:00
  • 9ba7363552 Allow spaces when using dotted keys in assignment (#402) x-hgg-x 2020-05-07 14:11:29 +02:00
  • 96ff402934 Fix marshaling nested arrays of tables (#395) x-hgg-x 2020-05-07 14:09:23 +02:00
  • 249d0eaf46 Restore test for accidental whitespaces (#403) x-hgg-x 2020-05-07 05:15:34 +02:00
  • 19eb8cf036 Fix various quoted keys bugs (#400) x-hgg-x 2020-05-07 05:13:18 +02:00
  • c5fbd3eba6 Add support of mixed-type array (#376) Allen 2020-05-07 11:07:57 +08:00
  • 9ccd9bbc7a Fix unmarshaler error when a custom marshaler function is defined (#383) x-hgg-x 2020-05-04 21:05:45 +02:00
  • e7d1a179ae Support custom unmarshaler (#394) x-hgg-x 2020-05-04 19:33:55 +02:00
  • 71a8bd4c61 Prevent automatic conversion between int and float when unmarshaling (#390) x-hgg-x 2020-05-04 19:30:08 +02:00
  • 34782191ba Add more supported default values types for unmarshaling (#392) x-hgg-x 2020-05-04 19:26:07 +02:00
  • 7fbde32684 Fix overflow checking when unmarshaling (#388) x-hgg-x 2020-05-04 19:22:43 +02:00
  • 82a6a1977d Add indentation setting for Encoder (#386) x-hgg-x 2020-05-04 19:21:22 +02:00
  • cc3100c329 Fix unmarshaling arrays (#385) x-hgg-x 2020-05-04 19:19:19 +02:00
  • f1ba6388fb Fix inline table loading errors (#381) x-hgg-x 2020-05-04 19:13:55 +02:00
  • d05497900e Forbid adding keys to exist inline table (#378) Allen 2020-05-05 01:06:37 +08:00
  • e29a498ed5 unmarshal: support encoding.TextUnmarshaler (#375) Oncilla 2020-05-04 18:49:37 +02:00
  • 2b8e33f503 marshal: support encoding.TextMarshaler (#374) Oncilla 2020-04-28 13:29:00 +02:00
  • d3c92c5999 unmarshal: add strict mode (#372) Oncilla 2020-04-25 13:58:55 +02:00
  • 71c324cf7b add getArray logic RiyaJohn 2020-04-27 12:06:33 +05:30
  • 4c840f1b8b Merge remote-tracking branch 'upstream/master' RiyaJohn 2020-04-27 12:02:06 +05:30
  • d1e0fc37ce marshal: do not encode embedded structs as sub-table (#368) Oncilla 2020-04-25 17:25:56 +02:00
  • 947ab3f90a add test for trailing comma in inline table (#366) Allen 2020-04-25 09:43:46 +08:00
  • e9e8265313 Add support for tab in basic string value and quoted key (#364) Allen 2020-04-25 09:41:25 +08:00
  • a30fd2239c Escape adjacent quotation marks marshaling in multiline string (#365) Allen 2020-04-25 09:38:04 +08:00
  • 323fe5d063 fix #356 Unmarshal support []string ,[]int ... (#361) jixiuf 2020-04-22 10:48:12 +08:00
  • 24d4446802 Add float to test case to check leading zeroes in exponent parts (#363) Riya John 2020-04-22 08:15:49 +05:30
  • 5060c72d94 add testcase for query pkg RiyaJohn 2020-04-17 16:09:08 +05:30
  • 0a459e938d add float to test case to check leading zeroes in exponent parts RiyaJohn 2020-04-16 14:15:33 +05:30
  • e872682c78 Fix unmarshal error with tab in multi-line basic string (#355) Allen 2020-04-15 20:46:56 +08:00