381 Commits

Author SHA1 Message Date
LongCatIsLooong
8caa14e629
Fix a type casting error in text_input.dart (#109635) 2022-08-17 01:26:21 +00:00
stuartmorgan
ab23233fa8
Reland: Fix Android platform view creation flow (#109405) 2022-08-12 01:26:19 +00:00
Casey Hillers
9ad052a57e
Revert "Fix Android platform view creation flow" (#109389)
Merging on red to green the build.
2022-08-11 08:05:27 -07:00
stuartmorgan
a47b3ccc2c
Fix Android platform view creation flow (#109232) 2022-08-11 02:26:30 +00:00
Michael Goderbauer
ed0c8d77f8
Remove some outdated ignores from framework (#108915) 2022-08-03 22:42:06 +00:00
Matej Knopp
7e8f0e57bf
[macOS] Use editing intents from engine (#105407) 2022-08-03 21:51:28 +02:00
Dan Field
0cc7db54ce
Guard against usage after async callbacks in RenderAndroidView, unregister listener (#108496) 2022-07-28 18:36:04 +00:00
Renzo Olivares
329afbe9d8
updateEditingValueWithDeltas should fail loudly when TextRange is invalid (#107426)
* Make deltas fail loudly

* analyzer fixes

* empty

* updates

* Analyzer fixes

* Make it more obvious what kind of TextRange is failing and where

* update tests

* Add tests for concrete TextEditinDelta apply method

* trailing spaces

* address nits

* fix analyzer

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-07-12 15:59:59 -07:00
Alexandre Ardhuin
bbdf617034
Export public API types from services/*.dart library (#106316) 2022-06-28 20:26:06 +00:00
Justin McCandless
1fd3d6c3c9
Make TextInputClient a mixin (#104291)
TextInputClient and DeltaTextInputClient are now mixins, which helps with breaking changes and future deltas work
2022-06-28 10:14:50 -07:00
Tong Mu
0ac05f1c5c
[Keyboard, Web] Map from "Esc" to the Escape key (#106133)
* Impl

* Fix build

* Add test
2022-06-21 13:27:12 -07:00
Tong Mu
ddeb0b99c5
[gen_keycodes] Remove invalid Web code maps (#106074)
* Impl

* Test
2022-06-16 13:53:23 -07:00
Tong Mu
576e85ca5e
TextInput: Verify TextRange and make method call fail loudly (#104711)
* Fix

* Tests

* Format

* Empty line

* Fix range test

* Fix

* Comments

* trailing spaces

* Fix tests

* Comments
2022-06-14 20:31:09 -07:00
Alexandre Ardhuin
56c4e3cdd8
add some exports of public API in foundation/serialization.dart (#104231) 2022-06-08 13:33:12 -07:00
Pierre-Louis
a0248ebdf2
Use curly_braces_in_flow_control_structures for services, scheduler, semantics (#104616) 2022-05-25 19:58:22 +02:00
hellohuanlin
f85209272d
Add Focus support for iOS platform view (#103019) 2022-05-23 17:58:13 -07:00
Tong Mu
baac9a8aef
[Keyboard, Windows] Fix that IME events are still dispatched to FocusNode.onKey (#104244) 2022-05-20 22:08:08 -07:00
Jami Couch
78885ecbeb
Provide default method call handler for SystemChannels.textInput (#101087) 2022-05-12 15:59:13 -07:00
Tong Mu
65ea76718f
[gen_keycode, RawKeyboard] Apply derived keyboard layout from Linux (#102709) 2022-05-11 20:04:14 -07:00
apeltop
b264b61444
Correct typos (#102487) 2022-04-28 16:29:07 -07:00
Phil Quitslund
bca071815f
rename local functions with _s (#102615) 2022-04-27 09:14:57 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
Tong Mu
c5e3e1cf5f
RawKeyboardMacos accepts a new field "specifiedLogicalKey" (#100803) 2022-04-14 11:24:11 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework (#100905) 2022-04-13 22:38:40 -07:00
Emmanuel Garcia
012952ba47
Don't build surface until the platform view has been created (#101399) 2022-04-07 15:31:04 -07:00
Emmanuel Garcia
032205eaca
Reland: "Use texture layer when displaying an Android view" (#100990) 2022-03-29 19:40:17 -07:00
Zachary Anderson
37d619d228
Revert "Reland: "Use texture layer when displaying an Android view" (#100934)" (#100950)
This reverts commit 61c30eed4f19009aa3caf8eede877c40c105b1b9.
2022-03-29 08:27:55 -07:00
Emmanuel Garcia
61c30eed4f
Reland: "Use texture layer when displaying an Android view" (#100934) 2022-03-28 21:25:06 -07:00
Emmanuel Garcia
19680c34cc
Revert "Reland: "Always use texture layer when displaying an Android view" (#100237)" (#100660)
This reverts commit d92fedcccb645ba155e93c5b72052692f10196b1.
2022-03-24 00:28:13 -07:00
Emmanuel Garcia
d92fedcccb
Reland: "Always use texture layer when displaying an Android view" (#100237) 2022-03-17 12:46:26 -07:00
Zachary Anderson
1c2c942112
Revert "Always use texture layer when displaying an Android view (#100091)" (#100222)
This reverts commit 509ddfda5c1bda7c01cf51fe24607da19423d5f9.
2022-03-16 09:12:25 -07:00
Emmanuel Garcia
509ddfda5c
Always use texture layer when displaying an Android view (#100091) 2022-03-15 21:10:18 -07:00
moko256
13bf7515f4
Web: treat modifier key without location (#98460) 2022-03-15 19:50:10 -07:00
Emmanuel Garcia
f58e8f56ef
Fix AndroidView offset and resize (#99888) 2022-03-14 14:39:32 -07:00
Jonah Williams
67f25caf72
Remove package:typed_data from package:flutter dependencies (#99604) 2022-03-07 10:41:21 -08:00
Michael Goderbauer
852bfe2a73
Use BindingBase.platformDispatcher over BindingBase.window where possible (#99443) 2022-03-04 11:11:07 -08:00
Viren Khatri
078deb9230
Migrates packages/flutter to from hashValues to Object.hash (#96109)
* migrates lib/foundation and lib/widgets

* migrates lib/painting and lib/material

* migrates lib/cupertino, lib/gestures, lib/services, lib/semantics and lib/rendering

* fixes failing tests

* migrates test/

* improves hashing of lists
2022-03-01 23:54:11 +05:30
Tong Mu
7959c3953d
[Keyboard] Correctly convert down events that are immediately synthesized released (#99200) 2022-02-28 13:55:24 -08:00
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