Commit Graph
610 Commits
Author SHA1 Message Date
jpirnay d37621574c Redesign web server to avoid lengthy system stats retrieval 2026-04-11 08:28:06 +02:00
jpirnay f71d7a66e8 Revert quantization to original crosspoint values 2026-04-10 14:41:29 +02:00
jpirnay 667cde91f5 Merge pull request #54 from jpirnay/chore-debug-renderer
refactor: use atomic access to state fields
2026-04-10 12:54:42 +02:00
jpirnay 2e1074cac3 One more 2026-04-10 12:48:22 +02:00
jpirnay bcb0634c87 Review comments 2026-04-10 12:43:55 +02:00
jpirnay c97f16b576 refactor: Deduplicated BMP header writing in Xtc (#1439) by znelson 2026-04-10 11:29:57 +02:00
jpirnay c42452df8e refactor: RAII scoped open/close for ZipFile (#1433) by znelson 2026-04-10 10:59:26 +02:00
jpirnay f458228a24 use atomic access to state fields 2026-04-10 10:49:39 +02:00
jpirnay 83bc8b41a4 Revert "More reshaping"
This reverts commit 14dcd8be0f.
2026-04-09 22:49:02 +02:00
jpirnay 14dcd8be0f More reshaping 2026-04-09 21:50:32 +02:00
jpirnay 5f4c5550e8 Restructure reader menu 2026-04-09 16:49:55 +02:00
jpirnay 5e7d4a0e11 Second part of upstream PR 1607 2026-04-09 14:04:59 +02:00
jpirnay 817187a415 Partial fixes from upstream #1607 2026-04-09 13:54:56 +02:00
jpirnay 32d44eb158 Review changes 2026-04-09 13:33:20 +02:00
jpirnay 82a32f9f46 Show SD-card info only if requested 2026-04-09 12:58:19 +02:00
jpirnay 72a2a91550 Add UI support for darkness levels 2026-04-08 19:24:17 +02:00
jpirnay 019dde09e1 Deal with empty responses 2026-04-08 14:54:26 +02:00
jpirnay 7a5242ad03 yaclf 2026-04-08 11:53:29 +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
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