4529 Commits

Author SHA1 Message Date
Alexander Biggs
e852d55ed0 [fuchsia] Fix some typos in code blocks. (flutter/engine#35946)
The $s get copied by Github's copy commands, so I removed them.
But then I also forgot some $s on environment variables.
2022-09-06 10:37:14 -07:00
emilyabest
2fd7dde9c8 PlatformView Blur for Backdrop Filter (flutter/engine#34596) 2022-09-06 17:30:57 +00:00
Alexander Biggs
6b013d6113 [fuchsia] Add script for Fuchsia integration tests (flutter/engine#35933)
Tested: `run_integration_tests.sh embedder`
2022-09-06 10:19:55 -07:00
yaakovschectman
e2e7168850 Honor mixed state of tristate Checkbox in Semantics (flutter/engine#35868)
* Honor mixed state

* Add to unit test

* Add state enums

* Fix delimiter

* Add enums

* Scope subtests, rename enum

* Rename enums

* Comment specification

* Tidy up comments

* Rename java enum

* Trailing whitespace
2022-09-06 10:59:25 -04:00
Tamir Duberstein
2454647271 [fuchsia] Avoid naming fuchsia::io::NodeInfo (flutter/engine#35891)
The argument is unused and the type is being renamed in
https://fxrev.dev/719447.
2022-09-02 13:26:59 -07:00
gaaclarke
c9855ee31a Revert "Fixed the nullability annotation on codec writeValue: (#35814)" (flutter/engine#35888)
This reverts commit a21b3de5768746bf684cc872fc75ef1f884d0bac.
2022-09-02 10:42:50 -07:00
Gary Qian
a1a7c112dd Support basic back navigation in Android 13/API 33 (flutter/engine#35678) 2022-09-02 17:29:36 +00:00
ColdPaleLight
308e906cf5 [Android] Add the method 'Log.getStackTraceString' (flutter/engine#35884) 2022-09-02 16:09:14 +00:00
ColdPaleLight
e9ad8e2454 [Impeller] Implement ui.Picture.toImage() (flutter/engine#35633) 2022-09-01 22:59:41 +00:00
Callum Moffat
4713e320b5 Scroll inertia cancel for iPadOS (flutter/engine#34929) 2022-09-01 20:27:55 +00:00
gaaclarke
a21b3de576 Fixed the nullability annotation on codec writeValue: (flutter/engine#35814) 2022-09-01 09:03:33 -07:00
yaakovschectman
8e3c8bc88f Engine startup event timed after VM initializes (flutter/engine#35713)
* Engine startup event timed after VM initializes

* Formatting

* Update FlutterEngineMainEnter event comment

* Remove engine_start_time

* Remove unused variable
2022-08-31 10:48:44 -04:00
Michael Thomsen
2251f36799 Remove extract_far.dart (flutter/engine#35801) 2022-08-30 23:50:07 +02:00
Loïc Sharma
837d8f1736 Queue all semantic nodes & actions before completing batch (flutter/engine#35792) 2022-08-30 20:00:01 +00:00
Chris Yang
8e1a4eebed Add warning message when PlatformView's origin is not 0 (flutter/engine#35501) 2022-08-29 19:51:16 +00:00
Robert Ancell
42c4e6191f Fix wrong use of fl_method_call_respond arguments in documentation (flutter/engine#35247) 2022-08-29 09:48:08 -07:00
J-P Nurmi
6321cd7b64 [Linux][FlView] guard against disconnecting a disconnected signal (flutter/engine#35490)
GObject's dispose() method may be called multiple times. Guard against
trying to disconnect the same signal multiple times by clearing the ID
to avoid warnings when closing the window.

```
(bug:74019): GLib-GObject-WARNING **: 11:15:08.697: ../../../gobject/gsignal.c:2731: instance '0x55e1c3ea0200' has no handler with id '255'
```
2022-08-25 13:27:20 -07:00
yaakovschectman
ceb25d38d0 Detect high contrast mode on Windows (flutter/engine#35682)
* Recognize high contrast theme switch

* Trigger high contrast mode based on OS

* Confirm updated status and flag via unit test

* Remove null check, format

* Formatting

* More formatting

* Import order

* Refactor for PR

* Formatting

* Rename Update to Send

* Remove queued flags

* Add OnThemeChange unit test

* Format for linux_unopt

* Remove unneeded expect

* Test SendInitialAccessibilityFeatures

* Keep null check to embedder
2022-08-25 16:24:21 -04:00
Alexander Biggs
2b0b6b630f [fuchsia] Document found != flatland_views.end(). (flutter/engine#35607)
This crash has come up a number of times and we tend to
burn time looking in the wrong places for the fix. Documenting
some stuff about how we've fixed it previously in the error
message.
2022-08-24 16:00:39 -04:00
hangyu
81cf8b00d9 Support BoldText for a11y in android (flutter/engine#35589)
* Update AccessibilityBridge.java

* Add test

* lint

* lint

* Add TargetApi

* Add comment

* Update constant
2022-08-24 20:19:55 +08:00
Jonah Williams
27b4f29d7e Include TextureLayer in contents of toImageSync (flutter/engine#35608) 2022-08-23 02:16:06 +00:00
yaakovschectman
53c321a3e3 Include checkbox in check state update (flutter/engine#35557)
* Include checkbox in check state update

* Windows test for checkbox native state

* Reformat to appease linux_unopt test

* More format hoops

* Update accessibility_bridge_unittests.cc

* Update flutter_windows_view_unittests.cc
2022-08-22 16:01:02 -04:00
Zachary Anderson
0969d4c4a1 Adjust rules for analyze_snapshot (flutter/engine#35585) 2022-08-22 11:26:22 -07:00
Casey Hillers
1c20221e24 Revert "Include TextureViews in the output of Scene.toImage[Sync]" (flutter/engine#35587) 2022-08-22 10:26:09 +00:00
godofredoc
be9ba9f07f MacOS framework was simplified to remove an internal zip. (flutter/engine#35563) 2022-08-20 05:30:19 +00:00
Chris Bracken
e8b5dd908e [Windows] Set Platform.executable on engine start (flutter/engine#35560)
When setting FlutterProjectArgs.command_line_argv prior to launching the
engine, we were previously setting a placeholder value rather than the
executable name. This resulted in Platform.executable (from dart:io)
returning "placeholder" in application code.

This updates the Windows implementation for consistency with macOS and
guarantees that Platform.executable will return a reasonable value in
Dart code.

Note that this does not affect Platform.resolvedExecutable, which returns
a full, resolved path, and is implemented in the Dart runtime itself.
Previously the code:

   print(Platform.executable);
   print(Platform.resolvedExecutable);

resulted in the following output on Windows:

   flutter: placeholder
   flutter: C:\path\to\project\build\windows\runner\Debug\project.exe

after this patch, it results in:

   flutter: project.exe
   flutter: C:\path\to\project\build\windows\runner\Debug\project.exe

Issue: https://github.com/flutter/flutter/issues/83921
2022-08-20 02:38:49 +01:00
David Worsham
b0d80cc091 [fuchsia] Migrate integration test to CFv2 (flutter/engine#35318) 2022-08-19 17:58:53 -07:00
Jonah Williams
ed952f4503 Include TextureViews in the output of Scene.toImage[Sync] (flutter/engine#35527)
Update Picture rasterization for toImage to accept a layer tree, optionally flattening on the raster thread if present.
Update Deferred GPU image for toImageSync to accept a layer tree, flattening it the first time it creates an image, storing the resulting display list.

This is also a performance fix for the zoom page transition, which currently does too much work on the UI thread on frame 1
2022-08-19 16:28:30 -07:00
chunhtai
1a38d2e54b Updates accessible_navigation trigger in Android (flutter/engine#35478)
* Updates accessible_navigation trigger in Android

* update doc comments

* comment

* addressing comment
2022-08-19 13:54:47 -07:00
Kaushik Iska
7cdcb0f837 Do not override partial repaint support globally (flutter/engine#35539) 2022-08-19 18:41:46 +00:00
Zachary Anderson
407fb9e192 Revert "Pushing BackdropFilter Mutator (#34355)" (flutter/engine#35543)
This reverts commit ab6376ac20f0ab557b5d4737a8b61f20716b8e85.
2022-08-19 10:01:01 -07:00
gaaclarke
8e8b3912a0 Backfilled unit tests for IncomingMessageDispatcher. (flutter/engine#35139)
* Backfilled unit tests for IncomingMessageDispatcher.

* added license golden
2022-08-18 17:30:34 -07:00
Gary Qian
b30aeada6d Upgrade Android SDK to 33 Tiramisu (flutter/engine#35415) 2022-08-19 00:26:52 +00:00
WenJingRui
d36bf1d5e3 [iOS] Avoid keyboard animation junk and laggy on Promotion devices. (flutter/engine#34871) 2022-08-18 22:26:00 +00:00
simonla
1711a00c0d Avoid object creation during each frame (flutter/engine#35343) 2022-08-18 18:45:47 +00:00
xiaomiao
d490b4edae Move task running to UI thread for loadDartDefferredLibrary. (flutter/engine#35460) 2022-08-18 16:43:24 +00:00
Loïc Sharma
5da65cec98 [Windows] Don't crash if GetPointerType is unsupported (flutter/engine#35442) 2022-08-17 21:50:46 +00:00
Jenn Magder
b2529fd20a Prevent leaking inputViews between iOS unit tests (flutter/engine#35450) 2022-08-17 18:15:05 +00:00
Jason Simmons
9e3d202f48 Null check for the activity intent in FlutterEngineConnectionRegistry.attachToActivityInternal (flutter/engine#35419) 2022-08-16 14:58:05 +00:00
Jim Graham
5f9579eae8 Display list multiplexer (flutter/engine#35421) 2022-08-16 05:34:52 +00:00
Loïc Sharma
8f877e0315 [Windows] Add callback for when the next frame is drawn (flutter/engine#35408) 2022-08-15 23:17:04 +00:00
Jaeheon Yi
e8f7bc4f7d [fuchsia] Adjust FakeFocuser inheritance (flutter/engine#35413) 2022-08-15 15:56:27 -07:00
Chinmay Garde
88bf841fa6 Fix race in PushingMutlipleFramesSetsUpNewRecordingCanvas. (flutter/engine#35412) 2022-08-15 21:28:30 +00:00
harbor
814bd40d90 Fix PlatformView multiple pointer crash caused by toMotionEvent (flutter/engine#34182) 2022-08-15 12:05:26 +00:00
Chris Bracken
491db72a66 [Windows] Migrate error logging to FML_LOG (flutter/engine#35367)
Migrates error logging from logging directly to stderr to using the
FML_LOG macro with a specified log level.

No additional tests since there is no semantic change to the logging
(FML_LOG simply writes to stderr).
2022-08-12 22:19:39 -07:00
Bernardo Eilert Trevisan
d9da8e0d2e Enable dirty region management within the Embedder API (flutter/engine#35022) 2022-08-12 10:52:54 -07:00
Chris Bracken
c9a4689faf [Windows] Support native functions in test fixtures (flutter/engine#35357)
Adds the ability to register native functions for use in test fixtures.
This allows registering native C++ functions that can be invoked from
Dart code to perform the following common actions:

* Signal a waiting latch in the C++ part of the test.
* Pass data back to the C++ part of the test.
* Allow the C++ part of the test to pass data to the test.

Fixes: https://github.com/flutter/flutter/issues/109242
Fixes: https://github.com/flutter/flutter/issues/87299
2022-08-12 01:17:38 +01:00
Chris Bracken
0daf9e6c85 Add doc comments to WindowsTestContext (flutter/engine#35350)
Adds missing doc comments to WindowsTestContext.

Issue: https://github.com/flutter/flutter/issues/87299
2022-08-11 14:04:31 -07:00
Javon Thomas
ab6376ac20 Pushing BackdropFilter Mutator (flutter/engine#34355) 2022-08-10 21:36:39 +00:00
Shivesh Ganju
0f4214ccfd [fuchsia][scenic] Reset the state of a PointerInjectorEndpoint on (flutter/engine#35241)
channel closure.

This CL resets the state including cleaning up the buffers whenever
a fuchsia.ui.pointerinjector.Device channel closes due to some error.

Test: flutter_runner_tests
2022-08-10 16:43:59 -04:00