<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/java/org, branch scratch/eq_rework</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Port to Android API 36</title>
<updated>2025-06-11T02:34:49+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-06-11T02:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=231c4f20ea17a406519d5797e8ea1afdd0111a7c'/>
<id>231c4f20ea17a406519d5797e8ea1afdd0111a7c</id>
<content type='text'>
* java/AndroidManifest.xml.in: Update targetSdkVersion to 36.

* java/INSTALL: Document revised compilation dependencies.

* java/org/gnu/emacs/EmacsActivity.java (interceptBackGesture):
New function.
(onCreate): Invoke the same to register back gesture callbacks
on Android 16 or better.

* java/org/gnu/emacs/EmacsWindow.java (onBackInvoked): New
function.

* src/keyboard.c (lispy_function_keys): Amend with new symbols
introduced in Android API 36.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/AndroidManifest.xml.in: Update targetSdkVersion to 36.

* java/INSTALL: Document revised compilation dependencies.

* java/org/gnu/emacs/EmacsActivity.java (interceptBackGesture):
New function.
(onCreate): Invoke the same to register back gesture callbacks
on Android 16 or better.

* java/org/gnu/emacs/EmacsWindow.java (onBackInvoked): New
function.

* src/keyboard.c (lispy_function_keys): Amend with new symbols
introduced in Android API 36.
</pre>
</div>
</content>
</entry>
<entry>
<title>Respond to display configuration updates on Android</title>
<updated>2025-04-10T07:25:38+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-04-10T07:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=884ede7c959b1331e1ede0b1b80f01a06c048bf5'/>
<id>884ede7c959b1331e1ede0b1b80f01a06c048bf5</id>
<content type='text'>
* java/org/gnu/emacs/EmacsNative.java
(sendConfigurationChanged): Declare function.

* java/org/gnu/emacs/EmacsSdk7FontDriver.java (Sdk7FontEntity)
(Sdk7FontObject): Do not access `metrics' field deleted from
`EmacsService'.

* java/org/gnu/emacs/EmacsService.java (EmacsService)
&lt;metrics, resources&gt;: Delete fields.
&lt;dpiX, dpiY, dpiScaled&gt;: New fields.
(onCreate): Adjust accordingly.  Record current display metrics
for subsequent comparison.
(onConfigurationChanged): New function.

* lisp/dynamic-setting.el (font-setting-change-default-font):
Enable on systems where font-get-system-font is not defined if
invoked with SET-FONT nil.

* src/android.c (sendConfigurationChanged): New function.

* src/androidgui.h (ANDROID_CONFIGURATION_CHANGED): New enumerator.
(struct android_configuration_changed): New structure.
(union android_event): Add `config' member.

* src/androidterm.c (handle_one_android_event): Handle
ANDROID_CONFIGURATION_CHANGED events.
(syms_of_androidterm): Define Qfont_render, and
Qdynamic_setting.  Provide the latter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsNative.java
(sendConfigurationChanged): Declare function.

* java/org/gnu/emacs/EmacsSdk7FontDriver.java (Sdk7FontEntity)
(Sdk7FontObject): Do not access `metrics' field deleted from
`EmacsService'.

* java/org/gnu/emacs/EmacsService.java (EmacsService)
&lt;metrics, resources&gt;: Delete fields.
&lt;dpiX, dpiY, dpiScaled&gt;: New fields.
(onCreate): Adjust accordingly.  Record current display metrics
for subsequent comparison.
(onConfigurationChanged): New function.

* lisp/dynamic-setting.el (font-setting-change-default-font):
Enable on systems where font-get-system-font is not defined if
invoked with SET-FONT nil.

* src/android.c (sendConfigurationChanged): New function.

* src/androidgui.h (ANDROID_CONFIGURATION_CHANGED): New enumerator.
(struct android_configuration_changed): New structure.
(union android_event): Add `config' member.

