39188 Commits

Author SHA1 Message Date
un-pogaz
62ae8892c7 queue import (regex 2)
from polyglot import queue
import queue
2025-11-18 15:39:52 +01:00
un-pogaz
6e03ff7ef4 queue import (regex 1)
from polyglot.queue import
from queue import
2025-11-18 15:39:52 +01:00
un-pogaz
f8ac5b77cd reprlib import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
359034be8b native_string_type (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
9df759ad36 native_string_type (pep8) 2025-11-18 15:39:52 +01:00
un-pogaz
3147274b38 native_string_type (regex)
native_string_type(
str(
2025-11-18 15:39:51 +01:00
un-pogaz
8258fcfb88 iterkeys (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
072d8f2fec unicode_type (regex)
unicode_type(
str(
2025-11-18 15:39:51 +01:00
un-pogaz
2a9ea4550f long_type (regex)
long_type(
int(
2025-11-18 15:39:51 +01:00
un-pogaz
219a0d99f3 string_or_unicode (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
e6e8d42e82 string_or_bytes (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
be25741c2b string_or_bytes (regex)
isinstance\(([\w\.]+), string_or_bytes\)
isinstance(\1, (str, bytes))

replace string_or_bytes used on simple variables/attributs in a isinstance()
2025-11-18 15:39:51 +01:00
un-pogaz
f6e012d297 codepoint_to_chr (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
47257e1262 codepoint_to_chr (regex)
codepoint_to_chr(
chr(
2025-11-18 15:39:51 +01:00
un-pogaz
94a51a1acc itervalues (regex 2)
from itervalues\(([\w\.]+)\)
from \1.values()
2025-11-18 15:39:51 +01:00
un-pogaz
208b0e7585 iteritems (regex 2)
from iteritems\(([\w\.]+)\)
from \1.items()
2025-11-18 15:39:51 +01:00
un-pogaz
b7351b39cf itervalues (regex 1)
in itervalues\(([\w\.]+)\)
in \1.values()

replace itervalues() used on simple variables/attributs in a for loop
2025-11-18 15:39:51 +01:00
un-pogaz
bb9272f300 iteritems (regex 1)
in iteritems\(([\w\.]+)\)
in \1.items()

replace iteritems() used on simple variables/attributs in a for loop
2025-11-18 15:39:50 +01:00
Kovid Goyal
438e2eca72
calibredb list: Fix identifier values not being shown. Fixes #2131557 [calibredb list --fields identifiers](https://bugs.launchpad.net/calibre/+bug/2131557) 2025-11-16 13:22:34 +05:30
un-pogaz
e7b6af505d fix: fix_malformed_formats() in check-library 2025-11-13 20:49:02 +01:00
Kovid Goyal
e8eb4f5f42
... 2025-11-12 08:56:21 +05:30
Kovid Goyal
a792e3833c
Remove guards against people running from source without updated binaries 2025-11-12 08:32:39 +05:30
Kovid Goyal
b64e5d4f6e
pep8 2025-11-09 06:22:44 +05:30
Kovid Goyal
6b333ffe80
Move the VL shortcuts into the Virtual library group 2025-11-07 12:35:02 +05:30
Kovid Goyal
c7e8d11a30
version 8.14.0 2025-11-07 09:08:36 +05:30
Kovid Goyal
0f449a18e7
When doing a contains search for completion items sort the results with the items that startwith the query being higher ranked 2025-11-06 22:56:05 +05:30
Kovid Goyal
9f1d6619a7
Always use substring search in the Languages completer
See #2130804 (Unable to set Greek as the language of a new book)
2025-11-06 22:44:34 +05:30
Kovid Goyal
29ae85d118
A new shortcut Ctrl+Alt+Shift+P to switch to the previously applied Virtual library. Fixes #2127819 [[Enhancement] Add keyboard shortcut for most recent VL](https://bugs.launchpad.net/calibre/+bug/2127819) 2025-11-06 10:38:09 +05:30
Kovid Goyal
605f2b09b7
Fix #2127803 [Report Calibre ID of Target Book in Merge Metadata](https://bugs.launchpad.net/calibre/+bug/2127803) 2025-11-06 09:47:34 +05:30
Kovid Goyal
6f94bce214
... 2025-11-06 09:36:53 +05:30
Kovid Goyal
c2a783c875
FB2 Input: Ensure binary attachments are extracted in the same directory as the rest of the FB2 contents. Fixes #2130764 [Private bug](https://bugs.launchpad.net/calibre/+bug/2130764) 2025-11-06 09:14:34 +05:30
Kovid Goyal
5819c3fd05
E-book viewer: Ignore soft hyphens when looking up words. Fixes #2130603 [[Enhancement] Remove soft hyphens when looking up word in reader](https://bugs.launchpad.net/calibre/+bug/2130603) 2025-11-04 09:58:19 +05:30
Kovid Goyal
52114e755f
Catalog export: Fix export of languages in BibTeX format. Fixes #2130573 [bibtex export of catalog has field for languages rather than language](https://bugs.launchpad.net/calibre/+bug/2130573) 2025-11-04 09:45:29 +05:30
Martin Brodbeck
0840b053cb Bump supported dbversion in kobo/tolino driver
New tolino Shine 5 firmware 5.12.232736 still uses db version 201.
2025-10-28 09:54:23 +01:00
Kovid Goyal
968eac85b2
Fix #2129957 [Incorrect explanatory text in EPUB Output -> Shrink Images](https://bugs.launchpad.net/calibre/+bug/2129957) 2025-10-27 22:06:19 +05:30
T4rp
87f88a9304 fix(pdf reflow): check if fragments text is empty before indexing 2025-10-24 18:25:00 -04:00
Kovid Goyal
b7ba4084d1
Windows: Fix Open With not working with Microsoft Paint. Fixes #2128853 [Can't open cover image in Paint on Windows 11](https://bugs.launchpad.net/calibre/+bug/2128853)
Apparently Paint's registry entry doesnt include a %1 placeholder to
substitute filename. Sigh.
2025-10-21 10:55:53 +05:30
Kovid Goyal
ca1c006eff
version 8.13.0 2025-10-17 09:34:22 +05:30
Kovid Goyal
1e1273aa66
Bump module version for live loading 2025-10-15 06:53:06 +05:30
Ricardo Newbery
c14a6831a1 Add a non-affiliate 'open' method back into ebooks.com store plugin 2025-10-14 14:50:44 -04:00
un-pogaz
37123e9e47 clear BOM encoding 2025-10-12 08:59:05 +02:00
un-pogaz
bf04a318bb f-string number format (manual)
ruff 'FURB116'
2025-10-11 17:21:25 +02:00
un-pogaz
7bbdba14eb if expr min/max (manual)
ruff 'FURB136'
2025-10-11 17:21:25 +02:00
un-pogaz
f519b01231 if expr min/max (auto-fix)
ruff 'FURB136'
2025-10-11 17:21:25 +02:00
un-pogaz
f9d745f500 slice to remove prefix or suffix (auto-fix)
ruff 'FURB188'
2025-10-11 17:21:25 +02:00
un-pogaz
c557ead00a refurbishing code (manual)
ruff 'FURB'
2025-10-11 17:21:25 +02:00
un-pogaz
e428bb13ce refurbishing code (auto-fix)
ruff 'FURB'
2025-10-11 17:21:25 +02:00
Kovid Goyal
7ee39fb9a0
... 2025-10-11 08:59:40 +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