Commit graph

202 commits

Author SHA1 Message Date
Alex Crichton ff8924a971 Update Cargo.toml syntax 2015-02-02 22:55:50 -08:00
Alex Crichton b3e9653b7f Properly escape keys when printing TOML
Closes #53
2015-02-02 22:54:46 -08:00
Alex Crichton 68e6c34b90 Move show.rs to display.rs 2015-02-02 22:30:06 -08:00
Alex Crichton c6b2aea11e Fix a deprecation warning 2015-02-02 22:29:51 -08:00
Alex Crichton 0a6a1cabde Add some feature gates 2015-01-29 08:42:02 -08:00
Alex Crichton 482752b5f4 Migrate to as many stable functions as possible 2015-01-27 19:29:58 -08:00
Alex Crichton 909a85069b Bump to 0.1.15 2015-01-23 08:19:29 -08:00
Alex Crichton 0c71c5d1c1 Bump to 0.1.14 2015-01-20 10:01:00 -08:00
Alex Crichton 31d99cd425 Remove slash as an escapeable character 2015-01-20 10:00:43 -08:00
Alex Crichton b2ce7ff6d1 Bump to 0.1.13 2015-01-19 13:16:59 -08:00
Alex Crichton 885db13d09 Don't infinite loop on bad keys 2015-01-19 13:16:42 -08:00
Alex Crichton 34aaa5f384 Bump to 0.1.12 2015-01-15 19:48:13 -08:00
Alex Crichton 3536cb50e6 Update key syntax to TOML master
* Bare keys contain a very limited set of characters now.
* Keys in quotes behave the same as basic strings.

Closes #47
2015-01-15 19:47:56 -08:00
Alex Crichton 46a70861d5 Add some tests from the spec 2015-01-15 17:37:13 -08:00
Alex Crichton 0285af245a Implement new rules for bare key names
* Key names are restricted to [a-zA-Z0-9_-]
* Equal signs must be on the same line (as must the next value) as the key
* Quoted keys are allowed and are parsed as basic strings.

Closes #48
2015-01-15 17:34:27 -08:00
Alex Crichton bc825a5fb5 Expand float parsing to include exponents
Closes #50
2015-01-15 16:01:27 -08:00
Alex Crichton f098d70145 Disallow leading 0s in integers/floats 2015-01-15 15:37:48 -08:00
Alex Crichton f4b2045de0 Audit string parsing, fixing a few bugs here and there
Closes #51
2015-01-15 15:23:37 -08:00
Alex Crichton 5f2c7b4986 Tighten up CRLF parsing
Fix lots of false positives with stray \r characters and also fix CRFL parsing
in raw string literals with escapes.

Closes #49
2015-01-15 15:10:42 -08:00
Alex Crichton 9dd46d6fbf Fix parsing leading + on numbers 2015-01-15 14:27:55 -08:00
Alex Crichton 931114a13c Add a few more tests from the toml-lang repo 2015-01-15 12:56:35 -08:00
Alex Crichton 0d8ce979a4 Move tests to integration tests 2015-01-15 12:44:05 -08:00
Alex Crichton aef183823c Tweak travis config 2015-01-11 21:33:04 -08:00
Alex Crichton d4319caa20 Bump to 0.1.11 2015-01-09 11:50:54 -08:00
Alex Crichton 98212466af Merge pull request #46 from vhbit/up-master
Update to master
2015-01-09 13:48:02 -06:00
Valerii Hiora 7a19808670 Updated serialization traits 2015-01-09 17:24:42 +02:00
Valerii Hiora 1dfb94afba Update to master
- features
- macro reform
- String/Show split in formatter
- staging
2015-01-08 19:50:03 +02:00
Alex Crichton 35bd36cefd Bump to 0.1.10 2015-01-07 08:49:12 -08:00
Alex Crichton 9ad45aaab4 Bump to 0.1.9 2015-01-06 07:34:31 -08:00
Alex Crichton 6195861f53 Remove old_orphan_check 2015-01-06 07:34:16 -08:00
Alex Crichton f7a08cf1cc Merge pull request #45 from vhbit/serialization-fallout
Fallout of serialize traits changes
2015-01-06 09:34:37 -06:00
Valerii Hiora aeb765b723 Fallout of serialize traits changes 2015-01-06 15:39:06 +02:00
Alex Crichton 5604270dc7 Bump version number 2015-01-03 12:41:02 -08:00
Alex Crichton a5863e764d Merge pull request #43 from vhbit/upd-deps
Updated serialize dependency
2015-01-03 14:29:16 -06:00
Valerii Hiora 887e5ff844 Update to master
- updated `rustc-serialize` dependency, in other case `toml-rs`
  prohibits `rustc-serialize` update on other crates
- updated after syntax and lib changes
2015-01-03 18:01:19 +02:00
Alex Crichton 2557fc9ab9 Update to rust master 2015-01-01 08:48:47 -08:00
Alex Crichton 31ee496621 Update to rust master 2014-12-23 08:01:45 -08:00
Alex Crichton f16498b8db Update to rust master 2014-12-22 08:17:46 -08:00
Alex Crichton 95c6161dce Update to rust master 2014-12-20 22:35:30 -08:00
Alex Crichton 1346affca9 Remove weird 'invalid toml array of tables' printing
Closes #42
2014-12-20 22:33:40 -08:00
Alex Crichton f2f8d3fe6e Bump version number 2014-12-19 08:17:52 -08:00
Alex Crichton 7e11e364f3 Merge pull request #38 from vberger/master
Update to last rust (wip).
2014-12-19 10:18:17 -06:00
Victor Berger 88b09c57e7 Add all now needed ';' after macro invocations. 2014-12-18 22:48:34 +01:00
Victor Berger 5882522112 Update to last rust. 2014-12-18 10:31:20 +01:00
Alex Crichton 944b94c21a Handle deserializing empty or missing arrays 2014-12-12 13:30:40 -08:00
Alex Crichton 4dce070c70 Update to rust master 2014-12-12 13:19:22 -08:00
Alex Crichton f9408377c9 Fix parsing nested tables in arrays
Closes #36
2014-12-11 22:30:32 -08:00
Alex Crichton 25e10a8256 Bump version number
Closes #35
2014-12-07 18:19:46 -08:00
Alex Crichton 6e4e8251b1 Update to rust master
Closes #34
2014-12-06 14:51:51 -08:00
Alex Crichton b6e487e05b Update to rust master 2014-12-06 14:48:32 -08:00