Commit Graph

539 Commits

Author SHA1 Message Date
Tony Garnock-Jones 94058b5ec2 Simplify again by moving away from excessive internal buffering 2020-05-25 15:29:54 +02:00
Tony Garnock-Jones f07d2e6a5d Simplify and speed up decoding 2020-05-25 15:00:58 +02:00
Tony Garnock-Jones 6ad1707870 First stab at factoring out Reader trait 2020-05-25 13:42:06 +02:00
Tony Garnock-Jones 92463c37d4 Less ownership in preserves::ser::Serializer 2020-05-24 21:17:41 +02:00
Tony Garnock-Jones fdae09b44c Tweak preserves::ser API 2020-05-24 14:40:36 +02:00
Tony Garnock-Jones 67bf47a5c9 Less safe but drastically more efficient raw-value (de)serialization 2020-05-24 13:47:42 +02:00
Tony Garnock-Jones bddb4331aa Direct serialization 2020-05-23 22:33:02 +02:00
Tony Garnock-Jones 0feff28d82 Integer ranges 2020-05-22 14:36:33 +02:00
Tony Garnock-Jones d29ec9ffc4 Avoid a few small allocations when decoding 2020-05-22 10:38:34 +02:00
Tony Garnock-Jones 316a772fec Change API: as_record() now takes Option<usize> 2020-05-18 16:42:59 +02:00
Tony Garnock-Jones 2a85e53acc Repair mistaken usage of String instead of Symbol 2020-05-18 16:42:34 +02:00
Tony Garnock-Jones a099fc9a3b Cosmetic: table whitespace 2020-05-18 09:56:16 +02:00
Tony Garnock-Jones 3eeaab375a More on autodetection 2020-05-18 09:55:57 +02:00
Tony Garnock-Jones af7c523513 Bump versions 2020-05-13 12:58:47 +02:00
Tony Garnock-Jones 8e0ab95d82 Autodetectability of binary vs text; documented test case schema a little 2020-05-13 12:56:13 +02:00
Tony Garnock-Jones ebbd268166 Toplevel test-all target 2020-05-13 12:56:13 +02:00
Tony Garnock-Jones 4272238048 An additional example 2020-05-13 12:50:12 +02:00
Tony Garnock-Jones d883ad9a75 Move racket implementation one subdirectory deeper, to allow package name inference to work 2020-04-27 21:07:20 +02:00
Tony Garnock-Jones 340f77cc3c Fix Racket package deps 2020-01-17 14:12:50 +01:00
Tony Garnock-Jones 46b220e042 LEB128 2019-11-22 10:27:59 -05:00
Tony Garnock-Jones f6bbe191ab Unconfuse preserves emacs-mode with muon emacs-mode 2019-11-03 14:24:02 +00:00
Tony Garnock-Jones 1054cd4219 Override syntax properties for angle brackets appearing in left/right single arrows 2019-11-01 12:00:55 +00:00
Tony Garnock-Jones 0832b94ce9 Optionally-canonicalizing binary output. 2019-10-24 14:35:34 +01:00
Tony Garnock-Jones 02c02b641f Bump rust version 2019-10-23 22:59:13 +01:00
Tony Garnock-Jones ab06cd465d Remove pointless footnote remark 2019-10-23 22:58:47 +01:00
Tony Garnock-Jones b1ca95c835 Customizable treatment of Domain during encoding 2019-10-23 22:58:36 +01:00
Tony Garnock-Jones 27fb961653 Allow embedding of domain-specific non-Preserves data within a Preserves Value 2019-10-22 22:36:01 +01:00
Tony Garnock-Jones 826fce6203 Bump rust version 2019-10-20 13:57:40 +01:00
Tony Garnock-Jones 91f48d08f9 Clip clip clip 2019-10-20 13:57:10 +01:00
Tony Garnock-Jones 488bfdc59c Fix clippyisms 2019-10-20 13:57:04 +01:00
Tony Garnock-Jones ccc3b5780b Bump rust version 2019-10-19 23:31:22 +01:00
Tony Garnock-Jones 6f03538956 Clippy told me not to implement Hash when deriving PartialEq. Fair enough 2019-10-19 23:31:00 +01:00
Tony Garnock-Jones 84f99fc471 New tests 2019-10-19 23:30:46 +01:00
Tony Garnock-Jones 4b957d8785 Advance index when reading multiple bytes as well as one at a time 2019-10-19 23:26:44 +01:00
Tony Garnock-Jones a00314d108 Refine error API 2019-10-15 20:44:19 +01:00
Tony Garnock-Jones d2a57c839c Exclude implementations/ from site 2019-10-15 19:01:05 +01:00
Tony Garnock-Jones 96679e8bf5 Bump Rust version to 0.2.0 2019-10-12 22:51:36 +01:00
Tony Garnock-Jones c95b000b7b annotations_mut, value_mut for PlainValue 2019-10-12 22:51:25 +01:00
Tony Garnock-Jones 9611c1f977 Delegate most numeric From implementations to the i128 one 2019-10-12 22:36:46 +01:00
Tony Garnock-Jones 623bbd0a71 annotations() returns slice rather than Vec ref 2019-10-12 22:36:18 +01:00
Tony Garnock-Jones 54d1e349b3 AValue -> PlainValue, RcValue and ArcValue 2019-10-12 21:54:20 +01:00
Tony Garnock-Jones f1b37ac9af First tentative step to allowing reuse of Value with direct containment, Rc and Arc 2019-10-12 15:40:35 +01:00
Tony Garnock-Jones cea42db3dc Tweak language per @dustyweb suggestion 2019-10-11 16:19:57 +01:00
Tony Garnock-Jones 2ff6cf400b Simplify 2019-10-09 15:58:02 +01:00
Tony Garnock-Jones 383824c5e0 CSS tweaks for mobile 2019-10-08 18:43:38 +01:00
Tony Garnock-Jones 0a537b73ed Tweak print stylesheet. 2019-10-08 14:45:58 +01:00
Tony Garnock-Jones ab1ef92334 Clarify Dictionary canonical form 2019-10-08 14:06:08 +01:00
Tony Garnock-Jones 5b0ad234fd This is not needed; instead, the general prohibition on non-shortest-varints applies 2019-10-08 13:55:12 +01:00
Tony Garnock-Jones ebcdbe9ee2 Further clarification. 2019-10-08 13:54:23 +01:00
Tony Garnock-Jones ba8875e1d7 Tweak 2019-10-08 13:49:21 +01:00