* src/androidterm.c (handle_one_android_event): Handle
ANDROID_CONFIGURATION_CHANGED events.
(syms_of_androidterm): Define Qfont_render, and
Qdynamic_setting.  Provide the latter.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * java/org/gnu/emacs/EmacsInputConnection.java: Fix commentary typo.</title>
<updated>2025-03-20T02:23:49+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-03-20T02:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f38f4588d7bb5dee9f6a5adc1b29bd457c70c7b2'/>
<id>f38f4588d7bb5dee9f6a5adc1b29bd457c70c7b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; * java/org/gnu/emacs/EmacsWindow.java (viewLayout): Typo in comment.</title>
<updated>2025-03-09T05:22:59+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-03-09T05:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4db604f3751ffb6a1fc3fd4277445a8f94cec13f'/>
<id>4db604f3751ffb6a1fc3fd4277445a8f94cec13f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Circumvent another styling issue in Android 15 QPR1</title>
<updated>2025-03-04T01:47:30+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-03-04T01:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d6aea7cc948f13615237a91d347b0383a3089a8a'/>
<id>d6aea7cc948f13615237a91d347b0383a3089a8a</id>
<content type='text'>
* java/org/gnu/emacs/EmacsView.java (popupMenu): On Android 15
and later, reload the default theme before displaying popup
menus.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsView.java (popupMenu): On Android 15
and later, reload the default theme before displaying popup
menus.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix styling issues on Android 15 QPR1</title>
<updated>2025-03-03T13:59:41+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-03-03T13:57:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=96d26b493618f59bbdd4de86be65e784735541c8'/>
<id>96d26b493618f59bbdd4de86be65e784735541c8</id>
<content type='text'>
* java/org/gnu/emacs/EmacsView.java (EmacsView): Guarantee that
frame views are created with the correct theme.

* java/res/values-v20/style.xml (EmacsStyle):

* java/res/values-v29/style.xml (EmacsStyle): Disable a swiping
gesture enabled on certain Android systems.

* java/res/values-v35/style.xml: Rename from `styles'.xml.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsView.java (EmacsView): Guarantee that
frame views are created with the correct theme.

* java/res/values-v20/style.xml (EmacsStyle):

* java/res/values-v29/style.xml (EmacsStyle): Disable a swiping
gesture enabled on certain Android systems.

* java/res/values-v35/style.xml: Rename from `styles'.xml.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from savannah/emacs-30</title>
<updated>2025-02-19T12:42:22+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-19T12:42:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9faa8d32a3db893db01debaaaa1db79ec1c1b33e'/>
<id>9faa8d32a3db893db01debaaaa1db79ec1c1b33e</id>
<content type='text'>
ded77fefffa Fix remaining Android bugs reported over the past months
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ded77fefffa Fix remaining Android bugs reported over the past months
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix remaining Android bugs reported over the past months</title>
<updated>2025-02-19T12:40:12+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-19T12:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ded77feffface0c167edacf0d807273f3d4878db'/>
<id>ded77feffface0c167edacf0d807273f3d4878db</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from savannah/emacs-30</title>
<updated>2025-02-19T07:36:08+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-19T07:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4fb5ff5426a994aa139614639f60333fd07c06b4'/>
<id>4fb5ff5426a994aa139614639f60333fd07c06b4</id>
<content type='text'>
e97be722d39 Properly move existing tooltips on Android
0cf3d341522 ; * ChangeLog.4: Reformat down to 28 March 2024.
ccaa0be8e71 ; * ChangeLog.4: Check in ommitted change.
b5410cbea2e ; * ChangeLog.4: Fix log entries down to the 1 May 2024.
be7625cae73 ; Fix typos
d447cd9fcc0 ; * ChangeLog.4: Update.
5dc2a573750 ; * admin/authors.el (authors-ignored-files): Ignore gnus...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e97be722d39 Properly move existing tooltips on Android
0cf3d341522 ; * ChangeLog.4: Reformat down to 28 March 2024.
ccaa0be8e71 ; * ChangeLog.4: Check in ommitted change.
b5410cbea2e ; * ChangeLog.4: Fix log entries down to the 1 May 2024.
be7625cae73 ; Fix typos
d447cd9fcc0 ; * ChangeLog.4: Update.
5dc2a573750 ; * admin/authors.el (authors-ignored-files): Ignore gnus...
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly move existing tooltips on Android</title>
<updated>2025-02-19T07:34:51+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-19T07:34:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e97be722d392056b6ef9e47664273ee2ca7df374'/>
<id>e97be722d392056b6ef9e47664273ee2ca7df374</id>
<content type='text'>
* java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an
override redirect window, additionally notify the window manager
of layout changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an
override redirect window, additionally notify the window manager
of layout changes.
</pre>
</div>
</content>
</entry>
</feed>
