Commit Graph

29153 Commits

Author SHA1 Message Date
Jonah Williams
6620f831e9 fix dart docs for build (#67479) 2020-10-06 18:15:15 -07:00
Jonah Williams
e9c94e6c45 fix build analysis errors (#67476) 2020-10-06 17:41:21 -07:00
Alexandre Ardhuin
f1c1d944e3 fix nullability issues (#67443) 2020-10-06 17:07:05 -07:00
Justin McCandless
896c19a292 Characters docs (#67361) 2020-10-06 17:02:04 -07:00
Kate Lovett
b5562c1b19 [NNBD] More test migration for Cupertino & Painting (#67323) 2020-10-06 16:57:03 -07:00
Jonah Williams
ef6c720d40 [flutter_test] handle breaking change to test main (#67425)
* [flutter_test] handle breaking change to test main . Fixes #67382
2020-10-06 16:52:23 -07:00
Ian Hickson
8d923bf9a7 flutter_web_plugins cleanup and documentation (#67164) 2020-10-06 16:52:02 -07:00
Jonah Williams
d411242468 [null-safety] reland: migrate app side flutter driver to null-safety (#67441)
Reland: #67155

Fixes analysis error caused by landing of material migration, and g3 error caused by moving of fuchsia lib.
2020-10-06 16:51:37 -07:00
engine-flutter-autoroll
bdfef51414 Roll Engine from 443cd5a1e1b3 to 7e6191de077d (6 revisions) (#67442) 2020-10-06 13:52:02 -07:00
Hans Muller
1a08ce7400 Updated the remaining obsolete button references in flutter_gallery (#67437) 2020-10-06 13:21:08 -07:00
Michael Goderbauer
4fa4f91d5c Remove required for onRemove in InteractiveInkFeature.create (#67427) 2020-10-06 12:31:25 -07:00
Jenn Magder
e5131fa31b Increase device discovery timeout in devicelab health check (#67337) 2020-10-06 12:23:02 -07:00
Michael Goderbauer
582c67a125 Make CupertinoTabView restorable (#67169) 2020-10-06 11:03:13 -07:00
Jonah Williams
4818537044 Revert "[null-safety] migrate app dependencies of flutter driver (#67155)" (#67433)
This reverts commit e826442ef4.
2020-10-06 10:41:45 -07:00
Jonah Williams
e826442ef4 [null-safety] migrate app dependencies of flutter driver (#67155)
Ensures all of the libraries that the application side code import are migrated to null safety. full null safety migration is blocked by json rpc 2 and a breaking change to vm service client.
2020-10-06 10:30:15 -07:00
stuartmorgan
be6a368801 Improve Windows symlink instructions (#67029)
When the developer doesn't have permission to create symlinks, we
display specific instructions, but they were only correct for recent
versions of Windows 10. This improves them by:
- Giving the correct instructions for older versions.
- For recent versions, adds a command that will deep-link into the
  settings application so that developers don't have to figure out
  where/how to enable developer mode.

Fixes https://github.com/flutter/flutter/issues/66973
2020-10-06 08:32:54 -07:00
Nate Bosch
8ee2b2f1d1 Condense package:test_core imports (#67357)
Use the new single `src/platform.dart` import to pick up what is needed
to implement a test platform from both `test_api` and `test_core`.
2020-10-06 08:26:31 -07:00
Alexandre Ardhuin
555cb66ece fix tree (#67410) 2020-10-06 14:38:19 +02:00
Alexandre Ardhuin
f551178408 migrate material to nullsafety (#67166)
* migrate material to nullsafety

* address review comments

* address review comments

* fix build
2020-10-06 11:36:50 +02:00
engine-flutter-autoroll
aaa99f6d4e Roll Engine from 6e1e73d899b9 to 443cd5a1e1b3 (2 revisions) (#67381) 2020-10-06 00:47:04 -07:00
engine-flutter-autoroll
5d06e19e8e Roll Engine from 284ef2217dc9 to 6e1e73d899b9 (6 revisions) (#67378) 2020-10-05 23:42:02 -07:00
Michael Goderbauer
b3bd9e6924 Migrate more tests to null safety (#67360) 2020-10-05 19:52:03 -07:00
keyonghan
74c3ea4d41 Remove deployment to play store for linux case in deploy_gallery test (#67349) 2020-10-05 19:12:02 -07:00
Jonah Williams
734cc1a132 [flutter_tools] work around hostonly test (#67369)
Many of the host only devicelab tests were relying on doctor to download android dependencies.
2020-10-05 18:26:37 -07:00
Michael Goderbauer
42fa4f033b Migrate some more non-test utils for tests (#67351) 2020-10-05 18:12:04 -07:00
Michael Goderbauer
8998167d0f Make FlutterErrorDetails.exception non-nullable as documented (#67364) 2020-10-05 18:07:02 -07:00
Jonah Williams
1271447bbe [flutter_tools] remove globals from FlutterValidator, add documentation and move tests to new file (#67234)
Remove globals from the flutter validator class, and refactor the tests into a separate file. Applies some other cleanup like adding doc comments, and making the doctor validator work like it is documented to work - removing the gen_snapshot check if the artifact is not downloaded instead of downloading all android artifacts.

#47161
2020-10-05 17:58:56 -07:00
Jonah Williams
2474b07768 [flutter_tools] add more docs to cocoapods, move to globals (#67237)
Add some placeholder docs to the Cocoapods validator and Cocoapods class. Add the injected validator to globals. #47161
2020-10-05 17:57:48 -07:00
Ming Lyu (CareF)
277a72e3fe move resampler to handlePointerEvent and fix complex_layout_android__scroll_smoothness with PointerEvent (#66745) 2020-10-05 17:17:03 -07:00
Jonah Williams
c8466d0430 [flutter_tools] handle case where file is deleted by other program or running on read only volume (#66708)
* [flutter_tools] handle case where file is deleted by other program

* Add test cases

* Update file_system.dart

* Update file_system_test.dart

* fix import

* make a static on ErrorHandligFS

* add support for no exit on failure

* address comments

* update doc comment to file or directory
2020-10-05 17:00:07 -07:00
Kate Lovett
64c845c579 Re-land ScaffoldMessenger (#66504) 2020-10-05 18:59:12 -05:00
Jonah Williams
7f2ca5e532 [flutter_tools] refactor engine locator to its own class (#67274)
Make the logic for locating a local engine path part of its own class, add documentation, and update tests to cover engine source path locating too.

#47161
2020-10-05 16:25:47 -07:00
Darren Austin
2f74e30511 Fixed a problem with invalid dates when switching back to calendar mode in the date range picker. (#67159) 2020-10-05 16:05:48 -07:00
Justin McCandless
19b2aea608 InteractiveViewer table example improvements (#67314)
Improving IV table docs due to confusion in an issue.
2020-10-05 16:04:56 -07:00
Darren Austin
01e8c39534 Migrate gestures, physics and scheduler tests to null safety. (#62701) 2020-10-05 16:01:34 -07:00
engine-flutter-autoroll
f3d9bf7b7c Roll Engine from 948dd9702584 to 284ef2217dc9 (2 revisions) (#67358) 2020-10-05 15:57:02 -07:00
Jonah Williams
6180a4c179 [flutter_tools] fix documentation, globals, and todos in the android codebase (#66980)
Cleans up some undocumented classes and re-organizes the AndroidDevices class to avoid the need for the static testing only member. Adds a script for tracking globals.
2020-10-05 15:47:57 -07:00
engine-flutter-autoroll
5339cba6d9 Roll Engine from a8d7d97bef8c to 948dd9702584 (8 revisions) (#67347) 2020-10-05 14:52:03 -07:00
Kratos
b1df925b3c Update documentation for borderWidth/renderBorder on ToggleButtons (#67290) 2020-10-05 14:47:03 -07:00
Jonah Williams
186765b3a7 [flutter_tools] cleanups to plugin test cases (#67242)
Removes usage of global variables, expands documentation, and fixes some formatting inconsistencies. Increased test coverage for android plugin to prove it can determine the embedding version.
2020-10-05 14:45:39 -07:00
Alexandre Ardhuin
304e2c57d2 fix nullability issues (#67306) 2020-10-05 14:37:04 -07:00
Michael Goderbauer
c14ab91fe5 Reland "migrate some material files to nullsafety (#67078)" (#67318) 2020-10-05 13:54:36 -07:00
Jonah Williams
aa90dbe7f4 [flutter_tools] disable source maps by default for release builds, enable for run and with command line arg (#67331)
Disables source map production by default for build web. For web builds performed as a part of flutter run --release, enable the source maps, or allow force enabling with --source-maps command line flag.

fixes #67328
2020-10-05 13:24:51 -07:00
Abhishek Ghaskata
3a00c4e73c change the documentation of bottom navigation bar (#67218) 2020-10-05 12:22:03 -07:00
Jenn Magder
6e5f9ed94d Replace MockProcessManager with FakeProcessManager (#67019) 2020-10-05 12:21:43 -07:00
Kate Lovett
b42cf8a75b [NNBD] Migrate some Cupertino tests (#67086) 2020-10-05 12:17:03 -07:00
Tong Mu
2cdf2f0059 Treat hover events as normal pointer events, and bring them back to Listener (#63834) 2020-10-05 12:12:04 -07:00
Dan Field
2cdec25877 Reland dispose images when done (#67100) (#67177)
* Reland dispose images when done (#67100)

Changes since last time:

- Test for CanvasKit image rendering
  (https://github.com/flutter/flutter/pull/67176)
- Fix CanvasKit dispose impl
  (https://github.com/flutter/engine/pull/21555)
- Update internal google3 customer with a problematic ImageStream
  Listener impl (cl/335091311, cl/335459002)

This reverts commit 473358d93d.
2020-10-05 12:03:27 -07:00
Dan Field
ece2f98eb0 Remove goldens request timeout (#67316) 2020-10-05 10:15:09 -07:00
Jonah Williams
3a51bcb5c0 [flutter_tools] delete code related to reload method (#67279)
This functionality ultimately became the single widget reload optimization, which did not require a separate service protocol.
2020-10-05 09:57:10 -07:00