-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Comparing changes
Open a pull request
base repository: flutter/flutter
base: 29d40f7f6826
head repository: flutter/flutter
compare: 73546b3b71a7
- 20 commits
- 57 files changed
- 12 contributors
Commits on Nov 5, 2024
-
Roll Flutter Engine from f56401062e42 to e5e06c97c33c (1 revision) (#…
…158194) flutter/engine@f564010...e5e06c9 2024-11-05 [email protected] Roll Skia from b2bb3af36da3 to 7989f782dbf4 (1 revision) (flutter/engine#56358) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-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
Configuration menu - View commit details
-
Copy full SHA for d7a5db2 - Browse repository at this point
Copy the full SHA d7a5db2View commit details -
Fix: Gap between prefix and suffix icon and input field in input deco… (
#152069) Adjust the gap between TextField prefix/suffix and its content. Results in a small visual change for TextFields that use prefix and/or suffix.
Configuration menu - View commit details
-
Copy full SHA for c1b7740 - Browse repository at this point
Copy the full SHA c1b7740View commit details -
Kill interactive script job
xcdevice observeprocesses on tool/daem……on shutdown (#157646) To convince `xcdevice observe` to redirect to stdout it's being launched in an interactive shell `/usr/bin/script -t 0 /dev/null /usr/bin/arch -arm64e xcrun xcdevice observe --usb` https://github.com/flutter/flutter/blob/1cc8a07ace699de12fcd31ac9e8fcfa14f1017e2/packages/flutter_tools/lib/src/macos/xcdevice.dart#L261-L263 When the `flutter` command exits, the interactive script process is terminated, but not its jobs `xcdevice observe --usb`. Instead of `-9` sigterm killing the interactive script, send it a [`SIGHUP`](https://linux.die.net/Bash-Beginners-Guide/sect_12_01.html#sect_12_01_01_02) (signal hangup) during `XCDevice.dispose()`, which will exit its processes. Add a shutdown hook to ensure `dispose` is run when the process exits. Fixes #73859
Configuration menu - View commit details
-
Copy full SHA for b6fef5c - Browse repository at this point
Copy the full SHA b6fef5cView commit details -
use root directory as the default for rootOverride in Cache.test cons…
…tructor (#158201) While doing some hacking on `Cache` in #158081, I noticed that [`Cache.test`](https://github.com/flutter/flutter/blob/de9318275391a6d2f10ae33c576f4113b25fd156/packages/flutter_tools/lib/src/cache.dart#L139) allows the caller to tell Cache to use some given directory as the flutter root (instead of depending on the static global [`Cache.flutterRoot`](https://github.com/flutter/flutter/blob/4f3976a4f2b722d26c3353158dcd26590859dde0/packages/flutter_tools/lib/src/cache.dart#L206)). This has a default value, `/cache`. However, `/cache` is an unintuitive name for the root directory of a Flutter installation. This led to confusion when updating some tests. I wanted to create `/bin/cache/engine-dart-sdk.stamp` for tests, but in reality I needed to create `/cache/bin/cache/engine-dart-sdk.stamp`. This PR changes this default to the current directory of the file system (which I'm guessing is `/` for all intents and purposes). <details> <summary> Pre-launch checklist </summary> </details>
Configuration menu - View commit details
-
Copy full SHA for 8d3cca4 - Browse repository at this point
Copy the full SHA 8d3cca4View commit details -
Add test for
raw_scrollbar.2.dart(#158161)Contributes to #130459 It adds a test for - `examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart`
Configuration menu - View commit details
-
Copy full SHA for ffe81f0 - Browse repository at this point
Copy the full SHA ffe81f0View commit details -
Increase subsharding for
Linux tool_integration_tests(#158196)I've noticed Linux tool_integration_tests 5_5 has come very close to timing out. See #155317 for more context, I am not 100% confident that increasing the subsharding here will help given that we just very recently increased subsharding from 4 to 5, but the results could be interesting regardless. <details> <summary> Pre-launch checklist </summary> </details>
Configuration menu - View commit details
-
Copy full SHA for 0401c37 - Browse repository at this point
Copy the full SHA 0401c37View commit details -
Marks Mac_benchmark animated_complex_opacity_perf_macos__e2e_summary …
Configuration menu - View commit details
-
Copy full SHA for 255a941 - Browse repository at this point
Copy the full SHA 255a941View commit details -
Factor out "shaker" class (#157748)
I saw that there was a private `_Shaker` class in input_decorator.dart that does the exact same thing as the [MatrixTransition](https://main-api.flutter.dev/flutter/widgets/MatrixTransition-class.html) API. ("hide whitespace" for tiny diffs!)
Configuration menu - View commit details
-
Copy full SHA for b46fb32 - Browse repository at this point
Copy the full SHA b46fb32View commit details -
Remove observatory related TODO that is already fixed. (#158205)
Description intentionally left blank :)
Configuration menu - View commit details
-
Copy full SHA for 0b6f997 - Browse repository at this point
Copy the full SHA 0b6f997View commit details -
Remove unused
enableObservatoryflag. (#158202)I checked google3 as well and couldn't find any reference.
Configuration menu - View commit details
-
Copy full SHA for c6dea5e - Browse repository at this point
Copy the full SHA c6dea5eView commit details
Commits on Nov 6, 2024
-
Forward fix
CupertinoDynamicColorby addingtoARGB32(). (#158145)Unblocks landing flutter/engine#56329. @jtmcdole monorepo can't come soon enough...
Configuration menu - View commit details
-
Copy full SHA for 7a6c81a - Browse repository at this point
Copy the full SHA 7a6c81aView commit details -
Roll Flutter Engine from e5e06c97c33c to a3741d6248b7 (14 revisions) (#…
…158218) flutter/engine@e5e06c9...a3741d6 2024-11-05 [email protected] Increase timeouts for Linux Fuchsia and Linux Web Framework Tests builders (flutter/engine#56387) 2024-11-05 [email protected] iOS: Use standard Obj-C cflags for ios_test_flutter (flutter/engine#56384) 2024-11-05 [email protected] Remove unnecessary method for getting engine switches (command line). (flutter/engine#56265) 2024-11-05 [email protected] Remove FlScrollingViewDelegate (flutter/engine#56270) 2024-11-05 [email protected] fml: delete scoped_nsobject.h,mm (flutter/engine#56382) 2024-11-05 [email protected] Roll Skia from b3be9cb59fe8 to 82175b411c80 (2 revisions) (flutter/engine#56383) 2024-11-05 [email protected] [Impeller] Delete any remaining GL objects during destruction of the ReactorGLES (flutter/engine#56361) 2024-11-05 [email protected] [web] Switch all fonts to WOFF2 (non-split) (flutter/engine#56035) 2024-11-05 [email protected] [Impeller] exploit content context options' perfect hash function. (flutter/engine#56360) 2024-11-05 [email protected] Roll Skia from 7989f782dbf4 to b3be9cb59fe8 (6 revisions) (flutter/engine#56380) 2024-11-05 [email protected] Roll Dart SDK from b39c729740eb to 3e840340c412 (1 revision) (flutter/engine#56377) 2024-11-05 [email protected] [Impeller] match Skia's old VMA default block size. (flutter/engine#56368) 2024-11-05 [email protected] iOS: Refactor ShellTestPlatformViewMetal (flutter/engine#56370) 2024-11-05 [email protected] Roll Fuchsia Linux SDK from amgHXcqtplha8LuI_... to z1otZzn3yKuGnu1st... (flutter/engine#56374) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from amgHXcqtplha to z1otZzn3yKuG If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-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
Configuration menu - View commit details
-
Copy full SHA for 7edcacb - Browse repository at this point
Copy the full SHA 7edcacbView commit details -
fix: ensure draggable_scrollable_sheet respects shouldCloseOnMinExten… (
#156338) This PR fixes the `shouldCloseOnMinExtent` flag in `draggable_scrollable_sheet.dart`. *The `shouldCloseOnMinExtent` flag was not functioning correctly in the `DraggableScrollableSheet` widget. This PR ensures that the flag is properly handled, preventing the sheet from closing when it reaches the minimum extent if the flag is set to false. Before/after screenshots are not applicable for this change.* In the code sample below, before my fix, the sheet would close when scrolled down. After my fix, it behaves as expected by respecting the `shouldCloseOnMinExtent` parameter. ### Code Sample ```dart import 'package:flutter/material.dart'; Future<void> main() async { runApp(const MaterialApp( home: Home(), )); } class Home extends StatelessWidget { const Home({ super.key, }); @OverRide Widget build(BuildContext context) => Scaffold( body: Center( child: FilledButton( onPressed: () async => showModalBottomSheet( context: context, isScrollControlled: true, isDismissible: false, builder: (context) => DraggableScrollableSheet( expand: false, maxChildSize: 0.9, minChildSize: 0.25, initialChildSize: 0.5, shouldCloseOnMinExtent: false, builder: (context, scrollController) => Navigator( onGenerateRoute: (settings) => MaterialPageRoute( settings: settings, builder: (context) => ListView.builder( controller: scrollController, itemExtent: 100, itemCount: 100, itemBuilder: (context, index) => Center( child: Text('$index'), ), ), ), ), ), ), child: const Text('Open sheet'), ), ), ); } ```
Configuration menu - View commit details
-
Copy full SHA for 7a57b69 - Browse repository at this point
Copy the full SHA 7a57b69View commit details -
Restore skipped iOS test by looping over
FakeAsyncelapse. (#158204)Closes #60675. From what I can tell `FakeAsync` wasn't necessary to making this be testable (or at least it isn't anymore?)
Configuration menu - View commit details
-
Copy full SHA for 2f7a1aa - Browse repository at this point
Copy the full SHA 2f7a1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dff1916 - Browse repository at this point
Copy the full SHA dff1916View commit details -
Roll Flutter Engine from a3741d6248b7 to f03f11300a9d (2 revisions) (#…
…158222) flutter/engine@a3741d6...f03f113 2024-11-05 [email protected] Document fields in FlEngine (flutter/engine#56266) 2024-11-05 [email protected] Add missing TOC. (flutter/engine#56389) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-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
Configuration menu - View commit details
-
Copy full SHA for 5a3fd44 - Browse repository at this point
Copy the full SHA 5a3fd44View commit details -
Cleanup MenuAnchor and Improve DropdownMenu tests readability (#158175)
## Description This PR fixes some typos on `MenuAnchor` and improve the readability of a `DropdownMenu` test utility function. @justinmc I'm still considering creating a test utils file for DropdownMenu but there are few utilities and I'm worried that helper functions in utils file will cripple completion results (not a big deal because it is just for people working on the framework) but I think this should be used carefully. For instance the function `getButtonMaterial` would have to be renamed to something less generic if exposed more broadly (`getMenuItemButtonMaterial` for instance).
Configuration menu - View commit details
-
Copy full SHA for 66e8f53 - Browse repository at this point
Copy the full SHA 66e8f53View commit details -
Fix RawScrollbar examples and desktop test (#158237)
## Description Fix the formatting of some `RawScrollbar` examples. Fix and rename one test file (name without `_test` suffix).
Configuration menu - View commit details
-
Copy full SHA for 22a7afd - Browse repository at this point
Copy the full SHA 22a7afdView commit details -
Make flutter_tools use newest package:{native_assets_builder,native_a…
…ssets_cli,native_toolchain_c} (#158214) Almost all of the code is just adopting to changes to the APIs of `package:native_assets_builder`, `package:native_assets_cli` and `package:native_toolchain_c` There's only two semantic changes * Removes a test that checks for a verification error if a build hook produces a static library if the preferred linking mode is dynamic: => The test is written in a very hacky way. By monkey patching the build config.json that flutter build actually made. This monkey patching relies on package:cli_config which is now no longer used. => The actual code that checks for this mismatch lives in dart-lang/native repository and is tested there. So there's really no need to duplicate that. * The `package:native_assets_builder` no longer knows about code assets. This is something a user of that package (e.g. flutter tools) adds. Now the dry-run functionality will invoke build hooks who produce code assets without an architecture. => The `package:native_assets_builder` used to expand such a code asset to N different code assets (one for each supported architecture) => This logic was now moved to flutter tools. => In the near future we're going to this dry-run complexity, which will then also get rid of this uglyness (of expanding to all archs of an OS).
Configuration menu - View commit details
-
Copy full SHA for 3a83e43 - Browse repository at this point
Copy the full SHA 3a83e43View commit details -
Add test for
image.loading_builder.0.dart(#158248)Contributes to #130459 It adds a test for - `examples/api/lib/widgets/image/image.loading_builder.0.dart`
Configuration menu - View commit details
-
Copy full SHA for 73546b3 - Browse repository at this point
Copy the full SHA 73546b3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 29d40f7f6826...73546b3b71a7