Commit Graph
30 Commits
Author SHA1 Message Date
4DBug e8d2ba81c2 merge ws/data: codecs Json/Xml, data json xml csv ini toml yaml msgpack cbor plist 2026-10-31 08:59:44 -05:00
4DBug e11f07dade Merge branch 'ws/data-yaml' into ws/data 2026-10-31 08:56:36 -05:00
4DBug 6d8262cf4a data: data/plist (XML read/write byte-identical to plistlib, binary bplist00 read incl. UIDs / shared refs / cycle guard); plistlib fixtures. Array detection in Json / msgpack / cbor encoders no longer trusts next(t, #t) 2026-10-31 08:56:36 -05:00
4DBug 6226ec41e4 ws-arch: archive/7z reads BZip2 (codecs/Bzip2) and Zstd (codecs/Zstd) coders; fixtures test BZip2 solid + BCJ 2026-10-31 08:55:24 -05:00
4DBug a9110bdab2 ws-arch: containers/Tar + archive/tar (ustar / pax / GNU read + write, byte-identical to Python's tarfile) and archive/gzip (read + write, .tar.gz writing); tests incl. .tar.gz/.tgz/.tar.bz2/.tar.xz/.tar.zst/.tar.br unwrap through the api 2026-10-31 08:54:37 -05:00
4DBug 5811e3a4eb data: data/yaml (YAML 1.2 core schema read / write: block + flow, compact collections, plain / quoted / literal / folded scalars, anchors + aliases as shared refs with an expansion limit, tags incl. !!binary / !!timestamp, %TAG, multi-document, explicit keys; writer with anchors for shared tables); yaml-test-suite + PyYAML fixtures; bench lines
tools/bench.sh: also generates the yaml fixtures.
2026-10-31 08:54:13 -05:00
4DBug 6cee99f4e3 data: data/ini (configparser-compatible reading: comments, ':' / '=', continuations, duplicates, top-level keys; inline comments / no-value keys / types / strict options; configparser layout on encode); configparser fixtures 2026-10-31 08:53:45 -05:00
4DBug 1b9b1d82ee data: data/csv (RFC 4180 + Python-lenient reading, delimiter / auto, header -> keyed rows, numbers option, minimal / all quoting); Python csv fixtures, byte-exact re-encode 2026-10-31 08:52:26 -05:00
4DBug abadfaf07f data: merge ws/data-toml (data/toml) 2026-10-31 08:50:46 -05:00
4DBug 2ef071cb16 data: data/cbor (RFC 8949: indefinite lengths, half floats, tags 0/1 dates, bignums, self-describe, tagged / simple / undefined values, sequences); RFC appendix A + cbor2 fixtures, byte-exact re-encode 2026-10-31 08:50:39 -05:00
4DBug 945abe6d94 ws-arch: font/bmfont (text / XML / binary read + write, lazy pages, bake from outline fonts); api: lazy page loader for bitmap fonts (opts.loadPage or sibling files) 2026-10-31 08:47:27 -05:00
4DBug 4f44e5ebe3 data: data/msgpack (full spec, timestamps as Types.Date, ext values, ordered maps, exact 64-bit text option, streams); Python msgpack fixtures, byte-exact re-encode 2026-10-31 08:46:58 -05:00
4DBug be0618b76e data: data/toml (TOML 1.0.0 read / write: Types.object tables with key order, Types.Date datetimes, full validity rules, bigInts option, [section] / [[aot]] / inline writer); toml-test v2.2.0 1.0 files (205 valid, 474 invalid) + tomli-w / tomllib corpus 2026-10-31 08:46:45 -05:00
4DBug ef6c658d78 ws-arch: font/woff and font/woff2 (glyf/loca/hmtx transforms) with tests: identical glyphs to the sfnt 2026-10-31 08:42:57 -05:00
4DBug eeb62192b5 data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests) 2026-10-31 08:40:26 -05:00
4DBug a1edea0e44 data: codecs/Xml (XML 1.0 DOM + pull events + serializer: UTF-8/16/Latin-1, entities incl. internal DOCTYPE with expansion limit, CDATA, comments, PIs, namespaces as qualified names + node.ns / clark, xml:space); ElementTree + expat fixtures; bench lines 2026-10-31 08:38:55 -05:00
4DBug f6ce1da736 ws-arch: merge ws/arch-lzma 2026-10-31 08:38:55 -05:00
4DBug 20092f6324 ws-arch: wip font/ttf + font fixtures 2026-10-31 08:38:47 -05:00
4DBug 9fadc7155f ws-arch: merge ws/arch-zstd 2026-10-31 08:37:32 -05:00
4DBug 63a2e33387 ws-arch: merge ws/arch-brotli 2026-10-31 08:37:32 -05:00
4DBug 77b840166e ws-arch: archive/7z: 7z read (plain / encoded headers, solid folders, copy / LZMA / LZMA2 / Deflate with BCJ / ARM64 / delta filters, UTF-16 names, mtimes, attributes, CRCs; lazy per-folder decode); tests against 7-Zip 26 2026-10-31 08:37:15 -05:00
4DBug 45cc667083 ws-arch: codecs/Zstd (RFC 8878 decoder from the spec: frames, skippable frames, raw/RLE/compressed blocks, Huffman literals, FSE tables, repeat offsets, XXH64 checksum on 32-bit halves) + archive/zst (single-stream archive); tests against the zstd CLI on both runtimes 2026-10-31 08:36:24 -05:00
4DBug 0bfd70e1ca ws-arch: codecs/Brotli (RFC 7932 decoder: all meta-block kinds, context modes/maps, static dictionary + 121 transforms, large windows) and archive/br (single-stream archive); tools/brotli_static.py generates codecs/Brotli/Static from the brotli sources (MIT, licenses/brotli-LICENSE.txt); fixtures via python brotli + CLI 2026-10-31 08:36:16 -05:00
4DBug 0a56389b09 ws-arch: archive/xz: .xz / .lzma read as one-entry stream archives (codecs/Lzma) 2026-10-31 08:32:50 -05:00
4DBug b306a3bf5e ws-arch: codecs/Lzma: LZMA / LZMA2 decoders, .lzma (alone), the xz container (checks none / CRC-32 / CRC-64, BCJ x86 / PPC / ARM / ARMT / SPARC / ARM64 + delta filters, multi-block / multi-stream); tests against liblzma 2026-10-31 08:32:11 -05:00
4DBug ace198690f Merge branch 'ws/arch-bzip2' into ws/arch 2026-10-31 08:30:49 -05:00
4DBug 17106c2eb1 ws-arch: codecs/Raster: antialiased signed-area scanline rasterizer (lines, quads, cubics, affine transforms, nonzero + even-odd, clip, masks, fill with colour or paint function, polygon stroker with caps/joins); tests vs a supersampled winding reference 2026-10-31 08:30:45 -05:00
4DBug 19110e6199 data: codecs/Json (RFC 8259 parse / serialize: ordered keys, Types.null, bigInts as strings, pretty / ascii, events pull tokenizer, decodeAt / lines, streaming writer); JSONTestSuite + Python json fixtures; bench lines
Types (backward compatible additions in the Data section): Types.object / isObject / set / keys (ordered objects
and empty-object marking, shared by every data format), Types.Date (RFC 3339 typed dates for TOML / plist / CBOR /
msgpack: new / is / valid / parse / toUnix / fromUnix), XmlNode gains optional text / target / ns fields.
tools/bench.sh: also generates the json fixtures.
2026-10-31 08:30:05 -05:00
4DBug b7018b6bfb ws-arch: codecs/Bzip2 (bzip2 decompressor: Huffman groups, MTF/RUNA/RUNB, inverse BWT, RLE1, block + stream CRCs, concatenated streams) + archive/bz2 (single-stream archive); tests vs Python bz2 (libbzip2) on both runtimes 2026-10-31 08:27:55 -05:00
4DBug cdcb5b0b77 formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder) 2026-10-31 08:18:01 -05:00