]> git.eshelyaron.com Git - emacs.git/commit
Update Android port
authorPo Lu <luangruo@yahoo.com>
Sun, 7 May 2023 03:09:56 +0000 (11:09 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 7 May 2023 03:09:56 +0000 (11:09 +0800)
commit889b61b99918d1c6313d4f884de2e2cb3ab466c9
tree963ea5823611ecc74a62098c1d37a378e2bfd83d
parentc0a52c6cef77b8bc83e9d373ac0d0899c93f7a37
Update Android port

* java/org/gnu/emacs/EmacsInputConnection.java
(requestCursorUpdates):
* java/org/gnu/emacs/EmacsNative.java (requestCursorUpdates):
* java/org/gnu/emacs/EmacsService.java (updateCursorAnchorInfo):
New functions.
* src/android.c (struct android_emacs_service)
(android_init_emacs_service): Add new method.
(android_update_cursor_anchor_info): New function.
* src/androidfns.c (android_set_preeditarea): New function.
* src/androidgui.h (enum android_ime_operation): New operation
`REQUEST_CURSOR_UPDATES'.
(struct android_ime_event): Document new meaning of `length'.
* src/androidterm.c (android_request_cursor_updates): New
function.
(android_handle_ime_event): Handle new operations.
(handle_one_android_event, android_draw_window_cursor): Update
the preedit area if needed, like on X.
(requestCursorUpdates): New function.
* src/androidterm.h (struct android_output): New field
`need_cursor_updates'.
java/org/gnu/emacs/EmacsInputConnection.java
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsService.java
src/android.c
src/androidfns.c
src/androidgui.h
src/androidterm.c
src/androidterm.h