William Wold
31b6df06b4
Call eglGetError() before other EGL calls that will wipe it
2020-07-22 11:17:38 +12:00
Tong Mu
78f0fc74d9
Add all system cursors (engine) ( flutter/engine#19550 )
...
* Support all system cursors in WIn, Linux, mac, Web and Android.
2020-07-15 15:37:18 -07:00
Tong Mu
a7cf911b7e
Linux: Use a hash table to map cursors ( flutter/engine#19561 )
...
Refactors the process of looking up system mouse cursor value, so that instead of a linear search it uses a hash table.
2020-07-13 13:32:13 -07:00
Robert Ancell
7dc1897fba
Fix clipboard paste functionality not working ( flutter/engine#19489 )
2020-07-10 11:34:23 +12:00
Robert Ancell
84ccba79fc
Set locale in Linux shell ( flutter/engine#19470 )
2020-07-10 11:16:50 +12:00
Robert Ancell
6d6143c30f
Use the X visual from the EGL configuration when making an FlView. ( flutter/engine#19438 )
2020-07-03 09:37:51 +12:00
Robert Ancell
4ffa68b795
Show EGL configuration debugging when fail to create surface/context ( flutter/engine#19397 )
2020-07-02 09:35:00 +12:00
Robert Ancell
caa886785c
Replace GLFW key codes with native Flutter GTK support ( flutter/engine#19196 )
...
Fixes https://github.com/flutter/flutter/issues/57603
2020-06-26 13:56:18 +12:00
Robert Ancell
7ec9448e36
Add a flag to enable dart:mirrors ( flutter/engine#19112 )
...
Fixes https://github.com/flutter/flutter/issues/59233
2020-06-26 11:17:15 +12:00
Robert Ancell
a5c408ddc7
Add support for headless mode ( flutter/engine#19038 )
2020-06-17 06:25:48 +12:00
Robert Ancell
33a7387343
Don't process key events when the text input is not requested ( flutter/engine#18990 )
2020-06-12 10:59:35 +12:00
Robert Ancell
b40cfe3f3b
Always send key events, even if they're used for text input. ( flutter/engine#18991 )
2020-06-12 10:59:23 +12:00
Robert Ancell
67fc8be0e6
Show warning if method response errors occur and error not handled. ( flutter/engine#18946 )
2020-06-12 09:11:36 +12:00
Robert Ancell
7c73569ad4
Fix inverted check in creating resource surface ( flutter/engine#18989 )
2020-06-12 09:09:06 +12:00
Robert Ancell
47ac7e715b
Fix shift-tab not working by adding more GTK->GLFW key mappings. ( flutter/engine#18988 )
2020-06-12 09:08:41 +12:00
Robert Ancell
0401a4ae9b
Make Linux shell plugin constructor descriptions consistent ( flutter/engine#18940 )
2020-06-11 12:31:29 +12:00
Robert Ancell
d302d26b65
Implement an EGL resource context for the Linux shell. ( flutter/engine#18918 )
...
Fixes https://github.com/flutter/flutter/issues/54855
2020-06-11 12:31:06 +12:00
Robert Ancell
72adbd8d27
Add FlMouseCursorPlugin ( flutter/engine#18888 )
...
Fixes https://github.com/flutter/flutter/issues/57595
2020-06-10 14:16:42 +12:00
Robert Ancell
86e7ef2334
Add FlPlatformPlugin ( flutter/engine#18316 )
...
Fixes https://github.com/flutter/flutter/issues/54857
2020-06-10 12:02:24 +12:00
Robert Ancell
cd9cb596eb
Remove the input type and action from TextInputModel. ( flutter/engine#18919 )
...
These aren't used by the model so are better managed outside of it.
2020-06-10 10:00:32 +12:00
Robert Ancell
9b27253467
Log EGL errors ( flutter/engine#18917 )
2020-06-10 06:27:30 +12:00
Robert Ancell
6e3b2964b4
Use constant for error code ( flutter/engine#18913 )
2020-06-10 06:27:08 +12:00
Robert Ancell
8e1257b945
Add scroll event support ( flutter/engine#18885 )
2020-06-09 12:20:06 +12:00
Robert Ancell
bfcabb8b66
Update FlTextInputPlugin method handler style. ( flutter/engine#18886 )
...
Match the style used in the external plugins and more carefully vet the incoming
arguments.
2020-06-09 11:36:00 +12:00
Robert Ancell
729744179c
Support window scaling ( flutter/engine#18891 )
2020-06-09 11:08:42 +12:00
Robert Ancell
9c0ac3ec0e
Fix name of Flutter class in plugin docstrings ( flutter/engine#18889 )
2020-06-09 11:05:19 +12:00
Robert Ancell
1a82a8bf32
Support AOT mode in GTK shell ( flutter/engine#18809 )
...
Simplify FlDartProject by removing the path arguments - we'll assume that it's
in the standard bundle layout and add new methods later if we need to support
other cases.
2020-06-08 13:18:52 +12:00
Robert Ancell
4ba8e1220f
Don't call engine when not initialized. ( flutter/engine#18810 )
...
This stops events and platform messages generating errors when the engine has
failed to initialize.
2020-06-05 13:27:56 +12:00
Robert Ancell
06eaeaeb82
Fix braces style ( flutter/engine#18837 )
2020-06-05 13:26:54 +12:00
Robert Ancell
f029e6f88c
Mark symbols that should be public ( flutter/engine#18802 )
2020-06-04 14:31:35 +12:00
stuartmorgan
35814367f6
Don't export embedder API in desktop embeddings ( flutter/engine#18735 )
...
The embedder.h API layer is an implementation detail of the desktop
embeddings, not part of the public API surface, so should not be part of
the public symbol list for those libraries.
2020-06-03 18:13:59 -07:00
Robert Ancell
f7a846ef8e
Add missing standard codec alignment bytes ( flutter/engine#18724 )
2020-06-03 06:22:52 +12:00
Robert Ancell
07ecd97754
Add braces around multi-line branches to match code style ( flutter/engine#18719 )
2020-06-03 06:22:24 +12:00
Robert Ancell
43de315eee
Add missing full stops on the end of comments. ( flutter/engine#18634 )
2020-06-03 06:21:46 +12:00
Robert Ancell
486f8e4886
Don't show warnings when removing handlers. ( flutter/engine#18633 )
...
These are removed in destructors.
2020-06-02 11:32:57 +12:00
Robert Ancell
29a0d55666
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( flutter/engine#18638 )
2020-06-02 09:39:37 +12:00
Robert Ancell
61f0b14f9c
Fix FlValue functions not marked for export ( flutter/engine#18641 )
2020-06-02 09:38:10 +12:00
Robert Ancell
567c770994
Revert "Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #18597 )"
...
This reverts commit 6b0417a1a19f69ec18c2176e3f5cde60aeb9b96d.
2020-05-28 13:32:26 +12:00
Robert Ancell
6b0417a1a1
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( flutter/engine#18597 )
...
* Add mock implementations of the Flutter embedding API and EGL
* Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel
2020-05-28 13:13:32 +12:00
Robert Ancell
72181d1083
Add FlTextInputPlugin ( flutter/engine#18314 )
...
* Add FlTextInputPlugin
2020-05-28 13:11:16 +12:00
Robert Ancell
75f15f3460
Add FlPluginRegistry and FlPluginRegistrar ( flutter/engine#18453 )
...
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
3eb418ab72
Add GDestroyNotify callbacks on handlers ( flutter/engine#18546 )
2020-05-27 13:38:45 +12:00
Robert Ancell
3aa7e03711
Show error details in method channel response error messages ( flutter/engine#18571 )
2020-05-27 09:17:55 +12:00
Robert Ancell
9698ed7d38
Fix wrong method name - copy/paste error from FlBinaryMessenger ( flutter/engine#18596 )
2020-05-27 09:17:16 +12:00
Robert Ancell
2a813f032e
Add fl_value_to_string ( flutter/engine#18540 )
2020-05-22 10:57:21 +12:00
Robert Ancell
5161b7eece
Add FlKeyEventPlugin ( flutter/engine#18313 )
2020-05-21 16:08:56 +12:00
Robert Ancell
a12454646d
Add FlMethodChannel, FlMethodCodec, FlStandardMethodCodec and FlJsonMethodCodec ( flutter/engine#18220 )
...
* Add FlMethodChannel, FlMethodCall, FlMethodResponse and FlMethodCodec
* Add FlJsonMethodCodec
* Add FlStandardMethodCodec
2020-05-21 12:53:15 +12:00
Robert Ancell
7b4840a4fc
Make FlBasicMessageChannelResponseHandle a GObject to detect unresponded and double responded messages. ( flutter/engine#18514 )
2020-05-21 11:15:56 +12:00
Robert Ancell
933fcc1048
Update comments for grammar and content to required style ( flutter/engine#18491 )
2020-05-20 09:14:28 +12:00
Robert Ancell
cc5f6eb779
Rename NULL tests to Nullptr for consistency ( flutter/engine#18359 )
2020-05-15 15:00:11 +12:00