[latex3-commits] [git/LaTeX3-latex3-lualibs] new-libs: Replace l-gzip with util-zip (a828bdc)
Marcel Fabian Krüger
tex at 2krueger.de
Tue Mar 1 15:41:09 CET 2022
Repository : https://github.com/latex3/lualibs
On branch : new-libs
Link : https://github.com/latex3/lualibs/commit/a828bdc72084438b6ef0e5d22290359b51830007
>---------------------------------------------------------------
commit a828bdc72084438b6ef0e5d22290359b51830007
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Tue Mar 1 14:59:57 2022 +0100
Replace l-gzip with util-zip
>---------------------------------------------------------------
a828bdc72084438b6ef0e5d22290359b51830007
CTANREADME.md | 2 +-
NEWS | 1 +
import-from-context.lua | 2 +-
lualibs.dtx | 8 ++++----
test-lualibs.lua | 5 ++---
whatsnew.lua | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/CTANREADME.md b/CTANREADME.md
index 3acb81d..ebf79e4 100644
--- a/CTANREADME.md
+++ b/CTANREADME.md
@@ -47,7 +47,6 @@ See the 'NEWS' file for version history.
| lualibs-compat.lua |tex/luatex/lualibs/lualibs-compat.lua
| lualibs-dir.lua |tex/luatex/lualibs/lualibs-dir.lua
| lualibs-file.lua | tex/luatex/lualibs/lualibs-file.lua
-| lualibs-gzip.lua | tex/luatex/lualibs/lualibs-gzip.lua
| lualibs-function.lua | tex/luatex/lualibs/lualibs-function.lua
| lualibs-io.lua | tex/luatex/lualibs/lualibs-io.lua
| lualibs-lpeg.lua | tex/luatex/lualibs/lualibs-lpeg.lua
@@ -74,6 +73,7 @@ See the 'NEWS' file for version history.
| lualibs-util-str.lua | tex/luatex/lualibs/lualibs-util-str.lua
| lualibs-util-tab.lua | tex/luatex/lualibs/lualibs-util-tab.lua
| lualibs-util-tpl.lua | tex/luatex/lualibs/lualibs-util-tpl.lua
+| lualibs-util-zip.lua | tex/luatex/lualibs/lualibs-util-zip.lua
| LICENSE | doc/luatex/lualibs/LICENSE
| NEWS | doc/luatex/lualibs/NEWS
| README | doc/luatex/lualibs/README
diff --git a/NEWS b/NEWS
index a1440a5..1772b8f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
History of the lualibs package
Unreleased
* add util-sac
+ * Replace l-gzip with util-zip
2021/05/20 v2.74/
* sync with Context current as of 2021/05/20.
diff --git a/import-from-context.lua b/import-from-context.lua
index ae28f51..d898a40 100644
--- a/import-from-context.lua
+++ b/import-from-context.lua
@@ -57,7 +57,6 @@ local filenames = {
"dir",
"file",
"function",
- "gzip",
"io",
"lpeg",
"lua",
@@ -87,6 +86,7 @@ local filenames = {
"str",
"tab",
"tpl",
+ "zip",
},
}
diff --git a/lualibs.dtx b/lualibs.dtx
index 04a2b4c..0ac12d5 100644
--- a/lualibs.dtx
+++ b/lualibs.dtx
@@ -322,12 +322,11 @@ and lualibs-extended.lua.
% lualibs-io.lua & l-io.lua & reading and writing files \\
% lualibs-os.lua & l-os.lua & platform specific code \\
% lualibs-file.lua & l-file.lua & filesystem operations \\
-% lualibs-gzip.lua & l-gzip.lua & wrapper for \identifier{lgzip} \\
% lualibs-md5.lua & l-md5.lua & checksum functions \\
% lualibs-dir.lua & l-dir.lua & directory handling \\
% lualibs-unicode.lua & l-unicode.lua & utf and unicode \\
% lualibs-url.lua & l-url.lua & url handling \\
-% lualibs-set.lua & l-set.lua & sets \\[1ex]
+% lualibs-set.lua & l-set.lua & sets \\
% \end{tabular}
% \label{tab:basic}
% \hrule
@@ -358,7 +357,8 @@ and lualibs-extended.lua.
% lualibs-util-deb.lua & util-deb.lua & extra |debug| functionality \\
% lualibs-util-tpl.lua & util-tpl.lua & templating \\
% lualibs-util-sta.lua & util-sta.lua & stacker (e.~g. for \abbrev{pdf}) \\
-% lualibs-util-jsn.lua & util-jsn.lua & conversion to and from json \\[1ex]
+% lualibs-util-jsn.lua & util-jsn.lua & conversion to and from json \\
+% lualibs-util-zip.lua & util-zip.lua & compression and zip files \\[1ex]
% \end{tabular}
% \label{tab:extended}
% \hrule
@@ -622,7 +622,6 @@ if loaded == false then
loadmodule("lualibs-io.lua")
loadmodule("lualibs-os.lua")
loadmodule("lualibs-file.lua")
- loadmodule("lualibs-gzip.lua")
loadmodule("lualibs-md5.lua")
loadmodule("lualibs-dir.lua")
loadmodule("lualibs-unicode.lua")
@@ -797,6 +796,7 @@ if loaded == false then
loadmodule("lualibs-util-deb.lua")--- extra debugging
loadmodule("lualibs-util-tpl.lua")--- templating
loadmodule("lualibs-util-sta.lua")--- stacker (for writing pdf)
+ loadmodule("lualibs-util-zip.lua")--- compression and zip files
end
unfake_context() --- TODO check if this works at runtime
diff --git a/test-lualibs.lua b/test-lualibs.lua
index f12e0b9..1158cbb 100644
--- a/test-lualibs.lua
+++ b/test-lualibs.lua
@@ -3,7 +3,6 @@
local luafiles = {
"lualibs-boolean.lua", "lualibs-compat.lua",
"lualibs-dir.lua", "lualibs-file.lua",
- "lualibs-gzip.lua",
"lualibs-function.lua", "lualibs-io.lua",
"lualibs-lpeg.lua", "lualibs-lua.lua",
"lualibs-math.lua", "lualibs-md5.lua",
@@ -16,8 +15,8 @@ local luafiles = {
"lualibs-util-jsn.lua", "lualibs-util-lua.lua",
"lualibs-util-prs.lua", "lualibs-util-sta.lua",
"lualibs-util-sto.lua", "lualibs-util-str.lua",
- "lualibs-util-tab.lua",
- "lualibs-util-tpl.lua", "lualibs.lua",
+ "lualibs-util-tab.lua", "lualibs-util-tpl.lua",
+ "lualibs-util-zip.lua", "lualibs.lua",
"lualibs-basic.lua", "lualibs-basic-merged.lua",
"lualibs-extended.lua", "lualibs-extended-merged.lua",
}
diff --git a/whatsnew.lua b/whatsnew.lua
index c5baaf8..09a8ffe 100644
--- a/whatsnew.lua
+++ b/whatsnew.lua
@@ -48,7 +48,6 @@ local filenames = {
"dir",
"file",
"function",
- "gzip",
"io",
"lpeg",
"lua",
@@ -78,6 +77,7 @@ local filenames = {
"str",
"tab",
"tpl",
+ "zip",
},
}
More information about the latex3-commits
mailing list.