3625 Commits

Author SHA1 Message Date
ColdPaleLight
198f96cd09 Ensure that unregisterTexture is called when forget to call SurfaceTextureEntry.release (flutter/engine#28304) 2021-08-30 19:11:01 -07:00
David Worsham
494a017b85 fuchsia: Fix renderer destructor (flutter/engine#28355) 2021-08-30 15:18:15 -07:00
Swift Kim
5ec8979721 Remove unnecessary code from the iOS embedder (flutter/engine#27472) 2021-08-30 15:11:02 -07:00
moko256
4836ff6b3c [UWP] Implement setting cursor icon. (flutter/engine#28098) 2021-08-26 17:15:46 -07:00
ColdPaleLight
bfce29ca8e Fix memory leak in FlutterSwitchSemanticsObject (flutter/engine#28065) 2021-08-26 13:21:01 -07:00
David Worsham
341a0f2f24 fuchsia: Improve FakeSession & add tests (flutter/engine#28139) 2021-08-26 13:16:02 -07:00
moko256
6239e74b25 [UWP] Add mouse button support (flutter/engine#28100) 2021-08-26 13:11:02 -07:00
Shax
07e2ce8fd9 Rename fl_get_length to fl_value_get_length (flutter/engine#27757) 2021-08-26 13:06:02 -07:00
Chris Bracken
8f87951759 Revert "Build dart:zircon and dart:zircon_ffi (#28071)" (flutter/engine#28313)
This reverts commit 1e9b7aed566105eec982ca0eb545139b218bc916.

Reverting in order to land revert of the gn script_executable from
python3 to vpython3, which is causing flakes on Windows.

Issue: https://github.com/flutter/flutter/issues/88719
2021-08-26 11:21:49 -07:00
Brandon DeRosier
3600461d13 Fix lint that shows up in manual builds (flutter/engine#28311) 2021-08-25 16:27:17 -07:00
Jason Simmons
a00125e2e4 Run the Android Robolectric tests using Gradle (flutter/engine#28084) 2021-08-25 09:11:02 -07:00
Justin McCandless
e00871d812 hasStrings on Windows (flutter/engine#27749) 2021-08-24 17:54:01 -07:00
Chris Bracken
c291ec55d6 Eliminate unnecessary null check in fixture (flutter/engine#28281)
The type of `PlatformDispatcher.instance.locales` is `List<Locale>`,
which precludes either null list or a null value in the list, for that
matter.
2021-08-24 12:25:07 -07:00
ColdPaleLight
2c71fa8e1b Fix memory leak in FlutterDarwinExternalTextureMetal (flutter/engine#28059) 2021-08-24 07:59:02 -07:00
Brandon DeRosier
54c9c08552 Fix flaky stack-use-after-scope in PushingMutlipleFramesSetsUpNewRecordingCanvasWith*CustomCompositor (flutter/engine#28266) 2021-08-23 23:26:58 -07:00
Chris Bracken
a858cceed8 Eliminate Android-specific Vulkan support (flutter/engine#28239)
This eliminates Vulkan support for Android. As of flutter/engine#27980
(684ad82) we are no longer running Android-Vulkan builds. This
eliminates the --enable-vulkan flag from tools/gn and any code that is
only reachable when that flag is enabled.

Note that after this patch, `shell_enable_vulkan` is always false,
however the //flutter/shell/gpu:gpu_surface_vulkan target and source
files remain since they are still used when `test_enable_vulkan` is
true, which is the case when `is_fuchsia` is true. Note that these files
are *not* built as part of a regular fuchsia build (see the
`shell_gpu_configuration` in //shell/platform/fuchsia/flutter/BUILD.gn),
but may be enabled once the Fuchsia embedder is migrated to the Embedder
API.

Also updates TODOs to dworsham, who is the committer who'll be
transitioning the Fuchsia embedder to the embedding API.
2021-08-23 13:59:43 -07:00
Matej Knopp
b48f5143ac Enable repeat for desktop embedder tests (flutter/engine#28253) 2021-08-23 09:07:02 -07:00
Matej Knopp
41f40a15ac macOS: Do not swap surface if nothing was painted (flutter/engine#28136) 2021-08-23 09:02:02 -07:00
eggfly
3506a0c03b Avoid deadlock while creating platform views with multiple engines. (flutter/engine#28224) 2021-08-23 08:57:02 -07:00
chunhtai
e3a3bd0b56 Makes empty scrollable not focusable in Talkback (flutter/engine#28229) 2021-08-20 15:27:01 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Kate Lovett
761409f61e Fix regression in system UI colors (flutter/engine#28206) 2021-08-19 20:42:02 -07:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
Brandon DeRosier
16829de462 Fix stack-buffer-overflow in linux value tests (flutter/engine#28204) 2021-08-19 13:51:24 -07:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Emmanuel Garcia
1a9e4c4ff3 Bump Android version and add more info to create_sdk_cipd_package.sh (flutter/engine#27413) 2021-08-18 18:22:02 -07:00
chunhtai
5c6f458df9 Makes scrollable to use main screen if the flutter view is not attached to a screen (flutter/engine#28110) 2021-08-18 16:47:01 -07:00
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -07:00
Emircan Uysaler
69070156ab fuchsia: Add scaffolding and basic implementation for flatland migration (flutter/engine#27423)
* fuchsia: Add scaffolding for flatland migration

* fuchsia: Add ViewProvider based view creation logic and basic present loop
2021-08-18 13:23:32 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Emmanuel Garcia
82bffc3762 Use Android linter from cmdline-tools (flutter/engine#28153) 2021-08-17 22:12:01 -07:00
Brandon DeRosier
d5eed6ce6e Fix some stack-use-after-scopes found by ASan (flutter/engine#28147)
Fixes for Embedder and RefCounted tests.
2021-08-17 15:23:36 -07:00
Tong Mu
3868bf03da Fix dead key handling on Win32 (again) (flutter/engine#28125)
- Fix dead character crashes the channel handler.
- Fix dead key messages are redispatched, making the message a regular character message.
2021-08-17 14:26:21 -07:00
chunhtai
8a404ecf51 Issues/79528 reland (flutter/engine#28117) 2021-08-16 15:22:02 -07:00
Kaushik Iska
2227552259 [fuchsia] [ffi] Basic support for Channels and Handles (flutter/engine#27849) 2021-08-16 12:57:01 -07:00
Kaushik Iska
1e9b7aed56 Build dart:zircon and dart:zircon_ffi (flutter/engine#28071) 2021-08-16 11:17:02 -07:00
Maurice Parrish
4997fc4556 Prevent leak of a closable render surface (flutter/engine#28000)
* try strict mode test

* formatting

* see if test is running

* formatting

* add and release a texture entry

* nullablity

* detect leaked closables

* remove unused methods

* try to finish activity and load FlutterTextureView

* add test

* revert files

* formatting

* hopefully undo

* add test to build

* fix compile errors

* fix variable name

* verify test is running

* assertEquals import

* add to test suite

* how did the package change?.

* formatting

* add release code in
2021-08-14 10:52:15 -07:00
Zachary Anderson
7467362829 Revert "Sets focus before sending a11y focus event in Android (#27992)" (flutter/engine#28092)
This reverts commit 9f8c3c6430ec2cd2c14909702a40c0ee26a65228.
2021-08-13 22:54:10 -07:00
Rich Kadel
51a5b01bad GN build rules for tests using Fuchsia SDK Dart libraries and bindings (flutter/engine#27996) 2021-08-13 08:52:01 -07:00
Tong Mu
1704906f59 Fix dead key crashes on Win32 (flutter/engine#28047)
This PR fixes the crash caused by pressing dead keys on Win32.
2021-08-13 01:35:58 -07:00
Niklas Schulze
f6977e39d8 Windows: Add multi-touch support (flutter/engine#27863) 2021-08-12 21:02:01 -07:00
chunhtai
9f8c3c6430 Sets focus before sending a11y focus event in Android (flutter/engine#27992) 2021-08-12 17:22:02 -07:00
Jason Simmons
c32c76cd83 Fix some warnings seen after the migration to JDK 11 (flutter/engine#28045) 2021-08-12 11:27:02 -07:00
David Worsham
fb64905b15 Revert '[fuchsia] Make dart_runner work with cfv2' (flutter/engine#28036) 2021-08-12 09:22:22 -07:00
Tong Mu
9d45378f6f Windows keyboard integration tests and fix a number of issues (flutter/engine#27921)
* Basic changes

* Fix build

* Revert some changes

* Fix tests (ATP)

* Win32Message and inject messagelist

* wm builders

* Format

* Correct

* LowerCaseAUnhandled

* ShiftLeftKeyA

* Ctrl-A

* Ctrl-1

* Digit1OnFrenchLayout

* AltGrKeyQ

* Dead key E

* ^1

* Multibyte

* Format

* License

* Revert key.dart

* Move CreateKeyEventLparam

* MockEmbedderApiForKeyboard

* More MockEmbedderApiForKeyboard

* Doc

* Move MockMessageQueue

* is_deadchar doesnt seem needed

* ConvertChar32ToUtf8

* PeekNextMessageType

* Format

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2021-08-11 14:47:03 -07:00
Emmanuel Garcia
604089b0fd Provide Open JDK 11 (flutter/engine#27942) 2021-08-11 12:34:11 -07:00
eggfly
517f61119f Avoid crashing when FlutterImageView is resized to zero dimension (flutter/engine#27946) 2021-08-09 19:25:01 -07:00
Brandon DeRosier
941f0a93cd Fix StandardMessageCodec test leaks (flutter/engine#27959) 2021-08-09 15:19:07 -07:00
Jenn Magder
693dd0381c Support iOS universal links route deep linking (flutter/engine#27874) 2021-08-09 14:35:11 -07:00