Commit Graph

14848 Commits

Author SHA1 Message Date
Jonah Williams
e91b98a41f Add initial implementation of flutter assemble (#32816) 2019-07-11 16:53:17 -07:00
Jonah Williams
fb9ff9296e fix linesplitter (#36006) 2019-07-11 16:52:14 -07:00
Ben Konyi
8d81c30a7c [WIP] Use public _registerService RPC 2019-07-11 16:01:07 -07:00
Dan Field
7a20148548 Add colorFilterLayer/Widget (#35468) 2019-07-11 15:49:51 -07:00
LongCatIsLooong
539f09f801 Remove _debugWillReattachChildren assertions from _TableElement (#34202) 2019-07-11 13:54:51 -07:00
engine-flutter-autoroll
b1a8637028 Roll engine 0f6229ab1d39..3b944102a56e (3 commits) (#36000)
0f6229ab1d...3b944102a5

git log 0f6229ab1d3915bac6967f08a8074d58ebfeb656..3b944102a56e8f4182e6601113fc36538edf3de9 --no-merges --oneline
3b944102a Un-deprecated FlutterViewController's binaryMessenger. (flutter/engine#9767)
7e65b81cc Roll src/third_party/dart 09fc76bc51..24725a8559 (43 commits)
a03e74743 Add hooks for InputConnection lock and unlocking (flutter/engine#9727)

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 (garyq@google.com), and stop
the roller if necessary.
2019-07-11 16:37:27 -04:00
Dan Field
735352a8c0 Deflake ImageProvider.evict test (#35999) 2019-07-11 13:09:30 -07:00
Matt Carroll
7ea7f1c62b Upgraded framework packages with 'flutter update-packages --force-upgrade'. (#35932) 2019-07-11 12:04:10 -07:00
engine-flutter-autoroll
d7f01757f8 Roll engine 49445ce4949b..0f6229ab1d39 (6 commits) (#35990)
49445ce494...0f6229ab1d

git log 49445ce4949bf0d28506a6b22e28b4264f624e5f..0f6229ab1d3915bac6967f08a8074d58ebfeb656 --no-merges --oneline
0f6229ab1 Roll fuchsia/sdk/core/mac-amd64 from lKQ0yBPnk1oXLyNM7XhqSDl5llP6Cx2GWkQjS0ExozcC to XOXaWqvr4OuJ6O3uPefSwSFjZMaEmDHy5JQm3Q8Oc0wC (flutter/engine#9786)
e40149eaf Roll src/third_party/skia af4e7b6cf616..f9fcf7ffa89a (33 commits) (flutter/engine#9784)
009b1d5a9 Roll fuchsia/sdk/core/mac-amd64 from 1F71B9KuZAVZz0LDQW_g0bbfWsxEgQkDpHPKrkc97xYC to lKQ0yBPnk1oXLyNM7XhqSDl5llP6Cx2GWkQjS0ExozcC (flutter/engine#9779)
fbe50c6a6 Roll fuchsia/sdk/core/mac-amd64 from bYFmlYp6Mc82r7dw58IaEny3_mnq-yZW06Ccr19j0lIC to 1F71B9KuZAVZz0LDQW_g0bbfWsxEgQkDpHPKrkc97xYC (flutter/engine#9778)
51c3c11b8 fix objcdoc generation (flutter/engine#9772)
f076a60c9 Roll fuchsia/sdk/core/mac-amd64 from EYnRdXFT9l-d8Qkz4zeTRXnqfV3KQzpQhoPs1r0-740C to bYFmlYp6Mc82r7dw58IaEny3_mnq-yZW06Ccr19j0lIC (flutter/engine#9771)

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 (garyq@google.com), and stop
the roller if necessary.
2019-07-11 14:29:27 -04:00
Jonah Williams
ae8ff41abf Revert "Keep LLDB connection to iOS device alive while running from CLI. (#35731)" (#35996)
This reverts commit d200dc150b.
2019-07-11 10:44:41 -07:00
sjindel-google
d200dc150b Keep LLDB connection to iOS device alive while running from CLI. (#35731) 2019-07-11 18:56:48 +02:00
Greg Spencer
e8fbdd85f0 Add example showing how to move from one field to the next. (#35926)
This adds an example of how to move to the "next" field when using TextInputAction.next. This is all that is needed to have "next field" functionality in a field. I thought about making it the default when handling the "next" or "previous" actions, but it's better that the developer has control over whether or not they actually move to the next field, and within which scope.
2019-07-11 07:56:30 -07:00
engine-flutter-autoroll
b69feb5340 Roll engine 75387dbc147d..49445ce4949b (32 commits) (#35952)
75387dbc14...49445ce494

git log 75387dbc147d1cee8164f5d61582eab8ba1e5058..49445ce4949bf0d28506a6b22e28b4264f624e5f --no-merges --oneline
49445ce49 FLEViewController/Engine API changes (flutter/engine#9750)
2a79462fd Add Fuchsia build CI presubmit steps (flutter/engine#9736)
67cebdb92 Roll fuchsia/sdk/core/linux-amd64 from KGmm_RIJoXS19zTm2crjM3RYpmp5Y03-fLUeVdylbTYC to ehWVT9QJbC-vFMM6SkkQM9HJ9oITFCws7FC9JnrFq2gC (flutter/engine#9765)
089c74084 Roll fuchsia/sdk/core/mac-amd64 from lCQWEeR_Ert7t_qAbMRycwrRyZC-dIprYPyPJzwPmg4C to EYnRdXFT9l-d8Qkz4zeTRXnqfV3KQzpQhoPs1r0-740C (flutter/engine#9759)
b22410ef6 Include SkParagraph headers only when the enable-skshaper flag is on (flutter/engine#9758)
2cd650d26 Minimal integration with the Skia text shaper module (flutter/engine#9556)
f775f5e4d Re-enable the Wuffs GIF decoder (flutter/engine#9466)
aca048236 Make all shell unit tests use the OpenGL rasterizer. (flutter/engine#9746)
bc57291ff Make FLEViewController's view an internal detail (flutter/engine#9741)
9776043ea Synchronize main thread and gpu thread for first render frame (flutter/engine#9506)
f600ae830 Use libc++ variant of string view and remove the FML variant. (flutter/engine#9737)
564f53f0a Revert "Improve caching limits for Skia (#9503)" (flutter/engine#9740)
b453d3c3d libtxt: fix reference counting of SkFontStyleSets held by font asset providers (flutter/engine#9561)
fa7627d17 Fix backspace crash on Chinese devices (flutter/engine#9734)
56885f79b Let pushColorFilter accept all types of ColorFilters (flutter/engine#9641)
6dccb21e6 Roll src/third_party/skia 96fdfe0fe88e..af4e7b6cf616 (1 commits) (flutter/engine#9735)
8511d9b47 Roll fuchsia/sdk/core/mac-amd64 from byM-kyxL4bemlTYNqhKUfJfZoIUrCSzS6XzsFr4n9-MC to lCQWEeR_Ert7t_qAbMRycwrRyZC-dIprYPyPJzwPmg4C (flutter/engine#9742)
b3bf0a182 Roll fuchsia/sdk/core/linux-amd64 from I2Qe1zxgckzIzMBTztvzeWYsDgcb9Fw-idSI16oIlx8C to KGmm_RIJoXS19zTm2crjM3RYpmp5Y03-fLUeVdylbTYC (flutter/engine#9743)
7e568232a Fix windows test by not attempting to open a directory as a file. (flutter/engine#9745)
6cf0d1350 Roll src/third_party/skia a3ffaabcc4f2..96fdfe0fe88e (5 commits) (flutter/engine#9731)
49a00aed8 Fix Fuchsia build. (flutter/engine#9730)
b3bb39b0b Roll src/third_party/dart 06c3d7ad3a...09fc76bc51 (flutter/engine#9728)
2284210f4 Make the license script compatible with recently changed Dart I/O stream APIs (flutter/engine#9725)
ad582b508 Rework image & texture management to use concurrent message queues. (flutter/engine#9486)
1dcd5f52b Roll src/third_party/skia 6b82cf638682..a3ffaabcc4f2 (24 commits) (flutter/engine#9726)
129979cab Revert "Roll src/third_party/dart 06c3d7ad3a..7acecda2cc (12 commits)" (flutter/engine#9724)
8020d7e43 Roll src/third_party/skia 56065d9b875f..6b82cf638682 (3 commits) (flutter/engine#9718)
e24bd7846 Roll src/third_party/dart 06c3d7ad3a..7acecda2cc (12 commits)
3d2668c35 Reland isolate group changes
802bd1518 iOS platform view opacity (flutter/engine#9667)
3b6265b74 Roll src/third_party/dart b5aeaa6796..06c3d7ad3a (44 commits)
887e05233 Refactor ColorFilter to have a native wrapper (flutter/engine#9668)

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 (garyq@google.com), and stop
the roller if necessary.
2019-07-11 01:56:27 -04:00
Jenn Magder
0a39d8d92e Use test instead of test_api package in platform_channel_swift example tests (#35942) 2019-07-10 19:17:14 -07:00
Greg Spencer
3b945da00d Change focus example to be more canonical (and correct), listening to the focus node for changes. (#35913)
This changes the example for FocusNode to be more correct, listening to the focus node for changes, instead of assuming that it is the only one doing the changing.
2019-07-10 16:49:32 -07:00
Greg Spencer
67ee3e191e Add anchors to samples (#35906)
This adds an "anchor button" to each of the samples so that the user can link to individual samples instead of having to link to just the page. Clicking on the anchor button jumps to the anchor, as well as copying the anchor URL to the clipboard.

There is some oddness in the implementation: because dartdoc uses a <base> tag, the href for the link can't just be "#id", it has to calculate the URL from the current window href. I do that in the onmouseenter and onclick because onload doesn't get triggered for <a> tags (and onmouseenter doesn't get triggered for mobile platforms), but I still want the href to be updated before someone right-clicks it to copy the URL.
2019-07-10 16:48:20 -07:00
Jenn Magder
b5c1b61c73 Add platform_interaction_test_swift to devicelab (#35775) 2019-07-10 14:13:01 -07:00
Justin McCandless
ff53fbe194 Text selection menu show/hide cases (#35219)
Show and hide the text selection menu at the correct time with various gestures in the text field.
2019-07-10 14:08:14 -07:00
Tom Robinson
ef42c36ab0 Cleanup widgets/sliver_persistent_header.dart with resolution of dart-lang/sdk#31543 (#35828)
* Remove extra classes.

Now that https://github.com/dart-lang/sdk/issues/31543 is fixed, we
can remove extra classes.

* Add snapConfiguration to parameters for _RenderSliverFloatingPersistentHeaderForWidgets and _RenderSliverFloatingPinnedPersistentHeaderForWidgets constructors.
2019-07-10 13:54:27 -07:00
gaaclarke
3122786ad5 Fixed build of example code to use new binary messenger API. (#35825)
Fixed build of example code to use new binary messenger API.
2019-07-10 13:10:05 -07:00
rami-a
70bb5d1d5a Add flag to use root navigator for showModalBottomSheet (#35878)
* Add flag to use root navigator for showModalBottomSheet

* Add documentation

* Add tests

* Address feedback and fix analyzer issues

* Address feedback

* Update comments
2019-07-10 16:07:15 -04:00
Kate Lovett
14e4565fa4 Doc fixes (#35892)
* Fixed assets embedding

* ++

* Completed snippet audit

* Analyzer
2019-07-10 12:40:35 -07:00
Ian Hickson
176ebfd53e flutter/tests support (#33140)
This introduces a script that implements the conventions described in https://github.com/flutter/tests/pull/1.
2019-07-10 12:10:28 -07:00
Jenn Magder
ec2c3f2116 Disable CocoaPods input and output paths in Xcode build phase for ephemeral add2app (#35833) 2019-07-10 10:40:15 -07:00
Shi-Hao Hong
e7ef75680e Update Dark Theme disabledColor to White38 (#35136)
* Add Colors.white38

* Update ThemeData.disabledColor and ButtonThemeData.disabledColor to Colors.white38

* Update pre-existing tests to expect Colors.white38 instead of Colors.white30

* Update API documentation to reflect these changes
2019-07-10 08:50:24 -07:00
Jonah Williams
2b20345bb8 use pub run for create test and remove [INFO] logs (#35839) 2019-07-10 08:48:01 -07:00
Greg Spencer
e3a08d2392 Remove reverseDuration from implicitly animated widgets, since it's ignored. (#35785)
When I added reverseDuration to animation controllers in #32730, I also added it to the implicit animations that Flutter has. However, as @efortuna pointed out to me, it doesn't actually do anything there, since all of the intrinsic animations run forwards, not in the reverse direction, and there's no way to reverse them.

So, this PR removes the reverseDuration argument from the implicit animations to avoid confusion.

Fixes #35769
2019-07-10 08:18:26 -07:00
Jenn Magder
2ad5376a06 Build all example projects in CI build smoke test (#35778) 2019-07-09 16:00:33 -07:00
John Ryan
871b58986d add sample code for AnimatedContainer (#35225)
* add sample code for AnimatedContainer

* use stateful_widget_scaffold snippet template

* add sample explanation

* add setState() to example assumptions for analyzer

* update description

* use snippet instead of sample

* change sample to match assets-for-api-docs

* remove constant

* update AnimatedContainer sample description

add indication the example is depicted by the video and animates when
tapped

* fix example formatting

* make sample conform to 80 col limit

* add "implemented below" to illustration description

* formatting for readability
2019-07-09 15:34:39 -07:00
Darren Austin
af1bd09c78 Added MaterialApp.themeMode to control which theme is used. (#35499)
Added support for a themeMode property to the MaterialApp to control
how the light or dark theme is selected.
2019-07-09 15:26:42 -07:00
Gary Qian
42a01befa0 Roll engine e695a516f..75387dbc1 (8 commits) (#35814) 2019-07-09 14:24:47 -07:00
Jonah Williams
adf45d1e40 Refactor signal and command line handler from resident runner (#35406) 2019-07-09 13:10:26 -07:00
Jenn Magder
a429991a15 Remove CoocaPods support from layers example app (#35780) 2019-07-09 10:38:40 -07:00
Gary Qian
9c1783e989 Update TextStyle and StrutStyle height docs (#33281) 2019-07-09 10:38:01 -07:00
Anthony
aae50f541a [Material] Text scale and wide label fixes for Slider and Range Slider value indicator shape (#35496)
Various bug fixes for Slider and Range Slider value indicator around accessibility and wide labels.
2019-07-09 13:26:10 -04:00
chunhtai
a76e39f984 Rendering errors with root causes in the widget layer should have a reference to the widget (#32511) 2019-07-09 10:18:30 -07:00
Kate Lovett
97b2c98642 Navigator pushAndRemoveUntil Fix (#35223)
* Initial work

* ++

* Updated tests

* Moved TestObserver out for access across tests.

* ++

* Added hero tests

* Review feedback

* simplified preceding route overlay

* Review feedback

* trailing doc slash
2019-07-09 10:17:30 -07:00
Jonah Williams
41c7f0a9da disable web tests (#35792) 2019-07-09 06:13:28 -07:00
Alexandre Ardhuin
b041a589c8 enable lint prefer_if_null_operators (#35745) 2019-07-09 10:53:35 +02:00
Jonah Williams
ad9b077fec set tool coverage target of zero percent (#35767) 2019-07-08 19:17:35 -07:00
Jonah Williams
91e3b2d671 add iOS build benchmarks (#35749) 2019-07-08 18:09:00 -07:00
Hiroki Matsue
0e7cfc1e41 Add missing [applicationIcon] property to LicensePage widget (#34906)
* Add missing [applicationIcon] property to LicensePage widget
2019-07-08 17:30:28 -07:00
Michael Goderbauer
4e973adc79 Various doc fixes (#35548) 2019-07-08 17:02:25 -07:00
Jenn Magder
559c9982dd UIApplicationLaunchOptionsKey -> UIApplication.LaunchOptionsKey (#35763) 2019-07-08 16:55:27 -07:00
Dan Field
e3acb5ca71 Refactor keymapping for resident_runner (#35762) 2019-07-08 16:38:49 -07:00
Jenn Magder
f3150ed0b5 Remove Swift Obj-C Inference build setting (#35756) 2019-07-08 16:04:16 -07:00
Jonah Williams
1e26c41f17 Remove web, fuchsia, and unsupported devices from all (#35709) 2019-07-08 15:58:38 -07:00
liyuqian
34e18d38ce ios (iPhone6) and iPhone XS tiles_scroll_perf tests (#35556)
For https://github.com/flutter/flutter/issues/31086.

Also test if our mac8 with iPhone XS is working
(https://github.com/flutter/flutter/issues/34590).
2019-07-08 14:13:33 -07:00
Dan Field
39baa0995c Fix semantics for floating pinned sliver app bar (#35574) 2019-07-08 14:02:42 -07:00
Jonah Williams
cac8835de3 Update annotated region findAll implementation to use Iterable (#35725) 2019-07-08 13:32:59 -07:00