19799 Commits

Author SHA1 Message Date
Kaushik Iska
279c1cffbe
[ios] Create a standalone external view embedder on iOS (#21798) 2020-10-13 17:56:31 -07:00
Emmanuel Garcia
9981026173
Allow TalkBack navigation while a platform view is rendered (#21719) 2020-10-13 17:52:02 -07:00
Zachary Anderson
0b72b87f16
Revert "Roll Fuchsia Linux SDK from gdo4mZ5oI... to 41fVbRhb0... (#21814)" (#21823)
This reverts commit 7959d80c10d586a71f2671febe877bfba3d2d014.
2020-10-13 16:35:14 -07:00
skia-flutter-autoroll
7959d80c10
Roll Fuchsia Linux SDK from gdo4mZ5oI... to 41fVbRhb0... (#21814) 2020-10-13 11:47:03 -07:00
skia-flutter-autoroll
d9bd3e87da
Roll Skia from 01b93eabe25b to 2e0c70dc9c3e (10 revisions) (#21810) 2020-10-13 10:27:02 -07:00
skia-flutter-autoroll
0793a8cf90
Roll Dart SDK from e256855d07ba to a3b62f366529 (4 revisions) (#21809) 2020-10-13 10:17:01 -07:00
skia-flutter-autoroll
dc4ba54e47
Roll Dart SDK from e256855d07ba to a3b62f366529 (4 revisions) (#21808) 2020-10-13 09:47:02 -07:00
Dan Field
6ba6d81295
Ocmock dylib (#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
0332d5e639
Roll Skia from fa8891164062 to 01b93eabe25b (4 revisions) (#21805) 2020-10-13 09:07:02 -07:00
Ferhat
d5c5a8ec61
[web] Fix Altgr keyboard crash (#21781)
* Fix AltGr modifier crash
* update integration test
2020-10-13 08:53:28 -07:00
skia-flutter-autoroll
30bad27f53
Roll Skia from c89a7ee628db to fa8891164062 (1 revision) (#21804) 2020-10-13 07:47:01 -07:00
skia-flutter-autoroll
a0076a7996
Roll Skia from 387fd62a1280 to c89a7ee628db (1 revision) (#21803) 2020-10-13 06:27:01 -07:00
skia-flutter-autoroll
d4fcfe68ca
Roll Skia from f58db3c94da3 to 387fd62a1280 (3 revisions) (#21801) 2020-10-13 00:22:01 -07:00
skia-flutter-autoroll
6cdb2f69a4
Roll Fuchsia Linux SDK from h-DeV4tgE... to gdo4mZ5oI... (#21797) 2020-10-12 22:27:01 -07:00
skia-flutter-autoroll
e4664bad9f
Roll Fuchsia Mac SDK from FFpTJfmj1... to 8Cb2zG9e3... (#21795) 2020-10-12 21:52:02 -07:00
skia-flutter-autoroll
a75f9e252c
Roll Skia from ab6e62c131e9 to f58db3c94da3 (6 revisions) (#21794) 2020-10-12 21:42:02 -07:00
Damian Wrobel
6634406889
Support Wayland only (without X11 support in gdk) (#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
d9a24814c5
Add workaround for missing fl_method_xxx_response_get_type() symbols (#21405) 2020-10-12 19:32:02 -07:00
Yuqian Li
c2938d06b1
Revert "Migration to PlatformDispatcher and multi-window #20496" (#21792)
* Revert "Fix documentation build for window changes. (#21780)"

This reverts commit 931a04683d6eb49fc92059b2384ac5b1618d5422.

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

This reverts commit 85b0031f73544e448354047dc6a236c0b0808252.
2020-10-12 19:26:41 -07:00
Chris Bracken
05d97932b3
Extract a TextRange class for selection (#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
d912d502d3
[null-safety] fix build rule to produce sound dill (#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
38d8ebaa46
E2e screenshot tests2 (#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
931a04683d
Fix documentation build for window changes. (#21780)
* Fix documentation build for window changes.

* Add missing interfaces for web_ui
2020-10-12 16:04:05 -07:00
skia-flutter-autoroll
e18cd96878
Roll Skia from 840e8ea7403e to ab6e62c131e9 (7 revisions) (#21783) 2020-10-12 16:02:02 -07:00
skia-flutter-autoroll
10ed563183
Roll Skia from 9213e610ed92 to 840e8ea7403e (11 revisions) (#21779) 2020-10-12 14:12:02 -07:00
Yuqian Li
190fd8eb51
Reland "Create root isolate asynchronously (#20142)" (#21747)
This reverts commit 5585ed99039efb3705025e1c58170cdb86af111b.

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
Zachary Anderson
106842989b
Roll Dart SDK from 06536d68ca0f to e256855d07ba (6 revisions) (#21775) 2020-10-12 11:32:21 -07:00
skia-flutter-autoroll
978cfd6d56
Roll Skia from ceb6214a556a to 9213e610ed92 (8 revisions) (#21774) 2020-10-12 11:32:02 -07:00
Zachary Anderson
fd1ba9ccf0
Ignore analysis warning for doc comment (#21773)
This is to unblock a Dart -> engine roll.
2020-10-12 10:08:27 -07:00
skia-flutter-autoroll
cff4ee74ac
Roll Skia from d71dc2d25b8b to ceb6214a556a (5 revisions) (#21772) 2020-10-12 09:32:02 -07:00
skia-flutter-autoroll
766d682824
Roll Fuchsia Linux SDK from Nw5-0_sVF... to h-DeV4tgE... (#21771) 2020-10-12 09:07:01 -07:00
LongCatIsLooong
f230fded75
Use buildroot clang for scenario app (#21690) 2020-10-12 08:12:02 -07:00
skia-flutter-autoroll
bd03014c2e
Roll Fuchsia Mac SDK from 82ankF-Ht... to FFpTJfmj1... (#21768) 2020-10-12 04:27:01 -07:00
skia-flutter-autoroll
910ce92e63
Roll Fuchsia Mac SDK from _0R2HD4c8... to 82ankF-Ht... (#21762) 2020-10-11 15:22:02 -07:00
skia-flutter-autoroll
d4b8d676fc
Roll Fuchsia Linux SDK from YRTc9YoiB... to Nw5-0_sVF... (#21760) 2020-10-11 11:07:01 -07:00
skia-flutter-autoroll
a3f3f989a7
Roll Fuchsia Mac SDK from gzhbqRUap... to _0R2HD4c8... (#21759) 2020-10-11 01:47:02 -07:00
skia-flutter-autoroll
7fc1a0386b
Roll Skia from aa64c352b349 to d71dc2d25b8b (1 revision) (#21758) 2020-10-11 00:47:02 -07:00
skia-flutter-autoroll
d97e74c7c2
Roll Fuchsia Linux SDK from EBX49sN_X... to YRTc9YoiB... (#21753) 2020-10-10 18:57:01 -07:00
skia-flutter-autoroll
7f0e17b676
Roll Skia from 13fc260c7080 to aa64c352b349 (1 revision) (#21752) 2020-10-10 18:52:01 -07:00
skia-flutter-autoroll
ca250c972f
Roll Fuchsia Mac SDK from lqn8xmlDn... to gzhbqRUap... (#21749) 2020-10-10 01:47:01 -07:00
skia-flutter-autoroll
3bd695b18a
Roll Skia from 61003cde7688 to 13fc260c7080 (1 revision) (#21746) 2020-10-09 20:02:02 -07:00
gaaclarke
a2046aeb6c
Revert "fix On iOS, dialog titles are announced twice (#19826)" (#21714) 2020-10-09 19:57:04 -07:00
skia-flutter-autoroll
8be6cc0390
Roll Skia from 88cda17bbeb8 to 61003cde7688 (4 revisions) (#21744) 2020-10-09 17:32:01 -07:00
Alexander Markov
0d151816c3
Remove uses of Dart VM bytecode mode from Flutter engine (#21741) 2020-10-09 16:34:08 -07:00
Greg Spencer
85b0031f73
Migration to PlatformDispatcher and multi-window (#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
11d756a62e
Add dart_entrypoint_argc/argv to the FlutterProjectArgs (#21737) 2020-10-09 16:17:02 -07:00
Ferhat
ec1d111171
[web] Add ShaderBuilder, change drawVertices to use builder. (#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
5aed0ee7f6
Roll Skia from 269e43fd9830 to 88cda17bbeb8 (3 revisions) (#21742) 2020-10-09 15:32:01 -07:00
Kaushik Iska
5c1960284a
Fix filesystem access prior to macOS 10.15 (#21740) 2020-10-09 13:42:01 -07:00
skia-flutter-autoroll
15ac210024
Roll Skia from 453f67ff0ade to 269e43fd9830 (11 revisions) (#21739) 2020-10-09 13:32:02 -07:00