mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* java/org/gnu/emacs/EmacsActivity.java (attachWindow): Guarantee that child windows promoted to toplevels receive layout parameters that direct them to receive their parents' dimensions. Otherwise, the size of the window as a child is retained on Huawei HarmonyOS 4.2 and possibly other Android distributions. * java/org/gnu/emacs/EmacsService.java (updateCursorAnchorInfo): Run anchor updates on the UI thread, as `InputMethodManager#updateCursorAnchorInfo' is liable to call `View#requestLayout'. * java/org/gnu/emacs/EmacsView.java (onMeasure): Always call `measureChildren', or child frames' onLayout handlers might not be invoked after they request a layout cycle and are duly processed in `onLayout'. (swapBuffers): Delete erroneous commentary. * java/org/gnu/emacs/EmacsWindow.java (viewLayout): If overrideRedirect, don't inadvertently clear rect.left and rect.top by recording the window's WM window-relative position. Fix typos. (reparentTo): Invalidate focus after transferring frame. (translateCoordinates): Account for override-redirect windows. Mostly important for mouse-drag-and-drop-region. |
||
|---|---|---|
| .. | ||
| org/gnu/emacs | ||
| res | ||
| AndroidManifest.xml.in | ||
| debug.sh | ||
| emacs.keystore | ||
| INSTALL | ||
| Makefile.in | ||
| proguard.conf | ||
| 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.