19720 Commits

Author SHA1 Message Date
Jonah Williams
59e0a2ec28
[flutter_tools] update device discovery constructors (#61640)
google3 callsites are updated, remove global lookup from constructor parameters.
2020-07-28 10:20:01 -07:00
Jonah Williams
1b8e6b4236
[flutter_tools] fix exit label for batchfile (#62272)
move the final_exit label to the correct script location for the flutter/dart entrypoints.
2020-07-28 10:19:43 -07:00
Michael Goderbauer
175e5c9aca
Restoration Framework (#60375)
* state restoration

* added example

* typos and analyzer

* whitespace

* more typos

* remove unnecessary import

* whitespace

* fix sample code

* tests for restorationmanager and restorationid

* ++

* typo

* tests for bucket, part1

* rename tests

* more tests

* finished tests for service layer

* remove wrong todo

* ++

* review comments

* tests for Unmanaged and regular scope

* RootRestorationScope tests

* typo

* whitespace

* testing framework

* tests for properties

* last set of tests

* analyzer

* typo

* dan review

* whitespace

* ++

* refactor finalizers

* ++

* ++

* dispose guard

* ++

* ++

* dan review

* add manager assert

* ++

* analyzer

* greg review

* fix typo

* Ian & John review

* ian review

* RestorationID -> String

* revert comment

* Make primitives non-nullable in prep for NNBD
2020-07-28 10:16:36 -07:00
Pragya
1fff10500f
Added expandedHeight in flexibleSpace and flexibleSpaceBar (#61710) 2020-07-28 10:16:13 -07:00
Jenn Magder
e8e5de44ec
Parse .flutter-plugins-dependencies for add-to-app iOS modules (#61269) 2020-07-28 10:16:09 -07:00
chunhtai
734782f5d7
clean up hero controller scope (#60655) 2020-07-28 10:11:09 -07:00
Daniel Iglesia
0fdb21f31f
Adds an onMove callback on a DragTarget. (#60174) 2020-07-28 09:56:09 -07:00
Todd Volkert
901ccbe65b
Add timeout to the devicelab runner logs (#62418) 2020-07-28 09:40:11 -07:00
Todd Volkert
8c5c720ce6
Temporarily disable docset generation (#62386)
https://github.com/flutter/flutter/issues/60646
2020-07-28 01:07:42 -07:00
Todd Volkert
39fa00201d
Use in-memory disk for docs shards (#62373)
https://github.com/flutter/flutter/issues/60646
2020-07-27 21:11:43 -07:00
Jonah Williams
d834673033
roll dart/engine to f27729e97b5a00c3a8d8d49edc7b998fa755b97a (#62368) 2020-07-27 17:51:31 -07:00
Todd Volkert
271b8dd674
Fix doc generation scripts (#62340) 2020-07-27 08:46:57 -07:00
Todd Volkert
8e0eee9008
Sub-shard the docs shard (#62281)
Separate out offline docs, docset generation, and docs deployment
each into dedicated shards.

https://github.com/flutter/flutter/issues/60646
2020-07-26 23:38:01 -07:00
Todd Volkert
35e7005184
Rather than timing out dashing, run it in background (#62251)
https://github.com/flutter/flutter/issues/60646
2020-07-25 09:44:17 -07:00
Todd Volkert
5a290fc84d
Add --disable-dart-dev to docs.sh (#62249)
https://github.com/flutter/flutter/issues/62206
2020-07-24 23:51:41 -07:00
Todd Volkert
81bf39e4a9
Print date/time for each step taken in docs.sh (#62248)
This will allow us to see in the logs how long each step takes
2020-07-24 22:38:17 -07:00
Jonah Williams
cb615b3bd7
Revert "Make sure all isolates start during flutter driver tests. (#61841)" (#62239)
This reverts commit 5fa5701d72970a2a176d75377bca00539593e98f.
2020-07-24 18:16:44 -07:00
Zachary Anderson
ab3a4b0e69
Revert "bump nullsafety deps (#61978)" (#62234)
This reverts commit c46aa360b0dfd30895c85f698bc4588ab164dcd0.
2020-07-24 16:31:42 -07:00
Alexandre Ardhuin
c46aa360b0
bump nullsafety deps (#61978) 2020-07-24 16:17:08 -07:00
雷宇辰
7779a14794
[flutter_tools] Make flutter git upstream configurable (#61513) 2020-07-24 16:16:31 -07:00
Jenn Magder
f9499f44f7
Detect exact device ID matches quickly (#62070) 2020-07-24 16:15:44 -07:00
Todd Volkert
a48446f94b
Fix error handling for errors with empty stack traces (#62224)
Fixes https://github.com/flutter/flutter/issues/62223
2020-07-24 15:50:01 -07:00
Todd Volkert
6e252772d1
Add support for system alert sound (#62086)
* Add SystemSoundType.alert (supported in the engine in flutter/engine#19970)
* Play system alert sound when user tries to dismiss a non-dismissable modal
  barrier
2020-07-24 15:49:41 -07:00
Will Larche
7782845edd
[Material] Updated icons and fonts (#61778) 2020-07-24 15:41:13 -07:00
Pedro Massango
5142a30434
Add minWidth and height parameter into FlatButton widget (#61664) 2020-07-24 15:41:09 -07:00
Brian Eaton
5fa5701d72
Make sure all isolates start during flutter driver tests. (#61841) 2020-07-24 15:36:13 -07:00
Kate Lovett
d1411a1626
Remove unused FlutterErrorDetails subclasses (#61579) 2020-07-24 15:36:08 -07:00
Jonah Williams
c6dce2318b
[flutter_tools] remove breakpoints from paused isolate on hot restart (#62069)
The embedder requires that the isolate is unpaused, because the runInView method requires interaction with dart engine APIs that are not thread-safe. These APIs must be run on the same thread that would be blocked by the pause. Simply unpausing is not sufficient, because this does not prevent the isolate from immediately hitting a breakpoint, for example if the breakpoint was placed in a loop or in a frequently called method. Instead, all breakpoints are first disabled and then the isolate resumed.
2020-07-24 15:34:55 -07:00
Jonah Williams
6c6c7ba8ec
[flutter_tools] ensure x64 is built if target-platforms is not specified (#62096)
In the add-2-app case, users may not specify the android target platforms field, but this only defaults to arm builds. Add x64 to the default list.

Fixes #62095
2020-07-24 15:33:13 -07:00
Zachary Anderson
523afbe58b
Ensure analytics are sent before disabling (#62094) 2020-07-24 15:31:18 -07:00
Ayush Bherwani
7877d46c8b
[CONTRIBUTING.md] adds Contributing to Flutter article link (#61517) 2020-07-24 15:31:12 -07:00
Jonah Williams
a7db3591cb
[flutter_tools] deflake fastReassemble test (#62152) 2020-07-24 15:17:39 -07:00
Zachary Anderson
5e0ba2290f
Pass --disable-dart-dev in more places (#62217) 2020-07-24 13:37:08 -07:00
Jason Simmons
e64fe11542
Manual engine roll to 626244a72c5d53cc6d00c840987f9059faed511a (#62163)
Disabled web_benchmarks_canvaskit in the bot scripts because it was
failing in the Cirrus environment.
2020-07-23 18:11:17 -07:00
Jason Simmons
ba6d15c0c1
Manual engine roll to 602c2d81fa166c77920c2b2fdc190a6f2f257985 (#62158) 2020-07-23 15:08:20 -07:00
Jason Simmons
fc72a5f105
Disable DartDev when running device lab tests (#62154)
This is a workaround for https://github.com/flutter/flutter/issues/62139
so that the engine roll pipeline can proceed.
2020-07-23 14:17:27 -07:00
Jason Simmons
9b35933b2b
Manual engine roll to 4d720dd9e56ff5d008ed8cafff3a45676f403c23 (#62150) 2020-07-23 12:09:36 -07:00
chunhtai
561735ad89
Revert "remove usage to applyTextScaleFactorToWidgetSpan (#61636)" (#62144)
This reverts commit c816fabd0af48a861afdeb78bb6ebe4b7cbd3707.
2020-07-23 10:35:21 -07:00
Alexandre Ardhuin
8428cf30eb
Add template flutter.widgets.transitionRoute.reverseTransitionDuration (#62136) 2020-07-23 09:22:20 -07:00
Pedro Massango
f025ca2fc6
Update basic.dart (#61961) 2020-07-23 08:46:04 -07:00
Alexandre Ardhuin
a07219a310
migrate physics to nullsafety (#61941) 2020-07-23 08:41:04 -07:00
Abdur Rafay Saleem
b50b5eadb0
Improved docs for minLines in EditableText (#61796) 2020-07-23 08:36:04 -07:00
LongCatIsLooong
64173f75c3
Check if a double is NaN before converting to it int (#61940) 2020-07-23 08:31:08 -07:00
Ming Lyu (CareF)
056e455e94
Add a E2E based performance test case (#61509) 2020-07-23 08:31:04 -07:00
Michael Goderbauer
8e58c51d1a
Update viewport dimensions when scrollDirection changes (#61973) 2020-07-23 08:30:26 -07:00
Michael Goderbauer
4b4287ba78
Make it an error to break macros in docs (and fix existing broken macros) (#62071) 2020-07-23 08:29:46 -07:00
Greg Spencer
cac22cdb08
Fix ExcludeFocus so it won't refocus a sibling of the focused node. (#61756)
This changes FocusNode.descendantsAreFocusable so that it doesn't allow the enclosing scope to re-focus a node that is a descendant of the node with descendantsAreFocusable set to false.

Because of the order in which the internal state for descendantsAreFocusable was being set, setting it to false was causing a sibling node to be focused when descendantsAreFocusable of the parent was set to false, even though it shouldn't have been focusable, because the enclosing scope would search for a candidate to be focused before the internal state was set to false.

Instead of looping over the children and telling them all to unfocus (and select the previously focused node), this unfocuses the node that has descendantsAreFocusable set to false, with the disposition UnfocusDisposition.previouslyFocusedChild, so that its enclosing scope will look for a previously focused child that isn't part of the subtree being excluded.

This affects how the ExcludeFocus widget behaves when turning on exclude.
2020-07-23 08:27:53 -07:00
Emmanuel Garcia
ddb8e6e3bf
Test dynamic surface switch (#61918) 2020-07-22 20:00:07 -07:00
Abdur Rafay Saleem
b8df8a8368
Allowed specifying reverseTransitionDuration in PageRouteBuilder class (#61752) 2020-07-22 18:41:09 -07:00
chunhtai
c816fabd0a
remove usage to applyTextScaleFactorToWidgetSpan (#61636) 2020-07-22 18:41:06 -07:00