zupt/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cristian Cezar Moisés a2350dd0f6 codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults
Vendor codec 2.65.0 (from vaptvupt-codec tag v2.65.0), re-applying the two
in-tree audit patches on top: the ANS decode safe-zone 2*SAFEZONE_MAX_RUN
reserve (heap-overflow guard, not yet upstream) and the AVX2 offset-read
bound in vv_decoder.c.

Two settings in the integration layer were leaving most of the codec's ratio
on the table:

  * vaptvupt_api.c forced opts.format_v2=1 for balanced+extreme. Since codec
    v2.61.0 that routes text through the binary/greedy path and HALVES the
    extreme-mode text ratio (codec-level 7.6x -> 3.7x). The codec auto-enables
    format_v2 for binary-detected input on its own, so stop forcing it: text
    keeps the optimal parser, binary still gets v2.

  * auto_block_size() capped the extreme block at 512 KiB. The block IS the
    codec's LZ window, so the 'large-window extreme' parser could never match
    past 512 KiB. Scale block size with level (128 KiB fast -> 8 MiB extreme).
    Because block size also sets --dedup granularity (a large block rarely
    finds a byte-exact duplicate), --dedup now overrides to a small 256 KiB
    block so block-level dedup still works.

Measured, level 9 extreme: text 3.77x->5.98x (+58%), logs 7.21x->9.07x (+26%),
json 8.25x->9.38x, source 4.93x->5.63x. Wire format unchanged (v1.6); 5.0.0
and 5.1.0 archives interoperate both directions (verified, all modes). Bump
ZUPT_CODEC_RELEASE to 2.65.0 and ZUPT_VERSION_STRING to 5.1.0.
2026-07-11 22:53:44 -03:00
..
vaptvupt_api.c codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults 2026-07-11 22:53:44 -03:00
vv_ans.c codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults 2026-07-11 22:53:44 -03:00
vv_bcj.c v4.0.0: codec 2.60.4 security release, --pq-box sealed-box mode, F-16 fix 2026-06-10 18:48:58 -03:00
vv_decoder.c codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults 2026-07-11 22:53:44 -03:00
vv_encoder.c codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults 2026-07-11 22:53:44 -03:00
vv_huffman.c codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults 2026-07-11 22:53:44 -03:00
vv_simd.c v4.0.0: codec 2.60.4 security release, --pq-box sealed-box mode, F-16 fix 2026-06-10 18:48:58 -03:00
vv_xxh64.c v2.2.3 2026-05-02 00:49:49 -03:00
zupt_aes256.c v2.2.2 2026-05-01 09:58:47 -03:00
zupt_cpuid.c v4.0.0: codec 2.60.4 security release, --pq-box sealed-box mode, F-16 fix 2026-06-10 18:48:58 -03:00
zupt_crypto.c GUI rework for source-only builds + CLI security fixes + packaging + cross-platform scaffolding 2026-07-10 12:45:46 -03:00
zupt_crypto_pqbox.c v4.1.0: source-only build, multithreaded-encryption fix, security hardening 2026-07-07 19:45:37 -03:00
zupt_crypto_sdk.c v4.1.0: source-only build, multithreaded-encryption fix, security hardening 2026-07-07 19:45:37 -03:00
zupt_dedup.c v2.2.2 2026-05-01 09:58:47 -03:00
zupt_disk.c v4.1.0: source-only build, multithreaded-encryption fix, security hardening 2026-07-07 19:45:37 -03:00
zupt_filetype.c v2.2.2 2026-05-01 09:58:47 -03:00
zupt_format.c codec: vendor VaptVupt 2.65.0 + fix two ratio-crippling wrapper defaults 2026-07-11 22:53:44 -03:00
zupt_keccak.c v2.1.7: Zupt is now licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) + VaptVupt v2.46.1(GPLv3) 2026-04-26 01:47:45 -03:00
zupt_lz.c v2.2.2 2026-05-01 09:58:47 -03:00
zupt_lzh.c v4.1.0: source-only build, multithreaded-encryption fix, security hardening 2026-07-07 19:45:37 -03:00
zupt_main.c GUI rework for source-only builds + CLI security fixes + packaging + cross-platform scaffolding 2026-07-10 12:45:46 -03:00
zupt_mlkem.c crypto: make ML-KEM-768 genuinely FIPS 203-conformant (validated vs OpenSSL) 2026-07-10 13:27:37 -03:00
zupt_mlock.c v2.1.7: Zupt is now licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) + VaptVupt v2.46.1(GPLv3) 2026-04-26 01:47:45 -03:00
zupt_parallel.c v4.1.0: source-only build, multithreaded-encryption fix, security hardening 2026-07-07 19:45:37 -03:00
zupt_parallel.h v2.2.2 2026-05-01 09:58:47 -03:00
zupt_predict.c v2.2.2 2026-05-01 09:58:47 -03:00
zupt_sha256.c v4.0.0: codec 2.60.4 security release, --pq-box sealed-box mode, F-16 fix 2026-06-10 18:48:58 -03:00
zupt_sha256_shani.c v4.0.0: codec 2.60.4 security release, --pq-box sealed-box mode, F-16 fix 2026-06-10 18:48:58 -03:00
zupt_thread.h v2.2.2 2026-05-01 09:58:47 -03:00
zupt_x25519.c v2.1.7: Zupt is now licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) + VaptVupt v2.46.1(GPLv3) 2026-04-26 01:47:45 -03:00
zupt_xxh.c v2.2.2 2026-05-01 09:58:47 -03:00