Skip to content
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/flutter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: da0cd69659c5
Choose a base ref
...
head repository: flutter/flutter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 11def8eff455
Choose a head ref
  • 16 commits
  • 116 files changed
  • 16 contributors

Commits on Dec 20, 2023

  1. _TabBarViewState should not recreate page controller (#135500)

    ## Description
    
    This PR replaces the unconditional instantiation of `PageController` in `_TabBarViewState.didChangeDependencies` as suggested in #134091 (comment).
    
    ## Related Issue
    
    Fixes #134253.
    
    ## Tests
    
    Adds 1 test.
    bleroux authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    0d90014 View commit details
    Browse the repository at this point in the history
  2. Roll Packages from be52ac8 to dc5b267 (5 revisions) (#140450)

    flutter/packages@be52ac8...dc5b267
    
    2023-12-20 [email protected] Roll Flutter from 0eb7881 to da0cd69 (15 revisions) (flutter/packages#5729)
    2023-12-20 49699333+dependabot[bot]@users.noreply.github.com [webview]: Bump androidx.annotation:annotation from 1.7.0 to 1.7.1 in /packages/webview_flutter/webview_flutter_android/android (flutter/packages#5702)
    2023-12-19 [email protected] [webview_flutter] Implement platform interface for JavaScript dialog (flutter/packages#5670)
    2023-12-19 [email protected] [webview_flutter] Support for handling basic authentication requests (iOS) (flutter/packages#5455)
    2023-12-19 [email protected] Roll Flutter from cdc83e5 to 0eb7881 (17 revisions) (flutter/packages#5722)
    
    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
    Please CC [email protected],[email protected] on the revert to ensure that a human
    is aware of the problem.
    
    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://issues.skia.org/issues/new?component=1389291&template=1850622
    
    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
    engine-flutter-autoroll authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    0dc3b07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76c8e73 View commit details
    Browse the repository at this point in the history
  4. Eliminate Cirrus build status badge (#140461)

    We have no tasks running on Cirrus any more. This eliminates the "Build
    Status - Cirrus" badge/link as well as the "Build status" link
    reference, which was unused.
    
    @CaseyHillers has filed a bug to add a Cocoon endpoint to replace it:
    #140460
    
    ## 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], including [Features
    we expect every widget to implement].
    - [X] I signed the [CLA].
    - [X] I listed at least one issue that this PR fixes in the description
    above.
    - [X] I updated/added relevant documentation (doc comments with `///`).
    - [ ] I added new tests to check the change I am making, or this PR is
    [test-exempt].
    - [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
    [Features we expect every widget to implement]:
    https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
    [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 Dec 20, 2023
    Configuration menu
    Copy the full SHA
    7b0bfa8 View commit details
    Browse the repository at this point in the history
  5. [web] Re-enable test now that source of flakiness is fixed (#140462)

    The test was flaky before due to overflowing GPU memory during the test.
    The memory leak was fixed here
    flutter/engine#49214
    
    Fixes #137669
    
    As a side effect of the fix, this test also runs much faster, from about
    3 minutes on my Macbook down to about 25 seconds.
    
    ## 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], including [Features
    we expect every widget to implement].
    - [x] I signed the [CLA].
    - [x] I listed at least one issue that this PR fixes in the description
    above.
    - [x] I updated/added relevant documentation (doc comments with `///`).
    - [x] I added new tests to check the change I am making, or this PR is
    [test-exempt].
    - [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
    [Features we expect every widget to implement]:
    https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
    [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
    harryterkelsen authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    11bfb3c View commit details
    Browse the repository at this point in the history
  6. Reverts "Make TextSpan hit testing precise." (#140468)

    Reverts #139717
    Initiated by: LongCatIsLooong
    This change reverts the following previous change:
    Original Description:
    Fixes #131435, #104594, #43400
    Needs flutter/engine#48774 (to fix the web test failure).
    
    Currently the method we use for text span hit testing `TextPainter.getPositionForOffset` always returns the closest `TextPosition`, even when the given offset is far away from the text. 
    
    The new TextPaintes method tells you the layout bounds (`width =  letterspacing / 2 + x_advance + letterspacing / 2`, `height = font ascent + font descent`) of a character, the PR changes the hit testing implementation such that a TextSpan is only considered hit if the point-down event landed in one of it's character's layout bounds.
    
    Potential issues:
    
    1. In theory since the text is baseline aligned, we should use the max ascent and max descent of each character to calculate the height of the text span's hit-test region, in case some characters in the span have to fall back to a different font, but that will be slower and it typically doesn't make a huge difference. 
    
    This is a breaking change. It also introduces a new finder and a new method `WidgetTester.tapOnText`: `await tester.tapOnText('string to match')` for ease of migration.
    auto-submit[bot] authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    9003f13 View commit details
    Browse the repository at this point in the history
  7. Part 1/n migration steps for kotlin migration (#140452)

    Following https://developer.android.com/build/migrate-to-kotlin-dsl
    1/n Add parentheses to method calls 
    
    Should be a no-op change. If you see a behavioral change please flag it.
    reidbaker authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    d6e435a View commit details
    Browse the repository at this point in the history
  8. Reland find.textRange.ofSubstring changes (#140469)

    Extracted from #139717 as-is. Landing this change first so we can avoid doing a g3fix.
    LongCatIsLooong authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    e2e8bcb View commit details
    Browse the repository at this point in the history
  9. Remove outdated ignores from framework (#140465)

    These were not ignoring anything (anymore).
    goderbauer authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    c4fda23 View commit details
    Browse the repository at this point in the history
  10. Remove outdated ignores from tool (#140467)

    These were not ignoring anything (anymore).
    goderbauer authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    68e346e View commit details
    Browse the repository at this point in the history
  11. Roll pub packages (#140472)

    This PR was generated by `flutter update-packages --force-upgrade`.
    flutter-pub-roller-bot authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    2d75f76 View commit details
    Browse the repository at this point in the history
  12. Update job permissions (#140476)

    Updates to use contents: write and pull-requests: write.
    
    ## 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], including [Features
    we expect every widget to implement].
    - [X] I signed the [CLA].
    - [X] I listed at least one issue that this PR fixes in the description
    above.
    - [X] I updated/added relevant documentation (doc comments with `///`).
    - [X] I added new tests to check the change I am making, or this PR is
    [test-exempt].
    - [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
    [Features we expect every widget to implement]:
    https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
    [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
    godofredoc authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    cf3760b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Fix import pattern (#140425)

    This PR is just to fix the import pattern to follow the convention.
    QuncCccccc authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    c0acd8c View commit details
    Browse the repository at this point in the history
  2. Integrate testWidgets with leak tracking. (#138057)

    Contributes to: #135856
    
    TODO:
    polina-c authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    d746007 View commit details
    Browse the repository at this point in the history
  3. Revert "Integrate testWidgets with leak tracking. (#138057)" (#140502)

    The PR is breaking the `flutter_test_performance` test and making the
    tree red.
    flar authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    8407dd2 View commit details
    Browse the repository at this point in the history
  4. Update README.md (#140382)

    Update the "fast results" subsection of readme with recent developments.
    
    ## 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], including [Features
    we expect every widget to implement].
    - [x] I signed the [CLA].
    - [x] I listed at least one issue that this PR fixes in the description
    above.
    - [x] I updated/added relevant documentation (doc comments with `///`).
    - [x] I added new tests to check the change I am making, or this PR is
    [test-exempt].
    - [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
    [Features we expect every widget to implement]:
    https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
    [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
    
    ---------
    
    Co-authored-by: Parker Lougheed <[email protected]>
    mit-mit and parlough authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    11def8e View commit details
    Browse the repository at this point in the history
Loading