Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token Map: Introduce an efficient lookup and translation class for string mappings. #5373

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
03adf30
Introduce Token Map: An optimized static translation class.
dmsnell May 14, 2024
96bebe4
Add case-insensitivity and early-abort for small words when none exist.
dmsnell May 14, 2024
388c50d
PR Feedback
dmsnell May 16, 2024
45a5236
Verify count of named character references.
dmsnell May 16, 2024
31695c6
Shallow abstractions diverging from their truth, tsk tsk
dmsnell May 16, 2024
6055bf3
Restructure generator script
dmsnell May 16, 2024
09dd38b
fixup! Restructure generator script
dmsnell May 16, 2024
2cf613f
PR Feedback
dmsnell May 16, 2024
f312669
Update tests/phpunit/data/html5-entities/README.md
dmsnell May 16, 2024
d63da61
Fix markdown link reference
dmsnell May 16, 2024
adbf8b6
Add more links
dmsnell May 16, 2024
b5cdac4
I'm no longer a fan of this shallow abstraction
dmsnell May 16, 2024
31c57b0
Define large and small words in class doc.
dmsnell May 16, 2024
94c06e6
Make test data provider public where necessary
dmsnell May 16, 2024
f3a0b54
Remove "." from PHPUnit ticket annotations
sirreal May 17, 2024
112cf4d
Fix casing of class in coversDefaultClass annotation
sirreal May 17, 2024
b9ea531
Use more verbose length variables
sirreal May 17, 2024
584b673
Update tests/phpunit/tests/wp-token-map/wpTokenMap.php
dmsnell May 17, 2024
395e8e3
Wrap precomputed state in a single array, add version.
dmsnell May 17, 2024
98b2fb6
Fix translation placeholders
dmsnell May 17, 2024
9cd6459
Fix string interpolation issue.
dmsnell May 17, 2024
c0f4973
Easier to be worse
dmsnell May 17, 2024
1a02856
Update the HTML5 reference table.
dmsnell May 17, 2024
7d0cbbe
Clarify case insensitivity.
dmsnell May 20, 2024
71ccdf6
Rename $skip_bytes to $matched_token_byte_length
dmsnell May 20, 2024
42c0d08
Fix compare result description.
dmsnell May 20, 2024
ff0e59f
Update docblock wording and examples
dmsnell May 20, 2024
0e7ab4c
PR Feedback
dmsnell May 21, 2024
225cd85
Merge branch 'trunk' into experiment/add-wp-token-set
dmsnell May 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading