<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/image.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>Avoid defining unneeded variables on Cygw32</title>
<updated>2025-03-06T14:04:51+00:00</updated>
<author>
<name>Kazuhiro Ito</name>
</author>
<published>2025-02-23T13:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=64b3ad5c763ed3d2a9978fce06c0ccbdd085fe35'/>
<id>64b3ad5c763ed3d2a9978fce06c0ccbdd085fe35</id>
<content type='text'>
lisp/term/w32-win.el contained definitions of variables which
were not used on Cygw32.  It is now to split into two files,
common part and Windows native build specific part. The latter
is a new file, lisp/term/w32-nt.el.
* src/image.c (Qlibpng_version, Qlibgif_version)
(Qlibjpeg_version): Don't define on Cygw32 build.
* src/treesit.c (Qtree_sitter__library_abi): Ditto.

* lisp/term/w32-win.el (dynamic-library-alist, libpng-version)
(libgif-version, libjpeg-version, libgnutls-version)
(tree-sitter--library-abi, gui-backend-set-selection)
(gui-backend-get-selection, gui-backend-selection-owner-p)
(gui-selection-exists-p): Moved to lisp/term/w32-nt.el.
* lisp/term/w32-nt.el: New file, separated Windows native build
specific part from lisp/term/w32-win.el.
* lisp/loadup.el: Load term/w32-nt.el on Windows native build.
(Bug#75926)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lisp/term/w32-win.el contained definitions of variables which
were not used on Cygw32.  It is now to split into two files,
common part and Windows native build specific part. The latter
is a new file, lisp/term/w32-nt.el.
* src/image.c (Qlibpng_version, Qlibgif_version)
(Qlibjpeg_version): Don't define on Cygw32 build.
* src/treesit.c (Qtree_sitter__library_abi): Ditto.

* lisp/term/w32-win.el (dynamic-library-alist, libpng-version)
(libgif-version, libjpeg-version, libgnutls-version)
(tree-sitter--library-abi, gui-backend-set-selection)
(gui-backend-get-selection, gui-backend-selection-owner-p)
(gui-selection-exists-p): Moved to lisp/term/w32-nt.el.
* lisp/term/w32-nt.el: New file, separated Windows native build
specific part from lisp/term/w32-win.el.
* lisp/loadup.el: Load term/w32-nt.el on Windows native build.
(Bug#75926)
</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>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>Prefer make_formatted_string in svg_load_image</title>
<updated>2025-01-27T07:05:51+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-01-27T06:15:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c50e8c24247eb69d85b004a72197e710c8e1e32a'/>
<id>c50e8c24247eb69d85b004a72197e710c8e1e32a</id>
<content type='text'>
* src/image.c (svg_load_image): Prefer make_formatted_string to
snprintf, as this simplifies the code and does not truncate the
resulting string arbitrarily.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (svg_load_image): Prefer make_formatted_string to
snprintf, as this simplifies the code and does not truncate the
resulting string arbitrarily.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify building of color names in image.c</title>
<updated>2025-01-27T07:05:51+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-01-27T06:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=028fae966142b6e2330b9250fb4cdf2cbd8e1446'/>
<id>028fae966142b6e2330b9250fb4cdf2cbd8e1446</id>
<content type='text'>
* src/image.c (make_color_name): New function.
(image_background, image_build_heuristic_mask, png_load_body): Use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (make_color_name): New function.
(image_background, image_build_heuristic_mask, png_load_body): Use it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify make_formatted_string API</title>
<updated>2025-01-27T07:05:50+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-01-27T06:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f885806fdf1aa862ad55d124e9795794fed0b964'/>
<id>f885806fdf1aa862ad55d124e9795794fed0b964</id>
<content type='text'>
From a suggestion by Pip Cet.
* src/alloc.c (make_formatted_string): Omit first argument,
to simplify the calling convention.  All callers changed.
* src/doprnt.c (doprnt): Also support %u.  Update doc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From a suggestion by Pip Cet.
* src/alloc.c (make_formatted_string): Omit first argument,
to simplify the calling convention.  All callers changed.
* src/doprnt.c (doprnt): Also support %u.  Update doc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor image_error related cleanups</title>
<updated>2025-01-22T22:42:13+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2025-01-22T22:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d3ada49a37e19d25170bf6322fee70d527055958'/>
<id>d3ada49a37e19d25170bf6322fee70d527055958</id>
<content type='text'>
* src/image.c (image_create_x_image_and_pixmap_1): Avoid temporary
variable by passing the value directly to image_error.
(tiff_handler): Prefer image_error to add_to_log for local
consistency.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (image_create_x_image_and_pixmap_1): Avoid temporary
variable by passing the value directly to image_error.
(tiff_handler): Prefer image_error to add_to_log for local
consistency.
</pre>
</div>
</content>
</entry>
<entry>
<title>When debugging image.c, abort if silent truncation</title>
<updated>2025-01-22T06:31:00+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2025-01-22T06:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8ff7338fdd05fe6d21765711327a99c87cfd7613'/>
<id>8ff7338fdd05fe6d21765711327a99c87cfd7613</id>
<content type='text'>
* src/image.c (image_build_heuristic_mask, png_load_body):
Abort if snprintf truncated.  (If truncation is not possible
here we should use sprintf instead, as that simplifies
automatic runtime checking.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (image_build_heuristic_mask, png_load_body):
Abort if snprintf truncated.  (If truncation is not possible
here we should use sprintf instead, as that simplifies
automatic runtime checking.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer snprintf to sprintf in image.c</title>
<updated>2025-01-21T23:49:50+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2025-01-21T23:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=cdcfffd50a61058b135ddca1f748a5a20a7da32e'/>
<id>cdcfffd50a61058b135ddca1f748a5a20a7da32e</id>
<content type='text'>
* src/image.c (image_background, image_build_heuristic_mask)
(png_load_body): Prefer snprintf to sprintf.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (image_background, image_build_heuristic_mask)
(png_load_body): Prefer snprintf to sprintf.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle unknown units provided by the rsvg library (bug#75712)</title>
<updated>2025-01-21T19:04:11+00:00</updated>
<author>
<name>Pip Cet</name>
</author>
<published>2025-01-21T18:55:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d7bdaa4170cd6115a6e3b4d872d8a428397fb2d8'/>
<id>d7bdaa4170cd6115a6e3b4d872d8a428397fb2d8</id>
<content type='text'>
* src/image.c (svg_css_length_to_pixels): Restructure so GCC warns
about new enum members.  Add case for RSVG_UNIT_CH.  Warn about
unknown units discovered at runtime.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (svg_css_length_to_pixels): Restructure so GCC warns
about new enum members.  Add case for RSVG_UNIT_CH.  Warn about
unknown units discovered at runtime.
</pre>
</div>
</content>
</entry>
</feed>
