Skip to content

Add expat and swap out EPUB HTML parser#2

Merged
daveallie merged 4 commits intomasterfrom
feature/expat
Dec 6, 2025
Merged

Add expat and swap out EPUB HTML parser#2
daveallie merged 4 commits intomasterfrom
feature/expat

Conversation

@daveallie
Copy link
Member

  • Rebuild HTML parsing using expat
  • Potential to swap out the rest of the parsing to use expat in the future

@daveallie daveallie merged commit dd6e649 into master Dec 6, 2025
@daveallie daveallie deleted the feature/expat branch December 8, 2025 12:13
martinbrook pushed a commit to martinbrook/crosspoint-reader that referenced this pull request Jan 30, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook pushed a commit to martinbrook/crosspoint-reader that referenced this pull request Jan 30, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Jan 30, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Jan 30, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
@martinbrook martinbrook mentioned this pull request Jan 30, 2026
8 tasks
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 1, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 1, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
lukestein pushed a commit that referenced this pull request Feb 3, 2026
Address review comments #2, #3, and #10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
lukestein pushed a commit that referenced this pull request Feb 3, 2026
Address review comments #2 and #3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 5, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 5, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 5, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 5, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 8, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 8, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
madeddie pushed a commit to madeddie/crosspoint-reader that referenced this pull request Feb 11, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
madeddie pushed a commit to madeddie/crosspoint-reader that referenced this pull request Feb 11, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 13, 2026
Address review comments crosspoint-reader#2, crosspoint-reader#3, and crosspoint-reader#10:
- Extract duplicated bayer4x4 matrix, applyBayerDither4Level(), and
  drawPixelWithRenderMode() into shared DitherUtils.h
- Extract duplicated PixelCache struct into shared PixelCache.h so both
  JPEG and PNG decoders use the same implementation
- Add MAX_CACHE_BYTES (256KB) size limit to PixelCache::allocate() to
  proactively guard against oversized allocations on embedded targets
martinbrook added a commit to martinbrook/crosspoint-reader that referenced this pull request Feb 13, 2026
Address review comments crosspoint-reader#2 and crosspoint-reader#3:
- Remove duplicated bayer4x4, applyBayerDither4Level(),
  drawPixelWithRenderMode(), and PixelCache from JPEG decoder
- Include shared DitherUtils.h and PixelCache.h instead
Danbrose pushed a commit to Danbrose/crosspoint-reader that referenced this pull request Feb 24, 2026
* feat: add extra small fonz sizes

* added spanish string

* fix formatting

* reodered `FONT_SIZE` enum for keep old order

* add romanian string

* fix: setting now corresponds to font (error introduced in 072a44c)

* Update russian.yaml

Added line 176 with the translation of "extra small" font size

---------

Co-authored-by: Ariel Lindemann <[email protected]>
vjapolitzer pushed a commit to vjapolitzer/crosspoint-reader that referenced this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant