39140 Commits

Author SHA1 Message Date
Kovid Goyal
508a0b1586
Cleanup previous PR 2025-10-11 08:57:07 +05:30
Kovid Goyal
1798fb5439
Merge branch 'ruff-pylint' of https://github.com/un-pogaz/calibre 2025-10-11 08:35:13 +05:30
Kovid Goyal
8820bffc86
Only change CMakeLists.txt for headless if actually building with Qt >= 6.10 2025-10-11 08:26:28 +05:30
Marcin Serwin
4c44e8f76f Fix building with Qt 6.10
Qt 6.10 no longer implicitly imports private modules, see https://doc.qt.io/qt-6/whatsnew610.html#build-system-changes.
2025-10-11 02:01:04 +02:00
un-pogaz
2c3edf5ad7 repeated equality comparison (extra-edit) 2025-10-10 08:24:40 +02:00
un-pogaz
0dc4e67529 repeated equality comparison (auto-fix)
ruff 'PLR1714' --unsafe-fixes
2025-10-10 08:24:40 +02:00
un-pogaz
f4e335bbe9 ... 2025-10-10 08:24:40 +02:00
un-pogaz
9ef0ef4a8b collapsible else if (auto-fix)
ruff 'PLR5501'
2025-10-10 08:24:40 +02:00
un-pogaz
6958965683 if min/max statement (extra-edit) 2025-10-10 08:24:40 +02:00
un-pogaz
21ec89406b if min/max statement (manual)
ruff 'PLR1730'
2025-10-10 08:24:40 +02:00
un-pogaz
69f1734e00 if min/max statement (auto-fix)
ruff 'PLR1730'
2025-10-10 08:24:40 +02:00
un-pogaz
74a5ca3321 unnecessary list index lookup (auto-fix)
ruff 'PLR1736'
2025-10-10 08:24:40 +02:00
un-pogaz
aecc99d7c1 unnecessary dict index lookup (auto-fix)
ruff 'PLR1733'
2025-10-10 08:24:40 +02:00
un-pogaz
4a78990cc7 boolean chained comparison (auto-fix)
ruff 'PLR1716'
2025-10-10 08:24:39 +02:00
un-pogaz
516e5b55dc useless return (auto-fix)
ruff 'PLR1711'
2025-10-10 08:24:39 +02:00
un-pogaz
a2e4515353 manual from import (auto-fix)
ruff 'PLR0402'
2025-10-10 08:24:39 +02:00
un-pogaz
3d5883a162 dict index missing items (manual)
ruff 'PLC0206'
2025-10-10 08:24:39 +02:00
un-pogaz
3ff7ed6255 Pylint convention (auto-fix)
ruff 'PLC'
2025-10-10 08:24:39 +02:00
un-pogaz
53c2f34a4c redeclared assigned name (manual)
ruff 'PLW0127'
2025-10-10 08:24:39 +02:00
un-pogaz
ab210188b0 redeclared-assigned-name (manual)
ruff 'PLW0128'
2025-10-10 08:24:39 +02:00
un-pogaz
ce05e4993e bad staticmethod argument (manual)
ruff 'PLW0211'
2025-10-10 08:24:39 +02:00
un-pogaz
2d80b11a20 Pylint warning (manual) 2025-10-10 08:24:39 +02:00
un-pogaz
de8921a6ac Pylint warning (auto-fix)
ruff 'PLW'
2025-10-10 08:24:39 +02:00
Kovid Goyal
5e68d7e739
Bump version for beta release 2025-10-10 07:17:06 +05:30
Pablo Fraile Alonso
0658a76ded
fix: add better timeout to fts wait 2025-10-07 14:15:51 +02:00
Kovid Goyal
db130e290f
calibre-server: Fix CALIBRE_OVERRIDE_DATABASE_PATH not working 2025-10-06 21:48:14 +05:30
Kovid Goyal
ce8ee3288b
Fix #2126881 [[enhancement] multi-line editing for the virtual library expression](https://bugs.launchpad.net/calibre/+bug/2126881) 2025-10-06 16:54:05 +05:30
Kovid Goyal
48a6c767ec
Nicer temp file names 2025-10-05 12:39:28 +05:30
Kovid Goyal
5a5ff4e86a
Export library: Dont use /tmp on Linux for exporting the FTS database as some boneheaded Linux distros mount /tmp in RAM which can be very small. Fixes #2126863 [Calibre Fails to Export Library](https://bugs.launchpad.net/calibre/+bug/2126863) 2025-10-05 12:26:14 +05:30
Kovid Goyal
ab621d8de0
Do not iterate over fts cursor when using calibredb CLI either 2025-10-05 11:37:44 +05:30
Kovid Goyal
364955ae55
Ensure we are interpolating an integer into the SQL query string 2025-10-05 11:32:05 +05:30
Kovid Goyal
64e23c26f9
Fix a regression in 8.11 that caused errors when trying to open a book from the full text search results while the search was still running. Fixes #2126611 [ThreadingViolationError when opening format while full-text searching ongoing](https://bugs.launchpad.net/calibre/+bug/2126611)
Caused by a change in apsw behavior in a new version. It now raises
threading violation errors when iterating over a cursor as well.

