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
jpirnay
387b0898c5
Reduce logs
2026-05-19 14:26:40 +02:00
jpirnay
19bf17f478
Merge pull request #243 from jpirnay/fi-rebuildcovers
...
fix: rebuild covers
2026-05-19 13:49:26 +02:00
jpirnay
4e253758ac
yaclf
2026-05-19 13:30:25 +02:00
jpirnay
e2c7786ae2
Merge pull request #242 from jpirnay/refactor-pr
...
perf: Shrink HomeActivity cover cache from 48KB framebuffer to 16KB region (PR 2035 by jeremydk)
2026-05-19 13:29:15 +02:00
jpirnay
78a6b2e215
Merge pull request #241 from jpirnay/feat-large-image-placeholder
...
feat: Render larger images on demand not by default
2026-05-19 13:28:53 +02:00
jpirnay
0e0b729158
Fall back to upstream submodule
2026-05-19 13:28:16 +02:00
jpirnay
c539c11a74
USB serial logs now flow on cold+warm boot without jiggle ( #2034 )
2026-05-19 13:09:22 +02:00
jpirnay
98bc29f41a
Review comment
2026-05-19 13:05:42 +02:00
jpirnay
18aca45d33
yaclf
2026-05-19 13:03:22 +02:00
jpirnay
ee0a2556ac
Use localized strings
2026-05-19 12:41:26 +02:00
jpirnay
113d8d53b6
yaclf
2026-05-19 12:37:24 +02:00
jpirnay
5fec0e0210
Default covers + optimisations
2026-05-19 12:34:54 +02:00
jpirnay
d2f660ea64
Resync
2026-05-19 12:05:19 +02:00
jpirnay
d793db7891
Merge branch 'fi-rebuildcovers' of https://github.com/jpirnay/crosspoint-reader into fi-rebuildcovers
2026-05-19 12:03:26 +02:00
jpirnay
a1f187b139
Regenerate cover thumbnails if cachedir is empty
2026-05-19 12:02:25 +02:00
jpirnay
e3dcd93516
Regenerate cover thumbnails if cachedir is empty
2026-05-19 11:53:00 +02:00
jpirnay
92b4f491db
Merge branch 'master' of https://github.com/jpirnay/crosspoint-reader into feat-large-image-placeholder
2026-05-19 11:23:48 +02:00
jpirnay
a679e7442c
Merge branch 'master' of https://github.com/jpirnay/crosspoint-reader into refactor-pr
2026-05-19 11:23:05 +02:00
jpirnay
be039ff09b
Review comments
2026-05-19 11:22:05 +02:00
jpirnay
85d2a105b2
cppcheck
2026-05-19 11:15:46 +02:00
jpirnay
4c41f6a14a
shrink HomeActivity cover cache from 48KB framebuffer to 16KB region ( #2035 )
2026-05-19 11:05:55 +02:00
jpirnay
60079923d9
Prerender the next page
2026-05-19 10:45:12 +02:00
jpirnay
010f94f25d
Fix icon position
2026-05-19 10:11:57 +02:00
jpirnay
d922b5a67a
Render larger images on demand not by default
2026-05-19 09:28:36 +02:00
jpirnay
d4b2a24e2a
Cache cover
2026-05-18 21:23:31 +02:00
jpirnay
af9e37f561
Some fixes around svg embedded images
2026-05-18 21:10:34 +02:00
jpirnay
81ccca7d12
Merge pull request #238 from jpirnay/refactor-some
...
refactor: Pick up some valid refactor ideas from bgd indexing
2026-05-18 19:22:36 +02:00
jpirnay
392879bb6c
Merge pull request #239 from jpirnay/refactor-thumbs-pending
...
refactor: thumbs pending indicator
2026-05-18 19:20:54 +02:00
jpirnay
d0eb1c07f4
Review changes
2026-05-18 19:15:52 +02:00
jpirnay
518e667e1d
Add loading indicator
2026-05-18 19:12:48 +02:00
jpirnay
00469d672c
Merge pull request #237 from jpirnay/fix-svgnest
...
fix: Properly deal with svg elements
2026-05-18 18:55:10 +02:00
jpirnay
a6cb9b7452
Pick up some valid refactor ideas from bgd indexing
2026-05-18 18:53:52 +02:00
jpirnay
a3cef380a7
Refactor pendig thumbnails
2026-05-18 16:42:38 +02:00
jpirnay
8732c56499
Properly deal with svg elements
2026-05-18 08:18:13 +02:00
jpirnay
3ac6752241
Merge pull request #234 from jpirnay/feat-svg-cover
...
fix: Recognize and use raster svg images (upstream PR 2024 by LSTAR9000)
2026-05-17 18:00:31 +02:00
jpirnay
d0b722cbff
Recognize and use raster svg images (upstream PR 2024 by LSTAR9000)
2026-05-17 17:32:19 +02:00
jpirnay
5057345b2b
Adapat PR 1947 / 1968 to fix JS optimizer
2026-05-17 16:33:40 +02:00
jpirnay
cac61d85b9
Add domitian font family
2026-05-17 14:09:09 +02:00
jpirnay
d492684393
Prperly use font override on boot
2026-05-17 14:01:22 +02:00
jpirnay
a7450fa8d4
Further optimisations
2026-05-17 13:55:55 +02:00
jpirnay
8cae186cc1
Fix css mismatch after koreader sync
2026-05-17 12:29:56 +02:00