Commit graph

20607 commits

Author SHA1 Message Date
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
Jonah Williams a3aeab0c83
Revert "TextSelectionTheme support (step 2 of 3) (#65044)" (#66051)
This reverts commit cb92ffc7fa.
2020-09-17 11:43:28 -07:00
renyou 48ba488d33
Revert "TextField constrained layout bug (#65966)" (#66027)
This reverts commit 10a66b19d5.
2020-09-17 09:37:33 -07:00
Jonah Williams d15da04f4f
Revert "always adds alert label for alert dialog in Android (#65973)" (#66031)
This reverts commit fd0554ba89.
2020-09-17 07:51:28 -07:00
gaaclarke fa646339d6
Added the machine's architecture to macos doctor results. (#65978) 2020-09-16 17:47:04 -07:00
chunhtai fd0554ba89
always adds alert label for alert dialog in Android (#65973) 2020-09-16 17:42:05 -07:00
Darren Austin cb92ffc7fa
TextSelectionTheme support (step 2 of 3) (#65044) 2020-09-16 17:22:04 -07:00
engine-flutter-autoroll 277a87fd6e
Roll Engine from f84e7a019663 to 933f811d94ab (8 revisions) (#65975) 2020-09-16 17:17:05 -07:00
Jonah Williams 73652a723b
[flutter_tools] automatically update to latest sw on install (#65784)
If a new service worker is installed, automatically update this behind the scenes. Immediately after a page refresh, the new worker and cache will be available, though the main.dart.js and others will be available sooner due to the cache busting URLS
2020-09-16 17:16:58 -07:00
Dan Field 2acd170814
Make parameter optional (#65444) 2020-09-16 16:47:04 -07:00
nero 021c2010df
[ReorderableListView] remove extra margin added after picking up the item (#65080) 2020-09-16 16:37:04 -07:00
Christian Mürtz 1415078828
Find text containing in tests (#65072) 2020-09-16 16:32:03 -07:00
Ben Konyi a17b330980
Reland "Re-enable the Dart Development Service (DDS) (#64671)" (#65873)
This reverts commit 66b01c1f29.

* Add DDS ipv6 support

* Use --dds-port for DDS instead of hijacking --host-vmservice-port
2020-09-16 16:27:42 -07:00
TheBiirb 71fa330931
Added sample code to AnimatedAlign (#64698) 2020-09-16 16:27:04 -07:00
Alexandre Ardhuin 6978832293
migrate some cupertino files to nullsafety (#65880) 2020-09-16 14:27:03 -07:00
Justin McCandless 10a66b19d5
TextField constrained layout bug (#65966)
Fix a bug in the layout of some textfields with constrained height and visual density.
2020-09-16 14:19:34 -07:00
Michael R Fairhurst 7f3c9b6bda
Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
Yuqian Li 82e459fcf3
Mark nonflaky tests as such (#65898) 2020-09-16 14:12:05 -07:00
Hans Muller 3e6384b4f1
Updated references to obsolete Material button classes in microbenchmarks (#65950) 2020-09-16 14:10:51 -07:00
George Wright bb2ab8838a
[manual roll] Roll Engine from 1ef10b240e28 to f84e7a019663 (12 revisions) (#65949) 2020-09-16 11:22:02 -07:00
YeungKC 0220c3585c
Fix FormFieldState value not in sync with the onChanged value from TextFormField. (#65695) 2020-09-16 08:13:05 -07:00
Hans Muller b2b5f2636a
Updated references to obsolete Material button classes in examples (#65904) 2020-09-16 08:02:06 -07:00
Hans Muller 82706d730b
Updated references to obsolete Material button classes in benchmarks/macrobenchmarks (#65900) 2020-09-16 07:57:04 -07:00
godofredoc 24b2b55c20
Enable mac sdk tests and remove them from cirrus. (#65896) 2020-09-16 07:52:04 -07:00
Ming Lyu (CareF) b3f19a3e1a
migrate animated_placeholder_perf (#64478) 2020-09-16 07:47:03 -07:00
engine-flutter-autoroll 25b8c095cd
Roll Engine from 1cabedf8aca8 to 1ef10b240e28 (4 revisions) (#65892) 2020-09-15 22:27:03 -07:00
Anthony 081b598f40
Update Navigation Rail test with regression comment and cleaner size checking (#65877) 2020-09-15 22:22:08 -07:00