Commit Graph
56 Commits
Author SHA1 Message Date
waozi e87bd75a45 Report recoverable and browser-only native CSS issues 2026-11-22 15:55:25 -03:00
waozi e2d73fcdd4 Export the native CSS style packs 2026-11-22 15:40:45 -03:00
waozi f21c596f8f Lock the public CSS ZX provider 2026-11-21 20:59:44 -03:00
waozi 7dd9fff21b Enable native viewport grids in CSS 2026-11-21 17:08:31 -03:00
waozi df8bbbbd66 Align CSS with Kryon size serialization 2026-11-21 03:21:40 -03:00
waozi eba580e376 Compile native width and height for retained layouts 2026-11-20 12:19:41 -03:00
waozi 1f8c502250 Use the verified Gitea Ziran toolchain 2026-11-20 04:28:34 -03:00
waozi 95fd8e09cb Compile native CSS transitions and keyframes 2026-11-20 01:52:45 -03:00
waozi 850bf7465c Resolve native CSS color mixes and reduced-motion queries 2026-11-20 01:07:50 -03:00
waozi 146c420332 Align CSS with the shared Kryon pin 2026-11-20 00:03:12 -03:00
waozi ad4ec746bb Expand native CSS authoring and remove legacy KSS 2026-11-19 22:12:22 -03:00
waozi ed46dead33 Align the Kryon and Ziran dependency revisions 2026-11-19 14:34:51 -03:00
waoziandClaude Opus 5.5 9ee24b3f70 Pin Kryon 0.6.0 and Ziran 0.7.0
Kryon v0.6.0 (8d5d2e75) on Ziran 0.7.0 (55b01768) is the released base
every root shares, so this package moves to it with the rest of the set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 15:57:30 -03:00
waoziandClaude Opus 5.5 6aa491e349 Pin Kryon 1774e550 with the page event bridge kept to web targets
Kryon 1774e550 guards page_events to web targets on top of 97207e63's
canvas and pixmap picture hooks, so native source checks pass again.
Breeze's whole graph moves to it together, keeping one Kryon.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:07:27 -03:00
waoziandClaude Opus 5.5 03bb6cbe4b Pin Kryon 97207e63 with its canvas and pixmap picture hooks
Kryon 97207e63 exports canvas_os and pixmap_image_owner, so apps serve their
own pictures in the browser and on Android, and renders Android at native
size. Breeze's whole graph moves to it together, keeping one Kryon.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:02:25 -03:00
waoziandClaude Opus 5.5 0c07c9e20a Pin Kryon 6816ed78 with its Ziran 0c4465a4
Kryon 6816ed78 includes 2a44bbdb, which skips warped triangles too thin for
Cairo to sample. Entity and Game2D already pin it, so Breeze's graph keeps
one Kryon.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 11:16:58 -03:00
waoziandClaude Opus 5.5 4a769e6fb7 Pin Kryon b5a61b37 with its Android frame pacing
Kryon b5a61b37 paces Android frames from retained paint changes, keeps
smooth indexed scene geometry on GLES and full shadow filtering without
hardware PCF, so Breeze's graph shares one Kryon for its Android host.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 01:55:17 -03:00
waoziandClaude Opus 5.5 9bd7c364df Pin Kryon 8e44f3f8 with its indexed-mesh and animation fixes
Kryon 8e44f3f8 keeps indexed scene geometry relative to each mesh and
keeps desktop animations presenting without input. Practices already
builds on it, so Breeze's whole graph can share one Kryon.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 01:19:33 -03:00
waozi b30bb145de Pin Kryon 3627ea8a with its Ziran 7fbc8152
Kryon 3627ea8a removes raylib, so the lock drops raylib, dr_libs and stb and
moves avif and audio to the pins that Kryon declares. Plot, Game2D, CSS,
Entity and Apps move to this pair together, so apps that combine them
share one Kryon.
2026-11-17 22:04:20 -03:00
waoziandClaude Opus 5.5 5120868d2c Pin Kryon 3f724419 with its Ziran e0367fa9
Kryon 3f724419 builds its vendored codecs with CMake 4 and pins Ziran
e0367fa9, which includes the Wasm record-copy fix (6a066abd) that
hosted bundles need in the browser. CSS, Plot, Game2D, Entity, Apps,
Auth and Workbook move to this pair together, so consumers keep one
Kryon copy.

Local tests: ziran lock and the package's own suite through build-queue,
on HEAD plus this change (other uncommitted work set aside, no local
overrides).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 00:26:49 -03:00
waoziandClaude Opus 5.5 67377cdf01 Pin Kryon 028d42cb with its Ziran ebd19223
Kryon 028d42cb adds Escape dismissal for modals independent of outside
clicks, desktop camera offsets, native frame snapshots
(FramePreviousSnapshot) and desktop image services; it still pins Ziran
ebd19223. CSS, Plot, Game2D, Entity, Apps and Auth move to it together,
so consumers keep one Kryon copy.

Local tests: ziran lock and the package's own suite through build-queue,
on HEAD plus this change (other uncommitted work set aside, no local
overrides).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 23:43:54 -03:00
waoziandClaude Opus 5.5 a5ab2bbef9 Pin Kryon 9052a642 and its Ziran ebd19223
Kryon 9052a642 applies desktop camera offsets to Cairo painting and
pixel snapping; ebd19223 is the Ziran it pins. CSS, Plot, Game2D, Entity,
Apps and Auth move to this pair together, so consumers keep one Kryon
copy.

