Commit Graph

45475 Commits

Author SHA1 Message Date
Charles Haley c8646d8d32 Turned on the clear button in manage authors. 2022-07-16 15:30:00 +01:00
Kovid Goyal 547f383634 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-16 19:52:51 +05:30
Charles Haley 86414a17e6 Fix leaving bits of the background selection sometimes visible when editing sort and link columns. This change makes the editor widget fill the underlying cell.
As an aside, shouldn't EnLineEdit do setClearButtonEnabled(True) to be like other widgets?
2022-07-16 14:49:50 +01:00
Kovid Goyal b6463f7cc5 Also add consent cookie when searching google directly 2022-07-16 17:58:50 +05:30
Kovid Goyal d6014bd11d Google images now requires a consent cookie in the EU 2022-07-16 17:57:30 +05:30
Kovid Goyal 5c3385476f Switch from cchardet to uchardet
cchardet is not maintained anymore: https://github.com/PyYoshi/cChardet/issues/77

cchardet is based on uchardet with the addition of reporting encoding
detection confidence. We dont really need that, so moving to uchardet is
simplest.

See #1690 (Low effort port to charset_normalizer)
2022-07-16 15:36:28 +05:30
Kovid Goyal 1e62ba9542 string changes 2022-07-16 13:48:43 +05:30
Kovid Goyal 68cd95a2c5 Consolidate setting of webengine storage paths in one place
Qt6 uses the persistentstoragepath to cache data even for off the record
profiles. So we need to set both that and the cache path. And do it for
the default profile, and every other profile we create. Sigh.
2022-07-16 12:19:07 +05:30
Kovid Goyal 31c4ee199c version 6.1.0 v6.1.0 2022-07-16 08:24:03 +05:30
Kovid Goyal d4cb45585f Yet another checkState() fix 2022-07-16 08:12:59 +05:30
Kovid Goyal 3f4c4b318a Another use of checkState() that needs to be changed 2022-07-16 08:07:10 +05:30
Kovid Goyal 63adfd3a2c Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-16 08:01:17 +05:30
Charles Haley c5f4ede904 Yet another enum change problem. Sigh.
See https://www.mobileread.com/forums/showthread.php?t=347919
2022-07-15 22:31:40 +01:00
Kovid Goyal a0e17d079d Update Accept header for UA 2022-07-15 22:37:29 +05:30
Kovid Goyal 5b61049860 Remove spurious python-requests entry from common user agents 2022-07-15 22:35:41 +05:30
Kovid Goyal 30e6bf5ff8 Google changed its search page markup again 2022-07-15 22:05:25 +05:30
Kovid Goyal d64362c939 Micro-optimization 2022-07-15 21:45:12 +05:30
Kovid Goyal 8f416fe715 Fix custom icon overrides not working for Qt builtin controls 2022-07-15 21:43:07 +05:30
Kovid Goyal 19265be1d9 Oops forgot to fallback to default icon for mimetypes that dont have a custom icon available 2022-07-15 21:12:23 +05:30
Kovid Goyal 6429a45a07 Allow FileIconProvider to load mimetypes icon from the config dir 2022-07-15 21:08:30 +05:30
Kovid Goyal 2a56eaa2c7 Add a note about how to create dark and light icons in a custom theme 2022-07-15 20:19:13 +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 8478773194 Fix typo libopengl1 -> libopengl0 2022-07-15 07:41:41 +05:30
Kovid Goyal d413327e81 Linux installer: Check for libEGL as the QtGui module in Qt 6 links against it and many Linux servers dont have it installed 2022-07-14 23:57:15 +05:30
Kovid Goyal 4cc4dab234 Update The Economic Times India 2022-07-14 23:06:47 +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 c1a2fddc29 another quantcast update 2022-07-14 20:20:13 +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
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