Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.4.3 #34

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3, released 28-Aug-2024

- Chore: add compiler error on Windows if Virtual Terminal Processing is unavailable.
- Fix: fix the freebsd build
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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/topics/02-development.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ <h1>2. Development</h1>
be skipped because <code>--exclude-tags=manual</code> is being passed to the
<code>busted</code> command line.</p>

<p>Hence if tests like this are being added, then please ensure the tests
<p>Hence if tests like these are being added, then please ensure the tests
pass locally, and do not rely on CI only.</p>


</div> <!-- id="content" -->
</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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
9 changes: 8 additions & 1 deletion docs/topics/CHANGELOG.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ <h4>Releasing new versions</h4>
<p><a name="Version_history"></a></p>
<h2>Version history</h2>

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

<ul>
<li>Chore: add compiler error on Windows if Virtual Terminal Processing is unavailable.</li>
<li>Fix: fix the freebsd build</li>
</ul>

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

<ul>
Expand Down Expand Up @@ -163,7 +170,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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </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-07-11 11:58:12 </i>
<i style="float:right;">Last updated 2024-08-28 10:20:44 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
85 changes: 85 additions & 0 deletions rockspecs/luasystem-0.4.3-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.3"
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.2"
#define LUASYSTEM_VERSION "LuaSystem 0.4.3"

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