Skip to content

CSSThemeCompiler: #Constants, font-size and box semantics matching the build-time compiler - #6032

Open
shai-almog wants to merge 41 commits into
masterfrom
css-theme-compiler-parity-6024
Open

shai-almog wants to merge 41 commits into
masterfrom
css-theme-compiler-parity-6024

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

Fixes #6024.

The runtime CSS compiler (com.codename1.ui.css.CSSThemeCompiler, used for live reload and by apps that build themes on device) now matches the build-time compiler (CSSTheme) on constants, fonts and spacing.

Theme constants

  • #Constants { ... } is a constants block alongside @constants. Any number of blocks are allowed, in any position, and they are excluded from UIID rule processing.
  • Constant and custom-property names keep their case (includeNativeBool -> @includeNativeBool). Before, var(--myColor) could not find a :root{--myColor:...} declaration.
  • Quoted values are decoded ('true' / "true" -> true), and a ; inside quotes no longer splits the declaration.
  • --name inside #Constants becomes @name, as in the build-time compiler.

Fonts

  • font-family + font-size resolve to a real Font. Before, the raw family string was stored and never resolved at runtime.
  • Size conversions follow CSSTheme/Resources: px, pt (/72*25.4 mm), mm, cm, in, rem, vw/vh/vmin/vmax, % of medium, and the size keywords.
  • The family defaults to native:MainRegular, so a size alone works. Family and size are tracked per UIID state and combine across rules.
  • Without a running Display (e.g. IsCssValid), font declarations are validated but no Font is created.

Padding / margin

  • 1-4 value shorthand is stored in the theme's top,bottom,left,right order. It used to be stored in CSS order, so sides were swapped.
  • Per-side padUnit/marUnit are emitted: px/pt/bare numbers as rounded pixels (as CSSTheme does), mm/cm as mm, % as screen percentage, and rem/vw/vh/vmin/vmax with their own units.
  • Malformed values throw CSSSyntaxException.

Behaviour changes

  • @constants{primaryColor:...} now yields @primaryColor (was @primarycolor).
  • Multi-value padding/margin now land on the correct sides.
  • The two existing assertions that pinned the old output are updated.

