aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-08-14Fix the arithmetic overflow in Parser::to_linecolAlex Gulyás-1/+1
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-13Touch up some style in the decoderAlex Crichton-6/+12
2015-08-13Rewrite the MapVisitor to add errors for a specific fieldErick Tryzelaar-5/+24
2015-08-13Override the numeric hints to not deserialize ints into floats, and vice versaErick Tryzelaar-8/+81
2015-08-13Add a Deserialize::visit_enum that tries to deserialize into each variantErick Tryzelaar-0/+88
This could be more efficiently done if serde communicated the number of arguments in each variant in this function.
2015-08-13Implement Serialize::visit_newtype_{struct,variant}Erick Tryzelaar-0/+18
These functions allow a serializer to not wrap a newtyped value inside of a tuple or struct.
2015-08-12Get serde feature compiling againErick Tryzelaar-9/+9
2015-08-12Merge remote-tracking branch 'remotes/origin/master' into serdeErick Tryzelaar-118/+256
2015-08-11Don't need to qualify StringAlex Crichton-2/+1
2015-08-06it helps to actually build with serde enabledBen Navetta-1/+3
2015-08-06implement serde::Deserialize for ValueBen Navetta-0/+41
2015-06-23Improve the error message in failing enumsAlex Crichton-9/+66
2015-06-08Name the fields of the custom table ASTAlex Crichton-23/+32
2015-06-07Add a few more tests for redefining tablesAlex Crichton-4/+19
2015-06-07Clean up more styleAlex Crichton-51/+33
2015-06-07Use deref coercionsAlex Crichton-2/+3
2015-06-07Re-structure control flow a bit + modernizationAlex Crichton-52/+35
2015-06-06Rework fix for table redefinition to avoid breaking AST-compatiblityAndrzej Janik-64/+123
2015-06-04Disallow table redefinitionsAndrzej Janik-39/+72
2015-04-21Fix serde-only compilationAlex Crichton-1/+1
2015-04-21Tweak some styleAlex Crichton-37/+46
2015-04-20most tests work nowOliver Schneider-34/+143
2015-04-20updated to masterOliver Schneider-1/+17
2015-04-02wipAlex Crichton-0/+239
2015-04-02Modularize rustc-serialize supportAlex Crichton-1339/+1425
* Add rustc-serialize as a default feature * Make room for for serde support
2015-04-01Bump to 0.1.20Alex Crichton-3/+1
2015-03-25Bump to 0.1.19Alex Crichton-4/+3
2015-03-20Implement Encodable for ValueAlex Crichton-2/+51
We can't generically decode into one, but we can generically encode one! Closes #58
2015-03-15Improve test coverageAlex Crichton-2/+74
2015-03-09Reduce usage of unstable featuresAlex Crichton-22/+26
2015-03-03Don't upload extra docs on travisAlex Crichton-0/+1
2015-03-03Add a doc root urlSteven Fackler-1/+1
2015-02-23Move away from deprecated syntaxAlex Crichton-2/+2
2015-02-11Add support for numbers with underscoresAlex Crichton-20/+87
2015-02-07Implement parsing of inline tablesAlex Crichton-2/+46
2015-02-03Bump to 0.1.16Alex Crichton-7/+9
2015-02-02Properly escape keys when printing TOMLAlex Crichton-23/+54
Closes #53
2015-02-02Move show.rs to display.rsAlex Crichton-1/+1
2015-02-02Fix a deprecation warningAlex Crichton-2/+2
2015-01-29Add some feature gatesAlex Crichton-1/+1
2015-01-27Migrate to as many stable functions as possibleAlex Crichton-43/+48
2015-01-23Bump to 0.1.15Alex Crichton-61/+54
2015-01-20Remove slash as an escapeable characterAlex Crichton-1/+0
2015-01-19Don't infinite loop on bad keysAlex Crichton-1/+6
2015-01-15Update key syntax to TOML masterAlex Crichton-90/+110
* Bare keys contain a very limited set of characters now. * Keys in quotes behave the same as basic strings. Closes #47
2015-01-15Add some tests from the specAlex Crichton-0/+4
2015-01-15Implement new rules for bare key namesAlex Crichton-40/+86
* 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-15Expand float parsing to include exponentsAlex Crichton-31/+88
Closes #50
2015-01-15Disallow leading 0s in integers/floatsAlex Crichton-1/+26
2015-01-15Audit string parsing, fixing a few bugs here and thereAlex Crichton-17/+36
Closes #51