19502 Commits

Author SHA1 Message Date
Jonah Williams
a1636b6fef
Revert "[flutter_tools] always initialize the resident runner from dill (#52497)" (#58193) 2020-05-28 16:28:02 -07:00
liyuqian
0cca3c1d62
Mark non-flaky test as such (#58112) 2020-05-28 15:40:12 -07:00
Hansol Lee
e853155c7e
Error message when size has not been set in RenderBox's performLayout should be well versed (#58151) 2020-05-28 15:03:01 -07:00
engine-flutter-autoroll
525c5ccde8
Roll Engine from 2b616caad05c to c86dcac156cd (7 revisions) (#58180) 2020-05-28 14:53:01 -07:00
stuartmorgan
eacd1c8de4
Update Windows template version (#58189)
PR #57749 included changes to the way the project interacts with the
build process (e.g., bundling the necessary library), so should have
incremented the template version to trigger the messaging to developers.
2020-05-28 13:38:31 -07:00
Tong Mu
60f1aa25d3
Add mouse cursor API to widgets (phase 1) (#57628)
* Adds default cursor and/or mouseCursor property to a number of widgets.
* Adds `MaterialStateMouseCurrsor`.
2020-05-28 13:16:31 -07:00
Yegor
be5b5c898c
add a backward variant of BenchCardInfiniteScroll (#58140) 2020-05-28 12:28:17 -07:00
stuartmorgan
9989c54cb1
Add release and profile support for Windows (#57749)
Builds and bundles an 'app.so' containing AOT data, and downloads and packages the release/profile artifacts for those builds, rather than always using the debug artifacts.

Fixes https://github.com/flutter/flutter/issues/38477
Fixes https://github.com/flutter/flutter/issues/39664
2020-05-28 12:17:56 -07:00
stuartmorgan
ca0d60087b
Start from a clean slate when bundling Linux build (#58174)
BundleUtilities apparently doesn't do build-system-style timestamp
analysis when deciding what to copy, and instead just doesn't copy
things that are already present. This cleans that bundle directory on
each build, so that it includes the up-to-date library versions.

Since this is just copying from build artifacts, this is very fast; the
build steps themselves are not affected.

Fixes https://github.com/flutter/flutter/issues/58049
2020-05-28 12:14:57 -07:00
Jonah Williams
52db5e29f1
[release] remove .dart_tool directory from uploaded zip (#58135)
Fixes #58003

The .dart_tool directory can contain build assets, as well as the package_config.json file - the replacement for .packages. Remove it for the same reason we remove .packages
2020-05-28 12:07:11 -07:00
Jonah Williams
d30c355d24
[flutter] allow loading either NOTICES or LICENSE (#58131)
To make #57871 easier to land, add support for loading either LICENSES or NOTICES, preferring the later.
2020-05-28 12:06:52 -07:00
Shi-Hao Hong
39ffce3e36
Update stocks example to use l10n.yaml workflow (#58121) 2020-05-28 12:03:02 -07:00
Jonah Williams
7cdf26d0dc
[flutter_tools] forward flutter format to dart format and deprecate (#57829) 2020-05-28 11:28:08 -07:00
Onat Çipli
4f0c82b7a3
fixes isAlwaysShown material scrollbar.dart (#54128) 2020-05-28 11:23:05 -07:00
engine-flutter-autoroll
8cb6d5edbf
Roll Engine from 2663be837081 to 2b616caad05c (2 revisions) (#58136) 2020-05-28 11:18:08 -07:00
chunhtai
7e2f555d1b
fix route annoucement for first route and last route (#57339) 2020-05-28 11:18:05 -07:00
Jonah Williams
e05a67f068
[devicelab] less sensitivity to whitespace in flutter_performance_test testing (#58175) 2020-05-28 11:12:52 -07:00
engine-flutter-autoroll
5663e02645
Roll Engine from 1a8349888e97 to 2663be837081 (16 revisions) (#58111) 2020-05-27 15:32:01 -07:00
Greg Spencer
379e11b641
Update the flutter script's locking mechanism and follow_links (#57590)
Update the flutter and dart scripts' locking mechanism and follow_links function to be more robust and support more platforms.

This adds support for using mkdir as a fallback if the system doesn't have flock instead of using shlock, since shlock doesn't work on shared filesystems.

It also fixes a problem in the follow_links function where it failed when the link resolved to the root directory.
2020-05-27 15:30:46 -07:00
Greg Spencer
8ef2915453
Add MediaQueryData.navigationMode and allow controls to be focused when disabled. (#54919)
This adds a new navigationMode to the MediaQueryData that indicates how focusable controls should behave under different navigation modes, currently with two modes: NavigationMode.traditional, and NavigationMode.directional.

It may seem like focusing a disabled control is not desirable, but this is useful for user interfaces that use DPAD navigation because if a control gets disabled, losing focus is disruptive to the user, and it is difficult to control where the focus will end up unless it is done explicitly.
2020-05-27 15:30:19 -07:00
Jose Alba
bd06749edc
Slider value indicator gets disposed if it is activated (#57535) 2020-05-27 15:27:01 -07:00
Jonah Williams
8443f7cfd3
Revert "[flutter_tools] write test to convince self of lack of timing issue (#58011)" (#58123)
This reverts commit f77c669d687c11d6aca81f053bbf028adc59794e.
2020-05-27 14:16:12 -07:00
Jonah Williams
f77c669d68
[flutter_tools] write test to convince self of lack of timing issue (#58011)
In #55864 a race condition was described where a done event is received before we finish connecting. This cannot happen, since async functions begin synchronously and the flag isWaitingForVm is tripped immediately, keeping onDone from exiting.
2020-05-27 12:47:30 -07:00
stuartmorgan
27e652c882
Fix Linux plugin template build visibility (#58069)
The CMake plugin build wasn't setting visibility to hidden by default,
which meant that plugins exported everything by default. This would make
bad interactions between plugins much more likely; only the intended API
should be exported by the shared library.
2020-05-27 10:55:34 -07:00
Ayush Bherwani
8b63c65436
[SwitchListTile] adds controlAffinity property (#58037) 2020-05-27 10:32:03 -07:00
Jim Graham
3373a4042a
print checksum differences when detected by --verify-only (#58064) 2020-05-27 10:31:15 -07:00
engine-flutter-autoroll
9d7116cd84
Roll Engine from 9ce1e5c5c7e7 to 1a8349888e97 (69 revisions) (#58031) 2020-05-27 10:27:05 -07:00
Michael Goderbauer
4945a92fa6
Link to migration guide tempalte from pull request template (#58027) 2020-05-27 10:22:01 -07:00
Dan Field
98ce4a5dfe
Remove invalid local from macos_assemble.sh (#58030)
When you run this, bash complains that `local` is only valid in functions. Gets rid of that extraneous warning.
2020-05-27 10:19:17 -07:00
Justin McCandless
066c5def0a
Consistent American spelling of 'behavior' (#58016) 2020-05-27 10:17:02 -07:00
Zachary Anderson
29736f6fea
[flutter_tools] Put a heap size limit on the frontend_server (#58039) 2020-05-27 10:12:24 -07:00
Kirill
e766190556
Deleted deprecated profile func and profile.dart (#57841) 2020-05-27 10:12:04 -07:00
Emmanuel Garcia
4465ff9e3d
Prevent building non-android plugins in build aar (#58018) 2020-05-27 10:11:36 -07:00
Jonah Williams
8432204194
[flutter_tools] throw if asked to build release for x86_64 (#57874) 2020-05-27 10:11:15 -07:00
Jonah Williams
a926715dac
[flutter_tools] URI encode dart-define values (#57873) 2020-05-27 10:11:04 -07:00
Jonah Williams
ba847d54f0
[flutter_tools] validate android arch and build number (#57830) 2020-05-27 10:10:51 -07:00
Jonah Williams
600338286f
[flutter_tools] add vm service method to pull SkSL (#57813) 2020-05-27 10:10:41 -07:00
Jonah Williams
f640ad6914
[flutter_tools] ensure emulator command does not crash with missing avdmanager (#57703) 2020-05-27 10:10:30 -07:00
Jonah Williams
ffc56ff735
[flutter_tools] hide all development tools (#57690) 2020-05-27 10:10:19 -07:00
Jenn Magder
43f18f36ef
Change release archive check to warning (#57688) 2020-05-27 10:08:41 -07:00
Jenn Magder
d9adfe3f7e
Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects (#57701) 2020-05-27 10:08:09 -07:00
Jenn Magder
03d22501a6
Remove unused integration test iOS directory (#57624) 2020-05-27 10:07:45 -07:00
Neevash Ramdial
428ce0815b
[flutter_tools] Support latest IntelliJ via Jetbrain toolbox (#57963) 2020-05-27 10:07:28 -07:00
Tim Sneath
356b958f66
Update platform_view.dart (#57516) 2020-05-27 10:07:05 -07:00
chunhtai
68037a23af
Improve error message when using popuntil with bad predicate (#57247) 2020-05-27 10:02:05 -07:00
Greg Spencer
af9b6a6efa
Update snippets README.md to include more detail (#57152)
Just adding some more details to the snippets README.md file about testing snippets.
2020-05-26 09:17:55 -07:00
Ayush Bherwani
b3434459d5
[CheckboxListTile] exposes contentPadding property of ListTile. (#57868) 2020-05-26 07:07:02 -07:00
Devon Carew
9d58a87066
fix a typo in trace events for the image cache (#57821) 2020-05-22 22:37:01 -07:00
liyuqian
721927efd3
Use pub inside the Flutter directory (#57704) 2020-05-21 17:52:02 -07:00
James D. Lin
c6f7792311
[flutter tools] Improve messages when we fail to connect to the Observatory (#57355) 2020-05-21 17:47:02 -07:00