Commit graph

21698 commits

Author SHA1 Message Date
Ian Hickson bb29c88ae7
Simplify the flutter_web_plugins plugin registration API. (#70337) (#70722)
In principle this is backwards compatible; I just merged all the classes into one and deprecated everything that became redundant as a result.
2020-12-03 15:35:41 -08:00
Jason Simmons 2c3ba5b635
Create symlinks for local engine Maven metadata files required by the Android Gradle plugin (#71600) 2020-12-03 15:28:06 -08:00
Jonah Williams c92cc25830
[flutter_tools] report basic analytics for null-safety (#71487) 2020-12-03 15:14:20 -08:00
J-P Nurmi b358854172
[flutter_tools] Set basic error matcher for Linux builds (#71003) 2020-12-03 13:41:37 -08:00
xubaolin 8817c0d28c
RefreshIndicator can be shown when dragging from non-zero scroll position (#71303) 2020-12-03 13:28:04 -08:00
Jonah Williams 4e85a67f3e
[flutter_tools] roll deps, fix completion bug (#71671) 2020-12-03 11:58:03 -08:00
Martin Kustermann 625ecda083
Remove left-overs from causal async stacks. (#71663) 2020-12-03 11:03:07 -08:00
Shi-Hao Hong 20ca6997b8
Code sample small fixes (#70343) 2020-12-03 09:23:04 -08:00
Jonah Williams 9e5c8771d4
[flutter_tools] wire up native-null-assertions for flutter web (#71618) 2020-12-03 08:59:31 -08:00
Jonah Williams 088b7c36c3
[flutter_tools] hide web server by default (#71491) 2020-12-03 08:59:20 -08:00
Jenn Magder 7c9f8eeb83
Fix dependabot directory (#71624) 2020-12-03 08:58:07 -08:00
Jenn Magder a8bed5e405
Add sysctl file fallbacks (#71623) 2020-12-03 08:53:07 -08:00
Jia Hao bf8313f8fc
Add a test for intrinsic size checks (#71539) 2020-12-03 08:48:04 -08:00
LongCatIsLooong 746056a539
Skip reformatting and calling onChanged for composing region only changes. (#70883) 2020-12-03 08:43:05 -08:00
Kate Lovett 8e05e59c29
Revert "Add integration_test template to create template (#70240)" (#71660)
This reverts commit d047d108eb.
2020-12-03 09:54:28 -06:00
Jonah Williams 81e1f7d1ed
[flutter_tools] mode code size output to ~/.flutter-devtools (#71601) 2020-12-02 17:19:57 -08:00
Dan Field ece7238402
remove obsolete firebase script (#71609) 2020-12-02 17:18:03 -08:00
LongCatIsLooong df28355b0c
Raw keyboard shortcuts & deletions should not read from _plainText (#71236) 2020-12-02 17:13:04 -08:00
Jenn Magder 614a6ba636
Turn on dependabot to roll bundler dependencies (#71602) 2020-12-02 17:11:00 -08:00
Dan Field d047d108eb
Add integration_test template to create template (#70240) 2020-12-02 17:08:03 -08:00
Kate Lovett 2520d53eca
Mark hot_mode_dev_cycle_macos_target__benchmark flake (#71616) 2020-12-02 17:50:40 -06:00
Kate Lovett 1c244da28d
Add verbose flag to hot mode tests (#71610) 2020-12-02 16:47:35 -06:00
Jonah Williams e8b87f7cd2
[flutter_tools] enable CK restart tests (#71598) 2020-12-02 13:10:54 -08:00
Dan Field a2aa2ed02d
Revert "Fix excessive rebuilds of DSS (#69724)" (#71459)
This reverts commit 16dce76577.
2020-12-02 11:42:38 -08:00
Jenn Magder f0f9a81968
Update CI to CocoaPods 1.10 (#71531) 2020-12-02 11:05:47 -08:00
Ferhat ebd794a137
[web] Add wrapbox scroll benchmark (#70966) 2020-12-02 08:30:42 -08:00
Ayush Bherwani ff9d9fc2b6
[MaterialSlice] adds property to customize slice color (#63466) 2020-12-02 07:43:02 -08:00
Shi-Hao Hong 25986102c1
Revert "Improve the behavior of DropdownButton.disabledHint (#70277)" (#71559)
This reverts commit 59cf0d2263.
2020-12-02 20:36:44 +08:00
xubaolin 946a129137
Update [ToggleButtons] to support extend down/up vertically (#70670) 2020-12-02 03:58:04 -08:00
Jenn Magder 60bdcf55fe
ios_host_app Podfile search paths (#71525) 2020-12-01 21:24:21 -08:00
Emmanuel Garcia 8dd0de7f58
Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 (#71446) 2020-12-01 19:01:09 -08:00
Jonah Williams f8883445ca
Revert "[flutter_tools] post process the gradle log output (#71499)" (#71527)
This reverts commit d688b52a93.
2020-12-01 17:53:14 -08:00
Jonah Williams d688b52a93
[flutter_tools] post process the gradle log output (#71499) 2020-12-01 17:13:33 -08:00
Chris Bracken 7c14f6c82c
Revert "Roll Engine from 20caf5496951 to d2ad4419bb07 (27 revisions) (#71498)" (#71519)
This appears to be triggering an null dereference by calling
popSystemNavigator on a null platform plugin delegate.

boolean io.flutter.plugin.platform.PlatformPlugin$PlatformPluginDelegate.popSystemNavigator()

Relevant logs:
```
2020-12-01T14:34:34.410242: stderr: [   +6 ms] VMServiceFlutterDriver: >>> {command: get_text, finderType: ByValueKey, keyValueString: status, keyValueType: String}
2020-12-01T14:34:34.490211: stderr: [  +79 ms] VMServiceFlutterDriver: <<< {isError: false, response: {text: ok}, type: _extensionType, method: ext.flutter.driver}
2020-12-01T14:34:34.493011: stderr: [   +2 ms] VMServiceFlutterDriver: >>> {command: tap, finderType: ByValueKey, keyValueString: step, keyValueType: String}
2020-12-01T14:34:34.962001: stdout: [ +468 ms] E/MethodChannel#flutter/platform( 9732): Failed to handle method call
2020-12-01T14:34:34.962222: stdout: [        ] E/MethodChannel#flutter/platform( 9732): java.lang.NullPointerException: Attempt to invoke interface method 'boolean io.flutter.plugin.platform.PlatformPlugin$PlatformPluginDelegate.popSystemNavigator()' on a null object reference
2020-12-01T14:34:34.962356: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.plugin.platform.PlatformPlugin.popSystemNavigator(PlatformPlugin.java:313)
2020-12-01T14:34:34.962499: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.plugin.platform.PlatformPlugin.access$600(PlatformPlugin.java:28)
2020-12-01T14:34:34.962735: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.plugin.platform.PlatformPlugin$1.popSystemNavigator(PlatformPlugin.java:101)
2020-12-01T14:34:34.963047: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.embedding.engine.systemchannels.PlatformChannel$1.onMethodCall(PlatformChannel.java:123)
2020-12-01T14:34:34.963284: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
2020-12-01T14:34:34.963592: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
2020-12-01T14:34:34.963910: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
2020-12-01T14:34:34.964227: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at android.os.MessageQueue.nativePollOnce(Native Method)
2020-12-01T14:34:34.964571: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at android.os.MessageQueue.next(MessageQueue.java:323)
2020-12-01T14:34:34.964805: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at android.os.Looper.loop(Looper.java:136)
2020-12-01T14:34:34.965034: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at android.app.ActivityThread.main(ActivityThread.java:6123)
2020-12-01T14:34:34.965248: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at java.lang.reflect.Method.invoke(Native Method)
2020-12-01T14:34:34.965398: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
2020-12-01T14:34:34.965589: stdout: [        ] E/MethodChannel#flutter/platform( 9732):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
2020-12-01T14:34:34.966863: stderr: [   +1 ms] VMServiceFlutterDriver: <<< {isError: false, response: {}, type: _extensionType, method: ext.flutter.driver}
2020-12-01T14:34:34.967698: stderr: [        ] VMServiceFlutterDriver: >>> {command: get_text, finderType: ByValueKey, keyValueString: status, keyValueType: String}
2020-12-01T14:34:34.986399: stdout: [  +18 ms] E/flutter ( 9732): [ERROR:flutter/shell/common/shell.cc(209)] Dart Unhandled Exception: PlatformException(error, Attempt to invoke interface method 'boolean io.flutter.plugin.platform.PlatformPlugin$PlatformPluginDelegate.popSystemNavigator()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke interface method 'boolean io.flutter.plugin.platform.PlatformPlugin$PlatformPluginDelegate.popSystemNavigator()' on a null object reference
2020-12-01T14:34:34.986682: stdout: [        ] E/flutter ( 9732):   at io.flutter.plugin.platform.PlatformPlugin.popSystemNavigator(PlatformPlugin.java:313)
stdout: [        ] E/flutter ( 9732):   at io.flutter.plugin.platform.PlatformPlugin.access$600(PlatformPlugin.java:28)
2020-12-01T14:34:34.987013: stdout: [        ] E/flutter ( 9732):   at io.flutter.plugin.platform.PlatformPlugin$1.popSystemNavigator(PlatformPlugin.java:101)
2020-12-01T14:34:34.987328: stdout: [        ] E/flutter ( 9732):   at io.flutter.embedding.engine.systemchannels.PlatformChannel$1.onMethodCall(PlatformChannel.java:123)
2020-12-01T14:34:34.987547: stdout: [        ] E/flutter ( 9732):   at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
2020-12-01T14:34:34.987815: stdout: [        ] E/flutter ( 9732):   at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
2020-12-01T14:34:34.988037: stdout: [        ] E/flutter ( 9732):   at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
2020-12-01T14:34:34.988246: stdout: [        ] E/flutter ( 9732):   at android.os.MessageQueue.nativePollOnce(Native Method)
2020-12-01T14:34:34.988470: stdout: [        ] E/flutter ( 9732):   at android.os.MessageQueue.next(MessageQueue.java:323)
2020-12-01T14:34:34.988678: stdout: [        ] E/flutter ( 9732):   at android.os.Looper.loop(Looper.java:136)
2020-12-01T14:34:34.988934: stdout: [        ] E/flutter ( 9732):   at android.app.ActivityThread.main(ActivityThread.java:6123)
2020-12-01T14:34:34.989112: stdout: [        ] E/flutter ( 9732):   at java.lang.reflect.Method.invoke(Native Method)
2020-12-01T14:34:34.989348: stdout: [        ] E/flutter ( 9732):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
2020-12-01T14:34:34.990016: stdout: [        ] E/flutter ( 9732):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
stdout: [        ] E/flutter ( 9732): ), stack trace: #0      JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:159:7)
stdout: [        ] E/flutter ( 9732): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:18)
2020-12-01T14:34:34.990374: stdout: [        ] E/flutter ( 9732): <asynchronous suspension>
2020-12-01T14:34:34.990702: stdout: [        ] E/flutter ( 9732): #2      SystemNavigator.pop (package:flutter/src/services/system_navigator.dart:34:5)
2020-12-01T14:34:34.990946: stdout: [        ] E/flutter ( 9732): <asynchronous suspension>
```

This reverts commit 6a84b02f6d.
2020-12-01 16:23:08 -08:00
engine-flutter-autoroll 6a84b02f6d
Roll Engine from 20caf5496951 to d2ad4419bb07 (27 revisions) (#71498)
* d6beaed56 Roll Fuchsia Linux SDK from gkfmiRsIl... to un3JixwuO... (flutter/engine#22744)

* 8832b480e Roll Skia from 888c5d3e57eb to 51b74afb84d4 (12 revisions) (flutter/engine#22746)

* e89090181 Don't register CanvasKit with `define` (flutter/engine#22745)

* 3c5167923 Roll Skia from 51b74afb84d4 to 452369182f6e (1 revision) (flutter/engine#22749)

* 5bf653353 Introduce a delegate class for gpu metal rendering (flutter/engine#22611)

* 5131aa40f Roll Skia from 452369182f6e to f2efb80bc316 (4 revisions) (flutter/engine#22750)

* 7b5f79f1a fuchsia: Ensure full-screen input interceptor (flutter/engine#22687)

* cec8a6e26 Manual roll of Dart SDK from ce76503f5b46 to dcd5a8f005a (flutter/engine#22766)

* 001a51193 Roll Fuchsia Linux SDK from un3JixwuO... to Bnaeivv07... (flutter/engine#22757)

* b9615b1d3 Roll Fuchsia Mac SDK from 36uDTGJQp... to qpkZl0s5J... (flutter/engine#22753)

* c4c476360 Roll Skia from f2efb80bc316 to 8d78da910e45 (5 revisions) (flutter/engine#22754)

* dbd1abec1 Roll Dart SDK from dcd5a8f005a2 to 960620d2e811 (794 revisions) (flutter/engine#22768)

* 1c2a6bd0a Fix the unchecked conversion warning for searchPaths in PlayStoreDynamicFeatureManager (flutter/engine#22654)

* 81af789ed add file package to deps in prep for glob update (flutter/engine#22770)

* a35e3fe4a Let FlutterFragment not pop the whole activity by default when more fragments are in the activity (flutter/engine#22692)

* adb3312f0 Revert "Introduce a delegate class for gpu metal rendering (#22611)" (flutter/engine#22775)

* bcc8832c1 Cleanup dart_runner examples & tests. (flutter/engine#22769)

* 609307de1 Roll Skia from 8d78da910e45 to fd41d878b13d (20 revisions) (flutter/engine#22772)

* 587c023ab [web] Add new line break type (prohibited) (flutter/engine#22771)

* 6b2ed2b5e Roll Skia from fd41d878b13d to 70fe17e12f38 (6 revisions) (flutter/engine#22776)

* 7910a1732 Roll Dart SDK from 960620d2e811 to 7a2a3968ef53 (12 revisions) (flutter/engine#22778)

* f4ada800d Roll Skia from 70fe17e12f38 to 4c6f57a23e63 (1 revision) (flutter/engine#22781)

* 3101dff34 [web] Optimize Matrix4.identity (flutter/engine#22622)

* a4ce848df Add FlutterPlayStoreSplitApplication for simpler opt in to Split AOT (flutter/engine#22752)

* 747b7912c Add file.dart to DEPS (flutter/engine#22794)

* 40fa345c0 Fix race condition in key event handling on Android (flutter/engine#22658)

* d2ad4419b Fix PlatformDispatcher.locale to return something meaningful when there are no locales. (flutter/engine#22608)
2020-12-01 14:14:45 -08:00
Jonah Williams 70e70ebb62
[flutter_tools] Catch all exception subtypes when unzipping a file (#70967) 2020-12-01 12:00:24 -08:00
Ian Hickson 2f567c39a6
Try to avoid more false-positives in people using this template (#71424) 2020-12-01 11:53:05 -08:00
Anurag Roy 537dea246c
[FloatingActionButtonLocation] Fix documentation (#71378) 2020-12-01 11:48:05 -08:00
Amit Patil 5929f4f79b
updated defualt value of unselectedItemColor textTheme.caption.color to unselectedWidgetColor (#71314) 2020-12-01 11:43:05 -08:00
tgucio 0aec2c3d0f
Restart EditableText cursor timer when it moves (#70787) 2020-12-01 11:38:04 -08:00
Jonah Williams 720f366ff5
Revert "Added CupertinoFormSection, CupertinoSplitFormRow, and CupertinoTextFormField (#70676)" (#71490)
This reverts commit e244724794.
2020-12-01 10:11:41 -08:00
Anna Gringauze eed9835a16
Enable mac web_tool_tests (#71108) 2020-12-01 10:03:09 -08:00
Pierre-Louis a508d358ca
Use adaptive more icon for popup_menu (#70773) 2020-12-01 10:03:05 -08:00
Jenn Magder 8522ec7e11
Validate empty observatory URI for screenshot (#71451) 2020-12-01 10:00:30 -08:00
Jenn Magder a5ee7f7cfc
Add XCFramework artifacts (#71113) 2020-12-01 10:00:16 -08:00
Daniel Edrisian e244724794
Added CupertinoFormSection, CupertinoSplitFormRow, and CupertinoTextFormField (#70676) 2020-12-01 09:58:07 -08:00
xubaolin 59cf0d2263
Improve the behavior of DropdownButton.disabledHint (#70277) 2020-12-01 09:58:04 -08:00
Gary Roumanis 7477524db6
Upgrade deps (#71450) 2020-12-01 09:57:27 -08:00
Jonah Williams ffbca11f1b
[flutter_tools] delete BuildRunnerWebCompilationProxy and WebCompilationProxy (#70914) 2020-12-01 09:54:43 -08:00
Jonah Williams 1816778529
[flutter_tools] wire up alternative invalidation strategy to features (#71439) 2020-12-01 09:54:23 -08:00