Maksim Lin
57fdf0a1fb
send newline char when input type is multiline ( #20660 )
2020-08-25 10:51:02 -07:00
William Wold
7a022774c2
Improve FlRenderer interface in preperation for Wayland on Linux ( #20006 )
2020-08-05 12:04:01 +12:00
Robert Ancell
ab23dc3a74
Update code style to pass clang-tidy checks
2020-08-05 10:35:03 +12:00
Robert Ancell
083282e33b
Fix Implments typo
2020-08-03 10:45:01 +12:00
Robert Ancell
8fbdd3f1bd
Fix parameter names
2020-08-03 10:44:20 +12:00
Siva
b955e15ee9
Manual roll of Dart from 24c7666def...40fd1c456e ( #20092 )
...
* Manual roll of Dart from 24c7666def...40fd1c456e
dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10
* Rev buildroot to latest version.
* Update license.
* update.
* Update gn revision.
* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -07:00
stuartmorgan
29f63349c8
Fix invalid selection handling in text plugins ( #19899 )
...
The Windows, Linux, and GLFW embeddings (which all share a common code
ancestry) pass TextInput.setEditingState selection base and extents
straight through to the shared text model class. The model expects those
values to be valid, but the framework sends -1/-1 for "invalid"
selections, which happen for some empty text cases (e.g.,
TextFieldController.clear()).
This translates those invalid selection values to an empty selection at
the start of the string, as expected by the model.
Fixes https://github.com/flutter/flutter/issues/59140
2020-07-27 11:00:02 -07:00
William Wold
4f647efd91
Change FlView::renderer from X11-specific to generic
2020-07-22 11:17:38 +12:00
William Wold
57b6d9e5c7
Call eglGetError() before other EGL calls that will wipe it
2020-07-22 11:17:38 +12:00
Tong Mu
fbef051f5c
Add all system cursors (engine) ( #19550 )
...
* Support all system cursors in WIn, Linux, mac, Web and Android.
2020-07-15 15:37:18 -07:00
Tong Mu
7a95e32fc5
Linux: Use a hash table to map cursors ( #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
f3ab78dc1f
Fix clipboard paste functionality not working ( #19489 )
2020-07-10 11:34:23 +12:00
Robert Ancell
160b268ef1
Set locale in Linux shell ( #19470 )
2020-07-10 11:16:50 +12:00
Robert Ancell
acd026ed3f
Use the X visual from the EGL configuration when making an FlView. ( #19438 )
2020-07-03 09:37:51 +12:00
Robert Ancell
480afb30ad
Show EGL configuration debugging when fail to create surface/context ( #19397 )
2020-07-02 09:35:00 +12:00
Robert Ancell
fcdc1dbc36
Replace GLFW key codes with native Flutter GTK support ( #19196 )
...
Fixes https://github.com/flutter/flutter/issues/57603
2020-06-26 13:56:18 +12:00
Robert Ancell
f267ef5837
Add a flag to enable dart:mirrors ( #19112 )
...
Fixes https://github.com/flutter/flutter/issues/59233
2020-06-26 11:17:15 +12:00
Robert Ancell
01e06ed3d9
Add support for headless mode ( #19038 )
2020-06-17 06:25:48 +12:00
Robert Ancell
9f898e98c2
Don't process key events when the text input is not requested ( #18990 )
2020-06-12 10:59:35 +12:00
Robert Ancell
4bd6aea07c
Always send key events, even if they're used for text input. ( #18991 )
2020-06-12 10:59:23 +12:00
Robert Ancell
87d8888048
Show warning if method response errors occur and error not handled. ( #18946 )
2020-06-12 09:11:36 +12:00
Robert Ancell
5ddc122f02
Fix inverted check in creating resource surface ( #18989 )
2020-06-12 09:09:06 +12:00
Robert Ancell
71fce02dd6
Fix shift-tab not working by adding more GTK->GLFW key mappings. ( #18988 )
2020-06-12 09:08:41 +12:00
Robert Ancell
ca26b7558e
Make Linux shell plugin constructor descriptions consistent ( #18940 )
2020-06-11 12:31:29 +12:00
Robert Ancell
b19a17d5d1
Implement an EGL resource context for the Linux shell. ( #18918 )
...
Fixes https://github.com/flutter/flutter/issues/54855
2020-06-11 12:31:06 +12:00
Robert Ancell
101e85491d
Add FlMouseCursorPlugin ( #18888 )
...
Fixes https://github.com/flutter/flutter/issues/57595
2020-06-10 14:16:42 +12:00
Robert Ancell
283cc2a536
Add FlPlatformPlugin ( #18316 )
...
Fixes https://github.com/flutter/flutter/issues/54857
2020-06-10 12:02:24 +12:00
Robert Ancell
6f5d92d241
Remove the input type and action from TextInputModel. ( #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
0c7f4c7a18
Log EGL errors ( #18917 )
2020-06-10 06:27:30 +12:00
Robert Ancell
db6793bca3
Use constant for error code ( #18913 )
2020-06-10 06:27:08 +12:00
Robert Ancell
91d520986e
Add scroll event support ( #18885 )
2020-06-09 12:20:06 +12:00
Robert Ancell
320e80552f
Update FlTextInputPlugin method handler style. ( #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
b0eee7675f
Support window scaling ( #18891 )
2020-06-09 11:08:42 +12:00
Robert Ancell
6fd3356715
Fix name of Flutter class in plugin docstrings ( #18889 )
2020-06-09 11:05:19 +12:00
Robert Ancell
dfdd88deb7
Support AOT mode in GTK shell ( #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
a25d851edf
Don't call engine when not initialized. ( #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
8d97830992
Fix braces style ( #18837 )
2020-06-05 13:26:54 +12:00
Robert Ancell
6e378cf669
Mark symbols that should be public ( #18802 )
2020-06-04 14:31:35 +12:00
stuartmorgan
a95882ba70
Don't export embedder API in desktop embeddings ( #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
cf0e272edd
Add missing standard codec alignment bytes ( #18724 )
2020-06-03 06:22:52 +12:00
Robert Ancell
1b4d958f98
Add braces around multi-line branches to match code style ( #18719 )
2020-06-03 06:22:24 +12:00
Robert Ancell
6589dcb2d4
Add missing full stops on the end of comments. ( #18634 )
2020-06-03 06:21:46 +12:00
Robert Ancell
24e1e8c8cd
Don't show warnings when removing handlers. ( #18633 )
...
These are removed in destructors.
2020-06-02 11:32:57 +12:00
Robert Ancell
e39301f23f
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #18638 )
2020-06-02 09:39:37 +12:00
Robert Ancell
8c8c7b06d0
Fix FlValue functions not marked for export ( #18641 )
2020-06-02 09:38:10 +12:00
Robert Ancell
c86dcac156
Revert "Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #18597 )"
...
This reverts commit a095cc23d8d5a539fd6179846875d7218c60bdff.
2020-05-28 13:32:26 +12:00
Robert Ancell
a095cc23d8
Add tests for FlBinaryMessenger, FlBasicMessageChannel, FlMethodChannel ( #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
2bd95d9a4c
Add FlTextInputPlugin ( #18314 )
...
* Add FlTextInputPlugin
2020-05-28 13:11:16 +12:00
Robert Ancell
63ed5b1bbd
Add FlPluginRegistry and FlPluginRegistrar ( #18453 )
...
* Add FlPluginRegistry and FlPluginRegistrar
2020-05-27 13:39:48 +12:00
Robert Ancell
79b136534a
Add GDestroyNotify callbacks on handlers ( #18546 )
2020-05-27 13:38:45 +12:00