J. King
14d67ad49f
Add fuzz test for backwards seeking
Test data is 1025 random bytes; gb18030 still fails
4 years ago
J. King
0eb2a8ac24
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
a12a2a0413
Simplify EUC-KR seeking
This is in line with Big5 logic
4 years ago
J. King
be034a08e0
Move dirty EOF handling to UTF-16
It remains useful for this encoding, which is other self-synchronizing
4 years ago
J. King
1f007b88f1
Fix UTF-8 seeking through truncated sequences
4 years ago
J. King
220cbce9a0
Address performance regression in peeking
4 years ago
J. King
9f08fb7424
Fix backwards seeking for Big5
Other non-synchronizing encodings will also need fixing
4 years ago
J. King
6417e8f0be
Start overhauling error handling; adjust coverage annotations
4 years ago
J. King
b90f194a81
Support PCOV for code coverage
4 years ago
J. King
e06096c624
Ensure seekBack is defined
4 years ago
J. King
61a77086bb
Make GenericEncoding trait an abstract class
4 years ago
J. King
235fdc4103
Note self-synchronizing encodings for later
4 years ago
J. King
a3c16252b8
Correct documentation of StatefulEncoding
4 years ago
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