Commit Graph

18842 Commits

Author SHA1 Message Date
Bogdan Lukin
80a14af582 [flutter_tools] ensure track-widget-creation can be changed on devcompiler (#56564)
Workaround for cached web builds with --[no-]track-widget-creation flags.
Similar PR: #23299
2020-05-07 18:58:43 -07:00
Hans Muller
7ba5078f85 Added MaterialStateProperty.all() convenience method (#56589) 2020-05-07 18:20:56 -07:00
Ian Hickson
3cb79079bf Fix silent test failure in image cache tests (#56492) 2020-05-07 18:19:03 -07:00
Jenn Magder
0a4f6cdef0 Add split-debug and obfuscation to build aar (#56342) 2020-05-07 18:14:02 -07:00
Hans Muller
26dc70dc18 Add OutlinedBorder class (#56341) 2020-05-07 18:04:03 -07:00
Greg Spencer
fd4d6d70d7 Remove semantics node generated by ExcludeFocus (#56568) 2020-05-07 17:59:07 -07:00
Jonah Williams
2d26cbb2bf [flutter_tools] reduce initial cache size on web (#56103) 2020-05-07 17:59:02 -07:00
Shi-Hao Hong
960b75719e Update Tab semantics in Cupertino to be the same as Material (#56582) 2020-05-07 17:54:09 -07:00
Darren Austin
4560ebcf9f Implementation of the Material Date Range Picker. (#55939) 2020-05-07 17:54:03 -07:00
Justin McCandless
cd67da260e Revert "Paste shows only when content on clipboard (#54902)" (#56614)
This reverts commit 053c38818f.
2020-05-07 17:28:37 -07:00
Justin McCandless
053c38818f Paste shows only when content on clipboard (#54902) 2020-05-07 15:22:03 -07:00
Jenn Magder
4be791994f Swap xcodeproj_tests from MockProcessManager to FakeProcessManager (#56505) 2020-05-07 15:18:27 -07:00
Jonah Williams
8f7b2f9bee [flutter_tools] throw StateError instead of null (#56481) 2020-05-07 11:41:03 -07:00
xster
f6b47a5f35 let the embedding maven engine dependency reference the storage proxy (#56164) 2020-05-07 11:36:02 -07:00
Justin McCandless
8fbfe1cfbf Text field height fix (#55911) 2020-05-06 17:36:01 -07:00
Jonah Williams
9bfe50cb81 [flutter_tools] fix windows vscode lookup (#56491) 2020-05-06 16:51:01 -07:00
Kate Lovett
bf8208cd14 ToDo Audit - Material Library+ (#55789) 2020-05-06 16:41:01 -07:00
Kate Lovett
e1e300bb4b Skip Audit - Painting Library (#55793) 2020-05-06 14:49:02 -07:00
Mjk
3f0024e164 Fix compute intrinsic size for wrap (#55469) 2020-05-06 13:16:01 -07:00
Gary Qian
bef3512d14 DoubleTap recognizer support and improved error message (#56328) 2020-05-06 13:06:02 -07:00
chunhtai
2f04ba91c7 Fixes the navigator pages update crashes when there is still route wa… (#55998) 2020-05-06 13:01:03 -07:00
Jia Hao
c2b7342ca4 Handle uncaught error for warnIfSlow (#56418) 2020-05-06 08:16:03 -07:00
Zachary Anderson
6f0ed5e142 [flutter_tools] Restore base/platform.dart (#56410) 2020-05-06 08:15:39 -07:00
Darren Austin
8568eda15b Added an empty list example to the ListView docs (#56394)
Added and example to the ListView docs that shows how to have a custom UI for an empty list.
2020-05-05 16:10:41 -07:00
Greg Spencer
69019664fe Focus the last node when asked to focus previous and nothing is selected. (#56160) 2020-05-05 13:42:02 -07:00
Jonah Williams
0ecc7a4bee [flutter_tools] support multiple fuchsia devices (#55780)
Fixes #55765

We are currently only returning the first device from dev-finder, instead we need to look at the whole list.
2020-05-05 13:40:38 -07:00
Jonah Williams
9b7b9d795e [flutter_tools] reland remove flutter view cache (#56387)
Fixes #56194

Remove caching of FlutterView and poll forever if the list of flutter views is empty. Added test for missing release mode logic.
2020-05-05 12:09:51 -07:00
Jonah Williams
d98d3a973f Revert "[flutter_tools] remove flutter view cache (#56223)" (#56385)
This reverts commit 209bdcb669.
2020-05-05 11:15:33 -07:00
Jonah Williams
209bdcb669 [flutter_tools] remove flutter view cache (#56223)
Remove caching of FlutterView. Perhaps the FlutterView RPC might return an empty list if the VM is not quite up yet? We had some old logic to poll the flutter views RPC for up to 200ms. That doesn't seem like a great approach, so instead we could forgo it entirely and trust that either the views come up before the developer tries to interact, or we crash.
2020-05-05 10:47:01 -07:00
Siva
a48a51b0ff Trial PR to use an engine that has the null safety unfork CL in it. (#56309)
* Trial PR to use an engine that has the null safety unfork CL in it.

* Fix mack specification for test.
2020-05-05 09:54:21 -07:00
Chase Latta
e963bfe19f Add package_root for fuchsia_tools (#56077) 2020-05-04 18:49:01 -07:00
Jia Hao
d6f6fc4d6b Fix WidgetsBinding.firstFrameRasterized not completing (#56022) 2020-05-04 18:44:03 -07:00
Andre
96233db90d Make CustomClipper extend Listenable (#55995) 2020-05-04 18:39:03 -07:00
Jenn Magder
415401102c Gradle artifacts and tasks tests without context (#56335) 2020-05-04 18:38:14 -07:00
Jenn Magder
06fcf5146b Inject logger and fs into printHowToConsumeAar, test without context (#56331) 2020-05-04 18:38:00 -07:00
Jenn Magder
90233746b7 BuildInfo tests without context (#56329) 2020-05-04 18:37:44 -07:00
Jenn Magder
c587d73ec6 Use androidSdk globals variable everywhere (#56330) 2020-05-04 17:48:10 -07:00
David Morgan
0830c75c59 Turn implicit casts in code generated by flutter_platform.dart into explicit casts. (#56290) 2020-05-04 12:44:01 -07:00
Devon Carew
3f9ede1311 fix the reload and restart service extension methods (#56240) 2020-05-04 11:34:02 -07:00
Jonah Williams
6d1966efcc [flutter_tools] make gallery hot reload 5x faster with one neat trick (#56224) 2020-05-04 11:32:30 -07:00
Jenn Magder
c8c55b4098 Check Xcode build setting FULL_PRODUCT_NAME for bundle name (#55799) 2020-05-04 11:31:08 -07:00
Đào Hoàng Sơn
741ef91961 Fix typo for TextStyle.fontFamilyFallback document (#56219) 2020-05-04 11:29:03 -07:00
Peter Lauri
f6db8ccd20 [flutter_tools] fix version tag v stripping and support old "dev" and new "pre" tags (#55602) 2020-05-04 11:24:03 -07:00
Jonah Williams
6dc1e83f12 [flutter_tools] ensure track-widget-creation can be disabled on Android/macOS (#56203)
Ensure --no-track-widget-creation is piped through android/macOS. Adds integration testing for iOS/android/macOS
2020-05-04 11:22:15 -07:00
stuartmorgan
1b88914197 Redirect stdout/stderr in Windows template (#56089)
Redirects stdout/stderr in the Windows template when creating a console. This fixes the console opened when running from Visual Studio to actually show output, instead of being empty.

Fixes #53169
2020-05-03 14:25:00 -07:00
Shi-Hao Hong
c01c46c896 Test to ensure _kn.arb files are properly escaped (#56091)
* Run encode kn character encoding tool when gen_localizations is run

* Add test that ensures *_kn.arb files are properly encoded/escaped in order to be checked in

* Fix *_no.arb test to not incorrectly pass
2020-05-01 18:13:55 -07:00
Jonah Williams
ec93c51eaf [flutter_tools] add support for faster incremental build (#56067)
Introduce BuildSystem.buildIncremental, which keeps an in-memory cache of timestamps instead of file hashes. This will be used to implement localization generation through the same build system API.
2020-05-01 17:30:26 -07:00
Jonah Williams
2a5690f097 [flutter_tools] fix iOS build inconsistencies and pipe through performance file (#56094)
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jonah Williams
ac2dfcf338 [version] update all versions (#56141) 2020-05-01 15:14:36 -07:00
Greg Spencer
fdc4d21b79 Add ExcludeFocus widget, and a way to prevent focusability for a subtree. (#55756)
This adds an ExcludeFocus widget that prevents widgets in a subtree from having or obtaining focus. It also adds the ability for a FocusNode to conditionally prevent its children from being focusable when it isn't focusable (i.e. when canRequestFocus is false).

It does this by adding an descendantsAreFocusable attribute to the FocusNode, which, when false, prevents the descendants of the node from being focusable (and removes focus from them if they are currently focused).
2020-05-01 14:36:46 -07:00