Commit Graph

39 Commits

Author SHA1 Message Date
Tangent Wantwight 15520f26bd Update Tokio/Hyper/Warp-related dependencies 2022-05-22 00:56:53 -04:00
Tangent Wantwight 1273b4adff WIP: update lib to bytes 0.5 2020-05-07 00:34:23 -04:00
Tangent 128 eda2e4f7be Remove EbmlEventSource trait in favor of concrete EbmlStreamingParser 2019-10-21 01:20:14 -04:00
Tangent 128 710af7e1d7 feeder-based parser proof-of-concept adjusted to work with the lifetime FromEbml trait 2019-10-20 02:22:36 -04:00
Tangent 128 a9b66b6297 Remove repeated code in `decode_element` 2019-10-20 00:25:35 -04:00
Tangent 128 d894a139f2 make return value for check_space more structured/informative 2019-10-20 00:21:09 -04:00
Tangent 128 6895cde14a derive EBML errors via custom_error!{} 2019-07-07 20:10:46 -04:00
Tangent 128 e92ffb06a7 rephrase tests to not require PartialEq on errors 2019-07-07 19:54:55 -04:00
Tangent 128 87eaed9c82 cargo fix for Rust 2018 2019-07-07 18:17:38 -04:00
Tangent 128 17427be5ef Update version of bytes 2018-09-20 20:13:27 -04:00
Tangent 128 bac34e94c5 impl Error for error types 2018-04-12 02:07:46 -04:00
Tangent 128 9686eb2713 Rename EbmlError 2018-04-04 00:16:35 -04:00
Tangent 128 2db227c5f9 Cleanup, use EbmlSlice as name 2018-04-03 23:38:31 -04:00
Tangent 128 0909a20a8c generalize WebmEventSource -> EbmlEventSource 2018-04-03 23:23:19 -04:00
Tangent 128 c92273625e Cleanup poll_event's try_decode hack. 2018-04-03 21:19:46 -04:00
Tangent 128 bebe593c30 Lifetime simplification reflecting probably-better understanding of them 2018-04-03 19:07:16 -04:00
Tangent 128 719b11dd01 Zap some generic code that wasn't going anywhere 2018-04-02 19:37:36 -04:00
Tangent 128 56a7284e32 Focus on Webm case specifically to get working code
can retry generic EBML later
2018-04-02 18:37:47 -04:00
Tangent 128 11bb7f4412 Fix EBML Source lifetimes, breaking the chunker 2018-04-02 13:55:13 -04:00
Tangent 128 417cbf49c7 Create EbmlEventSource trait since Iterators/Streams can't return borrows 2018-03-30 01:33:13 -04:00
Tangent 128 cdcff869aa Replace Schema types with a FromEbml trait on the Element type
simplify lifetimes
2018-03-25 21:33:38 -04:00
Tangent 128 01e81c6a9f Fix tests 2017-08-10 00:14:42 -04:00
Tangent 128 509dcd3827 Generalize string writing to binary writing 2017-08-09 01:49:44 -04:00
Tangent 128 b76f244022 Encode Timecodes into WebM stub 2017-08-07 01:12:18 -04:00
Tangent 128 120fe26b6b Cleanup results more 2017-08-07 01:11:43 -04:00
Tangent 128 ff4c2d796e Remove IoResult<usize> return, value not needed and confuses ? operator 2017-08-07 00:55:57 -04:00
Tangent 128 45fe373ee6 Implement writing a barebones EBML header from scratch 2017-08-06 01:21:53 -04:00
Tangent 128 95fcc6c86b Add fixed-size varint encoder function to simplify writing complex EBML element sizes 2017-08-06 01:20:51 -04:00
Tangent 128 b5bbf952b0 Stub some EBML encoding funcs 2017-08-02 01:30:14 -04:00
Tangent 128 cf4821599e Make encode_varint use a generic Writer 2017-07-30 01:43:09 -04:00
Tangent 128 da81b741a3 Change encode_varint to write into a Bufmut 2017-07-10 21:26:00 -04:00
Tangent 128 a1e8aef5d3 Swap to "bytes" crate 2017-07-10 19:36:20 -04:00
Tangent 128 8d73a2e577 Fix range of varint encoder; add more boundary tests. 2017-07-08 01:08:21 -04:00
Tangent 128 b1b157c6be Make varint sizing logic use smallest working size;
fix bad constant/test.
2017-07-07 02:27:30 -04:00
Tangent 128 6c99eca673 Initial ebml varint encoder 2017-07-07 01:25:32 -04:00
Tangent 128 7109e30dcb Use ByteOrder function in decode_uint 2017-07-03 01:44:11 -04:00
Tangent 128 51156d9fde implement decode_uint 2017-06-29 02:38:08 -04:00
Tangent 128 ba9d00d0b4 Move tests under appropriate modules 2017-06-28 01:54:30 -04:00
Tangent 128 8411363035 Break code into modules 2017-06-27 02:31:17 -04:00