17866 Commits

Author SHA1 Message Date
Yegor
d95a1a70a2
add WidgetBuildRecorder for benchmarking building widgets (#51088) 2020-02-24 16:08:40 -08:00
Dan Field
889e606ceb
Script to find Flutter earliest Flutter revision that contains an engine revision (#50948) 2020-02-24 14:49:12 -08:00
Jonah Williams
59cc3cdf01
[flutter_tools] initialize frontend server with build (#49405) 2020-02-24 14:21:33 -08:00
Jonah Williams
e6e79bce6f
[flutter_tools] remove vm_service_client dependency from flutter tool (#51227) 2020-02-24 14:19:43 -08:00
Dan Field
e2dcdb60e3
Live image cache (#51249)
* Revert "Revert "Live image cache (#50318)" (#51131)"

This reverts commit 2f09d601b5a1632468714adb051d7f1e5a816ce4.

* Fix eviction of a pending image
2020-02-24 13:47:53 -08:00
Nurhan Turgut
9ba4eb04dd
[web] Smoke tests for web engine (#51003)
* smoke test for web

* fix comments and remove logs

* addressing reviewer comments

* fix analyzer issue

* running the test on cirrus

* cirrus yaml syntax error

* pub get for web_drivers

* go to the examples directory before running the flutter app

* cirrus is not able to find chromedriver. add a sleep to see if timing is the issue.

* run chrome driver in the background

* After PR #51084, flutter drive command can build and run a web app. Clean flutter run command from cirrus.yml

* enable web
2020-02-24 13:09:21 -08:00
Jonah Williams
3411129cc5
[flutter_tools] don't fix chrome window size, add more logs (#51346) 2020-02-24 12:26:05 -08:00
Jonah Williams
7572ec47bd
[flutter_tools] add more search paths for source maps (#51307) 2020-02-24 10:40:08 -08:00
Dmitry Ratushnyy
a70e4aec93
Material DataTable: added support of setting table row border thickness (#49692) 2020-02-24 09:46:03 -08:00
Michel Feinstein
92a028cf6d
Removed the unecessary "new" keyword from the docs (#51075) 2020-02-24 09:22:18 -08:00
sjindel-google
6f9ed76faf
Update covariant_templates_test after changes to TypeError. (#51330)
TypeError no longer implements AssertionError after https://github.com/dart-lang/sdk/issues/40317.
2020-02-24 16:52:11 +01:00
Aadarsh Patel
1d4667bb38
Fixed a typo (#51302) 2020-02-23 19:26:02 -08:00
Dan Field
4df8fdb7df
update cache for flutter test/fast command (#51235) 2020-02-22 18:24:03 -08:00
Greg Spencer
c4345d2a0a
Add a sample for FocusTraversalGroup (#51161) 2020-02-22 16:54:06 -08:00
Shi-Hao Hong
6d4121c075
Fix tests that rely on FadeTransition incorrectly and depend on implementation details of FadeUpwardsTransitionBuilder (#51150) 2020-02-22 16:54:02 -08:00
Angjie Li
5ee4147283
Allow developers to run flutter driver web test directly (#51084) 2020-02-22 16:49:03 -08:00
shihchanghsiungsonos
3f9d08a002
Fix the issue of Can't find \android\app${assetsDirectory} #50913 (#51158) 2020-02-22 17:06:01 -07:00
Tanat Boozayaangool
bf8e2c1449
Fix typo in description for PointerEvent.radiusMax (#51149) 2020-02-21 14:21:25 -08:00
Shouichi Kamiya
e8e99e49f9
Fix TextEditingController doc to call super.initState first (#51089) 2020-02-21 14:16:04 -08:00
Jonah Williams
bb74a328b5
[flutter_tools] adds etag/cache control header to debug asset server (#51143) 2020-02-21 14:15:54 -08:00
Greg Spencer
c5dd3ec47a
Fix stuck keys when shift is released before the letter. (#51095)
This fixes a problem where if you press "Shift" and then "A", then release "Shift" and then "a", then the "A" key will be "stuck" on because the logical key for the key down message is different (capital "A") from the logical key for the key up message (lowercase "a").

This PR changes the pressed keys logic so that it uses the physical key to add/remove keys from the list of pressed keys, but keeps the associated logical key.

This does mean that after the "Shift" key goes up, the pressed keys contains a capital "A" and it doesn't switch to be a lowercase "a", but there isn't currently any mechanism we can use to do that remapping. This is far less surprising than the current behavior, but is still not quite correct.

I fixed the event simulation code to take a physicalKey so that it could be matched with the logical key, but the event simulation code isn't up to the task, since it can only simulate keys that appear in the key maps. The new platform key event design should fix that (added TODOs).
2020-02-21 14:13:38 -08:00
Jason Simmons
479e27c9f1
Update stack trace test goldens to handle engine builds with lazy async stacks (#51216)
The next engine roll will introduce --lazy-async-stacks, which affects the
contents of stack traces.  This updates test expectations to match both the
old and new stack trace formats.
2020-02-21 12:05:30 -08:00
Yegor
d5844e8a4a
Enable TextStyle hash test on the Web (#50985) 2020-02-21 11:26:03 -08:00
Dan Field
f79963c675
Revert "Roll engine 77c5812d48b8..84dc383b6428 (16 commits) (#51072)" (#51212)
This reverts commit 0b5667ac12b073295403780bd3a38fd88db7a273.
2020-02-21 11:17:03 -08:00
Dan Field
d46d77dc05
Make test more flexible for new args from vm (#51217) 2020-02-21 10:35:54 -08:00
Dan Field
7034bc57df
Reduce duration of benchmark to avoid timeout (#51214) 2020-02-21 09:59:23 -08:00
Clement Skau
3275adb7fb
Updates test expectations for stack traces. (#51185)
With --lazy-async-stacks the stack output has changed slightly so updating the expect files to match.

This is a follow-up to https://github.com/flutter/flutter/pull/51047 as a preparation for the next engine roll which will start enabling --lazy-async-stacks in JIT mode.
2020-02-21 13:38:56 +01:00
engine-flutter-autoroll
0b5667ac12
Roll engine 77c5812d48b8..84dc383b6428 (16 commits) (#51072)
* 48d64c13e update hash code logic on the web (flutter/engine#16624)

* 110c1c9ad Lift restriction that embedders may not trample the render thread OpenGL context in composition callbacks. (flutter/engine#16653)

* ca6165f91 Roll src/third_party/skia c1bb9cba16be..7281a8623799 (9 commits) (flutter/engine#16665)

* c264e1cf9 Roll src/third_party/dart 999eeea5a3ff..3883c6070942 (5 commits) (flutter/engine#16666)

* 1cd130444 Control test timeouts based on debugger status or command line flags. (flutter/engine#16375)

* 9309ff549 Roll src/third_party/skia 7281a8623799..fe6fe6c5a8a8 (7 commits) (flutter/engine#16667)

* d03582d18 URL-encode asset URLs so assets are properly loaded (flutter/engine#16630)

* 40e3ab12b Roll fuchsia/sdk/core/mac-amd64 from 06MUz... to _jvYk... (flutter/engine#16668)

* ef9e7b1a1 Revert "Lift restriction that embedders may not trample the render thread OpenGL context in composition callbacks. (#16653)" (flutter/engine#16674)

* 16eeac54c Roll src/third_party/skia fe6fe6c5a8a8..799a23cf0602 (1 commits) (flutter/engine#16669)

* c79620580 Roll fuchsia/sdk/core/linux-amd64 from 2W9Xr... to VHyDa... (flutter/engine#16670)

* 4f4a1d503 Roll src/third_party/dart 3883c6070942..c11c0ae3fdca (9 commits) (flutter/engine#16673)

* 80f73eeaf Roll src/third_party/skia 799a23cf0602..d0d033a12556 (3 commits) (flutter/engine#16675)

* 151688ceb Roll src/third_party/skia d0d033a12556..a037445e07a7 (4 commits) (flutter/engine#16676)

* 8e82311e3 Roll src/third_party/skia a037445e07a7..c5ff41f2976e (1 commits) (flutter/engine#16677)

* 84dc383b6 Roll src/third_party/dart c11c0ae3fdca..707ecda05e14 (1 commits) (flutter/engine#16678)
2020-02-20 14:27:02 -08:00
Jonah Williams
3cee8e0eb0
[flutter_tools] include depfile outputs in gradle outputs (#50877) 2020-02-20 13:24:36 -08:00
Dan Field
2f09d601b5
Revert "Live image cache (#50318)" (#51131)
This reverts commit 1602be6ab6529732b59cdc5ac36ec8439690329b.
2020-02-20 13:20:28 -08:00
Jonah Williams
25a813110d
[flutter_tools] reload dart_sdk when sources update (#51067) 2020-02-20 12:26:47 -08:00
Harry Terkelsen
29306b0896
[Web] Add Material Card Infinite Scroll benchmark (#51005)
* [Web] Add Material Card Infinite Scroll benchmark

Adds a benchmark that makes an infinite list of Material cards
and scrolls it. This benchmark exercises more heavyweight rendering
like shadows and clipping and paths.

* Fix analyzer warnings. Respond to comments
2020-02-20 11:16:58 -08:00
Kate Lovett
52ee8a6c65
Remove highContrast from FakeAccessibilityFeatures (#51130) 2020-02-20 10:28:49 -08:00
Albertus Angga Raharja
aad941e3fa
Avoid using FlutterError.fromParts when possible (#43696)
This PR is a follow up of https://github.com/flutter/flutter/pull/42640
Some changes of that PR includes redundant changes using FlutterError.fromParts constructor even though it's not necessary.

Some minor changes are:

- Remove one unnecessary todo
- Fix indent consistencies
2020-02-20 07:51:53 -08:00
Dan Field
d030296a97
Reland test (#50987) 2020-02-20 01:51:15 -08:00
Dan Field
2ce51aa284
add macos project to macrobenchmarks (#50999) 2020-02-20 01:50:51 -08:00
Alexandre Ardhuin
7d7ac7c32b
start multiline strings with newline (#50825) 2020-02-20 10:16:28 +01:00
Gary Qian
af17860513
Detect sync vs async obtainKey in ResizeImage (#51081) 2020-02-19 19:06:03 -08:00
Jacob MacDonald
dda7a618ec
add support for the builders configuration for web (#50988) 2020-02-19 19:01:04 -08:00
Jonah Williams
6d0b1ef868
[flutter_tools] include LICENSE files as build dependencies (#50945) 2020-02-19 18:56:04 -08:00
Per Classon
74e564da2d
Add parameter to Scaffold so its possible to disable open Drawer drag gesture (#50925) 2020-02-19 18:51:04 -08:00
Jonah Williams
9295b34850
cleanup of tool build tests (#50904) 2020-02-19 18:46:04 -08:00
Greg Spencer
1793108ba1
Add additional focus samples. (#50846) 2020-02-19 18:41:03 -08:00
Darren Austin
7a83c6fcd4
Expose insetPadding and clipBehavior in Dialog and AlertDialog. (#50775) 2020-02-19 18:26:04 -08:00
Jenn Magder
85b54d4c0c
Change DeviceManager.getAllConnectedDevices() return value from Stream to List (#51015) 2020-02-19 17:40:24 -08:00
Francisco Magdaleno
6815e72086
Revert "[flutter_tools] move engine unpack to the flutter tool (#50707)" (#51076)
This reverts commit 0a623e879c48f14e7b05b2f4ce377130ab09dfc2.
2020-02-19 13:55:48 -08:00
Jonah Williams
0a623e879c
[flutter_tools] move engine unpack to the flutter tool (#50707) 2020-02-19 13:36:04 -08:00
Angjie Li
11549e45a3
Use Async WebDriver for WebFlutterDriver. (#50835) 2020-02-19 13:31:10 -08:00
Tjong Anthony
e7c90057c7
[Form] Add is valid to FormState (#48948) 2020-02-19 13:31:05 -08:00
najeira
4c5aef63a9
Fix comment typo FormField.initialState to FormField.initialValue (#51011) 2020-02-19 13:26:13 -08:00