Commit graph

13587 commits

Author SHA1 Message Date
Justin McCandless 533c6b29b4
Show hint when label is floating (#60394) 2020-07-01 22:33:02 -07:00
Per Classon b35f2cd4ca
Enable shouldCapTextScaleForTitle by default (#60684) 2020-07-01 10:53:01 -07:00
Gary Qian 0e735e4bca
Expose ComputePlatformResolvedLocale (#58482) 2020-06-30 18:54:02 -07:00
gaaclarke e8670de011
Revert "Tweaking Material Chip a11y semantics to match buttons (#60141)" (#60645) 2020-06-30 18:28:01 -07:00
Justin McCandless 8ab513a0c9
InteractiveViewer scroll direction (#60523) 2020-06-30 16:23:01 -07:00
Jonah Williams c543db70dc
[flutter_tools] add null-safety flags to dill cache location (#60633)
initialize from dill does not handle changing null-safety flags and will incorrectly use the nullability mode of the last compile. Add all extra frontend options to the unique name prefix for the flutter run dill cache to avoid this situation.
2020-06-30 15:49:31 -07:00
Chris Yang 07e24f6dad
[flutter_tool] fix ide-config crash because of no android key (#60617) 2020-06-30 13:01:47 -07:00
Jonah Williams 7ca324ac01
[flutter_tools] support sound null-safety mode for the web (#60570)
In web debug mode, infer sound null safety by default. When sound null safety is enabled, provide a separate dill and precompiled Dart SDK. Release builds do not need this setting since we run dart2js from source.

Fixes #59873
2020-06-30 12:29:42 -07:00
Jonah Williams 2188196125
[flutter_tools] ensure flutter daemon can exit correctly when app fails to start (#60615)
The flutter daemon unconditionally waits for the appFinished signal, even if startup failed. Ensure this future is correctly completed if there is a failure in ResidentRunner.run and not just ResidentRunner.attach. Adds regression tests for run release, debug, debug web, and release web. Adds missing try catch in cold runner startup.

Manually tested with release/debug on Android and release/debug on web.

Fixes #60613
2020-06-30 12:26:18 -07:00
James D. Lin cf8fbc363a
[flutter tools] Revert desktop device name changes and print the category instead (#60395) 2020-06-30 11:28:02 -07:00
Greg Spencer ca713557d7
New license page with fix for zero licenses. (#60552)
This amends #57588 by adding code that also handles the zero license case, and adds translation strings for that.
2020-06-30 09:15:04 -07:00
Christopher Fujino b15798fa98
Revert "Revert "[flutter_tools] update libimobiledevice (#59512)" (#60551)" (#60569)
This reverts commit 09cca73aee.
2020-06-29 18:29:58 -07:00
Jonah Williams 55e3770f3e
[flutter_tools] remove globals from base/android (#60480)
Remove unnecessary use of globals from base tests, and an android test. This changes the test to avoid bouncing through the global getters, which can lead to incorrectly cached zone values. Switches the memory filesystem implementation to the test implementation
2020-06-29 15:06:58 -07:00
featherless c239d952a5
Annotate RawMaterialButton as a Material > Button category. (#60545) 2020-06-29 14:58:01 -07:00
Jenn Magder d5225a560d
Fix daemon device discovery crash when Xcode isn't installed (#60546) 2020-06-29 14:54:19 -07:00
Christopher Fujino 09cca73aee
Revert "[flutter_tools] update libimobiledevice (#59512)" (#60551)
This reverts commit 32000db52e.
2020-06-29 13:44:38 -07:00
Christopher Fujino 32000db52e
[flutter_tools] update libimobiledevice (#59512) 2020-06-29 13:17:04 -07:00
chunhtai 163a09a535
Revert "fix paint order of ink feature (#59108)" (#60530)
This reverts commit 1e843bb6ba.
2020-06-29 10:19:43 -07:00
Darren Austin ed05fd7517
Date picker string translations (#60405) 2020-06-29 10:08:02 -07:00
Darren Austin 812c189de8
Fixed a problem with date calculations that caused a test to fail in a non-US time zone. (#60396) 2020-06-29 10:03:02 -07:00
Justin McCandless f6cd2d4b35
Don't access clipboard passively on iOS (#60316) 2020-06-29 09:43:03 -07:00
Dan Field 06d0cd514e
Allow detection of images using more memory than necessary (#59877) 2020-06-26 15:34:41 -07:00
Kate Lovett fd7a72ee6f
Ensure FloatingActionButtonLocations are always within safe interactive areas (#60248) 2020-06-26 15:18:02 -07:00
Jenn Magder a4fa61b4f1
Use ephemeral ports for iOS port forwarding (#60381) 2020-06-26 15:02:05 -07:00
Nolan Scobie da489c337a
Tweaking Material Chip a11y semantics to match buttons (#60141) 2020-06-26 17:24:27 -04:00
MH Johnson 3ce2691092
[Semantics] Update bottom nav semantics tests to use matches semantics (#60329) 2020-06-26 14:08:02 -07:00
rami-a 7d8d086371
Add property to theme dial label colors (#60383) 2020-06-26 16:38:21 -04:00
Jonah Williams e1538d1b88
[flutter_tools] last pass on general.shard unit tests (#60263)
Last batch of test fixes for general shard.
2020-06-26 13:36:06 -07:00
Yegor 7518a146c2
Do not call Picture.toImage on web during shader warm-up (#60379) 2020-06-26 13:33:02 -07:00
Michael Goderbauer 769468298b
Do not return partial semantics from tester.getSemantics (#60367) 2020-06-26 11:03:02 -07:00
Alberto Monteiro aa0382e95d
ReorderableListView should not reorder if there is only a single item present (#59631) 2020-06-26 08:08:01 -07:00
Jonah Williams 4bb6096086
[flutter_tools] surface null safety/experiment flags in attach (#60317)
Missed this one. Needed for google3 and add2app workflows
2020-06-25 15:44:57 -07:00
chunhtai 3e5c700fd7
Add material page, cupertino page, and transition page classes (#58511)
* Add material page, cupertino page, and transition page classes

* update

* update comments

* fix test

* addressing comments

* make page getter private
2020-06-25 14:47:01 -07:00
chunhtai 1e843bb6ba
fix paint order of ink feature (#59108) 2020-06-25 12:53:03 -07:00
Jonah Williams 82a6f9bf0b
[flutter_tools] remove most use of global packages path (#60231)
The global packages path could cause tests to fail when it would be overriden to unexpected (in test setup) values. Remove most usage and make it a configuration on buildInfo, along with most other build information. Cleanup the asset builder to require the .packages path and the resident runners to no longer require it, since they already have the information in build_info.

It needs to stick around for the fuchsia deps we do not control.

Filled #60232 for remaining work.
2020-06-25 12:52:14 -07:00
Greg Spencer c68758fab1
Implement delayed key event synthesis support for Android (#59358) 2020-06-24 21:23:02 -07:00
Shi-Hao Hong 17cb865ec6
Revert "Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once (#58686)" (#59992)" (#60245) 2020-06-24 17:03:01 -07:00
Jenn Magder 0486cebd29
Make module run script names unique (#60228) 2020-06-24 16:52:01 -07:00
Jonah Williams 5cfcae004a
[flutter_tools] fix tests that depend on correct cache existance (#60241)
These tests will hit the real Cache, failing if the flutter root has been modified
2020-06-24 16:45:46 -07:00
Jonah Williams a0334fb500
[flutter_tools] maintain file manifest for create (#59706)
First pass at fixing #57985 and implementing #59602

This doesn't have enough metadata to be useful for IDEs yet, but it prevents the issue from getting worse while we iterate on it.
2020-06-24 16:20:21 -07:00
Jonah Williams 2a7ee930c3
[flutter_tools] Update WebAssetServer to avoid context, fix tests (#60224)
WebAssetServer could fail if some of the global statics it depended on were initialized in a different order. Fix this by removing globals.

Delete dwds startup test that needs to spawn a real server.
2020-06-24 16:19:49 -07:00
chunhtai 62378a3755
fix ink feature tries to get parent transformations when it is in the… (#60129) 2020-06-24 13:53:01 -07:00
Ayush Bherwani 3377781798
[AppBar] adds toolbarHeight property to customize AppBar height (#59405) 2020-06-24 13:08:01 -07:00
Kate Lovett 4d2ddb9199
Doc Updates (#60222) 2020-06-24 12:28:01 -07:00
stuartmorgan d9902a5474
Consider the Linux template stable (#60163)
Remove the version checking and associated warnings. The Linux template
and build process will now be subject to more typical Flutter breaking
change policy, and should no longer require regularly deleting and
recreating the platform directory.
2020-06-24 12:23:57 -07:00
Justin McCandless 42e67550af
Update inaccurate documentation for isUtf16Surrogate method (#60219) 2020-06-24 12:18:02 -07:00
Jonah Williams f8c9e1bb67
[flutter_tools] de-flake integration tests (#60221)
The vm_service_integration test flake is caused by trying to call the method before the framework is initialized (and the extension added). The run errors failure is caused by the error taking some time to propagate to the harness
2020-06-24 12:14:58 -07:00
David Worsham db48cadd0d
Remove unused physicalDepth code (#60152) 2020-06-24 11:33:01 -07:00
Jonah Williams 9e30d51ac6
[flutter_tools] start fixing command tests (#60172) 2020-06-24 11:26:36 -07:00
Chris Yang 95b98dc2c2
flutter create . on plugins also regenerates files for platforms supported in pubspec.yaml (#60159) 2020-06-24 10:38:03 -07:00