Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/engine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f15b259fe98c
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c5a067b637f4
Choose a head ref
  • 4 commits
  • 8 files changed
  • 3 contributors

Commits on Nov 14, 2023

  1. [ios17][text_input]fix ios 17.0 keyboard freeze when switching langua…

    …ges (without relying on text affinity) (#47566)
    
    After close examination of the UIKit's default string tokenizer, when querying the line enclosing the end of doc position **in forward direction**, we should return nil (regardless whether the position is forward or backward affinity). 
    
    This aligns with the [API doc](https://developer.apple.com/documentation/uikit/uitextinputtokenizer/1614464-rangeenclosingposition?language=objc): 
    
    > If the text position is at a text-unit boundary, it is considered enclosed only if the next position in the given direction is entirely enclosed.
    
    Will cherry pick this soon. Otherwise it will be less and less important as users upgrade to iOS 17.1. 
    
    ### Why my previous workaround also works? 
    
    It turns out my previous workaround PR #46591 works only because our misuse of text affinity in our text input. Specifically, when adding text affinity support, we only added it to `FlutterTextPosition`, but not `FlutterTextRange`. So when getting the beginning/end position from the range, we assign arbitrary affinities. 
    
    *List which issues are fixed by this PR. You must list at least one issue.*
    
    #46591
    
    *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    hellohuanlin authored Nov 14, 2023
    Configuration menu
    Copy the full SHA
    ffcc5bf View commit details
    Browse the repository at this point in the history
  2. [macOS] Eliminate unused OCMock includes (#48031)

    As part of the broader quest to reduce our dependence on OCMock in macOS
    embedder tests, this removes #includes of OCMock into files where OCMock
    is not actually used.
    
    ## Pre-launch Checklist
    
    - [X] I read the [Contributor Guide] and followed the process outlined
    there for submitting PRs.
    - [X] I read the [Tree Hygiene] wiki page, which explains my
    responsibilities.
    - [X] I read and followed the [Flutter Style Guide] and the [C++,
    Objective-C, Java style guides].
    - [ ] I listed at least one issue that this PR fixes in the description
    above.
    - [X] I added new tests to check the change I am making or feature I am
    adding, or the PR is [test-exempt]. See [testing the engine] for
    instructions on writing and running engine tests.
    - [X] I updated/added relevant documentation (doc comments with `///`).
    - [X] I signed the [CLA].
    - [X] All existing and new tests are passing.
    
    If you need help, consider asking for advice on the #hackers-new channel
    on [Discord].
    
    <!-- Links -->
    [Contributor Guide]:
    https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
    [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
    [test-exempt]:
    https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
    [Flutter Style Guide]:
    https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
    [C++, Objective-C, Java style guides]:
    https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    [testing the engine]:
    https://github.com/flutter/flutter/wiki/Testing-the-engine
    [CLA]: https://cla.developers.google.com/
    [flutter/tests]: https://github.com/flutter/tests
    [breaking change policy]:
    https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
    [Discord]: https://github.com/flutter/flutter/wiki/Chat
    cbracken authored Nov 14, 2023
    Configuration menu
    Copy the full SHA
    a79cf49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddbebb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5a067b View commit details
    Browse the repository at this point in the history
Loading