Tests

  • CSSThemeCompilerTest: the issue's examples, every shorthand length, mixed units, state-specific fonts and spacing, resolved Style values, and the existing @constants behaviour.
  • New RuntimeCompilerParityTest (maven/css-compiler): compiles one sheet with both compilers and compares constants, padding, margin and unit arrays.
  • All in-tree scripts/*/common/src/main/css/theme.css compile exactly as they do on master. The three that fail (rgba() colours, a display-dependent background-image) fail identically there.

🤖 Generated with Claude Code

…e build-time compiler

Fixes #6024.

- #Constants is a constants block like @constants, wherever it sits; constant
  and custom-property names keep their case and quoted values are unquoted.
- font-family/font-size build a Font with the build-time compiler's unit
  conversions, per UIID state, even when declared in separate rules.
- padding/margin expand 1-4 values into top,bottom,left,right storage order
  and emit padUnit/marUnit per side (px/pt pixels, mm/cm, %, rem, vw...).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T05:54:17.946902Z 64d6855 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 63a6e3843d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: No alerts found (report)
  • Paragraph capitalization: No paragraph capitalization issues (report)
  • LanguageTool: No grammar matches (report)
  • Image references: No unused images detected (report)

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare Preview

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 170 screenshots: 170 matched.

Native Android coverage

  • 📊 Line coverage: 16.01% (26002/162390 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 14.37% (122147/850229), branch 9.91% (8466/85441), complexity 7.81% (6525/83503), method 11.59% (4648/40094), class 19.78% (960/4853)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6367 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.ClassReader – 0.00% (0/1524 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.MethodWriter – 0.00% (0/922 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/736 lines covered)
      • com.google.common.cache.com.google.common.cache.LocalCache$Segment – 0.00% (0/726 lines covered)
      • okio.okio.Buffer – 0.00% (0/687 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/625 lines covered)
      • com.codename1.androidcompat.rt.com.codename1.androidcompat.rt.TextXmlPullParser – 0.00% (0/623 lines covered)
      • com.codename1.androidcompat.androidx.constraintlayout.core.widgets.com.codename1.androidcompat.androidx.constraintlayout.core.widgets.Flow – 0.00% (0/576 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 16.01% (26002/162390 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 14.37% (122147/850229), branch 9.91% (8466/85441), complexity 7.81% (6525/83503), method 11.59% (4648/40094), class 19.78% (960/4853)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6367 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.ClassReader – 0.00% (0/1524 lines covered)
      • org.jacoco.agent.rt.internal_0e20598.asm.org.jacoco.agent.rt.internal_0e20598.asm.MethodWriter – 0.00% (0/922 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/736 lines covered)
      • com.google.common.cache.com.google.common.cache.LocalCache$Segment – 0.00% (0/726 lines covered)
      • okio.okio.Buffer – 0.00% (0/687 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/625 lines covered)
      • com.codename1.androidcompat.rt.com.codename1.androidcompat.rt.TextXmlPullParser – 0.00% (0/623 lines covered)
      • com.codename1.androidcompat.androidx.constraintlayout.core.widgets.com.codename1.androidcompat.androidx.constraintlayout.core.widgets.Flow – 0.00% (0/576 lines covered)

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend scalar fallback (no native SIMD)
SIMD int-add (64K x300) java 230ms / native 176ms = 1.3x speedup
SIMD float-mul (64K x300) java 135ms / native 197ms = 0.6x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 88.000 ms
Base64 CN1 decode 83.000 ms
Base64 native encode 457.000 ms
Base64 encode ratio (CN1/native) 0.193x (80.7% faster)
Base64 native decode 273.000 ms
Base64 decode ratio (CN1/native) 0.304x (69.6% faster)
Image encode benchmark status skipped (SIMD unsupported)

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 206 screenshots: 206 matched.
✅ JavaScript-port screenshot tests passed.

…base

- Unquoted color literals in a constants block are stored as plain hex, as the
  build-time compiler stores them; consumers parse them with parseInt(v, 16).
- A constant whose name ends in Image resolves to the resource image and a
  missing one fails the compile; getThemeImageConstant casts to Image, which
  is unchecked on iOS.
- Fonts are built after all rules: a state that sets only family or size takes
  the other from the base style (and a dark style from the light one).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 821dc2cb05

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…erive-aware state fonts

- Constants blocks are applied again in source order, so a later declaration
  wins against :root and in-rule custom properties; the first pass still makes
  them visible to rules above the block.
- A constant written as var(--x) is normalized to plain hex once resolved if
  it is a color.
- A state font missing family or size completes it from the UIID's base style
  and then each cn1-derive parent's matching state and base, as the build-time
  compiler's flattening does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bc3cbf4a2d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
An image constant written as var(--x) is looked up once variables are
resolved, so a custom property declared after the constants block (or in
:root) no longer fails the compile with an unresolved image name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 51a606ec92

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

✅ Continuous Quality Report

Test & Coverage

Static Analysis

  • SpotBugs [Report archive]
    • ✅ ByteCodeTranslator: 0 findings (no issues)
    • ✅ android: 0 findings (no issues)
    • ✅ android-compat: 0 findings (no issues)
    • ✅ android-res-compiler: 0 findings (no issues)
    • ✅ backend: 0 findings (no issues)
    • ✅ backend-test: 0 findings (no issues)
    • ✅ build-engine: 0 findings (no issues)
    • ✅ build-hint-catalog: 0 findings (no issues)
    • ✅ build-hint-tools: 0 findings (no issues)
    • ✅ codenameone-gradle-plugin: 0 findings (no issues)
    • ✅ codenameone-maven-plugin: 0 findings (no issues)
    • ✅ core-unittests: 0 findings (no issues)
    • ✅ ios: 0 findings (no issues)
    • ✅ javac: 0 findings (no issues)
    • ✅ project-model: 0 findings (no issues)
  • ✅ PMD: 0 findings (no issues) [Report archive]
  • ✅ Checkstyle: 0 findings (no issues) [Report archive]

Generated automatically by the PR CI workflow.

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 185 screenshots: 185 matched.
Native Windows port (x64 / Intel-AMD): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, SSE2 SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 43ms / native 2ms = 21.5x speedup
SIMD float-mul (64K x300) java 44ms / native 2ms = 22.0x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 60.000 ms
Base64 CN1 decode 77.000 ms
Base64 SIMD encode 92.000 ms
Base64 encode ratio (SIMD/CN1) 1.533x (53.3% slower)
Base64 SIMD decode 81.000 ms
Base64 decode ratio (SIMD/CN1) 1.052x (5.2% slower)
Image encode benchmark iterations 100
Image createMask (SIMD off) 9.000 ms
Image createMask (SIMD on) 2.000 ms
Image createMask ratio (SIMD on/off) 0.222x (77.8% faster)
Image applyMask (SIMD off) 26.000 ms
Image applyMask (SIMD on) 30.000 ms
Image applyMask ratio (SIMD on/off) 1.154x (15.4% slower)
Image modifyAlpha (SIMD off) 31.000 ms
Image modifyAlpha (SIMD on) 14.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.452x (54.8% faster)
Image modifyAlpha removeColor (SIMD off) 31.000 ms
Image modifyAlpha removeColor (SIMD on) 18.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.581x (41.9% faster)

ParparVM vs HotSpot (JDK 25): Windows x64

Runner CPU: AMD64 Family 25 Model 17 Stepping 1, AuthenticAMD (baseline windows-x64@amd64-family-25-model-17-authenticamd)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 15% (time) / 15% (RAM) away from its baseline in vm/selfhost/perf-baseline/ fails: above it is a regression, below it an improvement that has to be rebaselined (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (WinHelloMain) 4 1.39x (base 1.38x, +1.3%) 0.57x (base 0.82x, -30.0%) ok
translator (self) 4 0.75x (base 0.70x, +7.3%) 0.51x (base 0.55x, -8.2%) ok
intArithmetic 4 1.10x (base 1.10x, +0.4%) 0.05x (base 0.06x, -3.2%) ok
longArithmetic 4 1.08x (base 1.08x, -0.0%) 0.05x (base 0.06x, -1.1%) ok
mathTranscendental 4 0.86x (base 0.85x, +0.6%) 0.06x (base 0.06x, -2.4%) ok
arraySequential 4 1.70x (base 1.72x, -1.2%) 0.38x (base 0.38x, +0.2%) ok
arrayRandom 4 1.03x (base 1.01x, +1.3%) 0.23x (base 0.23x, +0.1%) ok
objectAllocation 4 1.29x (base 1.25x, +2.8%) 0.32x (base 0.29x, +7.0%) ok
valueEscape 4 0.10x (base 0.10x, -1.4%) 0.05x (base 0.04x, +3.4%) ok
hashMapChurn 4 1.29x (base 1.39x, -7.1%) 0.10x (base 0.10x, +6.7%) ok
stringBuilding 4 1.38x (base 1.36x, +1.6%) 0.32x (base 0.28x, +16.1%) ok
recursion 4 1.38x (base 1.43x, -3.1%) 0.06x (base 0.06x, +0.1%) ok
quicksort 4 1.11x (base 1.11x, +0.2%) 0.12x (base 0.12x, -0.7%) ok

Result: no regression

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 185 screenshots: 185 matched.
Native Linux port (x64), GTK3/Cairo/Pango, ParparVM bytecode-to-C (no JVM): the hellocodenameone screenshot suite rendered by a native ELF built + run on the GitHub x64 runner. Baseline: scripts/linux/screenshots.

ParparVM vs HotSpot (JDK 25): Linux x64

Runner CPU: AMD EPYC 7763 64-Core Processor (baseline linux-x64@amd-epyc-7763-64-core-processor)

2 performance regressions:

  • translator (self) on all 4 CPUs: time 0.62x against a 0.50x baseline (+25.1%, tolerance 20%)
  • stringBuilding on all 4 CPUs: RAM 0.31x against a 0.26x baseline (+20.1%, tolerance 15%)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 15% (time) / 15% (RAM) away from its baseline in vm/selfhost/perf-baseline/ fails: above it is a regression, below it an improvement that has to be rebaselined (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (LinuxHelloMain) 4 0.80x (base 0.85x, -5.5%) 0.90x (base 1.02x, -11.9%) ok
translator (self) 4 0.62x (base 0.50x, +25.1%) 0.45x (base 0.52x, -12.4%) REGRESSION (time +25.1%)
intArithmetic 4 1.13x (base 1.12x, +0.9%) 0.04x (base 0.06x, -32.7%) ok
longArithmetic 4 1.08x (base 1.08x, +0.0%) 0.04x (base 0.05x, -34.1%) ok
mathTranscendental 4 1.09x (base 1.08x, +0.3%) 0.04x (base 0.07x, -48.2%) ok
arraySequential 4 2.23x (base 2.00x, +11.2%) 0.36x (base 0.36x, +0.1%) ok
arrayRandom 4 1.01x (base 0.91x, +10.9%) 0.20x (base 0.21x, -3.9%) ok
objectAllocation 4 1.54x (base 1.65x, -6.5%) 0.27x (base 0.37x, -26.1%) ok
valueEscape 4 0.10x (base 0.10x, -0.3%) 0.03x (base 0.04x, -32.7%) ok
hashMapChurn 4 1.49x (base 1.48x, +0.7%) 0.11x (base 0.09x, +15.2%) ok
stringBuilding 4 1.31x (base 1.39x, -5.9%) 0.31x (base 0.26x, +20.1%) REGRESSION (RAM +20.1%)
recursion 4 1.19x (base 1.25x, -5.3%) 0.04x (base 0.08x, -51.3%) ok
quicksort 4 1.11x (base 1.07x, +3.4%) 0.10x (base 0.11x, -14.4%) ok

A change that moves performance ON PURPOSE records the new baseline in vm/selfhost/perf-baseline/pr/6032.json, with the reason, from this job's perf-results.json. The rebaseline is then part of this pull request's diff:

python3 vm/selfhost/calibrate-perf-baseline.py --pr 6032 --reason "<why these benchmarks moved>" perf-results.json

Result: performance regression

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 185 screenshots: 185 matched.
Native Linux port (arm64), GTK3/Cairo/Pango, ParparVM bytecode-to-C (no JVM): the hellocodenameone screenshot suite rendered by a native ELF built + run on the GitHub arm64 runner. Baseline: scripts/linux/screenshots-arm.

ParparVM vs HotSpot (JDK 25): Linux arm64

Runner CPU: Neoverse-N2 (baseline linux-arm64@neoverse-n2)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 15% (time) / 15% (RAM) away from its baseline in vm/selfhost/perf-baseline/ fails: above it is a regression, below it an improvement that has to be rebaselined (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (LinuxHelloMain) 4 0.93x (base 1.02x, -8.7%) 0.77x (base 0.93x, -17.5%) ok
translator (self) 4 0.71x (base 0.70x, +2.2%) 0.46x (base 0.51x, -9.2%) ok
intArithmetic 4 1.04x (base 1.04x, -0.1%) 0.03x (base 0.03x, -1.6%) ok
longArithmetic 4 0.79x (base 0.79x, -0.4%) 0.03x (base 0.03x, -0.7%) ok
mathTranscendental 4 1.10x (base 1.10x, +0.0%) 0.03x (base 0.03x, +1.0%) ok
arraySequential 4 0.34x (base 0.36x, -6.6%) 0.37x (base 0.37x, +0.2%) ok
arrayRandom 4 0.94x (base 0.94x, -0.2%) 0.20x (base 0.20x, -0.1%) ok
objectAllocation 4 1.71x (base 1.77x, -3.2%) 0.37x (base 0.38x, -3.4%) ok
valueEscape 4 0.51x (base 0.51x, -0.1%) 0.03x (base 0.03x, -1.1%) ok
hashMapChurn 4 0.85x (base 0.84x, +1.0%) 0.11x (base 0.12x, -7.2%) ok
stringBuilding 4 1.50x (base 1.57x, -4.4%) 0.26x (base 0.26x, -0.3%) ok
recursion 4 1.42x (base 1.43x, -1.0%) 0.03x (base 0.04x, -1.0%) ok
quicksort 4 1.00x (base 0.99x, +0.7%) 0.09x (base 0.09x, -0.1%) ok

Result: no regression

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 185 screenshots: 185 matched.
Native Windows port (arm64 / Apple Silicon - Arm): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, NEON SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.

Benchmark Results

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 50ms / native 3ms = 16.6x speedup
SIMD float-mul (64K x300) java 48ms / native 3ms = 16.0x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 native bridge unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Base64 CN1 encode 59.000 ms
Base64 CN1 decode 70.000 ms
Base64 SIMD encode 78.000 ms
Base64 encode ratio (SIMD/CN1) 1.322x (32.2% slower)
Base64 SIMD decode 72.000 ms
Base64 decode ratio (SIMD/CN1) 1.029x (2.9% slower)
Image encode benchmark iterations 100
Image createMask (SIMD off) 5.000 ms
Image createMask (SIMD on) 3.000 ms
Image createMask ratio (SIMD on/off) 0.600x (40.0% faster)
Image applyMask (SIMD off) 20.000 ms
Image applyMask (SIMD on) 20.000 ms
Image applyMask ratio (SIMD on/off) 1.000x (0.0% slower)
Image modifyAlpha (SIMD off) 18.000 ms
Image modifyAlpha (SIMD on) 13.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.722x (27.8% faster)
Image modifyAlpha removeColor (SIMD off) 21.000 ms
Image modifyAlpha removeColor (SIMD on) 14.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 0.667x (33.3% faster)

ParparVM vs HotSpot (JDK 25): Windows arm64

Runner CPU: ARMv8 (64-bit) Family 8 Model D49 Revision 0, MICROSOFT CORPORATION (baseline windows-arm64@armv8-64-bit-family-8-model-d49-microsoft-corporation)

Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 15% (time) / 15% (RAM) away from its baseline in vm/selfhost/perf-baseline/ fails: above it is a regression, below it an improvement that has to be rebaselined (a row whose calibration runs were noisier carries a wider tolerance), and for RAM the change must also exceed 0.05x in absolute terms. Both run unpinned on all of the runner's CPUs, with their own default thread counts.

Benchmark Cores Time RAM Status
hello (WinHelloMain) 4 1.02x (base 1.11x, -7.9%) 0.77x (base 0.75x, +2.0%) ok
translator (self) 4 0.84x (base 0.84x, +0.1%) 0.47x (base 0.51x, -7.2%) ok
intArithmetic 4 1.04x (base 1.04x, -0.0%) 0.06x (base 0.06x, +1.6%) ok
longArithmetic 4 0.79x (base 0.80x, -0.0%) 0.06x (base 0.06x, +1.9%) ok
mathTranscendental 4 0.72x (base 0.72x, -0.1%) 0.06x (base 0.06x, +0.4%) ok
arraySequential 4 0.38x (base 0.46x, -16.2%) 0.39x (base 0.39x, +0.0%) ok
arrayRandom 4 0.94x (base 0.94x, +0.3%) 0.23x (base 0.23x, +0.1%) ok
objectAllocation 4 1.79x (base 2.81x, -36.1%) 0.41x (base 0.43x, -5.6%) ok
valueEscape 4 0.76x (base 0.76x, +0.1%) 0.05x (base 0.05x, +2.1%) ok
hashMapChurn 4 0.99x (base 0.98x, +0.5%) 0.11x (base 0.12x, -9.1%) ok
stringBuilding 4 1.62x (base 1.43x, +13.6%) 0.27x (base 0.27x, -0.7%) ok
recursion 4 1.56x (base 1.46x, +6.8%) 0.06x (base 0.07x, -0.4%) ok
quicksort 4 1.00x (base 1.00x, -0.1%) 0.12x (base 0.12x, -0.1%) ok

Result: no regression

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 168 screenshots: 168 matched.
✅ Native iOS Metal screenshot tests passed.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 1914 seconds

Build and Run Timing

Metric Duration
Simulator Boot 2000 ms
Simulator Boot (Run) 0 ms
App Install 17000 ms
App Launch 7000 ms
Test Execution 413000 ms

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 65ms / native 3ms = 21.6x speedup
SIMD float-mul (64K x300) java 69ms / native 4ms = 17.2x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path active (NEON-accelerated)
Base64 CN1 encode 57.000 ms
Base64 CN1 decode 58.000 ms
Base64 native encode 1176.000 ms
Base64 encode ratio (CN1/native) 0.048x (95.2% faster)
Base64 native decode 484.000 ms
Base64 decode ratio (CN1/native) 0.120x (88.0% faster)
Base64 SIMD encode 90.000 ms
Base64 encode ratio (SIMD/CN1) 1.579x (57.9% slower)
Base64 SIMD decode 51.000 ms
Base64 decode ratio (SIMD/CN1) 0.879x (12.1% faster)
Base64 encode ratio (SIMD/native) 0.077x (92.3% faster)
Base64 decode ratio (SIMD/native) 0.105x (89.5% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 7.000 ms
Image createMask (SIMD on) 2.000 ms
Image createMask ratio (SIMD on/off) 0.286x (71.4% faster)
Image applyMask (SIMD off) 52.000 ms
Image applyMask (SIMD on) 45.000 ms
Image applyMask ratio (SIMD on/off) 0.865x (13.5% faster)
Image modifyAlpha (SIMD off) 39.000 ms
Image modifyAlpha (SIMD on) 37.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.949x (5.1% faster)
Image modifyAlpha removeColor (SIMD off) 47.000 ms
Image modifyAlpha removeColor (SIMD on) 226.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 4.809x (380.9% slower)

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 163 screenshots: 163 matched.
✅ Native Apple TV (tvOS, Metal) screenshot tests passed.

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 236 screenshots: 236 matched.
✅ Native Apple Watch (watchOS, Core Graphics) screenshot tests passed.

@shai-almog

shai-almog commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Compared 168 screenshots: 168 matched.
✅ Native iOS Metal screenshot tests passed.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 1428 seconds

Build and Run Timing

Metric Duration
Simulator Boot 96000 ms
Simulator Boot (Run) 2000 ms
App Install 20000 ms
App Launch 14000 ms
Test Execution 381000 ms

Detailed Performance Metrics

Metric Duration
SIMD kernel backend SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300) java 53ms / native 3ms = 17.6x speedup
SIMD float-mul (64K x300) java 82ms / native 5ms = 16.4x speedup
SIMD kernel correctness PASS (native result == scalar reference)
Base64 payload size 8192 bytes
Base64 benchmark iterations 6000
Base64 SIMD byte path active (NEON-accelerated)
Base64 CN1 encode 52.000 ms
Base64 CN1 decode 72.000 ms
Base64 native encode 401.000 ms
Base64 encode ratio (CN1/native) 0.130x (87.0% faster)
Base64 native decode 323.000 ms
Base64 decode ratio (CN1/native) 0.223x (77.7% faster)
Base64 SIMD encode 54.000 ms
Base64 encode ratio (SIMD/CN1) 1.038x (3.8% slower)
Base64 SIMD decode 65.000 ms
Base64 decode ratio (SIMD/CN1) 0.903x (9.7% faster)
Base64 encode ratio (SIMD/native) 0.135x (86.5% faster)
Base64 decode ratio (SIMD/native) 0.201x (79.9% faster)
Image encode benchmark iterations 100
Image createMask (SIMD off) 5.000 ms
Image createMask (SIMD on) 2.000 ms
Image createMask ratio (SIMD on/off) 0.400x (60.0% faster)
Image applyMask (SIMD off) 69.000 ms
Image applyMask (SIMD on) 32.000 ms
Image applyMask ratio (SIMD on/off) 0.464x (53.6% faster)
Image modifyAlpha (SIMD off) 64.000 ms
Image modifyAlpha (SIMD on) 27.000 ms
Image modifyAlpha ratio (SIMD on/off) 0.422x (57.8% faster)
Image modifyAlpha removeColor (SIMD off) 103.000 ms
Image modifyAlpha removeColor (SIMD on) 261.000 ms
Image modifyAlpha removeColor ratio (SIMD on/off) 2.534x (153.4% slower)

…braces, state-first font fallback

Image constants are looked up after every rule ran, so a cn1-mutable-image
can supply one. Only the winning declaration of a constant decides whether
it is reinterpreted as an image or a var() color. A quoted brace no longer
ends a rule. A state font searches the matching state along the derive
chain before any unselected style. The GUI builder normalizer keeps the
units the compiler already stored instead of resetting them to px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

theme.put(key, resolveVars(theme, (String) value));

P2 Badge Stop cyclic constants from hanging variable resolution

When a constants block contains a self-reference or cycle, such as #Constants { a: var(--a); } or a: var(--b); b: var(--a);, this call enters resolveVars(), which repeatedly replaces one var() with another without cycle detection or a progress bound. Compilation then never returns, potentially freezing live reload or the GUI builder; detect repeated keys and reject cyclic constant definitions.


theme.put(key, resolveVars(theme, (String) value));

P2 Badge Preserve var() text in quoted constants

When a quoted string happens to contain variable syntax, for example #Constants { message: "var(--name)"; }, quote information has already been discarded before this unconditional pass, so the literal message is replaced with the value of --name (or with an empty string if it is undefined). The build-time compiler treats this as a string value, so only declarations that were originally unquoted variable expressions should be resolved.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
…cyclic vars, * font fallback

rgba() color constants are stored as their RGB hex. A quoted constant is
a string: its var() text is not resolved, and comment delimiters inside
quotes are text. A cyclic var() reference is a syntax error instead of a
compile that never returns. A state font falls back to the * style after
the derive chain. The GUI builder test that used font-size as its example
of an unsupported declaration now uses font-style, since the canvas
compiler supports font-size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 313a87da68

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…g custom properties are a cycle, pressed derives stay in their state, percentage rgb() channels; CSSTheme: percentage rgb() channels were read as 0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 63b9e91ae8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…d #Constants names count as redeclarations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b0d26b2911

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
…micolons stay in identifiers, dark fonts ignore light derives; both compilers clamp out-of-range rgb() channels

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02bfc37a90

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 450f1079e0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
… in a selector list, cn1-derive targets unquoted and decoded, hex escapes end at any CSS whitespace

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1732c45231

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…ies, empty rgb() components rejected; GUI builder: #Constants in selector lists, corrupt unselected variants no longer fail the folder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58543d7834

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…font; GUI builder: a mixed #Constants selector list is still probed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c70b2e17ff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…rk element's derive leads to the light target

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f2dd3ea52

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
… pass; an image constant of a url() or dimension is left out

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 64d6855338

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java Outdated
Comment thread CodenameOne/src/com/codename1/ui/css/CSSThemeCompiler.java
…operty names decoded everywhere, a redefined exported constant retypes later aliases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSSThemeCompiler: support theme constants, font sizes, and spacing semantics for parity

1 participant