4553 Commits

Author SHA1 Message Date
Ben Bergkamp
c3db8d1dc8 Enable dart null-safety (flutter/engine#36154) 2022-09-15 14:32:59 -05:00
Emircan Uysaler
b0c1e2aca2 [fuchsia] Use the newly added viewinset field (flutter/engine#35974) 2022-09-14 16:45:59 -04:00
Camille Simon
5439d57c7b Hook iOS FlutterSpellCheckPlugin to Framework (flutter/engine#35742) 2022-09-14 18:55:09 +00:00
Bruno Leroux
2342279c09 [Android] Fix a crash related to zeroed scanCode (flutter/engine#35924) 2022-09-14 07:12:04 +00:00
Alexander Biggs
a9dd7de3d4 [fuchsia] Remove Dart CF v1 runner. (flutter/engine#36029) 2022-09-13 21:58:44 +00:00
Jia Hao
c626fcbe65 Revert "Avoid vsync scheduling delay" (flutter/engine#36091) 2022-09-13 11:10:36 +00:00
gaaclarke
77d178e919 Started handling messages from background isolates for Android (flutter/engine#35804) 2022-09-13 01:43:22 +00:00
stuartmorgan
3eb6e7f4c3 Allow Hybrid Composition fallback for Android platform views (flutter/engine#35233) 2022-09-12 16:23:49 +00:00
Gary Qian
218fb443b9 Reland "Support basic back navigation in Android 13/API 33 #35678" (flutter/engine#36051) 2022-09-12 15:52:05 +00:00
Niklas Schulze
9501668cf3 Windows: Cleanup: Eliminate ExternalTexturePixelBufferState (flutter/engine#36074) 2022-09-10 21:08:22 +00:00
Jason Simmons
6e87e08277 Populate dart_library_sources_kernel in the embedder library in JIT mode (flutter/engine#36059) 2022-09-10 00:20:02 +00:00
LongCatIsLooong
d50e7db44b [macOS] Fix text input plugin editable transform (flutter/engine#35979) 2022-09-09 19:33:56 +00:00
Niklas Schulze
c579e02c31 Windows: Texture Registrar: Destroy textures on raster thread (flutter/engine#33688) 2022-09-09 16:22:40 +02:00
stuartmorgan
d49e749f10 Remove context assertion from Android platform views using Virtual Display (flutter/engine#35997) 2022-09-09 11:40:30 +00:00
Niklas Schulze
b83034aa90 Windows: Client wrapper: Support querying the graphics adapter chosen by ANGLE (flutter/engine#29294) 2022-09-09 10:38:20 +02:00
Nayuta403
603e316036 Surface will be created again after the front and back switches (flutter/engine#35767) 2022-09-09 07:28:11 +00:00
Dan Field
08312a825e Lint and fix bugprone-use-after-move violations (flutter/engine#35978) 2022-09-09 02:41:03 +00:00
Casey Hillers
ca247a24c8 Revert "Support basic back navigation in Android 13/API 33" (flutter/engine#36001) 2022-09-09 01:11:55 +00:00
gaaclarke
42c469183e Started handling messages from background isolates for iOS (flutter/engine#35174) 2022-09-08 00:03:27 +00:00
Dan Field
4f14c3d127 Use the frame size to cull (flutter/engine#35973) 2022-09-07 23:18:10 +00:00
luckysmg
f1878b0f90 [iOS] Avoid jitter and laggy when user is dragging on iOS Promotion devices (flutter/engine#35592) 2022-09-07 22:36:21 +00:00
Loïc Sharma
0c2a1361e6 Remove noisy log from startup (flutter/engine#35954) 2022-09-07 21:18:22 +00:00
moko256
fc23f4971c [Windows] Fix system theme integration. (flutter/engine#35902)
The #35019 didn't merge SettingsPluginWin32's constructor and destructor. This PR adds them and fix SettingsPlugin to re-enable it to watch the theme changes.

This PR is part of flutter/flutter#110700.

No changes in the flutter/tests repo.
2022-09-07 12:27:12 -07:00
Alexander Biggs
aece90bdaa [fuchsia] Port text-input-test, part 1. (flutter/engine#35957)
Part 1 sets up the test to run but the UI has not been
ported yet so the test hangs.

This is mostly a straight port from
https://cs.opensource.google/fuchsia/fuchsia/+/main:src/ui/tests/integration_input_tests/text-input/

There were some nuances:

- Some FIDL APIs are not available in the SDK and have to be
  referenced by name instead (vulkan.Loader, scheduler.ProfileProvider).
- Some subtle differences between the GN rules in fuchsia.git
  vs. engine (e.g. fuchsia_component doesn't append .cm by default to
  CFv2 output).
- Moved shared logic from embedder test into a utils/ folder to
  facilitate writing new tests in the future.

Part 2 will port over the UI to dart:ui.
2022-09-07 11:57:12 -07:00
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