Skip to content

Commit ddacd42

Browse files
committed
Squashed commit of the following:
commit 8bb280f8adcf16d3b9fba32f1c269a639633c9ff Merge: 9f655bb9e3 70c6213fe6 Author: ickshonpe <[email protected]> Date: Thu Jul 31 13:38:37 2025 +0100 Merge branch 'main' into text-input-widget commit 9f655bb9e331decb83e43bb9db551631e202985d Merge: 5fcadba405 f19aa8dfcc Author: ickshonpe <[email protected]> Date: Wed Jul 30 23:49:09 2025 +0100 Merge branch 'main' into text-input-widget commit 5fcadba405b452121d4145439e643460de8a5ab4 Merge: b0eb343d33 ef0579cd65 Author: ickshonpe <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Wed Jul 30 21:07:08 2025 +0100 Merge branch 'main' into text-input-widget commit 683f292ab6a0076d823318faa608fc9083ec49e4 Author: ickshonpe <[email protected]> Date: Wed Jul 30 21:05:02 2025 +0100 Changed the `text_field` example to spawn containing some arabic text. commit 38fcefdd4984aaa32c353f8fa123915bc390b320 Author: ickshonpe <[email protected]> Date: Wed Jul 30 20:00:15 2025 +0100 Added new fonts, updated clipboard example commit 0072d3a83fc3a1325a1a71f4159cd3d17b245f23 Merge: ec632ea954 7dcf591102 Author: ickshonpe <[email protected]> Date: Wed Jul 30 19:39:49 2025 +0100 Merge branch 'clipboard' into text-input-widget commit 7dcf59110221fe799118fd7e0b0809aeb810069c Merge: 6c6fcf277b e08c78bbdb Author: ickshonpe <[email protected]> Date: Wed Jul 30 18:42:05 2025 +0100 Merge branch 'main' into clipboard commit ec632ea954fcfdcff188d5c42a1c3e1d8cd2c36d Merge: a08fa0f324 e08c78bbdb Author: ickshonpe <[email protected]> Date: Wed Jul 30 18:33:58 2025 +0100 Merge branch 'main' into text-input-widget commit a08fa0f324475c84e1206638b51f45d898fa7e6a Author: ickshonpe <[email protected]> Date: Wed Jul 30 18:31:17 2025 +0100 Reverted `TextLayout` component changes commit b8322b8feb2f7f5a0f52959891e857cb83dd059a Author: ickshonpe <[email protected]> Date: Wed Jul 30 18:29:37 2025 +0100 Removed selection block color component. commit 511daa207d7b7d40e8ea60ddd25b8296427fa578 Author: ickshonpe <[email protected]> Date: Wed Jul 30 11:20:32 2025 +0100 Fixed wrong system name commit 10141ff8192b4a9a1ada9bf4288b05a6cf07a055 Author: ickshonpe <[email protected]> Date: Wed Jul 30 10:49:26 2025 +0100 Updated prompt system doc comment commit 5c18ad1bc76f4b5d0dbb5bb85919d9a14a1c6dc4 Author: ickshonpe <[email protected]> Date: Wed Jul 30 10:48:05 2025 +0100 Renamed `text_input_prompt_system` to `update_text_input_prompt_layouts` commit 19519486b8b0d69906f03c9b3c40929dfe22e374 Author: ickshonpe <[email protected]> Date: Wed Jul 30 10:36:43 2025 +0100 Reorganized schedule. commit bbe9f3bcd19d2c39c2eb181f894323e839fbf29c Merge: 2516fe4987 12f605ea7c Author: ickshonpe <[email protected]> Date: Wed Jul 30 07:11:23 2025 +0100 Merge branch 'main' into text-input-widget commit 2516fe4987e3e1ce1dfda440c5be2d8f53c03d34 Author: ickshonpe <[email protected]> Date: Tue Jul 29 23:37:44 2025 +0100 resolve system ambiguities commit 3ddde2b5c9ce7a9b7628b75064f49f5b30464ebd Author: ickshonpe <[email protected]> Date: Tue Jul 29 23:15:47 2025 +0100 removed lifetime from const commit 855e15924f1e0fcb13d24854c25d91b3eb0fd6f2 Author: ickshonpe <[email protected]> Date: Tue Jul 29 23:09:42 2025 +0100 Removed rogue import from borders example commit 65c5b0373c1c0e43107e6968a6b65323bc1541f1 Author: ickshonpe <[email protected]> Date: Tue Jul 29 22:55:00 2025 +0100 Renamed line_input_node to text_field commit 59dea020d0fdc726aa939169ff758977ff4410c7 Merge: 0c23669f0a e28b37da9b Author: ickshonpe <[email protected]> Date: Tue Jul 29 22:33:05 2025 +0100 Merge branch 'main' into text-input-widget commit 0c23669f0a076c0b1980f1c086e4fd71ca68ce42 Author: ickshonpe <[email protected]> Date: Tue Jul 29 22:31:09 2025 +0100 lints again commit 8cb3f9b938730439284bad4998bfdfb370c60325 Merge: 261bf0dec7 45c997c45f Author: ickshonpe <[email protected]> Date: Tue Jul 29 22:20:20 2025 +0100 Merge branch 'main' into text-input-widget commit 261bf0dec70258d0b5d9063ae101ff966eaea7f3 Author: ickshonpe <[email protected]> Date: Tue Jul 29 22:19:56 2025 +0100 more and more lint fixes commit 45dc6d6ba4611b61bb349a0b9d530aedb23e6d3a Author: ickshonpe <[email protected]> Date: Tue Jul 29 21:53:22 2025 +0100 Fixed doc links commit 5fa71bdb9c52837acbcd008c55bc8ab084d9dec2 Author: ickshonpe <[email protected]> Date: Tue Jul 29 21:11:12 2025 +0100 lint fixes commit acf40f7644007a77bee0e09a47fcc4e14e8f340c Author: ickshonpe <[email protected]> Date: Tue Jul 29 21:05:44 2025 +0100 cargo run -p build-templated-pages -- update examples commit 86a4474bbd48d6643838b4b053ee430e2e1419c2 Author: ickshonpe <[email protected]> Date: Tue Jul 29 21:01:23 2025 +0100 Fixed example meta data again commit 931e41a9248c7649940b7960cbdff4bfca2594ab Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:58:27 2025 +0100 Fixed example links commit d5892733ef8625d53ea34a7bd8ec124e11f5506b Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:56:21 2025 +0100 Fixed example meta data commit 41651c29ba03bdcf6f0ba26e462a76e911dbc17f Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:51:31 2025 +0100 more lints commit 7f0152b91dcc3735c043a31dec3846496a588291 Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:47:40 2025 +0100 Even more lints commit 74a5522d8e342b55e4aab530303b033bd694fabc Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:44:28 2025 +0100 More lint fixes commit 4c4bb2573d776a16d73f81c5266a00ee9f7992be Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:40:23 2025 +0100 lint suggested fixes commit 25c74e751487813153f75cbb267536c8d14fa78e Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:26:50 2025 +0100 Fixed more typos commit 0d9f8e6c9e47c1af31cda06f7959e89f47156e81 Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:20:41 2025 +0100 Replaced internal import commit c76fb957c93185a0d68e1d2c88e873902d200ffe Merge: eb70de1ec7 be794d559f Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 29 20:18:38 2025 +0100 Fixed spelling errors. commit be794d559ff7085b5c04dc17d79f5a4663b1755b Merge: e6a90c77d4 e76a4ede8e Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:14:25 2025 +0100 Merge branch 'main' into text-input-widget commit e6a90c77d41d9f33e41ca63e990600feb6b2d49c Author: ickshonpe <[email protected]> Date: Tue Jul 29 20:13:36 2025 +0100 Removed internal import commit f1f8599fe8f56889f700a3e1944e37afaddd6d39 Author: ickshonpe <[email protected]> Date: Tue Jul 29 19:37:14 2025 +0100 Fixed crashes without `TextInputPlugin` in extraction due to missing modifiers resource. commit dec3b046186e17b0a34bf30afd57f1293dd189f9 Author: ickshonpe <[email protected]> Date: Tue Jul 29 18:22:31 2025 +0100 Moved requirements to TextInputBuffer. commit def817760410a698e1bf33494c1e810f5b5ed474 Author: ickshonpe <[email protected]> Date: Tue Jul 29 18:16:08 2025 +0100 Renamed `TextInputMultiClickDelay` to `TextInputMultiClickPeriod`. Added doc comment for struct. commit 7e4a0dca371817ac3b135de8e01f8de7d3cb6ca9 Author: ickshonpe <[email protected]> Date: Tue Jul 29 18:12:41 2025 +0100 Fixed password examples imports commit 8c49b814d62e657a4abdf54588bc1e6c86c37556 Author: ickshonpe <[email protected]> Date: Tue Jul 29 18:10:42 2025 +0100 more clean up commit 29de4d5db6b4e863c7be3ec6d04046e933de1bd7 Author: ickshonpe <[email protected]> Date: Tue Jul 29 18:00:48 2025 +0100 Removed `clear_on_submit` component commit ec85b33084e384d16e194ef008d9f9a18e7612d0 Author: ickshonpe <[email protected]> Date: Tue Jul 29 17:53:01 2025 +0100 Removed unused commit 30d9ff516570cd39684612049e36d7f3fecd352e Author: ickshonpe <[email protected]> Date: Tue Jul 29 17:49:13 2025 +0100 Don't add plugins by default, updated examples commit 88d69c3a59330297932a1a20a5807f12b122c1dc Author: ickshonpe <[email protected]> Date: Tue Jul 29 17:28:09 2025 +0100 Removed `TextInputSubmitBehaviour` component commit ec0c518c66ba979b06f958ed0246c6206f5a0bdf Author: ickshonpe <[email protected]> Date: Tue Jul 29 17:11:01 2025 +0100 Reworked measure lines system and schedule commit 7d1d1b1ee5b6395291bfd202bfb5dcb5cc7d8b8d Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:45:56 2025 +0100 Add options to text_box struct commit b929494ea38975af1ca6d58818acaf73fe0b2b14 Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:45:26 2025 +0100 Uncomponent Justify commit dd21c62cd05daa05a0181446b7ebea5be2a8e039 Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:43:51 2025 +0100 Update attributes from text_field component commit ccc95c19039d34d1ccbc8cc8f604ef5f4d5a870f Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:39:06 2025 +0100 Clean up commit 64beda8787c0e068497a678472d72b4e911ecf0f Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:33:24 2025 +0100 Removed unused commit e05de8e24a03a8501b8ff06f9e30b5196c33a76d Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:33:13 2025 +0100 Updated password_input example to show character count commit 5bd784b97f507e31fb518ce84fae6e1dd4857831 Merge: bd2f191d73 8398cab668 Author: ickshonpe <[email protected]> Date: Tue Jul 29 16:07:47 2025 +0100 Merge branch 'main' into text-input-widget-change-event commit bd2f191d73c81827bc0ac23e0df6549dd927e02b Author: ickshonpe <[email protected]> Date: Tue Jul 29 15:53:48 2025 +0100 Added sounds, not working commit b56d8214275478ec95caf29ee73175756836a83a Author: ickshonpe <[email protected]> Date: Tue Jul 29 15:07:00 2025 +0100 Implement change event commit e51cf045816ec0a0216aab132b12fc9d4f21490f Author: ickshonpe <[email protected]> Date: Tue Jul 29 14:18:52 2025 +0100 Removed unused line commit d71e6169e1a1eb9be4b10dd5cd3acf6a132ae544 Author: ickshonpe <[email protected]> Date: Tue Jul 29 14:17:27 2025 +0100 New TextInputEvent event, replaces TextInputSubmit event commit c428c69308c44c247186ffee413ca27a0a8f8477 Author: ickshonpe <[email protected]> Date: Tue Jul 29 13:47:53 2025 +0100 Fixed multi click for input field commit d8c8171e7cfca95835c6dbf72948a231c8bfb659 Author: ickshonpe <[email protected]> Date: Tue Jul 29 13:39:46 2025 +0100 Store multi click delay in a resource. commit f88a6bce36c855d64295b14d2641d2a66088c6a3 Author: ickshonpe <[email protected]> Date: Tue Jul 29 13:38:52 2025 +0100 Store space advance with in `TextInputBuffer` commit 089d2916a614f3dd782f783f4d8a7694c5ffe216 Author: ickshonpe <[email protected]> Date: Tue Jul 29 13:23:14 2025 +0100 Consolidated visual styling into `InputStyle` component commit c2a8b4b71e700a1994a2b357128f941a6198fbc6 Author: ickshonpe <[email protected]> Date: Tue Jul 29 12:28:41 2025 +0100 Fix ui_render prompt errors commit 0609a980ec76433d72556d582e90659495bebca8 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 29 12:18:28 2025 +0100 More docs commit d66edffe19771d3aca0704782fe527cc86e102ad Author: ickshonpe <[email protected]> Date: Tue Jul 29 12:10:13 2025 +0100 Renamed text input modules to `input_box` and `input_field` commit c8b3b232e6eecbc8b1afaa6d4b55b8c45613c219 Author: ickshonpe <[email protected]> Date: Tue Jul 29 12:08:32 2025 +0100 Updated documentation. commit 66c7b296cf9a1071ad3e4d75dc0c82389308e13c Author: ickshonpe <[email protected]> Date: Mon Jul 28 16:08:44 2025 +0100 Fixed redraw loop with password masks commit f8c64155ff47a405546769edab68d97521bcfe6f Author: ickshonpe <[email protected]> Date: Mon Jul 28 13:58:20 2025 +0100 Improved password buffer change detection commit 8f63c8b76a879de304edc0cb24fe0bf2cfadd27d Author: ickshonpe <[email protected]> Date: Mon Jul 28 11:47:18 2025 +0100 Added skeleton of a password input example commit 8f4dc02686a6751fe68b90bafc8d007cd7f6a2df Merge: a53975b6ba d1aab7c383 Author: ickshonpe <[email protected]> Date: Mon Jul 28 11:31:04 2025 +0100 Merge branch 'main' into text-input-widget commit a53975b6ba13d7f01ffcdadab3c721deeb4f70d2 Author: ickshonpe <[email protected]> Date: Wed Jul 23 17:43:39 2025 +0100 FIxed cursor size calculations commit 67350abcfba9cec348693a8c9b04b4df1bf68f02 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Wed Jul 23 16:16:00 2025 +0100 Cleaned up imports commit cb69e877b1856b348aa6d908b71f0cf4a04d67d4 Author: ickshonpe <[email protected]> Date: Wed Jul 23 16:15:17 2025 +0100 Fixed example so input nodes fill the space correctly commit 62c320c2f2d554742ab86946983dfcfab87b5d8c Author: ickshonpe <[email protected]> Date: Wed Jul 23 16:00:31 2025 +0100 Set no wrap on example outputs commit 0ea834ff74208b72afd417bcac3e7226aa900dac Author: ickshonpe <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Wed Jul 23 14:59:37 2025 +0100 Derived Copy and Clone for NavAction commit 6e9433b444d0e1b8414880c141e08e40bd0695b0 Author: ickshonpe <[email protected]> Date: Wed Jul 23 00:46:11 2025 +0100 Removed unused commit 565081c06b797fcaf08864cd5165541f1bfb2ca2 Merge: 54ba401eee f858c0d6e1 Author: ickshonpe <[email protected]> Date: Tue Jul 22 22:47:52 2025 +0100 Merge branch 'main' into text-input-widget commit 54ba401eee2c810edda547305390e159c094af7b Author: ickshonpe <[email protected]> Date: Tue Jul 22 21:57:04 2025 +0100 Added comments commit ae0b136b7c84a29c33533f01e684812957d8006a Author: ickshonpe <[email protected]> Date: Tue Jul 22 21:56:46 2025 +0100 Improved text_input example layout commit 4c66c93f579ca121e8a94b5668d75a4fa3ebaddb Author: ickshonpe <[email protected]> Date: Tue Jul 22 18:06:10 2025 +0100 add clipboard contents display to `text_input` example commit b74d174b51304fcef81153d245e7699bc5a8447c Author: ickshonpe <[email protected]> Date: Tue Jul 22 17:52:04 2025 +0100 Fixed paste, Update examples commit 3e60085e74a80f2cd8f60e4dbea0bc31bfd27a41 Author: ickshonpe <[email protected]> Date: Tue Jul 22 17:37:46 2025 +0100 Removed unused import commit a48eee2dc1eb899295cddb0b0a86b7616cb5337b Author: ickshonpe <[email protected]> Date: Tue Jul 22 17:35:22 2025 +0100 remove input folder, move module commit 1c74aa62b2345de1d5637d84f9a5bde9bee1bb55 Author: ickshonpe <[email protected]> Date: Tue Jul 22 17:25:56 2025 +0100 updated examples commit 2ccc77c17b44e72db3705c4c612834a5e531ef21 Author: ickshonpe <[email protected]> Date: Tue Jul 22 17:03:51 2025 +0100 Added release content commit 5e6f6fc0e7686eae8727fa2a1c8622fa368b3b52 Merge: 5ead04d1be be76937a3c Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 22 16:56:55 2025 +0100 Merge branch 'extract-text-color-per-glyph' into text_input commit a3874e04dc2a80297156b1d711d90d0f5f11a4cd Author: ickshonpe <[email protected]> Date: Tue Jul 22 16:46:36 2025 +0100 Another overlay fix commit 236cbbc672cf5d006d30afeee098049de9148c72 Author: ickshonpe <[email protected]> Date: Tue Jul 22 16:46:15 2025 +0100 Migrated `debug_overlay` module. commit be76937a3c4f403db1c7c5ab6761e8b7cc6c9f7d Author: ickshonpe <[email protected]> Date: Tue Jul 22 16:44:26 2025 +0100 FIx errors from merge commit 3d0dc52abaef8787fec814165dab73c2a45f5148 Merge: 49e3c5be4d a25f1f0770 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 22 16:10:19 2025 +0100 Renamed `ExtractedGlyph`'s `position` field to `translation`. commit a790bfac8d3a6504a63615ab19446a084492c3e6 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 22 15:46:08 2025 +0100 Fixed `extract_gradients` commit 7d862152105091ab4ca39e422472df29d51f969b Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:43:29 2025 +0100 Move `color` and `rect` fields to ExtractedUiItem commit 304581f6331d35ddc2fa63bbe6d5fcf3ad8018bf Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:39:39 2025 +0100 Added `color` field to `ExtractedGlyph`. Extract text colors per glyph. commit 49e3c5be4d12359785fc20dd6509a9d8295ab005 Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:24:01 2025 +0100 Added requires for `TextSelectionBlockColor` commit 9360ea629f30629a2d6c064ac5b6ef8031fb2f1f Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:22:23 2025 +0100 Added TextSelectionBlockColor component Renamed TextInputHistory -> TextInputUndoHistory commit f5230543414e6ea03caccf756fd8b8c5a216a31c Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:08:26 2025 +0100 Added prompt to `text_input_node` example commit d588f34c17f9b322fd3b0f441889dd6f4d4cbd95 Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:08:11 2025 +0100 Added prompt extraction to `extract_text_input_nodes` commit f226477dfde1edf414127ee3256115712f6e7c23 Author: ickshonpe <[email protected]> Date: Tue Jul 22 15:07:38 2025 +0100 Added `PromptColor` component, removed `Color` from `PromptStyle` commit 5fdf7362ea2f64ab837f649ea4cfa53525d457fe Author: ickshonpe <[email protected]> Date: Tue Jul 22 14:46:23 2025 +0100 Added `Prompt` to example commit 4986aaaec6114969da247f4512d526a4c77cbb2e Author: ickshonpe <[email protected]> Date: Tue Jul 22 14:46:08 2025 +0100 Added `new` constructor fn for Prompt commit 49d2a0c21a9d9229726bc3398d8b75a590deee10 Author: ickshonpe <[email protected]> Date: Tue Jul 22 14:39:52 2025 +0100 made buffer borrow in mouse_wheel_scroll non-mutable commit 48dc85170138b0a88415fadf44a82a7dcddde219 Author: ickshonpe <[email protected]> Date: Tue Jul 22 14:37:57 2025 +0100 Added text_input_prompt_system to plugin schedule commit 647bfd1610ec49d975b117297ee212eb592fca2d Author: ickshonpe <[email protected]> Date: Tue Jul 22 14:36:58 2025 +0100 Added system to update text input prompt layouts. commit 6d3ef57ccd7ad013ca1c2223c9f4a5f52a3237d9 Author: ickshonpe <[email protected]> Date: Tue Jul 22 13:55:33 2025 +0100 Added `TextLayoutInfo::clear` method commit a8807f999395a5131eeea98bc2af508d7259b46e Author: ickshonpe <[email protected]> Date: Tue Jul 22 13:54:53 2025 +0100 Added `is_empty` function to `TextInputTarget`, added `TextInputPromptLayout` component. commit 04180c60a6ff4670ed8867227c6d4e4dc8cb6ecc Author: ickshonpe <[email protected]> Date: Tue Jul 22 13:31:07 2025 +0100 added `is_empty` method to `TextInputBuffer` commit e325febfc31ae59c45fd194be197c597a110da92 Author: ickshonpe <[email protected]> Date: Tue Jul 22 10:52:20 2025 +0100 Fixed cursor width commit e71c4cc32ac96078d3a33135deab20e1a3315868 Author: ickshonpe <[email protected]> Date: Tue Jul 22 10:39:34 2025 +0100 Never skip glyph under cursor commit 54c935715376092ea5bbb09f16e0f38248563a34 Author: ickshonpe <[email protected]> Date: Tue Jul 22 09:36:52 2025 +0100 Removed regex dependency commit 78d6567cb87ed016647b70d85bcabf5ec833fffa Author: ickshonpe <[email protected]> Date: Mon Jul 21 18:47:18 2025 +0100 Clean up example imports commit 5f67140f09d77b6dfa9741077b503f1439d07f22 Author: ickshonpe <[email protected]> Date: Mon Jul 21 18:28:57 2025 +0100 Added mousewheel scrolling for TextBox commit 2f1831ac4c6e5dc2e9043cfc84d7edb9587c07b6 Author: ickshonpe <[email protected]> Date: Mon Jul 21 17:48:09 2025 +0100 Added TextInputPromptLayout component newtypes TextLayoutInfo commit 9a8dce11baa28bb933d7a5be85f5b74caf7066d2 Author: ickshonpe <[email protected]> Date: Mon Jul 21 17:46:08 2025 +0100 Added is_buffer_empty helper function and `TextInputPrompt` component commit 56da1a732681ef37df8f4ef58f89d2fd616c2db8 Author: ickshonpe <[email protected]> Date: Mon Jul 21 16:43:54 2025 +0100 Fixed submission action, and propagation via the `TextInputSubmit` event. commit ac0779cb9ceb0e94141f1ffa230a299cbd0855d2 Author: ickshonpe <[email protected]> Date: Mon Jul 21 14:00:38 2025 +0100 Added get function to TextInputValue commit 7759dc78aade460ef95c00ecb45a45f4140d3753 Author: ickshonpe <[email protected]> Date: Mon Jul 21 13:45:16 2025 +0100 Improved example layout commit 8b161a381ac6595a87015f2d9030b73aae136e45 Author: ickshonpe <[email protected]> Date: Mon Jul 21 13:43:22 2025 +0100 Added `TextInputValue` component, contains current input contents, insert to set value. commit 3b0e682edc0bc41b4b4fc096c8eaba28659a1681 Author: ickshonpe <[email protected]> Date: Mon Jul 21 11:44:48 2025 +0100 update filters example commit 1a996e2a7a2050008d0c055c1e6bc1b83f2063bf Author: ickshonpe <[email protected]> Date: Sun Jul 20 21:46:36 2025 +0100 renamed LineInputNode to Textinput commit 3aef0d7670cd901201c5533750dbc40ebd97806a Merge: de9c8ef1a7 0c2f6b83e7 Author: ickshonpe <[email protected]> Date: Sun Jul 20 21:33:00 2025 +0100 Merge branch 'main' into text_input commit de9c8ef1a7d626c78f26864ed58dbe47615a733c Author: ickshonpe <[email protected]> Date: Sun Jul 20 21:31:58 2025 +0100 Renamed `FixedLayoutRunIter` to `ScrollingLayoutRunIter` commit b59cf9bca56aec8fb2ffcb6ec64eb2a8b2b49dd8 Author: ickshonpe <[email protected]> Date: Sun Jul 20 13:57:46 2025 +0100 New line iterator that doesn't skip clipped bottom lines. commit 1ff042274eea936bbc7edf16b2352d8612e723ad Author: ickshonpe <[email protected]> Date: Sun Jul 20 10:05:09 2025 +0100 Added text selection rendering commit 335924c76726f4cfc234a8561817698d8481f14b Author: ickshonpe <[email protected]> Date: Fri Jul 18 16:31:13 2025 +0100 fix warning commit 2a4203dd38fdb8b8808bcdd6d54ee1362b49265c Author: ickshonpe <[email protected]> Date: Fri Jul 18 16:25:48 2025 +0100 Fixed under cursor color rendering commit ba8fb95d933f3f279e2a093458e2da17a2d0c4cd Author: ickshonpe <[email protected]> Date: Fri Jul 18 15:30:06 2025 +0100 Removed logging commit 42125f7b92f89d4b6219905d5048dcd5694d3674 Author: ickshonpe <[email protected]> Date: Fri Jul 18 15:28:12 2025 +0100 Added `TextUnderCursorColor` component commit c9335c30efeca7b5f244dd406012478dc6c82c0d Author: ickshonpe <[email protected]> Date: Fri Jul 18 15:13:00 2025 +0100 Cleaned up cursor rendering commit 1cbf07e95e259491bfd4a9ee54d97640cc59c317 Author: ickshonpe <[email protected]> Date: Fri Jul 18 14:36:30 2025 +0100 Clean up unused commit ff613212d105cde20dbdd16cdec8681d4485a05e Author: ickshonpe <[email protected]> Date: Fri Jul 18 14:26:44 2025 +0100 Removed `cursor_size` field from `TextInputAttributes` commit dbfdde0f7c6ed73a5dec862d561faf08956a930a Author: ickshonpe <[email protected]> Date: Fri Jul 18 14:22:37 2025 +0100 Fixed SpaceAdvance updates commit b2ac17b323920cbaf5cbe49eae9681b82dff9626 Author: ickshonpe <[email protected]> Date: Fri Jul 18 11:40:41 2025 +0100 Increased default cursor width commit 94f2ef8076e61b65518acb14913c29697cfa87e0 Author: ickshonpe <[email protected]> Date: Fri Jul 18 10:39:00 2025 +0100 Renamed `TextInputNode` to `TextBox` and `LineInputNode` to `TextInput` commit 372b2142375472ab3bd10c1732b71334a4f9ab3a Author: ickshonpe <[email protected]> Date: Thu Jul 17 19:36:31 2025 +0100 Added `scroll` field to `TextLayoutInfo`, use to scroll horizontally commit 72e8a49bcf03e529958d3833755a0387762cb4b4 Author: ickshonpe <[email protected]> Date: Thu Jul 17 19:19:17 2025 +0100 updated filters example commit 1bb4293ce1e8f4a8aad8080d127a22b289fa0e2b Author: ickshonpe <[email protected]> Date: Thu Jul 17 19:02:46 2025 +0100 Removed unneeded component queries commit 80f19bbca722290ccd7f973409f6036833d98245 Author: ickshonpe <[email protected]> Date: Thu Jul 17 19:00:51 2025 +0100 Removed debug logging commit a0cbbdf4ef1f92b18f192f0876f1b7d9adb65ab1 Author: ickshonpe <[email protected]> Date: Thu Jul 17 19:00:15 2025 +0100 Fixed clipping and single line sizing. commit 8b021c4db42e165aefa96f267b345fb2f37ac907 Merge: 9e0eeee48f f964ee1e3a Author: ickshonpe <[email protected]> Date: Thu Jul 17 13:06:55 2025 +0100 Merge branch 'main' into text_input commit 9e0eeee48f106a9d992de3a7170b53e67a0e0feb Author: ickshonpe <[email protected]> Date: Thu Jul 17 13:06:33 2025 +0100 tweak examples commit f4633087258aae497482ec1f30e5c09b658d3391 Author: ickshonpe <[email protected]> Date: Thu Jul 17 12:59:10 2025 +0100 updated examples commit cad59ec9f205fde0946ed0046d060d6d755eea91 Author: ickshonpe <[email protected]> Date: Thu Jul 17 12:17:18 2025 +0100 Added local clipboard impl. commit ebcc5ea1277e1cd09a049b951913aafb0fca50de Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Thu Jul 17 11:05:49 2025 +0100 Added TextInputFilter regex helper message commit 954cc8bfceeaad3119677b2bef0ac9656be60311 Author: ickshonpe <[email protected]> Date: Thu Jul 17 10:59:35 2025 +0100 clean up imports commit ace8333b23bdccf1a5d56e3a08d12c01e5447f2e Author: ickshonpe <[email protected]> Date: Thu Jul 17 10:59:02 2025 +0100 updated line_inputs example commit 5f0a6e2a98d213bb9e7c7c10dc88b309ee72aeca Author: ickshonpe <[email protected]> Date: Thu Jul 17 10:58:47 2025 +0100 Added custom filter functions commit d3a55f4797ed088703c47c2f64529b091a0152c3 Author: ickshonpe <[email protected]> Date: Thu Jul 17 10:12:39 2025 +0100 Added `line_inputs` example commit 6d8f328cbef4e718c7eaaebbe9a090cbde96e6fe Author: ickshonpe <[email protected]> Date: Wed Jul 16 13:50:57 2025 +0100 added line height measurement for line inputs commit d6c6c90fe327a8e7d42b538a3cad59fc49c64d29 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Wed Jul 16 10:59:10 2025 +0100 Merge branch 'main' into text_input_merge commit 6c6fcf277ba68880f7c5c25e741aa1804ab15497 Merge: bb860facd5 8e14d99fb9 Author: ickshonpe <[email protected]> Date: Wed Jul 16 10:53:41 2025 +0100 Merge branch 'main' into clipboard commit ecc853512a6d2a304b7d54729efa55f9278cba2d Merge: c372e68ac2 cb64a4aa8a Author: ickshonpe <[email protected]> Date: Thu Jul 10 12:17:19 2025 +0100 Merge branch 'main' into text_input commit c372e68ac26b4d70c247a9d3103110afdc726a35 Author: ickshonpe <[email protected]> Date: Mon Jul 7 20:56:17 2025 +0100 Added `TextInputFilter` enum for filtering inputs by a regex commit f1f4314d64ba4be082fad45053837e59ececb86e Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Sat Jul 5 14:25:46 2025 +0100 Added component hooks for SingleLineTextInput commit 664c108d5a8c615153080f27c5d6abbb2d879baf Author: ickshonpe <[email protected]> Date: Sat Jul 5 13:43:07 2025 +0100 Add default impl for SingleLineTextInput commit a4333f530b3147ad5be8a5719b87c2021893fff1 Author: ickshonpe <[email protected]> Date: Sat Jul 5 13:42:16 2025 +0100 Added `SingleLineTextInputNode` component commit 4cdf1d458a7d87af407fc352e8c6a2592370c679 Author: ickshonpe <[email protected]> Date: Sat Jul 5 12:44:25 2025 +0100 added max_chars to update_attributes commit ecaf2c27b138a7bd9f8fa7734a7f8c7aa31d0dcf Author: ickshonpe <[email protected]> Date: Fri Jul 4 16:34:45 2025 +0100 Disable scrolling for single line inputs commit e155d5a17009386da32d453a3e10d7a2e381c121 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Fri Jul 4 16:00:05 2025 +0100 Added `max_chars: usize` field to `TextInputAttributes`, text truncated if longer. commit 3b249f7215dafd13a90090c16fa74a338f4710f1 Author: ickshonpe <[email protected]> Date: Thu Jul 3 21:29:50 2025 +0100 Removed unused import commit 6b9e18d2b6843ceae83773003b257924820820d5 Author: ickshonpe <[email protected]> Date: Thu Jul 3 21:29:18 2025 +0100 Removed `TextInputMask` test code. commit 28d78020ea734bbcf617c268ca5f7e85eb46a2ee Author: ickshonpe <[email protected]> Date: Thu Jul 3 21:28:55 2025 +0100 Removed logging commit b0bdf296ec4ac1a79b4b40e6783f97fe728ae801 Author: ickshonpe <[email protected]> Date: Thu Jul 3 21:28:09 2025 +0100 Added `SingleLineTextInputBuffer` component for single line input support. commit ab55939c746baecb4f97aa5aa533e6ed2d20b0ea Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Thu Jul 3 19:07:01 2025 +0100 Added `TextInputPasswordMask` component commit 1a17d54b8bba95405e9771437f2e61030383996e Author: ickshonpe <[email protected]> Date: Thu Jul 3 19:04:26 2025 +0100 Removed unused import commit 8d25aea68665a5add6e801a4ef8521e2a50485fd Author: ickshonpe <[email protected]> Date: Thu Jul 3 19:02:57 2025 +0100 Added overwrite mode commit d839efb2c918e9a61dc0f36d13ddb3fcd470b0ff Author: ickshonpe <[email protected]> Date: Thu Jul 3 15:51:15 2025 +0100 Removed unused imports commit a2ef72643d7ffb00ed6cc1c81dbb9b8599f3d236 Author: ickshonpe <[email protected]> Date: Thu Jul 3 12:38:37 2025 +0100 Removed unused commit 855d533349fba3eda7c50d526f6c96d298530f88 Author: ickshonpe <[email protected]> Date: Thu Jul 3 12:35:48 2025 +0100 split up target and attributes buffer updates commit 9fe4b62bed94e824cd87afcb92fe94bf7243a52a Author: ickshonpe <[email protected]> Date: Thu Jul 3 12:23:56 2025 +0100 Added `TextInputHistory` component and undo and redo support. commit 80e4bb68e2bead1fdc21f5fc71bc5de70c9ddf27 Author: ickshonpe <[email protected]> Date: Thu Jul 3 11:41:39 2025 +0100 Removed rendering debug logging commit 0b9b02f1f6967bfb1e6ea522e7645ebc6f625309 Author: ickshonpe <[email protected]> Date: Wed Jul 2 13:22:55 2025 +0100 Added `TextCursorStyle` and `TextCursorBlinkTimer` components and required them on `TextInputNode` commit 5bdbba6441648029820feb83592c05cbdb95e2d9 Author: ickshonpe <[email protected]> Date: Wed Jul 2 13:21:29 2025 +0100 Added cursor geometry to TextLayoutInfo commit 9f6d81778e462a67b40297b6e3b4a8326d0c3131 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Wed Jul 2 11:26:06 2025 +0100 Updated example commit 8922e9328eaad5abec5ea9718ae896caf0defabf Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Wed Jul 2 11:25:02 2025 +0100 Made TextInputAttributes fields pub. commit 3f493a8a3c67ddc982f6ed27d451b3262654ba27 Author: ickshonpe <[email protected]> Date: Wed Jul 2 11:24:24 2025 +0100 Added Orbitron font for testing. commit e72b86f11b29eb208eab35905c9a186ecb4021ca Author: ickshonpe <[email protected]> Date: Wed Jul 2 10:44:58 2025 +0100 Added `get_text` method to `TextInputBuffer` commit da1cf3987a2bdc618b974071848539f17321cf16 Author: ickshonpe <[email protected]> Date: Wed Jul 2 10:40:12 2025 +0100 Renamed `SetContents` to `SetText` commit 813d226515e30779e0cb1e0313291d469c36baa4 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 1 21:09:19 2025 +0100 Fixed schedule and rendering commit 17e5785dfdde65261747ac1332b6ef97e9d56bc7 Author: ickshonpe <[email protected]> Date: Tue Jul 1 21:08:50 2025 +0100 Added bevy_log to bevy_ui dependencies commit 4aacda84f3b74e8bb08d3a50c7b0ec425bdbf231 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Tue Jul 1 12:52:37 2025 +0100 Added bevy_input_focus plugins to example commit 4614cfa3ed6b13003f06369ba271ef9196494d76 Author: ickshonpe <[email protected]> Date: Tue Jul 1 12:51:56 2025 +0100 Added plugins commit a7e29e927b6bc5cd43724da7befd0d7101412e0e Author: ickshonpe <[email protected]> Date: Tue Jul 1 12:35:13 2025 +0100 Fixed errors due to merge commit b72cf1a02b6cc07571cee19c313556b9dbad9beb Author: ickshonpe <[email protected]> Date: Tue Jul 1 12:29:59 2025 +0100 Updated dependencies commit 57ee61f81fe1d3a4a1d1127d8d510e2bb7b4b63a Merge: 1616ee4be3 8351da45f8 Author: ickshonpe <[email protected]> Date: Tue Jul 1 10:48:14 2025 +0100 Merge branch 'main' into text_input commit 1616ee4be37b1c904fc82d2c3d4962e1078ac787 Merge: bf5fd2825a 01eff3ea93 Author: ickshonpe <[email protected]> Date: Mon Jun 30 14:30:31 2025 +0100 Merge branch 'main' into text_input commit bf5fd2825a91ed4e6191f6b6d2d296e6985ea5a6 Author: ickshonpe <[email protected]> Date: Mon Jun 30 10:12:52 2025 +0100 added on_remove_input_focus observer commit 3f400d429a9c61378640520feddddf24d21755b6 Author: ickshonpe <[email protected]> Date: Mon Jun 30 10:10:40 2025 +0100 Add derives for `TextInputSize` commit d262d7175519d38a41b86f2568ae125eef94598e Author: ickshonpe <[email protected]> Date: Fri Jun 27 18:07:58 2025 +0100 updated example commit 60ddc28bf6665f479b1c89ccf8b399272afe9f5c Author: ickshonpe <[email protected]> Date: Fri Jun 27 18:07:49 2025 +0100 Removed single line input code for the moment commit ffd309af755032fb0fc42b4cb3c5dce35c2a9959 Author: ickshonpe <[email protected]> Date: Fri Jun 27 13:05:48 2025 +0100 Implemented action responses to key presses commit 02078f0c5947b9961ebc757ac7754ad513e9a3c8 Author: ickshonpe <[email protected]> Date: Fri Jun 27 11:01:34 2025 +0100 implemented essential text input actions commit 34fe77fa8deb37025f6ae6c9af31557c22c7f2ae Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Fri Jun 27 10:29:14 2025 +0100 Fixed update_text_input_layout's params commit f03fc74788acccbcb036f72f59690ac945156806 Author: ickshonpe <[email protected]> Date: Fri Jun 27 10:28:30 2025 +0100 Added minimal example commit 5a78aef47b8fa224c9ca27a676971c4c61172be9 Author: ickshonpe <[email protected]> Date: Fri Jun 27 10:28:07 2025 +0100 Made buffer_dimensions function pub crate commit bb860facd5638a7871f7df95098a2af4dd02d77c Author: ickshonpe <[email protected]> Date: Tue Jun 24 16:06:06 2025 +0100 Added `fetch_text_async` function commit dfdbe2225ef3dd9aa7d72b859969579f399c1f47 Merge: 3552f6c75d bd4258bf5c Author: ickshonpe <[email protected]> Date: Tue Jun 24 15:11:38 2025 +0100 Merge branch 'main' into clipboard commit 3552f6c75dd0fd474b5dda2898bfa59cf0dafc17 Merge: e403912d4a c1cd17d497 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Mon Jun 23 09:26:31 2025 +0300 migrate clipboard example commit 07adf25fc1553cc4016bd32a142918d63b03dd7f Author: Andrew Zhurov <[email protected]> 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 <[email protected]> Date: Mon Jun 23 08:43:03 2025 +0300 Merge remote-tracking branch 'bevy/main' into clipboard commit 5449a3de42950bc6c22d9ee92b972909d2c54fc2 Author: ickshonpe <[email protected]> Date: Thu Jun 19 11:52:46 2025 +0100 cleaning up observer functions commit 1484187f3c948721105f31fa32813822b3427b2a Author: ickshonpe <[email protected]> Date: Wed Jun 18 13:57:59 2025 +0100 Added `SelectLine` variant to `TextInputCommand` commit fd187f50366d8ee2197a19e8bc187eace0ee4450 Author: ickshonpe <[email protected]> Date: Wed Jun 18 13:57:30 2025 +0100 Added `bevy_time` dependency to bevy_ui commit f49b71cec108cf8379f356cb620980d27f2aefc0 Author: ickshonpe <[email protected]> Date: Wed Jun 18 13:48:19 2025 +0100 Moved `text_input` widget to `bevy_ui` commit b413c9b6d220f4716daf8de161655815601015dc Author: ickshonpe <[email protected]> Date: Wed Jun 18 11:32:36 2025 +0100 Removed old `YAxisOrientation` code commit 68b172238cb6d8c723a272fd3b566a9cd5f4d470 Author: ickshonpe <[email protected]> Date: Wed Jun 18 11:32:14 2025 +0100 migrated observers commit 6d12b35018d067fd8760e64000c1543b015e0507 Author: ickshonpe <[email protected]> Date: Wed Jun 18 11:32:03 2025 +0100 Fixed bevy_text dependency commit 09df6fabafd693ddbbc9fd0ed24d81314ffd5fc7 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Sat Jun 14 16:10:48 2025 +0100 Added `TextInputCommand` enum Added `TextInputCommands` component that wraps a `TextInputCommand` queue. commit df603829dc1011435f1dfd6ac469d66af2b415e0 Author: ickshonpe <[email protected]> Date: Sat Jun 14 15:07:37 2025 +0100 Added `TextInputBuffer` component wrapping a cosmic-text `Editor` commit 2916c96305952b03d06f059dc1873996214d0bd0 Author: ickshonpe <[email protected]> Date: Sat Jun 14 14:56:33 2025 +0100 Added input module to bevy_text commit e403912d4a3134d87eecdb9d0ece23ff23fc9587 Merge: 2e44ed343d 3d3746e5d0 Author: ickshonpe <[email protected]> Date: Sat May 24 16:35:53 2025 +0100 Merge branch 'main' into clipboard commit 2e44ed343dfa76d62f3263e048469559c28f7307 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Mon May 19 21:07:12 2025 +0100 Merge branch 'main' into clipboard commit e09036ecaf305f193adb0aa22a424055629f466e Author: ickshonpe <[email protected]> Date: Mon May 19 16:29:06 2025 +0100 convert string on wasm commit 7ae694c2c30f670788a02561e231695b3dfcea1a Author: ickshonpe <[email protected]> Date: Mon May 19 15:33:17 2025 +0100 Edited comment. commit 776c7c0a348522fcca9a9ad3bf139aefdab4e640 Author: ickshonpe <[email protected]> Date: Mon May 19 15:28:53 2025 +0100 Fixed spelling mistake commit 5d3660f29201ad796bdcbc5509ad1760fc19dc40 Author: ickshonpe <[email protected]> Date: Mon May 19 15:25:55 2025 +0100 Cleaned up imports commit c27f8c923d0bdf080ff801c2a61ec69fb0df1aa9 Author: ickshonpe <[email protected]> Date: Mon May 19 15:23:27 2025 +0100 Fixed wasm32 imports commit 7954954ffb2c20a711dbda52ebb4ad5baebbcde0 Author: ickshonpe <[email protected]> Date: Mon May 19 13:48:22 2025 +0100 Fixed cargo description commit 41911941bdb8a8d4e43ca8dc5b919939b2117288 Merge: 0b89af6653 e7e9973c80 Author: ickshonpe <[email protected]> Date: Mon May 19 13:40:29 2025 +0100 Merge branch 'main' into clipboard commit 0b89af6653d152b2f12cadb0234c3e8baa2c39c2 Author: ickshonpe <[email protected]> Date: Mon May 19 13:36:07 2025 +0100 updated doc comments commit 68ff77ab13ed5b7234c33ece8c9fd21f84c44edb Author: ickshonpe <[email protected]> Date: Mon May 19 13:24:18 2025 +0100 Fixed grammar in comment commit ddbe3b13070052411d6f471ae83f6a334d36d97a Author: ickshonpe <[email protected]> Date: Mon May 19 13:22:51 2025 +0100 Renamed `ClipboardContents` to `ClipboardRead` commit 0be5178d6fad0b5bbaf0e788accbdf8d8dade756 Author: ickshonpe <[email protected]> Date: Mon May 19 12:58:05 2025 +0100 renamed `get_or_poll` to `try_take` commit a552a5c7e02d05df61fa5bec415e2f177bf4e04f Author: ickshonpe <[email protected]> Date: Mon May 19 11:58:07 2025 +0100 Added message to discriminate unknown arboard errors. commit f672c3d9516e24d8ef868e5954f82b1556c4db1d Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Mon May 19 11:49:43 2025 +0100 Added `clipboard` example commit f77aef97e87ef0bac54050aed915d99049cc0678 Author: ickshonpe <[email protected]> Date: Fri May 9 20:34:34 2025 +0100 Removed futures depedency commit eff775e6c6abb1ceb331fbfbf7f1f17a9f969108 Merge: 1025380f8a 5f08257b9f Author: ickshonpe <[email protected]> Date: Fri May 9 20:03:28 2025 +0100 Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard commit 1025380f8aafe7b0e0d5d8dfbd2465354ad26428 Author: ickshonpe <[email protected]> Date: Fri May 9 20:03:24 2025 +0100 Added extra comment commit 5f08257b9fb65bcd2eb9cb116c61f95ca4968414 Merge: e6ad9f2664 95470df3c8 Author: ickshonpe <[email protected]> Date: Fri May 9 19:56:39 2025 +0100 Merge branch 'main' into clipboard commit e6ad9f266422db7619c727c463520ab821aa7040 Author: ickshonpe <[email protected]> Date: Fri May 9 19:22:14 2025 +0100 Removed unused imports. commit 970ce9bfd5e0c76924737d5b8a20b099f3a164e7 Author: ickshonpe <[email protected]> Date: Fri May 9 18:57:50 2025 +0100 use Mutex from bevy_platform commit 5f4b4c8ecaa725a16440155959008d200ab377d7 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Fri May 9 18:35:58 2025 +0100 Reverted example changes commit 242368c10b09aba722a047833084cbfbaf71d2bf Author: ickshonpe <[email protected]> Date: Fri May 9 18:33:44 2025 +0100 Replaced `ClipboardText` with `ClipboardContents` enum. commit 3237ed4caacb2d554783b15fbd86d89a3e8868e4 Author: ickshonpe <[email protected]> Date: Fri May 9 13:57:58 2025 +0100 added wasm32 support commit bfce9eede53eb8ab02da564d1ebeda51827d7fa7 Author: ickshonpe <[email protected]> Date: Wed May 7 15:32:50 2025 +0100 Removed unused variable commit 9683214a42d090efa1906a0dc9154818f517cdea Merge: ef2f97188a d8da6bfdb6 Author: ickshonpe <[email protected]> Date: Wed May 7 13:28:47 2025 +0100 Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard commit ef2f97188ad694a4fd1c1893616abe9303059559 Author: ickshonpe <[email protected]> Date: Wed May 7 13:28:45 2025 +0100 Cleanup commit d8da6bfdb634fc170e43e95f7f30dd2705333c17 Merge: cb5fc373fb 4051465b06 Author: ickshonpe <[email protected]> Date: Wed May 7 13:22:27 2025 +0100 Merge branch 'main' into clipboard commit cb5fc373fbcf040247044ae29fef234af3dce9fb Author: ickshonpe <[email protected]> Date: Wed May 7 13:05:52 2025 +0100 Fixed incorrect error type. commit 9617802bf35f9b8dfaa9775d831db6ad270c3397 Author: ickshonpe <[email protected]> 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 <[email protected]> Date: Wed May 7 12:06:23 2025 +0100 Update crates/bevy_clipboard/Cargo.toml Co-authored-by: Gilles Henaux <[email protected]> commit 586ee404de68bde38d49b9cf9e03d284e9bd0b04 Author: ickshonpe <[email protected]> Date: Wed May 7 00:56:36 2025 +0100 removed `new` method commit abdbd01e3cdec0de040f48198524b44893550f2c Merge: a9c79384f5 991d46c78b Author: ickshonpe <[email protected]> Date: Wed May 7 00:49:19 2025 +0100 Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard commit a9c79384f55763dd86fced4c2beb1f557311fd62 Author: ickshonpe <[email protected]> Date: Wed May 7 00:49:04 2025 +0100 ci fixes commit 991d46c78be4adb11f9ff6d5b608d0b594db8c5e Merge: 5e78819ad1 73cde28cf8 Author: ickshonpe <[email protected]> Date: Wed May 7 00:37:34 2025 +0100 Merge branch 'main' into clipboard commit 5e78819ad1313add2579041b5838ef3bbc2c7992 Author: ickshonpe <[email protected]> Date: Wed May 7 00:02:14 2025 +0100 Revert changes to example commit c6dae8e05d43a652164659938119add8a13812c4 Merge: 92b74cdba8 f16a1b9fe9 Author: ickshonpe <[email protected]> Date: Wed May 7 00:01:01 2025 +0100 Merge branch 'clipboard' of https://github.com/ickshonpe/bevy into clipboard commit 92b74cdba8990b332b4b7d4e82c08a63dcc91dae Author: ickshonpe <[email protected]> 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 <[email protected]> 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.
1 parent d6790e4 commit ddacd42

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2713
-46
lines changed

