Commit graph

14041 commits

Author SHA1 Message Date
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 77ab0b8321.
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 4218c0bc38.
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
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 b1039f0f1b.

(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
Ben Konyi 1459b1e91f
Fixed failing tests caused by introduction of authentication codes (#31315) 2019-04-19 11:45:53 -07:00
Christopher Fujino eaf058d81d
Add flutter attach documentation (#31279)
* add attach.md document
2019-04-19 08:50:30 -07:00
Ben Konyi a009d71101
Updated flutter_driver to support auth codes (#31310) 2019-04-19 07:57:04 -07:00
Ben Konyi 3764cb8515
Added support for authentication codes for the VM service. (#30857)
* Added support for authentication codes for the VM service.

Previously, a valid web socket connection would use the following URI:

`ws://127.0.0.1/ws`

Now, by default, the VM service requires a connection to be made with a
URI similar to the following:

`ws://127.0.0.1:8181/Ug_U0QVsqFs=/ws`

where `Ug_U0QVsqFs` is an authentication code generated and shared by
the
service.

This behavior can be disabled with the `--disable-service-auth-codes`
flag.
2019-04-18 21:01:50 -07:00
Devon Carew 086fd993c6
add daemon.log to the daemon spec (#31273)
* add daemon.log to the daemon spec

* mention use in flutter run --machine
2019-04-18 20:07:52 -07:00
stuartmorgan d9718aa4b9
Add desktop workflows to doctor (#31283)
The 'doctor' check to determine if any devices can be listed for the
device should consider desktop workflows as well.

This has no effect unless the environment variable to enable desktop
device listing is set.
2019-04-18 18:24:31 -07:00
Jonah Williams ac36e4423e
Add flutter run support for linux and windows (#31229) 2019-04-18 18:05:04 -07:00
Jonah Williams 65f45999a3
initial work on coverage generating script for tool (#29494) 2019-04-18 17:59:14 -07:00
Jonah Williams f5672b9316
add --force flag to precache (#31278) 2019-04-18 16:04:21 -07:00
chunhtai b275e11170
fix issue 12999: Make assets available during tests (#31207) 2019-04-18 15:31:47 -07:00
Jonah Williams e69a8a15b3
pass track widget creation flag through to build script (#31277) 2019-04-18 15:03:34 -07:00
Anthony b1039f0f1b
[Material] Update slider and slider theme with new sizes, shapes, and color mappings (#30390)
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.
2019-04-18 17:02:17 -04:00
Efthymis Sarmpanis 2e6edaf49d Adds Tap Header Feature to ExpansionPanelList (#29390) 2019-04-18 13:53:55 -07:00