<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/pgtkterm.c, branch scratch/cedet-object-name</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>Patch bug#77128</title>
<updated>2025-03-23T11:44:46+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-03-23T11:43:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7d14e35498209e45290f5c1297ded6d7175bf1ea'/>
<id>7d14e35498209e45290f5c1297ded6d7175bf1ea</id>
<content type='text'>
* src/pgtkterm.c (pgtk_flash): Destroy `cr_surface_visible_bell'
if still present.  (bug#77128)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/pgtkterm.c (pgtk_flash): Destroy `cr_surface_visible_bell'
if still present.  (bug#77128)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert “Avoid some union buffered_input_event uses”</title>
<updated>2025-03-04T06:28:59+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-03-04T06:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9415941a9c65b72a3bc20ae0ec1765f3c0ed657d'/>
<id>9415941a9c65b72a3bc20ae0ec1765f3c0ed657d</id>
<content type='text'>
Revert my commit 29a9fd4f4ba17822eca0f00c2037da3868bd874e
and the following commit 1ec0889e7b786d79351cee3ed4964d82295f059f.
This fixes a bug where ‘emacs -nw’ would sometimes freeze when Emacs is
configured with ‘--with-pgtk --enable-link-time-optimization
--disable-gc-mark-trace’ on GNU/Linux x86-64 (Bug#76729).
As it is not yet clear whether this freeze is due to an Emacs bug that
I introduced, or due to GCC bug 117423
&lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423&gt;,
play it safe for now and revert to the previous state.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert my commit 29a9fd4f4ba17822eca0f00c2037da3868bd874e
and the following commit 1ec0889e7b786d79351cee3ed4964d82295f059f.
This fixes a bug where ‘emacs -nw’ would sometimes freeze when Emacs is
configured with ‘--with-pgtk --enable-link-time-optimization
--disable-gc-mark-trace’ on GNU/Linux x86-64 (Bug#76729).
As it is not yet clear whether this freeze is due to an Emacs bug that
I introduced, or due to GCC bug 117423
&lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423&gt;,
play it safe for now and revert to the previous state.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid some union buffered_input_event uses</title>
<updated>2025-03-03T17:44:42+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-03-03T17:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=29a9fd4f4ba17822eca0f00c2037da3868bd874e'/>
<id>29a9fd4f4ba17822eca0f00c2037da3868bd874e</id>
<content type='text'>
Simplify by using separate local vars for struct input_event and
struct selection_input_event, rather than a single local var that
is the union of the two.  This makes the code easier to follow by
the human reader, and should help avoid GCC bug 117423
&lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423&gt; and
therefore work around Emacs bug 76559 &lt;https://bugs.gnu.org/76559&gt;.
* src/androidterm.c (handle_one_android_event):
* src/gtkutil.c (xg_widget_key_press_event_cb):
* src/pgtkterm.c (evq_flush):
* src/xterm.c (handle_one_xevent): Use struct input_event and
kbd_buffer_store_event_hold, or struct selection_input_event and
kbd_buffer_store_selection_event_hold, rather than union
buffered_input_event and union buffered_input_event.
* src/keyboard.c (beware_long_paste, maybe_quit_while_no_input):
New functions, broken out from kbd_buffer_store_buffered_event.
(kbd_buffer_store_event_hold): Define here, with a simplified
version of the body of the old kbd_buffer_store_buffered_event,
rather than defining in keyboard.h.  Specialize to struct
input_event.
(kbd_buffer_store_selection_event_hold): New function; it is
a simplified version of the old kbd_buffer_store_buffered_event,
specialized to struct selection_input_event.
(is_ignored_event_kind): Accept enum event_kind instead of
union buffered_input_event.  All callers changed.
* src/keyboard.h (kbd_buffer_store_event_hold):
Remove definition, as keyboard.c now defines it.
* src/pgtkterm.c (evq_grow_if_needed): New function.
(evq_enqueue, evq_selection_enqueue): Two functions now,
not one.  Args are now struct input_event const * or
struct selection_input_event const *, not
union buffered_input_event *.  All callers changed.
This lets us simplify the callers so that they need
not use the union.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify by using separate local vars for struct input_event and
struct selection_input_event, rather than a single local var that
is the union of the two.  This makes the code easier to follow by
the human reader, and should help avoid GCC bug 117423
&lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117423&gt; and
therefore work around Emacs bug 76559 &lt;https://bugs.gnu.org/76559&gt;.
* src/androidterm.c (handle_one_android_event):
* src/gtkutil.c (xg_widget_key_press_event_cb):
* src/pgtkterm.c (evq_flush):
* src/xterm.c (handle_one_xevent): Use struct input_event and
kbd_buffer_store_event_hold, or struct selection_input_event and
kbd_buffer_store_selection_event_hold, rather than union
buffered_input_event and union buffered_input_event.
* src/keyboard.c (beware_long_paste, maybe_quit_while_no_input):
New functions, broken out from kbd_buffer_store_buffered_event.
(kbd_buffer_store_event_hold): Define here, with a simplified
version of the body of the old kbd_buffer_store_buffered_event,
rather than defining in keyboard.h.  Specialize to struct
input_event.
(kbd_buffer_store_selection_event_hold): New function; it is
a simplified version of the old kbd_buffer_store_buffered_event,
specialized to struct selection_input_event.
(is_ignored_event_kind): Accept enum event_kind instead of
union buffered_input_event.  All callers changed.
* src/keyboard.h (kbd_buffer_store_event_hold):
Remove definition, as keyboard.c now defines it.
* src/pgtkterm.c (evq_grow_if_needed): New function.
(evq_enqueue, evq_selection_enqueue): Two functions now,
not one.  Args are now struct input_event const * or
struct selection_input_event const *, not
union buffered_input_event *.  All callers changed.
This lets us simplify the callers so that they need
not use the union.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix typos</title>
<updated>2025-02-22T13:48:29+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2025-01-19T12:59:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=702cb123faf1bdbacf555188ae4997d6be3765fe'/>
<id>702cb123faf1bdbacf555188ae4997d6be3765fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; Correct merge errors.</title>
<updated>2025-02-17T03:36:41+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-17T03:36:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=718a227f0fb926864c5224b5664b4b76c631039f'/>
<id>718a227f0fb926864c5224b5664b4b76c631039f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from savannah/emacs-30</title>
<updated>2025-02-17T03:36:14+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-17T03:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=25b25fce759d254f5d1ddfb0964e9e0c90869f18'/>
<id>25b25fce759d254f5d1ddfb0964e9e0c90869f18</id>
<content type='text'>
e3dc0ea2544 Fix crash in frame deletion on Android
e34ea5db5f1 * src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug...
48f9d6aafea * lisp/man.el (Man-shell-file-name): Ensure a Bourne shel...
7016c13e5e6 ; Update etc/AUTHORS (bug#76319).
0bc7b5a389b ; * admin/authors.el (authors-aliases): Add "Elías Gabrie...
e9c4f642b9d ; * doc/emacs/package.texi (Package Installation): Add om...
8c4294f370f ; Move index entries in user manual

# Conflicts:
#	src/pgtkterm.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e3dc0ea2544 Fix crash in frame deletion on Android
e34ea5db5f1 * src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug...
48f9d6aafea * lisp/man.el (Man-shell-file-name): Ensure a Bourne shel...
7016c13e5e6 ; Update etc/AUTHORS (bug#76319).
0bc7b5a389b ; * admin/authors.el (authors-aliases): Add "Elías Gabrie...
e9c4f642b9d ; * doc/emacs/package.texi (Package Installation): Add om...
8c4294f370f ; Move index entries in user manual

# Conflicts:
#	src/pgtkterm.c
</pre>
</div>
</content>
</entry>
<entry>
<title>Synchronize frame placement logic with X</title>
<updated>2025-02-17T03:34:06+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-17T03:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0a6997b58d417043406dadf3d40e6f9de9ded6a8'/>
<id>0a6997b58d417043406dadf3d40e6f9de9ded6a8</id>
<content type='text'>
* src/androidterm.c (android_calc_absolute_position): New
function.
(android_set_offset): Call android_calc_absolute_position.

* src/pgtkterm.c (pgtk_calc_absolute_position): Synchronize with
X.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/androidterm.c (android_calc_absolute_position): New
function.
(android_set_offset): Call android_calc_absolute_position.

* src/pgtkterm.c (pgtk_calc_absolute_position): Synchronize with
X.
</pre>
</div>
</content>
</entry>
<entry>
<title>* src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug#76239.</title>
<updated>2025-02-17T02:56:45+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2025-02-17T02:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e34ea5db5f1c09582e3779828ba248eec5769eb2'/>
<id>e34ea5db5f1c09582e3779828ba248eec5769eb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'scratch/no-purespace' into 'master'</title>
<updated>2025-02-01T03:56:52+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2025-02-01T03:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bf97946d7dc460b7d3c3ce03193041b891b51faf'/>
<id>bf97946d7dc460b7d3c3ce03193041b891b51faf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unlikely eassert failure in pgtk_enumerate_devices</title>
<updated>2025-01-27T07:05:54+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-01-27T06:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=901659bb7046bef4ca10490cf47644fb2bc6d753'/>
<id>901659bb7046bef4ca10490cf47644fb2bc6d753</id>
<content type='text'>
* src/pgtkterm.c (pgtk_enumerate_devices): Prefer
make_formatted_string to snprintf + build_string + eassert, as
it’s simpler and won’t crash Emacs if the eassert fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/pgtkterm.c (pgtk_enumerate_devices): Prefer
make_formatted_string to snprintf + build_string + eassert, as
it’s simpler and won’t crash Emacs if the eassert fails.
</pre>
</div>
</content>
</entry>
</feed>
