<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/image.c, branch scratch/bug-55156</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>Implement `cross-disabled-images' on Haiku</title>
<updated>2022-05-20T02:28:29+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-20T02:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8a7d8bb04b38ba9849b60d63c9fcfd36856eb424'/>
<id>8a7d8bb04b38ba9849b60d63c9fcfd36856eb424</id>
<content type='text'>
* src/haiku_draw_support.cc (be_draw_cross_on_pixmap_1)
(be_draw_cross_on_pixmap): New functions.

* src/haiku_support.h: Update prototypes.

* src/image.c (image_pixmap_draw_cross, image_disable_image):
Implement drawing cross on Haiku.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/haiku_draw_support.cc (be_draw_cross_on_pixmap_1)
(be_draw_cross_on_pixmap): New functions.

* src/haiku_support.h: Update prototypes.

* src/image.c (image_pixmap_draw_cross, image_disable_image):
Implement drawing cross on Haiku.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix typos</title>
<updated>2022-05-15T09:15:06+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2022-05-15T09:15:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=09674074b57bee74ff1039f8ef08c2dea321c0da'/>
<id>09674074b57bee74ff1039f8ef08c2dea321c0da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix searching the bitmap file path on Haiku</title>
<updated>2022-05-12T07:42:33+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-12T07:39:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=89c6e412dd6bcb3a8e5e90d9a52cf6f6fd233776'/>
<id>89c6e412dd6bcb3a8e5e90d9a52cf6f6fd233776</id>
<content type='text'>
* src/image.c (image_create_bitmap_from_file): [HAVE_HAIKU]:
Look for the bitmap inside `x-bitmap-file-path' as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (image_create_bitmap_from_file): [HAVE_HAIKU]:
Look for the bitmap inside `x-bitmap-file-path' as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix stipple bitmap caching on Haiku</title>
<updated>2022-05-09T02:52:16+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-09T02:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d8a47823103da803b8274d790527f48d85a3f9b4'/>
<id>d8a47823103da803b8274d790527f48d85a3f9b4</id>
<content type='text'>
* src/image.c (image_create_bitmap_from_file): Set file name on
the bitmap rec on Haiku.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (image_create_bitmap_from_file): Set file name on
the bitmap rec on Haiku.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix file-based stipple on NS</title>
<updated>2022-05-08T06:28:41+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-08T06:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=144e9f9b6a376ec0349557ef10a6c133228cda26'/>
<id>144e9f9b6a376ec0349557ef10a6c133228cda26</id>
<content type='text'>
* src/image.c (image_create_bitmap_from_file) [HAVE_NS]: Fix
loading XBM data from file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (image_create_bitmap_from_file) [HAVE_NS]: Fix
loading XBM data from file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fully implement stipples for text on Haiku</title>
<updated>2022-05-08T04:42:11+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-08T04:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b205d67f8c92593f8e170419d677a70e535a3a19'/>
<id>b205d67f8c92593f8e170419d677a70e535a3a19</id>
<content type='text'>
* src/haikufont.c (haikufont_draw): Use
`haiku_draw_background_rect' instead.

* src/haikuterm.c (haiku_draw_plain_background): Change
arguments to accept rect manually.
(haiku_get_bitmap): Delete function.
(haiku_get_bitmap_rec): New function.
(haiku_draw_stipple_background): Accept rect instead of box
sizes.
(haiku_draw_background_rect): New function.
(haiku_maybe_draw_background): Use that instead.
(haiku_draw_image_glyph_string): Add notice.
(haiku_draw_glyph_string): Set `stippled_p' correctly.

* src/haikuterm.h (struct haiku_bitmap_record): New fields for
keeping track of stipple state.
* src/image.c (image_create_bitmap_from_data)
(image_create_bitmap_from_file, free_bitmap_record): Free and
set them accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/haikufont.c (haikufont_draw): Use
`haiku_draw_background_rect' instead.

