mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
* java/org/gnu/emacs/EmacsNative.java (sendDndDrag, sendDndUri) (sendDndText): Declare new event-sending functions. * java/org/gnu/emacs/EmacsView.java (onDragEvent): New function. * java/org/gnu/emacs/EmacsWindow.java (onDragEvent): New function; respond to each drag and drop event, request permissions if necessary and transfer dropped data to Lisp. * lisp/dnd.el (dnd-unescape-file-uris): New variable. (dnd-get-local-file-name): If that variable is nil, refrain from unescaping URLs provided. * lisp/term/android-win.el (android-handle-dnd-event): New function. (special-event-map): Bind drag-n-drop-event. * src/android.c (sendDndDrag, sendDndUri, sendDndText): New functions. * src/androidgui.h (enum android_event_type): New event types ANDROID_DND_DRAG_EVENT, ANDROID_DND_URI_EVENT, ANDROID_DND_TEXT_EVENT. (struct android_dnd_event): New structure. (union android_event) <dnd>: New field. * src/androidterm.c (handle_one_android_event) <ANDROID_DND_..._EVENT>: Generate drag-n-drop events for each of these types. (syms_of_androidterm) <Quri, Qtext>: New defsyms. |
||
|---|---|---|
| .. | ||
| org/gnu/emacs | ||
| res | ||
| AndroidManifest.xml.in | ||
| debug.sh | ||
| emacs.keystore | ||
| INSTALL | ||
| Makefile.in | ||
| README | ||
This directory holds the Java sources of the port of GNU Emacs to Android-like systems, along with files needed to create an application package out of them. If you need to build this port, please read the file INSTALL in this directory. The ``org/gnu/emacs'' subdirectory contains the Java sources under the ``org.gnu.emacs'' package identifier. ``AndroidManifest.xml'' contains a manifest describing the Java sources to the system. The ``res'' directory contains resources, mainly the Emacs icon and several ``boolean resources'' which are used as a form of conditional evaluation for manifest entries. `emacs.keystore' is the signing key used to build Emacs. It is kept here, and we encourage all people redistributing Emacs to use this key. It holds no security value, and otherwise it will be impossible to install different builds of Emacs on top of each other. Please keep the Java code indented with tabs and formatted according to the rules for C code in the GNU coding standards. Always use C-style comments. Refer to the file `admin/notes/java' in the toplevel directory of the Emacs distribution or repository for specifics regarding writing Java code for Emacs and the organization of the Android port.