Commit Graph

52751 Commits

Author SHA1 Message Date
Kovid Goyal 9384b8d75c Use recursive locks for the cover caches
Performance hit of a few nanoseconds per lock operation, however
eliminates one source of deadlocks.
2026-01-16 20:07:07 +05:30
Kovid Goyal 65823b271f ... 2026-01-16 20:05:03 +05:30
Kovid Goyal 6db354cd30 Merge branch 'emblem-init_template' of https://github.com/un-pogaz/calibre 2026-01-16 19:30:04 +05:30
Kovid Goyal e845163145 Preferences->Look & feel allow right clicking on the sections in the list to restore defaults for just that section 2026-01-16 19:28:52 +05:30
un-pogaz 7e926f2e51 call init_template() in render_emblem too 2026-01-16 14:52:01 +01:00
Kovid Goyal 25e034a8c4 Fix regression causing failure when second line template is None 2026-01-16 19:17:29 +05:30
Kovid Goyal ee4d8d7127 ... 2026-01-16 17:23:52 +05:30
Kovid Goyal a5c9746696 Bump beta version 2026-01-16 12:58:22 +05:30
Kovid Goyal 46b05794a8 Automated upgrade of source code to python 3.14 2026-01-16 12:20:27 +05:30
Kovid Goyal 75fd04c97b Upgrade type annotations for newer python 2026-01-16 11:28:53 +05:30
Kovid Goyal a8bf77546e Replace use of deprecated datetime.timezone.utc 2026-01-16 11:19:53 +05:30
Kovid Goyal cbf93dc016 E-book viewer: Allow typing in a page number to go to instead of forcing the user to scroll through existing page numbers 2026-01-16 10:55:12 +05:30
Kovid Goyal 1d2a0c8050 ... 2026-01-16 10:40:37 +05:30
Kovid Goyal 106c33ee02 Cleanup previous PR 2026-01-16 10:38:23 +05:30
Kovid Goyal f9af8911ad Merge branch 'master' of https://github.com/xyzzy-foo/calibre 2026-01-16 10:31:57 +05:30
Kovid Goyal 33b52f598f ... 2026-01-16 10:30:50 +05:30
Kovid Goyal 579b151169 Use with for QPainter 2026-01-16 09:55:31 +05:30
Kovid Goyal 04028608f1 Merge branch 'fix-painter-crash' of https://github.com/un-pogaz/calibre 2026-01-16 09:26:13 +05:30
Kovid Goyal 71ae165bfe Merge branch 'fix-updating-template' of https://github.com/un-pogaz/calibre 2026-01-16 09:24:54 +05:30
un-pogaz f7b25d1083 Bookshelf: fix template not updated if the previous value was empty 2026-01-15 22:19:02 +01:00
xyzzy-foo abc81de373 OPF2: Backport the fallback process for reading Open Manga Format (OMF) cover images to OPF2
The OMF cover image was not referenced in the KEPUB conversion because the EPUB Input plugin references OPF2 instead of OPF3.
2026-01-16 05:30:35 +09:00
un-pogaz 8e3194a8ce ... 2026-01-15 20:01:15 +01:00
un-pogaz 9043273c21 Bookshelf: add forgotten painter.end() in paintEvent
also revert "Log exception in bookshelf emblem rules instead of raising an error dialog"
commit aa550f6
2026-01-15 19:15:35 +01:00
Kovid Goyal d8f33cf65e Cleanup fetching of preferences from db
Hold the db lock while reading the preference. Only fetch the emblem
rules once rather than once per render.
2026-01-15 22:27:16 +05:30
Kovid Goyal aa550f69cf Log exception in bookshelf emblem rules instead of raising an error dialog 2026-01-15 22:09:39 +05:30
Kovid Goyal 161d465936 Add a tooltip to thumbnail opacity setting 2026-01-15 18:43:59 +05:30
Kovid Goyal 5527cf7834 Merge branch 'thumbnail-opacity' of https://github.com/un-pogaz/calibre 2026-01-15 18:43:55 +05:30
un-pogaz 7a687b2169 Bookshelf: add option for thumbnail opacity 2026-01-15 11:54:53 +01:00
Kovid Goyal 908de6faec Increase yield time to 10ms from 100ms 2026-01-15 14:09:07 +05:30
Kovid Goyal a945a5538e ... 2026-01-15 11:24:18 +05:30
Kovid Goyal 43af11bf87 Make the default bookshelf disk cache size slightly larger
Needed for large screen displays where the shelf height becomes quite
large
2026-01-15 11:22:36 +05:30
Kovid Goyal 469e093012 Bump version of py7zr for python 3.14 support 2026-01-15 10:47:41 +05:30
Kovid Goyal be1bb45b13 E-book viewer: Change length count algorithm to use the algorithm from the new page count code
I realised that the length numbers will have changed anyway for any book
with an <i> tag. So might as well be consistent for the future.
2026-01-15 10:47:04 +05:30
Kovid Goyal 301e3e0cb1 use the new compression package to import compression codecs from 2026-01-15 07:31:27 +05:30
Kovid Goyal 7213b89643 Page count thread: Yield to main thread to ensure no starvation due to the GIL
We anyway release the GIL when doing I/O to worker thread, but in case
of re-scans there may not be much I/O.
2026-01-15 07:17:26 +05:30
Kovid Goyal e5274b862f Move to using python stdlib zstd module
This requires python 3.14 which we are already using in the binary
builds. Linux distributors will need to update their python before
updating to calibre 9.
2026-01-15 06:30:50 +05:30
Kovid Goyal 3823fa9206 string changes 2026-01-15 06:05:06 +05:30
Kovid Goyal 5b4735ce04 string changes 2026-01-14 23:51:10 +05:30
Kovid Goyal a479811043 ... 2026-01-14 20:06:16 +05:30
Kovid Goyal 33da81a339 Merge branch 'dark-theme-divider-line' of https://github.com/un-pogaz/calibre 2026-01-14 20:05:30 +05:30
Kovid Goyal 244ed64865 Cleanup previous PR
Use a dedicated API for better performance when calculating author sorts
2026-01-14 20:04:00 +05:30
Kovid Goyal 99eaca251f Merge branch 'groups-authors' of https://github.com/un-pogaz/calibre 2026-01-14 19:56:26 +05:30
un-pogaz 34dc0c62b9 Bookshelf: show authors value and not author_sort when grouping by authors 2026-01-14 14:41:51 +01:00
un-pogaz 68edf51ab6 Bookshelf: on dark theme, use a better color for divider line 2026-01-14 13:05:12 +01:00
Kovid Goyal 9eb9e03d6c ... 2026-01-14 16:42:12 +05:30
Kovid Goyal fcf017bd42 Bump beta version 2026-01-14 16:05:00 +05:30
Kovid Goyal c7d02bf04b Fix all actions popup menu not showing in Wayland 2026-01-14 15:41:39 +05:30
Kovid Goyal edd7b38ea0 Merge branch 'fix-sort-same-header' of https://github.com/un-pogaz/calibre 2026-01-14 15:32:25 +05:30
un-pogaz 00b9253d48 Sort by: show column with same header 2026-01-14 10:51:31 +01:00
Kovid Goyal eed6046be0 Bump libpng version for CVE 2026-01-14 14:20:10 +05:30