Commit Graph

2470 Commits

Author SHA1 Message Date
Jonah Williams
de205ec13c
Roll tester version (#60668)
Includes a fix to a startup race condition and log truncation that should make sure strings aren't cut off
2020-07-06 10:36:05 -07:00
Ming Lyu (CareF)
c3217dac7f
await timelinesummary to file (#60774) 2020-07-06 13:19:19 -04:00
Tong Mu
28d2f0106c
Web macrobenchmark: bench_mouse_region_grid_hover now tests hitTestDuration (#60554) 2020-07-05 11:48:03 -07:00
Maurice Parrish
dcbc694b58
Have AndroidViewController extend PlatformViewController and add support for hybrid platform views (#60320) 2020-07-05 11:43:02 -07:00
Pierre-Louis
0bc4368233
Typo sweep (#60693) 2020-07-02 13:08:02 -07:00
Christopher Fujino
e3ad0345ba
add a timeout to dashing (#60723) 2020-07-01 19:41:41 -07:00
Gary Qian
d30c987ceb
Upgrade path_provider_linux (#60652) 2020-06-30 16:50:18 -07:00
Jonah Williams
79a2d77df8
fix pubspec dependencies (#60638) 2020-06-30 14:42:43 -07:00
Ming Lyu (CareF)
c639c93f11
Update platform files and gitignore (#60407) 2020-06-30 15:55:53 -04:00
Jonah Williams
f2f48df3af
Experiment with tester on the flutter_tools general shard (#60490)
Use tester (disclaimer, written by me) to unit test the flutter tools general shard. Since these tests are designed to be hermetic, the single compilation/single isolate model offers a tremendous speedup over the default pub run test workflow. On previous linux shard, test execution alone took 10:30, while now it takes only 1:30.
2020-06-29 22:19:55 -07:00
Ming Lyu (CareF)
59aed97647
Simplify the animation control for macrobenchmarks test case (#60412)
* Simplify the animation control

* Using AnimatedBuilder
2020-06-29 20:20:32 -04:00
liyuqian
84f50d14c3
Mark non-flaky test as such (#60553) 2020-06-29 15:03:03 -07:00
Daco Harkes
d55251cbab
Fix commit hash gallery (#60507)
0c5ec2f285 does not live on any branch.

This makes `pub get` in the macrobenchmarks folder.

```
$ git rev-list --max-count=100 0c5ec2f285c1ec30b2ed15194bc8de755654a590
fatal: bad object 0c5ec2f285c1ec30b2ed15194bc8de755654a590
```

Updated to the same commit on the master branch: d00362e6bd.
2020-06-29 11:01:46 +02:00
Pierre-Louis
49cf97c35b
Update new gallery HEAD commit (#60504)
The gallery repository history has been rewritten (see flutter/gallery#87), so updating to HEAD commit
2020-06-29 10:49:29 +02:00
Jim Graham
2962912d68
restore imagefiltered_transform_animation_perf__timeline_summary benchmark (#60415) 2020-06-27 00:59:50 -07:00
Dan Field
06d0cd514e
Allow detection of images using more memory than necessary (#59877) 2020-06-26 15:34:41 -07:00
Ming Lyu (CareF)
025463f463
Heavy Widget construction and destruction performance test (#60336)
* Add widget construction benchmark

* Add to device lab
2020-06-26 17:38:26 -04:00
Ming Lyu (CareF)
99f5eebc6b
Add --device-id option for devicelab/bin/run.dart (#59276)
* Implement device selection for devicelab/run.dart

* Add test to --device-id option for devicelab/run

* Update dev/devicelab/bin/run.dart by jonahwilliam

* Rename deviceOperatingSystem enum mock -> fake

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-06-26 09:29:46 -04:00
Shi-Hao Hong
1e6e7150f3
[gen_l10n] Update the arb filename parsing logic (#60185)
* Update the arb filename parsing to account for underscores

* Generalize the locale searching algorithm

* Update filename and @@locale behavior to require them to match
2020-06-26 12:01:59 +08:00
Jenn Magder
0486cebd29
Make module run script names unique (#60228) 2020-06-24 16:52:01 -07:00
Tianguang
02f8e02880
Add Web Benchmarks for Flutter Gallery (Flutter Side) — 1/4 (#57576) 2020-06-24 10:28:03 -07:00
liyuqian
850ea6d29d
Add SkSL shader warm-up tests to Flutter gallery (#59932) 2020-06-23 17:48:02 -07:00
Chris Yang
2e63b7d4f8
Add --platforms to flutter create -t plugin command (#59507) 2020-06-23 17:38:03 -07:00
Jonah Williams
37db92beeb
[versions] update all versions and fix tool tests (#60127)
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:

- systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
- MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
- RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
2020-06-23 15:48:37 -07:00
Christopher Fujino
ca32668b0b
port devicelab from idevice_id -> xcdevices (#59907) 2020-06-23 14:37:14 -07:00
Jenn Magder
8b79bb97de
Check for Xcode 11 and Xcode 12 directory names in build_ios_framework_module_test (#60045) 2020-06-23 14:36:02 -07:00
Robert Ancell
8c3b826ebd
Support GTK keycodes (#59961) 2020-06-23 15:19:57 +12:00
Robert Ancell
8ae71a0e06
Fix the paths in keyboard map templates (#60015) 2020-06-23 15:18:54 +12:00
Jenn Magder
6a2bc2617e
Replace ANDROID_HOME user messages with ANDROID_SDK_ROOT (#59867) 2020-06-22 18:43:04 -07:00
Jonah Williams
fbdc79e448
[versions] update all versions (#59832)
Fixes #59718

Update all versions, specifically dwds which has a hot restart fix
2020-06-19 14:48:57 -07:00
Tong Mu
65b1956005
Add benchmark for Mouse region (web) (#59803) 2020-06-19 13:48:04 -07:00
Christopher Fujino
5cfb16b193
Re-land "Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120)" (#59876)
This relands #59120, which was reverted in #59870.
2020-06-19 12:03:38 -07:00
Christopher Fujino
0d7ff7a9e7
Revert "Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120)" (#59870)
This reverts commit 8665e13801.
2020-06-19 10:52:52 -07:00
Ian Hickson
8665e13801
Deprecate WhitelistingTextInputFormatter and BlacklistingTextInputFormatter (#59120) 2020-06-18 18:08:01 -07:00
Justin McCandless
339f0363a6
Reland modernize selection menu appearance (#59617) 2020-06-18 16:33:03 -07:00
Chris Bracken
e0f60918d4
Roll the engine from 965fbbe to b5f5e63 (#59804)
This rolls the engine from:
965fbbed1776545ee681cb57f3fb1d0c2000bbcb to
b5f5e6332cb4987e9e38ffaa267733ec0a8705ba. A Dart SDK roll in this range
changed the format of the compileExpression RPC VMService endpoint,
necessitating a tool patch.
2020-06-18 16:12:54 -07:00
Jonah Williams
d4e1448b95
[devicelab] fix concurrent hot reload test: stderr != failure (#59784)
The tool needs to start outputing trace text to stderr to avoid breaking machine mode. This test is bogus, and should use the exit code.
2020-06-18 11:15:45 -07:00
Jonah Williams
447e3d3f38
[flutter_tools] remove globals from compilers (#59184)
Refactors KernelCompiler and ResidentCompiler to no longer use globals (except as a fallback for g3 migration). Improves the compilation error when running flutter test on a package without a flutter_test dependency.

Updates machine mode to output trace text to stderr
2020-06-18 10:33:17 -07:00
liyuqian
42e02d60d3
Reland non-breaking "Add clipBehavior to widgets with clipRect #55977" (#59364)
* Revert "Revert "Add clipBehavior to widgets with clipRect (#55977)" (#58344)"

This reverts commit 1d395c5e18.

* Add missed Overflow
2020-06-17 10:57:40 -07:00
Per Classon
56a7dacd46
[flutter_tools] For l10n with deferred loading, use loadLibrary for non-web too (#59539)
After Dart VM change we are now required to use loadLibrary on an import whenever it is imported as deferred.

See: https://dart-review.googlesource.com/c/sdk/+/149613
2020-06-16 13:36:28 -07:00
Jenn Magder
5a4bb5050d
Remove last references to ideviceinstaller (#59508) 2020-06-16 10:25:10 -07:00
Christopher Fujino
807b60250a
[flutter_tools] Update roll_dev.dart (#59215) 2020-06-16 09:30:04 -07:00
Greg Spencer
2163731c99
Remove DiagnosticableMixin in favor of Diagnosticable (#58635) 2020-06-16 09:25:04 -07:00
Jonah Williams
958f7c5b55
[flutter_tools] ensure generated entrypoint matches test and web entrypoint language version (#59291)
Ensure that the language version of the test/web generated entrypoint matches the language version of the test file to run, or the overall package language version if no annotation is provided.
2020-06-16 09:17:12 -07:00
Michael Goderbauer
584fd5f913
Word substitutions (#59484)
* Word substitutions

* ++
2020-06-16 09:15:43 -07:00
godofredoc
248d746575
Update recipes location. (#59500)
The flutter infra recipes got moved to a new location and we need to
update docs with links to the new locations.

Bug:
  https://github.com/flutter/flutter/issues/45630
2020-06-15 14:46:09 -07:00
Justin McCandless
77859c682e
Characters package (#59267) 2020-06-15 09:50:02 -07:00
Chase Latta
d64884dedf
Remove Fuchsia BUILD.gn files (#59285) 2020-06-12 12:50:03 -07:00
Jonah Williams
bf94520644
[versions] Update all the versions (#59283) 2020-06-11 16:40:22 -07:00
Alexandre Ardhuin
65ef1f94bb
test flutter framework with null-safety (#59280) 2020-06-11 16:40:02 -07:00
Jenn Magder
3744b82d8c
Support .flutter-plugins-dependencies (#59209) 2020-06-11 13:25:01 -07:00
Alexandre Ardhuin
49dc9b1227
fix tree (#59257) 2020-06-11 16:05:18 +02:00
Ming Lyu (CareF)
b5d0b9122f
Cleanup devicelab framework duplicate (#59046)
* combine forwardStandardStreams

* combine exec and eval
2020-06-10 19:30:12 -04:00
Jenn Magder
319a61fd81
Move iOS Podfile logic into tool (#59044) 2020-06-10 14:12:48 -07:00
Ming Lyu (CareF)
78a4016c81
Line break for devicelab/bin/run.dart help info (#58986)
The original help info has lines too long for
appropriate terminal display.
2020-06-10 17:11:48 -04:00
Jenn Magder
9037ccd355
Add per-test timeout to Cirrus tool general tests (#58649) 2020-06-09 12:38:01 -07:00
liyuqian
2e9509f086
Make non-flaky tests as such (#59013) 2020-06-08 16:28:04 -07:00
Jenn Magder
023532d991
Revert "Build iOS apps using Swift Packages (#59009)" (#59025)
This reverts commit 43e28084fc.
2020-06-08 15:45:10 -07:00
Ming Lyu (CareF)
ef3b99225f
fix typo in macrobenchmarks/lib/main (#58783) 2020-06-08 17:40:57 -04:00
Jenn Magder
43e28084fc
Build iOS apps using Swift Packages (#59009) 2020-06-08 13:53:01 -07:00
Greg Spencer
c264b70ec3
Turn off flaky indicator for flutter_gallery__back_button_memory and flutter_gallery__memory_nav (#58838)
After updating the GBoard on the devicelab machines, these tests are no longer flaky.
2020-06-08 09:27:34 -07:00
liyuqian
9dad2d98df
Perf test with SkSL warm-up (#56638) 2020-06-06 14:43:02 -07:00
Greg Spencer
ab68721a5d
Add Android device build/OS/API Level information to logs. (#58747)
This adds some information about the chosen device to the output log so that we can tell what type of device/OS Level/API Level the test is running on when doing a postmortem on a failed test.
2020-06-05 14:02:07 -07:00
Michael Goderbauer
b749a50a73
Revert "Increase delay to verify cause of flakiness (#58701)" (#58799) 2020-06-05 12:38:02 -07:00
Michael Goderbauer
483147fcca
Increase delay to verify cause of flakiness (#58701) 2020-06-04 13:38:01 -07:00
liyuqian
08225fad28
Add iOS new gallery perf test (#58648) 2020-06-04 10:23:01 -07:00
Jonah Williams
b1d75fc99d
[flutter_tools] add flag for sound-null-safety, unify with experiments (#58533)
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
2020-06-03 21:02:07 -07:00
keyonghan
98a77e2aff
remove test (#58617) 2020-06-03 12:36:50 -07:00
Dan Field
c5318f7f07
Make debugSemantics available to profile mode (#58620) 2020-06-03 12:32:35 -07:00
Jonah Williams
01b9bf8ea6
[flutter_tools] deprecate flutter generate and codegen (#58328) 2020-06-03 09:28:02 -07:00
Jenn Magder
2ece1c3a17
Revert "Build iOS apps using Swift Packages (#58522)" (#58549)
This reverts commit 2054f37aaf.
2020-06-02 19:00:12 -07:00
Yegor
1a9530af8a
benchmark updating many child layers (#58513)
* benchmark updating many child layers
2020-06-02 17:59:41 -07:00
Jenn Magder
2054f37aaf
Build iOS apps using Swift Packages (#58522) 2020-06-02 17:57:11 -07:00
Jenn Magder
34ba3e85ce
Remove outdated disable_input_output_paths from example project Podfiles (#58524) 2020-06-02 17:56:27 -07:00
Jenn Magder
145d70c197
Rename integration test ios_app_with_watch_companion -> ios_app_with_extensions (#58458) 2020-06-02 11:00:19 -07:00
Jonah Williams
442f9c107c
[devicelab] mark ios transition_perf as non-flaky (#58499) 2020-06-02 10:48:01 -07:00
Jenn Magder
c34d6e27c9
Revert "Remove outdated disable_input_output_paths from example project Podfiles (#58444)" (#58504)
This reverts commit 8adaea9083.
2020-06-02 10:04:57 -07:00
Jenn Magder
8adaea9083
Remove outdated disable_input_output_paths from example project Podfiles (#58444) 2020-06-02 09:03:01 -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
Jim Graham
7261b98e81
Enabling the ImageFiltered(ImageFilter.matrix) page of macrobenchmark (#58277) 2020-05-30 18:53:01 -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
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
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
liyuqian
0cca3c1d62
Mark non-flaky test as such (#58112) 2020-05-28 15:40:12 -07:00
Yegor
be5b5c898c
add a backward variant of BenchCardInfiniteScroll (#58140) 2020-05-28 12:28:17 -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
Shi-Hao Hong
39ffce3e36
Update stocks example to use l10n.yaml workflow (#58121) 2020-05-28 12:03:02 -07:00
Jonah Williams
e05a67f068
[devicelab] less sensitivity to whitespace in flutter_performance_test testing (#58175) 2020-05-28 11:12:52 -07:00
Emmanuel Garcia
4465ff9e3d
Prevent building non-android plugins in build aar (#58018) 2020-05-27 10:11:36 -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
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
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
liyuqian
a635765116
Reland "Add DevTools memory test (#55486)" (#57340) 2020-05-19 18:02:03 -07:00
Justin McCandless
53d7f24521
Fix Web asking for clipboard permissions (#57324) 2020-05-19 17:57:04 -07:00
stuartmorgan
e384757fac
Remove MaterialControls from examples/flutter_view (#57621)
Co-authored-by: Jenn Magder <magder@google.com>
2020-05-19 16:57:27 -07:00
Tianguang
5a3104b36a
Update flutter_gallery_assets to ^0.2.0 (#57328)
* Bump flutter_gallery_assets version to ^0.2.0.

* Run `flutter update-packages --force-upgrade`.

* Add comment.

* Remove duplicate key.
2020-05-18 18:26:18 +02:00
Zachary Anderson
859f2f9bd4
Update packages (#57321) 2020-05-16 15:02:06 -07:00
Jonah Williams
631087d83b
[flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00