Jonah Williams
9e9524977e
[flutter_tools] introduce a BuildSystem interface ( #56946 )
2020-05-13 09:12:08 -07:00
Jia Hao
073126fdb3
Allow waitUntilFirstFrameRasterized without a root widget ( #56430 )
2020-05-13 09:12:03 -07:00
Anna Gringauze
e88ef6d554
Updated dwds (and other packages) ( #56958 )
2020-05-13 09:07:09 -07:00
Jia Hao
342c6286ce
Eagerly wait for the driver extension on FlutterDriver.connect() ( #56428 )
2020-05-13 09:07:04 -07:00
Ayush Bherwani
4b814cf8ce
[ExpansionTile] Wire through expandedCrossAxisAlignment, and expandedAlignment properties to the expanded tile ( #56190 )
2020-05-13 09:02:04 -07:00
Jenn Magder
2f993d70c1
Remove dead definesCustomBuildConfigurations ( #56961 )
2020-05-12 13:44:02 -07:00
Jonah Williams
7f400af35a
[flutter_tools] expand Regexp log match to include more AndroidRuntime failures ( #56943 )
2020-05-12 07:35:02 -07:00
Jonah Williams
7ed0950e05
[flutter_tools] unblock fuchsia roll ( #56945 )
2020-05-12 07:34:00 -07:00
Jonah Williams
d53429cf0a
Revert "[flutter_tools] hide tree-shake-icons ( #56924 )" ( #56934 )
2020-05-12 07:25:03 -07:00
rami-a
0e7b2beff7
Use titleTextStyle from dialog theme for SimpleDialog ( #56895 )
2020-05-12 07:20:03 -07:00
chunhtai
1bb9f3f718
fix pushAndRemoveUntil incorrectly removes the routes below the first… ( #56732 )
2020-05-12 07:15:03 -07:00
Jenn Magder
c969b8af7b
Revert "Bring back paste button hide behavior 2 ( #56922 )" ( #56951 )
...
This reverts commit d988226374
.
2020-05-11 15:28:10 -07:00
Tong Mu
7f8cb7f830
System mouse cursors ( #54171 )
...
Adds the basic framework for the mouse cursor system.
* Adds MouseRegion.cursor
* Adds SystemMouseCursors
* Adds mouseCursor to some widgets
2020-05-11 13:34:20 -07:00
Gabe Moothart
a9ea085bd3
Wire up autofocus for OutlineButton ( #56494 )
...
* Wireup autofocus for OutlineButton
Fixes #56493
* add test
2020-05-11 13:24:46 -07:00
Justin McCandless
d988226374
Bring back paste button hide behavior 2 ( #56922 )
...
Unrevert of paste button hides when nothing to paste
2020-05-11 13:23:24 -07:00
Nate Bosch
59a8ef3a21
Remove direct uses of LocalPlatform ( #56605 )
...
When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
2020-05-11 12:59:29 -07:00
Jonah Williams
dfc955a87e
[flutter_tools] hide tree-shake-icons ( #56924 )
2020-05-11 12:15:02 -07:00
Jenn Magder
4ecb1bbe2d
Add mirror overrides to doctor output ( #56928 )
2020-05-11 11:57:02 -07:00
Jenn Magder
9c87b32477
Remove Runner target check, prefer schemes ( #56620 )
2020-05-11 11:56:44 -07:00
Dan Field
0177d4293c
more docs about diagnostics in release mode ( #56906 )
2020-05-11 09:41:38 -07:00
Luke Cheng
793e6a48a1
typo fix on the FLUTTER_STORAGE_BASE_URL usage ( #56685 )
2020-05-09 21:14:01 -07:00
stuartmorgan
9d4b0cb844
Update Linux template for headless mode ( #56618 )
2020-05-09 21:09:03 -07:00
Tong Mu
06adde0bd0
Nested InkWells only show the innermost splash ( #56611 )
2020-05-09 21:04:01 -07:00
Mehmet Fidanboylu
0786f29ff2
Revert "Bring back paste button hide behavior ( #56689 )" ( #56806 )
...
This reverts commit d56349822d
.
2020-05-09 20:22:17 -07:00
Jonah Williams
d70d0913b2
Revert "[flutter_tools] integrate l10n tool into build/run ( #56167 )" ( #56800 )
...
This reverts commit f865ac7e25
.
2020-05-09 17:50:46 -07:00
Jonah Williams
f5d2c8c770
[flutter_tools] fix documentation on default built ios ( #56720 )
...
The default for build for flutter build ios should be release to match the other build commands. This is correctly handled in the command, but the documentation is incorrect. Update the documentation and the default to reflect the more common case of building for a physical device.
2020-05-08 17:35:40 -07:00
Pierre-Louis
e04450c000
Expose includeSemantics option to RawKeyboardListener ( #56549 )
...
* Expose includeSemantics option to RawKeyboardListener
* Revert "Expose includeSemantics option to RawKeyboardListener"
This reverts commit 684edccfb0
.
* Set includeSemantics to false
* Expose includeSemantics for RawKeyboardListener
* Add test
2020-05-09 00:01:19 +02:00
Zachary Anderson
04fe25e63e
[flutter_tools] Don't try to execute gradle wrapper out of /tmp ( #56706 )
2020-05-08 14:00:28 -07:00
Justin McCandless
d56349822d
Bring back paste button hide behavior ( #56689 )
...
Unreverts #54902 with fixes for a failing integration test.
2020-05-08 13:41:22 -07:00
Ian Hickson
98bc176627
Have the physics enforce the scroll position. ( #56521 )
2020-05-08 12:59:02 -07:00
Yegor
324fdb6b3c
LayoutBuilder: skip calling builder when constraints are the same ( #55414 )
...
Avoid calling `builder` in `ConstrainedLayoutBuilder` when layout constraints are the same.
[Design doc](flutter.dev/go/layout-builder-optimization).
## Related Issues
Fixes https://github.com/flutter/flutter/issues/6469
2020-05-08 12:27:59 -07:00
Jonah Williams
f865ac7e25
[flutter_tools] integrate l10n tool into build/run ( #56167 )
...
* [flutter_tools] integration l10n tool
* add runtime skip to build system
* Update build_system.dart
* add links to issues, comments
* Update packages/flutter_tools/test/general.shard/build_system/build_system_test.dart
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
* Update packages/flutter_tools/lib/src/build_system/targets/localizations.dart
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
* Update localizations.dart
* switch to gen_l10n localizations
* fix tests
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2020-05-08 12:06:15 -07:00
Jenn Magder
0dc7be3bb0
Always remove the workspace settings ( #56703 )
2020-05-08 12:05:52 -07:00
Jonah Williams
2304838a98
[flutter_tools] fix aar defaults test ( #56694 )
2020-05-08 10:04:04 -07:00
Jonah Williams
c57092511a
[flutter_tools] rename to .sksl.json ( #56634 )
2020-05-08 09:44:03 -07:00
Jonah Williams
717f9de662
[flutter_tools] enable tree-shake-icons by default for non-web targets ( #56633 )
...
Enable tree-shake-icons by default for non-web targets. Make missing fonts a status print
2020-05-08 09:42:43 -07:00
msmolkin
da66a45e87
fixup! Update grammar in basic.dart #56251 ( #56407 )
2020-05-08 00:29:01 -07:00
James D. Lin
631cd4d0be
[flutter tools] Fix an assert in IOSSimulator.getLogReader ( #56630 )
...
`assert(app is IOSApp)` fails if `app` is null, and `app` is an
optional argument. `app` is passed to `_IOSSimulatorLogReader`, which
already handles it being null.
2020-05-07 21:10:55 -07:00
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
Daniel Iglesia
27eee14c6e
Add DragTarget callback onAcceptDetails, plus helper class DragTarget… ( #55257 )
2020-05-01 14:18:58 -07:00
Greg Spencer
6a75dc449e
Add onSecondaryTap to gesture recognizer and gesture detector. ( #55494 )
2020-05-01 13:04:01 -07:00
Jonah Williams
f1c24ed91d
[analyze] fix const lints ( #56139 )
2020-05-01 12:48:53 -07:00
Ferhat
92df6f50b2
Add check for iOS/MacOS for target platform ( #56081 )
2020-05-01 12:04:35 -07:00
Jonah Williams
d6cbf2591a
[flutter_tools] don't recreate license, manifest, asset if unchanged ( #56107 )
...
Avoid syncing unchanged versions of these files during hot restart/reload. This happens if the asset bundle needs to be built but produces identical manifests/licenses due to only asset contents changing
2020-05-01 12:03:31 -07:00
Kate Lovett
487954a861
Adding tabSemanticsLabel to CupertinoLocalizations ( #55336 )
2020-05-01 11:09:02 -07:00
Jose Alba
0549ab2390
Removed useV2 Slider flag ( #55857 )
2020-04-30 15:19:01 -07:00
Jonah Williams
368da5bb59
[flutter_tools] support bundling SkSL shaders in flutter build apk/appbundle ( #56059 )
...
Support bundling SkSL shaders into an android APK or appbundle via the --bundle-sksl-path command line options. If provided, these are validated for platform engine revision and then placed in flutter_assets/io.flutter.shaders.json
2020-04-30 13:39:08 -07:00
Ferhat
0d452b8305
[web] Change display mode of PWA default to standalone ( #56056 )
...
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jonah Williams
bd6ccb606a
[flutter_tools] android device stopApp handles null apk ( #55990 )
...
The resident runner does not check if the ApplicationPackage is null when trying to stop the app. Update AndroidDevice.stopApp to handle this case by returning false.
The package will be null when flutter attach is used.
2020-04-29 16:31:42 -07:00
Jonah Williams
0889e14361
[flutter_tools] increase stopApp timeout for FlutterDevice.exitApps ( #55984 )
2020-04-29 15:08:34 -07:00
Matt Mohandiss
1e150c5d95
Update finders.dart ( #55936 )
...
Fixed #55858
2020-04-29 14:33:47 -07:00