Jason Simmons
7641bf1f5b
Add an allowlist flag for Skia trace event categories ( flutter/engine#25985 )
2021-05-13 07:54:02 -07:00
Chris Bracken
78d954d556
Revert "Sped up the objc standard message codec ( #25998 )" ( flutter/engine#26117 )
...
This appears to have triggered reproducible failures in channels_integration_test_ios:
[ +4 ms] 00:01 [32m+0[0m: channel suite step through[0m
[+3744 ms] Unsupported value: Sun Mar 11 07:16:42 2018 of type __NSTaggedDate
[ ] *** Assertion failure in void WriteValue(CFMutableDataRef, id)(), FlutterStandardCodec.mm:340
[ +2 ms] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec.'
[ ] *** First throw call stack:
[ ] (0x19d5bd9d8 0x1b1940b54 0x19d4cc50c 0x19e815238 0x1050031ec 0x104823f80 0x105003aac 0x1050009bc 0x104824e9c 0x105000b4c 0x104d0cc98 0x10501b398 0x104fb3c94 0x104fb72c4 0x19d53e3e0 0x19d53dfe4 0x19d53d4c4 0x19d537850 0x19d536ba0 0x1b429c598 0x19fe282f4 0x19fe2d874 0x1048257fc 0x19d215568)
[ ] libc++abi.dylib: terminating with uncaught exception of type NSException
[ +65 ms] Process 541 stopped
[ ] * thread #1 , queue = 'com.apple.main-thread', stop reason = signal SIGABRT
[ ] frame #0 : 0x00000001c93e584c libsystem_kernel.dylib`__pthread_kill + 8
[ ] libsystem_kernel.dylib`__pthread_kill:
[ ] -> 0x1c93e584c <+8>: b.lo 0x1c93e5868 ; <+36>
[ ] 0x1c93e5850 <+12>: stp x29, x30, [sp, #-0x10]!
[ ] 0x1c93e5854 <+16>: mov x29, sp
[ ] 0x1c93e5858 <+20>: bl 0x1c93c2f5c ; cerror_nocancel
[ ] Target 0: (Runner) stopped.
Example builds:
* https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20channels_integration_test_ios/828/overview
* https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20channels_integration_test_ios/829/overview
* https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20channels_integration_test_ios/830/overview
* https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20channels_integration_test_ios/831/overview
Example Log:
* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8847377106855056784/+/u/run_channels_integration_test_ios/stdout
This reverts commit 8fc40819e9f66337239aef143b72177a012f302a.
2021-05-12 22:43:43 -07:00
Chris Bracken
c364718981
Use a comma-separated args string for UWP ( flutter/engine#26110 )
...
UWP apps get a single arguments string on launch rather than an array.
The current implementation splits that args string on commas. This
updates the UWP launch args generation to match.
Part of https://github.com/flutter/flutter/issues/81756
Part of https://github.com/flutter/flutter/issues/82085
2021-05-12 17:11:11 -07:00
gaaclarke
46ccd1d5f3
Added exception if you try to reply with a non-direct ByteBuffer. ( flutter/engine#25952 )
2021-05-12 16:12:38 -07:00
Chris Bracken
2a789db343
Set exitcode to 0 on successful uwptool launch ( flutter/engine#26105 )
...
Also adds some user-friendly messages to stderr to aid with any
debugging, and emits the PID to stdout.
Part of https://github.com/flutter/flutter/issues/81756
2021-05-12 14:03:15 -07:00
Hrishikesh Kadam
578a22a54e
Update documentation for embedding SplashScreen ( flutter/engine#25943 )
2021-05-12 13:59:02 -07:00
gaaclarke
8fc40819e9
Sped up the objc standard message codec ( flutter/engine#25998 )
...
Sped up the StandardMessageCodec for iOS, tiny tweaks about 5% gain.
2021-05-12 10:45:36 -07:00
David Worsham
d77416d365
fuchsia: Fix first_layer handling ( flutter/engine#26085 )
2021-05-11 23:10:54 -07:00
Chris Bracken
82199aacc5
Add uwptool.exe ( flutter/engine#26038 )
...
uwptool is a helper tool used by the flutter command-line tool. It can
be thought of as analogous to adb for Android or libimobiledevice for
iOS.
Its core functions are:
* List installed apps. (included in this patch)
* Launch an app with a set of launch arguments. (included in this patch)
* Install an app (included in a later patch).
* Uninstall an app (included in a later patch).
Part of https://github.com/flutter/flutter/issues/81756
2021-05-11 15:01:24 -07:00
Kaushik Iska
415e234268
Unique frame number for each frame ( flutter/engine#26021 )
...
This gets created during vsync and stays for the
lifecycle of the frame.
2021-05-11 13:59:11 -07:00
Jason Simmons
9cc475c98c
Return a maximum nanoseconds value in FlutterDesktopEngineProcessMessages ( flutter/engine#26026 )
2021-05-10 13:29:01 -07:00
Mohit Kanwal
16fda154a3
Remove unused parameter. ( flutter/engine#25940 )
2021-05-10 13:19:01 -07:00
Chris Bracken
0b6166c139
Support windows registry access ( flutter/engine#26032 )
...
The Windows registry is structured as a hierarchy of named keys, each of
which may contain a set of named values of various datatypes.
RegistryKey objects own the underlying HKEY handle and ensure cleanup at
or prior to destruction.
This adds a RegistryKey class that does automatic resource management
for registry keys and provides convenience functions for accessing keys
and navigating the key hierarchy.
This is library code to be used in uwptool, which adds an adb-like
helper tool for install, uninstall, and launch of UWP applications for
Windows platforms.
See: https://github.com/flutter/flutter/issues/81756
2021-05-08 11:20:04 -07:00
Chris Bracken
83dcf51c7b
Use string_view inputs for conversion functions ( flutter/engine#26031 )
...
This offers a small improvement in performance in cases where the input
is a raw char* or wchar_t* string due to not having to perform an
implicit conversion to std::string/std::wstring.
Code cleanup covered by existing tests, which already use raw C strings.
2021-05-08 11:17:41 -07:00
Chris Bracken
4018a4f45b
Extract Windows string_conversion target ( flutter/engine#26029 )
...
String conversion between UTF-8 and UTF-16 encodings is useful even in
the absence of other common Windows functionality.
This is pre-factoring for uwptool, which adds an adb-like helper tool
for install, uninstall, and launch of UWP applications for Windows
platforms.
See: https://github.com/flutter/flutter/issues/81756
2021-05-07 23:12:27 -07:00
Felipe Archondo
155f71c9b0
[vsync_waiter] add AwaitVSyncForSecondaryCallback() ( flutter/engine#25787 )
2021-05-07 15:29:05 -04:00
Kaushik Iska
2fead370b3
Streamline frame timings recording ( flutter/engine#25892 )
2021-05-07 12:14:01 -07:00
David Worsham
1e82ae9b8e
fuchsia: Fix multi-views fallout ( flutter/engine#25984 )
2021-05-07 10:53:07 -07:00
Matej Knopp
5f6eb6479b
Implement smooth resizing for Linux ( flutter/engine#25884 )
2021-05-07 08:44:01 -07:00
gaaclarke
1734ce7f8a
Moved PlatformMessage's to unique_ptrs ( flutter/engine#25860 )
2021-05-06 20:19:01 -07:00
J-P Nurmi
4268ae8f75
[Linux] revise dark theme detection ( flutter/engine#25535 )
2021-05-06 20:14:01 -07:00
George Wright
65d744bcdf
Don't call release_proc when attempting to wrap an SkSurface which fails ( flutter/engine#25901 )
2021-05-03 16:42:51 -07:00
Tong Mu
0184cd3c70
[Win32] Don't redispatch ShiftRight keydown event ( flutter/engine#25882 )
...
Makes Win32 stop redispatching ShiftRight keydown event even if the framework does not handle it.
2021-05-03 15:33:02 -07:00
chunhtai
b80e0baf75
Fixes ios accessibility send focus request to an unfocusable node ( flutter/engine#25738 )
2021-05-03 13:39:01 -07:00
Dan Field
ce6f1f5fd0
Avoid calling Dart_HintFreed more than once every five seconds ( flutter/engine#25827 )
2021-05-03 12:19:01 -07:00
xster
7e60885377
Fix crash when both FlutterFragmentActivity and FlutterFragment are destroyed and recreated ( flutter/engine#25851 )
2021-05-03 09:35:45 -07:00
Dan Field
72f9b50bcd
deflake ( flutter/engine#25864 )
2021-04-30 21:11:03 -07:00
David Worsham
e5f652a8af
fuchsia: Reliably forward View insets ( flutter/engine#25381 )
2021-04-30 16:24:06 -07:00
Dan Field
b09dbac3d5
Remove flake inducing timeouts ( flutter/engine#25847 )
2021-04-30 14:51:38 -07:00
David Worsham
abc36a2363
fuchsia: Fix bad syntax in viewStateConnected msg ( flutter/engine#25853 )
2021-04-30 09:34:11 -07:00
Chris Bracken
21df8fb73a
Correct an inverted null pointer check ( flutter/engine#25828 )
...
In unmarkText, we want to prevent dereferencing _activeModel if it's
null.
2021-04-29 09:02:28 -07:00
David Worsham
8b52e92f15
fuchsia: Handle multiple views in platformViews path ( flutter/engine#25343 )
2021-04-28 23:57:30 -07:00
Kaushik Iska
30e0472687
Pause dart microtasks while UI thread is processing frame workloads ( flutter/engine#25789 )
2021-04-28 12:39:42 -07:00
George Wright
d489a6cb71
Add a stub implementation of FlutterMetalCompositor ( flutter/engine#25790 )
2021-04-27 15:06:21 -07:00
Jody Sankey
2b4b5aefbf
[fuchsia] Remove now unsed wrapper for zx_clock_get ( flutter/engine#25750 )
2021-04-27 12:24:02 -07:00
lucasradaelli
f80c0cbc2c
[fuchsia] Adds a singleton to access inspect root node. ( flutter/engine#25745 )
...
Bug: fxbug.dev/75281
2021-04-27 08:49:27 -07:00
xster
5233f959a5
Fix crash when FlutterFragmentActivity is recreated with an existing FlutterFragment ( flutter/engine#25770 )
2021-04-26 22:23:45 -07:00
chunhtai
5effcd39cd
fix AccessibilityBridgeMacDelegate to grab nswindow from appdelegate ( flutter/engine#25698 )
2021-04-26 17:19:02 -07:00
xster
5c59e9637d
Add more doc for how the plugin registration process works and how to customize it ( flutter/engine#25578 )
2021-04-26 17:14:01 -07:00
Matej Knopp
28aa47abd8
Fix accent popup position ( flutter/engine#25524 )
2021-04-26 17:09:05 -07:00
Jason Simmons
93c02ed46c
Do not use android_context after it is std::moved in the PlatformViewAndroid constructor ( flutter/engine#25757 )
2021-04-24 18:35:31 -07:00
George Wright
6978395603
Add Metal to the FlutterCompositor struct in the Embedder API ( flutter/engine#25612 )
2021-04-23 15:52:54 -07:00
Emmanuel Garcia
4842a3a52e
Fix accessibility of embedded views in Android 9 and below ( flutter/engine#25709 )
2021-04-23 11:16:09 -07:00
Dan Field
f8754257da
Refactor Android PlatformView constructors ( flutter/engine#25632 )
2021-04-22 15:13:55 -07:00
Jason Simmons
b9a23ff503
Return an empty canvas in the TesterExternalViewEmbedder ( flutter/engine#25708 )
...
The compositor expects the PaintContext's leaf_nodes_canvas to be non-null
2021-04-22 11:51:36 -07:00
Kaushik Iska
dc0fb6e4a7
Reland "TaskSources register tasks with MessageLoopTaskQueues dispatcher" ( flutter/engine#25692 )
2021-04-21 14:29:02 -07:00
Dan Field
ea35899927
Provide a stub platform view embedder for tester to avoid emitting errors ( flutter/engine#25661 )
2021-04-21 13:04:01 -07:00
Kaushik Iska
17e7c26da8
Revert TaskRunner changes to fix Fuchsia Test failures ( flutter/engine#25690 )
2021-04-21 09:15:24 -07:00
Kaushik Iska
0aaf693339
Start microtasks only in non-test envs ( flutter/engine#25653 )
2021-04-20 13:19:07 -07:00
Emmanuel Garcia
a8bee24681
TalkBack shouldn't announce platform views that aren't in the a11y tree ( flutter/engine#25666 )
2021-04-20 12:39:02 -07:00