<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/java/org, branch scratch/windows-98</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>Avoid races between the tooltip and compositor on X and Android</title>
<updated>2024-06-19T02:57:07+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-19T02:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5fceb53856583384e7adeab52494d1afc6eae666'/>
<id>5fceb53856583384e7adeab52494d1afc6eae666</id>
<content type='text'>
* java/org/gnu/emacs/EmacsView.java (onLayout): Don't send
exposure events when the window is still to be attached.

* src/androidfns.c (Fx_show_tip):

* src/xfns.c (Fx_show_tip): Block async input around initial
frame update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsView.java (onLayout): Don't send
exposure events when the window is still to be attached.

* src/androidfns.c (Fx_show_tip):

* src/xfns.c (Fx_show_tip): Block async input around initial
frame update.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix window class of Android tooltips</title>
<updated>2024-06-18T07:53:18+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-18T07:53:18+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=fb04a51894874aba3f9981723981ca336ba5ff77'/>
<id>fb04a51894874aba3f9981723981ca336ba5ff77</id>
<content type='text'>
* java/org/gnu/emacs/EmacsWindow.java (getWindowLayoutParams):
Declare as a panel, rather than an attached dialog.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsWindow.java (getWindowLayoutParams):
Declare as a panel, rather than an attached dialog.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reinforce bitmap reconfiguration on Android</title>
<updated>2024-06-17T09:45:48+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-17T09:43:24+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=82f0014273193d27c71a1fcb9be778c85cfa5e65'/>
<id>82f0014273193d27c71a1fcb9be778c85cfa5e65</id>
<content type='text'>
* java/org/gnu/emacs/EmacsView.java (EmacsView) &lt;unswapped&gt;: New
field in which to record whether the back buffer has received
contents beyond those present at the last buffer swap.
&lt;dimensionsLock&gt;: Delete field.
(onAttachedToWindow, onLayout, handleDirtyBitmap)
(prepareForLayout): Rather, synchronize window dimensions with
the view.
(getCanvas, getBitmap): Do not reconfigure the back buffer
bitmap if such outstanding data exists.
(postSwapBuffers): New function.
(swapBuffers): If such outstanding data exists and the back
bufferis pending reconfiguration, recreate the back buffer and
report exposure.

* src/androidterm.c (handle_one_android_event): Fix indentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsView.java (EmacsView) &lt;unswapped&gt;: New
field in which to record whether the back buffer has received
contents beyond those present at the last buffer swap.
&lt;dimensionsLock&gt;: Delete field.
(onAttachedToWindow, onLayout, handleDirtyBitmap)
(prepareForLayout): Rather, synchronize window dimensions with
the view.
(getCanvas, getBitmap): Do not reconfigure the back buffer
bitmap if such outstanding data exists.
(postSwapBuffers): New function.
(swapBuffers): If such outstanding data exists and the back
bufferis pending reconfiguration, recreate the back buffer and
report exposure.

* src/androidterm.c (handle_one_android_event): Fix indentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor adjustments to battery.el on Android</title>
<updated>2024-06-16T07:28:54+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-16T07:27:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a39f6480ea5b6d3f81db90808123cdeb54790787'/>
<id>a39f6480ea5b6d3f81db90808123cdeb54790787</id>
<content type='text'>
* src/android.c (android_query_battery):

* java/org/gnu/emacs/EmacsService.java (queryBattery19)
(queryBattery): Reorder items in value for consistency with
Fandroid_query_battery.

* lisp/battery.el (battery-status-function): Select
battery-android only when android-query-battery is present.
(battery-android): Return temperature and correct values of
power source constants.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/android.c (android_query_battery):

* java/org/gnu/emacs/EmacsService.java (queryBattery19)
(queryBattery): Reorder items in value for consistency with
Fandroid_query_battery.

