Skip to content

Take core 7.12.1, drop the workarounds it made obsolete - #791

Merged
andiwand merged 2 commits into
mainfrom
core-7.12
Dec 4, 2026
Merged

andiwand merged 2 commits into
mainfrom
core-7.12

Conversation

@andiwand

@andiwand andiwand commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Updates core from 7.11.0 to 7.12.1 and removes the app code that worked around older versions.

What users notice

  • Text documents show as pages on WebViews before 86 too.
  • The empty grid past a sheet's content also shows in .ods files.
  • While typing, the page scrolls along with the cursor.
  • PDFs no longer miss Cyrillic text or show overlapping words with some fonts.

What core does now instead of the app

  • File type: CoreLoader passes the document's name to core, which tells Markdown from text by it. The app's own logic for when a name outranks the bytes is gone. It still opens a file by its extension where core finds no type, which some JPEGs and PDFs need.
  • MIME types: core knows the spellings mail and file apps send, and ignores case.
  • Document colours: odr.editing.documentColors() replaces document_colors.js.
  • Denied socket: OdrException.ServerSocketDenied replaces a hardcoded error code. The dialog about the Network permission is unchanged.
  • Editing: edit mode can be turned on before the page's editor is ready.
  • TMPDIR: the app no longer sets it.

Tests: the full Pro device suite passes on API 26 with WebView 58, except two dark mode tests that skip there because that WebView cannot darken pages. Lint, unit tests and the Lite and Foss builds pass too. LargeTextTests could search while the page was still loading, which also failed in CI on #789; it now waits for the page.

andiwand and others added 2 commits December 4, 2026 14:24
Core now tells a file's type from its bytes and its name, knows the MIME
spellings mail apps send, paginates on old WebViews, names a denied
socket, and lists a document's colours. The app did each of these itself.
It also no longer needs TMPDIR.

LargeTextTests searched while the page could still be loading, so it now
waits for the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW6WZZdVv7JbM9FVRtHWUP
The core does not recognise a jpeg that starts with a colour profile,
Photoshop or XMP data, nor a pdf with more than 1024 bytes before its
header. It also throws on a name cut inside an emoji.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW6WZZdVv7JbM9FVRtHWUP
@andiwand
andiwand merged commit 4454df5 into main Dec 4, 2026
9 of 13 checks passed
@andiwand
andiwand deleted the core-7.12 branch December 4, 2026 13:53
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.

1 participant