Commit Graph

45434 Commits

Author SHA1 Message Date
Kovid Goyal 57aed7e1aa Make calibre-debug useable in shebangs 2022-07-14 19:33:45 +05:30
Kovid Goyal 77bdfee72a Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-14 17:42:54 +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 fe865f5c99 ... 2022-07-14 13:07:45 +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
Kovid Goyal 24db1bccf4 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-13 19:04:51 +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
Kovid Goyal 3abac8e7bb Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-12 20:55:40 +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 a17f54814a remove not working recipe 2022-07-12 19:29:40 +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 b93af62abf ... 2022-07-12 16:31:23 +05:30
Kovid Goyal 954cb38135 Linux installer: Fix glibc version check also being done when installing older versions 2022-07-12 16:09:50 +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
Kovid Goyal fb5c47c17d Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1981357 [Cannot create catalog with 6.6.0](https://bugs.launchpad.net/calibre/+bug/1981357)
2022-07-12 06:20:46 +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 55b3cfaf12 Fix EXE manifest
Only Microsoft could come up with something so byzantine and prone to
silent failure
2022-07-11 13:13:27 +05:30
Kovid Goyal 424f0b8cc6 Indicate Catalina is required in Info.plist 2022-07-11 12:56:51 +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 b8c00070d8 Implement a proper check for Win10 in the MSI based on the build number from the registry 2022-07-11 12:00:19 +05:30
Kovid Goyal baf07dde67 Prevent the portable installer from running on windows older than w10 2022-07-11 11:22:32 +05:30
Kovid Goyal 58e8bf98cd Change the minimum version on windows to 10 in the installer
Qt 6 does not support windows 8. https://www.qt.io/blog/qt6-development-hosts-and-targets
2022-07-11 11:02:00 +05:30