Satsrag
c033b08df7
fix: cannot input new line using custom input control ( #140356 )
...
For https://github.com/flutter/flutter/issues/125875 and https://github.com/flutter/engine/pull/45522
According to [this discussion](https://github.com/flutter/flutter/pull/139446#discussion_r1424776370 ), Just added `forceMultiline` to JSON on `_configurationToJson`. @LongCatIsLooong @Renzo-Olivares
2024-01-03 01:58:24 +00:00
Michael Goderbauer
73bd978529
Migrate away from deprecated BinaryMessenger API ( #124348 )
...
Migrate away from deprecated BinaryMessenger API
2023-04-07 19:38:52 +00:00
Tanay Neotia
0e22aca785
Add support for image insertion on Android ( #110052 )
...
* Add support for image insertion on Android
* Fix checks
* Use proper Dart syntax on snippet
* Specify type annotation on list
* Fix nits, add some asserts, and improve example code
* Add missing import
* Fix nullsafety error
* Fix nullsafety error
* Remove reference to contentCommitMimeTypes in docs
* Fix nits
* Fix warnings and import
* Add test for content commit in editable_text_test.dart
* Check that URIs are equal in test
* Fix nits and rename functions / classes to be more self-explanatory
* Fix failing debugFillProperties tests
* Add empty implementation to `insertContent` in TextInputClient
* Tweak documentation slightly
* Improve docs for contentInsertionMimeTypes and fix assert
* Rework contentInsertionMimeType asserts
* Add test for onContentInserted example
* Switch implementation to a configuration class for more granularity in setting mime types
* Fix nits
* Improve docs and fix doc tests
* Fix more nits (LongCatIsLooong)
* Fix failing tests
* Make parameters (guaranteed by platform to be non-nullable) non-nullable
* Fix analysis issues
2023-01-31 19:46:18 +00:00
Justin McCandless
17eb2e8aeb
Ability to disable the browser's context menu on web ( #118194 )
...
Enables custom context menus on web
2023-01-30 09:03:03 -08:00
Callum Moffat
c53501d835
Send text direction in selection rects ( #117436 )
2023-01-04 04:00:08 +00:00
Xilai Zhang
338841afd3
Revert "Revert "Revert "Scribble mixin ( #104128 )" ( #114647 )" ( #114698 )" ( #115146 )
...
This reverts commit 3cde69e8d9dff7e081cb6daa6cd633c49176cb32.
2022-11-11 10:01:11 -08:00
Justin McCandless
3cde69e8d9
Revert "Revert "Scribble mixin ( #104128 )" ( #114647 )" ( #114698 )
...
Relands the "Scribble mixin" PR, which was reverted due to breaking a Google test in the last roll.
Breaks the Scribble feature out of TextInputClient in order to avoid breaking changes.
2022-11-07 11:28:27 -08:00
Casey Hillers
009fa69f3c
Revert "Scribble mixin ( #104128 )" ( #114647 )
...
This reverts commit b571abfbfd17b9ab7bdf73ac9758bbd87264979a.
2022-11-03 17:17:30 -07:00
Justin McCandless
b571abfbfd
Scribble mixin ( #104128 )
...
Refactors methods related to the iPad Scribble feature out of TextInputClient
2022-10-24 12:46:43 -07:00
J-P Nurmi
28e0f089a2
Reland "[text_input] introduce TextInputControl" ( #113758 )
2022-10-24 07:23:32 -07:00
Zachary Anderson
9064bf674b
Revert "[text_input] introduce TextInputControl ( #76072 )" ( #113724 )
...
This reverts commit 2fdfa29e081bb368bf11b6177e4e9bb7c8ad4d34.
2022-10-19 15:00:00 -07:00
Justin McCandless
a832a72036
Handle privatecommand messages that pass no data ( #112590 )
...
Fixes an error in some text editors.
2022-10-19 10:30:23 -07:00
J-P Nurmi
2fdfa29e08
[text_input] introduce TextInputControl ( #76072 )
...
Allows the creation of virtual in-app keyboards written in Flutter. Especially useful for embedded environments.
2022-10-04 15:23:12 -07:00
LongCatIsLooong
8caa14e629
Fix a type casting error in text_input.dart ( #109635 )
2022-08-17 01:26:21 +00:00
Matej Knopp
7e8f0e57bf
[macOS] Use editing intents from engine ( #105407 )
2022-08-03 21:51:28 +02: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
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
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
LongCatIsLooong
9c23106711
Revert "Support Scribble Handwriting" ( #96615 )
2022-01-13 12:00:19 -08:00
Jami Couch
9490917408
Support Scribble Handwriting ( #75472 )
2022-01-11 11:00:12 -08:00
LongCatIsLooong
ffcd32ebb6
Move text editing Actions to EditableTextState ( #90684 )
2021-11-03 11:11:32 -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
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
c49eba6c3f
[TextInput] minor fixes ( #87973 )
2021-08-16 12:12:04 -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
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
J-P Nurmi
0967a40fca
Add TextInputType.none ( #83974 )
2021-06-29 15:41:03 -07:00
Ian Hickson
5e0cc4cba4
Migrate to ChannelBuffers.push ( #82564 )
2021-05-21 15:09:03 -07:00
Ian Hickson
2ae1e39810
Revert "Migrate to ChannelBuffers.push ( #82057 )" ( #82525 )
2021-05-14 12:09:03 -07:00
Ian Hickson
b86d5c0094
Migrate to ChannelBuffers.push ( #82057 )
2021-05-13 14:34:04 -07:00
Abhishek Ghaskata
254c9f1755
Enable use_named_constants_lint ( #82426 )
2021-05-13 13:29:06 -07:00
Viren Khatri
9ca32820ea
📝 Added toString tests for flutter/services/text_input.dart ( #82223 )
2021-05-10 23:49:04 -07:00
Ren You
7f1d1414cc
Revert "Migrate to ChannelBuffers.push ( #81235 )" ( #81829 )
...
This reverts commit 35ad43f20caa71ec051a97bc8bc8fec552fb4452.
2021-05-04 06:17:19 -07:00
Ian Hickson
35ad43f20c
Migrate to ChannelBuffers.push ( #81235 )
2021-05-03 17:14:03 -07:00
Angjie Li
b74df388e1
Revert "Migrate to ChannelBuffers.push ( #76288 )" ( #81226 )
...
This reverts commit c26ed03c8a77810136cc087ae60048ace062842d.
2021-04-26 12:57:17 -07:00
Ian Hickson
c26ed03c8a
Migrate to ChannelBuffers.push ( #76288 )
...
* Migrate to ChannelBuffers.push
* Move TestDefaultBinaryMessenger to its own file
* Apply deprecations and fix usages
2021-04-23 15:39:34 -07:00
Alexandre Ardhuin
c78c913343
add missing trailing commas ( #81042 )
2021-04-23 21:00:42 +02:00
Michael Goderbauer
efbde443d2
Clean up ignores that are not ignoring anything ( #78484 )
2021-03-18 13:40:08 -07:00
Ian Hickson
f3c25fa07a
Align more closely with package:test ( #77118 ) ( #78343 )
2021-03-16 13:58:02 -07:00