Commit Graph

19709 Commits

Author SHA1 Message Date
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 5fa5701d72.
2020-07-24 18:16:44 -07:00
Zachary Anderson
ab3a4b0e69 Revert "bump nullsafety deps (#61978)" (#62234)
This reverts commit c46aa360b0.
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 c816fabd0a.
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
Jonah Williams
a19fd72db5 [flutter_tools] check in script for generating per library unit coverage (#61996)
Allows generating a per-library coverage summary like https://gist.github.com/jonahwilliams/f298381c3fb9f472b2dfe54b82a20a88
2020-07-22 18:40:12 -07:00
Jonah Williams
3a976feb58 [flutter_tools] clean plugin dependencies file (#62061)
Clean even more, in case the plugin dependency update logic is wrong-o.
2020-07-22 18:39:33 -07:00
Chris Yang
c5a69b9b8a Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
Greg Spencer
60314646b3 Find the target platform more accurately on the web. (#61587) 2020-07-22 18:36:08 -07:00
Pragya
d95f79f95f Updated instructions of 'flutter help attach' (#61569) 2020-07-22 18:31:12 -07:00
Ming Lyu (CareF)
9e2e0ef3b4 implement handlePointerEventRecord for LiveWidgetController (#61266) 2020-07-22 18:31:08 -07:00
Todd Volkert
e91b833933 Minor doc updates (#62008) 2020-07-22 18:28:08 -07:00
Todd Volkert
67a9ae173b Update Actions.invoke to return the result of invoking the action. (#62012)
The boolean value as to whether the action was found and enabled
is less useful than just returning the result of invoking the action
itself.
2020-07-22 18:27:38 -07:00
Pierre-Louis
629395f7ad Add per thumb Range Slider semantics (#61439) 2020-07-22 18:26:11 -07:00
David Martos
6d303af97e Use the correct Transform in the WidgetInspector overlay (#59566) (#60990) 2020-07-22 18:26:07 -07:00
huangchaoyang
9da74f66ca Show correct errors when plugins yaml forgot the 'flutter.plugins.pla… (#61338) 2020-07-22 18:24:03 -07:00