Skip to content

Commit

Permalink
release 1.4.1 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored Apr 1, 2022
1 parent 2025cd4 commit 90b1af4
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h2><a name="overview"></a>Overview</h2>

<h2><a name="status"></a>Status</h2>

<p>Current version is 1.4.0. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
<p>Current version is 1.4.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
Linux, Windows (XP) and MacOS X with Expat 2.1.0.</p>

<h2><a name="download"></a>Download</h2>
Expand All @@ -90,7 +90,7 @@ <h2><a name="download"></a>Download</h2>
<h2><a name="history"></a>History</h2>

<dl class="history">
<dt><strong>Version x.y.z</strong> [unreleased]</dt>
<dt><strong>Version 1.4.1</strong> [01/Apr/2022]</dt>
<dd>
<ul>
<li>Fix bad buffer size calculation in threat parser</li>
Expand Down
51 changes: 51 additions & 0 deletions rockspecs/luaexpat-1.4.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
local package_name = "luaexpat"
local package_version = "1.4.1"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name
local git_checkout = package_version == "scm" and "master" or package_version


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

source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout
}

description = {
summary = "XML Expat parsing",
detailed = [[
LuaExpat is a SAX (Simple API for XML) XML parser based on the
Expat library.
]],
license = "MIT/X11",
homepage = "https://"..github_account_name..".github.io/"..github_repo_name,
}

dependencies = {
"lua >= 5.1"
}

external_dependencies = {
EXPAT = {
header = "expat.h"
}
}

build = {
type = "builtin",
modules = {
lxp = {
sources = { "src/lxplib.c" },
libraries = { "expat" },
incdirs = { "$(EXPAT_INCDIR)", "src/" },
libdirs = { "$(EXPAT_LIBDIR)" },
},
["lxp.lom"] = "src/lxp/lom.lua",
["lxp.totable"] = "src/lxp/totable.lua",
["lxp.threat"] = "src/lxp/threat.lua",
},
copy_directories = { "docs" }
}
2 changes: 1 addition & 1 deletion src/lxplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

#define LuaExpatCopyright "Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild"
#define LuaExpatVersion "LuaExpat 1.4.0"
#define LuaExpatVersion "LuaExpat 1.4.1"
#define ParserType "Expat"

#define StartCdataKey "StartCdataSection"
Expand Down

0 comments on commit 90b1af4

Please sign in to comment.