Commit graph

449 commits

Author SHA1 Message Date
Alex Crichton cf718f7b0e Update deps 2016-03-11 09:27:24 -08:00
Alex Crichton cf4656cb3a Bump to 0.1.28 2016-03-11 09:23:01 -08:00
Alex Crichton 511c235d7d Fix last tests 2016-03-11 09:20:32 -08:00
Alex Crichton 3345fea319 Fix an error message test, simlify some serde code 2016-03-11 01:32:16 -08:00
Alex Crichton d02e622330 WIP 2016-03-07 23:48:01 -08:00
Alex Crichton 77be56048c Bump to 0.1.27 2016-02-01 16:50:25 -08:00
Alex Crichton 67ddadf504 Update toml dep in serde-tests 2016-01-25 16:57:56 -08:00
Alex Crichton b644d9577f Bump to 0.1.26 2016-01-25 16:53:20 -08:00
Alex Crichton 0fd42c9e17 Move travis from 1.0.0 -> stable 2016-01-25 13:04:04 -08:00
Alex Crichton 6b0a1362a1 Support literal strings in table names
Closes #85
2016-01-24 10:50:39 -08:00
Alex Crichton 5431cade31 Merge pull request #84 from frewsxcv/clippy
Address issues found by rust-clippy
2016-01-21 08:43:02 -08:00
Corey Farwell 7be39d725d Address issues found by rust-clippy 2016-01-21 08:38:09 -05:00
Alex Crichton 6fe6a15fe5 Merge pull request #82 from shepmaster/patch-1
Minor documentation grammar fix
2016-01-11 11:05:56 -08:00
Alex Crichton af2c45147d Update rand dependency 2016-01-09 10:25:23 -08:00
Jake Goulding 67107034fc Minor documentation grammar fix 2016-01-01 17:57:01 -05:00
Alex Crichton 67138b6c8e Update deps of serde-tests 2015-12-18 16:37:04 -08:00
Alex Crichton 12f39767a8 Bump to 0.1.25 2015-12-18 16:29:29 -08:00
Alex Crichton 39d77b6d79 When decoding maps, leave fields that weren't processed
Fixes an XXX
2015-12-18 16:29:07 -08:00
Alex Crichton 4987b47a92 Update serde-tests lockfile 2015-12-15 10:10:31 -08:00
Alex Crichton 0c4c78d68c Update travis syntax 2015-12-15 10:02:35 -08:00
Alex Crichton 92b2ff1056 Merge pull request #79 from silvo38/master
Remove floats from the Decoder.toml field when they get parsed
2015-12-15 10:01:15 -08:00
Cameron Silvestrini caa4615536 Fixed bug: floats always end up in Decoder.toml, even when they have
been successfully decoded.
2015-12-15 22:43:24 +11:00
Alex Crichton bfbeea6b44 Bump to 0.1.24 2015-12-10 06:07:56 -08:00
Alex Crichton 1723654a08 Don't run serde tests on 1.0.0 2015-11-29 15:01:34 -08:00
Alex Crichton 6188b884fd Update dependencies 2015-11-29 14:52:35 -08:00
Alex Crichton df23a34b8b Update toml in serde Cargo.lock 2015-10-07 10:23:13 -07:00
Alex Crichton b5af93a08e Bump to 0.1.23 2015-10-07 09:50:59 -07:00
Alex Crichton 67adf87dd4 Merge pull request #75 from andersforsgren/allow-toml-BOM
Allow BOM (Byte order mark) in toml
2015-10-07 09:50:44 -07:00
osboxes.org dea8646b8b Allow BOM (Byte order mark) in toml 2015-10-07 11:35:49 +02:00
Alex Crichton 96c6cd94ec Merge pull request #74 from GuillaumeGomez/master
Add Clone derive on ParserError
2015-09-29 17:31:39 -07:00
Guillaume Gomez db75e532e5 Add Clone derive on ParserError 2015-09-30 00:00:17 +02:00
Alex Crichton 283abf4a94 Merge pull request #73 from kerhong/travisci-stable
Add stable Rust build to Travis-CI config
2015-09-25 10:42:37 -07:00
Alex Crichton 24b022b485 Merge pull request #72 from kerhong/master
Implement Value::lookup for empty path to return self
2015-09-25 10:42:24 -07:00
Kerhong c17bb0fdac Add stable Rust build to Travis-CI config 2015-09-25 19:47:18 +03:00
Kerhong 547e202c15 Implement Value::lookup for empty path to return self 2015-09-25 19:26:47 +03:00
Alex Crichton bb12015a8a Protect against syntex upgrades
Check in a lock file for the serde-tests portion of the tests
2015-09-23 10:09:49 -07:00
Alex Crichton 181fc3849a Bump syntex dep for tests 2015-08-31 13:45:01 -07:00
Alex Crichton 64e64f0da7 Merge pull request #70 from mseri/patch-1
Fixed typo
2015-08-29 09:59:42 -07:00
mseri dc0aa5f6c4 Fixed typo 2015-08-29 12:47:21 +01:00
Alex Gulyás 64ae43a386 Fix the arithmetic overflow in Parser::to_linecol
This also changes the calculated line and column numbers. Without this
patch, if an error occurs at the end of a line, the returned line and
column numbers will point at the start of the next line.

After this patch, the line and column numbers will correctly point at
the end of the line where the actual parse error happened.
2015-08-14 14:54:32 +02:00
Alex Gulyás 0f0746396a Add a very simple test for Parser::to_linecol.
This test shows that in some cases converting error offsets generated by
the parser to line and column numbers will panic ('arithmetic operation
overflowed') in debug mode, and return an incorrect column number in
release mode.
2015-08-14 14:39:59 +02:00
Alex Crichton 13513f95b6 Bump to 0.1.22 2015-08-13 09:56:51 -07:00
Alex Crichton 7ec4821bd7 Touch up some style in the decoder 2015-08-13 09:47:40 -07:00
Alex Crichton f011b01051 Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
Erick Tryzelaar 85cd6f3e6e Rewrite the MapVisitor to add errors for a specific field 2015-08-13 08:25:56 -07:00
Erick Tryzelaar 8c33064c2c Override the numeric hints to not deserialize ints into floats, and vice versa 2015-08-13 08:25:56 -07:00
Erick Tryzelaar e5efc8801d Add a Deserialize::visit_enum that tries to deserialize into each variant
This could be more efficiently done if serde communicated the
number of arguments in each variant in this function.
2015-08-13 08:25:56 -07:00
Erick Tryzelaar b7b31bf9da Implement Serialize::visit_newtype_{struct,variant}
These functions allow a serializer to not wrap a newtyped value
inside of a tuple or struct.
2015-08-13 07:42:06 -07:00
Erick Tryzelaar bbc167cde9 Get serde feature compiling again 2015-08-12 23:01:49 -07:00
Erick Tryzelaar 4e0172a9a5 Merge remote-tracking branch 'remotes/origin/master' into serde 2015-08-12 22:15:58 -07:00