46138 Commits

Author SHA1 Message Date
Kovid Goyal
44551059d1
Workaround for webengine 6.3 showing spurious scrollbar in modal 2022-07-17 12:36:59 +05:30
Kovid Goyal
62207d5e85
Disable the color theme setting when using system style. Fixes #1981909 [Dark Mode always on when using System Default User Interface](https://bugs.launchpad.net/calibre/+bug/1981909) 2022-07-17 12:25:17 +05:30
Kovid Goyal
11b84f7c90
Merge branch 'master' of https://github.com/ConstrictM/calibre 2022-07-17 11:17:05 +05:30
ConstrictM
756a963264
Update Version 2022-07-17 01:19:29 -04:00
ConstrictM
dbae03e890
Replace Direct Xpath for Google Search 2022-07-17 01:18:59 -04:00
Kovid Goyal
29ab970bad
Remove unused code 2022-07-17 09:14:39 +05:30
Kovid Goyal
dd69957517
Binary builds: Fix Qt TLS backends not included. Fixes #1981887 [Include SSL dlls in Calibre 6?](https://bugs.launchpad.net/calibre/+bug/1981887) 2022-07-17 08:55:39 +05:30
Kovid Goyal
a4d8095496
Merge branch 'master' of https://github.com/JimmXinu/calibre 2022-07-17 08:00:09 +05:30
Kovid Goyal
a2fdf24959
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-17 07:55:48 +05:30
Jim Miller
acddfcfeb9 Pass variable args to back compat method exec_() 2022-07-16 18:20:32 -05:00
Charles Haley
ab55120f90 Fix an amusing typo. :)
This is a second commit, removing the white space processing my editor did.
I thought I had made a PR but there is no record of it. Apologies if this is a duplicate.
2022-07-16 16:22:13 +01:00
Kovid Goyal
7ce022f5e1
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-07-16 20:02:55 +05:30
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