ws-arch: merge ws/arch-lzma

This commit is contained in:
4DBug committed 2026-10-31 08:38:55 -05:00
commit f6ce1da736
16 files changed
+2912

No files matched your search

+36
View File
@@ -26,6 +26,30 @@ local list: { Entry } = {
return require("@formats/image/png")
end,
},
{
name = "ttf",
category = "font",
path = "font/ttf",
extensions = { "ttf", "otf", "ttc", "otc" },
mime = { "font/ttf", "font/otf", "font/collection" },
deps = { "core/Err", "core/Bytes", "codecs/TrueType" },
caps = { decode = true, encode = false, outlines = { "truetype", "cff" }, collection = true, kerning = true },
load = function()
return require("@formats/font/ttf")
end,
},
{
name = "7z",
category = "archive",
path = "archive/7z",
extensions = { "7z" },
mime = { "application/x-7z-compressed" },
deps = { "core/Err", "core/Bytes", "core/Crc32", "Types", "codecs/Lzma", "codecs/Deflate", "containers/Archive" },
caps = { decode = true, encode = false, methods = { "copy", "lzma", "lzma2", "deflate", "bcj", "delta" }, encrypted = false },
load = function()
return require("@formats/archive/7z")
end,
},
{
name = "br",
category = "archive",
@@ -50,6 +74,18 @@ local list: { Entry } = {
return require("@formats/archive/bz2")
end,
},
{
name = "xz",
category = "archive",
path = "archive/xz",
extensions = { "xz", "txz", "lzma" },
mime = { "application/x-xz", "application/x-lzma" },
deps = { "core/Err", "core/Bytes", "Types", "codecs/Lzma", "containers/Archive" },
caps = { decode = true, encode = false, stream = true, filters = { "lzma2", "lzma", "delta", "x86", "powerpc", "arm", "armthumb", "sparc", "arm64" } },
load = function()
return require("@formats/archive/xz")
end,
},
{
name = "zst",
category = "archive",