39233 Commits

Author SHA1 Message Date
Kovid Goyal
41d0da4267
Start work on general book related AI chat widget 2025-11-30 10:13:50 +05:30
Kovid Goyal
454f430371
Fix #2132182 [Metadata downloaded from Amazon has incorrect series number](https://bugs.launchpad.net/calibre/+bug/2132182) 2025-11-30 09:12:27 +05:30
Kovid Goyal
ca724cc144
More refactoring to make conversation widget re-useable 2025-11-29 12:28:25 +05:30
Kovid Goyal
6aeb3ddfcc
Make the AI conversation widget re-useable 2025-11-29 10:22:04 +05:30
Kovid Goyal
d97ba6acdb
Plugin update dialog: Make URLs in the plugin description clickable links 2025-11-29 10:10:17 +05:30
Kovid Goyal
b84921b09c
Have rmtree_with_retry only sleep for sharing violation errors 2025-11-28 17:16:57 +05:30
Kovid Goyal
a43ea7b8ca
Fix a regression in the previous release that caused the case change menu to not be present in the comments editor. 2025-11-23 08:28:42 +05:30
Kovid Goyal
7a6084485e
Remove unneeded code 2025-11-23 08:27:03 +05:30
Kovid Goyal
de523be168
... 2025-11-22 17:17:20 +05:30
Kovid Goyal
458fd49052
Return supported file extensions for empty path query 2025-11-22 16:56:04 +05:30
Kovid Goyal
b0a4707e72
... 2025-11-22 16:32:09 +05:30
Kovid Goyal
ef535f4e1d
Simple server to read metadata from files on UNIX 2025-11-22 13:59:56 +05:30
Kovid Goyal
153945a202
... 2025-11-22 10:20:41 +05:30
Kovid Goyal
9b81dd7090
Fix #2132137 ['NoneType' object has no attribute 'underlying_book_id'](https://bugs.launchpad.net/calibre/+bug/2132137) 2025-11-22 08:49:58 +05:30
Kovid Goyal
5c17572d5b
version 8.15.0 2025-11-21 10:18:43 +05:30
Kovid Goyal
b0a4c9cff8
Edit book: Fix a memory leak in the HTML syntax highlighter. Fixes #2130880 [Private bug](https://bugs.launchpad.net/calibre/+bug/2130880) 2025-11-20 15:36:07 +05:30
Kovid Goyal
aa1d792a44
DRYer 2025-11-20 15:07:29 +05:30
Kovid Goyal
22f3cec440
Editing book list: Be robust against the book list changing in the background when a book is auto added or similar while a cell is being added. Fixes #2131622 [Miss edit when rows ordre change during editing of a cell](https://bugs.launchpad.net/calibre/+bug/2131622) 2025-11-20 13:57:07 +05:30
Kovid Goyal
2f78ad94f8
Fix #2131629 [In the "Get books" advanced search filters, the "Price" field is ambiguous and lacks clarifying information, confusing users](https://bugs.launchpad.net/calibre/+bug/2131629) 2025-11-20 12:37:09 +05:30
Kovid Goyal
0146da93f5
E-book viewer: Highlights panel: Show the date for highlights in the tooltip when hovering over a highlight. Fixes #2131619 [Viewer - annotations timestamps](https://bugs.launchpad.net/calibre/+bug/2131619) 2025-11-20 12:07:03 +05:30
Kovid Goyal
57164bd6a2
Comments editor: When changing case preserve as much text formatting as feasible 2025-11-20 11:42:16 +05:30
Kovid Goyal
fcece2ad6a
Comments editor: Add shortcuts for case change operations. Select some text, right click and see the case change menu for the shortcuts. Fixes #2131158 [[Enhancement] Change case shortcuts in the metadata editor](https://bugs.launchpad.net/calibre/+bug/2131158) 2025-11-20 10:01:42 +05:30
Kovid Goyal
fca34b8da3
Replace use of deprecated std::wstring_convert 2025-11-19 11:11:46 +05:30
Kovid Goyal
2a10f39e68
Use std::to_chars for formatting float numbers as well
this gives us a larger representation in many cases since it tries to
represent floats to max precision, but that tradeoff is worth it for
dropping 2000 lines of C code.
2025-11-19 10:56:27 +05:30
Kovid Goyal
be304b6f99
Use std::to_chars instead of stb for uint->hex 2025-11-19 10:39:38 +05:30
un-pogaz
367e051b4c iteritems (manual 3) 2025-11-18 16:14:51 +01:00
un-pogaz
ce13dfbb43 iteritems (manual 2) 2025-11-18 16:14:51 +01:00
un-pogaz
0d37a96eaa iteritems (manual 1) 2025-11-18 16:14:51 +01:00
un-pogaz
25c0040177 itervalues (manual) 2025-11-18 16:14:51 +01:00
un-pogaz
38771f3b80 iteritems (regex 5)
in iteritems\(([\w\.]+\[[\w\.]*\])\)
in \1.items()

replace iteritems() used on simple subscriptable in a for loop
2025-11-18 16:14:51 +01:00
un-pogaz
99cc1b52c8 itervalues (regex 4)
in itervalues\(([\w\.]+\([\w\.]*\))\)
in \1.values()

replace itervalues() used on simple function/methods in a for loop
2025-11-18 16:14:51 +01:00
un-pogaz
46a127b233 iteritems (regex 4)
in iteritems\(([\w\.]+\([\w\.]*\))\)
in \1.items()

replace iteritems() used on simple function/methods in a for loop
2025-11-18 16:14:51 +01:00
un-pogaz
8ed12a2e78 itervalues (regex 3)
(set|frozenset|list|tuple|enumerate|sorted|max|min|sum)\(itervalues\(([\w\.]+)\)
\1(\2.values()

replace itervalues() used on simple variables/attributs in a know iterable
2025-11-18 16:14:51 +01:00
un-pogaz
4ecf018231 iteritems (regex 3)
(set|frozenset|list|tuple|enumerate|sorted)\(iteritems\(([\w\.]+)\)
\1(\2.items()

replace iteritems() used on simple variables/attributs in a know iterable
2025-11-18 16:14:51 +01:00
un-pogaz
588f9439fb urllib.parse import (manual) 2025-11-18 16:14:50 +01:00
un-pogaz
1903f69416 urllib.request import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
7762bd97df urllib.error import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
58ee94a2af http_client import (manual 2) 2025-11-18 15:39:52 +01:00
un-pogaz
9c6a346fee http_client import (manual 1) 2025-11-18 15:39:52 +01:00
un-pogaz
1fb4460520 http_cookie import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
a8f13e4b79 html_entities import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
f59ea8fb41 importlib.reload (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
0b926ea3cf polyglot lru_cache (regex)
from polyglot.functools import lru_cache
from functools import lru_cache
2025-11-18 15:39:52 +01:00
un-pogaz
93325d811a plistlib import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
d94d381f1b builtins import (manual) 2025-11-18 15:39:52 +01:00
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