Cargo.toml

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ default = [
133133
"animation",
134134
"bevy_asset",
135135
"bevy_audio",
136+
"bevy_clipboard",
136137
"bevy_color",
137138
"bevy_core_pipeline",
138139
"bevy_core_widgets",
@@ -291,6 +292,9 @@ bevy_log = ["bevy_internal/bevy_log"]
291292
# Enable input focus subsystem
292293
bevy_input_focus = ["bevy_internal/bevy_input_focus"]
293294

295+
# Clipboard access
296+
bevy_clipboard = ["bevy_internal/bevy_clipboard"]
297+
294298
# Headless widget collection for Bevy UI.
295299
bevy_core_widgets = ["bevy_internal/bevy_core_widgets"]
296300

@@ -2704,12 +2708,12 @@ category = "Input"
27042708
wasm = false
27052709

27062710
[[example]]
2707-
name = "text_input"
2708-
path = "examples/input/text_input.rs"
2711+
name = "ime_text_input"
2712+
path = "examples/input/ime_text_input.rs"
27092713
doc-scrape-examples = true
27102714

2711-
[package.metadata.example.text_input]
2712-
name = "Text Input"
2715+
[package.metadata.example.ime_text_input]
2716+
name = "IME Text Input"
27132717
description = "Simple text input with IME support"
27142718
category = "Input"
27152719
wasm = false
@@ -3404,6 +3408,17 @@ description = "Demonstrates dragging and dropping UI nodes"
34043408
category = "UI (User Interface)"
34053409
wasm = true
34063410

3411+
[[example]]
3412+
name = "clipboard"
3413+
path = "examples/ui/clipboard.rs"
3414+
doc-scrape-examples = true
3415+
3416+
[package.metadata.example.clipboard]
3417+
name = "Clipboard"
3418+
description = "Demonstrates accessing the clipboard to retrieve and display text"
3419+
category = "UI (User Interface)"
3420+
wasm = true
3421+
34073422
[[example]]
34083423
name = "display_and_visibility"
34093424
path = "examples/ui/display_and_visibility.rs"
@@ -3515,6 +3530,50 @@ description = "Illustrates creating and updating text"
35153530
category = "UI (User Interface)"
35163531
wasm = true
35173532

3533+
[[example]]
3534+
name = "text_box"
3535+
path = "examples/ui/text_box.rs"
3536+
doc-scrape-examples = true
3537+
3538+
[package.metadata.example.text_box]
3539+
name = "Text Box"
3540+
description = "Example demonstrating a text input box"
3541+
category = "UI (User Interface)"
3542+
wasm = true
3543+
3544+
[[example]]
3545+
name = "text_input"
3546+
path = "examples/ui/text_input.rs"
3547+
doc-scrape-examples = true
3548+
3549+
[package.metadata.example.text_input]
3550+
name = "Text Input"
3551+
description = "Example demonstrating multiple text inputs"
3552+
category = "UI (User Interface)"
3553+
wasm = true
3554+
3555+
[[example]]
3556+
name = "password_input"
3557+
path = "examples/ui/password_input.rs"
3558+
doc-scrape-examples = true
3559+
3560+
[package.metadata.example.password_input]
3561+
name = "Password Input"
3562+
description = "Example demonstrating a password input field"
3563+
category = "UI (User Interface)"
3564+
wasm = true
3565+
3566+
[[example]]
3567+
name = "text_field"
3568+
path = "examples/ui/text_field.rs"
3569+
doc-scrape-examples = true
3570+
3571+
[package.metadata.example.text_field]
3572+
name = "Single Line Text Input"
3573+
description = "Example demonstrating a single line text input"
3574+
category = "UI (User Interface)"
3575+
wasm = true
3576+
35183577
[[example]]
35193578
name = "text_background_colors"
35203579
path = "examples/ui/text_background_colors.rs"
212 KB
Binary file not shown.

assets/fonts/NotoSans-Medium.ttf

616 KB
Binary file not shown.

assets/fonts/OFL.txt

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/arabic)
2+
3+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
4+
This license is copied below, and is also available with a FAQ at:
5+
https://openfontlicense.org
6+
7+
8+
-----------------------------------------------------------
9+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10+
-----------------------------------------------------------
11+
12+
PREAMBLE
13+
The goals of the Open Font License (OFL) are to stimulate worldwide
14+
development of collaborative font projects, to support the font creation
15+
efforts of academic and linguistic communities, and to provide a free and
16+
open framework in which fonts may be shared and improved in partnership
17+
with others.
18+
19+
The OFL allows the licensed fonts to be used, studied, modified and
20+
redistributed freely as long as they are not sold by themselves. The
21+
fonts, including any derivative works, can be bundled, embedded,
22+
redistributed and/or sold with any software provided that any reserved
23+
names are not used by derivative works. The fonts and derivatives,
24+
however, cannot be released under any other type of license. The
25+
requirement for fonts to remain under this license does not apply
26+
to any document created using the fonts or their derivatives.
27+
28+
DEFINITIONS
29+
"Font Software" refers to the set of files released by the Copyright
30+
Holder(s) under this license and clearly marked as such. This may
31+
include source files, build scripts and documentation.
32+
33+
"Reserved Font Name" refers to any names specified as such after the
34+
copyright statement(s).
35+
36+
"Original Version" refers to the collection of Font Software components as
37+
distributed by the Copyright Holder(s).
38+
39+
"Modified Version" refers to any derivative made by adding to, deleting,
40+
or substituting -- in part or in whole -- any of the components of the
41+
Original Version, by changing formats or by porting the Font Software to a
42+
new environment.
43+
44+
"Author" refers to any designer, engineer, programmer, technical
45+
writer or other person who contributed to the Font Software.
46+
47+
PERMISSION & CONDITIONS
48+
Permission is hereby granted, free of charge, to any person obtaining
49+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
50+
redistribute, and sell modified and unmodified copies of the Font
51+
Software, subject to the following conditions:
52+
53+
1) Neither the Font Software nor any of its individual components,
54+
in Original or Modified Versions, may be sold by itself.
55+
56+
2) Original or Modified Versions of the Font Software may be bundled,
57+
redistributed and/or sold with any software, provided that each copy
58+
contains the above copyright notice and this license. These can be
59+
included either as stand-alone text files, human-readable headers or
60+
in the appropriate machine-readable metadata fields within text or
61+
binary files as long as those fields can be easily viewed by the user.
62+
63+
3) No Modified Version of the Font Software may use the Reserved Font
64+
Name(s) unless explicit written permission is granted by the corresponding
65+
Copyright Holder. This restriction only applies to the primary font name as
66+
presented to the users.
67+
68+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69+
Software shall not be used to promote, endorse or advertise any
70+
Modified Version, except to acknowledge the contribution(s) of the
71+
Copyright Holder(s) and the Author(s) or with their explicit written
72+
permission.
73+
74+
5) The Font Software, modified or unmodified, in part or in whole,
75+
must be distributed entirely under this license, and must not be
76+
distributed under any other license. The requirement for fonts to
77+
remain under this license does not apply to any document created
78+
using the Font Software.
79+
80+
TERMINATION
81+
This license becomes null and void if any of the above conditions are
82+
not met.
83+
84+
DISCLAIMER
85+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93+
OTHER DEALINGS IN THE FONT SOFTWARE.

