38715 Commits

Author SHA1 Message Date
Kovid Goyal
b74453ce94
Bump version for preview release 2025-05-16 07:28:32 +05:30
Kovid Goyal
e4a3f7d14e
Set the background color for the image popup explicitly instead of relying on QPalette which is apparently broken on some Linux systems. Sigh. Fixes #2110503 [[Enhancement] Use a dark background for the Image viewer when using a dark theme](https://bugs.launchpad.net/calibre/+bug/2110503) 2025-05-16 07:27:31 +05:30
Kovid Goyal
0eb5375275
... 2025-05-12 04:26:13 +05:30
Kovid Goyal
ef9b5a1950
DRYer 2025-05-12 04:24:55 +05:30
Kovid Goyal
43912e02bc
When sending emails to amazon and pocketbook use random english text instead of UUIDs for subject/body
Might workaround amazons latest attempt at blocking emails from calibre.
See #2110400 (Amazon blocking calibre mails sendtokindle)
2025-05-12 04:20:08 +05:30
Kovid Goyal
e1bf592824
pep8 2025-05-11 19:50:50 +05:30
Kovid Goyal
a1a611cd1a
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-05-11 19:50:04 +05:30
Charles Haley
c4a57defff Remove print statements 2025-05-11 11:27:30 +01:00
Charles Haley
d4fdd34d74 If there is both an attribute validate_before_accept=True and a method validate() in the config_widget then calll validate() when the config dialog OK button is pressed. 2025-05-11 11:15:58 +01:00
Charles Haley
ff4e978ce5 Revert "Change the plugin configuration do_user_config() to reopen the the dialog if the validator fails. This happens only if the plugin has a config widget and validators."
This reverts commit 19a2115618a3a5d0624eaa8f5ca0b3aa821033a7.
2025-05-11 10:39:05 +01:00
Charles Haley
768c575bb2 Several changes:
- Add validation to the list of lookup names entered into the tags.
- Add validation to the template used to choose whether to kepubify a book.
- Make the validation dialogs work. This requires the change to do_user_config().
- Add the name of the option failing validation to the title of the error message.
2025-05-10 17:46:26 +01:00
Charles Haley
7416130dfc Change the validation formatter to throw exceptions. As all uses of that formatter in base calibre expect exceptions, validation wasn't working. 2025-05-10 17:40:56 +01:00
Charles Haley
19a2115618 Change the plugin configuration do_user_config() to reopen the the dialog if the validator fails. This happens only if the plugin has a config widget and validators. 2025-05-10 17:39:54 +01:00
Robin Lin
e92c295e15 remove redundant code. 2025-05-10 22:22:08 +08:00
Kovid Goyal
d7d048acd5
Version 8.4 2025-05-09 07:01:40 +05:30
Kovid Goyal
acb007a297
Fix #2110206 [[Enhancement] Add Fit image action to right click menu of the image viewer](https://bugs.launchpad.net/calibre/+bug/2110206) 2025-05-08 19:55:56 +05:30
Kovid Goyal
007e40b5b8
Dont output spurious blocked navigation message for opened URLs 2025-05-07 16:50:36 +05:30
Kovid Goyal
9c42e1f7cc
E-book viewer: Fix a regression that broke the "show book in main calibre program" link. Fixes #2110117 [link in e-viewer stopped working](https://bugs.launchpad.net/calibre/+bug/2110117) 2025-05-07 16:49:41 +05:30
Kovid Goyal
d2363c0c0a
KEPUB Output: Add an option to generate KEPUB files that have better text justification at the cost of gaps in highlighting when used on the Kobo. Fixes #2107778 [Native KEPUB conversion causing some justification issues](https://bugs.launchpad.net/calibre/+bug/2107778)
Note that this option also affects on-the-fly generation of KEPUB done
by the Kobo driver.
2025-05-06 13:31:52 +05:30
Kovid Goyal
6b67ed1e66
kepubify: Optionally move leading and trailing whitespace out of the kobo spans 2025-05-06 11:55:47 +05:30
Kovid Goyal
3d48a0a94e
E-book viewer: Allow the background image specified in the Style section of the viewer preferences to extend under the viewer margins as well 2025-05-05 14:54:50 +05:30
Kovid Goyal
52616a4994
News download: Fix Next/Previous links not working when the pointed to article failed to download 2025-05-05 13:36:37 +05:30
Kovid Goyal
9d81359d8a
E-book viewer: Handle links to missing internal files with an error popup rather than becoming non-functional 2025-05-05 12:41:55 +05:30
Kovid Goyal
be586a4b69
Basic yandex code
Useless since yandex uses CAPTCHAs
2025-05-04 14:21:00 +05:30
Kovid Goyal
3fd1bc2df7
E-book viewer: Fix some links not being processed correctly for very large EPUB files with many internal HTML files. 2025-05-04 13:12:46 +05:30
Kovid Goyal
8c06e89aaf
Dont fail to generate OPDS acquisition feed for books without uuid 2025-05-04 09:59:22 +05:30
Kovid Goyal
aca5ffc547
Increase pipereader timeout 2025-05-02 13:09:38 +05:30
Kovid Goyal
de169d2508
Bump version for preview release 2025-05-02 08:45:44 +05:30
Kovid Goyal
56b9f337f7
Wayland: Workaround Qt/Wayland bug that prevents popup layout button menu from showing
Sigh. Wayland really is the gift that keeps on giving. For some reason
we cant use QMenu for this so re-implement QMenu like behavior with a
custom widget. Hopefully this doesnt break anything else.

