Commit Graph

50944 Commits

Author SHA1 Message Date
Charles Haley 9abe30893e Make the db tests happy 2025-03-09 13:35:10 +00:00
Charles Haley 66d60438b9 This PR implements what we were talking about by email -- creating a folder containing metadata.db and .calnotes while in the GUI then passing that via the subprocess to the backend. 2025-03-09 13:17:46 +00:00
Kovid Goyal 2ec4e0b51c Bump preview release version
Since the USBMS drivers were broken in Windows in the previous preview
release, so another.
2025-03-09 10:41:16 +05:30
Kovid Goyal 802c2f07b4 Fix #2101135 [[Enhancement] Toolbar boxes of Look & feel have unnecessary empty space](https://bugs.launchpad.net/calibre/+bug/2101135) 2025-03-09 10:28:20 +05:30
Kovid Goyal fb54c30696 ... 2025-03-09 10:22:19 +05:30
Kovid Goyal 18bc6081a9 Actually get kobo db IOError workaround working
Tested on my Linux system by injecting a fake IOError
2025-03-09 10:19:17 +05:30
Kovid Goyal eda6dcb7e3 Fix #2101434 [KeyError: 11895 : when trying to open AUTHORS](https://bugs.launchpad.net/calibre/+bug/2101434) 2025-03-09 09:06:43 +05:30
Kovid Goyal ff9bcc93bf ... 2025-03-08 20:45:13 +05:30
Kovid Goyal 687e905670 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-03-08 20:42:27 +05:30
Charles Haley 3aa8be6449 When renaming items, serialize item names before writing to the db. This ensures author "B, A" is written as "B| A", 2025-03-08 12:25:58 +00:00
Kovid Goyal b9085f3f9c Move copy_db into a standalone function 2025-03-08 14:19:31 +05:30
Kovid Goyal e6f0c0f6e3 ... 2025-03-08 14:16:14 +05:30
Kovid Goyal 9bc711bd04 ... 2025-03-08 14:14:09 +05:30
Kovid Goyal 48f8bf55d8 Kobo driver: Use sqlite savepoints for greater robustness
Also, if sqlite reports an IOError when reading from the database, copy
the db file into /tmp and operate on it there. Should allow for working
with the device when its FS is mounted using a filesystem sqlite doesnt
support.
2025-03-08 13:27:58 +05:30
Kovid Goyal 54a02123b5 Add an icon for KFX and KFX-ZIP files 2025-03-08 13:02:36 +05:30
Kovid Goyal ece7ad15b8 Merge branch 'clean-unused-variable' of https://github.com/un-pogaz/calibre 2025-03-08 07:40:37 +05:30
un-pogaz 66c782d033 clean unused variable
ruff 0.9.10 fix the issue with the unused unpacked variable
2025-03-07 22:39:47 +01:00
Kovid Goyal 5a49983fe8 Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-03-07 14:25:55 +05:30
Kovid Goyal 5d06605bc9 Fix error when using USBDevice without a serial attribute 2025-03-07 14:16:40 +05:30
unkn0w7n aa70a8ed61 Update barrons.recipe 2025-03-07 09:51:07 +05:30
Kovid Goyal 31fa5e65d6 Bump version for preview release 2025-03-07 07:56:42 +05:30
Kovid Goyal d2cd60f9e6 Ensure connect to folder in USBMS ends with a trailing separator
Some third party plugins apparently do string concatenation on paths
instead of using os.path.join
2025-03-07 07:53:32 +05:30
Kovid Goyal f7aeb7b490 ... 2025-03-06 22:19:04 +05:30
Kovid Goyal 5cf5cf04de Connect to folder: Allow connecting to the specified folder as a specific device. Works if the folder contains the contents of the device filesystem, such as when the device is mounted at that folder. 2025-03-06 14:14:58 +05:30
Kovid Goyal ae94ec0bc9 DRYer 2025-03-06 09:14:03 +05:30
Kovid Goyal ad707ad4af Add a test for FTS indexing of archives 2025-03-06 09:08:17 +05:30
Kovid Goyal 9bbff10bfc Full text search: Also index text in ZIP and RAR archives. These files are viewable in the viewer, so full text search should also index them, to avoid surprising behavior. Fixes #2100891 [[Enhancement] Full-text search for doc/docx/zip (containing htm/html)](https://bugs.launchpad.net/calibre/+bug/2100891) 2025-03-06 09:00:34 +05:30
Kovid Goyal 1fe527e351 Make plumber archive handling code re-useable 2025-03-06 08:47:58 +05:30
Kovid Goyal 0483d5f22f Merge branch 'tolino_5_6_209315' of https://github.com/beedaddy/calibre 2025-03-06 08:10:49 +05:30
Martin Brodbeck 697a061da3 Adapted to new ImageID names
For a pointless reason, Tolinos with firmware 5.6.209315 (dbversion 191) create a different BookID (ImageID).
2025-03-05 19:52:33 +01:00
Martin Brodbeck 48f9ff3def Bump supported dbversion in kobo/tolino driver
New tolino Shine 5 firmware 5.6.209315 uses db version 191. No significant db changes noticed.
2025-03-05 15:49:48 +01:00
Kovid Goyal 7b79dd2b3d Implement filtering of device list 2025-03-05 17:02:56 +05:30
Kovid Goyal 9684457744 More work on the connect to folder dialog 2025-03-05 15:47:07 +05:30
Kovid Goyal c4de6b9bd9 Fix #2099678 [Clicking on an article in a newsletter scrolls the Table of Contents to the end](https://bugs.launchpad.net/calibre/+bug/2099678) 2025-03-05 08:26:24 +05:30
Kovid Goyal 0d92c9f7dd Extra Qt DLLs needed for Qt 6.8 2025-03-04 07:58:40 +05:30
Kovid Goyal e1383f51af Dont import lxml at top level of module 2025-03-04 07:43:04 +05:30
Kovid Goyal 8d97c1021b Update onnxruntime to get it to build with Xcode 15.4 2025-03-04 06:50:24 +05:30
Kovid Goyal 7862560ef0 Update bundled Qt to 6.8.2
In preparation for calibre 8
2025-03-04 04:59:23 +05:30
Kovid Goyal ab87aac5f6 Fix dark/light variants not being used when generating cover for icon theme 2025-03-01 12:39:38 +05:30
Kovid Goyal 357555689f Fix parsing of NYTimes Todays paper
JSON format of legacy collection changed.
2025-03-01 12:15:45 +05:30
Kovid Goyal 40d9236470 ... 2025-03-01 10:09:44 +05:30
Kovid Goyal 3828068b84 ... 2025-02-28 22:33:30 +05:30
Kovid Goyal 6c1a08ee11 kepubify template result: allow 0 and no as synonyms for false 2025-02-28 22:29:35 +05:30
Kovid Goyal 26f5dd45b2 Fix kepubify template result not being used 2025-02-28 22:27:26 +05:30
Kovid Goyal 7f4487d318 Make sorting robust against tweak_fmt_order 2025-02-28 16:06:42 +05:30
Kovid Goyal ed866257df Dont kepubify when sending to Tolino devices 2025-02-28 16:04:45 +05:30
Kovid Goyal dab4137d53 ... 2025-02-28 11:59:01 +05:30
Kovid Goyal da5af9d8ee Fix edit book action failing for kepub 2025-02-28 11:46:44 +05:30
Kovid Goyal 599b202c99 Use common tooltip for ignore collections label 2025-02-28 11:04:45 +05:30
Kovid Goyal 684a57ccb3 If we detect the KoboTouchExtended plugin and the builtin KoboTouch plugin is disabled re-enable the builtin plugin
This is so the Kobo device keeps working even for people that have
disabled the builtin plugin.
2025-02-28 10:28:25 +05:30