J. King
f69cd98b4c
Make posErr fully generic
4 years ago
J. King
7339176e3e
Split error handlers
4 years ago
J. King
befd1feb3a
Apply stricter house style where possible
4 years ago
J. King
b4630657cb
Update changelog
4 years ago
J. King
0954518eb5
Fix gb18030 seeking; tidy up
4 years ago
J. King
c82aaf8b80
Add fuzz test for backwards seeking
Test data is 1025 random bytes; gb18030 still fails
4 years ago
J. King
6d9eba25d3
Fix bugs in gb18030 and UTF-16
- UTF-16 needs to restore dirtyEOF after seeking
- gb18030 now tracks errors like other non-synchronizing encodings
- gb18030 could produce null when asked for a character
4 years ago
J. King
e48220250a
Simplify EUC-KR seeking
This is in line with Big5 logic
4 years ago
J. King
b4c3f3c86d
Move dirty EOF handling to UTF-16
It remains useful for this encoding, which is other self-synchronizing
4 years ago
J. King
dc11f98c4c
Fix UTF-8 seeking through truncated sequences
4 years ago
J. King
93cbbc24b7
Address performance regression in peeking
4 years ago
J. King
f2c3488ec0
Fix backwards seeking for Big5
Other non-synchronizing encodings will also need fixing
4 years ago
J. King
33059a2906
Start overhauling error handling; adjust coverage annotations
4 years ago
J. King
ba7daf1075
Support PCOV for code coverage
4 years ago
J. King
b9ea5f8b9b
Ensure seekBack is defined
4 years ago
J. King
9421a3aca2
Make GenericEncoding trait an abstract class
4 years ago
J. King
7ec8f148ff
Note self-synchronizing encodings for later
4 years ago
J. King
280e97e444
Correct documentation of StatefulEncoding
4 years ago
J. King
87e34b3074
Make posErr fully generic
4 years ago
J. King
c115e3857a
Split error handlers
4 years ago
J. King
a7142284f5
Apply stricter house style where possible
4 years ago
J. King
85f06186f2
Partial Shift_JIS implementation
4 years ago
J. King
f49d632642
Merge branch 'master' into multi-byte
4 years ago
J. King
fc44bb1415
Generalize handling of dirty EOF
4 years ago
J. King
c4a2ae1714
Tests for new features
4 years ago
J. King
19a28edebd
Restore changelog
4 years ago
J. King
f9e3d795a7
Add label matcher
4 years ago
J. King
200a310f72
Optionally allow surrogates
Also removed unnecessary docblocks
4 years ago
J. King
2e47fde774
Upgrade to PHPUnit 8
4 years ago
J. King
eae901a9e2
Add new methods
4 years ago
J. King
ba35252b80
Tooling update
4 years ago
J. King
106167ab39
Cleanup
6 years ago
J. King
74d8e07a65
Fully corrected WPT test data for EUC-JP
6 years ago
J. King
8dfb1ba984
Initial implementation of EUC-JP
6 years ago
J. King
58328b7524
Changelog for 0.4.0
6 years ago
J. King
2810ed9b2a
Full tests for EUC-KR
6 years ago
J. King
929d55cffe
Encode whitespace code points correctly in browser tests
6 years ago
J. King
fb70543c0f
Change gb18030 loop to be consistent with Big5 and EUC-KR
6 years ago
J. King
1121f32e96
Minor Big5 corrections
6 years ago
J. King
c4cdbdd5c8
Initial implementation of EUC-KR
6 years ago
J. King
c2a8b1ba52
Style fixes
6 years ago
J. King
bfc6c677c5
Complete Big5 tests, with numerous fixes
6 years ago
J. King
5217a6c0bc
Tidying
6 years ago
J. King
32d7fc47b0
Fix HTML test generator; clean up
6 years ago
J. King
55cbc915c3
Refactor HTML-based test generators
6 years ago
J. King
5967d148c0
Consolidate index generation into a single, better script
6 years ago
J. King
63fccc3c3a
Test UTF-16 EOF handling better
6 years ago
J. King
3b8db5822a
Add all available tests to platform test generator
6 years ago
J. King
4a091610e9
Initial implementation of Big5 encoding
Only the decoder is tested, and even that requires more thorough testing.
Testing of seeking and encoding still to come
6 years ago
J. King
fdbeecdb17
Add name and label to x-user-defined
6 years ago