343 Commits

Author SHA1 Message Date
Ian Hickson
ab89ce285f
Clean up the bindings APIs. (#89451) 2022-02-03 14:55:15 -08:00
Jami Couch
af89a25e5b
Re-land "Support Scribble Handwriting" (#96615) (#97437) 2022-02-01 09:50:07 -08:00
Justin McCandless
40c4da5cb8
Revert "Re-land "Support Scribble Handwriting" (#96615) (#96881)" (#97405)
This reverts commit c54ce01575bf5002529e733143c948ba6ae301b7.
2022-01-27 16:11:02 -08:00
Jami Couch
c54ce01575
Re-land "Support Scribble Handwriting" (#96615) (#96881) 2022-01-27 15:10:21 -08:00
Tong Mu
4e04e3ff42
[Keyboard] Dispatch solitary synthesized KeyEvents (#96874) 2022-01-20 15:55:18 -08:00
LongCatIsLooong
9c23106711
Revert "Support Scribble Handwriting" (#96615) 2022-01-13 12:00:19 -08:00
b-luk
fe05239487
Expose keyCode field in RawKeyEventDataWeb. (#96483) 2022-01-11 18:10:09 -08:00
Jami Couch
9490917408
Support Scribble Handwriting (#75472) 2022-01-11 11:00:12 -08:00
Tong Mu
bc54c2fdfe
RawKeyboard repeat events, and SingleActivator.includeRepeats (#96154) 2022-01-07 01:55:11 -08:00
Tong Mu
5d37206257
[RawKeyboard, Web, macOS] Upper keys should generate lower logical keys (#94827) 2021-12-15 15:29:09 -08:00
Sam Rawlins
87f8873474
Add explicit null returns in flutter/test (#94834) 2021-12-14 10:14:06 -08:00
Tong Mu
3af6b2f604
[macOS] RawKeyboardDataMacos properly handles multi-char characters (#94432)
* Impl

* Macos
2021-12-07 13:41:35 -08:00
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