hellohuanlin
37048bc2f9
Fixed a few typos in comments ( flutter/engine#33062 )
2022-05-02 18:59:04 -07:00
Kaushik Iska
964aa6106f
Revert "Skip LayerTree::Preroll LayerTree::Paint & Swapbuffer when frame_damage is empty ( #32351 )" ( flutter/engine#33058 )
...
This reverts commit 1dbe7a6cd5d7f9268daaffb97deacbed88c011b0.
2022-05-02 17:18:51 -04:00
Chris Bracken
9bf86f9b6a
Win: Remove WinRT headers, Windows SDK, cppwinrt ( flutter/engine#33030 )
...
WinRT was only ever used by the Windows UWP embedder since the main
Windows embedder supports compatibility with Windows 7 and WinRT
requires a Windows SDK target version of at least 10.0.17134.0 (Windows
10, version 1803).
When, at some point, we drop support for versions of Windows earlier
than Windows 10, we'll almost certainly want to resurrect this and start
using WinRT in the main Windows embedder.
The Windows UWP embedder was removed in:
https://github.com/flutter/engine/pull/33019
Issue: flutter/flutter#102172
2022-04-30 12:08:18 -07:00
Niklas Schulze
fa609bd3fa
Windows: Add Direct3D texture interoperability support ( flutter/engine#26840 )
2022-04-30 14:13:39 +02:00
Jaeheon Yi
bcf1a7774a
Convert Gfx PlatformView to use modern TouchSource API ( flutter/engine#32877 )
2022-04-29 22:09:04 -07:00
Chris Bracken
0a84242538
WinUWP: Remove WinUWP sources, targets ( flutter/engine#33019 )
...
This removes:
* The Windows UWP emebedder sources and targets
* UWP-specific build targets
* UWP-specific code behind WINUWP #ifdefs
* UWP-specific TODOs.
* uwptool.exe sources and targets used for installing, uninstalling, and
launching UWP apps.
This is a straight removal patch, and does not land any refactorings
made possible by removal of UWP support. Those patches will land in
followup refactorings.
Tool support was removed in:
https://github.com/flutter/flutter/pull/102174
The CI target was removed in:
https://github.com/flutter/engine/pull/33012
The Recipe was removed in:
https://flutter-review.googlesource.com/c/recipes/+/29500
GN build support was removed in:
https://github.com/flutter/engine/pull/33016
Issue: https://github.com/flutter/flutter/issues/102172
2022-04-29 18:39:36 -07:00
Callum Moffat
86baf448e2
Mac trackpad gestures ( flutter/engine#31593 )
...
* Mac trackpad gestures
* Address feedback and add test
* Address feedback
* Punctuation
* Follow member naming scheme
2022-04-29 12:44:23 -07:00
Chris Yang
f6ec59fccb
iOS: A11y only disable during app resigning to background when voice over on ( flutter/engine#32820 )
2022-04-29 10:39:04 -07:00
utzcoz
acfe2ab302
Use Robolectric's Config#qualifiers to set locale for tests ( flutter/engine#32984 )
2022-04-29 09:29:04 -07:00
moko256
efd03ad7ee
Windows: Add SettingsPlugin to add theme change support in win32 ( flutter/engine#29303 )
...
* Windows: Add SettingsPlugin to separate sending and watching
* remove OnColorValuesChanged
* remove functions and test to handle brightness change from top-level window message
* add settings plugin test
* add files to licenses
* fix license
* use std::optional
* treat error
* fix comment based on code review
2022-04-29 01:10:24 -07:00
Tong Mu
e6f56a53ff
[Linux] Make unit tests abort on critical errors, and fix two such errors ( flutter/engine#32348 )
2022-04-28 15:24:05 -07:00
Naud Ghebre
ea8342fc2b
[dart_test_runner] Adapt the dart runner to implement the suite fidl protocol so that it can be used in the v2 testing framework. ( flutter/engine#32751 )
2022-04-28 12:55:55 -07:00
LongCatIsLooong
61e0edc391
[iOS] Add UITextInteraction only when inputDelegate is nil ( flutter/engine#32881 )
2022-04-28 09:44:04 -07:00
Kaushik Iska
fe2ff918ca
Only call make gl context current if not already current ( flutter/engine#32967 )
2022-04-28 12:07:31 -04:00
Zachary Anderson
29c36d406e
Delete ShellTest::ResubmitFrame ( flutter/engine#32972 )
2022-04-27 16:39:03 -07:00
Emmanuel Garcia
327986ef9b
Fix SparseArray lookup in PlatformViewsController ( flutter/engine#32947 )
2022-04-27 10:19:02 -07:00
J-P Nurmi
ef3ff4212e
[Linux] add missing ATK_STATE_SENSITIVE flag ( flutter/engine#32487 )
...
Fixes : flutter/flutter#101500
2022-04-27 09:19:57 +12:00
Jason Simmons
d9de6d31cf
Disable the timeline in release mode on Android unless systrace is enabled ( flutter/engine#32909 )
2022-04-26 10:54:03 -07:00
J-P Nurmi
050055f52c
[Linux] fix and test light vs. dark theme detection ( flutter/engine#32618 )
2022-04-26 10:39:03 -07:00
Nayuta403
5f7d457e80
fix typo ( flutter/engine#32890 )
2022-04-24 21:24:04 -07:00
Jaeheon Yi
451c083982
[fuchsia] Remove spurious ERROR log ( flutter/engine#32870 )
2022-04-22 17:14:04 -07:00
lucasradaelli
58c3773f74
[fuchsia][a11y] Implements flow control for semantics. ( flutter/engine#32796 )
...
This change implements flow control mechanisms for the Accessibility
Bridge that communicates with the Fuchsia semantics services. This
ensures that Flutter acknowledges the pace in which the semantics
manager is consuming updates and only pushes more when they are ready to
be received.
This change avoids entirely touching on the problem of how to break
flutter semantic messages into batches that can fit in the FIDL
channels. This is left for a future change. All code that is related to
calculating size limits of FIDL messages is the same logic, only
changing location in the file.
Test: AccessibilityBridgeTest.BatchesLargeMessages
Bug: fxbug.dev/97596
2022-04-22 12:02:24 -07:00
Filip Filmar
34e4249037
[fuchsia] Rename the test component ime_service to text_manager ( flutter/engine#32824 )
...
This change is to reflect a rename that happened in the Fuchsia tree long ago,
and allows us to retire the name ime_service.
Issue: https://github.com/flutter/flutter/issues/102266
2022-04-21 16:32:56 -07:00
Dan Field
9e46531319
Remove redundant trace events ( flutter/engine#32812 )
2022-04-21 13:28:03 -07:00
Dan Field
1431755360
Roll impeller, add impellerc and tessellator_shared to host builds ( flutter/engine#32819 )
...
* Roll to c833f7de604f5c4298216494fb7b7ff378353601
2022-04-21 13:10:11 -07:00
Ethan Wong
1da38af2ce
[macOS] Fix IME input issue caused on FlutterTextInputPlugin dealloc. ( flutter/engine#31879 )
2022-04-21 11:54:03 -07:00
Tong Mu
d5820083a5
[Linux, Keyboard] Derive keyboard layout using printable information from system ( flutter/engine#32665 )
...
* Workable layout deduction
* Compilable test
* Tests
* Remove print, format
* Use new way to pass logical key
* Use unique_ptr
* Format
* Fix matrix format
* Format
* Cleanup
* Remove duplicate
* Remove printf
* Update shell/platform/linux/fl_keyboard_manager.cc
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2022-04-21 00:48:22 -07:00
Chris Bracken
a970f9766a
Minor unique_ptr initialization cleanup ( flutter/engine#32821 )
...
Cleans up a few cases of std::unique_ptr(new T) that could have been
using std::make_unique<T>(...).
2022-04-20 17:08:00 -07:00
William Wold
59fa2c79e1
Linux/GTK: Do not jump cursor to start on preedit change ( flutter/engine#32083 )
...
Fixes https://github.com/flutter/flutter/issues/97032
2022-04-20 10:34:03 -07:00
Greg Spencer
1be09fac9b
Add Menu.isPluginAvailable to allow query of whether menus are available on the platform. ( flutter/engine#32795 )
...
Added a "Menu.isPluginAvailable" call to allow the framework to query whether a plugin for creating platform menus is available on the current platform.
This will allow the framework MenuBar.adaptive constructor to determine, based on the availability on the platform of the plugin, whether or not to render platform menus. This replaces the old way, which was just to hard code which platforms support it (i.e. just macOS), but that won't work well if someone adds a plugin that supports a particular platform that isn't macOS.
2022-04-20 09:54:36 -07:00
Chris Bracken
770b55538c
[Win32] Eliminate use of OpenGL ES 3.1 symbols ( flutter/engine#32780 )
...
In ANGLE commit 232e523656fccfacabeb8e5ce0cbc2e6dcc1ec4e, an Open GL
extension API was removed from ANGLE which included several symbols that
are not available until OpenGL ES 3.2. This was removed since it had no
known users, and cut the number of entrypoints ANGLE exports in half,
saving 130kB on Android.
Of the removed symbols, the Windows embedder used two:
* GL_RGBA8, which is not OpenGL ES, but rather OpenGL, and can be
replaced with GL_RGBA which is lenient since it doesn't ask for a
specific size.
* GL_CLAMP_TO_EDGE, which can be replaced with GL_CLAMP_TO_BORDER.
https://open.gl/textures for details.
Issue: https://github.com/flutter/flutter/issues/102117
2022-04-19 10:43:05 -07:00
Alexander Biggs
acd3199196
[fuchsia] Switch FML_DLOGs -> FML_LOGs. ( flutter/engine#32760 )
2022-04-18 17:59:04 -07:00
utzcoz
b4ad6bd416
Migrate RuntimeEnvironment#sytemContext to ApplicatoinProvider#getApplicationContext ( flutter/engine#32725 )
2022-04-18 10:34:04 -07:00
moko256
15e077fa4b
Win32: fix window commits last char when deleting text with IME ( flutter/engine#32565 )
2022-04-15 11:09:05 -07:00
nt4f04uNd
c343fd5735
Fix nullability annotation in writeValue ( flutter/engine#32706 )
2022-04-15 11:04:05 -07:00
utzcoz
3e8a370191
Migrate RuntimeEnvironment#application to ApplicationProvider#getApplicationContext ( flutter/engine#32557 )
2022-04-14 13:29:05 -07:00
ColdPaleLight
e9f78111c6
Clean obsolete 'shared_resource_context' ( flutter/engine#32521 )
2022-04-14 13:24:05 -07:00
J-P Nurmi
1bfba47c48
[Linux] add MockSignalHandler for testing GObject signals ( flutter/engine#32650 )
2022-04-14 13:19:05 -07:00
J-P Nurmi
4248b9b708
[Linux] add (Fl)MockBinaryMessenger for GMock ( flutter/engine#32649 )
2022-04-14 13:14:05 -07:00
moko256
3716ca5423
On Windows, reduce spaces between caret and IME window. ( flutter/engine#32567 )
2022-04-14 12:39:54 -07:00
linxuebin
1dbe7a6cd5
Skip LayerTree::Preroll LayerTree::Paint & Swapbuffer when frame_damage is empty ( flutter/engine#32351 )
2022-04-13 20:59:04 -07:00
J-P Nurmi
0002a8f57c
[Linux] add GTest printer for FlValue ( flutter/engine#32652 )
...
Improves test failure messages when matching FlValue arguments.
For example, before:
Expected arg #2 : has setting ("platformBrightness", 0x32f0980)
Actual: 0x7f81ec005990, 0x32f0900
And after:
Expected arg #2 : has setting ("platformBrightness", dark)
Actual: 0x27bded0, {textScaleFactor: 0.0, alwaysUse24HourFormat: false, platformBrightness: light}
2022-04-14 10:52:51 +12:00
Kaushik Iska
d8e73006e0
Add service protocol method to facilitate getting snapshots ( flutter/engine#32628 )
2022-04-13 13:39:05 -07:00
Kevin Lubick
d42ba6c614
more includes ( flutter/engine#32532 )
2022-04-13 11:55:04 -07:00
Camille Simon
15bb1b5e86
Add missing window flags for styling system bars ( flutter/engine#32167 )
2022-04-13 09:44:04 -07:00
Jim Graham
bd89e4452a
Designated field initialization of Paint/PrerollContexts ( flutter/engine#32634 )
2022-04-12 20:59:05 -07:00
J-P Nurmi
f47c6428ec
[Linux] add missing AtkObject::get_index_in_parent implementation ( flutter/engine#32499 )
2022-04-12 20:44:05 -07:00
Tong Mu
fd61f28c45
[Linux, Keyboard] Extract KeyboardManager's external dependencies as ViewDelegate; Rework testing framework ( flutter/engine#32305 )
2022-04-12 14:19:04 -07:00
Kaushik Iska
172d0b24e5
Enable leaf layer tracing in PaintContext ( flutter/engine#32383 )
2022-04-11 18:24:04 -07:00
Dan Field
4101b52aca
Unify unhandled error reporting, add PlatformDispatcher.onError ( flutter/engine#32078 )
2022-04-09 14:44:04 -07:00