Skip to content

Commit

Permalink
Release v0.4.4 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored Sep 3, 2024
1 parent 787cbe5 commit 85ad15f
Show file tree
Hide file tree
Showing 19 changed files with 109 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The scope of what is covered by the version number excludes:

## Version history

### unreleased
### version 0.4.4, released 03-Sep-2024

- Fix: include all objects in Makefile

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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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.4, released 03-Sep-2024</h3>

<ul>
<li>Fix: include all objects in Makefile</li>
</ul>

<h3>version 0.4.3, released 28-Aug-2024</h3>

<ul>
Expand Down Expand Up @@ -170,7 +176,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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </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-08-28 10:20:44 </i>
<i style="float:right;">Last updated 2024-09-03 14:15:56 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
85 changes: 85 additions & 0 deletions rockspecs/luasystem-0.4.4-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.4"
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.3"
#define LUASYSTEM_VERSION "LuaSystem 0.4.4"

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

0 comments on commit 85ad15f

Please sign in to comment.