Add archive helpers and harden task runtime

This commit is contained in:
udo
2026-05-21 00:00:23 +00:00
parent 9f7625c7fd
commit 02e153a6a7
71 changed files with 12817 additions and 305 deletions
+12
View File
@@ -0,0 +1,12 @@
# miniz vendored for UCE
UCE vendors miniz 3.0.2 from <https://github.com/richgel999/miniz> for ZIP archive support.
Files are kept under `vendor/miniz/` and are included by `src/lib/zip.cpp` so UCE can expose `zip_create()`, `zip_list()`, `zip_read()`, `zip_extract()`, `gz_compress()`, and `gz_uncompress()` without adding a runtime package dependency.
Local patch:
- `miniz_export.h` is provided as a tiny static-build compatibility header defining `MINIZ_EXPORT`.
- `miniz_tdef.c` moves the `s_tdefl_num_probes` initializer before its first use so the vendored C source can be included in UCE's single C++ translation-unit build.
The upstream license is preserved in `LICENSE`.