Commit graph

627 commits

Author SHA1 Message Date
Alex Crichton 8a3ba4c65c Merge pull request #23 from ljrmorgan/master
Fix deprecation warnings: push_char => push
2014-10-11 12:07:02 -05:00
Louis Morgan 46f3872415 Fix deprecation warnings: push_char => push 2014-10-11 18:04:44 +01:00
Alex Crichton 05c1eb420f Update travis config 2014-10-05 10:30:46 -07:00
Alex Crichton eda771d5f4 Merge pull request #22 from cristicbz/public_decode_err
Export DecodeErrorKind c-tors publicly for #21.
2014-10-03 09:57:39 -04: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
Alex Crichton 45e2ecce75 Merge pull request #20 from dotdash/vis_priv
Remove allow(visible_private_types)
2014-09-23 09:40:01 -04: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 a0d11bf7d6 Upload docs to Rust CI as well 2014-09-22 21:43:30 -07: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
Alex Crichton 5806d17e78 Merge pull request #18 from jroesch/failing-show
Update show to print an error instead of failing
2014-09-18 09:49:47 -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
Alex Crichton 5f5bd93203 Merge pull request #16 from vhbit/mut-conventions
Updated to _mut conventions
2014-09-17 09:33:34 -04:00
Valerii Hiora 25703d5f79 Updated to _mut conventions 2014-09-17 10:00:15 +03:00
Alex Crichton c9a6415e15 Tweak travis config 2014-09-16 07:15:24 -07:00
Alex Crichton d40724ad2d Add a dual MIT/Apache license 2014-09-03 11:20:27 -07:00
Alex Crichton e3ce351734 Merge pull request #15 from bkoropoff/fix-lifetimes
Fix build break due to generalized type parameter bounds
2014-08-29 00:40:40 -04:00
Brian Koropoff a9297d3cac Fix build break due to generalized type parameter bounds 2014-08-28 21:38:53 -07:00
Alex Crichton 8c128cb550 Merge pull request #13 from mahkoh/name
add crate_name
2014-08-24 16:29:05 -04:00
Julian Orth 3ad7e6055c add crate_name 2014-08-24 11:26:33 +02:00
Alex Crichton e7c7bba846 Merge pull request #12 from bkoropoff/build-fix
Fix build break due to import shadowing
2014-08-17 17:23:36 -07:00
Brian Koropoff 04827b4d07 Rename parser::Error to parser::ParseError
This avoids a conflict with serialization::Error and
actually re-exports it from the crate root as intended.
It also fixes a build break due to the new import
shadowing gate in rustc.
2014-08-17 16:46:08 -07:00
Alex Crichton a4f07b40f5 Cargo now runs doc tests 2014-08-07 09:09:55 -07:00
Alex Crichton 934e093047 Put documentation on github 2014-08-03 21:36:44 -07:00
Alex Crichton b5e110caf4 Remove Makefile 2014-08-03 17:15:33 -07:00
Alex Crichton 7e1c1e127d Merge pull request #10 from apoelstra/apperror
Add required `error` method to `Decoder`
2014-08-01 10:26:49 -07:00
Andrew Poelstra e5763bc6b2 Add required error method to Decoder
Since rustc pull #16130 there has been a new method in the `Decoder`
trait for signalling application-specific decode errors.
2014-08-01 10:17:21 -07:00
Alex Crichton a3c7f2c38e Don't escape / when printing.
It's not necessary and it's a little ugly to look at
2014-07-18 14:28:06 -07:00
Alex Crichton 76cf3d1d3e Merge pull request #8 from huonw/fixit
Disambiguate "" empty strings from multiline strings properly.
2014-07-18 09:55:32 -04:00
Huon Wilson e756f56b62 Disambiguate "" empty strings from multiline strings properly.
Previously `""` would go into multiline mode and thus *require* a
following ".
2014-07-18 20:20:45 +10:00
Alex Crichton 05f8c0bc41 Merge pull request #6 from michaelsproul/vec-get
Remove use of deprecated vector get method.
2014-07-17 09:39:33 -04:00
Michael Sproul 9b9a43a034 Remove use of deprecated vector get method. 2014-07-17 20:54:34 +10:00
Alex Crichton 3a7ec7f4c4 Update an error message with \U support 2014-07-15 19:13:42 -07:00
Alex Crichton c4d9e5c0b4 Fix doc tests 2014-07-15 19:05:22 -07:00
Alex Crichton 98a5e0e244 Implement multiline string literals
While I'm at it, implement literal strings as well.

Closes #5
2014-07-15 19:00:50 -07:00
Alex Crichton 5b6053fdac Support \U escapes in strings 2014-07-15 18:43:00 -07:00
Alex Crichton b4a4ed72d7 Migrate to a TreeMap for determinism 2014-07-15 17:30:00 -07:00
Alex Crichton bec6b768ec Update travis config 2014-07-14 12:51:12 -07:00
Alex Crichton 3f6def94a4 Update travis config 2014-07-10 12:34:53 -07:00
Alex Crichton a0f1ea65fc Merge pull request #4 from ebfe/fix-build-master
ToStr::to_str -> ToString::to_string
2014-07-09 10:49:25 -04:00
Michael Gehring 46ab9eb436 ToStr::to_str -> ToString::to_string 2014-07-09 15:46:49 +02:00
Alex Crichton 624d539818 --crate-file-name => --print-file-name 2014-07-07 06:24:37 -07:00
Alex Crichton 6e0701caa5 Add a test for _ => - translation 2014-07-02 18:43:32 -07:00
Yehuda Katz + Carl Lerche 806a7bd937 Decodes foo-bar into a field named foo_bar
This logic is specific to the Decoder, and because Rust does not support
hyphenated names as identifiers, it's the only reasonable thing to do
with hyphenated names in Toml.
2014-07-02 17:23:35 -07:00
Alex Crichton e32363c788 Fix tests on master 2014-07-01 06:30:17 -07:00
Alex Crichton 713816102b Remove stray println!() 2014-06-28 15:16:15 -07:00
Alex Crichton b4f706cceb Be more resilient about unused values in array 2014-06-28 15:15:25 -07:00
Alex Crichton 85af174778 Always remove Array values from the Decoder 2014-06-28 15:00:45 -07:00