Commit Graph

29153 Commits

Author SHA1 Message Date
Jonah Williams
b02cb6e4c9 [flutter_tools] make local engine integration testing easier (#65802) 2020-09-15 13:32:02 -07:00
Greg Spencer
199a7c1964 Fix the character field of the RawKeyEvent to hold correct data on non-Android platforms. (#65667)
This fixes a problem where the character field of the RawKeyEvent was not being set at all for non-Android platforms.

I also updated the key maps, and corrected a problem with the Windows key map where the backquote character wasn't correctly mapped.
2020-09-15 13:02:16 -07:00
Yuqian Li
b8a39c15f8 Collect memory metrics (#65798) 2020-09-15 12:47:05 -07:00
Devon Carew
04e4b117f6 fix an issue where raw json output is written to IDE clients (#65508)
fix an issues where raw json output was written to IDE clients
2020-09-15 12:44:05 -07:00
LongCatIsLooong
8eadbb3137 Revert "Add CompositedTransformFollower.{followerAnchor, leaderAnchor} for custom anchoring (#64930)" (#65871)
This reverts commit 2fbb529d2b.
2020-09-15 11:28:52 -07:00
Yuqian Li
7948a7863b Continue the clipBehavior breaking change (#61366)
This follows https://github.com/flutter/flutter/pull/59364 and cl/319911104

FittedBox is still default to hardEdge clip as new FittedBox is added to Google very quickly. Let's first roll other part of changes into Google first.
2020-09-15 11:27:07 -07:00
engine-flutter-autoroll
f52380b67a Roll Engine from c6121c5d515c to 3c9308faad0b (4 revisions) (#65870) 2020-09-15 11:22:07 -07:00
Balvinder Singh Gambhir
3dde3e034c [flutter_tools] generates version.json for web using flutter tool (#64644)
Generates version.json in web directory of project. version.json can be used in the future version of package_info which will support web. version.json has the following keys : app_name, version and build_number. This file is generated every time a user runs or builds the project.

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-09-15 11:21:54 -07:00
Yuqian Li
e3c6979d1b Save startup timeline (#65118)
This would help us investigate issues like
https://github.com/flutter/flutter/issues/64781
2020-09-15 11:17:30 -07:00
Jenn Magder
7e27b140f0 Avoid thinning frameworks in iOS extensions (#65198) 2020-09-15 11:10:25 -07:00
Hans Muller
eb5ab2cb5c Buttons animate elevation changes before changing background color (#65662) 2020-09-15 10:57:04 -07:00
Hans Muller
abc9af52c8 Updated API doc references to obsolete Material button classes (#65665) 2020-09-15 10:56:42 -07:00
Jonah Williams
4188085596 [flutter_tools] handle archive exception from invalid zip signature (#65869)
Like the ProcessException thrown from zip running on a bad file, the tool should catch the ArchiveException thrown from windows implementation using package:archive.
2020-09-15 10:55:41 -07:00
Jonah Williams
b88f308af7 [flutter_tools] port deprecated settings test to flutter integration shard (#65806)
Port the deprecated settings devicelab test to tool integration shard. Tests that apps can be built using the deprecated android/settings.gradle file.

Part of #65790
2020-09-15 10:55:07 -07:00
Anthony
50f929f98e [Material] Fix a jumping animation in the beginning of the extended Navigation Rail transition (#65659) 2020-09-15 10:52:04 -07:00
Alexandre Ardhuin
e55b7ca0a3 fix nullability of ScrollMetrics (#65861) 2020-09-15 10:10:33 -07:00
engine-flutter-autoroll
ca2ecf7536 Roll Engine from 7e962ba91133 to c6121c5d515c (6 revisions) (#65833) 2020-09-15 07:47:03 -07:00
Alexandre Ardhuin
b007a81ad4 Reland "Nnbd widgets" (#65528)
* Reland "Nnbd widgets (#64672)"

This reverts commit 127e67902e.

* remove non-nullable enforcement on AsyncSnapshot

* make data param non-nullable for AsyncSnapshot.withData

* make some Text params non-nullable
2020-09-15 16:42:00 +02:00
Pedro Massango
96ca0e272b Add onSelectionChanged into SelectableText widget (#65320) 2020-09-15 01:02:04 -07:00
GodHyum
dfd0c6270f Remove back button when using end drawer (#63272) 2020-09-15 00:57:03 -07:00
engine-flutter-autoroll
37b03ec2c2 Roll Engine from 257eba9c19b5 to 7e962ba91133 (12 revisions) (#65809) 2020-09-14 20:52:04 -07:00
Hans Muller
0e4cca4f69 Updated references to obsolete Material button classes in benchmarks/test_apps/stocks (#65799) 2020-09-14 19:22:06 -07:00
engine-flutter-autoroll
d674fdf8f5 Roll Engine from 2fc054147e57 to 257eba9c19b5 (3 revisions) (#65769) 2020-09-14 18:12:04 -07:00
stuartmorgan
fa12f443df Update Windows app template (#65696) 2020-09-14 18:07:04 -07:00
Aman Verma
9dd6738662 Update flutter_command.dart (#65765) 2020-09-14 18:02:09 -07:00
Ayush Bherwani
4e89ccfdee [LayoutBuilder] Implements baseline logic to pass baseline to child (#65000) 2020-09-14 18:02:05 -07:00
stuartmorgan
bcd0959ac3 Sort generated plugin file content by plugin name (#65509) 2020-09-14 17:57:11 -07:00
Filip Hracek
5b76b350b6 Improve docs of ImageFiltered and BackdropFilter (#65503) 2020-09-14 17:57:08 -07:00
Jonah Williams
039f1cf853 [flutter_tools] handle terminals that do not support single char mode in Terminal.promptForCharInput (#65418)
Some terminals stdin do not support single char mode (like an emacs terminal buffer apparently). If this is the case, then the presented choice values would always have an appended newline \n which would prevent us from finding the value in the listed index (or using it as a signal for the default choice). To fix, treat '' as the default choice and always trim the choice value.

While this has seemingly always been broken, it wasn't noticeable until the multi-device selection prompt was added a few months ago.

Fixes #65267
2020-09-14 17:57:04 -07:00
Jonah Williams
6acea15f22 [flutter_tools] fix failure to create ansi spinner if download needs to be retried (#65797)
Because the Status spinner was only created on setup, the second stop would asset/crash.

Fixes #65449
2020-09-14 17:55:11 -07:00
Jonah Williams
4e20f00053 [ci] remove create offline tests (#65791)
Currently these tests are taking CI time without providing any value, because there is no verification that network connectivity is avoided. This is better covered by a unit test that verifies that --offline is passed to pub.
2020-09-14 17:54:59 -07:00
LongCatIsLooong
2fbb529d2b Add CompositedTransformFollower.{followerAnchor, leaderAnchor} for custom anchoring (#64930) 2020-09-14 17:52:06 -07:00
Jenn Magder
7e41425d4a Match benchmark iOS project bundle identifiers (#65793) 2020-09-14 14:31:56 -07:00
engine-flutter-autoroll
cba91c97d0 Roll Engine from 097facfac32e to 2fc054147e57 (3 revisions) (#65731) 2020-09-13 15:57:03 -07:00
Greg Spencer
94592acb71 Creates a way to test private APIs in the Flutter package. (#65505) 2020-09-13 15:52:03 -07:00
engine-flutter-autoroll
4f62680809 097facfac Roll Dart SDK from 4bf1f624d06e to b6f67aa2cc72 (1 revision) (flutter/engine#21139) (#65712) 2020-09-13 14:02:02 -07:00
Zachary Anderson
a91bf5f3ee Revert "fuchsia_remote_debug_protocol allows open port on remote device (#63996)" (#65704)
This reverts commit 33f799508c.
2020-09-13 10:51:27 -07:00
engine-flutter-autoroll
dbfc8606a4 Roll Engine from 4a5e29ac645d to a585979c7ab6 (3 revisions) (#65707) 2020-09-12 22:57:03 -07:00
engine-flutter-autoroll
54495ff89e Roll Engine from 43cb9b709291 to 4a5e29ac645d (7 revisions) (#65701) 2020-09-12 19:02:03 -07:00
engine-flutter-autoroll
3dc2520371 Roll Engine from 16b900b63e27 to 43cb9b709291 (2 revisions) (#65675) 2020-09-12 14:47:04 -07:00
sehee Jeong
a39a893463 Add sample code to FadeTransition (#64240) 2020-09-12 14:42:02 -07:00
engine-flutter-autoroll
2e643651a9 Roll Engine from 545b1b9fcd33 to 16b900b63e27 (5 revisions) (#65671) 2020-09-11 20:07:03 -07:00
Ming Lyu (CareF)
51f1c98490 migrate cubic_bezier_perf to e2e (#64487) 2020-09-11 20:02:03 -07:00
Satsuki Ueno
33f799508c fuchsia_remote_debug_protocol allows open port on remote device (#63996)
* fuchsia_remote_debug_protocol allows open port on remote device

Allows defining a port forwarding function for which the accessible
port is not on the host device. Examples include tunneling solutions
where a tunneling program on the same device as the Dart VM exposes
an open port through which it tunnels connections to the VM.

* Move ssh-specific comment to SshPortForwarder
2020-09-11 18:18:13 -07:00
engine-flutter-autoroll
5a0e097838 Roll Engine from 78f968e317c2 to 545b1b9fcd33 (9 revisions) (#65666) 2020-09-11 18:12:03 -07:00
chunhtai
a5a07a784a fix overlay entry remove to remove itself from the overlay first if i… (#65126) 2020-09-11 18:07:04 -07:00
Tong Mu
87617e4cc3 New benchmark: bench_mouse_region_mixed_grid_hover (#63808)
* Adds a new web benchmark bench_mouse_region_mixed_grid_hover
2020-09-11 18:05:15 -07:00
Ian Hickson
b3d1ebf117 Move the registration of the restoration channel to binding initialization. (#65579) 2020-09-11 16:30:05 -07:00
engine-flutter-autoroll
2c27fdbb68 78f968e31 Roll Skia from bbe69951b416 to 6518d77a2200 (1 revision) (flutter/engine#21096) (#65643) 2020-09-11 16:25:04 -07:00
Yuqian Li
e1eddb401d Revert the revert (#65602) 2020-09-11 16:20:03 -07:00