]> git.eshelyaron.com Git - emacs.git/commit
Update Android port
authorPo Lu <luangruo@yahoo.com>
Wed, 31 May 2023 02:13:04 +0000 (10:13 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 31 May 2023 02:13:04 +0000 (10:13 +0800)
commit57903519eb61632c4a85fbaf420109892955079a
tree3dc2f961217870b96e0a1e96f52e9bdb331e4413
parent733a6776f9d665e5fd99bcc2a65c84c4360e277c
Update Android port

* java/debug.sh (is_root): Go back to using unix sockets; allow
adb to forward them correctly.
* java/org/gnu/emacs/EmacsInputConnection.java
(getExtractedText): Don't print text if NULL.
* java/org/gnu/emacs/EmacsService.java (EmacsService): New field
`imSyncInProgress'.
(updateIC): If an IM sync might be in progress, avoid deadlocks.
* java/org/gnu/emacs/EmacsView.java (onCreateInputConnection):
Set `imSyncInProgress' across synchronization point.
* src/android.c (android_check_query): Use __atomic_store_n.
(android_answer_query): New function.
(android_begin_query): Set `android_servicing_query' to 2.
Check once, and don't spin waiting for query to complete.
(android_end_query): Use __atomic_store_n.
(android_run_in_emacs_thread): Compare-and-exchange flag.  If
originally 1, fail.
* src/textconv.c (really_set_composing_text): Clear conversion
region if text is empty.
java/debug.sh
java/org/gnu/emacs/EmacsInputConnection.java
java/org/gnu/emacs/EmacsService.java
java/org/gnu/emacs/EmacsView.java
src/android.c
src/textconv.c