Commit Graph

15 Commits

Author SHA1 Message Date
30a1440399 Tests for single-byte encodings, and related bug fixes. 2018-08-23 13:21:16 -07:00
3d8eaefa6b Added a lot of single-byte text encodings to text_encoding sub-crate.
They are largely auto-generated from text-based tables from the
WHATWG encoding standard.  Most of them are still not available
in the code itself, but they are generating correctly, and exposing
them is just a matter of boiler plate.
2018-08-23 02:29:58 -07:00
3203da38bd Added unit tests for windows1252 encoding/decoding. 2018-08-22 19:00:47 -07:00
fb95ff36c1 Added unit tests for latin1 encoding/decoding. 2018-08-22 18:17:05 -07:00
9409bfe7fb Tests for utf8 encoding/decoding, and improved utf8 errors. 2018-08-22 17:53:07 -07:00
006b578318 Change encoding/decoding function naming.
I think this makes it more obvious at-a-glance what they do.
2018-08-22 15:05:38 -07:00
37acbba36a Added unit tests for utf32 encoding/decoding. 2018-08-22 12:55:52 -07:00
2cc4bc64ba More utf16 encode/decode tests, and accompanying fixes. 2018-08-21 22:32:19 -07:00
60cbb193b2 Added unit tests for utf16 encoding/decoding. 2018-08-21 22:18:22 -07:00
fc07ee3444 Reorg text_encoding sub-crate a bit and make it no_std. 2018-08-21 21:13:00 -07:00
3a17ca9e8c Added utf32 encoders/decoders to the text_encoding sub-crate. 2018-08-21 05:25:53 -07:00
173837b827 Added property testing for encoding round-tripping.
Also fixed a bug in the utf16 encoders/decoders.
2018-08-20 22:30:39 -07:00
a82b06794e Added Windows-1252 support to text_encoding sub-crate. 2018-08-20 21:09:01 -07:00
3ea4e25fbe Adjusting APIs for text encoding/decoding. 2018-08-19 19:14:13 -07:00
0ee183aa72 WIP creating a clean frontend/backend separation.
- Started work on writing a new backend.
- Started work on writing text encoding handling.
2018-08-17 20:34:43 -07:00