Commit Graph

35163 Commits

Author SHA1 Message Date
Kovid Goyal 6429a45a07 Allow FileIconProvider to load mimetypes icon from the config dir 2022-07-15 21:08:30 +05:30
Kovid Goyal 0c7caac263 Fix failing test 2022-07-15 19:57:21 +05:30
Kovid Goyal 9cafd232d4 Update BigBookSearch 2022-07-15 19:52:53 +05:30
Kovid Goyal 2ad3c5176e Handle existing images when installing theme 2022-07-15 19:37:39 +05:30
Kovid Goyal 20ff8a1de6 Fix moving library not moving the full text search index 2022-07-15 19:33:21 +05:30
Kovid Goyal 2d0816daa0 pep8 2022-07-15 16:14:55 +05:30
Kovid Goyal 6b585c49fb Blacklist versions of the DeDRM plugin older than 10.0.3 on macOS as they cause crashes 2022-07-15 15:49:55 +05:30
Kovid Goyal 9cd8e43040 Return a null pixmap rather than failing 2022-07-14 23:04:13 +05:30
Kovid Goyal 06432e4eee Fix a regression that broke handling of mouse clicks on some Linux Wayland systems with a touchpad
Basically, in Qt 6 Wayland, Qt reports the device for mouse events
as finger when they come from a touchpad instead of a mouse. This caused
them to be swallowed by the gesture recognizer as being synthesized
mouse events.

Fixes #1981629 [Viewer TOC and search results  are not clickable](https://bugs.launchpad.net/calibre/+bug/1981629)
2022-07-14 22:38:24 +05:30
Kovid Goyal ee63c31685 ... 2022-07-14 22:11:50 +05:30
Kovid Goyal 2c4766a859 Fix a regression in the previous release that broke touch screen interaction 2022-07-14 22:01:55 +05:30
Kovid Goyal ea8e8cedb3 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-14 21:29:00 +05:30
Charles Haley dbc97f3b6b Fix for a stupid oversight in the docstring stuff. I left DOTALL off the replace. :(
Here is a fix and a test for the fix.
2022-07-14 16:57:24 +01:00
Kovid Goyal 24db64ff0b Handle cancel touch events 2022-07-14 20:57:58 +05:30
Kovid Goyal e98c1fdc8e Bump version of libmtp 2022-07-14 19:58:47 +05:30
Kovid Goyal 1f3c2b15ab ... 2022-07-14 19:44:34 +05:30
Kovid Goyal 1660f2377d Add option to not turn on debug mode 2022-07-14 19:41:58 +05:30
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