From bcc637f893e26f7ac295814e7bf2b8f6313a8a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20H=C3=BCbner?= Date: Thu, 27 Jun 2024 14:06:23 +0200 Subject: [PATCH] release 1.5.2 --- LICENSE | 3 +- docs/index.html | 10 +++++- docs/license.html | 2 +- rockspecs/luaexpat-1.5.2-1.rockspec | 51 +++++++++++++++++++++++++++++ src/lxplib.h | 4 +-- 5 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 rockspecs/luaexpat-1.5.2-1.rockspec diff --git a/LICENSE b/LICENSE index 12772fc..ae1c9b3 100644 --- a/LICENSE +++ b/LICENSE @@ -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 @@ -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. - diff --git a/docs/index.html b/docs/index.html index 1b579b2..50604c2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -71,7 +71,7 @@

Overview

Status

-

Current version is 1.5.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on +

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+.

Download

@@ -89,6 +89,14 @@

Download

History

+
Version 1.5.2 [27/Jun/2024]
+
+
    +
  • Fix: threat protection works with documents that declare empty namespace URIs
  • +
  • Chore: Add version 2.6.2 of libExpat to the CI matrix
  • +
+
+
Version 1.5.1 [03/Oct/2022]
    diff --git a/docs/license.html b/docs/license.html index 8d9bec0..2fd7bc9 100644 --- a/docs/license.html +++ b/docs/license.html @@ -83,7 +83,7 @@

    License


    MIT license

    -

    Copyright © 2003-2007 The Kepler Project, 2013-2022 Matthew Wild.

    +

    Copyright © 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 diff --git a/rockspecs/luaexpat-1.5.2-1.rockspec b/rockspecs/luaexpat-1.5.2-1.rockspec new file mode 100644 index 0000000..6de8320 --- /dev/null +++ b/rockspecs/luaexpat-1.5.2-1.rockspec @@ -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" } +} diff --git a/src/lxplib.h b/src/lxplib.h index 06af90a..b5229c5 100644 --- a/src/lxplib.h +++ b/src/lxplib.h @@ -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"