* src/haikuterm.c (haiku_draw_plain_background): Change
arguments to accept rect manually.
(haiku_get_bitmap): Delete function.
(haiku_get_bitmap_rec): New function.
(haiku_draw_stipple_background): Accept rect instead of box
sizes.
(haiku_draw_background_rect): New function.
(haiku_maybe_draw_background): Use that instead.
(haiku_draw_image_glyph_string): Add notice.
(haiku_draw_glyph_string): Set `stippled_p' correctly.

* src/haikuterm.h (struct haiku_bitmap_record): New fields for
keeping track of stipple state.
* src/image.c (image_create_bitmap_from_data)
(image_create_bitmap_from_file, free_bitmap_record): Free and
set them accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement bitmap loading for faces on Haiku</title>
<updated>2022-05-08T03:08:42+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-08T03:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=faa342c794dec66d6b77ccf550361d58455a4454'/>
<id>faa342c794dec66d6b77ccf550361d58455a4454</id>
<content type='text'>
Stipples don't completely work yet.

* lisp/faces.el (face-valid-attribute-values): Enable `:stipple'
on Haiku.
* src/haiku_draw_support.cc (BView_DrawBitmap)
(BView_DrawBitmapWithEraseOp, BView_DrawMask): Don't push and
pop states.
(BView_DrawBitmapTiled): New function.

* src/haiku_support.cc (BBitmap_import_mono_bits): Delete
function.
* src/haiku_support.h: Update prototypes.
* src/haikuterm.c (get_string_resource): Fix coding style.
(haiku_get_bitmap, haiku_draw_stipple_background): Implement
partially.
(haiku_set_scroll_bar_default_width)
(haiku_set_scroll_bar_default_height, haiku_scroll_bar_create)
(haiku_set_horizontal_scroll_bar, haiku_set_vertical_scroll_bar)
(haiku_create_terminal, haiku_scroll_bar_remove): Fix coding
style.

* src/image.c (image_create_bitmap_from_data)
(image_create_bitmap_from_file): Implement on Haiku.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stipples don't completely work yet.

* lisp/faces.el (face-valid-attribute-values): Enable `:stipple'
on Haiku.
* src/haiku_draw_support.cc (BView_DrawBitmap)
(BView_DrawBitmapWithEraseOp, BView_DrawMask): Don't push and
pop states.
(BView_DrawBitmapTiled): New function.

* src/haiku_support.cc (BBitmap_import_mono_bits): Delete
function.
* src/haiku_support.h: Update prototypes.
* src/haikuterm.c (get_string_resource): Fix coding style.
(haiku_get_bitmap, haiku_draw_stipple_background): Implement
partially.
(haiku_set_scroll_bar_default_width)
(haiku_set_scroll_bar_default_height, haiku_scroll_bar_create)
(haiku_set_horizontal_scroll_bar, haiku_set_vertical_scroll_bar)
(haiku_create_terminal, haiku_scroll_bar_remove): Fix coding
style.

* src/image.c (image_create_bitmap_from_data)
(image_create_bitmap_from_file): Implement on Haiku.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the SVG error message less verbose</title>
<updated>2022-04-12T23:38:10+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-04-12T23:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=95c9079da0208e0b1506ed19bb6db811d4ea4d84'/>
<id>95c9079da0208e0b1506ed19bb6db811d4ea4d84</id>
<content type='text'>
* src/image.c (svg_load_image): Don't include the spec in the
error message, because this is commonly the entire SVG string, and
this will fill up the *Messages* buffer quickly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (svg_load_image): Don't include the spec in the
error message, because this is commonly the entire SVG string, and
this will fill up the *Messages* buffer quickly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve DISPOSE_PREVIOUS in gif_load slightly</title>
<updated>2022-04-12T14:22:38+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-04-12T14:22:27+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a987e66e6ba014795ba4540c5fedeb9894bdd94e'/>
<id>a987e66e6ba014795ba4540c5fedeb9894bdd94e</id>
<content type='text'>
* src/image.c (gif_load): Tweak how DISPOSE_PREVIOUS is handled.
It's still not right, but it's less glaringly wrong.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (gif_load): Tweak how DISPOSE_PREVIOUS is handled.
It's still not right, but it's less glaringly wrong.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix webp_load data lifetime issues</title>
<updated>2022-04-12T14:08:58+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-04-12T14:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9b892eeb918a7416a62506f4c618a9de75e99165'/>
<id>9b892eeb918a7416a62506f4c618a9de75e99165</id>
<content type='text'>
* src/image.c (webp_load): Take care of lifetime issues of the
image data we're iterating over for animated images.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/image.c (webp_load): Take care of lifetime issues of the
image data we're iterating over for animated images.
</pre>
</div>
</content>
</entry>
</feed>
