Commit Graph

52813 Commits

Author SHA1 Message Date
Kovid Goyal 42a6fe793a Add an option to use bold fonts on the spine
Specially for JSWolf
2026-01-19 22:11:51 +05:30
Kovid Goyal 6e06d92ab1 Only wrap t two lines if the two line font size is larger than the single line font size would be 2026-01-19 22:06:15 +05:30
Kovid Goyal 0b28ae5ee8 ... 2026-01-19 21:32:32 +05:30
Kovid Goyal 49a51e1af4 Handle the fact that QStringuses UTF-16 and python uses unicode codepoints when slicing strings based on QTextLayout 2026-01-19 21:29:05 +05:30
Kovid Goyal d15c3dc783 Bookshelf: When using a single line and the line is too long to fit rather than reducing font size wrap the line onto a second line, when there is available space for a second line 2026-01-19 21:15:06 +05:30
Kovid Goyal dad0e4c6d0 Bookshelf: Make min and max spine text size configurable
Fixes #2992 (Bookshelf: add a tweak to control the min/max font size of the texts)
2026-01-19 20:28:45 +05:30
Kovid Goyal 9e19951df0 EPUB3 metadata: Handle identifiers that use HTTP URLs without the url: prefix
For some misbegotten reason Standard Ebooks has started producing these.
They truly believe consistency is the hobgoblin of small minds.

