Commit Graph

52057 Commits

Author SHA1 Message Date
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 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
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 74f23e0f50 pep8 2025-10-04 09:09:03 +05:30
Kovid Goyal bbf5c9722e Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-10-04 09:08:01 +05:30
unkn0w7n c7cbe5a230 Update WSJ
redirect to archive
2025-10-04 09:03:56 +05:30
unkn0w7n c7d258252d Update wsj_free.recipe 2025-10-04 08:59:03 +05:30
Kovid Goyal aa2208eb3f ... 2025-10-03 11:45:06 +05:30
Kovid Goyal 92b80412bf Abort publish early is HSM not available 2025-10-02 09:16:50 +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 v8.12.0 2025-10-01 19:44:10 +05:30
Kovid Goyal 77e7efaee5 ... 2025-10-01 19:38:58 +05:30