* lisp/battery.el (battery-status-function): Select
battery-android only when android-query-battery is present.
(battery-android): Return temperature and correct values of
power source constants.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify bitmap reallocation on Android</title>
<updated>2024-06-16T03:35:44+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-16T03:35:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8d60b6bab8b95e4f3b350a8b093e8f60e3f83f69'/>
<id>8d60b6bab8b95e4f3b350a8b093e8f60e3f83f69</id>
<content type='text'>
* java/org/gnu/emacs/EmacsView.java: Update outdated commentary.
(handleDirtyBitmap): Don't copy contents of the previous bitmap
to the new.
(onLayout): Unconditionally expose upon layout changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsView.java: Update outdated commentary.
(handleDirtyBitmap): Don't copy contents of the previous bitmap
to the new.
(onLayout): Unconditionally expose upon layout changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate some redundant synchronization on Android</title>
<updated>2024-06-11T06:40:55+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-11T06:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=677f082b0feda295e6a710b5dac6040f57cfad8b'/>
<id>677f082b0feda295e6a710b5dac6040f57cfad8b</id>
<content type='text'>
* java/org/gnu/emacs/EmacsService.java (resetIC): Return on all
versions of Android if the connection need not be reset.

* java/org/gnu/emacs/EmacsView.java (getICMode, setICMode):
Remove needless synchronization.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsService.java (resetIC): Return on all
versions of Android if the connection need not be reset.

* java/org/gnu/emacs/EmacsView.java (getICMode, setICMode):
Remove needless synchronization.
</pre>
</div>
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2024-06-05T05:16:28+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2024-06-05T05:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3dcac22dd4225fdec0b97408da38f74de2a77bef'/>
<id>3dcac22dd4225fdec0b97408da38f74de2a77bef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim redundancies from EmacsTileObject</title>
<updated>2024-06-02T08:37:39+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-06-02T08:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=253b1d6ee817222b5394fa7791cfbb0de29e4a65'/>
<id>253b1d6ee817222b5394fa7791cfbb0de29e4a65</id>
<content type='text'>
* java/org/gnu/emacs/EmacsTileObject.java (EmacsTileObject)
&lt;colorFilter&gt;: Delete unused field.
&lt;paint&gt;: Qualify as `static'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsTileObject.java (EmacsTileObject)
&lt;colorFilter&gt;: Delete unused field.
&lt;paint&gt;: Qualify as `static'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Work around one Android bug and document another</title>
<updated>2024-05-23T09:46:48+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-05-23T09:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e96e4906c8cb2a8810f969579446f6d151954586'/>
<id>e96e4906c8cb2a8810f969579446f6d151954586</id>
<content type='text'>
* etc/PROBLEMS (Runtime problems specific to Android): Document
deficiency of "Android Keyboard (AOSP)."

* java/org/gnu/emacs/EmacsView.java (showOnScreenKeyboard):
Revert yesterday's change.

* java/org/gnu/emacs/EmacsWindow.java (toggleOnScreenKeyboard):
Sync with the UI thread after displaying the on-screen keyboard.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/PROBLEMS (Runtime problems specific to Android): Document
deficiency of "Android Keyboard (AOSP)."

* java/org/gnu/emacs/EmacsView.java (showOnScreenKeyboard):
Revert yesterday's change.

* java/org/gnu/emacs/EmacsWindow.java (toggleOnScreenKeyboard):
Sync with the UI thread after displaying the on-screen keyboard.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve compatibility with Android's default text editor</title>
<updated>2024-05-22T14:00:26+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2024-05-22T14:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=70effed88df2e99287cfdabb924854f69ed668e2'/>
<id>70effed88df2e99287cfdabb924854f69ed668e2</id>
<content type='text'>
* java/org/gnu/emacs/EmacsView.java (showOnScreenKeyboard):
Request a selection update if `inputConnection' has been
established, to more closely emulate the OS text editing widget.
(onCreateInputConnection) [EmacsService.DEBUG_IC]: Print current
selection values before reporting them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* java/org/gnu/emacs/EmacsView.java (showOnScreenKeyboard):
Request a selection update if `inputConnection' has been
established, to more closely emulate the OS text editing widget.
(onCreateInputConnection) [EmacsService.DEBUG_IC]: Print current
selection values before reporting them.
</pre>
</div>
</content>
</entry>
</feed>
