<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luasystem, 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>feat(readkey): allow a sleep function to be passed</title>
<updated>2025-03-02T18:40:15+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-03-01T18:17:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=2981db32130b30c9b12e7347bfdbe2e7584e9274'/>
<id>urn:sha1:2981db32130b30c9b12e7347bfdbe2e7584e9274</id>
<content type='text'>
There are cases where both a blocking and non-blocking sleep is
needed. In those cases just poatching system.sleep isn't good
enough. Hence now we can pass a sleep function.
</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>ci: Add FreeBSD vmaction</title>
<updated>2025-02-25T11:47:59+00:00</updated>
<author>
<name>cos</name>
<email>cos</email>
</author>
<published>2025-02-17T14:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=afd939e6afa79932e96950539ce108ab2c644217'/>
<id>urn:sha1:afd939e6afa79932e96950539ce108ab2c644217</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(ci): yamllint config file moved (#50)</title>
<updated>2025-02-25T01:11:44+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-25T01:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=4c0d462d533d257df1c2fc53c18a298c80ff14fe'/>
<id>urn:sha1:4c0d462d533d257df1c2fc53c18a298c80ff14fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore(ci): lint GH action workflows (#49)</title>
<updated>2025-02-25T00:55:49+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2025-02-25T00:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasystem/commit/?id=9de0d9346cf5c17cd4a96c58ad326919bd8d27ed'/>
<id>urn:sha1:9de0d9346cf5c17cd4a96c58ad326919bd8d27ed</id>
<content type='text'>
Co-authored-by: cos &lt;cos&gt;
</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>
</feed>
