Commit Graph
2014 Commits
Author SHA1 Message Date
jpirnay 8545467f8a Reorder image handling to not compete for memory 2026-05-22 14:08:03 +02:00
jpirnay 538c6484cd Update xdk 2026-05-22 12:41:24 +02:00
jpirnay 264c1b8df3 Address incorrect cppcheck 2026-05-21 23:19:03 +02:00
jpirnay ce521a63aa Merge pull request #253 from jpirnay/chore-sunset-binary
chore: Remove ancient binary settings code
2026-05-21 21:55:03 +02:00
jpirnay c5cbd84d18 yaclf 2026-05-21 21:52:50 +02:00
jpirnay b4dd4ed8d7 Remove ancient binary settings code 2026-05-21 21:49:39 +02:00
jpirnay d1fb82f776 Add missed braces 2026-05-21 21:21:49 +02:00
jpirnay 60235da75e Minor changes to avoid double counting 2026-05-21 12:02:07 +02:00
jpirnay 563187f789 Merge pull request #251 from jpirnay/feat-reading-stats
feat: Add first version of reading stats
2026-05-21 11:45:27 +02:00
jpirnay 1837b9ae92 Merge branch 'master' into feat-reading-stats 2026-05-21 11:38:59 +02:00
jpirnay af360eeeed Merge pull request #250 from jpirnay/chore-font
refactor: Rework font download
2026-05-21 11:37:42 +02:00
jpirnay ecd20f9512 Review changes 2026-05-20 20:57:42 +02:00
jpirnay c5b8c55c04 Some fixes 2026-05-20 20:56:03 +02:00
jpirnay d729201321 yaclf 2026-05-20 19:35:34 +02:00
jpirnay 78e1d2eacb Review changes 2026-05-20 19:34:27 +02:00
jpirnay dc15186e22 Proper commit 2026-05-20 19:31:37 +02:00
jpirnay ba7c66dd36 Fix issue #249 2026-05-20 19:27:55 +02:00
jpirnay 61e1f8b145 Refactor font download 2026-05-20 18:51:24 +02:00
jpirnay 02adb40f95 Add delay + logs 2026-05-20 14:35:41 +02:00
jpirnay b1e430f1ca Some font management improvements 2026-05-20 14:11:50 +02:00
jpirnay 438ed0b47e Merge branch 'master' of https://github.com/jpirnay/crosspoint-reader 2026-05-20 14:10:39 +02:00
jpirnay 31c496d122 Version bump 2026-05-20 14:01:34 +02:00
jpirnay 59e6281f2e Remove typo 2026-05-20 11:12:44 +02:00
jpirnay b1908587ee Reduce non-sensical logs 2026-05-20 10:57:46 +02:00
jpirnay 375c73b03b Phase 6 - remaining time info 2026-05-20 09:55:49 +02:00
jpirnay b4738fee0c Tighten layout 2026-05-20 01:04:28 +02:00
jpirnay bfe236fe69 Fix 2026-05-20 00:56:57 +02:00
jpirnay 63e9dfe59a Phase 6 - web dashboard 2026-05-20 00:54:14 +02:00
jpirnay b074350d30 Phase 5 - card based layout 2026-05-20 00:51:31 +02:00
jpirnay 34d977b50e Phase 5 - card based layout 2026-05-20 00:48:09 +02:00
jpirnay dcbe79aab2 Phase 4- Full format support 2026-05-20 00:25:06 +02:00
jpirnay dddb3c1bcb clf 2026-05-20 00:14:51 +02:00
jpirnay 4b0c99f35d Phase 3 - local book stats 2026-05-20 00:08:39 +02:00
jpirnay 991a283e05 Phase 2 - Daily streaks 2026-05-20 00:03:48 +02:00
jpirnay 65418c2606 Phase 1 - basic architecture 2026-05-19 23:49:42 +02:00
jpirnay aeedc0b3ca Version bump 2026-05-19 22:24:25 +02:00
jpirnay 9ff906ec80 Update translations 2026-05-19 22:15:09 +02:00
jpirnay bb3432ec33 Merge pull request #247 from jpirnay/fix-gate-statusupdates
chore: Suppress status-bar updates if nothing had changed
2026-05-19 21:50:33 +02:00
jpirnay 9b6d77821a Suppress status-bar updates if nothing had changed 2026-05-19 21:28:43 +02:00
jpirnay 102ff5f745 Merge pull request #246 from jpirnay/fix-jpegdec-progressive-grayscale
fix: Patch jpegdec to fix progressive grayscale (PR 2058 by jeremydk)
2026-05-19 20:12:39 +02:00
Jeremy Klein 7058cf1c91 fix: hard-fail JPEGDEC patch loader when patches are missing
Silently returning when scripts/jpegdec_patches/ is missing or empty
would let the build succeed shipping an unpatched JPEGDEC, which
re-introduces the wild-pointer + black-image bugs without warning.
Raise RuntimeError in _patch_files() in both cases.
2026-05-19 20:05:07 +02:00
Jeremy Klein e9178342a0 chore: suppress ruff F821 on SCons-injected globals in patch_jpegdec 2026-05-19 20:05:07 +02:00
Jeremy Klein 9e68ced046 refactor: apply JPEGDEC patches via git apply, not string replace
The previous patch_jpegdec.py used in-place string replacement with a
single shared marker for two distinct DC writes (main store and
successive-approximation update). If only one of the two anchors
matched, the file was written half-patched and the shared marker locked
the partial state in for every subsequent run.

Generate the fixes as `git format-patch` artifacts under
scripts/jpegdec_patches/, then apply them in lexical order via
`git apply`. Idempotency is decided by git itself: `--check --reverse`
succeeds means already applied; `--check` succeeds means appliable;
neither aborts the build rather than leaving a half-patched file.

No behaviour change to the patched JPEGDEC source: same redirect, same
DC guards, same intent. Just stops the pre-build script from doing
something it has no business doing.
2026-05-19 20:05:07 +02:00
Jeremy Klein 597edeebd8 fix: guard DC writes in JPEGDEC MCU_SKIP path
EIGHT_BIT_GRAYSCALE decode of a 3-component progressive JPEG calls
JPEGDecodeMCU_P with MCU_SKIP for Cb and Cr after every Y MCU. The
existing safe-pMCU patch redirects the wild pointer to &sMCUs[0] but
leaves the DC store unguarded, so each chroma skip overwrites the
just-decoded Y DC with the chroma DC predictor. Output reads sMCUs[0],
gets the trailing Cr DC (~0), and renders an all-black image.

Add `if (iMCU >= 0)` guards to the two pMCU[0] writes (main DC store
and successive-approximation update). The pointer redirect stays as the
AC wild-pointer defence; the new guards stop the silent corruption at
sMCUs[0]. The two fixes are independent and both required.
2026-05-19 20:05:07 +02:00
jpirnay ca7076ab4b Add ++ to logo 2026-05-19 20:03:04 +02:00
jpirnay 7d43e0ea3e Merge pull request #245 from jpirnay/feat-silent-reboot
feat: Implement silent reboot after wifi use (usptream #2036)
2026-05-19 19:52:10 +02:00
jpirnay 7c1ffdb860 more teardown on deep sleep (Mirror #2060) 2026-05-19 19:51:49 +02:00
jpirnay a2161f067e Implement silent reboot 2026-05-19 19:39:40 +02:00
jpirnay c55a36c702 Implement silent reboot 2026-05-19 19:38:04 +02:00
jpirnay ffa8ab0911 Revert "USB serial logs now flow on cold+warm boot without jiggle (#2034)"
This reverts commit c539c11a74.
2026-05-19 18:15:34 +02:00