20312 Commits

Author SHA1 Message Date
Kate Lovett
ee69eebfbd
Update Gold for new endpoint (#64982) 2020-09-02 16:35:06 -07:00
gaaclarke
37de94d7d2
devicelab: started averaging startup time for ios test (#64978) 2020-09-02 16:35:03 -07:00
Jenn Magder
2e67bf2e32
Require xcode_backend.sh arguments (introduced in Flutter v0.0.7) (#65124) 2020-09-02 16:33:26 -07:00
Tom Rivoire
2f96d1f026
Fix contentPadding documentation accent (#65094) 2020-09-02 15:41:19 -07:00
Ray Rischpater, KF6GPE
414c0d8101
Fix per https://github.com/probot/no-response/issues/25 (#65042) 2020-09-02 15:40:10 -07:00
Per Classon
cb4b867721
Add DataTableTheme to allow for themable DataTables (#64316) 2020-09-02 15:40:06 -07:00
Jenn Magder
6175183545
Add --device-timeout flag to device-related commands (#64834) 2020-09-02 15:38:52 -07:00
Nan Kim
608f0606af
SizeTransition sample code (#63833) 2020-09-02 15:35:04 -07:00
Jenn Magder
cb819504f3
Revert "Add observatory Bonjour service to built iOS Info.plist bundle (#64988)" (#65109)
This reverts commit 4fde217dea5b5404660a02ed4cc1d9071085098a.
2020-09-02 12:31:17 -07:00
Christopher Fujino
237c0ab424
Delete catalog generator android/ios tests (#64977) 2020-09-02 11:25:04 -07:00
xubaolin
c7353bc414
Slider and RangeSlider can be painted in a narrower constraint like other Material Wi… (#64627) 2020-09-02 11:20:03 -07:00
Yuqian Li
484f3f2646
Add FrameTiming delay to watchPerformance (#64780) 2020-09-02 11:15:08 -07:00
Pedro Massango
7fdd9218b0
Proposal: deprecate autovalidate parameter of the Form, FormField and TextFormField widget (#61648) 2020-09-02 11:15:05 -07:00
Jenn Magder
4fde217dea
Add observatory Bonjour service to built iOS Info.plist bundle (#64988) 2020-09-02 11:11:07 -07:00
Dan Field
a8281e31af
Mark large_image_changer tests as not flaky (#65033)
They appear to be passing now.
2020-09-01 10:57:59 -07:00
stuartmorgan
6eef5f2c5f
Share build command flag configuration on desktop (#64983)
Almost all of the flag setup on Linux, macOS, and Windows should be
identical; this pulls that common setup to a shared method.

This adds support for several flags on macOS that have all the necessary
plumbing already in place due to shared backend code, but were never
enabled.

Fixes https://github.com/flutter/flutter/issues/64944
2020-09-01 10:21:51 -07:00
Dan Field
e82571a98c
Update large_image_changer_test.dart (#64974)
Fix typo.
2020-09-01 09:09:31 -07:00
stuartmorgan
bcfad2068e
Put the unbundled Linux executable in a subdirectory (#64992)
People frequently assume they can run the executable they find at the
top level of the build directory, and don't understand why they get
resource errors from the engine. To avoid that, this puts the unbundled
copy of the executable in a subdirectory with a name that should warn
people away from running it.

Fixes #64963
2020-09-01 05:34:25 -07:00
Tim Sneath
ba78539bdb
Expand Cupertino library comment (#64979) 2020-08-31 19:13:04 -07:00
Ming Lyu (CareF)
28de49e358
Revert "Reland #61998 and update complex_layout ios files (#64885)" (#64990)
This reverts commit df83398687b63762c742e35fbb608d16fee50a7a.
2020-08-31 18:47:08 -07:00
engine-flutter-autoroll
8f33383699
Roll Engine from c016319e1413 to 165abef0a2cb (6 revisions) (#64972) 2020-08-31 17:28:04 -07:00
Ming Lyu (CareF)
df83398687
Reland #61998 and update complex_layout ios files (#64885) 2020-08-31 17:23:06 -07:00
Jonah Williams
216da410a8
[flutter_tools] add --config-only option to flutter build ios (#64848) 2020-08-31 17:23:03 -07:00
Jonah Williams
183a653e37
[flutter_tools] adjust index.html caching and insert cache busting URL in to main.dart.js/sw request (#64976)
Attempt to bypass aggressive CDN by requesting main.dart.js/sw.js with a query param and defaulting index.html to online first. This will not stop aggressive CDN caching of the index.html

#64968
2020-08-31 17:22:42 -07:00
Mehmet Fidanboylu
66b01c1f29
Revert "Reland "Re-enable the Dart Development Service (DDS) (#64671)" (#64847)" (#64981)
This reverts commit c8f234d365de6a7e9b7febfb5b1b01713b26bc44.
2020-08-31 16:09:02 -07:00
Jonah Williams
7aa8c2ab99
[null-safety] remove mockito from scrollbar test (#64493)
More work towards #62886
2020-08-31 13:27:12 -07:00
Jonah Williams
15d18b9e42
[flutter_tools] remove unused zip verification (#64970)
This is no longer used, in favor of just attempting to unzip and handling the exception.
2020-08-31 13:26:38 -07:00
Jonah Williams
09a9671ed3
[semantics] avoid sync* and excessive list copies (#64879)
Previous benchmarks have established the performance of sync*. Additionally, why allocate a list when you don't need to? Since these APIs are private, they can be re-arranged a bit to avoid creating as many lists. Will probably not have a large effect on benchmarks
2020-08-31 12:15:26 -07:00
Jonah Williams
68b39da346
[flutter_tools] tool exit after repeated network failure (#64878)
Exit the tool after a repeated network error to download. previously we were returning null and continuing on, leading to a ProcessException when we unzipped a missing file.
2020-08-31 12:15:05 -07:00
Ben Konyi
c8f234d365
Reland "Re-enable the Dart Development Service (DDS) (#64671)" (#64847)
This reverts commit 2436de13914e5aecdc92fad8af4ba47fb1b67601.
2020-08-31 12:14:32 -07:00
engine-flutter-autoroll
7e3e311bc2
c016319e1 Roll Skia from ba1e083d37f6 to c23eeb8c78ec (3 revisions) (flutter/engine#20893) (#64957) 2020-08-31 11:33:04 -07:00
Tong Wu
8a1b260242
Allow creating blank issues. (#64842) 2020-08-31 11:28:03 -07:00
Jonah Williams
1021a52f13
[flutter_tools] exit script if powershell version detection fails (#64773) 2020-08-31 11:23:06 -07:00
Dan Field
b5ed913ecc
Memory/cpu/gpu benchmark for showing large images in succession (#64762) 2020-08-31 10:03:57 -07:00
Dan Field
3aa0243ab7
Remove assert about release mode (#64813)
b/150295238 has been resolved for a while now.
2020-08-31 10:03:12 -07:00
Casey Hillers
ef3440b8d8
[fuchsia] Test wait for device to be up after pave (#64819) 2020-08-31 09:48:05 -07:00
engine-flutter-autoroll
b093edaf7e
506d84882 Roll Skia from 85f51b2a409c to ba1e083d37f6 (1 revision) (flutter/engine#20892) (#64937) 2020-08-31 09:38:04 -07:00
ekibun
719268b43a
add different workload & add -products * to vswhere calls to check both Visual Studio IDE and standalone Build Tools. (#64251) 2020-08-31 09:33:04 -07:00
James Clarke
2d02c70ad5
[Windows] Fix unnecessary surface creation/destruction in startup path (#63301) 2020-08-31 09:28:05 -07:00
engine-flutter-autoroll
6d1242dd4b
784e6d746 Improve the precision of lerpDouble (flutter/engine#20879) (#64934) 2020-08-31 00:53:04 -07:00
Chris Bracken
c0ea00ed3f
Prefer moreOrLessEquals over closeTo (#64915)
Flutter's `moreOrLessEquals` has a few advantages over `closeTo` from
the `matcher` package:

   * It emits the epsilon value in the test result on failure.
   * It uses a named parameter for epsilon, which improves readability
     at the call site.
   * It has a reasonable default for epsilon in cases where something
     more specific isn't required.

Using it also has the nice property that it aids in its own discovery
when when people go looking for such functionality in new tests.

This change also includes a couple unrelated whitespace formatting cleanups.
2020-08-30 22:20:16 -07:00
Shi-Hao Hong
fd22fc3e35
[gen_l10n] Synthetic package generation by default (#62395)
* synthetic packages by default in gen_l10n tool

* Refactor default path for synthetic package

* Remove unused import

* Code cleanup

* Further improvements to help text

* Refactor synthetic package path

* Remove newlines

* Test cleanup

* clean up logic in inputs and outputs list function

* Update l10n.yaml usage

* only add option if value is non-null

* Update stocks app as proof of concept for synthetic package usage

* Address nits

* print pubspec contents

* add print statements

* Do not allow null value for useSyntheticPackage

* +

* +

* +

* +

* Cleanup

* Add test

* Fix text

* Dont parse pubspec directly

* Test using context

* WIP: generate synthetic packages on pub get -- needs tests

* Allow null value

* Update null handling

* Refactor to properly handle null case

* Fix yamlMap condition

* Fix yaml node for real

* WIP: struggling to write tests

* WIP - take absolute path as an option

* Add tests

* Use environment project directory for synthetic package generation pathway

* Fix typo

* Improve help text

* Update defaults

* Remove unauthorized path import

* Fix pathing issues at synthetic package generation

* Fix typo in test

* Use path.join so projectDir matches up based on OS

* Fix Windows pathing in test

* Remove unnecessary replaceApp code for projectDir.path

* Use globals.fs.currentDirectory.path in resident_runner_test.dart

* Fix merge conflict

* Add test to ensure that synthetic package is generated on pub get

* Fix resident_runner_test.dart tests

* Fix tests

* Use package:file instead of dart:io

* WIP - exploration

* Remove synthetic package use from stocks example

* Update integration test to not use synthetic packages

* Remove trailing whitespace

* flutter pub get runs synth package generation

* Remove more print statements

* Add license header

* WIP - minimally working pub.get

* Use own MockBuildSystem

* Modify test and implementation to be a little cleaner

* Fix flutter pub get invocation

* Use synthetic packages in stocks app

* Revert "Use synthetic packages in stocks app"

This reverts commit 45bf24903c3d4a2a5fd5481d7d6bc36c4a348703.

* Add environment and buildSystem params to flutter test

* Address code review feedback

* +

* Isolate codegen into its own API

* Fix imports

* Slight refactor

* Add one more test for no l10n.yaml file

* Remove unneeded mock class and import in pub_get_test.dart

* More code review feedback

* Remove unnecessary imports

* Remove `return await`s that I missed

* use arrow functions instead
2020-08-31 13:19:41 +08:00
Chris Bracken
c935a44869
Prefer moreOrLessEquals to closeTo (#64914)
moreOrLessEquals is the preferred mechanism for checking that a value is
within some error bound epsilon, with default value for epsilon of
precisionErrorTolerance.

This patch replaces instances of closeTo using precisionErrorTolerance.
2020-08-30 22:19:16 -07:00
engine-flutter-autoroll
69f40ebed9
bada9fc5f [web] Fix path clip crash when reused (flutter/engine#20846) (#64919) 2020-08-30 21:58:04 -07:00
Chris Bracken
8fa5c55e54
Match lerped values using moreOrLessEquals (#64908)
Several of our tests make use of numbers without an exact floating point
representation (frequently 0.x where x!=5) which, when scaled, also
scale the error. The end result is that some of these tests currently
implicitly rely on an implementation detail of floating point math and
are sensitive to differences in the ~15th decimal place.

This patch reduces the sensitivity of some of these tests, checking
values using `moreOrLessEquals` from the flutter_test package
rather than requiring en exact match.
2020-08-30 19:05:20 -07:00
engine-flutter-autoroll
7a964c3593
1e302a111 Roll Fuchsia Mac SDK from Z0aq5SyVC... to _4kJfDM-L... (flutter/engine#20891) (#64913) 2020-08-30 17:58:02 -07:00
engine-flutter-autoroll
9dd6517041
Roll Engine from 695d4f1f37b9 to d6f1fef151d5 (13 revisions) (#64911) 2020-08-30 16:03:03 -07:00
engine-flutter-autoroll
90028e3f98
695d4f1f3 Roll Skia from 6fd391a016f3 to 5d3314c53ce5 (1 revision) (flutter/engine#20875) (#64870) 2020-08-30 14:58:03 -07:00
Shi-Hao Hong
34541c3073
Revert "A benchmark test case for measuring scroll smoothness (#61998)" (#64883)
This reverts commit 12b7355da11f4a1401492b16677f6e90ce0118b8.
2020-08-30 18:42:10 +08:00
Ming Lyu (CareF)
12b7355da1
A benchmark test case for measuring scroll smoothness (#61998) 2020-08-29 04:28:03 -07:00