<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luasystem/src, branch v0.5.0</title>
<subtitle>A mirror of https://github.com/lunarmodules/luasystem.git
</subtitle>
<id>https://git.lua4.win/luasystem/atom?h=v0.5.0</id>
<link rel='self' href='https://git.lua4.win/luasystem/atom?h=v0.5.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/'/>
<updated>2025-03-02T18:50:39+00:00</updated>
<entry>
<title>Release v0.5.0</title>
<updated>2025-03-02T18:50:39+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-03-02T18:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=9318a7dc9f7def35a2e9d85ccffe63c06950be09'/>
<id>urn:sha1:9318a7dc9f7def35a2e9d85ccffe63c06950be09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(term): feature check, not platform check</title>
<updated>2025-03-02T18:13:28+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-03-02T17:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=bdd02cba9ffa1eee3684063b46091f2f868b32b8'/>
<id>urn:sha1:bdd02cba9ffa1eee3684063b46091f2f868b32b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for OpenBSD+FreeBSD platforms</title>
<updated>2025-02-25T11:47:59+00:00</updated>
<author>
<name>cos</name>
<email>cos</email>
</author>
<published>2025-02-15T08:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=f5f01c663816235bed38b3056771c6898744f567'/>
<id>urn:sha1:f5f01c663816235bed38b3056771c6898744f567</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reverse conditional compilation of non-POSIX</title>
<updated>2025-02-25T11:47:59+00:00</updated>
<author>
<name>cos</name>
<email>cos</email>
</author>
<published>2025-02-15T10:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=b8b57ba75020c224ae6c5f068cd3514c9a4d7d91'/>
<id>urn:sha1:b8b57ba75020c224ae6c5f068cd3514c9a4d7d91</id>
<content type='text'>
As https://www.openbsd.org/faq/ports/guide.html#PortsGeneric states, it
is inappropriate to base feature inclusion on a growing list (60b66fc,
9160d12) of excluded platforms. Thus this commit attempts to switch the
assumption from Linux to a modern POSIX as the default target.

Firstly, merely checking for __unix__ should be functionally equivalent
of having a long lists of practically "all" operating systems.

Apart from Windows, the primary non-standard code covers these termios
related constants: I_IUCLC, O_OLCUC, O_OFILL, O_OFDEL, O_NLDLY, O_CRDLY
and L_XCASE.

A few of them are documented as LEGACY as they were removed from POSIX
https://pubs.opengroup.org/onlinepubs/007904875/basedefs/termios.h.html
over two decades ago. The other constants are part of the X/Open System
Interfaces, which supposedly should be available when _XOPEN_UNIX is set
to another value than -1. However on Linux they exist, yet the variable
indicating their presence is undefined.

In summary;   It is hard to find any feature specific preprocessor
variables indicating availability, but it is quite safe to limit their
inclusion to Linux until patches arrive for other platforms.

Executing `cpp -dM &lt;/dev/null | grep -i linux` on contemporary glibc and
musl based distributions tend to give a few constants, where __linux__
likely is the one most suitable.

Based on the previous state of the code, the following constants are
expected to be available also on Apple: O_BSDLY, O_VTDLY and O_FFDLY.
They do not appear be documented in termios(4) on macOS 13, but they
actually exist in /Library/Developer/…/sys/termios.h.

Lastly, O_TABDLY is kept excluded exclusively for NetBSD as that is the
only currently supported platform lacking it.
</content>
</entry>
<entry>
<title>refactor(random): on linux+bsd use api instead of /dev/urandom</title>
<updated>2025-02-10T08:01:58+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-06T16:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=0cb19e1617d735e815e9747a53b6d9f3b3bd568b'/>
<id>urn:sha1:0cb19e1617d735e815e9747a53b6d9f3b3bd568b</id>
<content type='text'>
the api is faster and equally good
</content>
</entry>
<entry>
<title>chore(random): replace deprecated Windows API</title>
<updated>2025-02-10T08:01:58+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-06T16:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=ee7524563af91aa4f0336088c7f85dc1d68b0066'/>
<id>urn:sha1:ee7524563af91aa4f0336088c7f85dc1d68b0066</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(terminal): also accept codepoint integers for width check</title>
<updated>2025-02-10T08:01:35+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-06T15:52:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=4a128b8969fe4d720f50c1fdb68f0265af8a7117'/>
<id>urn:sha1:4a128b8969fe4d720f50c1fdb68f0265af8a7117</id>
<content type='text'>
Lua utf8 functions return codepoints, hence it makes sense to accept
those, instead of having to convert to utf8 string and back again.
</content>
</entry>
<entry>
<title>fix(terminal): warning unused variable</title>
<updated>2025-02-06T20:03:47+00:00</updated>
<author>
<name>Thijs</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-06T19:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=3c1fdbcc844a55f94dde41591f487ded73eab012'/>
<id>urn:sha1:3c1fdbcc844a55f94dde41591f487ded73eab012</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(terminal): failing NetBSD compilation, missing symbols</title>
<updated>2025-02-06T20:03:47+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-06T18:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=9160d1211f7ff51d08a039239b744da684ae70c2'/>
<id>urn:sha1:9160d1211f7ff51d08a039239b744da684ae70c2</id>
<content type='text'>
fixes #43
</content>
</entry>
<entry>
<title>Release v0.4.5</title>
<updated>2024-12-18T05:54:35+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-12-18T05:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=9e0790c5060c5346039f92f4c9d97a2dbc7316ed'/>
<id>urn:sha1:9e0790c5060c5346039f92f4c9d97a2dbc7316ed</id>
<content type='text'>
</content>
</entry>
</feed>
