<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wlroots.git/xcursor, branch master</title>
<subtitle>fork of wlroots with action binder support
</subtitle>
<id>https://git.vlhl.dev/navi/wayland/wlroots.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/wayland/wlroots.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/'/>
<updated>2024-02-15T14:41:12+00:00</updated>
<entry>
<title>Define _POSIX_C_SOURCE globally</title>
<updated>2024-02-15T14:41:12+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-15T14:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=842093bb843ae6c719c2b1cf32eb749cab9e46ca'/>
<id>urn:sha1:842093bb843ae6c719c2b1cf32eb749cab9e46ca</id>
<content type='text'>
Stop trying to maintain a per-file _POSIX_C_SOURCE. Instead,
require POSIX.1-2008 globally. A lot of core source files depend
on that already.

Some care must be taken on a few select files where we need a bit
more than POSIX. Some files need XSI extensions (_XOPEN_SOURCE) and
some files need BSD extensions (_DEFAULT_SOURCE). In both cases,
these feature test macros imply _POSIX_C_SOURCE. Make sure to not
define both these macros and _POSIX_C_SOURCE explicitly to avoid
POSIX requirement conflicts (e.g. _POSIX_C_SOURCE says POSIX.1-2001
but _XOPEN_SOURCE says POSIX.1-2008).

Additionally, there is one special case in render/vulkan/vulkan.c.
That file needs major()/minor(), and these are system-specific.
On FreeBSD, _POSIX_C_SOURCE hides system-specific symbols so we need
to make sure it's not defined for this file. On Linux, we can
explicitly include &lt;sys/sysmacros.h&gt; and ensure that apart from
symbols defined there the file only uses POSIX toys.
</content>
</entry>
<entry>
<title>Add more POSIX compliance macros to fix uClibc support</title>
<updated>2024-02-12T16:41:45+00:00</updated>
<author>
<name>Paul Cercueil</name>
<email>paul@crapouillou.net</email>
</author>
<published>2024-02-06T10:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=220df2aa0f8025ffe99287c3f5ea0e05436e3d08'/>
<id>urn:sha1:220df2aa0f8025ffe99287c3f5ea0e05436e3d08</id>
<content type='text'>
- Add POSIX 1993.09 compliance macro in source files that use
  "struct timespec";
- Add POSIX 2001.12 compliance macro in source files that use
  "struct sigaction" and the SA_SIGINFO macro, or the fchmod()
  function;
- Add POSIX 2008.09 compliance macro in source files that use the
  getline() function.

These compliance macros are enough for wlroots to compile with the
git-master version of uClibc-ng.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
</content>
</entry>
<entry>
<title>xcursor: fix duplicate cursor check check in load_callback()</title>
<updated>2023-12-12T19:45:17+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-12-10T11:58:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=d6998d36ed20a2f67a1714f96fd581d6dc0090a0'/>
<id>urn:sha1:d6998d36ed20a2f67a1714f96fd581d6dc0090a0</id>
<content type='text'>
wlr_xcursor_theme_get_cursor() now does some fallback logic. We
don't want that for checking whether a cursor has already been
loaded.

Fixes: dbedcdb418f4 ("xcursor: add fallbacks for legacy names")
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3783
</content>
</entry>
<entry>
<title>xcursor: don't store NULL xcursors</title>
<updated>2023-11-19T12:33:39+00:00</updated>
<author>
<name>Kirill Primak</name>
<email>vyivel@eclair.cafe</email>
</author>
<published>2023-11-19T10:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=c6b498528c48d44444e320536b3ba1faa37b1d83'/>
<id>urn:sha1:c6b498528c48d44444e320536b3ba1faa37b1d83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xcursor: fix NULL deref on malloc() fail</title>
<updated>2023-11-19T12:33:39+00:00</updated>
<author>
<name>Kirill Primak</name>
<email>vyivel@eclair.cafe</email>
</author>
<published>2023-11-19T10:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=e16b0068a70b6d2cf57177de197e9b171e39bb78'/>
<id>urn:sha1:e16b0068a70b6d2cf57177de197e9b171e39bb78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xcursor: add fallbacks for legacy names</title>
<updated>2023-11-01T13:13:22+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-11-01T10:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=dbedcdb418f49090df6e7359e6d3e58c97db1a74'/>
<id>urn:sha1:dbedcdb418f49090df6e7359e6d3e58c97db1a74</id>
<content type='text'>
Some XCursor themes still use the legacy names instead of the newer
cursor naming spec [1]. Fall back to the legacy name if the standard
one could not be found.

[1]: https://www.freedesktop.org/wiki/Specifications/cursor-spec/

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3746
</content>
</entry>
<entry>
<title>treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical</title>
<updated>2023-10-03T05:51:07+00:00</updated>
<author>
<name>Alexander Orzechowski</name>
<email>alex@ozal.ski</email>
</author>
<published>2023-10-03T05:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=1b0694b79481643cb456d03e1be50a1b4f6ca591'/>
<id>urn:sha1:1b0694b79481643cb456d03e1be50a1b4f6ca591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xcursor: Resolve warning in xcursor_build_theme_dir</title>
<updated>2023-04-25T10:16:59+00:00</updated>
<author>
<name>Edgars Cīrulis</name>
<email>edgarsscirulis@gmail.com</email>
</author>
<published>2023-04-22T13:30:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=17ad03448082f525fef515c4c45f56d151bbc46a'/>
<id>urn:sha1:17ad03448082f525fef515c4c45f56d151bbc46a</id>
<content type='text'>
Signed-off-by: Edgars Cīrulis &lt;edgarsscirulis@gmail.com&gt;
</content>
</entry>
<entry>
<title>xcursor: sync with libwayland</title>
<updated>2023-04-18T14:54:25+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-04-14T14:13:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=25d9055281a744944fab3016afcb3460610fec89'/>
<id>urn:sha1:25d9055281a744944fab3016afcb3460610fec89</id>
<content type='text'>
xcursor.c was copied over from libwayland-cursor. A lot of
cosmetic imporvements have been merged upstream. Copy-paste the
new version.
</content>
</entry>
<entry>
<title>xcursor: adjust style, use calloc()</title>
<updated>2023-04-11T18:05:27+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-04-11T17:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/wlroots.git/commit/?id=9affcaa93ca1e5eab19a88741a6e2650ccf1c076'/>
<id>urn:sha1:9affcaa93ca1e5eab19a88741a6e2650ccf1c076</id>
<content type='text'>
Adjust the code style for wlroots, and use calloc() for structs.
</content>
</entry>
</feed>
