13904 Commits

Author SHA1 Message Date
Hans Muller
0ba67226ee
Add support for the Kazakh language (#31578) v1.5.8 2019-04-24 17:18:28 -07:00
Darren Austin
0aec08c08d
TimePicker moves to minute mode after hour selection (#31566)
Adds a feature of the native Android Time Picker to our Material Time Picker. When the user selects an hour, it automatically switches to minute mode.

This is a merging of two pull requests:

Code changes from @sdolski #24677
Tests from @lucaslcode #29876

Thanks to both of you for your contributions!
2019-04-24 17:02:19 -07:00
Tom Robiquet
bfaa4a5bce Added required parameters to FlexibleSpaceBarSettings (#30612) 2019-04-24 16:05:02 -07:00
liyuqian
e51947241b
Don't add empty OpacityLayer to the engine (#31520)
Fixes https://github.com/flutter/flutter/issues/31517
2019-04-24 15:39:36 -07:00
rami-a
d4e4726ac2
Update SnackBar to allow for support of the new style from Material spec (#31275)
This PR introduces a number of changes and improvements to snack bars. This includes the ability to specify:

floating style of snack bars that adhere to the updated Material spec
elevation and shape on the SnackBar itself instead of relying on fixed values
a snackBarTheme as part of ThemeData which allows you to customize all of the above on an app-wide level.
This PR is includes the changes from #21484 as well as additional fixes and modifications. Thanks to @NikoYuwono for providing these changes and getting this off the ground!
2019-04-24 17:22:30 -04:00
Jonah Williams
37c73e77f1
Remove need for build/name scripts on Linux desktop (#31567) 2019-04-24 13:34:56 -07:00
Anthony
0572f158fb
[Material] Adaptive Slider constructor (#30572)
Adds an adaptive constructor for the Material Slider. An adaptive widget is one that renders itself as Material on Android, and Cupertino on iOS. This work is based off of a similar feature on Switches: bbb080b#diff-fe2bb980c6207699cbf45538fe927afa.

The motivation for this change is that we should provide adaptive constructors for as many widgets as necessary in the Material library. In Material, it is suggested that the slider is an iOS-style slider.
2019-04-24 16:26:22 -04:00
Shi-Hao Hong
1da7f1b9d5
Improve Radio Documentation with Example (#31294) 2019-04-24 13:09:50 -07:00
xster
c7a09a415d
Cupertino localization step 8: create a gen_cupertino_localizations and generate one for cupertino english and french (#29824) 2019-04-24 12:40:17 -07:00
Anthony
96f15c74ad
[Material] Update slider and slider theme with new sizes, shapes, and color mappings (2nd attempt) (#31564)
#30390 was rolled back. This PR will re-roll it forward.

This PR makes a number of changes to the visual appearance of material sliders:

Sizes/Shapes
** enabled thumb radius from 6 to 10
** disabled thumb radius from 4 to 10 with no gap
** default track shape is a rounded rect rather than a rect
**
Colors
** all of the colors now use the new color scheme
** overlay opacity has been reduce from 16% to 12%
** value indicator text color now respects the indicator it is on by using onPrimary
** disabledThumb color no respects the surface it is on by using onSurface
The slider theme is also now constructed consistently with other theme objects within the ThemeData. By default, all values are null, and have default values that are resolved in the slider itself, rather than in the slider theme.
v1.5.7
2019-04-24 14:23:44 -04:00
Shi-Hao Hong
b27b3d7446
Improve Tabs documentation (#31502)
Added info regarding matching lengths requirement and included links to sample implementation
2019-04-24 10:27:32 -07:00
Todd Volkert
e00f1a3c17
Fix typo in docs (#31538) v1.5.6 2019-04-24 07:43:01 -07:00
Jonah Williams
e4a1913e01
Support local engine and asset sync for macOS (#31515) 2019-04-23 17:20:22 -07:00
Jonah Williams
15ba39560a
replace no-op log reader with real implementation (#31526) 2019-04-23 17:19:47 -07:00
Justin McCandless
fee1d3db90
Unbounded TextField width error (#30796)
Improve the error message shown when a TextField ends up with an unbounded width.
2019-04-23 15:22:05 -07:00
Jonah Williams
6a22f41239
add desktop artifacts to run/target_platform selectors (#31505) 2019-04-23 15:08:47 -07:00
Keerti Parthasarathy
ca0e778972
Relax the string matching for path in test (#31456) 2019-04-23 13:46:53 -07:00
Alexandre Ardhuin
364726aca1
fix precedence issue (#31486) 2019-04-23 22:31:41 +02:00
Jonah Williams
661e0350fb
Disable all Dart fingerprinters (#31463) 2019-04-23 11:58:37 -07:00
engine-flutter-autoroll
1fcd71bfca
Roll engine e27c867c30df..c63d1cf9c9ba (3 commits) (#31494)
e27c867c30...c63d1cf9c9

git log e27c867c30dfa24461a9fab356ff57a4bb22650e..c63d1cf9c9ba8c7d8546f24c1248433bdf827153 --no-merges --oneline
c63d1cf9c Roll src/third_party/skia 7ecad8791ff1..9adc82c73df0 (4 commits) (flutter/engine#8699)
62655b36e Roll src/third_party/skia f153e221140a..7ecad8791ff1 (1 commits) (flutter/engine#8697)
45a9d36c4 Roll src/third_party/skia 977b16d9c978..f153e221140a (3 commits) (flutter/engine#8696)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-23 14:57:17 -04:00
chunhtai
5c5ddd1fc2
Revert "Fix 25807: implement move for sliver multibox widget (#29188)" (#31497)
This reverts commit 77ab0b83214792e8e6117295982c9397e03193a2.
v1.5.5
2019-04-23 10:41:19 -07:00
liyuqian
981e922aa1
Improve docs to address flutter/flutter#31202 (#31454)
## Description

Clarify that ClipRect can be added to ensure that CustomPainter will be drawing within bounds.

## Related Issues

https://github.com/flutter/flutter/issues/31202
2019-04-23 09:57:05 -07:00
Jonah Williams
15f271ef07
if there is no .ios or ios sub-project, don't attempt building for iOS (#31406) 2019-04-23 09:49:49 -07:00
engine-flutter-autoroll
872a0092e9
e27c867c3 Roll src/third_party/skia 731ba99a8581..977b16d9c978 (5 commits) (flutter/engine#8694) (#31475)
e1680c1e43...e27c867c30

git log e1680c1e439f3009767e94123aa21b6416246172..e27c867c30dfa24461a9fab356ff57a4bb22650e --no-merges --oneline
e27c867c3 Roll src/third_party/skia 731ba99a8581..977b16d9c978 (5 commits) (flutter/engine#8694)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-23 12:30:21 -04:00
engine-flutter-autoroll
e9809fff1f
e1680c1e4 Roll src/third_party/dart cf4444b803..1f1592edce (49 commits) (#31472)
0523870e0b...e1680c1e43

git log 0523870e0bc6f20101aa6e42e9e3fdf3adf513f0..e1680c1e439f3009767e94123aa21b6416246172 --no-merges --oneline
e1680c1e4 Roll src/third_party/dart cf4444b803..1f1592edce (49 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-23 03:30:17 -04:00
Jonah Williams
be73969657
Add more context to flutter create sample (#31434) 2019-04-22 22:22:46 -07:00
Jonah Williams
abbb66ad79
Set SYMROOT as absolute in Generated.xcconfig for macOS (#31451) 2019-04-22 22:22:17 -07:00
engine-flutter-autoroll
ac7f875778
Roll engine 934772dd8772..0523870e0bc6 (6 commits) (#31458)
934772dd87...0523870e0b

git log 934772dd877210443a65fe1d0eec542b3d559b71..0523870e0bc6f20101aa6e42e9e3fdf3adf513f0 --no-merges --oneline
0523870e0 Add tests from framework (flutter/engine#8692)
ed1f3fd99 Change Vertices.indices to use a Uint16 list to more accurately reflect Skia's API (flutter/engine#8657)
4f2fd84cb Revert Rect/RRect 64 bit (flutter/engine#8690)
6dc5dcad3 Revert "Remove unused Settings::ToString. (#8642)" (flutter/engine#8689)
9fa733678 fix toString (flutter/engine#8688)
c12315273 Make Rect and RRect use 64 bit doubles, and make them const-able (flutter/engine#8565)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-22 21:41:18 -04:00
Greg Spencer
590cc27b31
Revert "Implement focus traversal for desktop platforms, shoehorn edition. (#30040)" (#31461)
This reverts commit 4218c0bc38bc74a97b1b03d7b8b7f0ce32e29468.
2019-04-22 18:02:35 -07:00
Jonah Williams
096439b417
add ignorable track-widget-creation flag to build and remove --track-widget-creation from xcode backend aot build aot (#31399) 2019-04-22 16:21:17 -07:00
Jonah Williams
a476a08e62
check if project exists before regenerating platform specific tooling (#31342) 2019-04-22 15:18:15 -07:00
engine-flutter-autoroll
1200ae3317
934772dd8 Roll src/third_party/skia a76fad2d494a..731ba99a8581 (20 commits) (flutter/engine#8686) (#31435)
ea28bfa13e...934772dd87

git log ea28bfa13e9d614c126cc3cfe5238c666afdc7d6..934772dd877210443a65fe1d0eec542b3d559b71 --no-merges --oneline
934772dd8 Roll src/third_party/skia a76fad2d494a..731ba99a8581 (20 commits) (flutter/engine#8686)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-22 16:58:17 -04:00
Jonah Williams
7f959d8b78
Add Xcode build script for macOS target (#31329) 2019-04-22 13:51:00 -07:00
engine-flutter-autoroll
2e2eeb79de
Roll engine 206cab6e7013..ea28bfa13e9d (11 commits) (#31432)
206cab6e70...ea28bfa13e

git log 206cab6e701392fe0433f15a248516e94d4f8025..ea28bfa13e9d614c126cc3cfe5238c666afdc7d6 --no-merges --oneline
ea28bfa13 Custom RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8683)
1c9457ced Revert "Only allow mappings for ICU initialization. (#8656)" (flutter/engine#8682)
b4ed3039f Revert "RTL handling for ghost runs, NotoNaskhArabic test font (#8638)" (flutter/engine#8681)
8b5f77630 Remove support for downloading dynamic patches. (flutter/engine#8663)
1bcb96bf3 Add framework test in engine presubmit checks (flutter/engine#8664)
6e79dcd0c RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8638)
c37d45981 Roll src/third_party/skia 1c0b05afdef8..a76fad2d494a (4 commits) (flutter/engine#8665)
2e4f0a4a7 Put the testing lib in the flutter namespace. (flutter/engine#8661)
1239df96a Allow native bindings in secondary isolates. (flutter/engine#8658)
b0cbce417 Replace ThreadLocal with ThreadLocalUniquePtr<T> (flutter/engine#8659)
bd8c5b135 Only allow mappings for ICU initialization. (flutter/engine#8656)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
2019-04-22 15:43:18 -04:00
xster
30637bfe28
Add more shuffle cupertino icons (#31326) 2019-04-22 11:21:47 -07:00
Stanislav Baranov
e2a3c2ee45
Remove support for building dynamic patches on Android. (#31359) 2019-04-22 10:40:50 -07:00
Tong Mu
0fb6a05054
PointerDownEvent and PointerMoveEvent default buttons to 1 (#30579)
* Down and Move have default buttons = kPrimary.
2019-04-22 10:15:26 -07:00
liyuqian
3c605d45aa
Roll engine ca31a7c57bad..206cab6e7013 (11 commits) (#31395)
ca31a7c57b...206cab6e70

git log ca31a7c57bada458fa7f5c0d3f36bc1af4ccbc79..206cab6e701392fe0433f15a248516e94d4f8025 --no-merges --oneline
206cab6e7 Roll src/third_party/skia cc5d3e09e394..1c0b05afdef8 (14 commits) (flutter/engine#8654)
1fe327914 Cleanup references to FLX archives from the engine. (flutter/engine#8653)
6257dfeb5 Add factory methods to FileMapping that make it easy to create common mappings. (flutter/engine#8652)
5fed72520 Roll buildroot to 380d0ed5c3399d5a2aaac4a66d98e3a3fda77c31 (flutter/engine#8649)
eaa0e9c70 Roll src/third_party/skia e5763787f920..cc5d3e09e394 (3 commits) (flutter/engine#8651)
7e37080ec Allow specifying the Mac SDK path as an environment variable to //flutter/tools/gn (flutter/engine#8643)
30c23e604 Roll src/third_party/skia e8a33ec6d084..e5763787f920 (1 commits) (flutter/engine#8650)
8f0af31ec Roll src/third_party/skia 8cdae55bf1ac..e8a33ec6d084 (3 commits) (flutter/engine#8648)
25c33dc9d Roll src/third_party/skia 9b67802a4cd0..8cdae55bf1ac (1 commits) (flutter/engine#8647)
1e5f59d4f Reland "Remove DartSnapshotBuffer and dry up snapshot resolution logic". (flutter/engine#8645)
4ead9c8f9 Remove unused Settings::ToString. (flutter/engine#8642)

TBR: @cbracken
2019-04-22 10:05:50 -07:00
Jonah Williams
18e294dbd7
throw toolExit instead of rethrowing on filesystem exceptions (#31404) 2019-04-22 09:56:14 -07:00
Todd Volkert
b9170a9d9a
Add more breadcrumb docs to Transformation (#31420) 2019-04-22 09:53:03 -07:00
Todd Volkert
9a4a3fc62a
Add Widget of the Week video to SizedBox (#31421) 2019-04-22 09:52:41 -07:00
Greg Spencer
4218c0bc38
Implement focus traversal for desktop platforms, shoehorn edition. (#30040)
Implements focus traversal for desktop platforms, including re-implementing the existing focus manager and focus tree.

This implements a Focus widget that can be put into a widget tree to allow input focus to be given to a particular part of a widget tree.

It incorporates with the existing FocusScope and FocusNode infrastructure, and has minimal breakage to the API, although FocusScope.reparentIfNeeded is removed, replaced by a call to FocusAttachment.reparent(), so this is a breaking change:

FocusScopeNodes must now be attached to the focus tree using FocusScopeNode.attach, which takes a context and an optional onKey callback, and returns a FocusAttachment that should be kept by the widget that hosts the FocusScopeNode. This is necessary because of the need to make sure that the focus tree reflects the widget hierarchy.

Callers that used to call FocusScope(context).reparentIfNeeded in their build method will call reparent  on a FocusAttachment instead, which they will obtain by calling FocusScopeNode.attach in their initState method. Widgets that own FocusNodes will need to call dispose on the focus node in their dispose method.

Addresses #11344, #1608, #13264, and #1678
Fixes #30084
Fixes #26704
2019-04-22 09:51:40 -07:00
Dan Field
37bc48f26e
rectMoreOrLess equals, prep for 64bit rects (#30942)
* rectMoreOrLess equals, prep for 64bit rects
2019-04-22 09:40:19 -07:00
Danny Tuppeny
783d80d799
Add a note about events coming from the server (#31419) 2019-04-22 17:36:07 +01:00
chunhtai
77ab0b8321
Fix 25807: implement move for sliver multibox widget (#29188) 2019-04-22 09:28:53 -07:00
Stanislav Baranov
08445c8a01
Stop precaching the artifacts for dynamic mode. (#31282) 2019-04-22 09:05:38 -07:00
Keerti Parthasarathy
b593f5167b
Add track-widget-creation flag to attach command (#31262)
* Add track-widget-creation flag to attach command

* use the flag
v1.5.4
2019-04-22 07:51:33 -07:00
Justin McCandless
6e1b143fed
Text field scroll physics (#31088)
TextField and CupertinoTextField can now specify scrollPhysics. Cupertino defaults to bouncing now.
2019-04-22 07:42:59 -07:00
MH Johnson
0545c63b9b
Revert "[Material] Update slider and slider theme with new sizes, shapes, and color mappings (#30390)" (#31339)
This reverts commit b1039f0f1b761b0e4ec1825eed269b10af6104d4.

(This is a temporary revert while some of our customers deal with the breaking changes involved.)
2019-04-19 20:41:32 -04:00
Ben Konyi
484f6e754a
Fixed flutter_attach_test not respecting authentication codes (#31321) 2019-04-19 13:55:34 -07:00