Commit Graph

24470 Commits

Author SHA1 Message Date
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
Coin
e5bd2b3d55 Make CircularProgressIndicator's animation match native (#50412) 2020-05-16 14:47:03 -07:00
nturgut
32547dcc7e Revert " Bring back paste button hide behavior 3 (#57139)" (#57286)
This reverts commit 8de07d5527.
2020-05-15 10:42:37 -07:00
Chase Latta
3b4f686436 add missing deps to flutter_test BUILD.gn (#57270) 2020-05-15 09:34:22 -07:00
engine-flutter-autoroll
800e951160 50e55cf69 Roll src/fuchsia/sdk/mac from Vepm4... to 61d8Z... (flutter/engine#18391) (#57258) 2020-05-14 17:47:01 -07:00
Jose Alba
a1a5781953 Added Dartpad and Image examples to Slider and RangeSlider docs (#57047) 2020-05-14 17:42:01 -07:00
Tong Mu
5fa1c60b17 MouseCursor uses a special class instead of null to defer (#57094)
* Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
* Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
* Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
2020-05-14 15:54:26 -07:00
Yegor
c81449e5ab Allow Recorder override shouldContinue (#57039) 2020-05-14 15:17:02 -07:00
engine-flutter-autoroll
573625b743 Roll engine ae2222f47e78..47513a70eb6d (21 commits) (#57252)
* 9e3e3ba68 [web] Represent CSS identity transforms as 'none' instead of null (flutter/engine#18288)

* 80fa77eb3 Roll src/third_party/skia 3ebadcc98eab..056d543c91e0 (8 commits) (flutter/engine#18344)

* 480d8e458 Fix scenario platform view tests on Android (flutter/engine#18332)

* 03856642d Roll src/third_party/dart d6fed1f62444..29c00e28f350 (16 commits) (flutter/engine#18347)

* 8371b44e5 Roll src/third_party/skia 056d543c91e0..71903997254f (7 commits) (flutter/engine#18350)

* f321613e5 Add guards on FlValue methods to check for NULL values (flutter/engine#18226)

* dc93db5ab Move FlutterLoader disk I/O to a background thread to comply with Android strict mode (flutter/engine#18241)

* bf1287c12 null-annotate lerp.dart, annotations.dart, channel_buffers.dart, hash_codes.dart (flutter/engine#18348)

* 960035462 Add FlBasicMessageChannel (flutter/engine#18189)

* df2dface3 Roll src/third_party/skia 71903997254f..6c3db04c8b03 (9 commits) (flutter/engine#18361)

* 5ad4f9ee4 Add FlJsonMessageCodec (flutter/engine#18221)

* 84ea89262 Roll src/third_party/skia 6c3db04c8b03..7156db260239 (4 commits) (flutter/engine#18370)

* f848069d4 Roll src/third_party/dart 29c00e28f350..f99631b12c4a (29 commits) (flutter/engine#18373)

* c791ce9b1 Roll src/fuchsia/sdk/mac from gOhJW... to Vepm4... (flutter/engine#18377)

* 5b62a6351 Roll src/third_party/dart f99631b12c4a..e0257265d34e (2 commits) (flutter/engine#18378)

* 0b4100946 Roll src/third_party/skia 7156db260239..5b2ede3d0d44 (8 commits) (flutter/engine#18380)

* 08b61ce56 Delete unused decode UTF-8, JSON functions (flutter/engine#18360)

* 73d835cbd Roll src/third_party/dart e0257265d34e..2676764792b2 (4 commits) (flutter/engine#18383)

* 9e166fbf4 Roll src/third_party/skia 5b2ede3d0d44..39ec60aa8348 (5 commits) (flutter/engine#18384)

* 2cdbc7f92 Remove pipeline in favor of layer tree holder (flutter/engine#18285)

* 47513a70e Roll src/third_party/skia 39ec60aa8348..79c5674a4ca1 (3 commits) (flutter/engine#18389)
2020-05-14 15:12:57 -07:00
creativecreatorormaybenot
1239ddd7dc Fix docs (#57195) 2020-05-14 14:47:03 -07:00
Darren Austin
0bcca42bba Honor the InputDecoratorTheme in the text input fields used by the Date Pickers. (#57189) 2020-05-14 14:42:02 -07:00
Jesse
2da08f4c10 Fix typo in 'flutter create --list-samples' help (#57005) 2020-05-14 14:37:03 -07:00
Tong Mu
fb94d3fb78 Animation sheet recorder (#55527) 2020-05-14 14:32:03 -07:00
Zachary Anderson
533cd7a6d1 [flutter_tools] Delete system temp entries on fatal signals (#55513) 2020-05-14 14:27:02 -07:00
liyuqian
ea0c73c1dc Update performance_others.md 2020-05-14 14:11:53 -07:00
liyuqian
bd03ef7ca0 Create performance_others.md 2020-05-14 14:08:28 -07:00
liyuqian
57e16a59ac Rename performance.md to performance_speed.md
So we can have another template for non-speed performance issues (e.g., memory, app size, memory).
2020-05-14 13:59:49 -07:00