Commit Graph
849 Commits
Author SHA1 Message Date
jpirnay ccd82c32fc Another fix attempt 2026-05-03 00:17:33 +02:00
jpirnay e454463f86 Merge origin/master into fix-button-handler and resolve sd-fonts manifest conflict 2026-05-02 23:53:36 +02:00
jpirnay 5970f8b136 yaclf 2026-05-02 23:41:01 +02:00
jpirnay 8cebf6e319 Fix button race 2026-05-02 23:38:19 +02:00
jpirnay 7f7b98b66c Merge remote-tracking branch 'origin/master' into feat-sdfonts-ui
# Conflicts:
#	assets/sd-fonts/sd-fonts.yaml
#	assets/sd-fonts/sd-fonts.yaml~HEAD
2026-05-02 23:21:54 +02:00
jpirnay ab8e7ef108 Review induced changes 2026-05-02 23:14:35 +02:00
jpirnay e83c5ed80d Update 2026-05-02 23:10:57 +02:00
jpirnay 5b863cc794 yaclf 2026-05-02 23:00:41 +02:00
jpirnayandCopilot 40008799cf Add download feature to fonts page
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 22:53:22 +02:00
jpirnay 99c5f7207c Merge pull request #163 from jpirnay/feat-sdfonts-ui
feat: Complete sdfonts integration
2026-05-02 21:08:07 +02:00
jpirnayandCopilot cc9ff5bae9 More review changes
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 18:42:45 +02:00
jpirnayandCopilot ea50449f4b Amend layout
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 18:35:10 +02:00
jpirnay aadfd54f5c cppcheck concern 2026-05-02 18:29:35 +02:00
jpirnayandCopilot 06dfc6c50b Recover parts of the regression fiasco
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 18:19:23 +02:00
jpirnayandCopilot a5469c0bb9 Review comments
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 17:22:10 +02:00
jpirnay 89f381a925 Fix mutable registry access 2026-05-02 17:02:34 +02:00
jpirnay 816523cc59 Complete download integration 2026-05-02 17:01:25 +02:00
jpirnay df94ccaa86 Recover from merge fiasco 2026-05-02 16:54:31 +02:00
jpirnay bd3ceb6e99 Add itsthisjustins ota fix for x3 2026-05-02 10:44:13 +02:00
jpirnay 67706edc1a Implement smarter section caching 2026-05-01 16:52:34 +02:00
jpirnay fd111fbf98 Fix screenshot button bleed through 2026-05-01 16:07:48 +02:00
spfenwick 7f121defa8 Remove legacy opds settings from web page 2026-05-01 22:00:15 +12:00
spfenwick 2d97fd2a5a fix: use correct server name for opds download 2026-05-01 20:31:05 +12:00
jpirnay 0b345bcc6b Merge pull request #159 from jpirnay/refactor-geni18n-dedup
refactor: Account for deduplication
2026-05-01 09:58:13 +02:00
jpirnay 6f4a74120f yaclf 2026-05-01 09:57:57 +02:00
jpirnay 3fb88193ad Address cppcheck 2026-05-01 09:48:34 +02:00
jpirnayandCopilot 65d36d4f24 Properly center fallback custom image
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 18:57:18 +02:00
jpirnay 42ad7667c4 Merge pull request #156 from jpirnay/feat-bionic
feat: Add yet another bionic reader implementation
2026-04-30 15:11:10 +02:00
jpirnay f0218c194d Review changes 2026-04-30 12:19:27 +02:00
jpirnay 867bd34798 A couple of fixes 2026-04-30 12:08:30 +02:00
jpirnay da7ad888c7 Amend long press behaviour 2026-04-30 11:08:42 +02:00
jpirnayandCopilot cefed0f6ce Yet another bionic reading implementation
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 09:11:49 +02:00
jpirnay 4cc793397f yaclf 2026-04-29 17:17:24 +02:00
jpirnayandCopilot dbf50c2a82 aAdjust strikethrough offset
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 14:12:59 +02:00
jpirnayandCopilot fea663ac64 Fix markdown underline / strikethrough omission
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 13:28:26 +02:00
jpirnay 19e3f39865 Fix loop 2026-04-29 13:04:59 +02:00
spfenwick b81d1102e7 fix: use same file name as KOReader for OPDS downloads
This re-instates the functionality of commit efae9c0, which was blown away by later changes.
2026-04-29 19:50:11 +12:00
jpirnay 6df7418e58 Merge pull request #151 from jgoguen/ota-boot-fix
fix(ota): Correctly select the partition to write to
2026-04-29 09:15:53 +02:00
Joel Goguen d148f7290d fix(ota): Correctly select the partition to write to
There was an off-by-one error selecting the new partition, meaning the OTA
update would write to the second partition but the boot would be set to the same
one we're currently in.

