Commit Graph
493 Commits
Author SHA1 Message Date
jpirnay 02dfa78962 Stop tracking generated I18n files 2026-04-01 10:13:17 +02:00
jpirnay 9cbe3bfc4d KOReaderSync: add text-node offset mapping and trim debug noise 2026-04-01 10:10:31 +02:00
jpirnay fd8fcbfd50 Introduce >2GB compatible PR 1424 from fdkekin0 2026-03-31 22:06:21 +02:00
jpirnay 3f6d31b966 Merge branch 'feat-ordered-list' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-31 21:26:05 +02:00
jpirnay 913831749e Slight adjustments 2026-03-31 21:17:32 +02:00
jpirnay 0ad2ac71c7 Introduce ordered list support 2026-03-31 21:10:22 +02:00
jpirnay b11a76944d Sync lang 2026-03-31 14:53:07 +02:00
jpirnay ef5ce8d668 Sync 2026-03-31 14:36:29 +02:00
jpirnay c4186abb61 Merge branch 'feat-koysnc-xpath' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-31 12:58:22 +02:00
jpirnay 12ad974dc7 Address /text()[N].M cases 2026-03-31 12:58:00 +02:00
jpirnayandClaude Sonnet 4.6 6c9f497d2b fix: release GPIO13 hold before re-entering deep sleep
gpio_hold_en(GPIO13) called in startDeepSleep() persists after wake when
keepClockAlive=true. A subsequent startDeepSleep() call (e.g. failed button
verification) would silently fail to change GPIO13's level, leaving the MOSFET
latched and trapping the device in a sleep/wake loop requiring a hardware reset.

