1
0
mirror of https://github.com/ciromattia/kcc synced 2026-05-27 09:52:02 +00:00
Commit Graph

1325 Commits

Author SHA1 Message Date
Alex Xu e40cf29aa3 don't attempt to sign on forks (#881)
* overwrite unsigned binary

* only sign on ciromattia

* Update package-windows.yml

* only sign on ciromattia
2025-03-26 13:47:16 -07:00
Alex Xu 9d1802453c Update package-windows-with-docker.yml 2025-03-26 13:46:02 -07:00
Alex Xu 4337d6c10d try to crop only main cover from wide cover scan (#875) 2025-03-21 10:17:23 -07:00
Alex Xu 9680ff24c2 split covers in half if too wide (#874) 2025-03-18 21:23:34 -07:00
Alex Xu 48b5b4f397 Update README.md 2025-03-18 16:50:08 -07:00
Alex Xu c712dc12a2 improve faq 2025-03-17 08:23:26 -07:00
Alex Xu d2be9138c4 Update README.md 2025-03-16 20:49:30 -07:00
Alex Xu 3cb40772a4 update summary 2025-03-16 20:35:03 -07:00
Alex Xu ef3b756247 fix unsupported directory structure and large mobi conversion stuck with nested folders by flattening folders (#869) 2025-03-15 08:09:17 -07:00
Alex Xu 77af020abb Update README.md 2025-03-13 14:30:37 -07:00
Alex Xu 1c9c6c13b4 Update README.md 2025-03-13 11:00:39 -07:00
Alex Xu 85ce39b2c3 Update README.md 2025-03-13 10:48:18 -07:00
simesherbs 6a33aee241 New "MOBI + EPUB (200MB)" output option (#866)
* initial fix

* initial

* working, but mobi is a bit too large

* changed target size to 190mb to account for mobi conversion size increase

* changed target size back to 195

* removed debugging print statements

* add trailing comma

---------

Co-authored-by: Alex Xu <alexkurosakimh3@gmail.com>
2025-03-13 09:07:03 -07:00
Alex Xu 271a129537 bump 7.3.3 v7.3.3 2025-03-12 19:10:29 -07:00
Alex Xu 23099cee81 fix landscape alignment (#865) 2025-03-12 19:09:58 -07:00
simesherbs b957fcf3fe "Disable processing" tool tip font fix (#864)
* initial fix

* applied fix to appropriate file

* changed .ui file and recompiled

* final fixes
2025-03-12 18:46:30 -07:00
Alex Xu 187475a424 add SignPath to Windows GUI workflow (#862) v7.3.2 2025-03-11 15:41:12 -07:00
Alex Xu 88fd54e2ba bump 7.3.2 2025-03-11 15:30:02 -07:00
Alex Xu b23b67bbbe revert build windows gui with docker (#861) 2025-03-11 15:29:33 -07:00
Alex Xu 9992d895cf fix comicrack large files again (#860) 2025-03-11 15:07:48 -07:00
Alex Xu 561951a349 restore imgMetadata dict (#858)
* Revert "memory optimization: store metadata in filenames, not a global dict (…"

This reverts commit 9a2a09eab9.

* only remove imgOld
2025-03-11 09:57:11 -07:00
Alex Xu b8b7926366 use release-signing v7.3.1 2025-03-10 09:04:55 -07:00
Alex Xu 92f3308e1c bump to 7.3.1 2025-03-10 08:59:18 -07:00
Alex Xu 9e87ccef4e Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation 2025-03-10 08:58:37 -07:00
Alex Xu 9a2a09eab9 memory optimization: store metadata in filenames, not a global dict (#853)
* remove options.imgMetadata and store metadata in filename

* make kcc much more memory efficient by removing imgMetadata and imgOld dicts
2025-03-09 16:52:07 -07:00
Alex Xu 88cf2fd21f fix sanitize-first bug 2025-03-09 16:50:15 -07:00
Vinh Quang Tran 7a3ed262b1 fix: disabled overriding title (#857) 2025-03-09 16:22:34 -07:00
Alex Xu 9e204aad76 rename images before processing to fix splitting issues (#852)
* rename images before processing to fix splitting issues

* import pathlib

* 9999 page limit
2025-03-07 07:59:04 -08:00
Alex Xu e1f9d12676 add test-signing 2025-03-06 14:08:48 -08:00
Ciro Mattia Gonano 24ab72fcbc Update LICENSE.txt to reflect Alex is current main maintainer 2025-03-06 12:06:55 +01:00
Ciro Mattia Gonano 4af6a75874 Update LICENSE.txt to reflect Alex is current main maintainer 2025-03-06 12:06:08 +01:00
Alex Xu 28b6188a3f Delete appveyor.yml 2025-03-05 19:03:14 -08:00
iwa f000af1207 Delete .travis.yml (#849)
* Delete .travis.yml

---------

Co-authored-by: Alex Xu <alexkurosakimh3@gmail.com>
2025-03-05 13:13:59 -08:00
Alex Xu 299f916580 add screenshot 2025-03-04 19:59:54 -08:00
Alex Xu c39e403595 add screenshot 2025-03-04 19:58:24 -08:00
Alex Xu e787dd2897 bump 7.3.0 v7.3.0 2025-03-04 11:29:44 -08:00
Alex Xu 01625904d1 huge speed optimization on HDD by removing md5 (#845)
* Eliminate unnecessary use of MD5 checksum

md5checksum() computes the actual checksum of a specified file, which is appropriately expensive, but the code seemed to be using the checksum result as a key into the imgMetadata dictionary to avoid handling image files being renamed during processing steps. This seems like a very expensive way to handle the rename so instead, I now update the imgMetadata keys with the new filename in the one place that the rename happens, and avoid MD5 checksums entirely.

* merge conflicts

* Add missing handling for image path renames due to nested chapter folder name

* merge conflicts

* merge conflicts

* add perf_counters

* imgFileProcessing perf_counter

* use startswith and removeprefix

---------

Co-authored-by: utopiafallen <utopiafallen@gmail.com>
2025-03-04 11:28:23 -08:00
Alex Xu 5f8526da44 all image files have unique ordered names (#848) 2025-03-03 07:50:21 -08:00
Alex Xu 1159e737a0 small correction to 7z (#847) 2025-03-02 19:55:45 -08:00
Alex Xu 5bbdb715e9 7z is faster note 2025-03-02 12:39:51 -08:00
Alex Xu 1a3cd6c916 add perf_counter to makeBook (#846) 2025-03-02 12:24:49 -08:00
Alex Xu e1e6d587f4 makeZIP now prefers 7z for SPEED (#844) 2025-03-02 11:08:27 -08:00
Alex Xu ca5c0bdd61 fix error messages that only say a single number (#843) 2025-03-01 19:40:55 -08:00
Alex Xu c6f491d27e bump 7.2.3 v7.2.3 2025-02-28 20:44:45 -08:00
Alex Xu c9ed3feef1 deprioritize tar (#842) 2025-02-28 20:17:41 -08:00
Alex Xu be147fe7e5 saves several seconds per file (#841) 2025-02-28 20:11:11 -08:00
utopiafallen 62ffa2bc80 Improve processing performance by partially undoing "Refactored detection of corrupted files"
Commit f952634971 moved image corruption detection out from the ComicPage constructor and into a standalone detectCorruption() function. This led to a performance regression because now corruption detection happens in a single thread when it used to be distributed across worker threads, and because a source image is now loaded twice in memory: once during corruption detection and once when actually going to process the image.

Image file corruption detection is now back inside the ComicPage constructor and the extra load() has been removed because the convert() call will automatically invoke load() and most likely throw the same exceptions.
2025-02-28 19:49:13 -08:00
Alex Xu 11186d07c0 fix file splitting/chunking for real in certain situations (#839)
* fix file splitting without ComicInfo.xml

* remove dead var
2025-02-28 19:19:11 -08:00
Alex Xu 4b3cd6882a Revert "Build windows GUI version normally without docker" (#835)
* Revert "remove GUI windows docker"

This reverts commit 4fc5cc9dfb.

* build windows gui version with docker

* cffi

* bump 7.2.2
v7.2.2
2025-02-25 08:57:40 -08:00
Alex Xu b35a2baf05 bump 7.2.1 v7.2.1 2025-02-20 18:24:53 -08:00