35146 Commits

Author SHA1 Message Date
Kovid Goyal
57aed7e1aa
Make calibre-debug useable in shebangs 2022-07-14 19:33:45 +05:30
Charles Haley
58328a5beb Several interlocking changes:
1) Add a docstring syntax to the search query parser. """text""" uses text unchanged without escape processing.
2) Add tests for docstrings.
3) Update the search section of the manual.
4) Change the advanced search dialog to use docstrings for template searches.
5) Pass some books to the template dialog in advanced search to help with debugging template searches.
2022-07-14 12:32:46 +01:00
Kovid Goyal
115f6ef9b1
Show a warning when indexing/searching a library on an FAT drive 2022-07-14 15:43:28 +05:30
Kovid Goyal
ead225938a
Move qt conf env var setting earlier into startup
Maybe that will convince webengine to use it
2022-07-14 15:15:19 +05:30
Kovid Goyal
f46cb54a31
Dont use an env var to force QPA to use xcb 2022-07-14 14:31:58 +05:30
Kovid Goyal
8b91c0e015
Windows: Fix window titlebars not dark in dark mode
Sadly changing light/dark mode does not change the titlebars, I assume
this will be in Qt 6.4.
2022-07-14 14:28:50 +05:30
Kovid Goyal
41ade135aa
API to check if a filesystem is an FAT filesystem on windows 2022-07-14 13:50:23 +05:30
Kovid Goyal
1a0706d9d3
Force Qt to use the calibre cache dir
Works with patched Qt
2022-07-14 13:24:15 +05:30
Kovid Goyal
ee2b4374e3
Output the QPA platform in debug mode 2022-07-14 12:29:30 +05:30
Kovid Goyal
a6adb4c1e9
Try to always set the default webengine profile's cache path to the calibre cache directory 2022-07-14 12:09:24 +05:30
Kovid Goyal
0e044aa866
API to query filesystem type on windows 2022-07-14 08:54:15 +05:30
Kovid Goyal
9a866f197b
Remove unused code 2022-07-14 08:23:45 +05:30
Kovid Goyal
8e5666b306
Linux: Default to using XWayland instead of native Wayland as there are various bugs with Qt+Wayland . You can set the env var QT_QPA_PLATFORM=wayland to force calibre to use Wayland. 2022-07-14 08:22:07 +05:30
Kovid Goyal
59541e36a5
more pyqt6 enum goodness
The stateChanged signal delivers ints instead of Qt.CheckState. Fixes #1981627 [Heuristic-Page greyed out](https://bugs.launchpad.net/calibre/+bug/1981627)
2022-07-14 08:04:54 +05:30
Kovid Goyal
8a0df2820c
Restore behavior of not allowing override of application icon
It got lost in the change to QIcon.ic
2022-07-14 07:45:48 +05:30
Kovid Goyal
4f9251ac34
Add some context for what "Store" means 2022-07-13 22:19:49 +05:30
Charles Haley
61db8c12be Fix yet another Enum problem. 2022-07-13 14:30:38 +01:00
Kovid Goyal
ed10c21b76
News download: Do not add aborted/failed article titles to the comments metadata 2022-07-13 08:58:43 +05:30
Kovid Goyal
cbebaee824
Full text search: Add a button to re-index a book, useful if the book's contents have been changed outside calibre 2022-07-13 08:49:22 +05:30
Kovid Goyal
4305a799fb
Full text search: Fix books edit with the edit book tool not being automatically re-indexed 2022-07-13 08:26:22 +05:30
Kovid Goyal
bbcd3bce1a
Simplify sizing of book info text
It was previously sized to have a height no more than the cover label's
height. Instead just size it to be the same height. This fixes sub
optimal layout when there is less available width.
2022-07-13 08:19:25 +05:30
Kovid Goyal
cd91088c98
FTS API to re-index a book 2022-07-13 08:08:53 +05:30
Kovid Goyal
4656e79cba
HTML Input: switch to using a stack rather than recursion
Allows processing deeply nested input without running out of stack
space. This is especially an issue on windows 64bit where the stack is
quite small. Fixes #1981438 [Private bug](https://bugs.launchpad.net/calibre/+bug/1981438)
2022-07-12 22:29:33 +05:30
Kovid Goyal
390e47bb4d
... 2022-07-12 21:47:14 +05:30
Charles Haley
53417325af Changed from a context manager to a function 2022-07-12 16:16:36 +01:00
Charles Haley
d86c664e69 Fix the db formatter functions test 2022-07-12 16:03:05 +01:00
Charles Haley
f0677655f8 The formatter functions database code we have been discussing 2022-07-12 16:03:05 +01:00
Kovid Goyal
288a22d438
Ensure unhandled exceptions are displayed in the main thread 2022-07-12 20:17:10 +05:30
Kovid Goyal
b1326a0ad8
Fix get next series number failing for custom series columns with None series index values 2022-07-12 20:10:44 +05:30
Kovid Goyal
9c0923e110
Cleanup cell_changed handling 2022-07-12 20:03:03 +05:30
Kovid Goyal
cf3f5f131d
Fix #1981453 [Copy from Author to Author Sort Crashes in Manage Authors.](https://bugs.launchpad.net/calibre/+bug/1981453) 2022-07-12 19:57:10 +05:30
Kovid Goyal
194468d790
Dont allow recipes to override no_inline_navbars
This is an internal setting used by the conversion system, based on the
selected output profile.
2022-07-12 18:27:02 +05:30
Kovid Goyal
75bbecc534
Clear search histories in preferences should clear the fts dialog's search history as well 2022-07-12 14:46:06 +05:30
Kovid Goyal
6c79a163ba
ToC Editor: Fix a regression in 6.0 that broke styling/images in the preview panel
QtWebEngine doesnt load resources from the filesystem in Qt 6
2022-07-12 08:14:59 +05:30
Charles Haley
d2b2c29af0 Bug #1981357: Cannot create catalog with 6.0 2022-07-11 20:45:12 +01:00
Kovid Goyal
919f18aa57
Re-enable the indexing checkbox when user selects No in the warning popup 2022-07-11 15:50:12 +05:30
Kovid Goyal
8624b44a43
Fix a regression preventing using a non-integer value for the tweak to change book details font size. Fixes #1981188 [Portable 6.0.0: TypeError: QFont.setPixelSize()](https://bugs.launchpad.net/calibre/+bug/1981188) 2022-07-11 12:46:36 +05:30
Kovid Goyal
5888d37327
version 6.0.0 2022-07-11 07:56:42 +05:30
Kovid Goyal
381b9aa51c
fr_CA should be translated as French (Canadian) 2022-07-10 21:42:10 +05:30
Kovid Goyal
709f5343a0
Use the EPUB version specific mime type when embedding fonts 2022-07-10 20:13:14 +05:30
Kovid Goyal
23b7b7ee5f
Fix #1981135 [Calibre 5.99: X button in Template Functions kills Calibre.](https://bugs.launchpad.net/calibre/+bug/1981135) 2022-07-10 09:51:56 +05:30
Kovid Goyal
445066a381
Allow running the template preferences without a gui 2022-07-10 09:34:36 +05:30
Kovid Goyal
f54c3fba1e
string changes 2022-07-10 08:23:14 +05:30
Kovid Goyal
e4ebd72a69
pep8 2022-07-09 20:31:02 +05:30
Charles Haley
6a3dafd8a8 Improvements to the user defined template function preference editor:
- Support filtering to show only user defined functions or all functions
- Show the function type in the function name combo box
- Minor improvement in when the delete button is enabled or not
2022-07-09 15:39:45 +01:00
Charles Haley
07abc41994 Template language: fix returns inside for loops failing 2022-07-09 13:44:14 +01:00
Kovid Goyal
199967af6b
... 2022-07-07 13:00:16 +05:30
Kovid Goyal
e19c7ea10f
... 2022-07-07 11:11:09 +05:30
Kovid Goyal
3ad1eb0e46
string changes 2022-07-07 07:33:30 +05:30
Kovid Goyal
34ce7f735c
Make font-weight: 600 or 700 into font-weight: bold 2022-07-06 19:19:56 +05:30