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: 533670269c99
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5019d6da655c
Choose a head ref
  • 15 commits
  • 54 files changed
  • 7 contributors

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    ca3a488 View commit details
    Browse the repository at this point in the history
  2. Passthrough stderr results of clang_tidy when --enable-check-profile. (

    …#44789)
    
    Required to actually see the results of the profile :)
    matanlurey authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bba33df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d425c57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d33f3d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae84e33 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    303dbac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    48558a3 View commit details
    Browse the repository at this point in the history
  8. Move viewConfiguration parsing from PlatformDispatcher to _hooks (

    #44787)
    
    This PR moves the code that parses `viewConfiguration` from
    `PlatformDispatcher` to `_hooks`. This makes `PlatformDispatcher`'s API
    cleaner by hiding the encoding implementation of `ViewConfiguration` in
    `_hooks`, and allows more APIs to pass view configuration, such as the
    `addView` that will be introduced in
    #42991.
    
    This PR should not need unit tests since it's just a refactor, and the
    code path that contains `_updateWindowMetrics` has been tested in
    existing unit tests.
    
    ## Pre-launch Checklist
    
    - [ ] I read the [Contributor Guide] and followed the process outlined
    there for submitting PRs.
    - [ ] I read the [Tree Hygiene] wiki page, which explains my
    responsibilities.
    - [ ] 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.
    - [ ] I added new tests to check the change I am making or feature I am
    adding, or Hixie said the PR is test-exempt. See [testing the engine]
    for instructions on writing and running engine tests.
    - [ ] I updated/added relevant documentation (doc comments with `///`).
    - [ ] I signed the [CLA].
    - [ ] 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
    [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
    dkwingsmt authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    18f72b5 View commit details
    Browse the repository at this point in the history
  9. [Windows] Delay enabling app lifecycle states until requested (#44238)

    Await a platform message before sending lifecycle state updates so we
    are not sending messages that do not get consumed by the framework.
    In the _near_ future we hope to extend the embedder API to allow
    registering callbacks called upon the framework registering a listener
    to a channel, which would obviate this problem.
    
    flutter/flutter#131616
    
    *If you had to change anything in the [flutter/tests] repo, include a
    link to the migration guide as per the [breaking change policy].*
    
    ## 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].
    - [x] 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 Hixie said 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 `///`).
    - [ ] 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
    [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
    yaakovschectman authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    233a2e0 View commit details
    Browse the repository at this point in the history
  10. [ios][ios17]fix auto correction highlight on top left corner (#44779)

    Fix native auto-correction highlight region on top left corner. 
    
    This PR uses the system auto-correction highlight on iOS 17, which was disabled by #44354
    
    <img width="479" alt="Screenshot 2023-08-16 at 1 19 39 PM" src="https://github.com/flutter/engine/assets/41930132/a5a1dda7-ba21-462e-a65c-1afeecf7559f">
    
    *List which issues are fixed by this PR. You must list at least one issue.*
    
    Fixes flutter/flutter#131622
    Fixes flutter/flutter#131695
    Fixes flutter/flutter#130818
    
    *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 Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5c05519 View commit details
    Browse the repository at this point in the history
  11. Adds new builders for partial clang-tidy checks. (#44811)

    This is the first in a sequence of PRs which will lint only changed files on presubmit. The process is the following:
    1. Add new `bringup: true` builders that lint only changed files. `bringup: true` builders don't run in presubmit, and since after landing this no files will be detected as changed, these builders will not do anything yet.
    1. Remove `bringup: true`. This will allow the new builders to run in presubmit.
    1. Ask the team to monitor the new checks on PRs to make sure they are doing the right thing.
    1. When we're reasonably sure that the checks are doing the right thing, add `presubmit: false` to `mac_clang_tidy` and `linux_clang_tidy` so that we no longer needlessly lint all files in presubmit.
    
    Related flutter/flutter#105068
    zanderso authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bf175fd View commit details
    Browse the repository at this point in the history
  12. Add share to selection controls (#44554)

    In native iOS, users are able to select text and initiate a share menu, which provides several standard services, such as copy, sharing to social media, direct ability to send to various contacts through messaging apps, etc. 
    
    https://github.com/flutter/engine/assets/36148254/d0af7034-31fd-412e-8636-a06bbff54765
    
    This PR is the engine portion of the changes that will allow Share to be implemented
    This PR addresses flutter/flutter#107578
    More details are available in this [design doc](https://github.com/flutter/engine/pull/flutter.dev/go/add-missing-features-to-selection-controls)
    LouiseHsu authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9fae689 View commit details
    Browse the repository at this point in the history
  13. Implement 2 suggested Clang Tidy fixes we don't look for yet. (#44816)

    I haven't investigated if there are more occurrences or if it's worth
    enforcing turning the check on generally.
    
    (They were flagged on the Google roll, ironically)
    
    ---
    
    
    [`readability-redundant-smartptr-get`](https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-smartptr-get.html)
    
    > Find and remove redundant calls to smart pointer’s `.get()` method
    
    
    [`performance-for-range-copy`](https://clang.llvm.org/extra/clang-tidy/checks/performance/for-range-copy.html)
    
    > Finds C++11 for ranges where the loop variable is copied in each
    iteration but it would suffice to obtain it by reference.
    matanlurey authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9ee2992 View commit details
    Browse the repository at this point in the history
  14. Roll Skia from d0d390f9310d to bfd45173e5e3 (5 revisions) (#44820)

    https://skia.googlesource.com/skia.git/+log/d0d390f9310d..bfd45173e5e3
    
    2023-08-17 [email protected] Fix old use of GrBackendRenderTarget for GL
    2023-08-17 [email protected] [bazel] Fix extension handling in gcs_mirror
    2023-08-17 [email protected] Fix WGSL code generation of matrix-div-scalar.
    2023-08-17 [email protected] Remove bridge code for legacy GL GrBackendSurface code
    2023-08-17 [email protected] Remove SkOpts_avx and _ssse3 completely
    
    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/skia-flutter-autoroll
    Please CC [email protected],[email protected],[email protected],[email protected] on the revert to ensure that a human
    is aware of the problem.
    
    To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
    To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
    
    To report a problem with the AutoRoller itself, please file a bug:
    https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
    
    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
    skia-flutter-autoroll authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    61a7bea View commit details
    Browse the repository at this point in the history
  15. Basic view management for engine classes (#42991)

    _This PR is part of the multiview engine project. For a complete roadmap, see [this doc](https://docs.google.com/document/d/10APhzRDR7XqjWdbYWpFfKur7DPiz_HvSKNcLvcyA9vg/edit?resourcekey=0-DfGcg4-XWRMMZF__C1nmcA)._
    
    ------
    
    This PR adds view management to all engine classes that need it. View management here basically means `AddView` and `RemoveView` methods, and most importantly, how to handle the implicit view.
    
    The implicit view is a special view that's handled differently than all the other "regular views", since it keeps the behavior of the current single view of Flutter. Detailed introduction can be found in `Settings.implicit_view_enabled`.
    
    The following two graphs show the difference between initializing with/without the implicit view and creating regular views.
    
    <img width="879" alt="image" src="https://github.com/flutter/engine/assets/1596656/31244685-d9d3-4c9a-9a9e-6e8540a5711e">
    
    <img width="864" alt="image" src="https://github.com/flutter/engine/assets/1596656/e2dd4b8c-57e3-428d-8547-834fb270052b">
    
    <img width="860" alt="image" src="https://github.com/flutter/engine/assets/1596656/58dae687-8c17-434e-ae24-a48c2d8fa5fa">
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    dkwingsmt authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5019d6d View commit details
    Browse the repository at this point in the history
Loading