38749 Commits

Author SHA1 Message Date
Kovid Goyal
07b5c98fd0
Edit metadata individually: Ensure Next/Previous buttons work even if something re-orders the books in the book list. They will now iterate over the books as they were at the time the dialog is created. Fixes #2115111 [While editing a filtered list, clicking "next" (Edit metadata) can cause several records to be missed](https://bugs.launchpad.net/calibre/+bug/2115111) 2025-06-22 13:57:35 +05:30
Kovid Goyal
38628e4c97
E-book viewer: Fix a regression in 8.4 that broke fading of the background image. Fixes #2115057 [image fade in styles does not work](https://bugs.launchpad.net/calibre/+bug/2115057) 2025-06-22 09:48:01 +05:30
Kovid Goyal
69faf8c936
Retry job folder rename on windows to workaround programs locking files. Sigh. 2025-06-21 08:25:21 +05:30
Kovid Goyal
fb4654bd91
Windows: Generate catalog: Workaround for systems where a broken antivirus or similar holds open files in the catalog library causing a permission denied error. Fixes #2115084 [Create Catalog fails](https://bugs.launchpad.net/calibre/+bug/2115084) 2025-06-21 08:09:27 +05:30
Kovid Goyal
2e8b8bac6d
Merge branch 'master' of https://github.com/j-howell/calibre 2025-06-21 07:20:05 +05:30
j-howell
f0fbcafce2 Fix handling of very long file names on import from Kindles using MTP 2025-06-20 15:16:47 -04:00
Charles Haley
e8d46b6094 Fix a problem with the validation formatter causing problems in the Kobo driver. 2025-06-20 17:25:43 +01:00
Kovid Goyal
28f550f6b2
version 8.5.0 2025-06-20 06:57:21 +05:30
Kovid Goyal
c3dc09d862
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-06-17 11:06:15 +05:30
Kovid Goyal
5b963844d2
string changes 2025-06-17 08:32:47 +05:30
Charles Haley
ca0f1187a9 Kobo: add an option to change the SeriesIndex_Text value using a template. The text value is what the Kobo displays for series_index. It sorts on the float value. 2025-06-16 12:02:57 +01:00
Martin Brodbeck
aac1bc3590 Bump supported dbversion in kobo/tolino driver
New tolino Shine 5 firmware 5.9.220067 uses db version 196. No significant db changes noticed.
2025-06-14 18:25:23 +02:00
Kovid Goyal
9fba8f7bae
Detect nytimes captcha pages 2025-06-14 20:42:23 +05:30
Kovid Goyal
ae83537ef8
pread64() -> pread()
We dont support 32 bit architectures anymore anyway, but define
_FILE_OFFSET_BITS to be safe, only in speedups.c to minimize an
side-effect risks.

Fixes #2769 (Define _FILE_OFFSET_BITS=64 and replace usage of pread64)
2025-06-07 07:55:59 +05:30
Kovid Goyal
37bb650871
Store cli args passed to qt 2025-06-05 06:58:48 +05:30
Kovid Goyal
237e54630a
... 2025-06-05 06:15:36 +05:30
Kovid Goyal
0bc7e0d4b9
... 2025-06-04 19:50:45 +05:30
Kovid Goyal
62738f4d81
Update 7zip wrapper code for removal of read method 2025-06-04 12:00:36 +05:30
Kovid Goyal
ddcc2c4bbd
Manage data files dialog: Add a button to cancel remaining books when managing multiple books. Fixes #2112424 ['Manage Data Files' on multiple books](https://bugs.launchpad.net/calibre/+bug/2112424) 2025-06-04 09:58:59 +05:30
Kovid Goyal
b78b98970a
... 2025-06-03 06:47:23 +05:30
Charles Haley
0efb3ca522 Some improvements to kobo configuration tooltips. 2025-06-02 15:40:54 +01:00
Kovid Goyal
26c10fd4d8
Cleanup previous PR 2025-05-30 17:12:07 +05:30
Charles Haley
4c31beff3e Add context menu action to copy the source code for the currently selected template to the editor. 2025-05-29 15:33:11 +01:00
Charles Haley
7f8da78fc8 Improve documentation for the formatter function swap_around_articles() 2025-05-25 11:15:32 +01:00
Kovid Goyal
bd16e3120b
Windows: Prevent Windows 11 from starting a conhost.exe process for ever calibre worker process
Apparently on modern windows we need DETACHED_PROCESS not
CREATE_NO_WINDOW. Sigh.

See #2111559 (Fetching news, wrong path for conhost.exe)
2025-05-24 13:18:59 +05:30
Kovid Goyal
cd93465871
DRYer 2025-05-24 13:12:43 +05:30
Kovid Goyal
eaf5fcfb59
Dont popup an error box for data lookup failures 2025-05-23 12:52:10 +05:30
Kovid Goyal
48ec47dc15
Merge branch 'master' of https://github.com/shouya/calibre 2025-05-23 09:10:38 +05:30
Kovid Goyal
6e42324515
Bump version for preview release 2025-05-23 08:28:38 +05:30
shouya
8fa9b5778e
preserve tfam group key when it exists 2025-05-23 11:06:49 +09:00
shouya
a3e19581f6
Improve highlight grouping with recurring chapter names 2025-05-23 10:08:24 +09:00
Kovid Goyal
053b937bc8
Light mode: Use the same style of scrollbar as in dark mode
Unifies the look and feel between light and dark modes and improves the contrast of the slider.
2025-05-21 19:26:01 +05:30
Kovid Goyal
c2a525ef97
Move scrollbar drawing code into its own function 2025-05-21 14:38:56 +05:30
Martin Brodbeck
12c7ea8a6a Bump supported dbversion in kobo/tolino driver
New tolino Shine 5 firmware 5.8.216841 uses db version 195. No significant db changes noticed.
2025-05-21 09:27:41 +02:00
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