251 Commits

Author SHA1 Message Date
openharmony_ci 1613baf766 !2 README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
OpenHarmony-v4.0-Beta1 OpenHarmony-v4.0-Beta2
2023-05-05 02:26:33 +00:00
peizhe 3833e46399 README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-04 11:28:54 +08:00
openharmony_ci ff7d038b1f !1 [unicode-bidi]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:28:25 +00:00
peizhe 8147c8a946 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 18:16:25 +08:00
Manish Goregaokar eaaeadc4ad Merge pull request #102 from Manishearth/bump
Bump to 0.3.12
github.com/servo/unicode-bidi/v0.3.12
2023-03-17 09:38:54 -07:00
Manish Goregaokar 91e2c4edc8 Bump to 0.3.12 2023-03-17 09:36:16 -07:00
Manish Goregaokar fd6027648b Merge pull request #101 from Manishearth/reorder-visual-fix
Fix implementation of L2 in reorder_visual
2023-03-17 09:06:03 -07:00
Manish Goregaokar b4409c4e4d remove nightly-only fmt option 2023-03-16 19:03:31 -07:00
Manish Goregaokar b40ee114c3 Fix implementation of L2 in reorder_visual 2023-03-16 19:02:47 -07:00
Manish Goregaokar 54d6bd317e Merge pull request #99 from Manishearth/bump
Bump to 0.3.11
2023-03-08 11:48:58 -08:00
Manish Goregaokar 8ffdc4bb1b Bump to 0.3.11 2023-03-08 11:37:27 -08:00
Manish Goregaokar 1009c0aa0e Merge pull request #98 from Manishearth/unchecked
Add Level::from_slice_unchecked()
2023-03-08 11:36:59 -08:00
Manish Goregaokar 54ee004554 Add Level::from_slice_unchecked() 2023-03-08 11:31:29 -08:00
Manish Goregaokar 146cc2c1ca Merge pull request #96 from Manishearth/bump
Bump to 0.3.10
2023-01-20 09:37:15 -08:00
Manish Goregaokar e077480c7a Bump to 0.3.10 2023-01-19 07:48:36 -08:00
Manish Goregaokar 0cd861fa39 Merge pull request #95 from Manishearth/unicode-15
Update data to Unicode 15
2023-01-19 07:48:11 -08:00
Manish Goregaokar 153832b6b6 Update data to Unicode 15 2023-01-18 20:17:56 -08:00
Manish Goregaokar 9d6450861c test path 2023-01-18 20:14:10 -08:00
Manish Goregaokar 9791298400 Merge pull request #94 from Manishearth/bump
Bump to 0.3.9
2023-01-18 20:12:48 -08:00
Manish Goregaokar 26828f752d Bump to 0.3.9 2023-01-18 12:50:52 -08:00
Manish Goregaokar 024066db06 Uncommitted change from #92
Forgot to include variable renaming
2023-01-18 12:17:45 -08:00
Manish Goregaokar 83ec308e60 Merge pull request #92 from Manishearth/retain-explicit
Handle retaining explicit formatting characters + other fixes
2023-01-18 12:10:27 -08:00
Manish Goregaokar 19fec4e85c better names 2023-01-18 11:55:30 -08:00
Manish Goregaokar 4b4110591a cmt 2023-01-17 12:04:52 -05:00
Manish Goregaokar 8dc51ae98e fmt 2023-01-17 11:55:32 -05:00
Manish Goregaokar 56d5c00bed comment cleanup 2023-01-17 11:50:56 -05:00
Manish Goregaokar bcb0f3646a Fix up X7 2023-01-10 10:10:39 -08:00
Manish Goregaokar 2285d5ee5f link to l2 2023-01-10 10:03:35 -08:00
Manish Goregaokar a11d86ebba Merge pull request #91 from Manishearth/more-fixes
Fix W2 rule ordering; behavior of multibyte characters in W4
2023-01-10 10:02:48 -08:00
Manish Goregaokar cc4088b08a fix comments 2023-01-10 09:36:30 -08:00
Manish Goregaokar e696301258 Fix appveyor (#93) 2022-12-28 20:54:15 -08:00
Manish Goregaokar 649dd4063c Break up weak processing into multiple steps
Fixes #8
2022-12-27 18:14:25 -08:00
Manish Goregaokar 189bede67d Make sure W1 is using the previous class from before other rules were applied 2022-12-27 16:18:51 -08:00
Manish Goregaokar 9cbd559c94 Handle NSMs in ET runs 2022-12-27 15:43:44 -08:00
Manish Goregaokar 2ff6281980 Fix BN skipping in N1/N2, and end-of-sequence BNs in W6 2022-12-27 15:35:32 -08:00
Manish Goregaokar c94b62654f Address fixup for X10 2022-12-27 14:59:07 -08:00
Manish Goregaokar a3738cc700 Address spec bug around updating the class of BNs 2022-12-27 14:55:12 -08:00
Manish Goregaokar 2c7e2c4aa1 Handle retaining explicit formatting characters L1 step 2022-12-21 18:53:31 -08:00
Manish Goregaokar 9ed4f10987 use sequence iteration for everything else
We use lookaround in a bunch of other places. Use the new helpers there
too
2022-12-21 18:53:31 -08:00
Manish Goregaokar 878b15e2f0 Use run sequence iteration for N0 enclosed check
The N0 check for enclosed strong characters should only check within the
run sequence.
2022-12-20 20:28:51 -08:00
Manish Goregaokar af1b154c69 Add run sequence iteration helpers
These helpers make it easy to do lookaround within an isolating run
sequence.
2022-12-20 20:28:51 -08:00
Manish Goregaokar f3d36141c1 Only look for brackets in run sequence
All of the N and W algorithms apply within an isolating run sequence,
which may have gaps that contain other meaningful characters. We shoudl
skip these.
2022-12-20 20:28:51 -08:00
Manish Goregaokar a6d20ef964 Fix identify_bracket_pairs bug
whoops, got the indices wrong here
2022-12-20 20:28:51 -08:00
Manish Goregaokar 6c935fbd49 Use fixed BD16 where overridden brackets are ignored
This uses a BD16 that does *not* match the spec but does match
conformance tests, the reference implementation, and ICU4C. BD16 does not explicitly state this, but it intends
to ignore overridden brackets.
2022-12-20 20:28:51 -08:00
Manish Goregaokar 0824dc23b6 Add all fixups for retaining explicits
This handles all of the fixups from https://www.unicode.org/reports/tr9/#Retaining_Explicit_Formatting_Characters
2022-12-20 20:28:51 -08:00
Manish Goregaokar 875379990e Fix behavior of multibyte characters in W4 2022-12-20 14:02:26 -08:00
Manish Goregaokar a1fb2115ee Fix issue with W2 rule ordering 2022-12-20 11:01:13 -08:00
Manish Goregaokar 24a3c2257f Merge pull request #85 from Manishearth/brace-yourself
Implement N0 (bracket matching)
2022-12-20 10:40:22 -08:00
Manish Goregaokar a592c94402 Introduce BidiMatchedOpeningBracket 2022-12-20 10:35:26 -08:00
Manish Goregaokar 4d9b7d138f handle EN/AN in N0 2022-12-19 16:08:35 -08:00