<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/libs/luci-lib-nixio/src, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2025-09-25T12:55:12Z</updated>
<entry>
<title>luci-lib-nixio: remove unmaintained axTLS lib</title>
<updated>2025-09-25T12:55:12Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2025-09-25T12:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=3ee5ad317ec8bb31cf755e1265340de50e0196de'/>
<id>urn:sha1:3ee5ad317ec8bb31cf755e1265340de50e0196de</id>
<content type='text'>
HT @314systems

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-lib-nixio: fix build error with LTO</title>
<updated>2024-11-17T22:23:42Z</updated>
<author>
<name>Anari Jalakas</name>
</author>
<published>2024-11-11T19:05:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=44fbd008fb3fe03d9f05697ac650c0d907852962'/>
<id>urn:sha1:44fbd008fb3fe03d9f05697ac650c0d907852962</id>
<content type='text'>
Adding $(FPIC) parameter fixes building with CONFIG_USE_LTO enabled.

Signed-off-by: Anari Jalakas &lt;anari.jalakas@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: replace `which` with `command -v`</title>
<updated>2020-08-21T01:54:54Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-08-09T23:42:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=c4a4e43e2e97065dcda53c9ac7ee49c05171dbd8'/>
<id>urn:sha1:c4a4e43e2e97065dcda53c9ac7ee49c05171dbd8</id>
<content type='text'>
Fix shellcheck SC2230
&gt; which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>move nixio__bin2hex to header and make static</title>
<updated>2020-06-22T02:58:53Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-06-22T02:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6555d3f587e485afb1676948d7a5868afac3aee8'/>
<id>urn:sha1:6555d3f587e485afb1676948d7a5868afac3aee8</id>
<content type='text'>
This fixes compilation under GCC10.

There's no reason for this to be in a C file anyway.

Also fixed a -Wmissing-prototypes warning with nixio__addr_prefix.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-lib-nixio: allow building with Lua5.2/LuaJIT</title>
<updated>2020-02-24T10:04:54Z</updated>
<author>
<name>Manuel BACHMANN</name>
</author>
<published>2020-02-24T10:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6c0b8a40f7938c027953bd4c650a02e8aad77861'/>
<id>urn:sha1:6c0b8a40f7938c027953bd4c650a02e8aad77861</id>
<content type='text'>
Lua 5.1 defines a "luaL_Reg" alias for deprecated
"luaL_reg", but Lua &gt;= 5.2 and LuaJIT do not.
Replace by "luaL_Reg", and define a "luaL_reg"
alias in case we build with old Lua 5.0.

Signed-off-by: Manuel BACHMANN &lt;tarnyko@tarnyko.net&gt;
</content>
</entry>
<entry>
<title>luci-lib-nixio: fix compilation</title>
<updated>2019-07-26T13:11:17Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-07-26T13:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=16f23de9779908850f756d62c2550b354c97e0f7'/>
<id>urn:sha1:16f23de9779908850f756d62c2550b354c97e0f7</id>
<content type='text'>
Fixes: #2921
Fixes: f3f42ff09 ("address: Replace ualarm with setitimer")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>address: Replace ualarm with setitimer</title>
<updated>2019-07-19T23:47:38Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2019-07-18T19:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=f3f42ff099e4657357fe58723dc5858fb6c7c329'/>
<id>urn:sha1:f3f42ff099e4657357fe58723dc5858fb6c7c329</id>
<content type='text'>
ualarm has been deprecated and may not be available in the libc.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>changed stat to lstat in nixio_lstat function</title>
<updated>2016-09-16T09:06:12Z</updated>
<author>
<name>Thorsten M</name>
</author>
<published>2016-09-16T09:06:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=528f7ab5127dfd7cead0bba7891a41acd79757e9'/>
<id>urn:sha1:528f7ab5127dfd7cead0bba7891a41acd79757e9</id>
<content type='text'>
Signed-off-by: Thorsten M. &lt;thoto@devtal.de&gt;
</content>
</entry>
<entry>
<title>lib-nixio / luci-base: Fix for reading csrf token prevents file upload</title>
<updated>2015-12-15T18:12:29Z</updated>
<author>
<name>Daniel Dickinson</name>
</author>
<published>2015-12-15T16:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=b130ca554f13e17c787a1c6fd09e67dd7727a4d3'/>
<id>urn:sha1:b130ca554f13e17c787a1c6fd09e67dd7727a4d3</id>
<content type='text'>
The call to http.formvalue in order to read the csrf token causes
_parse_input to be triggered *before* controllers and cbi maps have
been built.  This results in the failure of file uploads because
the file handler is not yet in place when _parse_input gets called,
and it is in _parse_input that POST data is parsed (including files).

To fix this we add the ability to write file fields to temporary
files (using mkstemp and unlink in nixio.file) and use this to
store file data until the filehandler is registered, with a
fallback to reading the file data into memory.

Once the filehandler callback gets registered we iterate
though all previously parsed (saved) files and copy the
data to the file handler, and then close the temporary
file (which finally removes because we unlinked after
creating the file, but didn't close the file so unlink
was deferred).

Signed-off-by: Daniel Dickinson &lt;openwrt@daniel.thecshore.com&gt;
</content>
</entry>
<entry>
<title>luci-lib-nixio: pass exact sockaddr length to getnameinfo()</title>
<updated>2015-07-30T20:38:36Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-07-30T20:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=376f0387261df8b2c3d5b0718a98740b9732aa24'/>
<id>urn:sha1:376f0387261df8b2c3d5b0718a98740b9732aa24</id>
<content type='text'>
Musl libc requires the length parameter of getnameinfo() to be exactly
`sizeof(struct sockaddr_in)` or `sizeof(struct sockaddr_in6)`, depending on
the passed sockaddr family.

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
</content>
</entry>
</feed>