I believe this should fix jpirnay/crosspoint-reader#112
2026-04-28 21:26:52 -04:00
Joel Goguen af58db7314 refactor(network): Stream parse JSON response from GitHub
While working on enabling OTA for beta updates I kept running into memory issues with the JSON from GitHub. This improves the situation even for the stable OTA releases so I'm putting it up on its own.
2026-04-28 20:20:48 -04:00
jpirnay 93f5bdb492 Merge pull request #147 from jpirnay/feat-fonts-sd
feat: Add sd fonts (integrate and improve upstream #1327 by adriancaruana)
2026-04-28 19:09:51 +02:00
jpirnayandCopilot fd35b50ff9 Some minor fixes
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 18:06:56 +02:00
jpirnay 5a5728af3e More review comments 2026-04-28 16:06:02 +02:00
jpirnay 8a2bc9f425 Some review comments 2026-04-28 15:47:51 +02:00
jpirnay 113d654d86 Review changes 2026-04-28 15:33:51 +02:00
jpirnay 4c8517cf67 Improve pre warm caching 2026-04-28 15:12:11 +02:00
jpirnay aa9fae16d9 Integrate upstream #1392 by adriancaruana 2026-04-28 10:00:22 +02:00
jpirnay dfe5bf1ef7 Mirror upstream keyboard changes 2026-04-27 21:47:51 +02:00
pablohc 9b3b9eb597 fix: pressing space barely moves input cursor (#1729) (#1733)
## Summary

* **What is the goal of this PR?** 
Fix the visual keyboard cursor not advancing when typing a space. Typing
one space leaves the cursor at position 0; typing two spaces advances it
only by one space width. This affects all input types except URL.
* **What changes are included?** 
Replace `getTextWidth()` with `getTextAdvanceX()` in four locations
within `KeyboardEntryActivity::render()` for cursor positioning and
line-wrapping calculations.

## Additional Context

* **Root cause**: `getTextWidth()` returns the bounding-box width of the
drawn glyphs. The space glyph has `width=0` and `height=0` (it's
invisible), so `getTextWidth(" ") == 0`. The trailing `advanceX` of the
last character is only flushed when the *next* character is processed,
so a string ending in space reports zero width. `getTextAdvanceX()`
correctly includes the final glyph's advance, matching how `drawText()`
actually positions characters.

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**YES**_
2026-04-27 21:28:43 +02:00
pablohc 53ca4f30d5 fix: keyboard feedback #1644 (#1697)
Addresses reviewer feedback from #1644:
- **Localize keyboard hint strings** — 13 hardcoded English strings
replaced with \`tr()\` macro (\`STR_KB_HINT_*\`), making them
translatable across all 22 languages (fallback to English when not yet
translated)
- **Deduplicate \`Lyra3CoversMetrics\`** — now derives from
\`LyraMetrics\` via lambda copy, overriding only \`homeCoverTileHeight\`
and \`homeRecentBooksCount\` (eliminates ~30 duplicated metric fields)
- **Unify keyboard drawing in \`BaseTheme\`** — \`drawTextField\` and
\`drawKeyboardKey\` overrides removed from \`LyraTheme\`; variability
controlled via \`keyboardKeyCornerRadius\` metric (0=Base, 6=Lyra).
Unified text field padding to 6, adopted Lyra's secondary label draw
order (main first, then secondary)
- **Add URL-optimized keyboard layout** — \`urlLayout\` with \`:\` and
\`/\` replacing \`=\` and \`,\` for easier URL input without switching
to SYM mode
---

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _** YES **_
2026-04-27 21:28:36 +02:00