Fixed by getting the text context results one book at a time
from the matched book ids.
2025-10-05 11:28:22 +05:30
Kovid Goyal
503c730db0
... 2025-10-05 10:46:28 +05:30
Kovid Goyal
e6d3cf8623
Log times in locking debug 2025-10-05 10:35:39 +05:30
Kovid Goyal
41833147b5
Nicer thread ids 2025-10-05 10:21:40 +05:30
Kovid Goyal
980186de77
Cleanup previous PR
Raise A KeyError rather than an AttributeError for missing id
Also avoid unneccessarily incrementing the read lock when it is already
held.
2025-10-05 09:59:53 +05:30
Kovid Goyal
86945ccc46
Merge branch 'cache-get_book_path' of https://github.com/un-pogaz/calibre 2025-10-05 09:39:24 +05:30
Kovid Goyal
a1671c500c
... 2025-10-05 09:18:10 +05:30
Kovid Goyal
1716512fe3
Merge branch 'check-library-malformed-paths' of https://github.com/un-pogaz/calibre 2025-10-05 09:15:13 +05:30
Kovid Goyal
c961124e02
... 2025-10-05 07:44:29 +05:30
Kovid Goyal
dd73ab1b45
Proper fix for decoupling setdlldirectory on windows open with invocations
Use ShellExecuteEx via os.startfile. This makes explorer.exe or the
iwndows shell the parent process so it *should* prevent leakage of
any process global settings from calibre into the launched application
including SetDllDirectory
2025-10-05 07:35:26 +05:30
Kovid Goyal
b426c84686
Open With: Windows: Reset SetDllDirectory() before running the specified program
See https://www.mobileread.com/forums/showthread.php?t=370126 for
discussion
2025-10-04 10:18:42 +05:30
Kovid Goyal
aa2208eb3f
... 2025-10-03 11:45:06 +05:30
un-pogaz
c57b88beb6 Checks malformed formats 2025-10-01 20:29:43 +02:00
un-pogaz
d630e5ec62 Checks malformed book paths 2025-10-01 20:29:43 +02:00
un-pogaz
fdb73b976e ... 2025-10-01 20:29:43 +02:00
Kovid Goyal
02ae940b1c
fix incorrect option marking 2025-10-01 19:44:10 +05:30
Kovid Goyal
3314cbd93e
version 8.12.0
Apologies for the out of sequence release but my Windows code signing
key is expiring tomorrow and for various reasons the replacement is not
ready which means this is the last release I can make for a while, so...
2025-10-01 19:05:38 +05:30
Kovid Goyal
f15d244197
Merge branch 'tolino_5.11.230427' of https://github.com/beedaddy/calibre 2025-10-01 14:02:38 +05:30
Martin Brodbeck
9b49354ef5 *_COVER_FILE_ENDINGS: increased max_dbversion.
Necessary, because the previous value of 200 has been exceeded with fw 5.11.x
2025-10-01 10:24:00 +02:00