11339 Commits

Author SHA1 Message Date
skia-flutter-autoroll
efb8a21cfb Roll Skia from 01b93eabe25b to 2e0c70dc9c3e (10 revisions) (flutter/engine#21810) 2020-10-13 10:27:02 -07:00
Dan Field
1c9b3e2299 Ocmock dylib (flutter/engine#21786)
- Build OCMock as a dylib for iOS tests
- Set install_name for ios_flutter_test and ocmock dylibs
- Copy and sign dylibs during build process
2020-10-13 09:36:29 -07:00
skia-flutter-autoroll
ebeaa845f8 Roll Skia from fa8891164062 to 01b93eabe25b (4 revisions) (flutter/engine#21805) 2020-10-13 09:07:02 -07:00
Ferhat
5b422245ca [web] Fix Altgr keyboard crash (flutter/engine#21781)
* Fix AltGr modifier crash
* update integration test
2020-10-13 08:53:28 -07:00
skia-flutter-autoroll
13bb8ef37c Roll Skia from c89a7ee628db to fa8891164062 (1 revision) (flutter/engine#21804) 2020-10-13 07:47:01 -07:00
skia-flutter-autoroll
c6d9411e6e Roll Skia from 387fd62a1280 to c89a7ee628db (1 revision) (flutter/engine#21803) 2020-10-13 06:27:01 -07:00
skia-flutter-autoroll
e422a50b30 Roll Skia from f58db3c94da3 to 387fd62a1280 (3 revisions) (flutter/engine#21801) 2020-10-13 00:22:01 -07:00
skia-flutter-autoroll
059847d87d Roll Fuchsia Linux SDK from h-DeV4tgE... to gdo4mZ5oI... (flutter/engine#21797) 2020-10-12 22:27:01 -07:00
skia-flutter-autoroll
2a9281b2ee Roll Skia from ab6e62c131e9 to f58db3c94da3 (6 revisions) (flutter/engine#21794) 2020-10-12 21:42:02 -07:00
Damian Wrobel
cc2aa3ca3c Support Wayland only (without X11 support in gdk) (flutter/engine#21218)
Adds a support for compiling flutter engine when
gdk does not have X11 backend. In such a configuration
the generated gdkconfig.h header file looks like the following:

 /* gdkconfig.h
  *
  * This is a generated file.  Please modify `configure.ac'
  */

 #ifndef __GDKCONFIG_H__
 #define __GDKCONFIG_H__

 #if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
 #error "Only <gdk/gdk.h> can be included directly."
 #endif

 #include <glib.h>

 G_BEGIN_DECLS

 #define GDK_WINDOWING_WAYLAND

 G_END_DECLS

 #endif  /* __GDKCONFIG_H__ */

Additionally headers like <gdk/gdkx.h> are not available at all.

Above configuration can be found on the most of the embedded systems.

This patch enables compilation of X11 specific code only when gdk
defines GDK_WINDOWING_X11.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-10-13 15:54:44 +13:00
J-P Nurmi
9453cb51b6 Add workaround for missing fl_method_xxx_response_get_type() symbols (flutter/engine#21405) 2020-10-12 19:32:02 -07:00
Yuqian Li
0c645869e3 Revert "Migration to PlatformDispatcher and multi-window #20496" (flutter/engine#21792)
* Revert "Fix documentation build for window changes. (#21780)"

This reverts commit a539d91840d2fbbb4aa07eeed6a92d654db167ab.

* Revert "Migration to PlatformDispatcher and multi-window (#20496)"

This reverts commit a58fec63f196175eedfc5fbaedce9336dab5c508.
2020-10-12 19:26:41 -07:00
Chris Bracken
796b559455 Extract a TextRange class for selection (flutter/engine#21722)
Extracts a TextRange class with a base and extent, and start(), end(),
collapsed(), and length() getters.

The possibility of reversed base and extent in selections and composing
ranges makes reasoning about them complex and increases the chances of
errors in the code. This change migrates most uses of base and extent in
the text model to start()/end() or position(). The position() method is
intended purely as an aid to readability to indicate that a collapsed
selection is expected at the call site; it also enforces a debug-time
assertion that this is the case.
2020-10-12 17:50:11 -07:00
Jonah Williams
18e2315345 [null-safety] fix build rule to produce sound dill (flutter/engine#21784)
The space in the argument name was causing this argument to be dropped and the sound and unsound dills to be identical.
2020-10-12 16:35:09 -07:00
nturgut
e73acfbe6e E2e screenshot tests2 (flutter/engine#21383)
* carrying code

* more changes for carrying the code

* rebase changes onto ios-screenshot tests

* adding screenshot capability to text_editing e2e test

* address some comments

* change enable flag for isUnitTestsScreenshotsAvailable

* addressing the reviewer comments

* change the dependency for path

* add to licencense file

* changing goldens commit no. the new commit has the screenshot goldens

* update readme file

* firefox tests needs LUCI changes

* change to release mode since screenshots were taken in release mode

* change window size

* some argument changes

* small comment change

* test the chrome linux tests again

* use roboto font instead of default font

* addressing reviewer comments

* change commit for goldens
2020-10-12 16:25:57 -07:00
Greg Spencer
a539d91840 Fix documentation build for window changes. (flutter/engine#21780)
* Fix documentation build for window changes.

* Add missing interfaces for web_ui
2020-10-12 16:04:05 -07:00
skia-flutter-autoroll
b33fe726af Roll Skia from 840e8ea7403e to ab6e62c131e9 (7 revisions) (flutter/engine#21783) 2020-10-12 16:02:02 -07:00
skia-flutter-autoroll
0cb67fea49 Roll Skia from 9213e610ed92 to 840e8ea7403e (11 revisions) (flutter/engine#21779) 2020-10-12 14:12:02 -07:00
Yuqian Li
34774974ab Reland "Create root isolate asynchronously (#20142)" (flutter/engine#21747)
This reverts commit 19ebd61442fd3bf6a69af2156c8b118fc8578ec2.

Additionally, the following _flutter.runInView deadlock is fixed.

Previously, a deadlock would occur when service protocol
_flutter.runInView is used to restart the engine wihtout tearing down
the shell: the shared mutex of the service protocol will be locked
during the restart as it's in the middle of handling a service protocol
message; if ServiceProtocol::AddHandler is also called during the
restart, the deadlock happens as AddHandler also requires such lock.

test/integration.shard/background_isolate_test.dart would fail
without this fix.
2020-10-12 12:02:30 -07:00
skia-flutter-autoroll
b47843a83d Roll Skia from ceb6214a556a to 9213e610ed92 (8 revisions) (flutter/engine#21774) 2020-10-12 11:32:02 -07:00
Zachary Anderson
ebbd3f7a49 Ignore analysis warning for doc comment (flutter/engine#21773)
This is to unblock a Dart -> engine roll.
2020-10-12 10:08:27 -07:00
skia-flutter-autoroll
3482cc9dd9 Roll Skia from d71dc2d25b8b to ceb6214a556a (5 revisions) (flutter/engine#21772) 2020-10-12 09:32:02 -07:00
skia-flutter-autoroll
141b0e6b2b Roll Fuchsia Linux SDK from Nw5-0_sVF... to h-DeV4tgE... (flutter/engine#21771) 2020-10-12 09:07:01 -07:00
LongCatIsLooong
5742a097fd Use buildroot clang for scenario app (flutter/engine#21690) 2020-10-12 08:12:02 -07:00
skia-flutter-autoroll
429a998c65 Roll Fuchsia Linux SDK from YRTc9YoiB... to Nw5-0_sVF... (flutter/engine#21760) 2020-10-11 11:07:01 -07:00
skia-flutter-autoroll
e6c6570f79 Roll Skia from aa64c352b349 to d71dc2d25b8b (1 revision) (flutter/engine#21758) 2020-10-11 00:47:02 -07:00
skia-flutter-autoroll
9ab0cef511 Roll Fuchsia Linux SDK from EBX49sN_X... to YRTc9YoiB... (flutter/engine#21753) 2020-10-10 18:57:01 -07:00
skia-flutter-autoroll
2f7813e27b Roll Skia from 13fc260c7080 to aa64c352b349 (1 revision) (flutter/engine#21752) 2020-10-10 18:52:01 -07:00
skia-flutter-autoroll
01cba5016c Roll Skia from 61003cde7688 to 13fc260c7080 (1 revision) (flutter/engine#21746) 2020-10-09 20:02:02 -07:00
gaaclarke
389b4fd25b Revert "fix On iOS, dialog titles are announced twice (#19826)" (flutter/engine#21714) 2020-10-09 19:57:04 -07:00
skia-flutter-autoroll
6288ffac43 Roll Skia from 88cda17bbeb8 to 61003cde7688 (4 revisions) (flutter/engine#21744) 2020-10-09 17:32:01 -07:00
Alexander Markov
7f638cd494 Remove uses of Dart VM bytecode mode from Flutter engine (flutter/engine#21741) 2020-10-09 16:34:08 -07:00
Greg Spencer
a58fec63f1 Migration to PlatformDispatcher and multi-window (flutter/engine#20496)
This is a PR for converting the dart:ui code in the engine to use a multi-window API. The goal here is to convert from the window singleton to an API that has the concept of multiple windows. Also, I'm matching up the new PlatformDispatcher class to talk directly to the PlatformConfiguration class in the engine. I'm not attempting to actually enable creating multiple windows here, just migrate to an API that has a concept of multiple windows. The multi-window API in this PR currently only ever creates one window.

The design doc for this change is here.

The major changes in this PR:

Move the platfom-specific attributes out of Window, and into the new PlatformDispatcher class that holds all of the platform state, so that the platform code need only update the configuration on this class.
Create FlutterView, FlutterWindow, and SingletonFlutterWindow classes to separate out the concepts of a view (of which there may be multiple in a window), a window (of which there may be multiple on a screen, and they host views), and a window where there is only ever expected to be one (this hosts the entire API of the former Window class, and will eventually be the type of the window singleton).
Next step after this PR lands:

Remove the Window class entirely (it is replaced by SingletonFlutterWindow). Some minor changes in the Framework are needed to switch to using SingletonFlutterWindow directly first.

The Window class still exists in this PR, but will be removed as soon as the framework is converted to point to the SingletonFlutterWindow class instead. They share the same API, just have different names (Window is currently a subclass of SingletonFlutterWindow). The intention is that the Window name will be freed up to use as a widget class name in the framework for managing windows. The singleton called window will remain, and keep the same API it has now.
2020-10-09 16:29:16 -07:00
George Wright
cc1041232c Add dart_entrypoint_argc/argv to the FlutterProjectArgs (flutter/engine#21737) 2020-10-09 16:17:02 -07:00
Ferhat
0eab17e473 [web] Add ShaderBuilder, change drawVertices to use builder. (flutter/engine#21716)
* Move shader.dart into shaders directory
* Add Shader builder basic structure and decls
* rewrite drawVertices with ShaderBuilder
* Fix in parameters in fragment shader to use varying for webgl1
2020-10-09 15:52:29 -07:00
skia-flutter-autoroll
599ab55cd0 Roll Skia from 269e43fd9830 to 88cda17bbeb8 (3 revisions) (flutter/engine#21742) 2020-10-09 15:32:01 -07:00
Kaushik Iska
ae5b199719 Fix filesystem access prior to macOS 10.15 (flutter/engine#21740) 2020-10-09 13:42:01 -07:00
skia-flutter-autoroll
b651bbbdc3 Roll Skia from 453f67ff0ade to 269e43fd9830 (11 revisions) (flutter/engine#21739) 2020-10-09 13:32:02 -07:00
skia-flutter-autoroll
c0ecdc426b Roll Fuchsia Linux SDK from wrXNShr_8... to EBX49sN_X... (flutter/engine#21729) 2020-10-09 13:17:01 -07:00
skia-flutter-autoroll
561eff4ed4 Roll Skia from e17b0501963a to 453f67ff0ade (28 revisions) (flutter/engine#21732)
https://skia.googlesource.com/skia.git/+log/e17b0501963a..453f67ff0ade

2020-10-09 ethannicholas@google.com SkSL enum changes
2020-10-09 egdaniel@google.com Suppress vulkan validation layers bug.
2020-10-09 ethannicholas@google.com more SkSL IRNode refactoring
2020-10-09 egdaniel@google.com Make sure the normal GrProgramDesc handles input attachment key.
2020-10-09 michaelludwig@google.com SkDevice::drawSpecial accepts arbitrary matrix v2
2020-10-09 brianosman@google.com Reorganize how SkSL includes are parsed and stored
2020-10-09 johnstiles@google.com Reland "Add sk_Caps.builtinDeterminantSupport and use it in cross()."
2020-10-09 adlai@google.com Reland "Merge GrContext::init into GrDirectContext ..."
2020-10-09 johnstiles@google.com Add test for sk_Caps.mustGuardDivisionEvenAfterExplicitZeroCheck.
2020-10-09 johnstiles@google.com Add test for sk_Caps.inBlendModesFailRandomlyForAllZeroVec.
2020-10-09 johnstiles@google.com Reland "Put top level FPs into their own functions"
2020-10-09 ethannicholas@google.com refactored more SkSL IRNodes
2020-10-09 egdaniel@google.com Reland "Rename GrStencilAttachment class to generic GrAttachment"
2020-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from af82ff2606e9 to 4a368eae5a6f (468 revisions)
2020-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 5f4e70b81046 to 952149303d06 (1 revision)
2020-10-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 6b4a4a85dfd7 to 793a07e36636 (12 revisions)
2020-10-09 jvanverth@google.com Revert "Add sk_Caps.builtinDeterminantSupport and use it in cross()."
2020-10-09 brianosman@google.com Remove custom iterators from SkSL::Program
2020-10-08 jvanverth@google.com Revert "Rename GrStencilAttachment class to generic GrAttachment"
2020-10-08 johnstiles@google.com Add sk_Caps.builtinDeterminantSupport and use it in cross().
2020-10-08 michaelludwig@google.com Add SkImageFilters::Shader in place of Paint factory
2020-10-08 michaelludwig@google.com Clip perspective bounds by device clip in SkPDFDevice
2020-10-08 jvanverth@google.com Revert "Merge GrContext::init into GrDirectContext ..."
2020-10-08 jvanverth@google.com Add push constant support to GrCaps.
2020-10-08 adlai@google.com Merge GrContext::init into GrDirectContext ...
2020-10-08 bsalomon@google.com Expose ManagedBackendTexture from BackendTextureImageFactory.
2020-10-08 kjlubick@google.com [canvaskit] Attempt to turn off rtti
2020-10-08 johnstiles@google.com Use SkSTArray to track CFG exits instead of std<set>.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC jvanverth@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md
2020-10-09 10:30:00 -07:00
Chris Bracken
919cb5634c Perform selection check in DeleteSelected (flutter/engine#21711)
At every call site for TextInputModel::DeleteSelected, we perform a
check for a collapsed selection. This moves that check into the method
itself.
2020-10-08 16:02:06 -07:00
skia-flutter-autoroll
51d3d099d4 Roll Fuchsia Linux SDK from ZJHmp3INU... to wrXNShr_8... (flutter/engine#21709) 2020-10-08 15:42:02 -07:00
Dan Field
73b959d7cb Forbid android.util.Log (flutter/engine#21696) 2020-10-08 14:52:05 -07:00
J-P Nurmi
232410d279 fl_method_response.cc: fix lint failures (flutter/engine#21406)
Fix lint issues caused by `google-readability-braces-around-statements`.
2020-10-08 14:47:07 -07:00
Hamdi Kahloun
5ee8b7c5ef SecurityException: Permission Denial (flutter/engine#21290)
Fix `java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider`

Fixes flutter/flutter#66108

Co-authored-by: Dan Field <dfield@gmail.com>
2020-10-08 14:36:51 -07:00
Mouad Debbar
ea26f366af [web] Reland Support custom url strategies (flutter/engine#21702) 2020-10-08 14:30:02 -07:00
skia-flutter-autoroll
8077fe017d Roll Skia from 9c0b79a35489 to e17b0501963a (15 revisions) (flutter/engine#21707) 2020-10-08 14:17:01 -07:00
Jason Simmons
b285a0fd74 Clear the Minikin layout cache during engine destruction (flutter/engine#21473) 2020-10-08 13:53:04 -07:00
nturgut
68e27dd17f chrome driver for chrome 86 (flutter/engine#21705) 2020-10-08 13:41:05 -07:00
Chinmay Garde
4cadaece76 Fix engine Xcode projection for newer versions of Xcode. (flutter/engine#21701) 2020-10-08 11:40:16 -07:00