Commit Graph
592 Commits
Author SHA1 Message Date
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
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
jpirnay 66508258d3 Extended bitmap viewer by option to togglie between grayscale and bw mode 2026-04-08 09:37:08 +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 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 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 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 a67799b04c Extend error messages 2026-04-07 10:56:56 +02:00
jpirnay 93669ff492 Treat .sleep and sleep as equal 2026-04-07 10:13:02 +02:00
jpirnay f2d486350b Merge pull request #28 from jpirnay/feat-showextension
feat: Show file extensions in browser (user option)
2026-04-06 19:38:13 +02:00
jpirnay c0797b385a Show file extensions in browser (user option) 2026-04-06 19:34:08 +02:00
jpirnay 398e973847 Use evenly-spaced dithering thresholds for factory LUT (Patryk Radtke) 2026-04-06 19:19:21 +02:00
jpirnay 4200714127 Update Italian 2026-04-06 19:07:33 +02:00
jpirnay 7d818c4915 Update languages 2026-04-06 19:01:23 +02:00
jpirnay 7e37f3252c Review comments 2026-04-06 18:03:50 +02:00
jpirnay 4f031b00b1 (Conditionally) add further dithering algorithms 2026-04-06 17:23:29 +02:00
jpirnay eb95cacad4 Add dithering algorithms 2026-04-06 13:00:27 +02:00
jpirnay ef0d044f9e Only deal with horizontal stacking 2026-04-06 11:49:36 +02:00
jpirnay f78ecd37c9 Adapt upstream PR1582 by daveallie 2026-04-06 11:17:32 +02:00
jpirnay 4ff9a10de1 Amend back button handling, add "use as sleep screen" feature 2026-04-06 10:34:48 +02:00
jpirnay 4f00ed6348 Fast wakeup (not waiting for button release) 2026-04-06 10:07:50 +02:00
jpirnay 633cc04f41 Additional checks 2026-04-06 09:56:27 +02:00
jpirnay 213ebfc016 Second attempt at proper debouncing 2026-04-06 09:48:11 +02:00
jpirnay 07b36351aa Some more language fixes 2026-04-05 22:19:43 +02:00
jpirnay 0d47df47d7 Update Slavic languages 2026-04-05 22:12:59 +02:00
jpirnay da771eb9a9 Update Brazilian Portuguese 2026-04-05 22:04:04 +02:00
jpirnay 875c52f55f Update Spanish 2026-04-05 22:02:38 +02:00
jpirnay 3a01fab7e7 Update French 2026-04-05 22:00:25 +02:00
jpirnay 4e8f7af743 Fix German. 2026-04-05 21:57:18 +02:00
jpirnay 8f24e0ac4f Change some strings 2026-04-05 21:47:39 +02:00
jpirnay c86a5fee4c Deal with bouncing power key at startup 2026-04-05 21:06:58 +02:00
jpirnay c72bd56560 Merge pull request #19 from jpirnay/feat-hyphen-page-break
feat: No hyphenation across page breaks
2026-04-05 11:29:58 +02:00
Justin Mitchell 17ed71f23d Use runtime display dimensions instead of constants
Replace hardcoded DISPLAY_WIDTH, DISPLAY_HEIGHT, and DISPLAY_WIDTH_BYTES constants with runtime values from display object to support multiple device models (X3 and X4) with different screen dimensions.
2026-04-05 11:22:00 +02:00
jpirnay 65474d4066 Fix alignment issues 2026-04-05 11:18:19 +02:00
jpirnay 01503f9c84 Fix reflow logic 2026-04-05 11:01:40 +02:00
jpirnay 1509af8729 Avoid hypehnation at page breaks 2026-04-05 10:47:05 +02:00
jpirnay 1398454ad8 Merge PR #1310 into master 2026-04-04 18:35:11 +02:00