]> git.eshelyaron.com Git - emacs.git/commit
Implement `yank-media' on Android
authorPo Lu <luangruo@yahoo.com>
Thu, 6 Apr 2023 01:56:23 +0000 (09:56 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 6 Apr 2023 01:56:23 +0000 (09:56 +0800)
commit3b07a4b3158d024c6eb19ce0e7c67b799ae0d1fc
tree079cb506217df20375835aa72c4bc52095c8c716
parent458c6e5c9171f41f327ef88f4a4999db586f8e91
Implement `yank-media' on Android

* doc/emacs/android.texi (Android Windowing): Update selection
restrictions.
* java/org/gnu/emacs/EmacsClipboard.java (EmacsClipboard): New
functions `getClipboardTargets' and `getClipboardData'.
* java/org/gnu/emacs/EmacsSdk11Clipboard.java
(EmacsSdk11Clipboard, getClipboardTargets, getClipboardData):
Implement.
* java/org/gnu/emacs/EmacsSdk8Clipboard.java: Stub out new
functions.

* lisp/term/android-win.el (android-get-clipboard-1): Implement
MIME type targets.
* src/android.c (android_exception_check)
(android_exception_check_1, android_exception_check_2): Fix
punctuation in warning message.
(android_exception_check_nonnull_1): New function.
* src/android.h: Update prototypes.
* src/androidselect.c (struct android_emacs_clipboard): New
methods.
(android_init_emacs_clipboard): Initialize new methods.
(Fandroid_get_clipboard_targets, android_xfree_inside)
(Fandroid_get_clipboard_data): New functions.
(syms_of_androidselect): Define new subrs.
doc/emacs/android.texi
java/org/gnu/emacs/EmacsClipboard.java
java/org/gnu/emacs/EmacsSdk11Clipboard.java
java/org/gnu/emacs/EmacsSdk8Clipboard.java
lisp/term/android-win.el
src/android.c
src/android.h
src/androidselect.c