Commit graph

13421 commits

Author SHA1 Message Date
Mehmet Fidanboylu 1d395c5e18
Revert "Add clipBehavior to widgets with clipRect (#55977)" (#58344)
This reverts commit cd593dae19.
2020-05-31 07:41:50 -07:00
Ian Hickson ffc5602656
Dedupe (and update) the --track-widget-creation documentation (#58206) 2020-05-30 17:48:02 -07:00
Greg Spencer 37f562fa36
Remove callback asserts on FocusableActionDetector (#58272)
This makes the callback arguments to FocusableActionDetector optional, if you (for instance) only want to define shortcuts and actions and a focus node for something.
2020-05-29 15:57:05 -07:00
Jenn Magder b0c98b6651
Detect USB/network interface from iOS devices (#58257) 2020-05-29 15:50:23 -07:00
Justin McCandless 7d17c53992
Helpful assertion for isAlwaysShown error (#58258) 2020-05-29 15:48:01 -07:00
Jonah Williams 6d8ec35014
Revert "Revert "[flutter_tools] always initialize the resident runner from di…" (#58208) 2020-05-29 15:43:03 -07:00
liyuqian cd593dae19
Add clipBehavior to widgets with clipRect (#55977)
* Add clipBehavior to RenderFlex

* Add clipBehavior to FittedBox

* Add clipBehavior to Flex and FittedBox

* Add clipBehavior to UnconstrainedBox

* Add clipBehavior to Stack and Wrap

* Add clipBehavior to TextEditable

* Add clipBehavior to ListWheelScrollView

* Add clipBehavior to SingleChildScrollView

* Add clipBehavior to RenderViewportBase's widgets

Those widgets are NestedScrollView and ShrinkWrappingViewport.

* Fix tests

* Remove enum Overflow and fix typo

* Remove clipToSize

* Analyze fix

* Remove Mixin and other small fixes

* Fix tests and respect Stack's default clipBehavior

* Add Overflow back to make it non-breaking

* Restore clipBehavior to make it non-breaking

* Small fixes

* Fix rebase
2020-05-29 15:38:50 -07:00
Marcus Tomlinson 5ee5490a63
[flutter_tools] Support profile and release builds on Linux (#57135) 2020-05-29 15:38:02 -07:00
Tianguang 03c74eb42e
Run flutter update-packages --force-upgrade. (#58104)
* Run `flutter update-packages --force-upgrade`.
* Update test to 1.14.5.
2020-05-30 00:13:33 +02:00
Jonah Williams d9144bf8fc
[flutter_tools] rename output LICENSE file to NOTICES and support loading either (#57871)
Work towards #16723

This is only safe to land after #58131 lands in google3. Only build NOTICES in asset manfiest, and load either LICENSE or NOTICES from pubspec dependencies.
2020-05-29 11:55:02 -07:00
Dan Field 68b131f313
[e2e] make test bindings friendlier to integration tests (#58210) 2020-05-29 11:50:12 -07:00
Pedro Massango af9a409eda
Prevent WhitelistingTextInputFormatter to return a empty string if the current value does not satisfy the formatter (#57264) 2020-05-29 09:48:02 -07:00
Helin Shiah 479f370379
Add function to set structured error early (#58118)
* Add function to set structured error early

* Remove unused imports

* Save test handler in setUp

* Add utils file for shared test service

* Rename structured error functions

* Use setUpAll to save error handler and call initStructuredError from other init

* Rename widget inspector test service

* Remove debugging print statement

* Move error handling setting back to initServiceExtensions

* Rename structured error handler in test

* Namespace environment variable

* Rename test
2020-05-28 16:38:10 -07:00
Jonah Williams a1636b6fef
Revert "[flutter_tools] always initialize the resident runner from dill (#52497)" (#58193) 2020-05-28 16:28:02 -07:00
Hansol Lee e853155c7e
Error message when size has not been set in RenderBox's performLayout should be well versed (#58151) 2020-05-28 15:03:01 -07:00
stuartmorgan eacd1c8de4
Update Windows template version (#58189)
PR #57749 included changes to the way the project interacts with the
build process (e.g., bundling the necessary library), so should have
incremented the template version to trigger the messaging to developers.
2020-05-28 13:38:31 -07:00
Tong Mu 60f1aa25d3
Add mouse cursor API to widgets (phase 1) (#57628)
* Adds default cursor and/or mouseCursor property to a number of widgets.
* Adds `MaterialStateMouseCurrsor`.
2020-05-28 13:16:31 -07:00
stuartmorgan 9989c54cb1
Add release and profile support for Windows (#57749)
Builds and bundles an 'app.so' containing AOT data, and downloads and packages the release/profile artifacts for those builds, rather than always using the debug artifacts.

Fixes https://github.com/flutter/flutter/issues/38477
Fixes https://github.com/flutter/flutter/issues/39664
2020-05-28 12:17:56 -07:00
stuartmorgan ca0d60087b
Start from a clean slate when bundling Linux build (#58174)
BundleUtilities apparently doesn't do build-system-style timestamp
analysis when deciding what to copy, and instead just doesn't copy
things that are already present. This cleans that bundle directory on
each build, so that it includes the up-to-date library versions.

Since this is just copying from build artifacts, this is very fast; the
build steps themselves are not affected.

Fixes https://github.com/flutter/flutter/issues/58049
2020-05-28 12:14:57 -07:00
Jonah Williams d30c355d24
[flutter] allow loading either NOTICES or LICENSE (#58131)
To make #57871 easier to land, add support for loading either LICENSES or NOTICES, preferring the later.
2020-05-28 12:06:52 -07:00
Jonah Williams 7cdf26d0dc
[flutter_tools] forward flutter format to dart format and deprecate (#57829) 2020-05-28 11:28:08 -07:00
Onat Çipli 4f0c82b7a3
fixes isAlwaysShown material scrollbar.dart (#54128) 2020-05-28 11:23:05 -07:00
chunhtai 7e2f555d1b
fix route annoucement for first route and last route (#57339) 2020-05-28 11:18:05 -07:00
Greg Spencer 379e11b641
Update the flutter script's locking mechanism and follow_links (#57590)
Update the flutter and dart scripts' locking mechanism and follow_links function to be more robust and support more platforms.

This adds support for using mkdir as a fallback if the system doesn't have flock instead of using shlock, since shlock doesn't work on shared filesystems.

It also fixes a problem in the follow_links function where it failed when the link resolved to the root directory.
2020-05-27 15:30:46 -07:00
Greg Spencer 8ef2915453
Add MediaQueryData.navigationMode and allow controls to be focused when disabled. (#54919)
This adds a new navigationMode to the MediaQueryData that indicates how focusable controls should behave under different navigation modes, currently with two modes: NavigationMode.traditional, and NavigationMode.directional.

It may seem like focusing a disabled control is not desirable, but this is useful for user interfaces that use DPAD navigation because if a control gets disabled, losing focus is disruptive to the user, and it is difficult to control where the focus will end up unless it is done explicitly.
2020-05-27 15:30:19 -07:00
Jose Alba bd06749edc
Slider value indicator gets disposed if it is activated (#57535) 2020-05-27 15:27:01 -07:00
Jonah Williams 8443f7cfd3
Revert "[flutter_tools] write test to convince self of lack of timing issue (#58011)" (#58123)
This reverts commit f77c669d68.
2020-05-27 14:16:12 -07:00
Jonah Williams f77c669d68
[flutter_tools] write test to convince self of lack of timing issue (#58011)
In #55864 a race condition was described where a done event is received before we finish connecting. This cannot happen, since async functions begin synchronously and the flag isWaitingForVm is tripped immediately, keeping onDone from exiting.
2020-05-27 12:47:30 -07:00
stuartmorgan 27e652c882
Fix Linux plugin template build visibility (#58069)
The CMake plugin build wasn't setting visibility to hidden by default,
which meant that plugins exported everything by default. This would make
bad interactions between plugins much more likely; only the intended API
should be exported by the shared library.
2020-05-27 10:55:34 -07:00
Ayush Bherwani 8b63c65436
[SwitchListTile] adds controlAffinity property (#58037) 2020-05-27 10:32:03 -07:00
Jim Graham 3373a4042a
print checksum differences when detected by --verify-only (#58064) 2020-05-27 10:31:15 -07:00
Dan Field 98ce4a5dfe
Remove invalid local from macos_assemble.sh (#58030)
When you run this, bash complains that `local` is only valid in functions. Gets rid of that extraneous warning.
2020-05-27 10:19:17 -07:00
Justin McCandless 066c5def0a
Consistent American spelling of 'behavior' (#58016) 2020-05-27 10:17:02 -07:00
Zachary Anderson 29736f6fea
[flutter_tools] Put a heap size limit on the frontend_server (#58039) 2020-05-27 10:12:24 -07:00
Kirill e766190556
Deleted deprecated profile func and profile.dart (#57841) 2020-05-27 10:12:04 -07:00
Emmanuel Garcia 4465ff9e3d
Prevent building non-android plugins in build aar (#58018) 2020-05-27 10:11:36 -07:00
Jonah Williams 8432204194
[flutter_tools] throw if asked to build release for x86_64 (#57874) 2020-05-27 10:11:15 -07:00
Jonah Williams a926715dac
[flutter_tools] URI encode dart-define values (#57873) 2020-05-27 10:11:04 -07:00
Jonah Williams ba847d54f0
[flutter_tools] validate android arch and build number (#57830) 2020-05-27 10:10:51 -07:00
Jonah Williams 600338286f
[flutter_tools] add vm service method to pull SkSL (#57813) 2020-05-27 10:10:41 -07:00
Jonah Williams f640ad6914
[flutter_tools] ensure emulator command does not crash with missing avdmanager (#57703) 2020-05-27 10:10:30 -07:00
Jonah Williams ffc56ff735
[flutter_tools] hide all development tools (#57690) 2020-05-27 10:10:19 -07:00
Jenn Magder 43f18f36ef
Change release archive check to warning (#57688) 2020-05-27 10:08:41 -07:00
Jenn Magder d9adfe3f7e
Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects (#57701) 2020-05-27 10:08:09 -07:00
Neevash Ramdial 428ce0815b
[flutter_tools] Support latest IntelliJ via Jetbrain toolbox (#57963) 2020-05-27 10:07:28 -07:00
Tim Sneath 356b958f66
Update platform_view.dart (#57516) 2020-05-27 10:07:05 -07:00
chunhtai 68037a23af
Improve error message when using popuntil with bad predicate (#57247) 2020-05-27 10:02:05 -07:00
Ayush Bherwani b3434459d5
[CheckboxListTile] exposes contentPadding property of ListTile. (#57868) 2020-05-26 07:07:02 -07:00
Devon Carew 9d58a87066
fix a typo in trace events for the image cache (#57821) 2020-05-22 22:37:01 -07:00
James D. Lin c6f7792311
[flutter tools] Improve messages when we fail to connect to the Observatory (#57355) 2020-05-21 17:47:02 -07:00
Ayush Bherwani 852a30b003
[AppBarTheme] adds centerTitle property (#57736) 2020-05-21 14:57:03 -07:00
Dan Field 02b1080101
Functionality to check handlers set on platform channels (#57696) 2020-05-21 14:52:05 -07:00
Ken VanDine e013fc2484
Desktop default window size (#57274) 2020-05-21 14:42:03 -07:00
Per Classon 39ab50db14
Add code example for CustomScrollView on how to make it grow in two directions along its scroll axis (#57670) 2020-05-21 14:37:08 -07:00
Justin McCandless 9f744a9e4c
Allow updating textAlignVertical (#57033) 2020-05-21 14:37:04 -07:00
Stonekity 26fabcd41b
fix memory leak of android view (#50111) 2020-05-21 14:32:03 -07:00
Hansol Lee e92afc16b6
Have _warpToCurrentIndex() shortcut logic behave properly (#57574)
* Have _warpToCurrentIndex() shortcut logic behave properly

* Add test

* Apply code review

* Fix typo (fromm -> from)
2020-05-20 13:29:01 -07:00
Jonah Williams 359daf4f73
[flutter_tools] reland: remove globals from android device/testing (#57614) 2020-05-20 13:21:22 -07:00
Jenn Magder 478d4c9c1a
Add Android private keystore to project gitignore (#57601) 2020-05-19 20:22:01 -07:00
LongCatIsLooong 0e795c93b9
Improve CupertinoDatePicker docs (#57534) 2020-05-19 20:17:01 -07:00
stuartmorgan 97b7e15532
Re-add line to Linux template CMakeLists.txt (#57538)
Re-adds a line that was accidentally removed in #57515
2020-05-19 18:17:41 -07:00
Jenn Magder adead099a6
Always show diagnostics (#57532) 2020-05-19 18:17:03 -07:00
LongCatIsLooong ca2abf865e
avoid forceToPoint in hit-testing when possible (#57519) 2020-05-19 18:12:03 -07:00
Jonah Williams b70e7a9b65
[flutter_tools] fix incorrect comment on web runner (#57450) 2020-05-19 18:07:04 -07:00
Darren Austin 4c21fb9017
Update the requirements for applying the elevation overlay. (#57526) 2020-05-19 18:02:07 -07:00
Anthony 82eeb94045
move paragraph about wide viewports up (#57521) 2020-05-19 17:57:09 -07:00
Justin McCandless 53d7f24521
Fix Web asking for clipboard permissions (#57324) 2020-05-19 17:57:04 -07:00
Kate Lovett 04860d7256
Step 1 of 3: Add opt-in fixing Dialog border radius to match Material Spec (#56084) 2020-05-19 17:52:05 -07:00
Jonah Williams 5e33ecee46
Revert "[flutter_tools] remove globals/context for android testing (#57445)" (#57611)
This reverts commit 602d8baf34.
2020-05-19 13:06:14 -07:00
Jonah Williams 602d8baf34
[flutter_tools] remove globals/context for android testing (#57445) 2020-05-19 12:37:07 -07:00
Jonah Williams d0d9da832b
[flutter_tools] prevent wildcard assets from causing build invalidation issues (#56472) 2020-05-19 12:37:04 -07:00
LongCatIsLooong 4fd4a7ed85
update appbar documentation (#50673) 2020-05-19 12:32:03 -07:00
cg021 1cfd792a38
remove pending timers list code out of assert message (#57287)
* move pending timers list code out of assert

* style change

Co-authored-by: Emmanuel Garcia <egarciad@google.com>

* add unit tests

* formatting

* pending timer test

* pending timer assertion test

* add setup and teardown

Co-authored-by: Emmanuel Garcia <egarciad@google.com>
2020-05-18 18:18:16 -05:00
Jonah Williams 91ec439348
[flutter_tools] handle missing null check in manifest parser (#57400) 2020-05-18 12:47:29 -07:00
Jonah Williams 70b889a9a3
[flutter_tools] reland: integrate l10n tool into hot reload/restart/build (#57510)
Reland: #56167
2020-05-18 12:47:18 -07:00
Jonah Williams 27a6705aa4
[flutter_tools] chunk the hashing of large files (#57506)
For files larger than 250 KB (roughly the size of framework.dart), chunk the conversion. This may be important for large assets like images.
2020-05-18 12:45:20 -07:00
stuartmorgan b07516875d
Remove TRANSFORM from Linux CMake files (#57515)
The Linux CMakeLists.txt are intended to be compatible with 3.10, but
accedintally used a list construct that wasn't added until 3.12. This
adds a custom replacement function.

This makes the build compatible with 3.10 as originally intended.
2020-05-18 12:42:01 -07:00
Andrey Gordeev 4d8d0f5604
Expect a generic State instead of implementation (#57500) 2020-05-18 12:37:02 -07:00
LongCatIsLooong 89a00fc745
fix segment hit test behavior (#57461) 2020-05-18 10:42:02 -07:00
Jose Alba 0423809c2f
Value Indicator uses Global position (#57327)
* Value Indicator uses Global position when calculating horizontal position

* fixed test

* fixed analyzer

* Made globalCenter variable and added comments
2020-05-18 13:22:31 -04:00
Ferhat a4ca9d7e7d
Resolve skip (#57240) 2020-05-18 10:06:41 -07:00
Jonah Williams 8e765c7f6a
[flutter_tools] put system clock on globals (#57447) 2020-05-18 09:56:22 -07:00
Jonah Williams 49ad67ccf0
[flutter_tools] minor cleanups to try catch (#57446)
- OsError now implements exception, remove workaround.
- Prefer is check to catching TypeError
2020-05-18 09:38:22 -07:00
stuartmorgan 30d405c794
Temporarily allow pluginClass: none on desktop (#57498)
Treats 'pluginClass: none' as equivalent to having no 'pluginClass'
entry on the desktop platforms, to satisy stable channel plugin
validation of Dart-only desktop plugin implementations. See
issue for full details.

Part of https://github.com/flutter/flutter/issues/57497
2020-05-18 09:26:37 -07:00
Tianguang 5a3104b36a
Update flutter_gallery_assets to ^0.2.0 (#57328)
* Bump flutter_gallery_assets version to ^0.2.0.

* Run `flutter update-packages --force-upgrade`.

* Add comment.

* Remove duplicate key.
2020-05-18 18:26:18 +02:00
stuartmorgan 25e9d0494b
Add Linux GTK artifacts to unpack list (#57452)
To simplify development of the in-progress GTK embedding, which will
replace the GLFW embedding on Linux, add the GTK artifacts to the unpack
list. This means that until the transition, both the GLFW and GTK
artifacts will be unpacked.

Part of #54860
2020-05-18 09:26:07 -07:00
stuartmorgan f991308e3e
Fix CMake invocation for 3.10 compat (#57415)
The -S/-B format of specifying source and build directories wasn't added
until 3.13. For 3.10 compatibility, use the older form of having the
working directory as the build directory, and the last argument as the
source directory.

Fixes #57409
2020-05-18 09:25:28 -07:00
Jonah Williams b19b744bb7
[flutter_tools] check for Runner.sln when parsing for plugins (#57392)
Throw a toolExit if the windows plugin logic runs on an invalid windows project. Update the supported project check to validate the existence of a Runner.sln file
2020-05-18 09:24:51 -07:00
Andre 6294dd59bb
Make _RenderButtonBarRow.constraints null aware (#57261) 2020-05-18 09:07:02 -07:00
Ayush Bherwani f2c12d7e79
Add ExpansionTile.childrenPadding property (#57291) 2020-05-18 09:05:49 -07:00
Tomohiro Hattori b70301fe08
fix typo (#57487) 2020-05-18 09:02:01 -07:00
Hans Muller 750dbe0954
ThemeData.brightness == ThemeData.colorScheme.brightness (#56956) 2020-05-18 08:52:02 -07:00
Jim Graham 5c78e723fb
Protect the deletion of the local engine temp dir in case it is already deleted (#57345) 2020-05-18 02:37:03 -07:00
Pedro Massango 07f9563dac
Add autofill support for TextFormField (#57332) 2020-05-18 02:32:02 -07:00
Cristian Zazo e8a7dc466b
Fix Autofill example (#57319) 2020-05-18 02:27:01 -07:00
Michel Feinstein 7e26a1d832
Fixed a typo. (#57412) 2020-05-18 02:22:10 -07:00
Alexandre Ardhuin d42dcf2edd
add @factory to create* methods (#57299) 2020-05-18 02:22:05 -07:00
Rene Floor 79ad2d2e20
correctly dispose listeners by image widget (#57201) 2020-05-18 02:17:02 -07:00
stuartmorgan 8abf0a6d8c
Switch to CMake for Linux desktop (#57238)
Updates the Linux templates to use CMake+ninja, rather than Make, and updates the tooling to generate CMake support files rather than Make support files, and to drive the build using cmake and ninja.

Also updates doctor to check for cmake and ninja in place of make.

Note: While we could use CMake+Make rather than CMake+ninja, in testing ninja handled the tool_backend.sh call much better, calling it only once rather than once per dependent target. While it does add another dependency that people are less likely to already have, it's widely available in package managers, as well as being available as a direct download. Longer term, we could potentially switch from ninja to Make if it's an issue.

Fixes #52751
2020-05-16 15:07:34 -07:00
Ethan Saadia 2b2bbfa69f
Add option for ExpansionTile to maintain the state of its children when collapsed (#57172) 2020-05-16 15:07:02 -07:00
Zachary Anderson 859f2f9bd4
Update packages (#57321) 2020-05-16 15:02:06 -07:00
Ian Hickson e536774436
Add more documentation to addTimingsCallback (#56952) 2020-05-16 15:02:02 -07:00
liyuqian 88ddde4c81
Remove obsolete UpdateCounted prefix (#57167) 2020-05-16 14:57:08 -07:00
Jonah Williams 631087d83b
[flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00
Enol Casielles Martinez e7b6b52102
avoid AnimatedBuilder rebuilding widget (#55832) 2020-05-16 14:52:08 -07:00
Jonah Williams afdc440840
[flutter_tools] surface missing assets originating package (#55701) 2020-05-16 14:52:04 -07:00
Coin e5bd2b3d55
Make CircularProgressIndicator's animation match native (#50412) 2020-05-16 14:47:03 -07:00
nturgut 32547dcc7e
Revert " Bring back paste button hide behavior 3 (#57139)" (#57286)
This reverts commit 8de07d5527.
2020-05-15 10:42:37 -07:00
Chase Latta 3b4f686436
add missing deps to flutter_test BUILD.gn (#57270) 2020-05-15 09:34:22 -07:00
Jose Alba a1a5781953
Added Dartpad and Image examples to Slider and RangeSlider docs (#57047) 2020-05-14 17:42:01 -07:00
Tong Mu 5fa1c60b17
MouseCursor uses a special class instead of null to defer (#57094)
* Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
* Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
* Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
2020-05-14 15:54:26 -07:00
creativecreatorormaybenot 1239ddd7dc
Fix docs (#57195) 2020-05-14 14:47:03 -07:00
Darren Austin 0bcca42bba
Honor the InputDecoratorTheme in the text input fields used by the Date Pickers. (#57189) 2020-05-14 14:42:02 -07:00
Jesse 2da08f4c10
Fix typo in 'flutter create --list-samples' help (#57005) 2020-05-14 14:37:03 -07:00
Tong Mu fb94d3fb78
Animation sheet recorder (#55527) 2020-05-14 14:32:03 -07:00
Zachary Anderson 533cd7a6d1
[flutter_tools] Delete system temp entries on fatal signals (#55513) 2020-05-14 14:27:02 -07:00
Jonah Williams bd47262183
[flutter_tools] fix period in URL for androidX incompat (#57182) 2020-05-14 12:32:03 -07:00
Jonah Williams a801496701
[flutter_tools] allow adb to fail to unforward without crashing (#57173) 2020-05-14 12:27:01 -07:00
shihchanghsiungsonos bb49a9b056
[Add2App Android] Fix the issue of Hotreload broken on latest Dev release with Android device (#57145) 2020-05-14 12:17:02 -07:00
Justin McCandless 8de07d5527
Bring back paste button hide behavior 3 (#57139) 2020-05-14 11:37:02 -07:00
Jonah Williams 1000ae802d
[flutter_tools] ensure package_config is re-created if pub get is run (#57184) 2020-05-14 11:22:07 -07:00
chunhtai 8ede83b8a0
update initial route documentation (#57136) 2020-05-14 11:22:03 -07:00
Jonah Williams a2cf9ecc46
[flutter_tools] expose track-widget-creation to build aar (#57117) 2020-05-14 11:17:06 -07:00
LongCatIsLooong 1c13d665ea
remove redundant transform (#57085) 2020-05-14 11:17:03 -07:00
Jonah Williams 8a77381e58
[flutter_tools] do not set timestamp of package_config file (#57077) 2020-05-14 11:12:08 -07:00
Darren Austin b4788f290c
Updated gen_missing_localizations to copy the english strings instead of using 'TBD' for other locales. (#57053) 2020-05-14 11:12:05 -07:00
Kate Lovett f6fb3aaa35
Remove deprecated child parameter (#57065) 2020-05-14 11:07:08 -07:00
Ferhat 674fb7e165
Unskip TextStyle web tests (#56710) 2020-05-14 11:07:04 -07:00
Christopher Fujino a2f5364dc0
throw more specific toolexit when git fails during upgrade (#57162) 2020-05-14 11:03:07 -07:00
Darren Austin 7706a97aba
Localized new strings added in the redesigned Material Date Picker (#56645) 2020-05-14 11:02:11 -07:00
Kate Lovett c733864aff
Step 1 of 3: Add opt-in for debugCheckHasMaterialLocalizations assertion on TextField (#56090) 2020-05-14 11:02:07 -07:00
Jenn Magder bd430081e0
Make initial daemon devices population fast (#56959) 2020-05-14 11:00:51 -07:00
Jenn Magder f66d3c5ab2
Remove empty Supporting Files group from Swift app template (#57161) 2020-05-14 11:00:43 -07:00
shihchanghsiungsonos bcc42901ad
Fix xcode_backend.sh to strip bitcode for archive build, if the project has bitcode disabled entirely (#57027) 2020-05-14 10:57:11 -07:00
Nicolas Schneider 362a557365
allow changing the paint offset of a GlowingOverscrollIndicator (#55829) 2020-05-14 10:57:06 -07:00
snyiuan 610dc170d9
setState() will call scheduleFrame() in post-frame callback now. (#56968) 2020-05-13 09:37:02 -07:00
Jonah Williams 3ccb160da3
[flutter_tools] re-enable non-nullable test (#57075) 2020-05-13 09:32:03 -07:00
chunhtai 7bed5a2851
fix push replacement reports wrong previous route to navigator observer (#57036) 2020-05-13 09:27:03 -07:00
Robert Ancell 3b31e89f0a
Fix wrong link in description on the platform system channel (#56859) 2020-05-13 09:22:02 -07:00
Jenn Magder 1eaa8c300c
Swap xcode_tests from MockProcessManager to FakeProcessManager (#56502) 2020-05-13 09:17:03 -07:00
Pedro Massango 1aaf73fad0
Making DropdownButtonFormField to re-render if parent widget changes (#57037)
* Update DropdownButtonFormField's state if widget updates

Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2020-05-13 09:16:02 -07:00
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