20683 Commits

Author SHA1 Message Date
Ian Hickson
cb232ddad5
Prevent a potential infinite loop. (#66073) 2020-09-21 11:22:07 -07:00
Jonah Williams
a029e172fe
[flutter_tools] fix bug where last build id parent folder is missing (#66156) 2020-09-21 11:17:13 -07:00
Jason C.H
c2e91ad4dc
Remove deprecated activity indicator (#66020) 2020-09-21 11:17:08 -07:00
Raouf Rahiche
e0afee5b13
add ScrollViewKeyboardDismissBehavior to CustomScrollView constructor (#66014) 2020-09-21 11:12:06 -07:00
Jonah Williams
36a6ef6486
[devicelab] fix manifest definition (#66277) 2020-09-21 11:02:30 -07:00
Kate Lovett
51fa704642
Add handling for empty expectation (#66142) 2020-09-19 11:27:04 -07:00
Jonah Williams
689ca09cd0
[versions] update to latest source span and roll engine to 4b8477d11573d233e6791204191c0090f733b05d (#66136) 2020-09-19 11:22:07 -07:00
Justin McCandless
2c163e6e95
InteractiveViewer onInteractionUpdate focalPoint (#66065) 2020-09-19 11:17:04 -07:00
Jonah Williams
a19f5baccc
[flutter_tools] connect widget cache from frontend_server (#65951) 2020-09-19 11:02:04 -07:00
Jenn Magder
ae630b42a6
Turn off flutter_gallery__transition_perf_e2e_ios32 in devicelab (#66187) 2020-09-19 10:58:44 -07:00
Zachary Anderson
3e6863ab2b
Revert "Ensure VmService instance is disposed after failed direct connection attempt (#66123)" (#66164)
This reverts commit 409e994cd03749d5a903f01cf4ec5b3ee074a2ee.

Co-authored-by: Jenn Magder <magder@google.com>
2020-09-18 21:05:27 -07:00
Jenn Magder
5c8580360a
Stream logging from attached debugger on iOS (#66092) 2020-09-18 15:26:28 -07:00
Justin McCandless
e00b1531af
Reland "TextField constrained layout bug (#65966)" (#66055) 2020-09-18 15:02:04 -07:00
Dominik Roszkowski
d65e2c3a27
Fix mistake in the docs of RouteInformationParser (#66023) 2020-09-18 14:57:05 -07:00
xubaolin
73194cd9f2
Fix bug when updating the divisions and value of the slider at the same time (#65998) 2020-09-18 14:52:03 -07:00
Kate Lovett
9618e10a52
Add versioning to gold endpoints (#66054) 2020-09-18 14:47:09 -07:00
Yash Johri
8fb807a4d3
Changed title to label in bottom_navigation_bar_test.dart (#65918) 2020-09-18 14:47:05 -07:00
Brian Eaton
7a4d8e190c
Make sure all isolates start during flutter driver tests. (#65703) 2020-09-18 14:42:04 -07:00
Darren Austin
4253e42b43
Add .DS_Store to ignore list for the analyzer to run on macos cleanly. (#65530) 2020-09-18 14:37:04 -07:00
stuartmorgan
c11440ae92
Remove the Windows 'flutter create' warning (#66113) 2020-09-18 14:32:10 -07:00
Haeseok Lee
480a082766
Add dart-pad example code for CupertinoSliverRefreshControl (#65164) 2020-09-18 14:32:04 -07:00
Ben Konyi
409e994cd0
Ensure VmService instance is disposed after failed direct connection attempt (#66123)
_attemptServiceConnection in FallbackDiscovery would fail if the root
library URI was not a package URI even if the VM service connection
attempt was successful. This resulted in a VM service connection being
left alive, causing DDS to fail its connection to the VM service.

Updated _attemptServiceConnection to ensure the VM service instance is
disposed after a non-connection related failure and to allow for root
library URIs with a file scheme.
2020-09-18 14:20:35 -07:00
Dan Field
78929661fb
Fix test file name (continous -> continuous) (#66081) 2020-09-18 08:08:30 -07:00
GodHyum
d26268bb9e
Change LicensePage's loading color from scaffoldBackgroundColor to cardColor (#64639)
* wrap LicensePage's loading widget with cardColor

* Set AnimatedSwitcer's duration in LicensePage to zero

* Remove AnimatedSwitcher

* Add test code for checking color is same
2020-09-17 17:06:26 -07:00
Jonah Williams
84aae22c3e
[flutter_tools] optimize fetch requests and remove main.dart.js bypass (#66069)
The main.dart.js bypass is not needed now that we have skipWaiting. Additionally optimize the fetch handler so that resources not in the cache skip the service worker altogether.

Fixes #66068
2020-09-17 17:05:46 -07:00
chunhtai
70f21de9de
reland always adds alert label for alert dialog in Android (#66057) 2020-09-17 16:17:05 -07:00
Alexandre Ardhuin
0cf1b407f2
remove non-nullability on Navigator methods (#65997) 2020-09-17 16:12:06 -07:00
engine-flutter-autoroll
ca12929ce4
2abe69c60 Roll Dart SDK from 83365979ea85 to e41a6008746d (1 revision) (flutter/engine#21224) (#65987) 2020-09-17 16:07:04 -07:00
Yegor
fde120df6d
Hide flutter test --platform (#65984) 2020-09-17 16:02:06 -07:00
Daniel Edrisian
3a5e45404d
Updated androidMissingSdkInstructions error message (#65964) 2020-09-17 15:57:06 -07:00
Darren Austin
1f62776935
Reland ##65044 (#66061)
Turn the opt-in default for ThemeData.useTextSelectionTheme to true so that everything uses the new TextSelectionTheme by default.
2020-09-17 15:55:45 -07:00
Mouad Debbar
5024e1ea02
[web] Inform the engine when read-only flag is flipped (#65499) 2020-09-17 15:52:04 -07:00
godofredoc
8cb09cf44b
Enable pre/post submit hostonly tests. (#65985) 2020-09-17 15:32:09 -07:00
younghwan
634e461c4d
Apply darkmode style (#65182) 2020-09-17 15:32:05 -07:00
xubaolin
0d945a1a56
Fix the inconsistency between the local state of the input and the engine state (#65754) 2020-09-17 15:27:11 -07:00
Matěj Žídek
827cbc353a
Minor docs updates (#64966) 2020-09-17 15:27:07 -07:00
Jonah Williams
bc11c2a8c4
[flutter_tools] update windows config feature (#65867) 2020-09-17 15:24:52 -07:00
stuartmorgan
50fd10fc6f
Consider the Windows app template stable (#66022)
Removes the template version from the Windows template; the API and
tooling boundary will now be considered stable, so there will no longer
be frequent breaking changes.

Also updates the link for adding desktop support to a project for all
three platforms to reflect the current location.

Fixes https://github.com/flutter/flutter/issues/52748
2020-09-17 15:24:28 -07:00
stuartmorgan
8162bbd8e8
Update Windows system font change handling (#66021)
The engine now has an explicit API for system font changes, rather than
expecting the WM_FONTCHANGE message to be forwarded to the Flutter view.
2020-09-17 15:23:56 -07:00
stuartmorgan
eaf3f8b4f7
Add VERSIONINFO to the Windows template (#66025)
Adds a VERSIONINFO to Runner.rc in the Windows app template, populated
from the project creation metadata.

Currently the version itself is hard-coded, but it is future-proofed to
allow plumbing the actual version through at build time via preprocessor
defines.
2020-09-17 15:23:38 -07:00
Niklas Schulze
580a96f957
update_dart_sdk.ps1: Ensure Start-BitsTransfer always throws an exception in case of errors (#65929) 2020-09-17 15:22:13 -07:00
TheBiirb
e0ac5da164
Added clipBehavior to Overlay, Flow, AnimatedSize and AndroidView (#65910) 2020-09-17 15:22:10 -07:00
Jonah Williams
3e838da96a
[flutter_tools] use flutter tool handler for dwds resources and precache tool pub dependencies (#65814)
If the tool is downloaded from a precompiled snapshot, or if the backing source files in the pub cache are deleted, the dwds debugging functionality will break as the client.js file cannot be located. Instead use the PackageConfig to verify that package location, downloading if it is missing.

Override the dwds middleware to avoid Isolate.resolvePackageUri

Fixes #53644
Fixes #65475
2020-09-17 15:22:06 -07:00
Jonah Williams
b1d17c914d
Deprecate VelocityTracker default constructor and added VelocityTracker.withKind constructor (#66043)
We've gotten feedback that the VelocityTracker change was disruptive, though it did not break any of the flutter framework or customer tests. In order to make the change non-breaking, PointerDeviceKind parameter can be made optional.

Nevertheless, this parameter should be provided so that the existing touch handlers can use more accurate gestures on mouse/stylus inputs, so we can encourage this by deprecating the default constructor and pointing users towards the VelocityTracker.withKind constructor that takes a non-optional parameter
2020-09-17 15:18:31 -07:00
Jenn Magder
c61c8f303b
Check that header exists instead of content (#65961) 2020-09-17 15:17:31 -07:00
Herbert Poul
af2143412f
Remove FlutterApplication from app templates. (#64742) 2020-09-17 15:17:11 -07:00
Michael Arndt
fbc34def01
Fixed typo (subetting -> subsetting) (#62502) 2020-09-17 15:17:08 -07:00
Jenn Magder
4fee00798a
Inform user how to fix permissions when the observatory URL isn't found on iOS 14 (#65977) 2020-09-17 15:16:55 -07:00
Hans Muller
b56a8c569e
Replaced reference to obsolete FlatButton button class in SnackBar (#65988) 2020-09-17 15:16:20 -07:00
Ben Konyi
fb08acf10c
Roll packages to fix #66038 (#66052)
PR #65873 enabled DDS for non-web Flutter applications. This change
surfaced a bug where DDS would not send ServiceRegistered events to VM
service clients when they subscribed to the Service stream. This would
cause tools and tests that rely on these events (e.g., hot reload in
VSCode) to fail.

Fixes #66038.
2020-09-17 12:28:49 -07:00