Commit graph

14635 commits

Author SHA1 Message Date
Jonah Williams bdb830a833
[flutter_tools] pretty print hot reload rejection error (#66701)
If the vm of an attached device rejects a hot reload, pretty print the reason. Suggest a hot restart so that users are aware that they do not have to detach and rebuild. Also resets the last compilation time, so a subsequent restart would still apply the last change. Adds an integration test for the const field removal.

Fixes #64027
2020-10-09 15:44:52 -07:00
Jonah Williams 5fa801718f
[flutter_tools] remove train and inject-plugins command (#67766)
The train command does nothing and was originally added to provide a no-output default for generating app-jit snapshots. The inject-plugins command is only for a repo-only analysis check, which is not necessary since we regenerate during pub get.

#29805
2020-10-09 15:43:39 -07:00
Jonah Williams 92702a28ec
Revert "Flutter driver patch: export finder factory (#67769)" (#67777)
This reverts commit be5830cdf0.
2020-10-09 15:16:24 -07:00
Greg Spencer c083f02f3a
Migrate more material tests to NNBD (#67674)
This migrates more material tests to NNBD.
2020-10-09 14:58:13 -07:00
Marcin Jeleński be5830cdf0
Flutter driver patch: export finder factory (#67769) 2020-10-09 14:49:45 -07:00
Marcin Jeleński 759ddb1ccd
Reland "Flutter Driver - Create widget finders from serialized finders extensions" with null safety (#67711)
* Flutter Driver - Create widget finders from serialized finders extensions
2020-10-09 13:28:25 -07:00
Matej Knopp 24abe59f38
Provide oldLayer where possible (#67320) 2020-10-09 13:07:05 -07:00
Jonah Williams cba84d5127
[flutter_tools] remove globals from IntelliJ validator, refactor tests to remove dependency on JAR (#67240)
Move the intellij validator to its own file, and split off the tests. Remove globals from each, and remove dependency on a real jar/filesystem by creating a minimal version of the manifest xml and setting it up in the memory file system.

#47161
2020-10-09 13:05:42 -07:00
Jonah Williams 9a3a0dc18f
[flutter_tools] hot reload/restart update for asset manager change (#66742)
Do not upload all assets on initial devFS sync. This should increase the reliability of the initial connection, even in the face of flaky devfs behavior, in addition to a moderate perf improvement.

Updates fast-start to build assets as part of the initial bundle

Requires flutter/engine#21436
Requires flutter/engine#21586
Requires flutter/engine#21611
2020-10-09 12:25:15 -07:00
nturgut a755c03819
Add web e2e to the flutter/flutter repo (#67693)
* adding tests that uses integration_test (e2e) package to flutter

* change the package name for the import

* fix licenses. fix README commands. add links

* adding dependency change auto generated by the tool

* more analyzer error fixes
2020-10-09 12:24:36 -07:00
Michael Goderbauer 0dc10deb79
Fix tree (#67751) 2020-10-09 11:12:57 -07:00
Michael Goderbauer 793678d50e
Migrate tests to null-safety (#67692) 2020-10-09 10:42:02 -07:00
Nan Kim 28a9a6b48c
Add sample code for CupertinoActionSheet (#65274) 2020-10-09 09:08:13 -07:00
Per Classon 8d80592d46
Add tristate to parent checkbox for DataTable (#67414)
* Add tristate to parent checkbox for DataTable to follow Material specifications
2020-10-09 16:33:39 +02:00
Rami bbf1b5579f
[Material] Time picker semantics updates (#67562) 2020-10-09 10:28:20 -04:00
Per Classon ee08c2278a
Add decoration parameter to DataTable and DataTableTheme (#66640)
* Add decoration parameter to DataTable and DataTableTheme
2020-10-09 14:11:17 +02:00
Jenn Magder 98aeef2d98
Build xcarchive command (#67598) 2020-10-08 19:51:35 -07:00
Mouad Debbar ffcf419136
[web] Support custom url strategies (#59797) 2020-10-08 17:57:02 -07:00
Jonah Williams 4f2fcca6a9
Reland "[null-safety] reland: migrate app side flutter driver to null-safety" (#67570) 2020-10-08 17:42:02 -07:00
Greg Spencer 1bcaf94062
Fix nullability warnings in routes_test (#67694) 2020-10-08 17:02:33 -07:00
Jenn Magder f92ba2d2c5
Replace MockUsage with Usage.test in build tests (#67670) 2020-10-08 16:09:49 -07:00
xster 41325b5677
Turn timer_picker_test goldens back on (#67555) 2020-10-08 15:57:03 -07:00
Michael Goderbauer d127f2c94a
Fix nullability for some routing related stuff (#67675) 2020-10-08 15:56:31 -07:00
Jonah Williams 4042eb97b9
Revert "Flutter Driver - Create widget finders from serialized finders extensions (#67456)" (#67687)
This reverts commit 74f6fa4564.
2020-10-08 15:34:55 -07:00
Marcin Jeleński 74f6fa4564
Flutter Driver - Create widget finders from serialized finders extensions (#67456) 2020-10-08 15:27:02 -07:00
chunhtai cb0bdb4994
make router assert more strict (#67672) 2020-10-08 14:12:03 -07:00
Jonah Williams 973404a27f
[flutter_tools] support powershell style help request (#67493) 2020-10-08 14:06:58 -07:00
Jason Simmons e3c441e0fd
Replace the flag emoji in the emoji caret test with a modifier sequence (#67652) 2020-10-08 13:52:09 -07:00
Greg Spencer 58287aceef
Convert services tests to NNBD (#62694)
This converts the packages/flutter/test/services directory to NNBD, now that the services package is converted.

I changed the signature of checkMessageHandler and checkMockMessageHandler on BinaryMessenger to take a nullable handler, since the tests wanted to check to make sure a handler wasn't set, and that functionality no longer works if the handler is non-nullable.
2020-10-08 13:46:44 -07:00
Jonah Williams ddab09f553
[flutter_tools] enable LocalDevFSWriter for desktop devices, iOS simulator (#66678)
* [flutter_tools] enable LocalDevFSWriter for desktop devices, iOS simulator

* Update device.dart

* Update desktop_device_test.dart

* fix analysis errors
2020-10-08 13:40:19 -07:00
Christopher Fujino ccdaa37043
Remove the .zip method from OSUtils, as it was not used (#67367)
We used to use zip to verify the integrity of downloaded zip archives, but we now use unzip. This removes the .zip method from OperatingSystemUtils.
2020-10-08 13:40:01 -07:00
Justin McCandless 96ae589a2e
Fix new analyzer rule failure (#67656) 2020-10-08 12:47:46 -07:00
Alexandre Ardhuin 8693824dfb
fix the tree (#67668) 2020-10-08 21:36:41 +02:00
nero e0c0321e4d
[ReorderableListView] Fix item dropping animation (#64140) 2020-10-08 12:32:02 -07:00
Jonah Williams 30c0fc1bce
[flutter_tools] remove globals from compile and devices (#67485)
Remove global variables from compile.dart and devices.dart (except for dds which needs more changes).

#47161
2020-10-08 12:28:58 -07:00
Yuqian Li 587dd00619
Add the missing parantheses (#67446)
Fixes https://github.com/flutter/flutter/issues/67343
2020-10-08 12:20:30 -07:00
Kate Lovett 72696f77dd
Remove Cirrus support for Gold (#67468) 2020-10-08 14:19:42 -05:00
Alexandre Ardhuin 4acc790252
enable lint cast_nullable_to_non_nullable (#67629) 2020-10-08 21:05:43 +02:00
Ayush Bherwani a67ba2a2ba
[AppBarTheme] adds titleSpacing parameter (#67105)
* adds titleSpacing in AppBarTheme

Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2020-10-09 02:07:34 +08:00
LongCatIsLooong 731374016b
Reland "Add CompositedTransformFollower.{followerAnchor, leaderAnchor} for custom anchoring (#64930)" (#65871) (#65884) 2020-10-08 11:07:03 -07:00
Michael Goderbauer 4513e96a30
Migrate more material tests (#67591) 2020-10-08 10:42:09 -07:00
Justin McCandless b79e3462a3
Some NNBD Test Conversion (#67558)
Just converting some test files to NNBD
2020-10-08 09:51:38 -07:00
Anthony 82ff246156
Fix Align widthFactor and heightFactor docs to allow 0 values (#67334) 2020-10-08 11:09:27 -04:00
Alexandre Ardhuin d2858f00dd
enable null_check_on_nullable_type_parameter and tighten_type_of_initializing_formals (#67557)
* enable null_check_on_nullable_type_parameter and tighten_type_of_initializing_formals

* fix CI
2020-10-08 09:39:13 +02:00
Alexandre Ardhuin 0d8d4f77aa
unnecessary null comparison (#67525) 2020-10-08 09:26:30 +02:00
Yegor 0b78110b26
Work around the glibc bug that causes rare Chrome crashes (#67466)
Work around the glibc bug that causes rare Chrome crashes
2020-10-07 19:29:47 -07:00
Dan Field 8d9e0d4b95
Respect --enable-software-rendering flag on iOS simulators (#67576) 2020-10-07 18:07:10 -07:00
Michael Goderbauer 1e0007f3f1
Implement documented behavior of WidgetsApp.builder (#67574) 2020-10-07 17:42:04 -07:00
Kate Lovett cfc8ec23b6
Re-land 'Wrap PopupMenu with SafeArea to respect status bar' (#67578) 2020-10-07 17:07:05 -07:00
Darren Austin 3c21775c94
Migrate Material framework tests to null safety (#67556)
Migrate Material framework tests to null safety.
2020-10-07 16:44:00 -07:00