Local tests: ziran lock and the package's own suite through build-queue,
on HEAD plus this change (other uncommitted work set aside, no local
overrides).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-16 21:25:37 -03:00
waozi 3799bb0933 Pin Kryon 0.4.0 release commit 2026-11-16 19:37:26 -03:00
waozi 71a1b9f397 Align Kryon and Ziran 0.6.0 dependency pins 2026-11-16 17:21:28 -03:00
waozi 6aad71c34f Name the Ziran and Kryon the CSS package needs 2026-11-07 14:45:05 -03:00
waozi 60692b80dc Share the app's Kryon instead of pinning a second copy 2026-11-07 14:25:47 -03:00
waozi 9e5b9b66e9 Pin the Ziran and Kryon the CSS package is tested with 2026-11-07 14:21:18 -03:00
waozi 89a0a8b174 Document Kryon CSS and run conformance in CI 2026-11-07 13:58:38 -03:00
waozi 240cf61ab6 Test the CSS subset on every backend
Behavior tests for the parser, sheets, formatter, migrator and DOM
export; a conformance digest that C, C++, Go, ZX, Android and the
browser export must agree on; and a sanitized fuzzer. The export keeps
Kryon's rule ranking, HSL rounds as browsers round it, and the
migrator refuses output that would not parse.
2026-11-07 13:53:00 -03:00
waozi bc247a75de Parse Kryon styles as a CSS subset
Work in progress: the CSS parser, sheet, compiled packs, formatter,
migrator and DOM export replace the KSS reader. Tests and downstream
conversion follow.
2026-11-07 13:15:02 -03:00
waozi e3536e6d05 Align style engine with console host Kryon 2026-11-03 01:46:33 -03:00
waozi 3b5883be50 Keep the Ziran toolchain the package tests were written for 2026-11-02 11:08:05 -03:00
waozi 62a22c28d1 Pin Kryon Android file opening fix 2026-11-02 10:27:16 -03:00
waozi d208dc030f Align the Kryon package graph and retain C++ host validation 2026-11-02 04:37:45 -03:00
waozi 7b125ad80a Align Kryon primitives for embedded Choano hosts 2026-10-31 12:02:03 -03:00
waozi 3063968dc6 Share Kryon palette scopes with embedded applications 2026-10-31 02:40:56 -03:00
waozi 1cb9df1830 Repin packages to the rewritten history 2026-10-19 11:51:53 -03:00
waozi ca58f5030c Draw tabs as labels over a divider with a selected underline
A tab bar no longer looks like an outlined text field with a chip inside.
Material, Lightfield and Classic draw it as a row of labels over a soft
divider; the open tab keeps the text color and an accent underline, and
hovered tabs take a rounded fill.
2026-10-15 22:23:39 -03:00
waozi 7646df8106 Use shared rule capacity for custom KSS sheets 2026-10-09 00:35:23 -03:00
waozi 8dfb075422 Support typed customization tokens and preserve rejected style snapshots 2026-10-09 00:14:04 -03:00
waozi 751df84d31 Preserve authored pixel units in CSS values 2026-10-07 18:38:44 -03:00
waozi 5dc6e6a76c Export portable KSS styles for native browser layout 2026-10-07 18:29:52 -03:00
waozi c9a691c6b7 docs: update local development paths for package layout 2026-10-02 13:04:17 -03:00
waozi 469802d38a Use lowercase kryon and align the project package lock 2026-09-30 17:48:33 -03:00
waozi c6f104e0ac Write the structural pseudo-class dispatch as an if-case
KssStructuralMatch compared the name against eleven pseudo-classes in an
else-if chain; it is now `if name == { case "root"; ... case; }`.
Old and new versions agree on all 458,752 combinations of the fourteen
names tried (the eleven, an unknown one, "hover", and "") and the facts'
flags and small indexes, on C and on the portable runner. make check
passes on the pinned Ziran.
2026-09-30 08:11:17 -03:00
waozi d416dde5d6 Let Ziran widen values without explicit casts
`ziran check --lint` found six casts that only widen a whole assigned
value (u8 to s32 or u32, float32 to float64). They are removed; the hex
digit arithmetic still happens on the byte before it widens. The
generated C of every KSS entry is identical before and after.
2026-09-30 07:31:45 -03:00
waozi 436959c44f Pin Ziran 07f12a1, which widens numbers implicitly
This Ziran converts narrower numbers implicitly where no value can
change, so casts that only widen can go. `make check` passes on it,
including the fuzz run.
2026-09-30 07:31:45 -03:00
waozi 4e2868c3af Write compared characters as #char literals
The lexer, parser, and formatter compared bytes with character codes
written as numbers (47, 42, 123, 58, ...). `ziran check --lint` found 226
such comparisons; they now read #char "/", #char "*", #char "{",
#char ":" and so on.

The change is textual only: the generated C of every KSS entry is
identical before and after, and `make test` passes with the pinned Ziran.
2026-09-30 07:27:46 -03:00
waozi f8c92299d3 Drop casts to a value's own type
`ziran check --lint` found three casts that convert a value to the type
it already has: two cast(float64) on float64 parts of a number and one
cast(u8) on a byte. They are removed. `make test` still passes with the
pinned Ziran.
2026-09-30 07:21:57 -03:00
waozi 5ac28fe5db State the KSS lexer's byte class laws
The byte classes the lexer reads, white space, digits, letters, hex
digits, and name and selector-name characters, were Bend laws over one
representative byte per class on Kryon's old runtime. They are now
Ziran laws proved for every byte, and `make test` checks them.
2026-09-29 22:12:40 -03:00