Fixes #2137122 [Parsing OPF3 dc:identifier URLs without url: prefix](https://bugs.launchpad.net/calibre/+bug/2137122)
2026-01-19 20:02:32 +05:30
Kovid Goyal e33ec4b6ec Bump beta version 2026-01-19 19:31:27 +05:30
Kovid Goyal c7039ef455 Edit book: Check book: Fix spurious unreferenced warnings for SMIL media overlay audio files 2026-01-19 19:29:09 +05:30
Kovid Goyal c713f58dd6 Bump py7zr for CVE 2026-01-19 19:04:01 +05:30
Kovid Goyal 88df3dabc9 Edit book: Reports: Have pressing enter do the same action as double clicking the current entry. Fixes #2138179 [[Enhancement/Bug?] Book Editor - Report Words](https://bugs.launchpad.net/calibre/+bug/2138179) 2026-01-19 18:59:34 +05:30
Kovid Goyal a2af05a467 Add a tooltip to the toolbar extension button 2026-01-19 17:11:49 +05:30
Kovid Goyal 263bdb3bc4 string changes 2026-01-19 17:04:33 +05:30
Kovid Goyal 889d66ecba Show a notification informing user they need to restart calibre on enable/disable of plugin 2026-01-19 15:25:03 +05:30
Kovid Goyal 70023ceda8 Fix #2137097 [[Enhancement] Viewer: List keyboard shortcut on tooltip for Find Next/Previous Match](https://bugs.launchpad.net/calibre/+bug/2137097) 2026-01-19 15:00:26 +05:30
Kovid Goyal 999b6ce4ab add some more explanatory text about toolbars to the customize widget 2026-01-19 14:41:39 +05:30
Kovid Goyal febe7080e6 ... 2026-01-19 11:13:37 +05:30
Kovid Goyal 3ef90d6a36 DRYer 2026-01-19 11:08:36 +05:30
Kovid Goyal 397ddf23fd Cleanup bookshelf preferences layout 2026-01-19 10:49:11 +05:30
Kovid Goyal 935cf30fde Cleanup drawing of bookshelf background
Dont use a stylesheet. Instead render custom color/texture with shadows.
Also fix background pixmap caching being broken
2026-01-19 10:17:04 +05:30
Kovid Goyal 8d6b2a794c Move colors settings into their own tab 2026-01-19 09:54:09 +05:30
Kovid Goyal af5c89f0a0 Merge branch 'custom-background' of https://github.com/un-pogaz/calibre 2026-01-19 08:19:11 +05:30
Kovid Goyal c279b9268c Fix vertical alignment of categories in Preferences->Plugins 2026-01-19 08:06:28 +05:30
Kovid Goyal d5f3bd1de2 Fix rendering of checkboxes in light mode also broken in Qt 6.10 fusion theme
Apply same workaround as was used for dark mode to light mode as well
2026-01-19 07:56:45 +05:30
Kovid Goyal 5dbdc70fd4 Fix restore defaults in main interface tab with a changed font causing an error 2026-01-19 07:41:50 +05:30
Kovid Goyal 9d99cca285 Merge branch 'improve-disabling-plugins' of https://github.com/un-pogaz/calibre 2026-01-19 07:36:54 +05:30
Kovid Goyal 7bc625fd33 Fix right click on cover browser layout button not opening correct preferences panel 2026-01-19 07:31:53 +05:30
un-pogaz 14d50c49bd use "installation_type" to safe guard disabling internal plugins 2026-01-18 23:15:33 +01:00
Kovid Goyal 030f5d82f8 Fix a harmless error printed out during shutdown 2026-01-18 21:16:42 +05:30
un-pogaz 501d1b93ff Bookshelf: allow custom background 2026-01-18 16:05:26 +01:00
un-pogaz 7b76aaeb6e Bookshelf: allow override colors theme 2026-01-18 16:05:26 +01:00
Kovid Goyal 37f345c117 ... 2026-01-18 19:52:04 +05:30
Kovid Goyal f752969528 Bump beta version 2026-01-18 19:18:02 +05:30
Kovid Goyal 762318ead1 Allow hiding the group dividers 2026-01-18 19:17:32 +05:30
Kovid Goyal 22870403a8 string changes 2026-01-18 19:13:45 +05:30
Kovid Goyal 628fecbeeb Merge branch 'options-groups-divider' of https://github.com/un-pogaz/calibre 2026-01-18 19:08:02 +05:30
Kovid Goyal 093ea1abe1 Merge branch 'fix-colors-palette-changed' of https://github.com/un-pogaz/calibre 2026-01-18 18:57:54 +05:30
Kovid Goyal 156493a13c Better hash combining 2026-01-18 18:56:27 +05:30
Kovid Goyal dc04a002c9 Avoid copying strings when looking up translations 2026-01-18 18:50:30 +05:30
un-pogaz 849823e810 Bookshelf: fix text color not updated when colors palette is changed 2026-01-18 13:49:44 +01:00
un-pogaz c1eb128fba Bookshelf: add three options for groups divider
1) Groups divider style
2) Divider text aligned to the right
3) Start shelves with a divider
2026-01-18 13:09:43 +01:00
un-pogaz d6400eb41d ... 2026-01-18 13:09:43 +01:00
Kovid Goyal 9f0bda5522 Release GIL while parsing .mo file 2026-01-18 16:58:14 +05:30
Kovid Goyal 9146384bf1 Switch to the GIL free translator
Allows Qt code to use the translations without acquiring the GIL.
Fixes deadlocks when python code holding the GIL calls Qt code which
tries to use a translation which calls the python translator which tries
to acquire the GIL, causing the deadlock.

QTranslator::translate() is supposed to be thread safe which the old
python based translator was not. The new one is.

Fixes #2138516 [Private bug](https://bugs.launchpad.net/calibre/+bug/2138516)
2026-01-18 15:22:17 +05:30
Kovid Goyal cb14db0ce8 API function to install the new Trnaslator as the Qt translator 2026-01-18 14:58:55 +05:30
Kovid Goyal d140a30fbd A hook point for Qt translations 2026-01-18 14:37:13 +05:30
Kovid Goyal 955175b68c ... 2026-01-18 14:11:35 +05:30
Kovid Goyal 11b0ef7054 Get gettext() and ngettext() working 2026-01-18 14:10:01 +05:30
Kovid Goyal 0221d5cedb MSVC requires c++ 20 for designated initializers 2026-01-18 11:41:15 +05:30
Kovid Goyal 8f7b8238d3 ... 2026-01-18 11:23:13 +05:30