6 Commits
Author SHA1 Message Date
LiangKam 61e9f1312a fix(qemu): validate PPM headers and raster length (#18)
Parse the P6 header explicitly, keep every raster byte, and reject
non-positive dimensions, maxval other than 255, and mismatched raster
lengths. Add scripts/test-qemu-ppm.py.
2026-10-22 01:11:15 +08:00
bluseliu50 6f1bec0945 feat(package): add a portrait menu layout chosen by aspect ratio
The boot menu uses a column layout on a framebuffer whose width/height
is below [ui] portrait_below (default 800 thousandths): the vector logo
on top, numbered entry cards at the bottom and wrapping status lines.
[ui] layout forces landscape or portrait. qemu-run.py gains
--display-size to test tall panels, and smoke.sh a layout scenario.
2026-10-21 01:47:53 +08:00
bluseliu50 aec2c2432d fix(package): keep leading whitespace bytes when converting QEMU screenshots
The PPM pixels were split off the header with split(maxsplit=4), which
drops leading bytes that are ASCII whitespace. A background starting
with 0x0B shifted every channel and tinted the screenshot. Take the
pixels from the end of the file instead.
2026-10-21 01:47:53 +08:00
UniXNU Docs 5c92d4048f docs: add the VitePress documentation site
Add English and Simplified Chinese documentation under docs/, covering the boot chain, build, boot, debugging, porting, drivers, XNU 4 KiB pages, macOS and device notes. Add the Pages workflow and CNAME. Rename the boot manager from CrabApple to UniXNU across the package, symbols, paths, configuration file and logs. Update README with the documentation badge and CONTRIBUTING link.
2026-10-19 22:10:43 +08:00
UniXNU Docs 52a1d4aac8 docs(readme): add theme-aware logo
Add transparent dark and light SVG logos under assets/ and show them in
the README with a picture element so they follow the page theme. The
wordmark is a traced outline; gen-logo.py now emits both variants.
2026-10-19 19:13:56 +08:00
bluseliu50 dec4c7b5b6 Initial import 2026-10-19 18:49:31 +08:00