Skip to content

Commit

Permalink
Release v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jul 11, 2024
1 parent 5dfdd28 commit 39699c8
Show file tree
Hide file tree
Showing 19 changed files with 112 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ The scope of what is covered by the version number excludes:

## Version history

### Version 0.4.2, released 25-Jun-2024

- Fix: include additional headers for some MinGW installations

### Version 0.4.1, released 25-Jun-2024

- Fix: when compiling with `msys2` the `conio.h` header is required
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/bitflags.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/compat.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h2>compat.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/flag_debugging.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h2>flag_debugging.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/password_input.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h2>password_input.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/read.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h2>read.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/readline.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ <h2>readline.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/spinner.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h2>spinner.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/spiral_snake.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h2>spiral_snake.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/terminalsize.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2>terminalsize.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2>Examples</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/system.html
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/01-introduction.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h1>1. Introduction</h1>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/02-development.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h1>2. Development</h1>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/03-terminal.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h3>3.3.2 Blocking input</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
8 changes: 7 additions & 1 deletion docs/topics/CHANGELOG.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ <h4>Releasing new versions</h4>
<p><a name="Version_history"></a></p>
<h2>Version history</h2>

<h3>Version 0.4.2, released 25-Jun-2024</h3>

<ul>
<li>Fix: include additional headers for some MinGW installations</li>
</ul>

<h3>Version 0.4.1, released 25-Jun-2024</h3>

<ul>
Expand Down Expand Up @@ -157,7 +163,7 @@ <h3>Version 0.1.0, released 11-Feb-2016</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/LICENSE.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h3>Copyright (c) 2016-2024 Oscar Lim</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-06-25 09:02:59 </i>
<i style="float:right;">Last updated 2024-07-11 11:58:12 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
85 changes: 85 additions & 0 deletions rockspecs/luasystem-0.4.2-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
local package_name = "luasystem"
local package_version = "0.4.2"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = "luasystem"


package = package_name
version = package_version.."-"..rockspec_revision

source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = (package_version == "scm") and "master" or nil,
tag = (package_version ~= "scm") and "v"..package_version or nil,
}

description = {
summary = 'Platform independent system calls for Lua.',
detailed = [[
Adds a Lua API for making platform independent system calls.
]],
license = 'MIT <http://opensource.org/licenses/MIT>',
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
}

dependencies = {
'lua >= 5.1',
}

local function make_platform(plat)
local defines = {
linux = { },
unix = { },
macosx = { },
win32 = { "WINVER=0x0600", "_WIN32_WINNT=0x0600" },
mingw32 = { "WINVER=0x0600", "_WIN32_WINNT=0x0600" },
}
local libraries = {
linux = { "rt" },
unix = { },
macosx = { },
win32 = { "advapi32", "winmm" },
mingw32 = { },
}
local libdirs = {
linux = nil,
unix = nil,
macosx = nil,
win32 = nil,
mingw32 = { },
}
return {
modules = {
['system.core'] = {
sources = {
'src/core.c',
'src/compat.c',
'src/time.c',
'src/environment.c',
'src/random.c',
'src/term.c',
'src/bitflags.c',
'src/wcwidth.c',
},
defines = defines[plat],
libraries = libraries[plat],
libdirs = libdirs[plat],
},
},
}
end

build = {
type = 'builtin',
platforms = {
linux = make_platform('linux'),
unix = make_platform('unix'),
macosx = make_platform('macosx'),
win32 = make_platform('win32'),
mingw32 = make_platform('mingw32'),
},
modules = {
['system.init'] = 'system/init.lua',
},
}
2 changes: 1 addition & 1 deletion src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <lua.h>
#include <lauxlib.h>

#define LUASYSTEM_VERSION "LuaSystem 0.4.1"
#define LUASYSTEM_VERSION "LuaSystem 0.4.2"

#ifdef _WIN32
#define LUAEXPORT __declspec(dllexport)
Expand Down

0 comments on commit 39699c8

Please sign in to comment.