]> git.eshelyaron.com Git - emacs.git/commit
Update Android port
authorPo Lu <luangruo@yahoo.com>
Tue, 18 Jul 2023 02:12:40 +0000 (10:12 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 18 Jul 2023 02:12:40 +0000 (10:12 +0800)
commit5ff31bf36cf00f9d5a378ce139fd5c2ae8d3f25e
tree5f1d6659da915840edcb12ed1931a8c379cedfce
parent46fd03a49617066fca87000378771caedfd150f3
Update Android port

* doc/lispref/commands.texi (Touchscreen Events): Describe
treatment of canceled touch sequences during touch event
translation.
* java/org/gnu/emacs/EmacsNative.java (EmacsNative): Update JNI
prototypes.
* java/org/gnu/emacs/EmacsWindow.java (motionEvent): Set
cancelation flag in events sent where appropriate.
* lisp/touch-screen.el (touch-screen-handle-point-update):
Improve treatment of horizontal scrolling near window edges.
(touch-screen-handle-touch): Don't handle point up if the touch
sequence has been canceled.
* src/android.c (sendTouchDown, sendTouchUp, sendTouchMove): New
argument `flags'.
* src/androidgui.h (enum android_touch_event_flags): New enum.
(struct android_touch_event): New field `flags'.
* src/androidterm.c (handle_one_android_event): Report
cancelation in TOUCHSCREEN_END_EVENTs.
* src/keyboard.c (make_lispy_event): Fix botched merge.
doc/lispref/commands.texi
java/org/gnu/emacs/EmacsNative.java
java/org/gnu/emacs/EmacsWindow.java
lisp/touch-screen.el
src/android.c
src/androidgui.h
src/androidterm.c
src/keyboard.c