Commit Graph
659 Commits
Author SHA1 Message Date
jpirnay ae746a8127 Introduce more comprehensive helper functions 2026-05-04 17:24:08 +02:00
jpirnay 444be74249 Review comments 2026-05-04 13:59:28 +02:00
jpirnay 6eae99362d Add orientation change to button actions 2026-05-04 13:27:40 +02:00
jpirnay 7789a18bb4 cppcheck issue 2026-05-04 13:12:19 +02:00
jpirnay 3194af90f8 Show restart badge 2026-05-04 13:03:37 +02:00
jpirnay 03fb8e8ce1 Restart on webserver exit to regain memory 2026-05-04 11:07:38 +02:00
jpirnayandCopilot 3df8ce56de Font Manager Update
Co-authored-by: Copilot <copilot@github.com>
2026-05-04 00:34:17 +02:00
jpirnay 3bd18d855d Amend fonts 2026-05-03 23:40:45 +02:00
jpirnay 5617db3ad2 Fix font-location 2026-05-03 22:42:54 +02:00
jpirnay 8526e58ac1 Change button description 2026-05-03 16:26:41 +02:00
jpirnay 770688dc72 Amend button behaviour 2026-05-03 16:18:31 +02:00
jpirnay af87021290 A bit of hardening 2026-05-03 10:49:32 +02:00
jpirnay 8c85623c4d Make better use of screen estate by enforcing landscape orientation 2026-05-03 00:35:16 +02:00
jpirnay e6220793a4 Add a button overview activity 2026-05-03 00:28:22 +02:00
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 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 e83c5ed80d Update 2026-05-02 23:10:57 +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 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
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 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
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
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
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
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