Release the individual and global holds at the top of startDeepSleep() so each
sleep entry configures GPIO13 from a clean state. Also call
gpio_deep_sleep_hold_dis() immediately after wake in setup() as a defensive
measure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 11:00:20 +02:00
jpirnay 0496969dc8 Sync 2026-03-30 18:40:56 +02:00
jpirnay 1bfc3534aa Merge branch 'refactor-arc' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-30 18:35:57 +02:00
jpirnay 770e2f207c Fix 1 pixel regression 2026-03-30 18:32:00 +02:00
jpirnay d23dd8e8dc Updates 2026-03-30 18:26:25 +02:00
jpirnay c8b166606e Stage scripts 2026-03-30 18:12:52 +02:00
jpirnay 474dfe5490 Merge branch 'refactor-arc' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-30 18:09:55 +02:00
martin brook aa085425af perf: Eliminate per-pixel overheads in image rendering (#1293)
## Summary

Replace per-pixel getRenderMode() + rotateCoordinates() + bounds checks
with a DirectPixelWriter struct that pre-computes orientation and render
mode state once per row. Use bitwise ops instead of division/modulo for
cache pixel packing. Skip PNG cache allocation when buffer exceeds 48KB
(framebuffer size) since PNG decode is fast enough that caching provides
minimal benefit, and the large buffer competes with the 44KB PNG decoder
for heap.

## Additional Context
Measured improvements on ESP32-C3 @ 160MHz:
- JPEG decode: 5-7% faster (1:1 scale)
- PNG decode: 15-20% faster (1:1 scale)
- Cache renders: 3-6% faster across both formats
- Eliminates "Failed to allocate cache buffer" errors for large PNGs

---

### 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-03-30 11:03:49 -05:00
jpirnay ea00584aa5 Optimize GfxRenderer drawArc/fillArc and drawRoundedRect stroke performance 2026-03-30 17:58:36 +02:00
Bas van der Ploeg d12f0666d4 chore: update Dutch translations (#1503)
## Summary

* **What is the goal of this PR?** (e.g., Implements the new feature for
file uploading.)
Added new Dutch translations
* **What changes are included?**
New Dutch translations

## 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

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-03-30 10:49:14 -05:00
jpirnay f764d9c6a0 Merge remote-tracking branch 'pablohc/refactor/pr-1258-cover-overlay' into mybuild
# Conflicts:
#	lib/I18n/translations/english.yaml
#	scripts/gen_i18n.py
#	src/CrossPointSettings.h
#	src/SettingsList.h
#	src/activities/boot_sleep/SleepActivity.cpp
#	src/activities/boot_sleep/SleepActivity.h
2026-03-30 16:12:00 +02:00
jpirnay 7b12b0f27e Merge branch 'fix-css-pre' into mybuild
# Conflicts:
#	lib/Epub/Epub/parsers/ChapterHtmlSlimParser.cpp
2026-03-30 15:15:46 +02:00
jpirnay 55de10124c Add missing flush on block changes 2026-03-30 14:38:09 +02:00
jpirnay 2111bc2fdb Fix unwanted nbsp payload of empty paragraphs 2026-03-30 14:25:04 +02:00
jpirnay ba07a6666d Fix br alignment reset behaviour 2026-03-30 13:38:46 +02:00
jpirnay b1c3b9d768 Fix unwanted br alignment reset 2026-03-30 13:35:11 +02:00
jpirnay 53f93b2857 Fix br count carry over regression 2026-03-30 13:26:41 +02:00
jpirnay d7c4471864 yaclf 2026-03-30 10:07:10 +02:00
jpirnay 4afce54c69 Merge branch 'feat-additional-compensation' of https://github.com/jpirnay/crosspoint-reader into mybuild
# Conflicts:
#	lib/hal/HalClock.cpp
#	src/CrossPointSettings.h
#	src/activities/reader/KOReaderSyncActivity.cpp
#	src/activities/settings/SettingsActivity.cpp
#	src/activities/settings/SettingsActivity.h
2026-03-30 09:17:29 +02:00
jpirnay 174bdf1f3d Fix correction direction 2026-03-30 09:10:04 +02:00
pablohc 4e4fcd278a fix: gen_i18n.py wraps comment lines to avoid clang-format reflow 2026-03-29 22:48:15 +02:00
pablohc 4699ff0b88 fix: wrap long language comment in gen_i18n.py output 2026-03-29 22:44:43 +02:00
pablohc 81d992d254 fix: add 'read' suffix to chapter page overlay format 2026-03-29 22:39:13 +02:00
pablohc fbeaf48e32 refactor: pass precomputed BookOverlayInfo to renderBitmapSleepScreen 2026-03-29 22:14:21 +02:00
pablohc 0f1d3ef31d fix: localize sleep overlay strings, validate TXT cache header, migrate overlay enum 2026-03-29 21:55:51 +02:00
pablohc 389ed7266b Refactor sleep cover overlay: BookOverlayInfo struct, multi-line layout, 4 color modes (White/Gray/Black/Off) 2026-03-29 20:51:56 +02:00
jpirnay 0bdfc6e816 Merge branch 'feat-additional-compensation' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-29 18:35:36 +02:00
jpirnay 4f92a9935e Adding experimental RTC temperature compensation 2026-03-29 18:19:35 +02:00
jpirnay 360e04f61c Merge branch 'perf-htmlslim-parser' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-29 09:42:40 +02:00
jpirnay 9d0316d7f1 Review comment 2026-03-29 09:23:56 +02:00
jpirnay 834c7b7712 Merge branch 'perf-htmlslim-parser' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-28 20:54:14 +01:00
jpirnay 6daf3fd1bb Add css cache 2026-03-28 20:49:03 +01:00
jpirnay 1b0c5fec28 Integration hell 2026-03-28 18:21:53 +01:00
jpirnay a2aee4f4ae Merge branch 'fix-css-pre' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-28 18:16:11 +01:00
jpirnay be430c781e Fix <pre> treatment 2026-03-28 17:44:10 +01:00
jpirnay 7f6933ab22 Recognize css pre elements 2026-03-28 16:47:55 +01:00
jpirnay ab03fe3ab7 Merge branch 'feat-koysnc-xpath' of https://github.com/jpirnay/crosspoint-reader into mybuild 2026-03-28 16:23:11 +01:00
jpirnay 9d7aa4e5a8 Add method 2026-03-28 12:15:47 +01:00
jpirnay 08f05b7a5b Fix br.0 indexing issue 2026-03-28 11:04:01 +01:00
jpirnay 420110b733 Fix index issue 2026-03-28 11:01:22 +01:00