20087 Commits

Author SHA1 Message Date
gaaclarke
2ac5b3460a
Revert "Refactor initial route code (#19684)" (#20450)
This reverts commit 8d08e6c369e349986831d83204a79af3fcb8d8ca.
2020-08-12 12:43:08 -07:00
skia-flutter-autoroll
5161fd1a68
Roll Skia from 864562faf497 to b3f26441d191 (22 revisions) (#20447) 2020-08-12 11:01:01 -07:00
Yegor
e0d515369f
Make CkVertices a ManagedSkiaObject (#20421) 2020-08-12 09:32:08 -07:00
skia-flutter-autoroll
94f5cf4b1a
Roll Dart SDK from 1a1ab78dd6bc to 91e46dcbbbbd (4 revisions) (#20431) 2020-08-11 22:01:03 -07:00
skia-flutter-autoroll
7571e7c380
Roll Fuchsia Linux SDK from FeukZ89D0... to vomfYvIJk... (#20430) 2020-08-11 20:31:02 -07:00
xster
8d08e6c369
Refactor initial route code (#19684) 2020-08-11 19:52:04 -07:00
stuartmorgan
ccfc7e5179
Add missing reply in C++ MethodChannel unit test (#20420)
The test handler wasn't replying, which logged an error message during
the unit test.

Fixes https://github.com/flutter/flutter/issues/62560
2020-08-11 19:16:20 -07:00
David Worsham
6381b1511b
Fix broken shell_unittests on Fuchsia (#20422)
Fixes https://github.com/flutter/flutter/issues/53399
2020-08-11 17:31:25 -07:00
skia-flutter-autoroll
b7122a1a5a
Roll Skia from a70445f40898 to 864562faf497 (12 revisions) (#20423) 2020-08-11 17:21:01 -07:00
Dan Field
8ce0972f7a
Roll Harfbuzz to 2.7.0 (c6ca30dc757ff86416d97d358f20080b979b80c9) (#20411)
* Roll Harfbuzz to 2.7.0 c6ca30dc757ff86416d97d358f20080b979b80c9 (HAVE_PTHREAD)
2020-08-11 16:43:37 -07:00
LongCatIsLooong
9893a29366
account for inline placeholders in longest line calculation (#20370) 2020-08-11 16:23:26 -07:00
stuartmorgan
3242a69ee4
Add virtual destructors to ByteStream* (#20417) 2020-08-11 14:39:14 -07:00
Dan Field
dbc97c5c01
Use performDeferredCleanup instead of freeGpuResources (#20413) 2020-08-11 14:01:01 -07:00
Ferhat
832e811785
[web] Add comment for clip update. (#20384) 2020-08-11 13:49:19 -07:00
skia-flutter-autoroll
7ef6134059
Roll Skia from 49983ef4e7de to a70445f40898 (6 revisions) (#20416) 2020-08-11 13:11:01 -07:00
keyonghan
0f4c6761e8
remove duplicated try builder (#20415) 2020-08-11 11:57:21 -07:00
Dan Field
93cdb907c3
improve error messages for font-subset (#20410) 2020-08-11 11:45:22 -07:00
Yegor
be78eba183
CanvasKit: memory management for image and shader classes (#20349)
* memory-manage images and shaders
2020-08-11 11:16:42 -07:00
stuartmorgan
49f647f957
Fix RTTI check in EncodableValue (#20398)
__has_feature(cxx_rtti) is a clang extension, but clients of this code
are mostly using the VS toolchain. This makes the RTTI check work with
more compilers.
2020-08-11 10:53:26 -07:00
skia-flutter-autoroll
282bfc5b9e
Roll Fuchsia Mac SDK from tWzndyFoH... to us_8V5gGK... (#20407) 2020-08-11 09:31:02 -07:00
skia-flutter-autoroll
117d1cd484
Roll Skia from 5edf510941a3 to 49983ef4e7de (2 revisions) (#20406) 2020-08-11 09:16:01 -07:00
skia-flutter-autoroll
06458d2f6c
Roll Skia from 109ff207de7d to 5edf510941a3 (2 revisions) (#20405) 2020-08-11 07:56:01 -07:00
skia-flutter-autoroll
c92e86b642
Roll Skia from a4b9169fb6b3 to 109ff207de7d (4 revisions) (#20404) 2020-08-11 06:36:02 -07:00
skia-flutter-autoroll
9b4ce4e3a0
Roll Fuchsia Linux SDK from 8zNNVrRJr... to FeukZ89D0... (#20403) 2020-08-11 05:41:01 -07:00
skia-flutter-autoroll
9655af326c
Roll Dart SDK from 9e1c05a8dbb6 to 1a1ab78dd6bc (2 revisions) (#20402) 2020-08-11 03:51:01 -07:00
David Worsham
fafbcd223b
Fix broken Fuchsia test (#20397) 2020-08-11 01:01:38 -07:00
Emmanuel Garcia
8c02e38992
Prepare scenario app to run on Android emulator on LUCI (#20350) 2020-08-10 22:55:43 -07:00
David Reveman
0cf4809e24
Add Surface::GetContext() support on Fuchsia (#20391)
This improves raster cache control from apps and enables
GPU acceleration for some offscreen workloads that would
fallback to software.

Test: PlatformViewTests.GetGrContextTest

Co-authored-by: David Reveman <reveman@google.com>
2020-08-10 20:51:43 -07:00
skia-flutter-autoroll
702b595a04
Roll Fuchsia Mac SDK from it9o93w6h... to tWzndyFoH... (#20395) 2020-08-10 20:26:01 -07:00
skia-flutter-autoroll
235e389d29
Roll Skia from 46a324a16c4b to a4b9169fb6b3 (8 revisions) (#20394) 2020-08-10 18:06:02 -07:00
Ferhat
e1f17f388f
Fix nullability warning and change registeredFonts to non-nullable (#20379)
* Fix nullability warning and change registeredFonts to non-nullable
* Renamed var
2020-08-10 17:27:26 -07:00
Ferhat
6988f01779
Add Path iterator tests, sync verbs with skia enums, fix PathIterator.peek. (#20381)
* Sync verb enum to skia. Fix PathIterator.peek, add tests
* Add constant for iterator buffer size
2020-08-10 17:24:28 -07:00
skia-flutter-autoroll
edd111745b
Roll Dart SDK from d60cfe5b356f to 9e1c05a8dbb6 (3 revisions) (#20392) 2020-08-10 17:21:03 -07:00
Kaushik Iska
43067ed4fc
engineCallbackOnPresent should return false if glContext is invalid (#20337)
Co-authored-by: Kaushik Iska <kaushikiska@google.com>
2020-08-10 16:44:20 -07:00
skia-flutter-autoroll
b77e45cbd8
Roll Fuchsia Linux SDK from rbgMu1hMm... to 8zNNVrRJr... (#20389) 2020-08-10 16:21:02 -07:00
Yegor
e35fbbd90d
switch to non-overloaded arcTo methods (#20341) 2020-08-10 15:07:17 -07:00
skia-flutter-autoroll
99b05e4d08
Roll Dart SDK from e2a67723caf1 to d60cfe5b356f (436 revisions) (#20383) 2020-08-10 14:31:03 -07:00
guolinaileen
594284baee
Add TextInput performPrivateCommand to Flutter Engine (#20188)
New command for Crowdsource 2/2
2020-08-10 14:04:11 -07:00
Sanjay Chouksey
9632bf3921
Create scenic session with view focuser (#20288)
This change creates the scenic session with request to Focuser. The
focuser is used to request focus to a view, given it's ViewRef. The call to
requestFocus is made from PlatformView messages channel, which will
be used from Flutter side by ChildView.

Adds a PlatformView unittest for the requestFocus method.

Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
2020-08-10 13:57:46 -07:00
David Worsham
de15313b7e
Dedupe sources for fuchsia shell/tests (#20343)
Remove the gni file, as it is confusing things
2020-08-10 13:52:19 -07:00
stuartmorgan
b28b1dfe68
Allow extending the C++ standard codec (#20317)
Standard*Codec allows for extensions to support arbitrary types; this
had not previously been implemented for the C++ version.

Overview of changes:
- EncodableValue's std::variant type now allows for a new CustomEncodableValue, which is a thin wrapper around std::any, to store arbitrary extension types.
- ByteBufferStream* has been split into an interface class and the buffer-based implementation, with the former now part of the public API surface to be used in standard codec extensions.
  - They also gained utility methods for some common data types to simplify writing extensions.
- StandardCodecSerializer is now part of the public API surface, and is subclassable.
- StandardCodecSerializer's ReadValue has been split into ReadValue and ReadValueOfType to match the structure used when subclassing on the Dart side, for easier porting of custom extensions across languages.
- Standard*Codec now optionally accepts a non-default serializer in GetInstance, providing a shared instance using that serializer.

Fixes https://github.com/flutter/flutter/issues/31174
2020-08-10 13:41:13 -07:00
skia-flutter-autoroll
8ed196494b
Roll Skia from ea8be2120ee6 to 46a324a16c4b (3 revisions) (#20382) 2020-08-10 13:31:01 -07:00
Ming Lyu (CareF)
8b72bbcec9
remove FrameTiming named constructor (#20380) 2020-08-10 12:21:03 -07:00
skia-flutter-autoroll
9bc3fe9f0c
Roll Skia from 7e74746f7f59 to ea8be2120ee6 (5 revisions) (#20376) 2020-08-10 11:41:02 -07:00
skia-flutter-autoroll
a62703778b
Roll Skia from 039f681a841a to 7e74746f7f59 (6 revisions) (#20375) 2020-08-10 10:11:02 -07:00
Greg Spencer
a4e7f37ba2
Fix lint errors in vulkan directory. (#19991)
This fixes lint errors in the vulkan directory. This might be a little more controversial, but the reason that the lints were failing here was because of an include path problem that I think I solved.
2020-08-10 09:50:28 -07:00
LongCatIsLooong
33a68818c5
[iOS TextInput] Fixes selection clamping & composing range change logic (#20348) 2020-08-10 09:45:36 -07:00
stuartmorgan
cd4192d4ee
[windows] Rework controller/engine interaction in the API (#20266)
Changes the interaction between the view controller and engine in both the C API and
the engine API, so that there's always an engine (as on other platforms) rather than
the engine APIs being specific to headless mode.

While adjusting the C API, this does a large cleanup:
- Renames all methods to follow a `FlutterDesktop` (prefix) + "class" name + method-style name.
  E.g., `FlutterDestkopViewControllerCreate` rather than `FlutterDesktopCreateViewController`.
  This makes it easier to see what functions operate on which conceptual "object" in the API.
- Reorders and groups them by the object they operate on.

Fixes https://github.com/flutter/flutter/issues/61966
2020-08-10 09:41:18 -07:00
skia-flutter-autoroll
60bc77a2b4
Roll Dart SDK from 9d279d41e367 to e2a67723caf1 (1 revision) (#20374) 2020-08-10 09:21:02 -07:00
Yegor
8780859f0a
remove write parameter from _checkScreenshot (#20340) 2020-08-10 08:57:37 -07:00