26032 Commits

Author SHA1 Message Date
Kate Lovett
eda41e5720
Remove vsync deprecation (#90293) 2021-10-01 08:58:03 -07:00
Ian Hickson
7214097f02
add internal comment to point to .github repo (#91055) 2021-10-01 06:28:05 -07:00
engine-flutter-autoroll
18ed542e91
2db431944 fuchsia: Add FakeFlatland and tests (flutter/engine#28926) (#91083) 2021-10-01 02:43:04 -07:00
Ian Hickson
c4f4c479e2
Delete SECURITY.md (#91054) 2021-10-01 01:23:04 -07:00
Ian Hickson
c05d283be1
add internal comment to point to .github repo (#91052) 2021-10-01 01:18:05 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters (#91067) 2021-10-01 00:58:05 -07:00
Hans Muller
50604c614e
Add a warning about Icon.size to IconButton (#91051) 2021-09-30 23:18:02 -07:00
engine-flutter-autoroll
bb46cff96e
aed327b84 Roll Dart SDK from 4a4c1361ad7b to 4fa07f3ccd43 (1 revision) (flutter/engine#28979) (#91074) 2021-09-30 22:23:03 -07:00
engine-flutter-autoroll
a20743ddfe
Roll Engine from 1f8fa8041d49 to 8ec71b64f6ca (12 revisions) (#91071) 2021-09-30 20:43:02 -07:00
stuartmorgan
97fb8c0560
Fix Dart plugin registrant interaction with 'flutter test' (#90288)
Building an application for a desktop platform that transitively included any Dart-based plugins (such as path_provider) broke `flutter test`, because its compilation was overriding the provided main (in this case, the test main) with `generated_main.dart` if it was present. This PR:
- Changes the `flutter test` compilation path to update `generated_main.dart`, so that the tests will work, and will include any registered Dart plugins.
- Makes using `generated_main.dart` during recompile opt-in, to try to reduce the chance of a similar bug happening with other codepaths in the future.

Fixes https://github.com/flutter/flutter/issues/88794
2021-09-30 20:25:13 -07:00
engine-flutter-autoroll
dc59bc5444
Roll Plugins from 63eb67532a7a to f6d93a765063 (2 revisions) (#91058) 2021-09-30 18:38:06 -07:00
engine-flutter-autoroll
ef9e0d1463
Roll Engine from e83795a0a7c7 to 1f8fa8041d49 (2 revisions) (#91053) 2021-09-30 18:33:06 -07:00
Christopher Fujino
738a7747cc
[flutter_tools] Handle disk device not found (#90996) 2021-09-30 17:28:57 -07:00
Greg Spencer
d94c18d2b9
Add external focus node constructor to Focus widget (#90843)
I've added a Focus.withExternalFocusNode constructor to the Focus widget (and the FocusScope widget) that makes it explicit that the widget's attributes won't affect the settings of the given focus node.

This is to help address #83023, which is a snag in the API that people run into occasionally.

This should help make it explicit when you want the widget attributes to take precedence, and when you don't.
2021-09-30 16:46:38 -07:00
Jenn Magder
c48c428e46
Xcode 13 as minimum recommended version (#90906) 2021-09-30 12:23:55 -07:00
Christopher Fujino
afd84ad425
flutter update-packages (#90994) 2021-09-30 11:38:02 -07:00
Greg Spencer
01af8e5987
Make flutter update-packages run in parallel (#91006)
This modifies the flutter update-packages and flutter update-packages --force-upgrade commands so that the many invocations of "dart pub get" in each repo project run in parallel instead of in series.
2021-09-30 10:26:31 -07:00
engine-flutter-autoroll
fc02dcbb4c
Roll Plugins from 90b2844ce7e5 to 63eb67532a7a (2 revisions) (#91039) 2021-09-30 10:23:04 -07:00
engine-flutter-autoroll
c54e9d2fda
Roll Engine from d0d8e348b6b4 to e83795a0a7c7 (11 revisions) (#91036) 2021-09-30 10:18:05 -07:00
Jenn Magder
faaca13f22
Catch FormatException from bad simulator log output (#90966) 2021-09-30 09:33:04 -07:00
engine-flutter-autoroll
131b6b1891
90b2844ce [google_maps_flutter_web] Add Marker drag events (flutter/plugins#4385) (#91002) 2021-09-30 09:18:04 -07:00
engine-flutter-autoroll
d9fc2dd576
Roll Engine from 9224a17d1c0c to d0d8e348b6b4 (3 revisions) (#90999) 2021-09-30 09:13:04 -07:00
Greg Spencer
03ebac8ab6
Pushing empty commit to trigger CI (#91031) 2021-09-30 07:52:00 -07:00
engine-flutter-autoroll
367531447c
Roll Engine from 223d8f906b7b to 9224a17d1c0c (2 revisions) (#90995) 2021-09-29 17:03:04 -07:00
engine-flutter-autoroll
262d9fbb31
Roll Engine from c9f8cb94ec81 to 223d8f906b7b (2 revisions) (#90992) 2021-09-29 15:58:02 -07:00
Hans Muller
0438bdfe12
TextStyle.apply,copyWith,merge should support a package parameter (#90986) 2021-09-29 15:35:28 -07:00
Kenzie (Schmoll) Davisson
5a85c0d81c
Launch DevTools from the 'dart devtools' command instead of pub (#90894) 2021-09-29 15:32:24 -07:00
Kenzie (Schmoll) Davisson
15967669b2
Add richMessage parameter to the Tooltip widget. (#88539) 2021-09-29 15:31:54 -07:00
engine-flutter-autoroll
f95e18ae8c
Roll Engine from e2775928ec64 to c9f8cb94ec81 (5 revisions) (#90985) 2021-09-29 14:53:02 -07:00
Alex
9f147ce540
Initial layout and theme (#90887)
* Initial layout and theme

* fixed tests

* made page scrollable

* fixes based on Chris on Casey's comments

* removed desktop_window, add errorWidget

* 2nd round of fixes

* fixed linux analyze

* changes based on Casey's comments:

* remove trailing space

* removed obselete macos build code

* add discrepency in project.pbxproj

* addressed Casey's comment
2021-09-29 17:29:24 -04:00
engine-flutter-autoroll
01fc74e4d0
Roll Engine from bd250bdd8178 to e2775928ec64 (16 revisions) (#90980) 2021-09-29 13:48:04 -07:00
Justin McCandless
cf09d99372
Handle invalid selection in TextEditingActionTarget (#90826)
Prevents bugs related to invalid (-1,-1) selection in keyboard shortcuts
2021-09-29 13:14:10 -07:00
engine-flutter-autoroll
2367a177f3
a1304efe4 [webview_flutter] Fixed todos in FlutterWebView.java (flutter/plugins#4394) (#90977) 2021-09-29 13:13:02 -07:00
engine-flutter-autoroll
0272047e87
Roll Engine from bccb3a57eb3e to bd250bdd8178 (5 revisions) (#90901)
* 1b5b3c0b0 Roll Skia from 43264640f256 to 791c0d36a6f6 (2 revisions) (flutter/engine#28909)

* d3f17b01d Mirror master to main branch. (flutter/engine#28896)

* 8f964925e Roll Dart SDK from f452a6585cbd to 280a0c3efb21 (1 revision) (flutter/engine#28910)

* 0aee3c6d1 Roll Skia from 791c0d36a6f6 to 0f124cd7cd60 (2 revisions) (flutter/engine#28911)

* bd250bdd8 Windows: Add dark theme support. (flutter/engine#28131)
2021-09-29 12:41:40 -07:00
nt4f04uNd
96a63cfe48
use FadeTransition instead of Opacity where applicable (#75110) 2021-09-29 12:18:03 -07:00
Greg Spencer
bac1af32ee
Reland: "Fix tooltip so only one shows at a time when hovering (#90457)" (#90917)
This reverts commit ab51a02 and fixes the test that broke the first time it landed.
2021-09-29 08:56:52 -07:00
engine-flutter-autoroll
0f64038494
d9a4b753e Handle PurchaseStatus.restored correctly in example. (flutter/plugins#4393) (#90960) 2021-09-29 08:28:06 -07:00
engine-flutter-autoroll
aaa14b8004
fe31e5292 Handle restored purchases in iOS example app (flutter/plugins#4392) (#90938) 2021-09-29 03:03:04 -07:00
Nicholas Shahan
3074c9e04b
Add tests for web library platform defines (#90620) 2021-09-28 22:08:04 -07:00
Jenn Magder
0167d99fc6
Roll ios-deploy to support new iOS devices (#90893) 2021-09-28 17:23:06 -07:00
LongCatIsLooong
7684f8b7c5
Reland "Make FilteringTextInputFormatter's filtering Selection/Composing Region agnostic" #89327 (#90211) 2021-09-28 16:48:06 -07:00
Greg Spencer
ab51a0260d
Revert "Fix tooltip so only one shows at a time when hovering (#90457)" (#90909)
This reverts commit 885b2f56e180faac645c7ec9b60b3809131dc628 to green up the build.

Submitting on red to fix the build.
2021-09-28 15:18:53 -07:00
Greg Spencer
777463c276
Adjust size of delete button to take up at most less than half of chip. (#90845)
This adjusts the size of the delete button so that it takes up just slightly less than half of the chip, so that legacy tests that tap on the center of the chip still hit the chip, and not the delete button.

A follow-on change for #90531
2021-09-28 14:20:36 -07:00
Greg Spencer
885b2f56e1
Fix tooltip so only one shows at a time when hovering (#90457)
In the process of fixing #90044, I realized that it's also possible for hovered tooltips to show more than one at a time if the widgets are nested, so this PR is a fix that prevents more than one tooltip from showing at a time with hovered tooltips.
2021-09-28 14:20:01 -07:00
engine-flutter-autoroll
9db0600e46
1ef440501 [file_selector] Remove custom analysis options (flutter/plugins#4382) (#90902) 2021-09-28 13:48:06 -07:00
Daco Harkes
2e663b2472
[bots] Print more on --verbose analyze_sample_code (#90880) 2021-09-28 11:08:05 -07:00
engine-flutter-autoroll
99b210f560
bccb3a57e Enable main branch. (flutter/engine#28898) (#90891) 2021-09-28 10:58:02 -07:00
yk3372
d2c8b62351
make Elevated&Outlined&TextButton support onHover&onFocus callback (#90688) 2021-09-28 10:51:14 -07:00
engine-flutter-autoroll
a16b826385
6a2143305 Roll Skia from f2fb26d162b9 to 43264640f256 (2 revisions) (flutter/engine#28908) (#90884) 2021-09-28 09:53:04 -07:00
Greg Spencer
ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00