Commit Graph

50954 Commits

Author SHA1 Message Date
Kovid Goyal 83602bbfab macOS: Put the application icons in a frame
Bloody waste of time. In a few years somebody at Apple will decide
they like triangular icons or 3D icons or God knows what and I will have
to waste a few more hours of my life on their idiocy.
2025-03-11 15:08:29 +05:30
Kovid Goyal df44a5843e DRYer 2025-03-11 11:41:57 +05:30
Kovid Goyal bec4b6d6aa string changes 2025-03-11 11:40:53 +05:30
Kovid Goyal aeb4e152f4 Always debug print the dbversion 2025-03-11 11:37:34 +05:30
Kovid Goyal 4c47f44c43 ... 2025-03-11 11:36:42 +05:30
Kovid Goyal 3bbbe6257b Also use lock when initializing db manager 2025-03-11 11:35:07 +05:30
Kovid Goyal 05bc7e966e Add a lock to allow plugins to sync access to the Kobo db 2025-03-11 11:32:57 +05:30
Kovid Goyal 7aa9d1d7fc Kobo driver: Handle WAL journal when copying db 2025-03-11 08:07:11 +05:30
Kovid Goyal 4915282ba1 Cleanup previous PR
1) Use the passed in db object
2) Delete the temp dir after generating the catalog
3) Use the correct source dir when copying
4) Move copying logic into backend
5) Hold the db read lock while copying
2025-03-09 19:49:55 +05:30
Kovid Goyal fe1aea2938 Merge branch 'master' of https://github.com/cbhaley/calibre 2025-03-09 19:17:52 +05:30
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