Skip to content

Sync latest Moonrise changes and use root locale for number formatting - #14510

Merged
jpenilla merged 4 commits into
mainfrom
fix/sync-moonrise-root-locale
Nov 24, 2026
Merged

jpenilla merged 4 commits into
mainfrom
fix/sync-moonrise-root-locale

Conversation

@jpenilla

@jpenilla jpenilla commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Tuinity/Moonrise@445bc98...aabc4a0

Supersedes #14505, fixes #14496.

Number output depended on the JVM's default locale, so servers running with e.g. a German locale printed 19,5 instead of 19.5. LeafPile 1.3.3 makes its shared DecimalFormats use Locale.ROOT, and Moonrise and DataConverter now use root-locale formatting as well.

  • Sync Moonrise: two Starlight light edge case fixes (light version bumped to 11), and number formatting moved to LeafPile's DecimalFormats.
  • Sync Moonrise: the FMA detection log is now one short line with the result and how it was determined, and on Linux the performance test runs when CPU feature flags can't be read, instead of assuming FMA is unsupported.
  • Update LeafPile to 1.3.3.
  • Sync the DataConverter fix for its init timing log.
  • Include Format /tps and /mspt numbers with Locale.ROOT #14505's /tps and /mspt changes, with the original author credited on the commit.
  • Also fix /paper fixlight, which Format /tps and /mspt numbers with Locale.ROOT #14505 missed.

jpenilla and others added 3 commits November 23, 2026 13:59
Tuinity/Moonrise@445bc98...677062b

Updates LeafPile to 1.3.3, which formats DecimalFormats with the root locale, and switches Moonrise's number formatting over to it. Also syncs the matching DataConverter fix for its init timing log, and two Starlight light edge case fixes (light version bumped to 11).
The output depended on the JVM's default locale, so servers running
with e.g. a German locale printed 19,5 instead of 19.5.

Fixes #14496

Co-authored-by: Doc <git@mrdoc.dev>
Follow-up to the previous commit; FixLightCommand still built its own DecimalFormat with the default locale. Switch it to LeafPile's DecimalFormats, which now uses Locale.ROOT.
Tuinity/Moonrise@677062b...aabc4a0

Shortens the FMA detection log to a single line with the result and how it was determined, and falls back to the performance test on Linux when CPU feature flags can't be read.
@papermc-projects papermc-projects Bot moved this from Awaiting review to Full approval in Paper PR Queue Nov 24, 2026
@jpenilla
jpenilla merged commit 827eeeb into main Nov 24, 2026
6 of 7 checks passed
@jpenilla
jpenilla deleted the fix/sync-moonrise-root-locale branch November 24, 2026 16:43
@github-project-automation github-project-automation Bot moved this from Full approval to Merged in Paper PR Queue Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

Number formatting in /mspt and /tps uses the system locale

3 participants