chore(deps): bump actions/setup-python from 6 to 7 - #9
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
jacquetc
added a commit
that referenced
this pull request
Aug 7, 2026
The single-line path has done UAX #9 for a long time via `bidi_runs`. The block path — the one behind every multi-line rich text editor — shaped each formatting fragment as one direction-agnostic unit and emitted the results in logical order, so a paragraph mixing Arabic and Latin rendered in typing order rather than reading order. Shaping: `shape_text_directed` set the direction but never the script, leaving `buffer.script` as `None`. harfrust then falls back to DEFAULT_SHAPER, which requests no init/medi/fina/isol — so the one path that did correct bidi ordering rendered Arabic in disconnected isolated forms. `guess_segment_properties` fills in only what is unset, so calling it after `set_direction` keeps the caller's direction and adds the script. Layout: `analyze_paragraph` resolves the block's bidi structure once, fragments are split at run boundaries and shaped with a uniform direction each, and every line is reordered by rule L2 *after* breaking — per line, because reordering a paragraph before breaking it scrambles every line that wraps. `RunOrder` keeps the single-line path, whose runs already arrive visual, from being reversed twice. Alignment gains `Start`/`End`, resolved against the base direction, so an unaligned RTL paragraph sits against the right edge and its first-line indent insets from the right. Selection: taking the x of a range's two endpoints and subtracting only works left-to-right — on an RTL run the lower logical offset is at the higher x, so the negative width was dropped by a `width > 0` guard and an RTL selection painted no highlight at all while cut, copy and delete kept working on the correct range. Rects are now unioned from glyph extents, which is direction-agnostic and yields one rect per visually contiguous piece. `direction_at` / `paragraph_direction_at` / `visual_line_range_at` give the widget layer what it needs for caret motion; none of it was reachable before, since `DocumentFlow`'s layout is private. Also rewrites `arabic_letters_join_into_contextual_forms`, which passed without proving anything: its oracle kept only `.first()` of each letter's two-glyph isolated form, so the trailing dot glyph satisfied the assertion whether or not the letters joined.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps actions/setup-python from 6 to 7.
Release notes
Sourced from actions/setup-python's releases.
... (truncated)
Commits
5fda3b9Pin SHA commits and update docs with latest versions (#1338)4ab7e95Merge pull request #1337 from actions/philip-gai/bump-actions-cache-6-2-00f3a009Remove the pip-install input (#1336)f8cf429Migrate to ESM and upgrade dependencies (#1330)54baeeaValidate and retry manifest fetch to prevent silent failures (#1332)c709277Annotation code fix (#1335)6849080remove EOL Python versions and Bumps numpy text fixture (#1333)0903b46Bump certifi from 2020.6.20 to 2024.7.4 in /tests/data (#1328)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)