Commit graph

89 commits

Author SHA1 Message Date
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 0d8ce979a4 Move tests to integration tests 2015-01-15 12:44:05 -08:00
Alex Crichton d4319caa20 Bump to 0.1.11 2015-01-09 11:50:54 -08: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 6195861f53 Remove old_orphan_check 2015-01-06 07:34:16 -08:00
Valerii Hiora aeb765b723 Fallout of serialize traits changes 2015-01-06 15:39:06 +02: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
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 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
Alex Crichton 1297910d25 Update to rust master 2014-12-02 23:57:17 -08:00
Markus Kobler c7872d82fc Fixing test json::List -> json::Array 2014-11-22 13:28:41 +00:00
Markus Kobler d0519edd21 Fixing build errors with latest rust 2014-11-22 13:20:55 +00:00
Victor Berger bfcfa89e95 Update to namespaced enum variants. 2014-11-18 09:19:13 +01:00
Valerii Hiora 6ae6fdfb97 FromStr fixes 2014-11-17 10:48:33 +02:00
Alex Crichton 796a127adf Fix a deprecation in the documentation 2014-11-08 09:59:00 -08:00
Alex Crichton ac6f3b27e0 Update to rust master 2014-11-06 22:11:52 -08:00
Steve Klabnik 3dd74d6dbd fix error on master 2014-11-06 08:03:38 -05:00
Alex Crichton 78acb5081d Implement the libstd error trait for errors 2014-11-04 11:56:11 -08:00
Mike Dilger ada3e6474d Update to rust master 2014-11-03 08:39:17 +13:00
Alex Crichton 71d1689d63 Update to rust master 2014-10-31 08:27:24 -07:00
Adolfo Ochagavía 9f668fd541 Fix \r\n on multiline strings and add comments 2014-10-30 21:49:47 +01:00
Steve Klabnik 334b30bb3d fail -> panic 2014-10-29 21:45:18 -04:00
Louis Morgan 46f3872415 Fix deprecation warnings: push_char => push 2014-10-11 18:04:44 +01:00
Cristian Cobzarenco 1f79d9e7d3 Export DecodeErrorKind c-tors publicly. 2014-10-03 14:38:57 +01:00
Alex Crichton 8cdb2747de Allow warnings for now 2014-09-23 06:39:48 -07:00
Björn Steinbrink a56c686cc4 Remove allow(visible_private_types)
It's not needed and no longer supported by rustc anyway.
2014-09-23 11:38:12 +02:00
Alex Crichton 22ad6e7ea9 Update to rust master
Closes #19
2014-09-21 07:55:19 -07:00
Alex Crichton 1ca52c5ea4 Merge pull request #17 from jroesch/into-iter
Update uses of move_iter() to into_iter()
2014-09-18 09:50:04 -04:00
Jared Roesch ef4e8f58ac Update show to print an error instead of failing 2014-09-17 22:01:17 -07:00
Jared Roesch d2208b1d2b Update uses of move_iter() to into_iter() 2014-09-17 21:51:25 -07:00
Valerii Hiora 25703d5f79 Updated to _mut conventions 2014-09-17 10:00:15 +03:00
Brian Koropoff a9297d3cac Fix build break due to generalized type parameter bounds 2014-08-28 21:38:53 -07:00
Julian Orth 3ad7e6055c add crate_name 2014-08-24 11:26:33 +02:00