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
Jenn Magder
e8bcaed851
Use iOS 16 APIs to rotate orientation ( flutter/engine#36874 )
2022-10-20 17:34:22 +00:00
Erik
0e283234ab
Add test view for touch-input-test ( flutter/engine#36879 )
...
This PR adds a touch-input-view for use in the touch-input-test to validate touch input. The view will be attached to the test, and a touch event will be injected. The test asserts that a correct response is sent back from the view (the location of the touch as well as the name of the view).
2022-10-20 13:26:41 -04:00
Tanay Neotia
c9b8125719
Add support for image insertion on Android ( flutter/engine#35619 )
2022-10-20 14:58:30 +00:00
ColdPaleLight
388cb71ea2
[Impeller] Support external textures on iOS ( flutter/engine#36498 )
2022-10-19 21:49:17 +00:00
Sébastien Marchand
1d08f089d0
[fuchsia] Bump the Fuchsia target API level to 10 ( flutter/engine#36858 )
2022-10-19 13:40:37 -07:00
Jaeheon Yi
3d0562260f
[fuchsia][input] Delete legacy pointer handler ( flutter/engine#36857 )
2022-10-19 17:04:15 +00:00
Shivesh Ganju
19b7b0eb02
[fuchsia][scenic] Fix invalid viewRef error in pointer injection. ( flutter/engine#36850 )
...
This CL fixes the bug in pointer injector delegate where the viewRef is
incorrectly cloned in the flatland platform view, causing an invalid
viewRef to be passed in the Fidl request.
Test: flutter-embedder-test
2022-10-19 02:33:25 -04:00
Casey Hillers
5461f1a311
Stop using u8string which breaks in C++20 ( flutter/engine#36696 )
2022-10-18 16:04:05 +00:00
yaakovschectman
723551a5ee
Present tooltip to screen reader on Windows ( flutter/engine#36799 )
...
* Propagate tooltip property
* Append tooltip to name
* Formatting
* Fix unit tests
* Tooltip at end
* Tooltip
2022-10-17 16:57:11 -04:00
Dan Field
181a1728f1
Always use fml::TaskRunnerAffineWeakPtr for SnapshotDelegate ( flutter/engine#36772 )
2022-10-14 18:09:29 -07:00
stuartmorgan
5d6387fb32
Don't wrap Context for Android Hybrid Composition ( flutter/engine#36756 )
2022-10-14 20:58:06 +00:00
fzyzcjy
03e35d0c66
VsyncWaiter schedules unneeded extra AwaitVSync callbacks for one frame (flutter/engine#36406 )
2022-10-14 16:39:12 +00:00
sergiy-sc
64a8156560
[macos] expose runWithEngine constructor in FlutterViewController
...
Removing [engine setViewController:self]; because view is not loaded, but in that function controller is saved. Later, when the view is loaded (loadView) passed as an argument controller is checked against the saved controller and since they match, the nil view is not replaced with a new view.
Fixes : flutter/flutter#74735
2022-10-14 09:04:36 -04:00