Commit Graph
1141 Commits
Author SHA1 Message Date
jpirnay 019dde09e1 Deal with empty responses 2026-04-08 14:54:26 +02:00
jpirnay 0abe6c6e58 Update CrossPet entry with additional apps 2026-04-08 12:31:37 +02:00
jpirnay c2e7e40104 Revise Inx description in README
Updated Inx entry to include reading statistics instead of visual enhancements.
2026-04-08 12:30:37 +02:00
jpirnay 3cd19195bf Add Inx reader to the README table 2026-04-08 12:29:08 +02:00
jpirnay 4d9484af57 Add mutex to SleepActivity 2026-04-08 12:10:52 +02:00
jpirnay efa4e82526 Merge pull request #42 from jpirnay/chore-upstream
chore: Integrate upstream changes
2026-04-08 11:58:54 +02:00
jpirnay 7a5242ad03 yaclf 2026-04-08 11:53:29 +02:00
jpirnay f4e39e9e93 Update Papyrix link in README.md 2026-04-08 11:52:08 +02:00
jpirnay 4a26ca3667 Add e-reader comparison section to README
Added a section comparing different e-reader options with pros and cons.
2026-04-08 11:50:41 +02:00
jpirnay b5ffe9f772 Merge branch 'master' into chore-upstream 2026-04-08 11:39:44 +02:00
jpirnay 4bc987297a Review comments 2026-04-08 11:29:34 +02:00
jpirnay bcf49a943a Proper refresh on exit 2026-04-08 11:22:21 +02:00
jpirnay c5e0e0cb78 Fix merge conflict 2026-04-08 10:58:41 +02:00
jpirnay 0d0d7373d3 Fix russian 2026-04-08 10:58:06 +02:00
jpirnay 93659502f7 Reintroducing wallclock 2026-04-08 10:57:51 +02:00
jpirnay 7c44a92360 Merge pull request #41 from jpirnay/fix-powerleak
fix: Fix power button leak on startup
2026-04-08 10:48:50 +02:00
Zach Nelson 93f285d296 refactor: Use default member initializers for JpegContext and PngContext (#1435)
**What is the goal of this PR?**

Replace verbose constructor initializer lists with in-class default
member initializers in JpegContext and PngContext

---

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? _**NO**_
2026-04-08 10:44:10 +02:00
Andrei Ignatev 27e246cb22 fix: correct Russian auto-turn translations (#1566)
* **What is the goal of this PR?**
Fix inaccurate Russian UI text for the reader auto-turn feature and make
the affected Russian labels consistent with how adjacent UI strings are
formatted.

* **What changes are included?**
Updated Russian translations in `lib/I18n/translations/russian.yaml`:
- changed `Auto Turn` text from wording that implied screen rotation to
wording that means automatic page turning
- adjusted a few Russian prefix/separator strings to include spacing
where the UI concatenates labels with dynamic values

| Before| After |
|--------|--------|
| <img width="480" height="800" alt="image"
src="https://github.com/user-attachments/assets/db416dd2-6174-4a46-bd3a-6f52d1cc01cb"
/>| <img width="480" height="800" alt="image"
src="https://github.com/user-attachments/assets/dd9055e0-d4f1-459d-bd40-60fc4970d458"
/>|

---

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? _**NO**_
2026-04-08 10:43:08 +02:00
Mirus 94c9f90e9f fix: Update Ukrainian translations for footnotes (issue 1409) (#1585)
## Summary

* **What is the goal of this PR?** 
Solve the issue
https://github.com/crosspoint-reader/crosspoint-reader/issues/1409
* **What changes are included?**
Updated translation for footnotes

## Additional Context

* Add any other information that might be helpful for the reviewer
(e.g., performance implications, potential risks,
  specific areas to focus on).

---

### AI Usage

Did you use AI tools to help write this code? _**NO**_
2026-04-08 10:41:29 +02:00
Zach Nelson 86d636bf6a fix: Use differential rounding for consistent inter-glyph spacing (#1413)
**What is the goal of this PR?**

A tweak to the fixed-point x-advance and kerning calculations to ensure
that the spacing between any two glyphs is always calculated
consistently.

I noticed that sometimes I'd see common character pairs like "oo" more
than once on a page, and the distance between the two snapped to
different pixels depending on the running accumulated error for the line
of text.

This change uses a differential rounding approach where each glyph's
x-advance plus the kerning relative to the next glyph are combined in
fixed-point precision, then snapped to a pixel to draw the next glyph.
This results in a consistent inter-glyph spacing any time the same two
glyphs show up adjacent to each other, regardless of the accumulated
error across the line.

---

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? _**PARTIALLY**_
2026-04-08 10:40:57 +02:00
CSCMe db232e04f3 refactor: logPrintf and predefined log level strings (#1546)
* More consistent string formatting in logPrintf
* Moved [ and ] from log level strings into new format string
* Behaviour change: Early exit if user string format fails

* Should not have performance implications, debug monitor etc work as
before
* Clamp may be unnecessary due to information snprintf currently never
being able to exceed max buffer length, but not having it would bug me

---

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? _**PARTIALLY, to reason
about correctness**_
2026-04-08 10:33:17 +02:00
martin brook 773238fdf5 chore: drop JPEGDEC patch in favour of upstream fix (#1465)
## Summary

The progressive JPEG fixes (AC table skip, MCU_SKIP guard) from PR #1136
have been fixed upstream in bitbank2/JPEGDEC@8628297. Pin to that commit
and remove the pre-build patch script.

## Additional Context

Tested on Strange Pictures epub

---

### 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? _**< PARTIALLY >**_
2026-04-08 10:32:30 +02:00
jpirnay 75277dbee5 Minor changes 2026-04-08 10:20:05 +02:00
jpirnay b3d6562cb6 Fix power button leak on startup 2026-04-08 10:14:35 +02:00
jpirnay 84d6054898 Merge pull request #39 from jpirnay/fix-darkpng
fix: properly support pngs for sleep images
2026-04-08 09:53:35 +02:00
jpirnay 655b5d4678 Some fixes 2026-04-08 09:49:44 +02:00
jpirnay 66508258d3 Extended bitmap viewer by option to togglie between grayscale and bw mode 2026-04-08 09:37:08 +02:00
jpirnay e828245c6b Fix sleep overlay rendering conditions 2026-04-08 00:17:01 +02:00
jpirnay 1f99ed404d Fix duplicate include 2026-04-08 00:12:01 +02:00
jpirnay d49b7434c9 Merge branch 'fix-darkpng' of https://github.com/jpirnay/crosspoint-reader into fix-darkpng 2026-04-07 23:52:04 +02:00
jpirnay effa39bd58 Properly deal with pngs as sleep images 2026-04-07 23:50:57 +02:00
jpirnay 09ec454146 Properly deal with pngs as sleep images 2026-04-07 23:50:38 +02:00
jpirnay 7168c46dec Minor fixes 2026-04-07 23:28:51 +02:00
jpirnay e035d698ed Align png rendering to upstream 2026-04-07 23:07:06 +02:00
jpirnay d975546e30 Fix temp file write 2026-04-07 22:46:16 +02:00
jpirnay 54034f3af2 Merge pull request #37 from jpirnay/refactor-koreader
refactor: refactor koreader to avoid OOM regressions
2026-04-07 22:36:32 +02:00
jpirnay cfb0971d36 Merge pull request #38 from jpirnay/fix-refreshonexit
fix: Refresh screen on reader exit to heal ghosting
2026-04-07 22:31:11 +02:00
jpirnay dcc1bbc2fa Address review comments 2026-04-07 22:28:32 +02:00
jpirnay 94d62d6077 Update translations 2026-04-07 22:28:18 +02:00
jpirnay 809e84f758 Update OTA url 2026-04-07 22:18:15 +02:00
jpirnay 0f477f4d66 yaclf 2026-04-07 22:15:45 +02:00
jpirnay 0e905e988b Address cppcheck finding 2026-04-07 22:14:05 +02:00
jpirnay dca738e117 Fix xtcreader oversight 2026-04-07 22:11:39 +02:00
jpirnay 16fd0bbba1 Refresh screen on reader exit to heal ghosting 2026-04-07 22:10:17 +02:00
jpirnay 4d4729c5d0 Add minimal changes back from reverted ones 2026-04-07 21:56:31 +02:00
jpirnay 6dd905fb5a Split menu actions for smaller footprint 2026-04-07 21:39:03 +02:00
jpirnay abbf69649e Revert "Merge pull request #25 from jpirnay/fix-pr1582" and refactor koreader 2026-04-07 20:24:51 +02:00
jpirnay fb331ae122 Version bump 2026-04-07 11:26:01 +02:00
jpirnay 74fedbdca5 Merge pull request #33 from jpirnay/fix-sleepimage
feat: Treat .sleep and sleep as equal
2026-04-07 11:16:28 +02:00
jpirnay fb8196e946 Change index type 2026-04-07 11:12:07 +02:00