Repository navigation
Conversation
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
This was referenced Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 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
.odsfiles.What core does now instead of the app
CoreLoaderpasses 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.odr.editing.documentColors()replacesdocument_colors.js.OdrException.ServerSocketDeniedreplaces a hardcoded error code. The dialog about the Network permission is unchanged.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.
LargeTextTestscould search while the page was still loading, which also failed in CI on #789; it now waits for the page.