Commit graph

18982 commits

Author SHA1 Message Date
Jonah Williams cd7dfd0a0a
[flutter_driver] make timeline request in chunks (#58430)
Work-around large timeline data killing devicelab machines by requesting data in 1 second intervals and combining at the end. Non-breaking change to the driver API.
2020-06-01 13:58:44 -07:00
Jenn Magder f4d26a3b85
Change iOS device discovery from polling to long-running observation (#58137) 2020-06-01 12:33:01 -07:00
LongCatIsLooong bbb95e5787
EditableText.bringIntoView calls showOnScreen (#58346) 2020-06-01 12:08:01 -07:00
Greg Spencer 5267d98772
Revert flutter command to shlock when flock isn't available (#58281)
This reverts the flutter command to use shlock when flock isn't available. It seems that the mkdir method isn't as reliable as we want. I think that this is because the trap isn't always be executed, which is why I think that shlock uses PIDs to help it be more reliable. Unfortunately, that means that we're back to not working over network shares (which is where things were before I moved to the mkdir method, so not really a regression). I did leave in the mkdir method for platforms that have neither flock nor shlock (which should be very few and far between, but still), so at least we'll do some locking there now.
2020-06-01 11:24:53 -07:00
Ekaterina Gerasimova 3115c14e43
Fix typo in error message in flutter doctor (#58421) 2020-06-01 11:23:02 -07:00
stuartmorgan a3b9e20a6b
Fix non-local-engine Linux release builds (#58372) 2020-06-01 11:03:02 -07:00
Mehmet Fidanboylu 1d395c5e18
Revert "Add clipBehavior to widgets with clipRect (#55977)" (#58344)
This reverts commit cd593dae19.
2020-05-31 07:41:50 -07:00
engine-flutter-autoroll eb1a6efe16
Roll Engine from 3dfbe722b965 to 923687f0e7ff (2 revisions) (#58340) 2020-05-30 18:58:02 -07:00
Jim Graham 7261b98e81
Enabling the ImageFiltered(ImageFilter.matrix) page of macrobenchmark (#58277) 2020-05-30 18:53:01 -07:00
engine-flutter-autoroll 309e0aa49e
Roll Engine from 685699b351a9 to 3dfbe722b965 (2 revisions) (#58293) 2020-05-30 17:53:01 -07:00
Ian Hickson ffc5602656
Dedupe (and update) the --track-widget-creation documentation (#58206) 2020-05-30 17:48:02 -07:00
engine-flutter-autoroll 54524a7f95
685699b35 Roll Fuchsia Linux SDK from wmNGH... to in0Aq... (flutter/engine#18671) (#58282) 2020-05-29 20:43:01 -07:00
engine-flutter-autoroll bfe6d2f4e6
Roll Engine from 6a470b8bccf0 to 4d78121a11db (3 revisions) (#58276) 2020-05-29 16:08:01 -07:00
Christopher Fujino 30fed049fa
[flutter_tools] remove execute permissions on shared.sh, and move off path (#58267) 2020-05-29 16:03:02 -07:00
Greg Spencer 37f562fa36
Remove callback asserts on FocusableActionDetector (#58272)
This makes the callback arguments to FocusableActionDetector optional, if you (for instance) only want to define shortcuts and actions and a focus node for something.
2020-05-29 15:57:05 -07:00
Jenn Magder b0c98b6651
Detect USB/network interface from iOS devices (#58257) 2020-05-29 15:50:23 -07:00
Justin McCandless 7d17c53992
Helpful assertion for isAlwaysShown error (#58258) 2020-05-29 15:48:01 -07:00
Jonah Williams 6d8ec35014
Revert "Revert "[flutter_tools] always initialize the resident runner from di…" (#58208) 2020-05-29 15:43:03 -07:00
liyuqian cd593dae19
Add clipBehavior to widgets with clipRect (#55977)
* Add clipBehavior to RenderFlex

* Add clipBehavior to FittedBox

* Add clipBehavior to Flex and FittedBox

* Add clipBehavior to UnconstrainedBox

* Add clipBehavior to Stack and Wrap

* Add clipBehavior to TextEditable

* Add clipBehavior to ListWheelScrollView

* Add clipBehavior to SingleChildScrollView

* Add clipBehavior to RenderViewportBase's widgets

Those widgets are NestedScrollView and ShrinkWrappingViewport.

* Fix tests

* Remove enum Overflow and fix typo

* Remove clipToSize

* Analyze fix

* Remove Mixin and other small fixes

* Fix tests and respect Stack's default clipBehavior

* Add Overflow back to make it non-breaking

* Restore clipBehavior to make it non-breaking

* Small fixes

* Fix rebase
2020-05-29 15:38:50 -07:00
Marcus Tomlinson 5ee5490a63
[flutter_tools] Support profile and release builds on Linux (#57135) 2020-05-29 15:38:02 -07:00
Tianguang 03c74eb42e
Run flutter update-packages --force-upgrade. (#58104)
* Run `flutter update-packages --force-upgrade`.
* Update test to 1.14.5.
2020-05-30 00:13:33 +02:00
Greg Spencer a468a257fb
Fix extraneous spaces printed by flutter tool if the lock isn't waited on. (#58215)
This removes the extraneous whitespace printed when the flutter command is invoked, but didn't wait for a lock. It only is a problem when the carriage return isn't honored (as in IDE consoles).
2020-05-29 12:44:23 -07:00
engine-flutter-autoroll 3f454b61c0
Roll Engine from c19459ab7d3f to 6a470b8bccf0 (3 revisions) (#58255) 2020-05-29 12:38:01 -07:00
Jonah Williams d9144bf8fc
[flutter_tools] rename output LICENSE file to NOTICES and support loading either (#57871)
Work towards #16723

This is only safe to land after #58131 lands in google3. Only build NOTICES in asset manfiest, and load either LICENSE or NOTICES from pubspec dependencies.
2020-05-29 11:55:02 -07:00
Dan Field 68b131f313
[e2e] make test bindings friendlier to integration tests (#58210) 2020-05-29 11:50:12 -07:00
engine-flutter-autoroll 42c4c30af9
Roll Engine from 17737e6fd4ec to c19459ab7d3f (2 revisions) (#58230) 2020-05-29 09:53:01 -07:00
Pedro Massango af9a409eda
Prevent WhitelistingTextInputFormatter to return a empty string if the current value does not satisfy the formatter (#57264) 2020-05-29 09:48:02 -07:00
engine-flutter-autoroll fed18fc433
Roll Engine from c5d012900f7d to 17737e6fd4ec (6 revisions) (#58221) 2020-05-29 00:43:01 -07:00
engine-flutter-autoroll 9b3634f422
Roll Engine from c86dcac156cd to c5d012900f7d (2 revisions) (#58214) 2020-05-28 21:58:01 -07:00
Helin Shiah 479f370379
Add function to set structured error early (#58118)
* Add function to set structured error early

* Remove unused imports

* Save test handler in setUp

* Add utils file for shared test service

* Rename structured error functions

* Use setUpAll to save error handler and call initStructuredError from other init

* Rename widget inspector test service

* Remove debugging print statement

* Move error handling setting back to initServiceExtensions

* Rename structured error handler in test

* Namespace environment variable

* Rename test
2020-05-28 16:38:10 -07:00
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