331 Commits

Author SHA1 Message Date
Michael Goderbauer
5a862ebecd
Replace dynamic with Object? in SystemChannels (#94629) 2021-12-03 15:34:04 -08:00
Tong Mu
37005e8f40
RawKeyboard synthesizes key pressing state for modifier (#93897) 2021-11-19 15:53:03 -08:00
Simon Binder
02cfbc320e
Improve error message for uninitialized channel (#92758) 2021-11-10 14:46:32 -08:00
LongCatIsLooong
ffcd32ebb6
Move text editing Actions to EditableTextState (#90684) 2021-11-03 11:11:32 -07:00
Tong Mu
5f4ac10d16
Report exceptions from key event handlers and listeners (#91792)
This PR ensures that all 3 ways of handling key events are wrapped with exception handling logic, so that user exceptions do not cause unstable states and are correctly reported.
2021-10-20 12:08:24 -07:00
Kaushik Iska
461a316388
Roll Engine from 8034050e7810 to 60d0fdfa2232 (18 revisions) (#91907) 2021-10-15 11:21:32 -07:00
Ian Hickson
299d484903
Enable more lints (#91642) 2021-10-14 22:03:03 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)
This reverts commit 5fd259be244244e14ff87fee9b6a721625f952cd.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint (#91409) 2021-10-07 20:13:02 -07:00
Ian Hickson
f25b833f27
Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
Kate Lovett
0a3ae08150
Update SystemUIOverlayStyle to support null contrast enforcement (#91396) 2021-10-07 15:48:02 -07:00
Mouad Debbar
c2ea78d231
Revert "Enable avoid_print lint. (#91332)" (#91438)
This reverts commit cb378edc9e8dbcb451cc6e969161032cc08da52a.
2021-10-07 16:16:17 -04:00
Ian Hickson
cb378edc9e
Enable avoid_print lint. (#91332) 2021-10-07 09:53:03 -07:00
Dan Field
5112f86c94
Clear asset manager caches on memory pressure (#91353) 2021-10-06 10:18:02 -07:00
Kate Lovett
778876597a
Remove AndroidViewController.id deprecation (#90294) 2021-10-01 09:03:02 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters (#91067) 2021-10-01 00:58:05 -07:00
LongCatIsLooong
7684f8b7c5
Reland "Make FilteringTextInputFormatter's filtering Selection/Composing Region agnostic" #89327 (#90211) 2021-09-28 16:48:06 -07:00
Renzo Olivares
4b330ddbed
Create DeltaTextInputClient (#90205)
* Create DeltaTextInputClient

* Remove old tests as updateEditingValueWithDeltas is no longer implemented

* fix analyzer

* Update docs

* Make example more general

* Update docs

* Add assert to check that TextInputClient is a DeltaTextInputClient

* Update assert

* More docs

* update

* Clean up docs

* updates

* Update docs

* updates

* Fix test

* add test

* updates

* remove logs

* fix tests

* Address reviewer comments

* Add text_input_utils.dart

* Address reviewer comments
2021-09-16 17:29:58 -07:00
Renzo Olivares
bf66cc2e08
Framework can receive TextEditingDeltas from engine (#88477) 2021-09-15 18:27:04 -07:00
LongCatIsLooong
5d9afaa0f7
Revert "Make FilteringTextInputFormatter's filtering Selection/Composing Region agnostic (#89327)" (#90089) 2021-09-15 04:27:04 -07:00
LongCatIsLooong
0b1832ba60
Make FilteringTextInputFormatter's filtering Selection/Composing Region agnostic (#89327) 2021-09-10 21:47:04 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos (#89485) 2021-09-07 14:56:04 -07:00
LongCatIsLooong
33755f203d
[autofill] opt-out instead of opt-in (#86312) 2021-09-05 13:16:01 -07:00
Tong Mu
4771605c39
Fix KeyboardManager's synthesization (#88967)
This PR fixes KeyboardManager's key event synthesization logic, which were dispatching events with incorrect keys, making subsequent key events crash the app.
2021-08-29 17:26:49 -07:00
Kate Lovett
426121c4f1
Add no-shuffle tag (#88989) 2021-08-26 14:19:59 -05:00
creativecreatorormaybenot
38186c8971
Add WidgetsFlutterBinding Assertion to setMethodCallHandler (#88819) 2021-08-24 17:04:03 -07:00
Alexander Dahlberg
02bb8a4355
Fixed leak and removed no-shuffle tag in platform_channel_test.dart (#88432)
Co-authored-by: Alexander Dahlberg <alexander.dahlberg@sigma.se>

This PR fixed the problem that prevented platform_channel_test.dart being shuffled. Part of #85160.

A couple of tests sets up callbacks through setMethodCallHandler() that gets unresolved and breaks other tests.

This PR clears those callbacks by passing null to setMethodCallHandler.
2021-08-23 15:32:44 -07:00
LongCatIsLooong
c49eba6c3f
[TextInput] minor fixes (#87973) 2021-08-16 12:12:04 -07:00
Darren Austin
7d76a827c0
Updated skipped tests for services directory. (#87874) 2021-08-09 15:21:17 -07:00
chunhtai
c38feb3b33
Router replaces browser history entry if state changes (#83509) 2021-08-04 15:30:04 -07:00
Tong Mu
c5573ea3d8
[Keyboard] Accept empty events (#87152) 2021-07-29 19:19:04 -07:00
Tong Mu
a7899c1961
[gen_keycodes] Remove nonexistent Web keys and improve their emulation (#87098) 2021-07-29 16:44:06 -07:00
Tong Mu
caf876cf40
Reland: Keyboard events (#87174) 2021-07-29 14:24:03 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events (#83752)" (#87171)
This reverts commit 5f792ba17088b356bf0d030844ab09fd7f2b812e.
2021-07-28 02:32:08 -07:00
Greg Spencer
738ce43d97
Randomize tests, exclude tests that fail with randomization. (#86793)
* Randomize tests, exclude tests that fail with randomization.

* Disable some more tool tests
2021-07-26 23:40:49 -07:00
Tong Mu
781c3599de
RawKeyEventData classes support diagnostic and equality (#86679)
This PR changes RawKeyEventData so that they use Diagnosticable to construct toString, and use operator== and hashCode to compare.
2021-07-26 16:19:58 -07:00
Tong Mu
5f792ba170
Keyboard events (#83752) 2021-07-26 12:28:05 -07:00
Jeff Ward
841beff520
Support Float32Lists in StandardMessageCodec (#72613) (#83318) 2021-07-20 14:31:07 -07:00
Ren You
3dea9f0251
Revert "Clean up the bindings APIs (#86438)" (#86484)
This reverts commit d056500bfe6a712cdace450d06c4a8fb2290e63a.
2021-07-15 09:29:16 -07:00
Ian Hickson
d056500bfe
Clean up the bindings APIs (#86438) 2021-07-14 14:41:24 -07:00
Tong Mu
c8d0b1d9db
New scheme for keyboard logical key ID (#85121)
This PR updates the ID used by logical keyboard keys.

The logical key ID is still composed of 2 parts: 32 bits of value, and 8 bits of plane. But the assignment of planes has been drastically changed. HID plane is removed, and unprintable plane and Flutter plane are added. This is to reflect the new generation method for logical key IDs. Now keys that are defined by Flutter but not by dom_key_data are placed into the Flutter plane, including numpad keys, sided modifier keys, and gamepad keys. The values for platform planes have also been adjusted.

The generation script and README have been updated accordingly as well.

A new file, test_utils/key_codes.h is now generated to assist engine unit testing.

All lists generated by the script are now sorted by the key.
2021-07-14 13:07:22 -07:00
Zachary Anderson
7f741e9181
Revert "Clean up the bindings APIs (#86388)" (#86404)
This reverts commit 31de052e3fddb4909ff88172a6937db7f3dc49db.
2021-07-13 21:32:29 -07:00
Ian Hickson
31de052e3f
Clean up the bindings APIs (#86388) 2021-07-13 18:31:11 -07:00
Ian Hickson
c800b9c3e4
Revert "Clean up the bindings APIs (#83843)" (#86386)
This reverts commit e2490f2906060d0aaecbbe34a9240ca3d54ef998.
2021-07-13 15:47:40 -07:00
Ian Hickson
e2490f2906
Clean up the bindings APIs (#83843) 2021-07-13 12:41:03 -07:00
Maurice Parrish
e82a69a95e
Create flag to enable/disable FlutterView render surface conversion (#85648) 2021-07-08 10:36:06 -07:00
Kate Lovett
e9736efb75
[Framework] Support for Android Fullscreen Modes (#81303) 2021-07-07 17:16:06 -07:00
Greg Spencer
6adea05276
Revert "Randomize Framework tests, opt out some tests that currently fail. (#85159)" (#85673)
This reverts commit b5f9612 because it is taking about 40% longer to run the tests, which is causing timeouts.
2021-06-30 19:38:09 -07:00
J-P Nurmi
0967a40fca
Add TextInputType.none (#83974) 2021-06-29 15:41:03 -07:00