Commit Graph

52072 Commits

Author SHA1 Message Date
Kovid Goyal 4353072fb5 pep8 2025-10-11 08:57:17 +05:30
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
Kovid Goyal 4446470084 Merge branch 'master' of https://github.com/h-holm/calibre 2025-10-11 08:05:25 +05:30
Kovid Goyal 2f9ac5b033 Merge branch 'master' of https://github.com/marcin-serwin/calibre 2025-10-11 07:53:22 +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
Henrik Holm 5d9b64ea6c Align recipe with structure of updated NZZ website 2025-10-11 01:50:58 +02:00
Kovid Goyal 46131413bf Bump python for CVE 2025-10-10 18:55:43 +05:30
un-pogaz 17327aa1b1 ... 2025-10-10 08:24:40 +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 935ef37059 sys.exit alias (manual)
ruff 'PLR1722'
2025-10-10 08:24:39 +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
un-pogaz 79ff8be26a Pylint error (manual)
ruff 'PLE'
2025-10-10 08:24:39 +02:00
Kovid Goyal 13422da467 Require HSM for publish previews/betas as well 2025-10-10 09:43:55 +05:30
Kovid Goyal 699c3e118c Add docs for handling selected text with << snippet
This is documented already for the previous snippet but some people
may not read that and then get confused.
2025-10-10 07:52:31 +05:30
Kovid Goyal a054cbb081 Ignore some ffmpeg CVEs in depscan 2025-10-10 07:37:08 +05:30
Kovid Goyal 5e68d7e739 Bump version for beta release 2025-10-10 07:17:06 +05:30
Kovid Goyal 79d910cb3b Merge branch 'fix-test_fts_search' of https://github.com/Pablito2020/calibre 2025-10-07 19:48:57 +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