38736 Commits

Author SHA1 Message Date
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
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