assets/fonts/Orbitron-Medium.ttf

24.2 KB
Binary file not shown.

assets/sounds/invalid_key.ogg

3.99 KB
Binary file not shown.

assets/sounds/key_press.ogg

3.65 KB
Binary file not shown.

crates/bevy_clipboard/Cargo.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[package]
2+
name = "bevy_clipboard"
3+
version = "0.17.0-dev"
4+
edition = "2024"
5+
description = "Provides clipboard support for Bevy Engine"
6+
homepage = "https://bevyengine.org"
7+
repository = "https://github.com/bevyengine/bevy"
8+
license = "MIT OR Apache-2.0"
9+
keywords = ["bevy", "clipboard"]
10+
11+
[dependencies]
12+
# bevy
13+
bevy_app = { path = "../bevy_app", version = "0.17.0-dev", default-features = false }
14+
bevy_ecs = { path = "../bevy_ecs", version = "0.17.0-dev", default-features = false }
15+
bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev", default-features = false }
16+
17+
[target.'cfg(any(windows, unix))'.dependencies]
18+
arboard = { version = "3.5.0", default-features = false }
19+
20+
[target.'cfg(target_arch = "wasm32")'.dependencies]
21+
wasm-bindgen = { version = "0.2" }
22+
web-sys = { version = "0.3", features = ["Navigator", "Clipboard"] }
23+
wasm-bindgen-futures = "0.4"
24+
25+
[lints]
26+
workspace = true
27+
28+
[package.metadata.docs.rs]
29+
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
30+
all-features = true

0 commit comments

Comments
 (0)