Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Alex Xu 28b6188a3f Delete appveyor.yml 2025-03-05 19:03:14 -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 2025-03-04 11:29:44 -08:00
Alex Xuandutopiafallen 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 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
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
2025-02-25 08:57:40 -08:00
Alex Xu b35a2baf05 bump 7.2.1 2025-02-20 18:24:53 -08:00
Alex Xu 11a395e983 fix pdf workdir (#830) 2025-02-20 18:24:06 -08:00
Alex Xu 2e39a8c227 add jpeg2000 (#828) 2025-02-19 16:29:26 -08:00
Alex Xu 02535421a0 rename batch to chunk (#826) 2025-02-12 15:31:40 -08:00
Alex Xu 3d4fae62d8 reduce rainbow checkbox (#824) 2025-02-09 19:10:56 -08:00
Alex Xu 2b550b8b98 bump to 7.2.0 2025-02-06 14:08:11 -08:00
Alex Xu ecee7cf6f5 don't sanitize twice 2025-02-06 14:07:09 -08:00
Alex Xu b0a5558da1 write temp files next to source instead of on main ssd (#820)
* extract to same folder

* rename split to batch

* write temp files to source
2025-01-30 12:42:02 -08:00
Alex Xu 1b487c18d6 with certain file structures: fix large file chunking, ComicInfo.xml, permissions (#819)
* fix nested folder extraction

* add comicinfo.xml handling

* sanitize

* add error handling

* space
2025-01-30 11:31:33 -08:00
Alex Xu a3546d19c3 add build_binary commands to readme (#818) 2025-01-29 19:14:08 -08:00
Alex Xu 4fb993b38b add example new checkbox PR (#815) 2025-01-27 13:42:06 -08:00
Alex Xu 1401f94c1f reorganize imports to match autogenerated files (#813)
* reorganize imports of QtGui and more

* remove unused imports
2025-01-23 09:36:03 -08:00
Alex Xu a9d0c57ba6 build appimage on ubuntu-22.04 instead of 24.04 (#803) 2025-01-06 18:05:47 -08:00
Alex Xu 5598596650 bump to 7.1.2 2025-01-05 08:59:37 -08:00
Alex Xu 4b7b6d1c58 Revert "qt6-wayland (#800)" (#801)
This reverts commit 075bc748d1.
2025-01-04 22:45:00 -08:00
Alex Xu 075bc748d1 qt6-wayland (#800) 2025-01-04 22:35:22 -08:00
Alex Xu 9e318ed33e add author gui (#799) 2025-01-04 21:49:51 -08:00
Alex Xu 6d21bfa6fa bump to 7.1.1 2025-01-03 20:08:13 -08:00
Alex Xu 132574d57d remove fastnumbers (#798) 2025-01-03 20:06:44 -08:00
Alex Xu 317fb33fd0 No Rotate option (#785)
* no rotate

* Revert "no rotate"

This reverts commit b6f1fe8882.

* implement norotate
2025-01-03 19:43:20 -08:00
Alex Xu 2189f4b1cb Revert "build appimage on ubuntu-20.04 instead of 22.04 (#795)" (#797)
This reverts commit 462a3cebde.
2024-12-31 18:41:10 -08:00
Alex Xu 462a3cebde build appimage on ubuntu-20.04 instead of 22.04 (#795) 2024-12-31 09:05:09 -08:00
Alex Xu 2a414ef936 bump to 7.1.0 2024-12-30 22:23:18 -08:00
Alex Xu 4adb998896 modify path with c2e and c2p (#790) 2024-12-30 22:19:23 -08:00
Alex Xu 315b6e150d enable synthetic spreads for all devices (#789) 2024-12-30 22:15:41 -08:00
Alex Xu 5875508597 fix dark mode (#794) 2024-12-30 20:16:11 -08:00
Alex Xu 0a4ef31daf Fix cropping power sliders (#793)
* undo gui changes

* fix gui
2024-12-30 19:15:02 -08:00
Alex Xu c99df3308e macos-12 is deprecated on GitHub, switch to macos-13 intel (#791) 2024-12-25 12:49:46 -08:00
Alex Xu e9482fbd6c linux search for kindlegen in ~/.local/bin for steam deck and more (#786)
* on steam deck, search for kindlegen in ~/.local/bin

* remove comment
2024-12-25 12:24:12 -08:00
Alex Xu 434fe90b00 don't delete/dedupe covers, just change initial alignment (#784)
* don't delete covers, just change initial alignment

* replace dedupecover with spreadshift
2024-12-19 09:06:59 -08:00
Alex Xu dbe6043542 add center spread property 2024-12-13 10:13:18 -08:00
Alex Xu e1a318145d fix left to right comic spread alignment 2024-12-13 09:59:33 -08:00
Alex Xu a71523b2d4 Remove scribe cover guide 2024-12-03 16:52:43 -08:00
Alex Xu 7a5473f530 Update 7z readme 2024-12-03 09:42:11 -08:00
Alex Xu f5a5624112 add numpy to armv7 2024-11-16 20:09:36 -08:00
Alex Xu 3b7e8dc9a5 Docker numpy (#775)
* docker-base-20241116

* docker-base-20241116
2024-11-16 20:01:50 -08:00
Alex Xu e637f37ef0 bump to 7.0.0 2024-11-11 15:52:29 -08:00
Alex Xu c26383c4b5 bump 6.3.1 2024-11-11 11:17:29 -08:00
Alex Xu 4e6ee8b59b fix bookmark drift when dedupecover is checked (#772)
* remove cover chapter as needed

* just skip cover chapter

* fix space
2024-11-11 08:19:04 -08:00
Alex Xu 6c6f591e45 bump 6.3.0 2024-11-07 21:54:37 -08:00
Alex Xu 78c014bf22 simplify cover upload on newer MTP based Kindles by replacing EBOK with PDOC (#767)
* simplify covers by replacing ebok with pdoc

* refactor

* fix order
2024-11-07 21:53:59 -08:00
Alex Xu 421e6bcb64 bump 6.2.2 2024-11-06 14:55:00 -08:00
Alex Xu 5168cd73c4 Make it easier to add new profiles (#764)
* refactor

* put pw12 under oasis profile

* remove kindle 12 tag

* separate ebok and pdoc

* put cs 12 on top
2024-11-04 20:24:12 -08:00
Alex Xu f7f19b99da fix ComicInfo.xml chapters 2024-11-04 09:04:17 -08:00
Alex Xu 1131bab41f bump 6.2.1 2024-10-23 21:21:27 -07:00
Alex Xu 8d204668a7 add kindle 12th gen, including colorsoft (#762)
* add kindle colorsoft

* fix typo
2024-10-23 21:17:22 -07:00
Alex Xu 99d94ceaa7 fix _cffi_backend 2024-10-16 19:24:01 -07:00
Alex Xu 8ff401cc3a remove fastnumbers from armv7 2024-10-04 09:04:56 -07:00
Alex Xu fb7d92d737 fix Docker linux arm (#746)
* fix linux arm64

* Update Dockerfile-base

* Update Dockerfile

* Update Dockerfile-base

* ENV PATH="/opt/venv/bin:$PATH"

* fix docker armv7

* Update Dockerfile-base

* Update Dockerfile-base
2024-09-29 10:21:35 -07:00
Alex Xu 1ca8b2c11b Update README.md 2024-09-15 11:49:49 -07:00
Alex Xu 40e0b4853b add flatpak note 2024-09-08 22:23:23 -07:00
Alex Xu 005313f978 flatpak mobi conversion stuck 2024-09-08 21:22:56 -07:00
Alex Xu add2ef9faa fix image file is corrupt for real 2024-09-07 22:17:30 -07:00
Alex Xu 0c98acd606 bump to 6.2.0 2024-09-06 23:05:02 -07:00
Alex Xu fe902ec213 fix corrupt 2024-09-06 23:04:32 -07:00
Alex Xu 4e9714e6f8 add packaging for Python 3.12 2024-08-30 10:02:44 -07:00
Alex Xu 1337ad7fe3 Python 3.12 supported 2024-08-28 14:32:23 -07:00
Alex Xu 16dd034af4 add Python 3.12 support 2024-08-28 14:26:54 -07:00
Alex Xu d22794555f bump to 6.1.1 2024-08-09 17:13:02 -07:00
Alex Xu ab089adbca fix no such file or directory 7z (#728)
* refactor archive code

* simplify code

* Revert "simplify code"

This reverts commit 3e90dd66c3.

* add link to missing extraction software

* fix tar

* fix wording
2024-08-09 17:08:13 -07:00
Alex Xu 2c770f4562 search for kindlegen in %UserProfile% 2024-08-09 17:05:44 -07:00
Alex Xu 4c73006bd8 add APFS to external drive 2024-08-06 16:04:45 -07:00
Alex Xu 1093dbf65a Update README.md 2024-07-27 08:26:44 -07:00
Alex Xu df9990c692 add python 3.12 unsupported note 2024-07-25 13:54:31 -07:00
Alex Xu 114f4c9e57 add macOS minimums 2024-07-21 10:19:49 -07:00
Alex Xu c2c477475d combine files/chapters in readme 2024-07-20 12:37:20 -07:00
Alex Xu a0f8d0b5cf add kcc 6.1 7z note 2024-07-01 08:55:20 -07:00
Alex Xu 2fc32bae58 Update __init__.py 2024-06-29 08:52:09 -07:00
Alex Xu db25a0939c Build windows gui version normally. 2024-06-25 22:03:10 -07:00
Alex Xu 1bd7506140 remove unar macOS 2024-06-25 21:04:52 -07:00
Alex Xu 4fc5cc9dfb remove GUI windows docker 2024-06-25 20:45:32 -07:00
Alex Xu 89289412a3 Revert "add hiddenimports=['pkg_resources.extern']"
This reverts commit 193297c8fc.
2024-06-25 19:29:17 -07:00
Alex Xu 193297c8fc add hiddenimports=['pkg_resources.extern'] 2024-06-25 19:15:34 -07:00
Alex Xu 367d71e4ad fix typo 2024-06-25 12:52:41 -07:00
Alex Xu cdde0f18cd update prereq readme (#714)
* update prereq readme

* Update README.md

* Update README.md

* Revert "Update README.md"

This reverts commit ceb35b03b6.

* Revert "Update README.md"

This reverts commit a24e818c0e.

* add other OS note
2024-06-25 12:42:38 -07:00
Alex Xu 9fe82a9dd4 improve kindlegen detection windows (#688)
* improve kindlegen detection windows

* add C:\Apps folders
2024-06-25 12:21:48 -07:00
Alex Xu 6738b70487 don't display upscale warning on kindle scribe 2024-06-09 08:00:55 -07:00
Alex Xu a9a2f47e30 fix 1860 width 2024-05-28 09:55:59 -07:00
Alex Xu 1ea008c8f3 reduce dependency on 7z, unar, homebrew by using builtin tar (#693)
* reduce dependency on 7z, unar, homebrew by using builtin tar

* update readme

* fix typo

* add editor text

* remove unar

* Revert "remove unar"

This reverts commit 2c4b239d67.

* Revert "fix typo"

This reverts commit 79752c7f38.

* Revert "update readme"

This reverts commit 4f5c727a2d.
2024-05-17 09:56:04 -07:00