39892 Commits

Author SHA1 Message Date
Kovid Goyal
37d757f2d0
Wait for smart device connection thread to shutdown on exit 2026-02-17 16:08:41 +05:30
Kovid Goyal
7c800d4401
Wait for device manager thread to exit during shutdown 2026-02-17 15:50:28 +05:30
Kovid Goyal
14f49ea4cc
Explicitly close smartdevice during shutdown 2026-02-17 15:41:27 +05:30
Kovid Goyal
7121d29281
In debug mode output non-daemonic threads at exit 2026-02-17 15:33:53 +05:30
Kovid Goyal
79606f6a29
Ignore status bar update errors during shutdown 2026-02-17 15:16:26 +05:30
Kovid Goyal
8ee4408fe8
Nicer shutdown of MDNS server 2026-02-17 15:08:37 +05:30
Kovid Goyal
0fedba67a6
... 2026-02-17 09:47:34 +05:30
Kovid Goyal
7c5162bed7
remove unused code 2026-02-15 14:30:22 +05:30
Kovid Goyal
7150542c76
Ensure local db is properly closed when running any calibredb command 2026-02-14 13:46:54 +05:30
Kovid Goyal
ca82e1caba
Fix error in page counting when using calibredb add to add a book 2026-02-14 13:41:42 +05:30
Kovid Goyal
b241dfeb55
Also print when application event loop quits 2026-02-14 13:06:40 +05:30
Kovid Goyal
ac7c099add
Improve Preferences->Tweaks getting rid of the need for double apply
Also, show which tweaks have been modified with a modified emoji
2026-02-14 12:51:04 +05:30
Kovid Goyal
3d161110d2
string changes 2026-02-14 12:50:51 +05:30
Kovid Goyal
4a22dd0da1
Hanvon N10 device driver: Fix calibre unable to put its metadata files onto the device. Fixes #2141625 [calibre-9.1 fails to put metadata to Hanvon N10 pro 2](https://bugs.launchpad.net/calibre/+bug/2141625) 2026-02-14 10:29:55 +05:30
Kovid Goyal
e44e03679b
Completion: When sorting completion matches in contains mode ensure matches are sorted first by distance from beginning and then sub-sorted alphabetically. Fixes #2141170 [Tags field (or equivalent) does not display options sorted alphabetically](https://bugs.launchpad.net/calibre/+bug/2141170) 2026-02-14 10:03:08 +05:30
Kovid Goyal
a51b52b86a
Windows: Fix a regression in calibre 9 that caused tooltips to not follow the color scheme. Fixes #2141766 [Tooltips won't follow theme in calibre 9?](https://bugs.launchpad.net/calibre/+bug/2141766)
Workaround for yet another regression in Qt 6.10
2026-02-13 21:59:18 +05:30
Kovid Goyal
6fd2300a48
pep8 2026-02-13 21:57:17 +05:30
Kovid Goyal
eb43668e76
... 2026-02-13 16:02:52 +05:30
Kovid Goyal
833d3c96d8
Env var to disable python templates 2026-02-13 15:52:21 +05:30
Kovid Goyal
a20449431e
A new template function to calculate spine width
Used to implement width from custom pages columns. Gives an
easier to understand and documented template for users.
2026-02-13 15:31:15 +05:30
Kovid Goyal
0a556676bc
pep8 2026-02-13 13:30:09 +05:30
Kovid Goyal
38b7b4a9ab
Micro-optimisation
Avoid some unnecessary lambdas
2026-02-13 13:03:18 +05:30
Kovid Goyal
bb04635526
Make the new pages column value available in save to disk/send to device templates. Fixes #2141151 [New field pages unable to be used in templates](https://bugs.launchpad.net/calibre/+bug/2141151) 2026-02-13 12:32:53 +05:30
Kovid Goyal
22e7a93ece
KEPUB Output: When converting to KEPUB preserve cover aspect ratio regardless of the setting for it in the EPUB Output to match the behavior of KEPUB files from Kobo. Fixes #2141251 [KEPUB conversion - aspect ratio of title page is incorrect](https://bugs.launchpad.net/calibre/+bug/2141251) 2026-02-13 11:06:53 +05:30
Kovid Goyal
c5d12d8aa3
Also add a warning about importing calibre data from untrusted source to the import tool 2026-02-12 11:17:56 +05:30
Kovid Goyal
9657fcc464
... 2026-02-12 11:06:05 +05:30
Kovid Goyal
e58cb24532
PDF Input: Fix PDF Outline not being converted to Table of Contents in output document when using the calibre engine. Fixes #2141197 [E-book viewer: Table of Contents functionality doesn't work for PDF files](https://bugs.launchpad.net/calibre/+bug/2141197) 2026-02-12 11:04:33 +05:30
Kovid Goyal
b6da1c3878
PDB Input: Ensure extracted images are within the container 2026-02-12 10:31:53 +05:30
Kovid Goyal
e1b5f9b45a
ODT Input: Ensure images are extracted within container 2026-02-12 10:15:57 +05:30
Kovid Goyal
b8e39a777c
pep8 2026-02-12 09:26:18 +05:30
Kovid Goyal
58e0a519a9
Speculative fix for TTS bug since no reproducer was provided. Fixes #2141243 [Private bug](https://bugs.launchpad.net/calibre/+bug/2141243) 2026-02-12 07:40:57 +05:30
Kovid Goyal
7c8a62f5a3
Fix a regression in calibre 9.0 that caused a spurious large books merge warning when merging books in the cover grid view
Workaround for whatever underlying breakage there is in the Qt 6.10
selection model. We now robustly return the set of uniquely selected
rows in every view.
2026-02-11 09:50:36 +05:30
Kovid Goyal
62a9c3e374
... 2026-02-10 15:55:04 +05:30
un-pogaz
67783cb098 Editing book list: when editing the title, ensure to use the correct lang for title_sort 2026-02-10 11:01:41 +01:00
Kovid Goyal
d57dbdeeb1
Fix #2141303 [Amazon JP series number parsed incorrectly for 「◯番目の本」 format](https://bugs.launchpad.net/calibre/+bug/2141303) 2026-02-10 09:38:43 +05:30
Kovid Goyal
c3b73ce6b1
Windows: Fix harmless error popup if user tries to launch calibre multiple times in quick succession
Apparently Qt Local Server is very slow to start on windows for some
reason.
2026-02-08 06:29:33 +05:30
Kovid Goyal
b4d4ed8a5c
... 2026-02-07 08:48:47 +05:30
Kovid Goyal
6cb0e38c43
Micro-optimisation 2026-02-07 08:48:01 +05:30
Kovid Goyal
6cefe7e661
Use the python ast module to validate tweaks 2026-02-07 08:34:33 +05:30
Kovid Goyal
6474d01b38
string changes 2026-02-06 19:00:57 +05:30
Kovid Goyal
3f7fc2cf5b
A few more locations to disallow template based searches 2026-02-06 16:41:18 +05:30
Kovid Goyal
fdab1d476a
fix failing test 2026-02-06 16:33:58 +05:30
Kovid Goyal
52189d9075
pep8 2026-02-06 16:29:09 +05:30
Kovid Goyal
a86763c873
version 9.2.1 2026-02-06 16:27:36 +05:30
Kovid Goyal
ab7faebd18
Content server: Disable template based searches
Fixes #2140769 [Private bug](https://bugs.launchpad.net/calibre/+bug/2140769)
2026-02-06 16:24:33 +05:30
Kovid Goyal
18cddc583d
string changes 2026-02-06 10:18:56 +05:30
Kovid Goyal
2512f581db
version 9.2 2026-02-06 09:35:53 +05:30
Kovid Goyal
61cbc45e70
Use a fallback URL for calibre latest version check 2026-02-05 14:44:24 +05:30
Kovid Goyal
f0649b2751
ZIP Output: Change the template engine used for HTML templating from templite to Mustache, for greater safety and performance. Note that this is a breaking change if you use custom templates with ZIP output. 2026-02-05 14:21:25 +05:30
Kovid Goyal
6db93430a6
Bookshelf: Avoid rendering during initial show while the view is still being resized 2026-02-05 12:22:31 +05:30