Commit Graph

46862 Commits

Author SHA1 Message Date
Charles Haley 7b5024b97a Two semi-dependent changes:
1) Add a tweak to change the heading for standard columns
2) Add "id", "formats", and "path" as standard columns. They are by default hidden, like "languages"
2023-04-23 20:47:43 +01:00
Kovid Goyal bd483ab92c Forgot to change the structure of extra_files_cache to allow easy eviction by book_id 2023-04-23 22:05:33 +05:30
Kovid Goyal 9e5bb7a5ea Also clear extra files cache when viewing folder by id 2023-04-23 22:02:26 +05:30
Kovid Goyal a8daf6c065 Remove the action to clear extra files cache
the extra files cache is an internal implementation detail. I dont want
to expose that so prominently to end users. If in practice it turns out
that the cache becoming stale is a big issue, we can revisit.
2023-04-23 21:59:06 +05:30
Kovid Goyal 9d98287fd6 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-04-23 21:57:53 +05:30
Kovid Goyal 970ca5293e Fix a regression in the previous release that could result in empty author folders remaining in the library when the author of a book is changed 2023-04-23 20:59:31 +05:30
Kovid Goyal 4bb9c9fba8 Install fonttools on Arch CI 2023-04-23 20:52:33 +05:30
Kovid Goyal f00c826f88 Build test to check fonttools is present and importable 2023-04-23 20:43:47 +05:30
Kovid Goyal 81c9c9c112 Font subsetting: Add support for WOFF format fonts and CID keyed fonts. Also further reduce font file sizes when subsetting.
Courtesy of switching to fonttools as the subsetting engine. They now
support adding glyphs from GSUB/GPOS tables so should be much more
robust than the last time I looked into fonttools and decided to write
my own subsetting code instead.
2023-04-23 20:39:44 +05:30
Kovid Goyal ee553442b7 Return log messages when running subsetting via fonttools 2023-04-23 20:34:23 +05:30
Kovid Goyal 525851464a Wrapper code to use fonttools for subsetting 2023-04-23 20:03:52 +05:30
Kovid Goyal 25b642acba Include fonttools will eventually be used for subsetting or conversion to/from WOFF 2023-04-23 19:54:21 +05:30
Charles Haley b94fcefeba Requested changes to extra_files API 2023-04-23 15:22:28 +01:00
Charles Haley 310ccfd832 API for extra files cache: resolve conflicts with edbf95a plus a few changes after more testing 2023-04-23 11:06:41 +01:00
Charles Haley 5468a465ee Commit 1 of API for the extra files cache. Commit 2 will resolve conflicts with commit edbf95a 2023-04-23 11:05:49 +01:00
Kovid Goyal edbf95a902 Fix data files not being merged when merging books
Fixes #2017373 [Possible bug? Extra data files disappear upon merging](https://bugs.launchpad.net/calibre/+bug/2017373)
2023-04-23 13:04:04 +05:30
Kovid Goyal feac41c8f7 DRYer 2023-04-23 12:46:36 +05:30
Kovid Goyal b81d8f46bc Nicer presentation of folder links in book details 2023-04-23 12:44:52 +05:30
Kovid Goyal fd8717ae41 ... 2023-04-23 09:39:28 +05:30
Kovid Goyal 22fc372bbe ... 2023-04-23 09:09:02 +05:30
Kovid Goyal c352e3e9ed ... 2023-04-23 09:05:58 +05:30
Kovid Goyal 29c9f22fee Fix #2017375 [Data files context menu glitch](https://bugs.launchpad.net/calibre/+bug/2017375) 2023-04-23 09:05:16 +05:30
Kovid Goyal 059d3c9feb Merge branch 'master' of https://github.com/cbhaley/calibre 2023-04-22 19:48:42 +05:30
Charles Haley 82ecffb07b Enhancement #2017318: Open book details window from Quickview.
Opens a locked window.
2023-04-22 15:12:51 +01:00
Kovid Goyal f48c2ca8f2 ... 2023-04-22 18:35:17 +05:30
Kovid Goyal 124854254e ... 2023-04-22 18:13:14 +05:30
Kovid Goyal 3cb7996e89 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-04-22 18:13:04 +05:30
Charles Haley 58f67dd781 Bug #2017316: Error when renaming tag in Tags Manager.
Note: I rolled back commits d5dbb3c63a and 89391da7b7.
2023-04-22 13:23:56 +01:00
Charles Haley 914ea7d54c Revert "Fix #2017316 [Error when renaming tag in Tags Manager](https://bugs.launchpad.net/calibre/+bug/2017316)"
This reverts commit d5dbb3c63a.
2023-04-22 13:22:20 +01:00
Charles Haley 2aef0e6232 Revert "Fix another error in the manage category editor when setting was"
This reverts commit 89391da7b7.
2023-04-22 13:22:20 +01:00
Kovid Goyal cf520a0884 Dont use email to close launchpad bugs
Their email service appears to be broken. So use the fast responder
script instead.
2023-04-22 14:33:20 +05:30
Kovid Goyal d3dda1af39 Edit book: Compress images: Support compression of images in the WEBP format as well. Fixes #2017195 [[feature] support webp in epub](https://bugs.launchpad.net/calibre/+bug/2017195) 2023-04-22 14:09:19 +05:30
Kovid Goyal c6c8fbeb64 webp default for lossy encoding is q=75 2023-04-22 13:32:19 +05:30
Kovid Goyal 36203a7497 Functions to optimize and encode webp images 2023-04-22 13:22:48 +05:30
Kovid Goyal 89391da7b7 Fix another error in the manage category editor when setting was 2023-04-22 11:20:05 +05:30
Kovid Goyal a91889f390 Move constants used by db backend into a separate module so we dont need to import the full backend everywhere else 2023-04-22 11:07:52 +05:30
Kovid Goyal dba94e1b5b DRYer 2023-04-22 11:01:56 +05:30
Kovid Goyal 679877607d Comments editor: Add buttons to create links to data files and also to folders 2023-04-22 10:56:12 +05:30
Kovid Goyal cb97b2b1fa Allow not saving initial dir in choose_files as well 2023-04-22 10:14:26 +05:30
Kovid Goyal d5dbb3c63a Fix #2017316 [Error when renaming tag in Tags Manager](https://bugs.launchpad.net/calibre/+bug/2017316) 2023-04-22 07:29:21 +05:30
Kovid Goyal 4deb2384c2 Bump supported dbversion in kobo driver
At least one user reports that the driver seems to work OK with the
latest dbversion.

