servo/ports/servoshell/desktop
Jonathan Schwender 538ac61a82
ohos: Add basic IME and keyboard support (#34188)
* ohos: Add basic IME and keyboard support

- Add extremely basic support for keyboard events
- Add basic IME support
   - Showing and hiding the IME
   - inserting text
   - deleting characters
   - very basic configuration of the IME

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* Apply suggestions from code review

Improve the log message

Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>

* Update ports/servoshell/egl/ohos.rs

Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>

* ohos: Bump the minimum required SDK version to 5.0

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* ohos: Remove pub from callbacks

The callbacks don't need to be public, as we will be registering them.

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* Rename composition event

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* ohos: clippy in log

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* ohos: address some clippy warnings

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* ohos: Raise Error in mach if unsupported SDK version is used.

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* Add keyboard-types dependency for android

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

---------

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2024-11-15 15:04:48 +00:00
..
protocols Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
app.rs ServoShell: Don't request redrawing again when processing a RedrawRequested event (#34008) 2024-10-25 14:48:47 +00:00
cli.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
egui_glue.rs Upgrade to egui@0.29.1 and winit@0.30.5 (#33751) 2024-10-10 17:18:03 +00:00
embedder.rs servoshell: Fix --no-default-features and make webxr optional on ohos/android (#34242) 2024-11-13 20:02:30 +00:00
events_loop.rs Avoid invalid lifetime extension for winit event loop. (#33962) 2024-10-22 09:32:03 +00:00
geometry.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
headed_window.rs servoshell: fix logical screen size calculation (#34096) 2024-11-01 10:35:43 +00:00
headless_window.rs servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
keyutils.rs servoshell: Clean up keyboard event conversion a little (#32564) 2024-06-19 19:38:56 +00:00
minibrowser.rs Upgrade to egui@0.29.1 and winit@0.30.5 (#33751) 2024-10-10 17:18:03 +00:00
mod.rs make protocol handlers registrable (#33104) 2024-08-22 04:11:16 +00:00
tracing.rs ohos: Add basic IME and keyboard support (#34188) 2024-11-15 15:04:48 +00:00
webview.rs Drop support for '--no-minibrowser' mode (#33677) 2024-10-07 08:00:32 +00:00
window_trait.rs Upgrade to egui@0.29.1 and winit@0.30.5 (#33751) 2024-10-10 17:18:03 +00:00