Fixes #2109755 [Layout button doesn't activate options](https://bugs.launchpad.net/calibre/+bug/2109755)
2025-05-01 08:28:24 +05:30
Kovid Goyal
bc449963f7
Fix #2109455 [smartdevice automatic disconnect has a few disconnect problems](https://bugs.launchpad.net/calibre/+bug/2109455) 2025-04-30 11:04:25 +05:30
Kovid Goyal
6f79154dbc
... 2025-04-30 08:02:23 +05:30
Kovid Goyal
d11ea450aa
Dont clobber chromium flags inherited from environment 2025-04-30 05:54:53 +05:30
Kovid Goyal
2b67b4a85a
Prevent recursion when creating base temp dir if something on system deletes the created temp dir
See #2109612 (crash on windows - RecursionError (8.3.0))
2025-04-30 05:52:24 +05:30
Guido Falsi
bee292579a Disable GPU when running headless
On FreeBSD this prevents a failure when building with Qt 6.9

Adding the env only if `isbsd`, but this could be needed for other OSes too.
2025-04-29 17:02:01 +02:00
Kovid Goyal
aafa372468
Update ebooks.com plugin for website changes.
Fixes #2109433 [affiliate link not working](https://bugs.launchpad.net/calibre/+bug/2109433)
2025-04-28 05:58:17 +05:30
Kovid Goyal
6155d07b1d
Leave out whitespace and control chars from summary field 2025-04-25 11:40:43 +05:30
Kovid Goyal
6e4a865a25
Nicer presentation of mount output 2025-04-22 08:26:47 +05:30
Charles Haley
750e34259a Slight cleanup of the cleanup 2025-04-20 16:56:53 +01:00
Kovid Goyal
804ec31459
Cleanup previous PR
Fixes #2107685 [Menu ≡ key in detached Book details gives erratic results](https://bugs.launchpad.net/calibre/+bug/2107685)
2025-04-20 21:09:42 +05:30
Charles Haley
0c9cc595f2 Bug #2107685: Menu ≡ key in detached Book details gives erratic results. 2025-04-20 16:00:23 +01:00
Kovid Goyal
c9110577f2
Exclude some more builtin fields from removal 2025-04-20 15:01:59 +05:30
Kovid Goyal
313367c5b7
Fix #2107683 [Remove Id, Modified, Size etc in Book Details gives error](https://bugs.launchpad.net/calibre/+bug/2107683) 2025-04-20 09:19:01 +05:30
Kovid Goyal
8206dd2966
Metadata review dialog: Fix merging of tags not working correctly 2025-04-20 09:05:07 +05:30
Kovid Goyal
9e3a2c8be7
Restrict by site since tbm doesnt work anymore 2025-04-19 05:50:16 +05:30
Kovid Goyal
377d51769b
Fix google web search
Use a specific user agent, otherwise google serves up JS based result
pages. Sigh. And google was supposed to be non-evil.

Also switch amazon default server to google since it currently works better
than bing.
2025-04-19 05:34:02 +05:30
Kovid Goyal
b78ebe5fbc
DOCX Input: Add font-weight/style normal declarations, needed by Amazon's renderers 2025-04-18 21:23:03 +05:30
Kovid Goyal
528b90ed14
version 8.3.0 2025-04-18 07:30:43 +05:30
Kovid Goyal
88b73af727
Metadata review dialog: Add merge comments action 2025-04-18 07:28:55 +05:30
Kovid Goyal
3937e2bfea
Cover grid: Allow configuring different backgrounds for light and dark mode in Preferences->Look & feel->Cover grid 2025-04-16 09:13:06 +05:30
Kovid Goyal
04f7f6ca72
Fix a regression in 8.1 that broke displaying of the debug log when running in debug mode 2025-04-15 07:06:57 +05:30