Commit Graph

18842 Commits

Author SHA1 Message Date
Daniel Iglesia
27eee14c6e Add DragTarget callback onAcceptDetails, plus helper class DragTarget… (#55257) 2020-05-01 14:18:58 -07:00
Greg Spencer
6a75dc449e Add onSecondaryTap to gesture recognizer and gesture detector. (#55494) 2020-05-01 13:04:01 -07:00
Jonah Williams
f1c24ed91d [analyze] fix const lints (#56139) 2020-05-01 12:48:53 -07:00
Ferhat
92df6f50b2 Add check for iOS/MacOS for target platform (#56081) 2020-05-01 12:04:35 -07:00
Jonah Williams
d6cbf2591a [flutter_tools] don't recreate license, manifest, asset if unchanged (#56107)
Avoid syncing unchanged versions of these files during hot restart/reload. This happens if the asset bundle needs to be built but produces identical manifests/licenses due to only asset contents changing
2020-05-01 12:03:31 -07:00
Kate Lovett
487954a861 Adding tabSemanticsLabel to CupertinoLocalizations (#55336) 2020-05-01 11:09:02 -07:00
Jose Alba
0549ab2390 Removed useV2 Slider flag (#55857) 2020-04-30 15:19:01 -07:00
Jonah Williams
368da5bb59 [flutter_tools] support bundling SkSL shaders in flutter build apk/appbundle (#56059)
Support bundling SkSL shaders into an android APK or appbundle via the --bundle-sksl-path command line options. If provided, these are validated for platform engine revision and then placed in flutter_assets/io.flutter.shaders.json
2020-04-30 13:39:08 -07:00
Ferhat
0d452b8305 [web] Change display mode of PWA default to standalone (#56056)
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jonah Williams
bd6ccb606a [flutter_tools] android device stopApp handles null apk (#55990)
The resident runner does not check if the ApplicationPackage is null when trying to stop the app. Update AndroidDevice.stopApp to handle this case by returning false.

The package will be null when flutter attach is used.
2020-04-29 16:31:42 -07:00
Jonah Williams
0889e14361 [flutter_tools] increase stopApp timeout for FlutterDevice.exitApps (#55984) 2020-04-29 15:08:34 -07:00
Matt Mohandiss
1e150c5d95 Update finders.dart (#55936)
Fixed #55858
2020-04-29 14:33:47 -07:00
Jonah Williams
a58d50deb1 [flutter_tools] allow pulling performance data from assemble (#55699) 2020-04-29 13:04:59 -07:00
Jenn Magder
46a5c550db Add iOS simulator log parse test (#55808) 2020-04-29 13:02:39 -07:00
Jonah Williams
534b0608ce [flutter_tools] remove vm service (#55794)
Finishes the gradual vm service migration by deleting the flutter tooling's vm_service
2020-04-29 11:52:46 -07:00
Jonah Williams
c55b32204e [flutter_tools] fix performance of tree-shake-icons (#55417)
Fixes the performance issue with tree-shake-icons and filters to ttf mime type. Does not change default or error behavior.
2020-04-29 11:43:47 -07:00
Jonah Williams
72397fd448 [flutter_tools] Lazily inject logger into web devices (#55961)
Constructing the WebDevices with the global logger too early will lead to them grabbing the StdoutLogger when running in daemon mode. This prevents IDEs from seeing the correct debug message.
2020-04-29 11:35:40 -07:00
Tom
1d0999d011 Add support for dismissing cupertino modal on barrier tap (#50915) 2020-04-29 11:19:02 -07:00
Anthony
1b6711277e Fix default opacity assignments for unselected and selected icons in NavigationRail (#55902) 2020-04-29 09:39:03 -07:00
guylivneh
4dd3435b78 Add a property to Material icon button to customize the splash radius (#55761) 2020-04-29 09:34:03 -07:00
michaellee8
9d770c1091 [flutter_tools] fix pm serve ipv6 linklocal addr issue (#55664) 2020-04-29 09:29:02 -07:00
Katarina Sheremet
3b067049ad Support tags in testWidgets (#55141) 2020-04-28 15:49:01 -07:00
Jonah Williams
7b1d24216e [flutter_tools] Make packages not required for local engine (#55882) 2020-04-28 14:53:53 -07:00
kwkr
1ac09088c3 Fix/use contains ignoring whitespace (#55887) 2020-04-28 13:12:12 -07:00
Justin McCandless
43ce3fd988 TextField enabled fix (#55775) 2020-04-28 10:49:02 -07:00
Mehmet Fidanboylu
eddba97d9a Fix behavior change due to incorrect initial floating setting (#55651) 2020-04-28 10:44:03 -07:00
Gary Qian
6cf9c7cc17 Prevent use of TextInputType.text when also using TextInputAction.newLine via assert (#55636) 2020-04-28 10:39:03 -07:00
James D. Lin
b7fd24a7dc [flutter tools] Move _informUserOfCrash into crash_reporting.dart (#55614) 2020-04-28 10:34:03 -07:00
Jonah Williams
c15aa87442 restore quit timeout, adjust some integration test behaviors (#55812) 2020-04-28 10:05:52 -07:00
Jonah Williams
ffcf1db3ca [flutter_tools] reland migrate FlutterViews to package:vm_service (#55797)
Move FlutterView and related RPCs to the package:vm_service implementation. Update some getIsolate calls with catchError to match previous behavior.

- Updates tests that were previously mocking FlutterViews to use real views
- Moves the FlutterView cache from VM to FlutterDevice
- Catch SentinelException during Isolate.kill
2020-04-27 17:41:42 -07:00
Jenn Magder
5cc87a5ea5 Remove dead variable from xcode_backend (#55790) 2020-04-27 17:05:54 -07:00
Kaushik Iska
057a25cd45 [timeline] Sort timeline events before summarizing (#55771) 2020-04-27 16:34:02 -07:00
Jenn Magder
958ab9336f Revert "[flutter_tools] reland migrate FlutterView to new vmservice (#55774)" (#55788)
This reverts commit a18e6361cf.
2020-04-27 16:19:25 -07:00
Jonah Williams
a18e6361cf [flutter_tools] reland migrate FlutterView to new vmservice (#55774) 2020-04-27 15:54:59 -07:00
Jenn Magder
d40699a3b8 Remove v prefix in doctor version (#55773) 2020-04-27 15:48:22 -07:00
Emmanuel Garcia
e524a303a4 Print stdout and stderr when the ssh command failed (#55762) 2020-04-27 15:44:01 -07:00
Christopher Fujino
069dc9c72d [flutter_tools] catch ProcessException and throw ToolExit during upgrade (#55759) 2020-04-27 15:04:02 -07:00
Jonah Williams
2aa9016652 [flutter_tools] ensure etag headers are ascii (#55704) 2020-04-27 15:02:15 -07:00
michaellee8
34b8f830b8 [flutter_tools] add --dart-define option for fuchsia build (#55715) 2020-04-27 14:59:03 -07:00
Jose Alba
7eb3df4a11 Default to use V2 Slider (#55599)
* Instead of changing test I just flipped flag so the test uses the proper slider

* Use Depracated annotation

* Updated depracation notice

* Updated depracation notice again

* Ignore analyze issues

* flutter analyze .

* ignore analyzer

* // ignore: deprecated_member_use

* Ignoring notice

* indentation
2020-04-27 17:57:42 -04:00
Greg Spencer
7ab8767a5f Fix focus traversal regions to account for transforms. (#55600) 2020-04-27 14:54:04 -07:00
chunhtai
a60e4d1f36 Relands Fix FlutterError.onError in debug mode (#55500) 2020-04-27 14:49:03 -07:00
Jonah Williams
1ab3878996 [flutter_tools] support --enable-experiment in flutter test (#55564)
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Jonah Williams
07c451fea9 Revert "[flutter_tools] migrate FlutterView to new vm_service (#55341)" (#55772)
This reverts commit 2e50fd75eb.
2020-04-27 14:26:56 -07:00
Jonah Williams
2e50fd75eb [flutter_tools] migrate FlutterView to new vm_service (#55341)
Move FlutterView and related RPCs to the package:vm_service implementation. Update some getIsolate calls with catchError to match previous behavior.

- Updates tests that were previously mocking FlutterViews to use real views
- Moves the FlutterView cache from VM to FlutterDevice
- Catch SentinelException during Isolate.kill
2020-04-27 14:16:28 -07:00
rami-a
fc77aea34e Enable configuring minHeight for LinearProgressIndicator and update default to match spec (#55482) 2020-04-27 14:09:02 -07:00
Kaushik Iska
cb88d2a3af Revert "[timeline] Sort timeline events before summarizing (#55763)" (#55769)
This reverts commit 265168170d.

Co-authored-by: Kaushik Iska <kaushikiska@google.com>
2020-04-27 14:05:52 -07:00
Kate Lovett
be0076f3f9 Prioritize scrolling away nested overscroll (#55069) 2020-04-27 14:04:10 -07:00
Kate Lovett
c849ffd3b8 FlutterErrorDetails.context docs fix (#55001) 2020-04-27 14:04:04 -07:00
Kaushik Iska
265168170d [timeline] Sort timeline events before summarizing (#55763) 2020-04-27 14:03:43 -07:00