https://www.mobileread.com/forums/showthread.php?t=353443
2023-04-22 07:18:55 +05:30
Kovid Goyal f9bc895f0a Fix exception when opening book info popup window with no cover and fit cover checkbox checked 2023-04-22 07:17:48 +05:30
Kovid Goyal 3ac4dc6e43 Avoid div-by-zero in fit_image 2023-04-22 07:16:51 +05:30
Kovid Goyal 8ed76a284a Merge branch 'master' of https://github.com/cbhaley/calibre 2023-04-21 21:09:34 +05:30
Charles Haley 9ccabd206f Improvement in custom comments header position documentation 2023-04-21 16:31:23 +01:00
Kovid Goyal 464030a796 Fix copy to library not copying extra files
There was a bug in the test as well that allowed this bug through.
2023-04-21 20:09:18 +05:30
Kovid Goyal 0805fa23f2 Merge branch 'Python_3.9_syntax' of https://github.com/madpilot78/calibre 2023-04-21 20:00:12 +05:30
Kovid Goyal c021519f95 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-04-21 19:58:59 +05:30
Guido Falsi e227e0f123 Adapt union syntax to work on python 3.9 2023-04-21 15:44:22 +02:00
Charles Haley 1a5bf9ffa8 Refresh book details after adding extra files in case the link isn't alreadyy showing. 2023-04-21 14:34:14 +01:00