jpirnay
f0218c194d
Review changes
2026-04-30 12:19:27 +02:00
jpirnay and Copilot
b6c90fdac6
Add constants
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-30 12:12:28 +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
jpirnay
0366f8ece8
Dont get glyphs during scanning phase
2026-04-30 09:16:35 +02:00
jpirnay
555894edcb
Merge branch 'feat-bionic' of https://github.com/jpirnay/crosspoint-reader into feat-bionic
2026-04-30 09:11:52 +02:00
jpirnay and Copilot
cefed0f6ce
Yet another bionic reading implementation
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-30 09:11:49 +02:00
jpirnay and Copilot
92ef1dcaf6
Yet another bionic reading implementation
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-30 09:03:41 +02:00
jpirnay
2df99a230f
Fix png decoder
2026-04-29 21:06:46 +02:00
jpirnay
4cc793397f
yaclf
2026-04-29 17:17:24 +02:00
jpirnay
12f16e9b28
when scanning, route through a metadata-only path
2026-04-29 14:53:45 +02:00
jpirnay and Copilot
dbf50c2a82
aAdjust strikethrough offset
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-29 14:12:59 +02:00
jpirnay and Copilot
fea663ac64
Fix markdown underline / strikethrough omission
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-29 13:28:26 +02:00
jpirnay
cd030ab4ee
Readme update
2026-04-29 13:07:09 +02:00
jpirnay
19e3f39865
Fix loop
2026-04-29 13:04:59 +02:00
jpirnay
c59a893202
Merge pull request #152 from jpirnay/feat-strikethrough
...
feat: Support strikethrough
2026-04-29 12:33:00 +02:00
jpirnay
91b42646f2
Make text-decoration:none emit an explicit override.
2026-04-29 12:21:43 +02:00
jpirnay
e1c2fae248
Fix trailing ~~ handling
2026-04-29 12:19:35 +02:00
jpirnay
d5c397c677
Amend test script to no longer fail if environment is not properly setup
2026-04-29 12:07:46 +02:00
jpirnay
dbbd4390b3
Fix test
2026-04-29 11:44:02 +02:00
jpirnay
eddc28de83
Merge pull request #153 from spfenwick/fix-opds-filename
...
fix: use same file name as KOReader for OPDS downloads
2026-04-29 11:29:07 +02:00
jpirnay
5bf49c7efc
Merge pull request #154 from thehijacker/master
...
fix: Update Slovenian translation
2026-04-29 11:28:07 +02:00
jpirnay
a0243ad6de
Review comments
2026-04-29 11:26:50 +02:00
Andrej Kralj
7bacbea9a1
Update Slovenian translation
2026-04-29 10:21:54 +02:00
jpirnay
a2daaa7194
Fix crash
2026-04-29 09:56:34 +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
jpirnay
facbc4722a
Merge pull request #149 from jgoguen/json-stream-parse
...
refactor(network): Stream parse JSON response from GitHub
2026-04-29 09:15:07 +02:00
jpirnay
b83482e732
Support strikethrough
2026-04-29 09:08:07 +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
jpirnay
0466465d8c
Add destructor to unregister fonts from GfxRenderer
2026-04-28 19:03:38 +02:00
jpirnay and Copilot
ebb80bf4d9
Make SdCardFont explicitly non-copyable and non-movable
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 18:41:48 +02:00
jpirnay
1f10e91c23
Preserve continuation boundaries when building SD prewarm text
2026-04-28 18:40:37 +02:00
jpirnay
2694081af9
Use bitmap.pitch instead of assuming tightly packed rows
2026-04-28 18:14:58 +02:00
jpirnay
ad2e3765ba
Some environment cleaning
2026-04-28 18:09:36 +02:00
jpirnay and Copilot
fd35b50ff9
Some minor fixes
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 18:06:56 +02:00
jpirnay and Copilot
c84b971455
Fix signature
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-28 17:46:37 +02:00
jpirnay
639a9f350c
Address hyphen review comment
2026-04-28 16:18:53 +02:00
jpirnay
6e26fd7e14
And one more
2026-04-28 16:16:18 +02:00
jpirnay
2c9a6d7d31
One more
2026-04-28 16:09:59 +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
14da42d399
Merge pull request #146 from jpirnay/feat-resync-keyboard
...
refactor: resync to upstream keyboard
2026-04-28 15:39:47 +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