-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Comprehensive text input support (without undo) #20826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…pport text editing.
* `TextInputAction` -> `TextEdit` * `TextInputActions` -> `TextEdits`
…he cursor. If there is a selection, overwrites it instead.
…d automatically with the `TextInputValue `text
…he associated types and systems.
…ts to `InvalidEdit` and `TextChanged` respectively.
Co-authored-by: Tim <JustTheCoolDude@gmail.com>
Co-authored-by: Tim <JustTheCoolDude@gmail.com>
Co-authored-by: Tim <JustTheCoolDude@gmail.com>
5ffd4fd to
7cd83d1
Compare
2608b82 to
7bc9f3f
Compare
|
I understand the concerns of the last PR, but please, please, please Maintainers, merge something like this for 0.17. It's a major pain point in bevy right now and don't let perfect be the enemy of good. We can iterate on this, but we can't iterate on nothing! |
|
There are solid third party text input crates now, including @ickshonpe's |
This reverts commit f0a8596.
commit 8bb280f8adcf16d3b9fba32f1c269a639633c9ff
Merge: 9f655bb9e3 70c6213fe6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 31 13:38:37 2025 +0100
Merge branch 'main' into text-input-widget
commit 9f655bb9e331decb83e43bb9db551631e202985d
Merge: 5fcadba405 f19aa8dfcc
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 23:49:09 2025 +0100
Merge branch 'main' into text-input-widget
commit 5fcadba405b452121d4145439e643460de8a5ab4
Merge: b0eb343d33 ef0579cd65
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 23:48:00 2025 +0100
Merge branch 'text-input-widget' of https://github.com/ickshonpe/bevy into text-input-widget
commit b0eb343d33bcfb19635d753b03aa5c4ee1a305aa
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 23:47:55 2025 +0100
Use `bevy_clipboard` crate to access system clipboard for cut, copy and paste actions.
commit ef0579cd653ba6381ae1a4672421ae7964982bbf
Merge: 683f292ab6 50dc772f14
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 21:07:08 2025 +0100
Merge branch 'main' into text-input-widget
commit 683f292ab6a0076d823318faa608fc9083ec49e4
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 21:05:02 2025 +0100
Changed the `text_field` example to spawn containing some arabic text.
commit 38fcefdd4984aaa32c353f8fa123915bc390b320
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 20:00:15 2025 +0100
Added new fonts, updated clipboard example
commit 0072d3a83fc3a1325a1a71f4159cd3d17b245f23
Merge: ec632ea954 7dcf591102
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 19:39:49 2025 +0100
Merge branch 'clipboard' into text-input-widget
commit 7dcf59110221fe799118fd7e0b0809aeb810069c
Merge: 6c6fcf277b e08c78bbdb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 18:42:05 2025 +0100
Merge branch 'main' into clipboard
commit ec632ea954fcfdcff188d5c42a1c3e1d8cd2c36d
Merge: a08fa0f324 e08c78bbdb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 18:33:58 2025 +0100
Merge branch 'main' into text-input-widget
commit a08fa0f324475c84e1206638b51f45d898fa7e6a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 18:31:17 2025 +0100
Reverted `TextLayout` component changes
commit b8322b8feb2f7f5a0f52959891e857cb83dd059a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 18:29:37 2025 +0100
Removed selection block color component.
commit 511daa207d7b7d40e8ea60ddd25b8296427fa578
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 11:20:32 2025 +0100
Fixed wrong system name
commit 10141ff8192b4a9a1ada9bf4288b05a6cf07a055
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 10:49:26 2025 +0100
Updated prompt system doc comment
commit 5c18ad1bc76f4b5d0dbb5bb85919d9a14a1c6dc4
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 10:48:05 2025 +0100
Renamed `text_input_prompt_system` to `update_text_input_prompt_layouts`
commit 19519486b8b0d69906f03c9b3c40929dfe22e374
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 10:36:43 2025 +0100
Reorganized schedule.
commit bbe9f3bcd19d2c39c2eb181f894323e839fbf29c
Merge: 2516fe4987 12f605ea7c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 30 07:11:23 2025 +0100
Merge branch 'main' into text-input-widget
commit 2516fe4987e3e1ce1dfda440c5be2d8f53c03d34
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 23:37:44 2025 +0100
resolve system ambiguities
commit 3ddde2b5c9ce7a9b7628b75064f49f5b30464ebd
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 23:15:47 2025 +0100
removed lifetime from const
commit 855e15924f1e0fcb13d24854c25d91b3eb0fd6f2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 23:09:42 2025 +0100
Removed rogue import from borders example
commit 65c5b0373c1c0e43107e6968a6b65323bc1541f1
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 22:55:00 2025 +0100
Renamed line_input_node to text_field
commit 59dea020d0fdc726aa939169ff758977ff4410c7
Merge: 0c23669f0a e28b37da9b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 22:33:05 2025 +0100
Merge branch 'main' into text-input-widget
commit 0c23669f0a076c0b1980f1c086e4fd71ca68ce42
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 22:31:09 2025 +0100
lints again
commit 8cb3f9b938730439284bad4998bfdfb370c60325
Merge: 261bf0dec7 45c997c45f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 22:20:20 2025 +0100
Merge branch 'main' into text-input-widget
commit 261bf0dec70258d0b5d9063ae101ff966eaea7f3
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 22:19:56 2025 +0100
more and more lint fixes
commit 45dc6d6ba4611b61bb349a0b9d530aedb23e6d3a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 21:53:22 2025 +0100
Fixed doc links
commit 5fa71bdb9c52837acbcd008c55bc8ab084d9dec2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 21:11:12 2025 +0100
lint fixes
commit acf40f7644007a77bee0e09a47fcc4e14e8f340c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 21:05:44 2025 +0100
cargo run -p build-templated-pages -- update examples
commit 86a4474bbd48d6643838b4b053ee430e2e1419c2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 21:01:23 2025 +0100
Fixed example meta data again
commit 931e41a9248c7649940b7960cbdff4bfca2594ab
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:58:27 2025 +0100
Fixed example links
commit d5892733ef8625d53ea34a7bd8ec124e11f5506b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:56:21 2025 +0100
Fixed example meta data
commit 41651c29ba03bdcf6f0ba26e462a76e911dbc17f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:51:31 2025 +0100
more lints
commit 7f0152b91dcc3735c043a31dec3846496a588291
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:47:40 2025 +0100
Even more lints
commit 74a5522d8e342b55e4aab530303b033bd694fabc
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:44:28 2025 +0100
More lint fixes
commit 4c4bb2573d776a16d73f81c5266a00ee9f7992be
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:40:23 2025 +0100
lint suggested fixes
commit 25c74e751487813153f75cbb267536c8d14fa78e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:26:50 2025 +0100
Fixed more typos
commit 0d9f8e6c9e47c1af31cda06f7959e89f47156e81
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:20:41 2025 +0100
Replaced internal import
commit c76fb957c93185a0d68e1d2c88e873902d200ffe
Merge: eb70de1ec7 be794d559f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:18:43 2025 +0100
Merge branch 'text-input-widget' of https://github.com/ickshonpe/bevy into text-input-widget
commit eb70de1ec7d9a19ccc46fdc436c284ec6ccdc716
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:18:38 2025 +0100
Fixed spelling errors.
commit be794d559ff7085b5c04dc17d79f5a4663b1755b
Merge: e6a90c77d4 e76a4ede8e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:14:25 2025 +0100
Merge branch 'main' into text-input-widget
commit e6a90c77d41d9f33e41ca63e990600feb6b2d49c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 20:13:36 2025 +0100
Removed internal import
commit f1f8599fe8f56889f700a3e1944e37afaddd6d39
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 19:37:14 2025 +0100
Fixed crashes without `TextInputPlugin` in extraction due to missing modifiers resource.
commit dec3b046186e17b0a34bf30afd57f1293dd189f9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 18:22:31 2025 +0100
Moved requirements to TextInputBuffer.
commit def817760410a698e1bf33494c1e810f5b5ed474
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 18:16:08 2025 +0100
Renamed `TextInputMultiClickDelay` to `TextInputMultiClickPeriod`.
Added doc comment for struct.
commit 7e4a0dca371817ac3b135de8e01f8de7d3cb6ca9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 18:12:41 2025 +0100
Fixed password examples imports
commit 8c49b814d62e657a4abdf54588bc1e6c86c37556
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 18:10:42 2025 +0100
more clean up
commit 29de4d5db6b4e863c7be3ec6d04046e933de1bd7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 18:00:48 2025 +0100
Removed `clear_on_submit` component
commit ec85b33084e384d16e194ef008d9f9a18e7612d0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 17:53:01 2025 +0100
Removed unused
commit 30d9ff516570cd39684612049e36d7f3fecd352e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 17:49:13 2025 +0100
Don't add plugins by default, updated examples
commit 88d69c3a59330297932a1a20a5807f12b122c1dc
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 17:28:09 2025 +0100
Removed `TextInputSubmitBehaviour` component
commit ec0c518c66ba979b06f958ed0246c6206f5a0bdf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 17:11:01 2025 +0100
Reworked measure lines system and schedule
commit 7d1d1b1ee5b6395291bfd202bfb5dcb5cc7d8b8d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:45:56 2025 +0100
Add options to text_box struct
commit b929494ea38975af1ca6d58818acaf73fe0b2b14
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:45:26 2025 +0100
Uncomponent Justify
commit dd21c62cd05daa05a0181446b7ebea5be2a8e039
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:43:51 2025 +0100
Update attributes from text_field component
commit ccc95c19039d34d1ccbc8cc8f604ef5f4d5a870f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:39:06 2025 +0100
Clean up
commit 64beda8787c0e068497a678472d72b4e911ecf0f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:33:24 2025 +0100
Removed unused
commit e05de8e24a03a8501b8ff06f9e30b5196c33a76d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:33:13 2025 +0100
Updated password_input example to show character count
commit 5bd784b97f507e31fb518ce84fae6e1dd4857831
Merge: bd2f191d73 8398cab668
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 16:07:47 2025 +0100
Merge branch 'main' into text-input-widget-change-event
commit bd2f191d73c81827bc0ac23e0df6549dd927e02b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 15:53:48 2025 +0100
Added sounds, not working
commit b56d8214275478ec95caf29ee73175756836a83a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 15:07:00 2025 +0100
Implement change event
commit e51cf045816ec0a0216aab132b12fc9d4f21490f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 14:18:52 2025 +0100
Removed unused line
commit d71e6169e1a1eb9be4b10dd5cd3acf6a132ae544
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 14:17:27 2025 +0100
New TextInputEvent event, replaces TextInputSubmit event
commit c428c69308c44c247186ffee413ca27a0a8f8477
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 13:47:53 2025 +0100
Fixed multi click for input field
commit d8c8171e7cfca95835c6dbf72948a231c8bfb659
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 13:39:46 2025 +0100
Store multi click delay in a resource.
commit f88a6bce36c855d64295b14d2641d2a66088c6a3
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 13:38:52 2025 +0100
Store space advance with in `TextInputBuffer`
commit 089d2916a614f3dd782f783f4d8a7694c5ffe216
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 13:23:14 2025 +0100
Consolidated visual styling into `InputStyle` component
commit c2a8b4b71e700a1994a2b357128f941a6198fbc6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 12:28:41 2025 +0100
Fix ui_render prompt errors
commit 0609a980ec76433d72556d582e90659495bebca8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 12:26:40 2025 +0100
Removed the `PromptStyle` component, use the text input's attributes.
Removed the `PromptColor` component.
commit 4d4fd1a818260a46bb8edceb0224aa938dbecb05
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 12:18:28 2025 +0100
More docs
commit d66edffe19771d3aca0704782fe527cc86e102ad
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 12:10:13 2025 +0100
Renamed text input modules to `input_box` and `input_field`
commit c8b3b232e6eecbc8b1afaa6d4b55b8c45613c219
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 29 12:08:32 2025 +0100
Updated documentation.
commit 66c7b296cf9a1071ad3e4d75dc0c82389308e13c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 28 16:08:44 2025 +0100
Fixed redraw loop with password masks
commit f8c64155ff47a405546769edab68d97521bcfe6f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 28 13:58:20 2025 +0100
Improved password buffer change detection
commit 8f63c8b76a879de304edc0cb24fe0bf2cfadd27d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 28 11:47:18 2025 +0100
Added skeleton of a password input example
commit 8f4dc02686a6751fe68b90bafc8d007cd7f6a2df
Merge: a53975b6ba d1aab7c383
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 28 11:31:04 2025 +0100
Merge branch 'main' into text-input-widget
commit a53975b6ba13d7f01ffcdadab3c721deeb4f70d2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 17:43:39 2025 +0100
FIxed cursor size calculations
commit 67350abcfba9cec348693a8c9b04b4df1bf68f02
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 16:54:18 2025 +0100
Renamed `cursor_at_end_of_line` to `is_cursor_at_end_of_line`.
commit a3c7de1c1c9f5c306410bfc1521cdbfe91d15b5e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 16:16:00 2025 +0100
Cleaned up imports
commit cb69e877b1856b348aa6d908b71f0cf4a04d67d4
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 16:15:17 2025 +0100
Fixed example so input nodes fill the space correctly
commit 62c320c2f2d554742ab86946983dfcfab87b5d8c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 16:00:31 2025 +0100
Set no wrap on example outputs
commit 0ea834ff74208b72afd417bcac3e7226aa900dac
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 15:51:20 2025 +0100
Improved measure func to support setting height of inputs by number of lines
commit c398bcc3f05a0737ff3bca0e89d8d5227574ab40
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 15:02:35 2025 +0100
Consolidated the two on_focused_keyboard_input systems into one system.
Added `TextInputSubmitBehaviour` component
commit 09d6a826a6f9f047671a3924ffc284344d8af92f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 15:01:08 2025 +0100
Added TextInputVisibleLines component, allows setting the vertical height of the input widget by number of lines.
commit 7a5e197e9c08cb0017fd6f142d2132f6cb3d78e1
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 14:59:37 2025 +0100
Derived Copy and Clone for NavAction
commit 6e9433b444d0e1b8414880c141e08e40bd0695b0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 23 00:46:11 2025 +0100
Removed unused
commit 565081c06b797fcaf08864cd5165541f1bfb2ca2
Merge: 54ba401eee f858c0d6e1
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 22:47:52 2025 +0100
Merge branch 'main' into text-input-widget
commit 54ba401eee2c810edda547305390e159c094af7b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 21:57:04 2025 +0100
Added comments
commit ae0b136b7c84a29c33533f01e684812957d8006a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 21:56:46 2025 +0100
Improved text_input example layout
commit 4c66c93f579ca121e8a94b5668d75a4fa3ebaddb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 18:06:10 2025 +0100
add clipboard contents display to `text_input` example
commit b74d174b51304fcef81153d245e7699bc5a8447c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 17:52:04 2025 +0100
Fixed paste, Update examples
commit 3e60085e74a80f2cd8f60e4dbea0bc31bfd27a41
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 17:37:46 2025 +0100
Removed unused import
commit a48eee2dc1eb899295cddb0b0a86b7616cb5337b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 17:35:22 2025 +0100
remove input folder, move module
commit 1c74aa62b2345de1d5637d84f9a5bde9bee1bb55
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 17:25:56 2025 +0100
updated examples
commit 2ccc77c17b44e72db3705c4c612834a5e531ef21
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 17:03:51 2025 +0100
Added release content
commit 5e6f6fc0e7686eae8727fa2a1c8622fa368b3b52
Merge: 5ead04d1be be76937a3c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:57:34 2025 +0100
Merge branch 'text_input_glyph_color_merge' into text_input
commit 5ead04d1beab563f7dea978bcb753ae62908dea5
Merge: 49e3c5be4d a3874e04dc
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:56:55 2025 +0100
Merge branch 'extract-text-color-per-glyph' into text_input
commit a3874e04dc2a80297156b1d711d90d0f5f11a4cd
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:46:36 2025 +0100
Another overlay fix
commit 236cbbc672cf5d006d30afeee098049de9148c72
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:46:15 2025 +0100
Migrated `debug_overlay` module.
commit be76937a3c4f403db1c7c5ab6761e8b7cc6c9f7d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:44:26 2025 +0100
FIx errors from merge
commit 3d0dc52abaef8787fec814165dab73c2a45f5148
Merge: 49e3c5be4d a25f1f0770
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:36:13 2025 +0100
Merge branch 'extract-text-color-per-glyph' into text_input_glyph_color_merge
commit a25f1f07703ffab44a5dc6c37bfad80070e1f265
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 16:10:19 2025 +0100
Renamed `ExtractedGlyph`'s `position` field to `translation`.
commit a790bfac8d3a6504a63615ab19446a084492c3e6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:56:15 2025 +0100
Individual glyphs just have a position, not a transform.
Moved `Transform` from `ExtractedUiItem` to `ExtractedUiNode`.
commit 1c2ab1fd7e8f1b243c3e359bc485777729b1a97e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:46:08 2025 +0100
Fixed `extract_gradients`
commit 7d862152105091ab4ca39e422472df29d51f969b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:43:29 2025 +0100
Move `color` and `rect` fields to ExtractedUiItem
commit 304581f6331d35ddc2fa63bbe6d5fcf3ad8018bf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:39:39 2025 +0100
Added `color` field to `ExtractedGlyph`.
Extract text colors per glyph.
commit 49e3c5be4d12359785fc20dd6509a9d8295ab005
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:24:01 2025 +0100
Added requires for `TextSelectionBlockColor`
commit 9360ea629f30629a2d6c064ac5b6ef8031fb2f1f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:22:23 2025 +0100
Added TextSelectionBlockColor component
Renamed TextInputHistory -> TextInputUndoHistory
commit f5230543414e6ea03caccf756fd8b8c5a216a31c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:08:26 2025 +0100
Added prompt to `text_input_node` example
commit d588f34c17f9b322fd3b0f441889dd6f4d4cbd95
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:08:11 2025 +0100
Added prompt extraction to `extract_text_input_nodes`
commit f226477dfde1edf414127ee3256115712f6e7c23
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 15:07:38 2025 +0100
Added `PromptColor` component, removed `Color` from `PromptStyle`
commit 5fdf7362ea2f64ab837f649ea4cfa53525d457fe
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 14:46:23 2025 +0100
Added `Prompt` to example
commit 4986aaaec6114969da247f4512d526a4c77cbb2e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 14:46:08 2025 +0100
Added `new` constructor fn for Prompt
commit 49d2a0c21a9d9229726bc3398d8b75a590deee10
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 14:39:52 2025 +0100
made buffer borrow in mouse_wheel_scroll non-mutable
commit 48dc85170138b0a88415fadf44a82a7dcddde219
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 14:37:57 2025 +0100
Added text_input_prompt_system to plugin schedule
commit 647bfd1610ec49d975b117297ee212eb592fca2d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 14:36:58 2025 +0100
Added system to update text input prompt layouts.
commit 6d3ef57ccd7ad013ca1c2223c9f4a5f52a3237d9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 13:55:33 2025 +0100
Added `TextLayoutInfo::clear` method
commit a8807f999395a5131eeea98bc2af508d7259b46e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 13:54:53 2025 +0100
Added `is_empty` function to `TextInputTarget`, added `TextInputPromptLayout` component.
commit 04180c60a6ff4670ed8867227c6d4e4dc8cb6ecc
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 13:31:07 2025 +0100
added `is_empty` method to `TextInputBuffer`
commit e325febfc31ae59c45fd194be197c597a110da92
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 10:52:20 2025 +0100
Fixed cursor width
commit e71c4cc32ac96078d3a33135deab20e1a3315868
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 10:39:34 2025 +0100
Never skip glyph under cursor
commit 54c935715376092ea5bbb09f16e0f38248563a34
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 22 09:36:52 2025 +0100
Removed regex dependency
commit 78d6567cb87ed016647b70d85bcabf5ec833fffa
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 18:47:18 2025 +0100
Clean up example imports
commit 5f67140f09d77b6dfa9741077b503f1439d07f22
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 18:28:57 2025 +0100
Added mousewheel scrolling for TextBox
commit 2f1831ac4c6e5dc2e9043cfc84d7edb9587c07b6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 17:48:09 2025 +0100
Added TextInputPromptLayout component newtypes TextLayoutInfo
commit 9a8dce11baa28bb933d7a5be85f5b74caf7066d2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 17:46:08 2025 +0100
Added is_buffer_empty helper function and `TextInputPrompt` component
commit 56da1a732681ef37df8f4ef58f89d2fd616c2db8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 16:43:54 2025 +0100
Fixed submission action, and propagation via the `TextInputSubmit` event.
commit ac0779cb9ceb0e94141f1ffa230a299cbd0855d2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 14:00:38 2025 +0100
Added get function to TextInputValue
commit 7759dc78aade460ef95c00ecb45a45f4140d3753
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 13:45:16 2025 +0100
Improved example layout
commit 8b161a381ac6595a87015f2d9030b73aae136e45
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 13:43:22 2025 +0100
Added `TextInputValue` component, contains current input contents, insert to set value.
commit 3b0e682edc0bc41b4b4fc096c8eaba28659a1681
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 21 11:44:48 2025 +0100
update filters example
commit 1a996e2a7a2050008d0c055c1e6bc1b83f2063bf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sun Jul 20 21:46:36 2025 +0100
renamed LineInputNode to Textinput
commit 3aef0d7670cd901201c5533750dbc40ebd97806a
Merge: de9c8ef1a7 0c2f6b83e7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sun Jul 20 21:33:00 2025 +0100
Merge branch 'main' into text_input
commit de9c8ef1a7d626c78f26864ed58dbe47615a733c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sun Jul 20 21:31:58 2025 +0100
Renamed `FixedLayoutRunIter` to `ScrollingLayoutRunIter`
commit b59cf9bca56aec8fb2ffcb6ec64eb2a8b2b49dd8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sun Jul 20 13:57:46 2025 +0100
New line iterator that doesn't skip clipped bottom lines.
commit 1ff042274eea936bbc7edf16b2352d8612e723ad
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sun Jul 20 10:05:09 2025 +0100
Added text selection rendering
commit 335924c76726f4cfc234a8561817698d8481f14b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 16:31:13 2025 +0100
fix warning
commit 2a4203dd38fdb8b8808bcdd6d54ee1362b49265c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 16:25:48 2025 +0100
Fixed under cursor color rendering
commit ba8fb95d933f3f279e2a093458e2da17a2d0c4cd
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 15:30:06 2025 +0100
Removed logging
commit 42125f7b92f89d4b6219905d5048dcd5694d3674
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 15:28:12 2025 +0100
Added `TextUnderCursorColor` component
commit c9335c30efeca7b5f244dd406012478dc6c82c0d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 15:13:00 2025 +0100
Cleaned up cursor rendering
commit 1cbf07e95e259491bfd4a9ee54d97640cc59c317
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 14:36:30 2025 +0100
Clean up unused
commit ff613212d105cde20dbdd16cdec8681d4485a05e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 14:26:44 2025 +0100
Removed `cursor_size` field from `TextInputAttributes`
commit dbfdde0f7c6ed73a5dec862d561faf08956a930a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 14:22:37 2025 +0100
Fixed SpaceAdvance updates
commit b2ac17b323920cbaf5cbe49eae9681b82dff9626
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 11:40:41 2025 +0100
Increased default cursor width
commit 94f2ef8076e61b65518acb14913c29697cfa87e0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 18 10:39:00 2025 +0100
Renamed `TextInputNode` to `TextBox` and `LineInputNode` to `TextInput`
commit 372b2142375472ab3bd10c1732b71334a4f9ab3a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 19:36:31 2025 +0100
Added `scroll` field to `TextLayoutInfo`, use to scroll horizontally
commit 72e8a49bcf03e529958d3833755a0387762cb4b4
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 19:19:17 2025 +0100
updated filters example
commit 1bb4293ce1e8f4a8aad8080d127a22b289fa0e2b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 19:02:46 2025 +0100
Removed unneeded component queries
commit 80f19bbca722290ccd7f973409f6036833d98245
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 19:00:51 2025 +0100
Removed debug logging
commit a0cbbdf4ef1f92b18f192f0876f1b7d9adb65ab1
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 19:00:15 2025 +0100
Fixed clipping and single line sizing.
commit 8b021c4db42e165aefa96f267b345fb2f37ac907
Merge: 9e0eeee48f f964ee1e3a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 13:06:55 2025 +0100
Merge branch 'main' into text_input
commit 9e0eeee48f106a9d992de3a7170b53e67a0e0feb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 13:06:33 2025 +0100
tweak examples
commit f4633087258aae497482ec1f30e5c09b658d3391
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 12:59:10 2025 +0100
updated examples
commit cad59ec9f205fde0946ed0046d060d6d755eea91
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 12:17:18 2025 +0100
Added local clipboard impl.
commit ebcc5ea1277e1cd09a049b951913aafb0fca50de
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 11:28:31 2025 +0100
extracted inner action application from `apply_text_input_actions` to a separate function `apply_text_input_action`
commit 65ce6d53ca98b9397169191f8dd9a4cee1a0494e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 11:05:49 2025 +0100
Added TextInputFilter regex helper message
commit 954cc8bfceeaad3119677b2bef0ac9656be60311
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 10:59:35 2025 +0100
clean up imports
commit ace8333b23bdccf1a5d56e3a08d12c01e5447f2e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 10:59:02 2025 +0100
updated line_inputs example
commit 5f0a6e2a98d213bb9e7c7c10dc88b309ee72aeca
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 10:58:47 2025 +0100
Added custom filter functions
commit d3a55f4797ed088703c47c2f64529b091a0152c3
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 17 10:12:39 2025 +0100
Added `line_inputs` example
commit 6d8f328cbef4e718c7eaaebbe9a090cbde96e6fe
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 16 13:50:57 2025 +0100
added line height measurement for line inputs
commit d6c6c90fe327a8e7d42b538a3cad59fc49c64d29
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 16 11:31:16 2025 +0100
Added single_line_text_input_node example, renamed ui_text_input example to text_input_node
commit 0b5a775ce6f3f23042e3c5d92b2c67aef194a9ab
Merge: ecc853512a 8e14d99fb9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 16 10:59:10 2025 +0100
Merge branch 'main' into text_input_merge
commit 6c6fcf277ba68880f7c5c25e741aa1804ab15497
Merge: bb860facd5 8e14d99fb9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 16 10:53:41 2025 +0100
Merge branch 'main' into clipboard
commit ecc853512a6d2a304b7d54729efa55f9278cba2d
Merge: c372e68ac2 cb64a4aa8a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 10 12:17:19 2025 +0100
Merge branch 'main' into text_input
commit c372e68ac26b4d70c247a9d3103110afdc726a35
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 7 20:56:17 2025 +0100
Added `TextInputFilter` enum for filtering inputs by a regex
commit f1f4314d64ba4be082fad45053837e59ececb86e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jul 7 16:37:45 2025 +0100
Discard changes in aplly_text_input_actions if they put a text input buffer above its max_chars limit
commit 3d8258316202af7d6af0e4902203b728009fcd77
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jul 5 14:25:46 2025 +0100
Added component hooks for SingleLineTextInput
commit 664c108d5a8c615153080f27c5d6abbb2d879baf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jul 5 13:43:07 2025 +0100
Add default impl for SingleLineTextInput
commit a4333f530b3147ad5be8a5719b87c2021893fff1
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jul 5 13:42:16 2025 +0100
Added `SingleLineTextInputNode` component
commit 4cdf1d458a7d87af407fc352e8c6a2592370c679
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jul 5 12:44:25 2025 +0100
added max_chars to update_attributes
commit ecaf2c27b138a7bd9f8fa7734a7f8c7aa31d0dcf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 4 16:34:45 2025 +0100
Disable scrolling for single line inputs
commit e155d5a17009386da32d453a3e10d7a2e381c121
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 4 16:31:25 2025 +0100
Removed single line text input buffer component, replaced with `SingleLineTextInput` Marker component.
Ignore NewLine action if a text input has it.
commit 374fc5249d3d5fb050608d11a8085c0b835f2a5f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jul 4 16:00:05 2025 +0100
Added `max_chars: usize` field to `TextInputAttributes`, text truncated if longer.
commit 3b249f7215dafd13a90090c16fa74a338f4710f1
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 21:29:50 2025 +0100
Removed unused import
commit 6b9e18d2b6843ceae83773003b257924820820d5
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 21:29:18 2025 +0100
Removed `TextInputMask` test code.
commit 28d78020ea734bbcf617c268ca5f7e85eb46a2ee
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 21:28:55 2025 +0100
Removed logging
commit b0bdf296ec4ac1a79b4b40e6783f97fe728ae801
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 21:28:09 2025 +0100
Added `SingleLineTextInputBuffer` component for single line input support.
commit ab55939c746baecb4f97aa5aa533e6ed2d20b0ea
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 21:24:39 2025 +0100
Added masked password entry support.
New `TextInputMask` component and `update_password_masks` system.
The `TextInputMask` contains a second cosmic text buffer that is displayed instead of the text input buffer if the component is present on an entity.
commit 464a0878ea8ba2da6debe9f39cefdefb9239e506
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 19:07:01 2025 +0100
Added `TextInputPasswordMask` component
commit 1a17d54b8bba95405e9771437f2e61030383996e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 19:04:26 2025 +0100
Removed unused import
commit 8d25aea68665a5add6e801a4ef8521e2a50485fd
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 19:02:57 2025 +0100
Added overwrite mode
commit d839efb2c918e9a61dc0f36d13ddb3fcd470b0ff
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 15:51:15 2025 +0100
Removed unused imports
commit a2ef72643d7ffb00ed6cc1c81dbb9b8599f3d236
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 12:38:37 2025 +0100
Removed unused
commit 855d533349fba3eda7c50d526f6c96d298530f88
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 12:35:48 2025 +0100
split up target and attributes buffer updates
commit 9fe4b62bed94e824cd87afcb92fe94bf7243a52a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 12:23:56 2025 +0100
Added `TextInputHistory` component and undo and redo support.
commit 80e4bb68e2bead1fdc21f5fc71bc5de70c9ddf27
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jul 3 11:41:39 2025 +0100
Removed rendering debug logging
commit 0b9b02f1f6967bfb1e6ea522e7645ebc6f625309
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 13:22:55 2025 +0100
Added `TextCursorStyle` and `TextCursorBlinkTimer` components and required them on `TextInputNode`
commit 5bdbba6441648029820feb83592c05cbdb95e2d9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 13:21:29 2025 +0100
Added cursor geometry to TextLayoutInfo
commit 9f6d81778e462a67b40297b6e3b4a8326d0c3131
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 11:35:41 2025 +0100
Removed requirements from `TextLayout` placed them on `Text`, `Text2d` and `TextSpan` instead.
commit e42dcc098c6f435221d0a284d20f7a45695a650b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 11:26:06 2025 +0100
Updated example
commit 8922e9328eaad5abec5ea9718ae896caf0defabf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 11:25:50 2025 +0100
Added update_attributes system.
Added requires for TextFont and TextLayout to `TextInputNode`
commit 2e38eaaba97645831e889628c7a303dbda53392f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 11:25:02 2025 +0100
Made TextInputAttributes fields pub.
commit 3f493a8a3c67ddc982f6ed27d451b3262654ba27
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 11:24:24 2025 +0100
Added Orbitron font for testing.
commit e72b86f11b29eb208eab35905c9a186ecb4021ca
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 10:44:58 2025 +0100
Added `get_text` method to `TextInputBuffer`
commit da1cf3987a2bdc618b974071848539f17321cf16
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 10:40:12 2025 +0100
Renamed `SetContents` to `SetText`
commit 813d226515e30779e0cb1e0313291d469c36baa4
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jul 2 10:15:29 2025 +0100
* Added documentation for `TextInputActions` enum.
* Renamed `TextInputAction`'s `Enter` variant to `NewLine`.
* Added `Clear` and `SetContents` actions.
commit a2fdc027c14d5c7b1e82c2e6c68633b0fdd7ca47
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 21:09:19 2025 +0100
Fixed schedule and rendering
commit 17e5785dfdde65261747ac1332b6ef97e9d56bc7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 21:08:50 2025 +0100
Added bevy_log to bevy_ui dependencies
commit 4aacda84f3b74e8bb08d3a50c7b0ec425bdbf231
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 14:29:11 2025 +0100
Added `update_size` system, TextInputSystems system set.
Renamed TextInputSize to TextInputTarget and added scale_factor field.
commit 1b9d7015f1837d990e6bc91d7d48016e63e1777c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 12:52:37 2025 +0100
Added bevy_input_focus plugins to example
commit 4614cfa3ed6b13003f06369ba271ef9196494d76
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 12:51:56 2025 +0100
Added plugins
commit a7e29e927b6bc5cd43724da7befd0d7101412e0e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 12:35:13 2025 +0100
Fixed errors due to merge
commit b72cf1a02b6cc07571cee19c313556b9dbad9beb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 12:29:59 2025 +0100
Updated dependencies
commit 57ee61f81fe1d3a4a1d1127d8d510e2bb7b4b63a
Merge: 1616ee4be3 8351da45f8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jul 1 10:48:14 2025 +0100
Merge branch 'main' into text_input
commit 1616ee4be37b1c904fc82d2c3d4962e1078ac787
Merge: bf5fd2825a 01eff3ea93
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jun 30 14:30:31 2025 +0100
Merge branch 'main' into text_input
commit bf5fd2825a91ed4e6191f6b6d2d296e6985ea5a6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jun 30 10:12:52 2025 +0100
added on_remove_input_focus observer
commit 3f400d429a9c61378640520feddddf24d21755b6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon Jun 30 10:10:40 2025 +0100
Add derives for `TextInputSize`
commit d262d7175519d38a41b86f2568ae125eef94598e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 18:07:58 2025 +0100
updated example
commit 60ddc28bf6665f479b1c89ccf8b399272afe9f5c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 18:07:49 2025 +0100
Removed single line input code for the moment
commit ffd309af755032fb0fc42b4cb3c5dce35c2a9959
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 13:05:48 2025 +0100
Implemented action responses to key presses
commit 02078f0c5947b9961ebc757ac7754ad513e9a3c8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 11:01:34 2025 +0100
implemented essential text input actions
commit 34fe77fa8deb37025f6ae6c9af31557c22c7f2ae
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 10:40:16 2025 +0100
Renamed TextInputCommand/Commands to TextInputAction/Actions.
Added skeleton `apply_text_input_actions` fn.
commit 7baaee5c90045fa56c62b785c27752ed264a0b16
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 10:29:14 2025 +0100
Fixed update_text_input_layout's params
commit f03fc74788acccbcb036f72f59690ac945156806
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 10:28:30 2025 +0100
Added minimal example
commit 5a78aef47b8fa224c9ca27a676971c4c61172be9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri Jun 27 10:28:07 2025 +0100
Made buffer_dimensions function pub crate
commit bb860facd5638a7871f7df95098a2af4dd02d77c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jun 24 16:06:06 2025 +0100
Added `fetch_text_async` function
commit dfdbe2225ef3dd9aa7d72b859969579f399c1f47
Merge: 3552f6c75d bd4258bf5c
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jun 24 15:11:38 2025 +0100
Merge branch 'main' into clipboard
commit 3552f6c75dd0fd474b5dda2898bfa59cf0dafc17
Merge: e403912d4a c1cd17d497
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue Jun 24 15:09:42 2025 +0100
Merge pull request #8 from andrewzhurov/clipboard
Clipboard bevy/main merge
commit c1cd17d497a50d3c9979f48b61026911b271eddc
Author: Andrew Zhurov <zhurov.andrew@gmail.com>
Date: Mon Jun 23 09:26:31 2025 +0300
migrate clipboard example
commit 07adf25fc1553cc4016bd32a142918d63b03dd7f
Author: Andrew Zhurov <zhurov.andrew@gmail.com>
Date: Mon Jun 23 09:25:46 2025 +0300
0.16.0-dev -> 0.17.0-dev
commit 8b7126f0a316e38c90ebb01a35effcf40b2fc35e
Merge: e403912d4a efd17f133d
Author: Andrew Zhurov <zhurov.andrew@gmail.com>
Date: Mon Jun 23 08:43:03 2025 +0300
Merge remote-tracking branch 'bevy/main' into clipboard
commit 5449a3de42950bc6c22d9ee92b972909d2c54fc2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Thu Jun 19 11:52:46 2025 +0100
cleaning up observer functions
commit 1484187f3c948721105f31fa32813822b3427b2a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 13:57:59 2025 +0100
Added `SelectLine` variant to `TextInputCommand`
commit fd187f50366d8ee2197a19e8bc187eace0ee4450
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 13:57:30 2025 +0100
Added `bevy_time` dependency to bevy_ui
commit f49b71cec108cf8379f356cb620980d27f2aefc0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 13:48:19 2025 +0100
Moved `text_input` widget to `bevy_ui`
commit b413c9b6d220f4716daf8de161655815601015dc
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 11:32:36 2025 +0100
Removed old `YAxisOrientation` code
commit 68b172238cb6d8c723a272fd3b566a9cd5f4d470
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 11:32:14 2025 +0100
migrated observers
commit 6d12b35018d067fd8760e64000c1543b015e0507
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 11:32:03 2025 +0100
Fixed bevy_text dependency
commit 09df6fabafd693ddbbc9fd0ed24d81314ffd5fc7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed Jun 18 11:08:52 2025 +0100
Initial commit. Migrated code from `bevy_ui_text_input.
`load_font_to_fontdb` now has a parameter for the font handle instead of the text_font component.
commit 13bd4e3cd455ffa1ea6531481828f9719e810bcd
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jun 14 16:10:48 2025 +0100
Added `TextInputCommand` enum
Added `TextInputCommands` component that wraps a `TextInputCommand` queue.
commit df603829dc1011435f1dfd6ac469d66af2b415e0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jun 14 15:07:37 2025 +0100
Added `TextInputBuffer` component wrapping a cosmic-text `Editor`
commit 2916c96305952b03d06f059dc1873996214d0bd0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat Jun 14 14:56:33 2025 +0100
Added input module to bevy_text
commit e403912d4a3134d87eecdb9d0ece23ff23fc9587
Merge: 2e44ed343d 3d3746e5d0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat May 24 16:35:53 2025 +0100
Merge branch 'main' into clipboard
commit 2e44ed343dfa76d62f3263e048469559c28f7307
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Sat May 24 16:12:45 2025 +0100
Return `Err(ClipboardError::ClipboardNotSupported)` when no clipboard support for platform.
commit bbfa2b85161c7c825879bde3d5f04e1568d9e26d
Merge: e09036ecaf 17914943a3
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 21:07:12 2025 +0100
Merge branch 'main' into clipboard
commit e09036ecaf305f193adb0aa22a424055629f466e
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 16:29:06 2025 +0100
convert string on wasm
commit 7ae694c2c30f670788a02561e231695b3dfcea1a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 15:33:17 2025 +0100
Edited comment.
commit 776c7c0a348522fcca9a9ad3bf139aefdab4e640
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 15:28:53 2025 +0100
Fixed spelling mistake
commit 5d3660f29201ad796bdcbc5509ad1760fc19dc40
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 15:25:55 2025 +0100
Cleaned up imports
commit c27f8c923d0bdf080ff801c2a61ec69fb0df1aa9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 15:23:27 2025 +0100
Fixed wasm32 imports
commit 7954954ffb2c20a711dbda52ebb4ad5baebbcde0
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 13:48:22 2025 +0100
Fixed cargo description
commit 41911941bdb8a8d4e43ca8dc5b919939b2117288
Merge: 0b89af6653 e7e9973c80
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 13:40:29 2025 +0100
Merge branch 'main' into clipboard
commit 0b89af6653d152b2f12cadb0234c3e8baa2c39c2
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 13:36:07 2025 +0100
updated doc comments
commit 68ff77ab13ed5b7234c33ece8c9fd21f84c44edb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 13:24:18 2025 +0100
Fixed grammar in comment
commit ddbe3b13070052411d6f471ae83f6a334d36d97a
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 13:22:51 2025 +0100
Renamed `ClipboardContents` to `ClipboardRead`
commit 0be5178d6fad0b5bbaf0e788accbdf8d8dade756
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 12:58:05 2025 +0100
renamed `get_or_poll` to `try_take`
commit a552a5c7e02d05df61fa5bec415e2f177bf4e04f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 11:58:07 2025 +0100
Added message to discriminate unknown arboard errors.
commit f672c3d9516e24d8ef868e5954f82b1556c4db1d
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 11:53:14 2025 +0100
Refactor to flatten the implementation.
Added `Clipboard` and `ClipboardContents` to the prelude.
commit 42fd98af552a961935e56d6099f905e1b6053822
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Mon May 19 11:49:43 2025 +0100
Added `clipboard` example
commit f77aef97e87ef0bac54050aed915d99049cc0678
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 20:34:34 2025 +0100
Removed futures depedency
commit eff775e6c6abb1ceb331fbfbf7f1f17a9f969108
Merge: 1025380f8a 5f08257b9f
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 20:03:28 2025 +0100
Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard
commit 1025380f8aafe7b0e0d5d8dfbd2465354ad26428
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 20:03:24 2025 +0100
Added extra comment
commit 5f08257b9fb65bcd2eb9cb116c61f95ca4968414
Merge: e6ad9f2664 95470df3c8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 19:56:39 2025 +0100
Merge branch 'main' into clipboard
commit e6ad9f266422db7619c727c463520ab821aa7040
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 19:22:14 2025 +0100
Removed unused imports.
commit 970ce9bfd5e0c76924737d5b8a20b099f3a164e7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 18:57:50 2025 +0100
use Mutex from bevy_platform
commit 5f4b4c8ecaa725a16440155959008d200ab377d7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 18:43:10 2025 +0100
Renamed `try_get` to `get_or_poll`, `get_text` to `fetch_text`
commit 91ab7c5bf1053ed9ac23fc7183f38479e6ec68df
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 18:35:58 2025 +0100
Reverted example changes
commit 242368c10b09aba722a047833084cbfbaf71d2bf
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 18:33:44 2025 +0100
Replaced `ClipboardText` with `ClipboardContents` enum.
commit 3237ed4caacb2d554783b15fbd86d89a3e8868e4
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Fri May 9 13:57:58 2025 +0100
added wasm32 support
commit bfce9eede53eb8ab02da564d1ebeda51827d7fa7
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 15:32:50 2025 +0100
Removed unused variable
commit 9683214a42d090efa1906a0dc9154818f517cdea
Merge: ef2f97188a d8da6bfdb6
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 13:28:47 2025 +0100
Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard
commit ef2f97188ad694a4fd1c1893616abe9303059559
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 13:28:45 2025 +0100
Cleanup
commit d8da6bfdb634fc170e43e95f7f30dd2705333c17
Merge: cb5fc373fb 4051465b06
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 13:22:27 2025 +0100
Merge branch 'main' into clipboard
commit cb5fc373fbcf040247044ae29fef234af3dce9fb
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 13:05:52 2025 +0100
Fixed incorrect error type.
commit 9617802bf35f9b8dfaa9775d831db6ad270c3397
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 13:03:49 2025 +0100
* Added `ClipboardError` enum.
* On unix targets an instance of `arboard::Clipboard` is stored in the `Clipboard` resource.
* Removed the desktop and dummy modules.
* Made `arboard` dependency conditional.
commit 0ed01c95e598d0770c0376fe6ba8d89bc6ab7759
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 12:06:23 2025 +0100
Update crates/bevy_clipboard/Cargo.toml
Co-authored-by: Gilles Henaux <ghx_github_priv@fastmail.com>
commit 586ee404de68bde38d49b9cf9e03d284e9bd0b04
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:56:36 2025 +0100
removed `new` method
commit abdbd01e3cdec0de040f48198524b44893550f2c
Merge: a9c79384f5 991d46c78b
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:49:19 2025 +0100
Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard
commit a9c79384f55763dd86fced4c2beb1f557311fd62
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:49:04 2025 +0100
ci fixes
commit 991d46c78be4adb11f9ff6d5b608d0b594db8c5e
Merge: 5e78819ad1 73cde28cf8
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:37:34 2025 +0100
Merge branch 'main' into clipboard
commit 5e78819ad1313add2579041b5838ef3bbc2c7992
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:02:14 2025 +0100
Revert changes to example
commit c6dae8e05d43a652164659938119add8a13812c4
Merge: 92b74cdba8 f16a1b9fe9
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:01:01 2025 +0100
Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard
commit 92b74cdba8990b332b4b7d4e82c08a63dcc91dae
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Wed May 7 00:00:55 2025 +0100
Added new very basic clipboard crate.
Enabled with the `bevy_clipboard` feature.
Supports setting and getting text to and from the clipboard.
Only supports desktop targets.
commit f16a1b9fe94c290c31234d1d3116f40dbcd00db5
Author: ickshonpe <david.curthoys@googlemail.com>
Date: Tue May 6 23:58:49 2025 +0100
Added new very basic clipboard crate.
Enabled with the `bevy_clipboard` feature.
Supports setting and getting text to and from the clipboard.
Only supports desktop targets.
Co-authored-by: Andrew Zhurov <zhurov.andrew@gmail.com>
Co-authored-by: ickshonpe <david.curthoys@googlemail.com>
Co-authored-by: Gilles Henaux <ghx_github_priv@fastmail.com>
Objective
undo_2library)bevy_text::inputmodule with no undo #20763Solution
Testing