<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/java, branch scratch/interpreted-function</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>Correctly verify availability of Android content URIs</title>
<updated>2024-04-18T02:38:22+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-18T02:37:31+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c19b988c2967f13597b7a3ceafb7c3cd40d83458'/>
<id>c19b988c2967f13597b7a3ceafb7c3cd40d83458</id>
<content type='text'>
* java/org/gnu/emacs/EmacsService.java (checkContentUri): Call
checkUriPermission with IPC-effective PID and UID rather than
checkCallingUriPermission, which never considers permissions of
Emacs itself, and delete the now-redundant workaround.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsService.java (checkContentUri): Call
checkUriPermission with IPC-effective PID and UID rather than
checkCallingUriPermission, which never considers permissions of
Emacs itself, and delete the now-redundant workaround.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove leftover tasks from previous Emacs sessions on startup</title>
<updated>2024-04-14T02:36:50+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-14T02:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2823eae0b7cb3bd3f2472fde9e13016a8d406a9a'/>
<id>2823eae0b7cb3bd3f2472fde9e13016a8d406a9a</id>
<content type='text'>
* java/org/gnu/emacs/EmacsService.java (onCreate): Call
removeOldTasks.

* java/org/gnu/emacs/EmacsWindowManager.java (removeOldTasks):
New function.

* java/proguard.conf: Optimize optimizer configuration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsService.java (onCreate): Call
removeOldTasks.

* java/org/gnu/emacs/EmacsWindowManager.java (removeOldTasks):
New function.

* java/proguard.conf: Optimize optimizer configuration.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix task-switching failures on Android 2.3</title>
<updated>2024-04-13T03:28:48+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-13T03:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4fc37710788cdab9ebf4264636999ba999a59547'/>
<id>4fc37710788cdab9ebf4264636999ba999a59547</id>
<content type='text'>
* java/org/gnu/emacs/EmacsWindowManager.java (registerWindow):
Don't specify F_A_MULTIPLE_TASK on Android 4.4 and earlier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsWindowManager.java (registerWindow):
Don't specify F_A_MULTIPLE_TASK on Android 4.4 and earlier.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize R8 configuration</title>
<updated>2024-04-11T02:15:25+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-11T02:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b9acfd7c2b9d1fa5c49e7bd9f78a040f7485b29b'/>
<id>b9acfd7c2b9d1fa5c49e7bd9f78a040f7485b29b</id>
<content type='text'>
* java/org/gnu/emacs/EmacsWindowManager.java (WindowConsumer):
Mark as package-local.

* java/proguard.conf: List only symbols that must be preserved,
enabling R8 to optimize the remainder.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsWindowManager.java (WindowConsumer):
Mark as package-local.

* java/proguard.conf: List only symbols that must be preserved,
enabling R8 to optimize the remainder.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust priority of Emacs background service notification</title>
<updated>2024-04-11T01:16:57+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-11T01:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7720c614afcf2b657c1edd1901cdc688e372a53c'/>
<id>7720c614afcf2b657c1edd1901cdc688e372a53c</id>
<content type='text'>
* java/org/gnu/emacs/EmacsService.java (onStartCommand): Reword
lightly and set importance to IMPORTANCE_LOW.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsService.java (onStartCommand): Reword
lightly and set importance to IMPORTANCE_LOW.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * java/Makefile.in: Render config.status relative to builddir.</title>
<updated>2024-04-11T01:16:57+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-11T00:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2733329b46a4687ef9e3d260cb776391ded47f52'/>
<id>2733329b46a4687ef9e3d260cb776391ded47f52</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* java/Makefile.in (classes.dex): Make proguard.conf relative to srcdir.</title>
<updated>2024-04-10T15:22:38+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-10T15:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=15bafc04322e9c4e85a00fe593239935eb723b6e'/>
<id>15bafc04322e9c4e85a00fe593239935eb723b6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* java/proguard.conf: New file.</title>
<updated>2024-04-10T14:33:33+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-10T14:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=049bdfdaec4ee0c791fbf034b683e06ee84ce1db'/>
<id>049bdfdaec4ee0c791fbf034b683e06ee84ce1db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize generated Android DEX bytecode</title>
<updated>2024-04-10T14:33:08+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-10T14:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ed88bed3afbc9922f020cf3a8803e08f2811e89b'/>
<id>ed88bed3afbc9922f020cf3a8803e08f2811e89b</id>
<content type='text'>
* configure.ac (D8): Attempt to locate the bundle where d8 is
installed, detect whether an installation of `r8' is similarly
present, and use this installation in place of d8 if so.

* java/Makefile.in (ANDROID_MIN_SDK, IS_D8_R8): New
substitutions.
(classes.dex): Provide --min-api, --debug or --release and
--pg-conf to d8 or r8.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* configure.ac (D8): Attempt to locate the bundle where d8 is
installed, detect whether an installation of `r8' is similarly
present, and use this installation in place of d8 if so.

* java/Makefile.in (ANDROID_MIN_SDK, IS_D8_R8): New
substitutions.
(classes.dex): Provide --min-api, --debug or --release and
--pg-conf to d8 or r8.
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve disagreements in accounting of tooltip positions on Android</title>
<updated>2024-04-07T06:51:29+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-04-07T06:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8ee1dc8f1f9aa47260f8151c9eea30fb1ccf878a'/>
<id>8ee1dc8f1f9aa47260f8151c9eea30fb1ccf878a</id>
<content type='text'>
* java/org/gnu/emacs/EmacsService.java (getLocationInWindow):
New function.

* java/org/gnu/emacs/EmacsWindow.java (translateCoordinates):
Derive "root window" position from the origin point of the
containing activity's window rather than that of the screen,
the two of which differ when "freeform mode" is enabled.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsService.java (getLocationInWindow):
New function.

* java/org/gnu/emacs/EmacsWindow.java (translateCoordinates):
Derive "root window" position from the origin point of the
containing activity's window rather than that of the screen,
the two of which differ when "freeform mode" is enabled.
</pre>
</div>
</content>
</entry>
</feed>
