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 1.5.2 #40

Merged
merged 1 commit into from
Jun 27, 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
3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild
Copyright (C) 2003-2007 The Kepler Project, 2013-2024 Matthew Wild

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand All @@ -19,4 +19,3 @@ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

10 changes: 9 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2><a name="overview"></a>Overview</h2>

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

<p>Current version is 1.5.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
<p>Current version is 1.5.2. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
Linux and MacOS X with Expat 2.4.0+.</p>

<h2><a name="download"></a>Download</h2>
Expand All @@ -89,6 +89,14 @@ <h2><a name="download"></a>Download</h2>
<h2><a name="history"></a>History</h2>

<dl class="history">
<dt><strong>Version 1.5.2</strong> [27/Jun/2024]</dt>
<dd>
<ul>
<li>Fix: threat protection works with documents that declare empty namespace URIs</li>
<li>Chore: Add version 2.6.2 of libExpat to the CI matrix</li>
</ul>
</dd>

<dt><strong>Version 1.5.1</strong> [03/Oct/2022]</dt>
<dd>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2>License</h2>
<hr/>
<h2><a href="https://opensource.org/licenses/MIT">MIT license</a></h2>

<p>Copyright &copy; 2003-2007 The Kepler Project, 2013-2022 Matthew Wild.</p>
<p>Copyright &copy; 2003-2007 The Kepler Project, 2013-2024 Matthew Wild.</p>

<p>Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
51 changes: 51 additions & 0 deletions rockspecs/luaexpat-1.5.2-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
local package_name = "luaexpat"
local package_version = "1.5.2"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name


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 package_version or nil,
}

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" }
}
4 changes: 2 additions & 2 deletions src/lxplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
** See Copyright Notice in license.html
*/

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

#define StartCdataKey "StartCdataSection"
Expand Down
Loading