4664 Commits

Author SHA1 Message Date
Chris Yang
426cd54590 reland "Migrate darwin common "framework_shared" target to ARC #37049" (flutter/engine#37219) 2022-11-02 16:31:56 +00:00
Nayuta403
472ca878cf Remove unused variable depth_ (flutter/engine#37109) 2022-11-02 02:32:08 +00:00
Kaushik Iska
b85721b43d [Impeller] Implement GPU Surface Vulkan for Impeller (flutter/engine#37215) 2022-11-01 21:48:17 +00:00
Dan Field
21cc000359 Revert "Reland layer state stack" (flutter/engine#37178) 2022-10-31 18:56:18 +00:00
Kaushik Iska
09e5bccbb1 [Impeller] Fix Vulkan compile failures on Android (flutter/engine#37171) 2022-10-31 16:28:05 +00:00
stuartmorgan
6013743aae Forward a11y events from Hybrid Composition overlays (flutter/engine#36924) 2022-10-31 13:54:14 +00:00
Casey Hillers
0aa4b50fe6 Revert "Use iOS 16 APIs to rotate orientation (#36874)" (flutter/engine#37165) 2022-10-31 04:50:06 +00:00
Jim Graham
df85a4f401 Reland layer state stack (flutter/engine#37135) 2022-10-30 18:30:22 +00:00
fzyzcjy
491f827ea8 Fix wrong VSYNC event (flutter/engine#36775) 2022-10-29 22:07:03 +00:00
Bruno Leroux
f6c5601c2f [Lixux] fix pressing Shift+AltLeft throws (flutter/engine#37079) 2022-10-29 03:51:57 +00:00
yaakovschectman
46aafe4a3f Revert "Announce alerts through SemanticsService on Windows (#36966)" (flutter/engine#37120)
This reverts commit 815bcad64a2c5b998229e1a404ae7dce89de1d6f.
2022-10-28 16:57:42 -04:00
Justin McCandless
a919fb99d3 Remove deprecated TextInputClient scribble method code (flutter/engine#36970) 2022-10-28 13:05:21 -07:00
Chris Yang
bdcc27632d Revert "Migrate darwin common "framework_shared" target to ARC (#37049)" (flutter/engine#37121) 2022-10-28 19:28:49 +00:00
Alex Wallen
cd25486f13 [macOS] Make the default background color black. (flutter/engine#36906) 2022-10-28 19:24:08 +00:00
chunhtai
a1c002128b Reland fixes Android text field to use hint text for accessibility (flutter/engine#37093) 2022-10-28 18:07:04 +00:00
Chris Yang
b7b95e9372 Reland "PlatformView partial blur #36015" (flutter/engine#37086) 2022-10-28 16:43:14 +00:00
Martin Kustermann
725ac26098 Remove usages of deprecated old native "<name>" syntax. (flutter/engine#37104)
The old native "<name>" syntax is being replaced with external functions that
have a @pragma("external-name", "<name>").

See https://github.com/dart-lang/sdk/issues/28791
2022-10-28 12:30:44 +02:00
Jim Graham
8ed073eb54 Revert layer state stack (flutter/engine#37090)
* Revert "Fix a clang-tidy warning in display_list_canvas_unittests.cc (#37062)"

This reverts commit 709c6735fc7ed34df36cee23805bdaa7f6969774.

* Revert "Create a mechanism to manage layer state (#36458)"

This reverts commit 501916deb19a8303ca2a3a9bb37692a873d4679e.
2022-10-27 15:29:58 -07:00
Shivesh Ganju
a7e49f6030 [fuchsia][scenic] Fix logical size in flatland platform view. (flutter/engine#37053)
This PR fixes a bug identified after DPR feature was added in flatland
where currently we do not multiple the logical size of the view by the
pixel ratio.

This change is getting tested in input tests like mouse-input-test,
touch-input-test
2022-10-27 17:46:19 -04:00
yaakovschectman
815bcad64a Announce alerts through SemanticsService on Windows (flutter/engine#36966)
* Pickup announcement messages

* Create files necessary for alert node

* Create skeleton of classes used

* Hold my progress

* Announcements get read :)

* Reads announcements

* Unit test alert node

* Linux tests

* PR

* Update shell/platform/windows/accessibility_root_node.h

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

* Add comment

* Expect call to wrapper

* Unit test announcement message

* Format

* Constants in fixture

* PR

* Update shell/platform/windows/accessibility_root_node.h

Co-authored-by: Chris Bracken <chris@bracken.jp>

* Update shell/platform/windows/accessibility_alert.h

Co-authored-by: Chris Bracken <chris@bracken.jp>

* Release a11y node if non null

* Reorder methods

* Remove TODO

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
Co-authored-by: Chris Bracken <chris@bracken.jp>
2022-10-27 17:02:15 -04:00
Kaushik Iska
1941c2ca48 [Impeller] Wire Flutter's own VulkanMemoryAllocator implementation (flutter/engine#37018) 2022-10-27 20:57:54 +00:00
Chris Yang
dd57551130 Migrate darwin common "framework_shared" target to ARC (flutter/engine#37049) 2022-10-27 20:28:13 +00:00
Gary Qian
b34da51ee8 Revert "Fixes Android text field to use hint text for accessibility (#36846)" (flutter/engine#37083)
This reverts commit 0a923d0c2429c7348fa7fe03459987c9338324f0.
2022-10-27 12:10:52 -07:00
Chris Yang
1806c34015 Revert "PlatformView partial blur" (flutter/engine#37085) 2022-10-27 18:15:14 +00:00
Chris Yang
d30087802c PlatformView partial blur (flutter/engine#36015) 2022-10-27 18:02:09 +00:00
Chris Yang
e836095f9b Macos re-enable TestSetMenu (flutter/engine#37058) 2022-10-27 17:36:02 +00:00
Loïc Sharma
ca9bbfe90c [Windows] Move to Visual Studio 2019 (flutter/engine#37013)
Use Visual Studio 2019 to build the engine.

This is a requirement to roll ANGLE as it is affected by an STL bug if built using Visual Studio 2017: [angleproject#7693](https://bugs.chromium.org/p/angleproject/issues/detail?id=7693)

Depends on: https://github.com/flutter/buildroot/pull/643

Part of: https://github.com/flutter/flutter/issues/110948
2022-10-26 14:56:52 -07:00
Jim Graham
501916deb1 Create a mechanism to manage layer state (flutter/engine#36458) 2022-10-26 21:43:10 +00:00
Zachary Anderson
ea8fb2e62a Removes FlutterMutatorViewTest.sendAccessibilityEvents (flutter/engine#37050)
This test is flaking on every run. Reverting to an older robolectric did not solve the issue.

Related https://github.com/flutter/flutter/issues/114036
2022-10-26 13:30:13 -07:00
chunhtai
0a923d0c24 Fixes Android text field to use hint text for accessibility (flutter/engine#36846) 2022-10-26 18:25:10 +00:00
Dan Field
98681213e6 Cleanup animator tracing (flutter/engine#36982) 2022-10-26 17:59:47 +00:00
Callum Moffat
0fcaba00f0 Scroll inertia cancel for Win32 (flutter/engine#34452) 2022-10-26 17:50:06 +00:00
Kevin Lubick
11bb611e7d Add necessary #includes for SkCodecAnimation.h (flutter/engine#37040) 2022-10-26 09:40:48 -07:00
Zachary Anderson
45e36b099c Revert "Re-landing Robolectric 4.8.1 (#34272)" (flutter/engine#37019)
This reverts commit ccc0b9e5cd1d9eff1ab4acc656605a21662c2c44.
2022-10-26 09:18:23 -07:00
gaaclarke
cb4c9f4727 Clang-tidy: made verbose print out commands and fixed quoting problem for warnings as errors (flutter/engine#37015) 2022-10-26 08:19:12 +00:00
gaaclarke
d47708e44a Fixed race in incorrect windows platform channel test. (flutter/engine#37012) 2022-10-25 20:49:20 +00:00
Shivesh Ganju
ccd247833e [fuchsia][scenic] Add input shield flag support in Flatland. (flutter/engine#36880)
This CL adds support for "intercept_all_input" flag in
flutter_runner_config for flatland.

Test: flutter-embedder-test
2022-10-25 15:34:00 -04:00
Wu Zhong
5c7bc4b473 [iOS] Add autorelease for window scene geometry preferences object (flutter/engine#36958) 2022-10-25 17:05:25 +00:00
Jason Simmons
2d961993e4 Update the language version used by Fuchsia's wrapper for the Dart args package (flutter/engine#36986) 2022-10-25 02:41:39 +00:00
Erik
5eb07a1f2f Update pubspec.yaml for parent-view and touch-input-view (flutter/engine#36974)
* Update pubspec.yaml for parent-view and touch-input-view

* Add changes for text-input-view
2022-10-24 15:57:26 -04:00
toneyzeng
811af8ef36 [android] Fix crash if decode .heic image in 32bit mode android app. (flutter/engine#36859)
* [android] Fix crash if decode .heic image in 32bit mode android app.

The type |long| is equal to int32_t in 32bit app, but int64_t in 64bit app.
The type |jlong| is always equal to int64_t.
CallStaticObjectMethod uses "J" to request a jlong type which needs 8 byte data but given |long| value which provides 4 byte data in 32bit mode will trigger java value error and at last a wrong pointer to AndroidImageGenerator object.

Change-Id: I38cc46adc45d8bf3e4eb35e6e904e58ee0682d97

* fix compile error

Change-Id: I7f9b089f7846b03c4b6f91f8cb9d141403e71483

* use reinterpret_cast<jlong> directly.

Change-Id: I493a3ecb7cfbf9dc61cd8e69f418635480d4bb6b
2022-10-24 12:47:50 -07:00
Justin McCandless
3778031526 Scribble method namespace (flutter/engine#36642)
Platform channel refactor with a yet-unmerged framework PR
2022-10-24 09:46:08 -07:00
utzcoz
11ee193e24 Remove duplicated _ from Android's test methods' name (flutter/engine#36944) 2022-10-24 16:20:10 +00:00
gaaclarke
844ab36b21 Turned "unnecessary value" and "move of const" lints to errors on mac (flutter/engine#36910) 2022-10-22 00:38:54 +00:00
Loïc Sharma
888a2fd9cd Prevent stack corruption when using C++ EventChannel (flutter/engine#36882) 2022-10-21 20:54:58 +00:00
Lau Ching Jun
669008c413 Add strong qualifier to dartEntrypointArguments. (flutter/engine#36929) 2022-10-21 20:10:17 +00:00
utzcoz
ccc0b9e5cd Re-landing Robolectric 4.8.1 (flutter/engine#34272) 2022-10-21 17:37:53 +00:00
gaaclarke
bb014a79ad Added integration test for platform channels on windows. (flutter/engine#36853) 2022-10-20 16:34:29 -07:00
Matej Knopp
54166ee36c [macOS] Fix mouse cursor being replaced by AppKit (flutter/engine#36283) 2022-10-20 20:13:11 +00:00
乖奕虎
62034dd478 Fix array == null error in AccessibilityBridge (flutter/engine#35540) 2022-10-20 20:10:23 +00:00