Copilot
e535809e74
fix: Fix deadlock in ConvertChapter when context cancelled during page processing ( #152 )
...
* Initial plan
* Fix deadlock in ConvertChapter when context is cancelled after wgConvertedPages.Add
Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com >
* Fix test comments to remove placeholder issue references
Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com >
2025-12-20 14:26:33 -05:00
Antoine Aflalo
54de9bcdeb
perf: use default for unlock the mutex
2025-09-09 16:59:11 -04:00
Antoine Aflalo
0a7cc506fd
fix: possible race condition
2025-09-09 16:58:42 -04:00
Antoine Aflalo
f159d3d0d0
fix: keep the error
2025-09-03 22:17:41 -04:00
Antoine Aflalo
ede8d62572
fix: Keep page as they are if we can't decode them and disable conversion
2025-09-03 22:15:10 -04:00
Antoine Aflalo
6205e3ea28
feat(gif): support gif file
...
See .gif file extension support and more exception handling
Fixes #105
2025-09-03 21:04:51 -04:00
Antoine Aflalo
4e5180f658
feat: add timeout option for chapter conversion to prevent hanging on problematic files
...
fixes #102
2025-08-26 21:34:52 -04:00
Antoine Aflalo
32c009ed9b
feat: integrate zerolog for enhanced logging across multiple components
2025-08-26 21:16:54 -04:00
Antoine Aflalo
23eb43c691
fix(chapter): fix chapter conversion.
...
Still need to figure out the memory issues
Consolidates image conversion logic into a dedicated method.
This change streamlines the conversion process by centralizing the
setting of converted image data, extension, and size. It also
introduces a flag to track whether an image has been converted.
The old resource cleanup has been removed since it is not needed anymore.
2025-02-14 10:03:35 -05:00
Antoine Aflalo
efe1696bfa
fix(memory): fix possible memory leak and add better tests
2025-02-13 20:02:45 -05:00
Antoine Aflalo
dd7b6a332c
refactor: update import paths to use internal package
2025-02-13 19:43:18 -05:00