Commit Graph

18886 Commits

Author SHA1 Message Date
Darren Austin
4c21fb9017 Update the requirements for applying the elevation overlay. (#57526) 2020-05-19 18:02:07 -07:00
liyuqian
a635765116 Reland "Add DevTools memory test (#55486)" (#57340) 2020-05-19 18:02:03 -07:00
Anthony
82eeb94045 move paragraph about wide viewports up (#57521) 2020-05-19 17:57:09 -07:00
Justin McCandless
53d7f24521 Fix Web asking for clipboard permissions (#57324) 2020-05-19 17:57:04 -07:00
Kate Lovett
04860d7256 Step 1 of 3: Add opt-in fixing Dialog border radius to match Material Spec (#56084) 2020-05-19 17:52:05 -07:00
stuartmorgan
e384757fac Remove MaterialControls from examples/flutter_view (#57621)
Co-authored-by: Jenn Magder <magder@google.com>
2020-05-19 16:57:27 -07:00
Jonah Williams
5e33ecee46 Revert "[flutter_tools] remove globals/context for android testing (#57445)" (#57611)
This reverts commit 602d8baf34.
2020-05-19 13:06:14 -07:00
Jonah Williams
602d8baf34 [flutter_tools] remove globals/context for android testing (#57445) 2020-05-19 12:37:07 -07:00
Jonah Williams
d0d9da832b [flutter_tools] prevent wildcard assets from causing build invalidation issues (#56472) 2020-05-19 12:37:04 -07:00
LongCatIsLooong
4fd4a7ed85 update appbar documentation (#50673) 2020-05-19 12:32:03 -07:00
cg021
1cfd792a38 remove pending timers list code out of assert message (#57287)
* move pending timers list code out of assert

* style change

Co-authored-by: Emmanuel Garcia <egarciad@google.com>

* add unit tests

* formatting

* pending timer test

* pending timer assertion test

* add setup and teardown

Co-authored-by: Emmanuel Garcia <egarciad@google.com>
2020-05-18 18:18:16 -05:00
engine-flutter-autoroll
aa49821613 Roll engine 90f45bd3efce..4b1a70e6a256 (4 commits) (#57517) 2020-05-18 14:32:02 -07:00
Jonah Williams
91ec439348 [flutter_tools] handle missing null check in manifest parser (#57400) 2020-05-18 12:47:29 -07:00
Jonah Williams
70b889a9a3 [flutter_tools] reland: integrate l10n tool into hot reload/restart/build (#57510)
Reland: #56167
2020-05-18 12:47:18 -07:00
Jonah Williams
27a6705aa4 [flutter_tools] chunk the hashing of large files (#57506)
For files larger than 250 KB (roughly the size of framework.dart), chunk the conversion. This may be important for large assets like images.
2020-05-18 12:45:20 -07:00
stuartmorgan
b07516875d Remove TRANSFORM from Linux CMake files (#57515)
The Linux CMakeLists.txt are intended to be compatible with 3.10, but
accedintally used a list construct that wasn't added until 3.12. This
adds a custom replacement function.

This makes the build compatible with 3.10 as originally intended.
2020-05-18 12:42:01 -07:00
Christopher Fujino
06cd79d7df [flutter_tools] Add additional bash entrypoint for running dart sdk directly (#57257) 2020-05-18 12:38:09 -07:00
Andrey Gordeev
4d8d0f5604 Expect a generic State instead of implementation (#57500) 2020-05-18 12:37:02 -07:00
LongCatIsLooong
89a00fc745 fix segment hit test behavior (#57461) 2020-05-18 10:42:02 -07:00
Jose Alba
0423809c2f Value Indicator uses Global position (#57327)
* Value Indicator uses Global position when calculating horizontal position

* fixed test

* fixed analyzer

* Made globalCenter variable and added comments
2020-05-18 13:22:31 -04:00
engine-flutter-autoroll
9e2775fe1b Roll engine aafd9f72283f..90f45bd3efce (4 commits) (#57499) 2020-05-18 10:07:04 -07:00
Ferhat
a4ca9d7e7d Resolve skip (#57240) 2020-05-18 10:06:41 -07:00
Jonah Williams
8e765c7f6a [flutter_tools] put system clock on globals (#57447) 2020-05-18 09:56:22 -07:00
Jonah Williams
49ad67ccf0 [flutter_tools] minor cleanups to try catch (#57446)
- OsError now implements exception, remove workaround.
- Prefer is check to catching TypeError
2020-05-18 09:38:22 -07:00
stuartmorgan
30d405c794 Temporarily allow pluginClass: none on desktop (#57498)
Treats 'pluginClass: none' as equivalent to having no 'pluginClass'
entry on the desktop platforms, to satisy stable channel plugin
validation of Dart-only desktop plugin implementations. See
issue for full details.

Part of https://github.com/flutter/flutter/issues/57497
2020-05-18 09:26:37 -07:00
Tianguang
5a3104b36a Update flutter_gallery_assets to ^0.2.0 (#57328)
* Bump flutter_gallery_assets version to ^0.2.0.

* Run `flutter update-packages --force-upgrade`.

* Add comment.

* Remove duplicate key.
2020-05-18 18:26:18 +02:00
stuartmorgan
25e9d0494b Add Linux GTK artifacts to unpack list (#57452)
To simplify development of the in-progress GTK embedding, which will
replace the GLFW embedding on Linux, add the GTK artifacts to the unpack
list. This means that until the transition, both the GLFW and GTK
artifacts will be unpacked.

Part of #54860
2020-05-18 09:26:07 -07:00
stuartmorgan
f991308e3e Fix CMake invocation for 3.10 compat (#57415)
The -S/-B format of specifying source and build directories wasn't added
until 3.13. For 3.10 compatibility, use the older form of having the
working directory as the build directory, and the last argument as the
source directory.

Fixes #57409
2020-05-18 09:25:28 -07:00
Jonah Williams
b19b744bb7 [flutter_tools] check for Runner.sln when parsing for plugins (#57392)
Throw a toolExit if the windows plugin logic runs on an invalid windows project. Update the supported project check to validate the existence of a Runner.sln file
2020-05-18 09:24:51 -07:00
Andre
6294dd59bb Make _RenderButtonBarRow.constraints null aware (#57261) 2020-05-18 09:07:02 -07:00
Ayush Bherwani
f2c12d7e79 Add ExpansionTile.childrenPadding property (#57291) 2020-05-18 09:05:49 -07:00
Tomohiro Hattori
b70301fe08 fix typo (#57487) 2020-05-18 09:02:01 -07:00
engine-flutter-autoroll
64f0c56a93 Roll engine 2bd71fb60a43..aafd9f72283f (9 commits) (#57473) 2020-05-18 08:57:02 -07:00
Hans Muller
750dbe0954 ThemeData.brightness == ThemeData.colorScheme.brightness (#56956) 2020-05-18 08:52:02 -07:00
engine-flutter-autoroll
f64f6e2b6b Roll engine aaf9e79f1d29..2bd71fb60a43 (52 commits) (#57402) 2020-05-18 02:42:01 -07:00
Jim Graham
5c78e723fb Protect the deletion of the local engine temp dir in case it is already deleted (#57345) 2020-05-18 02:37:03 -07:00
Pedro Massango
07f9563dac Add autofill support for TextFormField (#57332) 2020-05-18 02:32:02 -07:00
Cristian Zazo
e8a7dc466b Fix Autofill example (#57319) 2020-05-18 02:27:01 -07:00
Michel Feinstein
7e26a1d832 Fixed a typo. (#57412) 2020-05-18 02:22:10 -07:00
Alexandre Ardhuin
d42dcf2edd add @factory to create* methods (#57299) 2020-05-18 02:22:05 -07:00
Rene Floor
79ad2d2e20 correctly dispose listeners by image widget (#57201) 2020-05-18 02:17:02 -07:00
stuartmorgan
8abf0a6d8c Switch to CMake for Linux desktop (#57238)
Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja.

Also updates doctor to check for cmake and ninja in place of make.

Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue.

Fixes #52751
2020-05-16 15:07:34 -07:00
Ethan Saadia
2b2bbfa69f Add option for ExpansionTile to maintain the state of its children when collapsed (#57172) 2020-05-16 15:07:02 -07:00
Zachary Anderson
859f2f9bd4 Update packages (#57321) 2020-05-16 15:02:06 -07:00
Ian Hickson
e536774436 Add more documentation to addTimingsCallback (#56952) 2020-05-16 15:02:02 -07:00
liyuqian
88ddde4c81 Remove obsolete UpdateCounted prefix (#57167) 2020-05-16 14:57:08 -07:00
Jonah Williams
631087d83b [flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00
Enol Casielles Martinez
e7b6b52102 avoid AnimatedBuilder rebuilding widget (#55832) 2020-05-16 14:52:08 -07:00
Jonah Williams
afdc440840 [flutter_tools] surface missing assets originating package (#55701) 2020-05-16 14:52:04 -07:00
engine-flutter-autoroll
b026c3667a Roll engine 50e55cf69e8a..aaf9e79f1d29 (2 commits) (#57269) 2020-05-16 14:47:07 -07:00