33050 Commits

Author SHA1 Message Date
engine-flutter-autoroll
d52b6b989b
Roll Flutter Engine from be0125bd5716 to d17004dd96d7 (2 revisions) (#119287)
* 8ca3b2b72 Roll Fuchsia Mac SDK from KLzrg8eFD9m5J9xa-... to MyL3JcOBni9CTx9wz... (flutter/engine#39171)

* d17004dd9 [Linux][FlView] fix rendering on startup when shown after plugin registration (flutter/engine#38982)
2023-01-26 22:58:33 +00:00
Harry Terkelsen
42bd5f2bd1
Download platform-agnostic Flutter Web SDK in the flutter_tool (#118654) 2023-01-26 14:21:05 -08:00
engine-flutter-autoroll
1b779b655e
Roll Flutter Engine from 93901260098e to be0125bd5716 (2 revisions) (#119283)
* 3d6b6effb Roll Fuchsia Linux SDK from ggI4a2jNo5aj6Rp6w... to kdjOCYzDtnfY30985... (flutter/engine#39169)

* be0125bd5 Roll Skia from e9ac244d61b2 to ba4721319a92 (1 revision) (flutter/engine#39170)
2023-01-26 22:06:01 +00:00
engine-flutter-autoroll
1da487dfb0
Roll Flutter Engine from 04f22beebb42 to 93901260098e (12 revisions) (#119279)
* 99270b81c Roll Fuchsia Mac SDK from _H53AyDxR9Pm2TbwN... to KLzrg8eFD9m5J9xa-... (flutter/engine#39155)

* 9c20d2afb Roll Fuchsia Linux SDK from pGX7tanT1okL8XCg-... to ggI4a2jNo5aj6Rp6w... (flutter/engine#39157)

* 664e7d3ae Roll Skia from 3d0e2ad41911 to 0e1cb7bc43dc (1 revision) (flutter/engine#39156)

* ca38bb2e6 Roll Skia from 0e1cb7bc43dc to 5e363a69efbe (3 revisions) (flutter/engine#39158)

* ce3bfa124 Roll Dart SDK from f61211592196 to 160774c04493 (2 revisions) (flutter/engine#39159)

* 36cb5c8ce Roll Dart SDK from 160774c04493 to 5a8b34f040f5 (1 revision) (flutter/engine#39160)

* ba188d7ca Update infrastructure python code to be compatible with python 2 and python 3 (flutter/engine#39133)

* 8baff3e90 Roll Skia from 5e363a69efbe to ad7955820dc6 (2 revisions) (flutter/engine#39161)

* ed9fc3610 Roll Skia from ad7955820dc6 to e9ac244d61b2 (6 revisions) (flutter/engine#39165)

* cb6df8585 Roll Dart SDK from 5a8b34f040f5 to 4a8615b7e3ed (1 revision) (flutter/engine#39167)

* d85ec02b0 [fuchsia] Migrate to new RealmBuilder API (flutter/engine#39163)

* 939012600 [Impeller] partially remove remap sampler support (flutter/engine#39147)
2023-01-26 21:21:19 +00:00
Christopher Fujino
a04ab7129b
Revert "Add API for discovering assets (#118410)" (#119273)
This reverts commit 2b8f2d05045590cd4aeb9f02c67baaa69db35e5e.
2023-01-26 20:01:12 +00:00
Andrew Kolos
2b8f2d0504
Add API for discovering assets (#118410)
* add asset manifest bin loading and asset manifest api

* use new api for image resolution

* remove upfront smc data casting

* fix typecasting issue

* remove unused import

* fix tests

* lints

* lints

* fix import

* revert image resolution changes

* Update image_resolution_test.dart

* Update decode_and_parse_asset_manifest.dart

* make targetDevicePixelRatio optional

* Update packages/flutter/lib/src/services/asset_manifest.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* Update packages/flutter/lib/src/services/asset_manifest.dart

Co-authored-by: Jonah Williams <jonahwilliams@google.com>

* fix immutable not being imported

* return List in AssetManifest methods, fix annotation import

* simplify onError callback

* make AssetManifest methods abstract instead of throwing UnimplementedError

* simplify AssetVariant.key docstring

* tweak _AssetManifestBin docstring

* make AssetManifest and AssetVariant doc strings more specific

* use List.of instead of List.from for type-safety

* adjust import

* change _AssetManifestBin comment from doc comment to normal comment

* revert to callback function for onError in loadStructuredBinaryData

* add more to the docstring of AssetManifest.listAssets and AssetVariant.key

* add tests for CachingAssetBundle caching behavior

* add simple test to ensure loadStructuredBinaryData correctly calls load

* Update asset_manifest.dart

* update docstring for AssetManifest.getAssetVariants

* rename getAssetVariants, have it include main asset

* rename isMainAsset field of AssetMetadata to main

* (slightly) shorten name of describeAssetAndVariants

* rename describeAssetVariants back to getAssetVariants

* add tests for TestAssetBundle

* nits

* fix typo in docstring

* remove no longer necessary non-null asserts

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2023-01-26 19:05:00 +00:00
Flutter GitHub Bot
459c1b78b4
Marks Mac complex_layout_scroll_perf_macos__timeline_summary to be unflaky (#119157) 2023-01-26 18:59:40 +00:00
engine-flutter-autoroll
07522b74ec
Roll Flutter Engine from 8f1e5dc1b124 to 04f22beebb42 (5 revisions) (#119218)
* c068a3675 [Impeller] Use analytical normals for stroke caps (flutter/engine#39124)

* 68912346c Roll Dart SDK from de14a48187ce to d9151e59f70b (6 revisions) (flutter/engine#39146)

* 285f3311b Roll Clang from a93d03310e2c to 20d06c833d83 (flutter/engine#39152)

* ab2ccd5a6 Roll Dart SDK from d9151e59f70b to f61211592196 (3 revisions) (flutter/engine#39154)

* 04f22beeb Roll Skia from 393fb1ec80f4 to 3d0e2ad41911 (6 revisions) (flutter/engine#39153)
2023-01-26 18:55:07 +00:00
engine-flutter-autoroll
40bd82ef6c
Roll Plugins from 1e5efd144f93 to e9406bc209a2 (4 revisions) (#119249)
* bc0174fd5 [path_provider] Fix iOS `getApplicationSupportDirectory` regression (flutter/plugins#7026)

* 15d799b89 [url_launcher] Convert Windows to Pigeon (flutter/plugins#6991)

* dc8ad7701 Roll Flutter from c35efdaa6854 to a815ee634202 (22 revisions) (flutter/plugins#7025)

* e9406bc20 [camerax] Adds functionality to bind UseCases to a lifecycle (flutter/plugins#6939)
2023-01-26 18:53:20 +00:00
Hasnen Tai
7d3b762dfc
Fix: Added margin parameter for MaterialBanner class (#119005)
* Fix: Added Margin Parameter for Material Banner

* Fix: Comment for default value added and test improved

* Fix: Comment updated

* Fix: Comment added
2023-01-26 18:47:23 +00:00
godofredoc
c9affdba9d
Move windows-x64-flutter.zip to windows-x64-debug location. (#119177)
The dependency is currently uploaded to two different locations. This
change is required to remove the duplicate uploads and their
corresponding tech debt.
2023-01-26 05:25:02 +00:00
Flutter GitHub Bot
fc02701818
Marks Mac run_debug_test_macos to be unflaky (#117470)
Co-authored-by: Chris Bracken <chris@bracken.jp>
2023-01-26 05:25:00 +00:00
Todd Volkert
b319938ecd
Add more flexible image API (#118966)
This updates the framework to provide higher level wrappers around ui.instantiateImageCodecWithSize(). Functionally, this doesn't change anything (other than deprecating the older loadBuffer() method in favor of loadImage()), but it sets the stage for a simpler change that will allow us to provide a more flexible way to load sized images.

#118543
2023-01-25 21:21:28 -08:00
engine-flutter-autoroll
202e902742
Roll Flutter Engine from 308ce918f67f to 8f1e5dc1b124 (4 revisions) (#119208)
* e3b278239 [macOS] Formalize FlutterViewController's initialization flow, and prohibit replacing (flutter/engine#38981)

* 36db005dd Revert "[macOS] Formalize FlutterViewController's initialization flow, and prohibit replacing (#38981)" (flutter/engine#39144)

* a20609120 Roll buildroot (flutter/engine#39141)

* 8f1e5dc1b Reland "[macOS] Formalize FlutterViewController's initialization flow, and prohibit replacing" (flutter/engine#39145)
2023-01-26 05:18:55 +00:00
engine-flutter-autoroll
e0e88da151
Roll Flutter Engine from 44362c90fcec to 308ce918f67f (2 revisions) (#119201)
* c01d4a144 Roll Skia from c4b171fe5668 to 393fb1ec80f4 (9 revisions) (flutter/engine#39138)

* 308ce918f Get the vulkan backend working again (flutter/engine#39103)
2023-01-26 01:00:19 +00:00
Flutter GitHub Bot
9037e3fe26
roll packages (#119192) 2023-01-25 23:53:42 +00:00
engine-flutter-autoroll
dcd367951c
Roll Flutter Engine from 30c02e4c8b01 to 44362c90fcec (2 revisions) (#119185)
* c0329ece2 Roll ICU from 1b7d391f0528 to 2cce76fd67af (5 revisions) (flutter/engine#39136)

* 44362c90f Fix position of ImageFilter layer when raster-cached (flutter/engine#38567)
2023-01-25 23:44:52 +00:00
Michael Goderbauer
766e4d28a4
Remove single-view assumption from material library (#117486)
* Remove single-view assumption from material library

* one widget
2023-01-25 23:43:00 +00:00
Tae Hyung Kim
02a9c151f6
Fix lexer issue where select/plural/other/underscores cannot be in identifier names. (#119190) 2023-01-25 15:31:38 -08:00
Michael Goderbauer
a45727d813
Add MediaQuery to View (#118004)
* Add MediaQuery to View

* unify API

* fix test

* add test

* comment

* better doc

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2023-01-25 22:22:00 +00:00
engine-flutter-autoroll
3be330aaf9
30c02e4c8 [Impeller] Make text glyph offsets respect the current transform (flutter/engine#39119) (#119179) 2023-01-25 21:37:38 +00:00
engine-flutter-autoroll
cef9cc717b
2e7d6fa7b Remove unnecessary null checks (flutter/engine#39113) (#119174) 2023-01-25 20:29:19 +00:00
Ahmed Ashour
1fd71de0c5
Remove superfluous words from comments (#119055)
* Remove superfluous words from comments.

* Revert `win32_window.h`

Which seems to come from `gallery`
2023-01-25 20:23:24 +00:00
Michael Goderbauer
0dd63d3310
Export View (#117475) 2023-01-25 18:58:23 +00:00
engine-flutter-autoroll
f34ce86cfb
7b72038ef Roll Fuchsia Linux SDK from E9m-Gk382PkB7_Nbp... to pGX7tanT1okL8XCg-... (flutter/engine#39130) (#119169) 2023-01-25 18:50:08 +00:00
engine-flutter-autoroll
c6fa5d957c
c54580138 Only build analyze_snapshot on Linux host (flutter/engine#39129) (#119164) 2023-01-25 18:10:52 +00:00
Simon Friis Vindum
b907acdde3
Add the cupertino system colors mint, cyan, and brown (#118971) 2023-01-25 10:04:21 -08:00
engine-flutter-autoroll
48cd95dd17
1e5efd144 [various] Enable use_build_context_synchronously (flutter/plugins#6585) (#119162) 2023-01-25 17:48:07 +00:00
Ben Konyi
6cd4fa45e2
Add --serve-observatory flag to run, attach, and test (#118402)
This flag will allow for Observatory to be served by the VM service once it is disabled by default in the Dart SDK.
2023-01-25 12:46:08 -05:00
engine-flutter-autoroll
cd34fa6d4c
24aa324b8 Roll Skia from da5034f9d117 to c4b171fe5668 (1 revision) (flutter/engine#39127) (#119159) 2023-01-25 17:33:05 +00:00
Victoria Ashworth
81052a7d36
Add usage event to track when a iOS network device is used (#118915)
* Add usage event to track when a iOS network device is used

* update usage event to track percentage of iOS network vs usb devices, update and fix tests

* refactor tracking to happen in usageValues with a custom dimension
2023-01-25 10:57:12 -06:00
Todd Volkert
e85547b3cc
Roll Plugins from 11361d01099d to 8bab180a668a (28 revisions) (#119115) 2023-01-25 16:38:35 +00:00
engine-flutter-autoroll
a0f7c8cf79
6f806491e [web] use a render target instead of a new surface for Picture.toImage (flutter/engine#38573) (#119143) 2023-01-25 16:33:09 +00:00
engine-flutter-autoroll
a815ee6342
8efc7183b Roll Skia from 8ffd5c20d634 to da5034f9d117 (4 revisions) (flutter/engine#39123) (#119129) 2023-01-25 13:21:21 +00:00
Taha Tesser
29ab437e28
Add Material 3 CheckboxListTile example and update existing examples (#118792)
* Add Material 3 `CheckboxListTile` example and update existing examples

* fix `list_tile.dart` doc issues

* Remove unnecessary comma
2023-01-25 13:21:18 +00:00
engine-flutter-autoroll
eced23eaba
d39ab638b Roll Fuchsia Mac SDK from MUvFS0baOnigVUIND... to _H53AyDxR9Pm2TbwN... (flutter/engine#39122) (#119126) 2023-01-25 12:35:25 +00:00
Justin McCandless
318f8758ba
Pass through magnifierConfiguration (#118270) 2023-01-25 07:04:19 +00:00
Todd Volkert
351466aea6
Add Decoding Flutter videos to API docs (#116454)
* Add Decoding Flutter videos to API docs

* Review comments

* Update widget of the week videos too
2023-01-25 05:46:24 +00:00
engine-flutter-autoroll
b113df2dca
bffb98352 Roll Skia from b72fececbdcc to 8ffd5c20d634 (3 revisions) (flutter/engine#39114) (#119099) 2023-01-25 03:45:31 +00:00
Todd Volkert
83c3a61e3f
Only emit image painting events in debug & profile modes. (#118872)
* Only emit image painting events in debug & profile modes.

These events were being emitted in release mode, which was showing up in the
profiler for my app as taking up a noticeable amount of build time (still
well within the frame budget, but this code was near the top of the list).

* Review comment
2023-01-25 03:19:47 +00:00
engine-flutter-autoroll
426cdd90cd
55bb8deaf [Impeller] Linear sample atlas glyphs when the CTM isn't translation/scale only (flutter/engine#39112) (#119098) 2023-01-25 03:09:27 +00:00
engine-flutter-autoroll
6414c36041
f1464b49c Manually roll ANGLE, vulkan-deps, SwiftShader (flutter/engine#38650) (#119097) 2023-01-25 02:29:35 +00:00
engine-flutter-autoroll
bbca694ef7
Roll Flutter Engine from bec40654a5d7 to 5405f2c26e85 (2 revisions) (#119095)
* 6aa30b294 Roll Skia from 1bc48bcb1201 to b72fececbdcc (14 revisions) (flutter/engine#39108)

* 5405f2c26 [Impeller] Switch to nearest sampling for the text atlas (flutter/engine#39104)
2023-01-25 01:45:25 +00:00
engine-flutter-autoroll
760fb21152
Roll Flutter Engine from d98926c32ee7 to bec40654a5d7 (2 revisions) (#119093)
* 4165d4b9b Improve crashes if messenger APIs are used incorrectly (flutter/engine#39041)

* bec40654a Roll Fuchsia Linux SDK from dWbkAZchFHtZE9Wt_... to E9m-Gk382PkB7_Nbp... (flutter/engine#39107)
2023-01-25 01:03:29 +00:00
engine-flutter-autoroll
2759f3f0b1
Roll Flutter Engine from 2499a5d9fca7 to d98926c32ee7 (2 revisions) (#119090)
* acb561092 [web] Remove dependency on 'profiling' subfolder of canvaskit. (flutter/engine#38169)

* d98926c32 [Impeller] Add and reorder FAQ entries. (flutter/engine#39106)
2023-01-25 00:11:36 +00:00
Greg Spencer
2f0dd56731
Refactor highlight handling in FocusManager (#119075)
* Add stack functionality to the FocusManager

* Separate out the highlight manager from the focus manager

* Revert more unrelated changes

* Review Changes
2023-01-24 23:37:57 +00:00
engine-flutter-autoroll
c35370cf0a
Roll Flutter Engine from 59ea78bfabda to 2499a5d9fca7 (2 revisions) (#119089)
* 334c92e56 [Impeller] drawAtlas blend mode. (flutter/engine#38335)

* 2499a5d9f Roll Fuchsia Mac SDK from HxpwvvbQdk54L6_8q... to MUvFS0baOnigVUIND... (flutter/engine#39105)
2023-01-24 23:33:29 +00:00
engine-flutter-autoroll
a788e1b311
Roll Flutter Engine from 71ee5f19bc16 to 59ea78bfabda (2 revisions) (#119087)
* 19b356e46 Roll Skia from 90fda2e72314 to 1bc48bcb1201 (4 revisions) (flutter/engine#39100)

* 59ea78bfa Roll Dart SDK from d1a0e860679e to de14a48187ce (1 revision) (flutter/engine#39099)
2023-01-24 22:54:12 +00:00
yaakovschectman
455e6aca50
Test integration test apps' runner files against current template app (#118646)
* Create template file test

* Add to .ci.yaml

* Add to TESTOWNERS

* Organize test script

* Push license to top of file

* Equals sign

* Utilize path.join

* Expand error message

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Fix missing newline string

* Move template file test to analyze.dart

* Fix newline

* Var name

* Fix extension length

* Use ignore-list for filenames

* Update dev/bots/analyze.dart

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Indentation

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2023-01-24 17:00:22 -05:00
Michael Goderbauer
50ed8a34b0
Enable unnecessary_null_comparison check (#118849)
* Enable unnecessary_null_comparison outside of packages

* fix snippet

* enable for all
2023-01-24 21:24:11 +00:00