<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chemacs.git/src/android.c, branch master</title>
<subtitle>emacs
</subtitle>
<id>http://cgit.adnoto.dev/chemacs.git/atom?h=master</id>
<link rel='self' href='http://cgit.adnoto.dev/chemacs.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/'/>
<updated>2026-05-24T02:18:53Z</updated>
<entry>
<title>Omit useless android_get_image casts</title>
<updated>2026-05-24T02:18:53Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2026-05-23T00:32:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=ece22174e52debbd96f2129c16bb539f48e9b849'/>
<id>urn:sha1:ece22174e52debbd96f2129c16bb539f48e9b849</id>
<content type='text'>
* src/android.c (android_get_image):
Omit useless and confusing casts.
</content>
</entry>
<entry>
<title>New function memory_full_up</title>
<updated>2026-05-24T02:18:52Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2026-05-20T01:39:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=1eb2e052bb55184d62c1dec265f6d327be4e9113'/>
<id>urn:sha1:1eb2e052bb55184d62c1dec265f6d327be4e9113</id>
<content type='text'>
* src/alloc.c (memory_full_up): New function.  Replace all callers
of memory_full (SIZE_MAX) with callers to this function.
This simplifies callers and should make future changes easier.
It also saves a whopping 296 bytes in executable size
with gcc 16.1.1 20260515 (Red Hat 16.1.1-2) x86-64.
</content>
</entry>
<entry>
<title>; Add 2026 to copyright years.</title>
<updated>2026-01-01T12:54:34Z</updated>
<author>
<name>Sean Whitton</name>
<email>spwhitton@spwhitton.name</email>
</author>
<published>2026-01-01T12:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=c31f6adc31d48076c63ad82b83b2970e1b0d7b9b'/>
<id>urn:sha1:c31f6adc31d48076c63ad82b83b2970e1b0d7b9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement set_window_size_and_position_hook on Android</title>
<updated>2025-12-23T02:39:45Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-12-23T02:39:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=b0140bcd44326632538dc377dd336b82a1df4dd9'/>
<id>urn:sha1:b0140bcd44326632538dc377dd336b82a1df4dd9</id>
<content type='text'>
* java/org/gnu/emacs/EmacsWindow.java (moveResizeWindow): New
method, which alters all of the bounding box of a window at
once.

* src/android.c (android_init_emacs_window): Load method
`move_resize_window'.
(android_move_resize_window): Invoke this method, rather than a
sequence of operations that will produce two ConfigureNotify
events.

* src/androidterm.c (android_set_window_size_and_position_1)
(android_set_window_size_and_position): New functions; ported
from X.
(android_create_terminal): Register the same.
</content>
</entry>
<entry>
<title>Support `toolkit-theme-set-functions' on Android and execute hooks safely</title>
<updated>2025-11-24T02:16:49Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-11-24T02:16:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=7550791287503ebc582c92841f6483032aa0b050'/>
<id>urn:sha1:7550791287503ebc582c92841f6483032aa0b050</id>
<content type='text'>
* java/org/gnu/emacs/EmacsNative.java (setEmacsParams): New arg
UIMODE.
(sendConfigurationChanged): New args DETAIL and UI_MODE.

* java/org/gnu/emacs/EmacsNoninteractive.java (main1): Provide
an undefined UI mode.

* java/org/gnu/emacs/EmacsService.java (EmacsService): New field
uiMode.
(onCreate): Initialize this field at start-up and provide the
same to setEmacsParams.
(onConfigurationChanged): If the UI mode has been altered,
generate a configuration changed event to match.

* src/android.c (android_ui_mode): New variable.
(setEmacsParams): New argument UI_MODE.  Initialize the same
from this variable.

* src/androidgui.h (enum android_configuration_changed): New
enum.
(struct android_configuration_changed_event): New field
`DETAIL'.  Convert fields providing specifics into a union of
display density information and a UI mode integer.

* src/androidterm.c (handle_one_android_event): Handle both
manners of configuration change events.
(android_term_init): Initialize Vtoolkit_theme from UI mode
provided at start-up.

* src/frame.c (syms_of_frame): Always define Vtoolkit_theme.
Define Qtoolkit_theme_set_functions.

* src/gtkutil.c (xg_update_dark_mode_for_all_displays):

* src/w32term.c (w32_read_socket): Generate special toolkit
theme events, rather than executing hooks directly within the
read_socket callback.

* src/keyboard.c (kbd_buffer_get_event)
&lt;TOOLKIT_THEME_CHANGED_EVENT&gt;: Run Qtoolkit_theme_set_functions
and set Vtoolkit_theme from event-&gt;ie.arg.

* src/termhooks.h (enum event_kind): New event
TOOLKIT_THEME_CHANGED_EVENT.
</content>
</entry>
<entry>
<title>Fix reference leak in displaying successive dashes of distinct styles on Android</title>
<updated>2025-09-20T02:08:05Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-09-20T02:07:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=245793432326b2fb12b3251516a7b7a3c08e28b0'/>
<id>urn:sha1:245793432326b2fb12b3251516a7b7a3c08e28b0</id>
<content type='text'>
* src/android.c (android_set_dashes): Always release local
reference to dash array even when it was returned by
GetObjectField.
</content>
</entry>
<entry>
<title>; * src/android.c (android_url_encode): Typo in comment.</title>
<updated>2025-08-09T01:28:00Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-08-09T01:26:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=533da29545a4acc63d736011da2aac586e457330'/>
<id>urn:sha1:533da29545a4acc63d736011da2aac586e457330</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Respond to display configuration updates on Android</title>
<updated>2025-04-10T07:25:38Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-04-10T07:21:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=884ede7c959b1331e1ede0b1b80f01a06c048bf5'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>; * src/android.c (android_rewrite_spawn_argv): Fix typo.</title>
<updated>2025-03-11T02:14:30Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-03-11T02:14:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=f6a56ddb5dd84c9984d49c9c223e043844ae47ae'/>
<id>urn:sha1:f6a56ddb5dd84c9984d49c9c223e043844ae47ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Permit executing programs with &gt;1024 args on Android</title>
<updated>2025-03-05T07:00:14Z</updated>
<author>
<name>Po Lu</name>
<email>luangruo@yahoo.com</email>
</author>
<published>2025-03-05T06:32:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=3d7cc22d25cef88464f18e5cc69eb696f8c8a4a2'/>
<id>urn:sha1:3d7cc22d25cef88464f18e5cc69eb696f8c8a4a2</id>
<content type='text'>
* src/android.c (MAXARGS): Delete enumerator.
(android_rewrite_spawn_argv): Don't mandate a maximum number of
arguments.
</content>
</entry>
</feed>
