Commit graph

18463 commits

Author SHA1 Message Date
gaaclarke 35b18ba2e9
Made flag for debugging build time of user created widgets (#100926)
* Added a bool that allows us to limit debugProfileBuildsEnabled to user
created widgets.

* made it turned on by default

* switched to hashmap

* Cleaned everything up and added tests

* fixed an odd test where it wants to be able to add asserts and run in profile mode

* hixie feedback

* hixie2

* made it default to false

* updated docstring as per dans request
2022-04-05 10:54:21 -07:00
Jenn Magder 839a183ea6
Add note to doctor validator if script is running Rosetta (#101309) 2022-04-05 10:37:35 -07:00
godofredoc 23b9d4f1f2
Roll i10n localizations. (#101310) 2022-04-04 16:55:26 -07:00
Greg Spencer 2d9ad26086
Implements a PlatformMenuBar widget and associated data structures (#100274)
Implements a PlatformMenuBar widget and associated data structures for defining menu bars that use native APIs for rendering.

This PR includes:
A PlatformMenuBar class, which is a widget that menu bar data can be attached to for sending to the platform.
A PlatformMenuDelegate base, which is the type taken by a new WidgetsBinding.platformMenuDelegate.
An implementation of the above in DefaultPlatformMenuDelegate that talks to the built-in "flutter/menu" channel to talk to the built-in platform implementation. The delegate is so that a plugin could override with its own delegate and provide other platforms with native menu support using the same widgets to define the menus.
This is the framework part of the implementation. The engine part will be in flutter/engine#32080 (and flutter/engine#32358)
2022-04-04 15:03:10 -07:00
keyonghan 95f4f473ff
[Revert] Skip overall_experience_test.dart: flutter run writes and clears pidfile appropriately (#101267)
* restore test

* use seed 20211102

* restore seed
2022-04-04 13:26:27 -07:00
chunhtai 26398e6821
Fix crashes when current route parsing transactions are discarded (#100657)
* Fix crashes when current route parsing transactions are discarded

* refactor

* update
2022-04-04 12:39:04 -07:00
chunhtai 8f2aaa99ab
Reland "Allow unknown device kind to scroll scrollables (#100800)" (#101301)
This reverts commit baa45a1718.
2022-04-04 10:52:06 -07:00
Taha Tesser 0b216f7a28
Refactor ToggleButtons (remove RawMaterialButton) (#99493) 2022-03-31 14:25:10 -07:00
Taha Tesser f263806c26
Fix Local DataTableTheme not being inherited by DataTable Widget (#101112) 2022-03-31 12:25:10 -07:00
Michael Goderbauer dcde8163ce
migrate to super params (#100509) 2022-03-31 11:46:47 -07:00
chunhtai baa45a1718
Revert "Allow unknown device kind to scroll scrollables (#100800)" (#101129)
This reverts commit 000f4d1590.
2022-03-31 10:45:41 -07:00
Gary Qian ead5b1c2f4
Retire v1 embedding compatibility from automatic multidex support (#100685) 2022-03-31 10:24:42 -07:00
Chris Bracken 1a072f9aee
[winuwp] Add removal warning in config help text (#101086) 2022-03-31 09:30:04 -07:00
David Iglesias e52b777a2c
[web] flutter.js initialization with ui.webOnlyWarmupEngine (#100177) 2022-03-30 23:00:09 -07:00
Emmanuel Garcia 5c6918933e
Migrate AGP and Gradle versions to 7.1.2/7.4 (#99723) 2022-03-30 20:30:09 -07:00
Darren Austin a8e6fd5ba7
Material 3 common buttons should use sparkle splash effect on Android. (#101075) 2022-03-30 20:20:13 -07:00
Michael Goderbauer 3e406c6781
Prepare packages (minus tools,framework) for use_super_parameters (#100510) 2022-03-30 15:31:59 -07:00
Ben Konyi 75baed585e
Reland "Enable caching of CPU samples collected at application startup (#89600)" (#100995) 2022-03-30 13:50:13 -07:00
Michael Goderbauer d021509141
migrate generated i18n code to super params (#101065) 2022-03-30 12:20:14 -07:00
Michael Goderbauer 0ff8030df4
Fix constructor doc for ScrollView.primary (#100935) 2022-03-30 10:21:31 -07:00
Taha Tesser 2642a5432f
Fix LicensePage too much spacing padding when applicationVersion and applicationLegalese are empty (#101030) 2022-03-30 07:55:12 -07:00
Sigurd Meldgaard 66ed64be4f
Migrate .packages -> package_config.json (#99677) 2022-03-30 13:56:03 +02:00
Taha Tesser 02b2c2cde6
Fix IconTheme is not inherited when Icon is provided to ListTile.title and ListTile.subtitle (#100757) 2022-03-30 02:50:12 -07:00
Pierre-Louis 3a4bf257bc
[Fonts] Update icons (#100885)
* update icons

* add test
2022-03-30 07:40:51 +02:00
Greg Spencer 255f967ca2
Add isActivatedBy to ShortcutActivator (#100167) 2022-03-29 20:30:13 -07:00
Emmanuel Garcia 032205eaca
Reland: "Use texture layer when displaying an Android view" (#100990) 2022-03-29 19:40:17 -07:00
chunhtai 000f4d1590
Allow unknown device kind to scroll scrollables (#100800) 2022-03-29 13:05:09 -07:00
Zachary Anderson 37d619d228
Revert "Reland: "Use texture layer when displaying an Android view" (#100934)" (#100950)
This reverts commit 61c30eed4f.
2022-03-29 08:27:55 -07:00
Christopher Fujino b4325b68a2
[flutter_tool] Have long-running validators fail (#100936) 2022-03-28 21:57:44 -07:00
Emmanuel Garcia 61c30eed4f
Reland: "Use texture layer when displaying an Android view" (#100934) 2022-03-28 21:25:06 -07:00
Jenn Magder a452c92d5d
Set ARCHS to single-arch for local engine macOS builds (#100917) 2022-03-28 18:45:06 -07:00
gaaclarke 912873baa7
Relands "Starts using the --source flag to compile the dart registrant. (#98046)" (#100572) 2022-03-28 18:15:10 -07:00
Chris Bracken bd6beb4ed7
[Linux] Update doctor wording for Linux (#99700)
Removes the beta-quality wording for Linux from messages in the tool.

Issue: https://github.com/flutter/flutter/issues/99697
2022-03-28 15:45:27 -07:00
Chris Bracken b6bf325d0a
[macOS] Update doctor wording for macOS (#99699)
Removes the beta-quality wording for macOS from messages in the tool.

Issue: https://github.com/flutter/flutter/issues/98680
2022-03-28 15:44:28 -07:00
Christopher Fujino 9c138f9c76
[flutter_tools] warn when doctor takes long (#100805)
* warn when doctor takes long
2022-03-28 14:13:28 -07:00
Daniel Agbemava 4ece077249
Update performanceOverlay links (#100894) 2022-03-28 13:50:08 -07:00
Andrei Diaconu 2b974aed17
Make popup menus avoid display features (#98981) 2022-03-28 13:45:06 -07:00
Jenn Magder 231c1a4b55
Pass ARCHS build setting to flutter assemble on macOS (#100811) 2022-03-28 10:55:14 -07:00
Taha Tesser e4bd5d5562
CupertinoSegmentedControl/CupertinoSlidingSegmentedControl: Add clickable cursor for web (#99551) 2022-03-28 01:40:11 -07:00
Taha Tesser d2cb63c8fa
CupertinoActionSheet/CupertinoAlertDialog: Add clickable cursor for web (#99548) 2022-03-28 01:15:08 -07:00
Zachary Anderson 47f08a3fd6
[flutter_tool] Adds --enable-impeller flag to the run command (#100835) 2022-03-26 20:07:24 -07:00
Alex Li 543a7e8588
Android Q transition by default (#100812) 2022-03-25 22:25:07 -07:00
Chris Yang c01cbd23cc
Add CADisableMinimumFrameDurationOnPhone migration (#100647) 2022-03-25 17:50:09 -07:00
Anurag Roy e7ab846d14
[flutter_tools] Fix VersionUpstreamValidator to respect FLUTTER_GIT_URL (#100605) 2022-03-25 17:35:10 -07:00
Michael Goderbauer 7eeafb1287
Consider backgroundBlendMode in equality of BoxDecoration (#100788) 2022-03-25 16:50:15 -07:00
Christopher Fujino ef8e3578c1
[flutter_tools] update pub packages (#100726) 2022-03-25 16:45:09 -07:00
Jenn Magder 12da4a2aff
Filter out some stray Xcode logging during macOS builds (#100707) 2022-03-25 16:35:11 -07:00
fzyzcjy 8037677dd6
Fix FollowerLayer (CompositedTransformFollower) has null pointer error when using with some kinds of Layers (#100672) 2022-03-25 16:25:13 -07:00
LongCatIsLooong a63ee24b17
Reland "Avoid calling performLayout when only the relayout boundary is different" (#100581) 2022-03-25 16:20:14 -07:00
Ahmed Ashour 2268aebbae
Remove the end period of a URL in project template (#99816) 2022-03-25 16:15:13 -07:00