35205 Commits

Author SHA1 Message Date
Kovid Goyal
ba8f4fb7ae
Fix a regression in 6.0 that broke rendering of first page of EPUB as cover when the EPUB has no actual cover 2022-07-18 15:28:55 +05:30
Kovid Goyal
87a5d03546
random_common_chrome_user_agent is relatively new so delay import it so that people live loading on old calibre dont get errors 2022-07-18 10:40:57 +05:30
Kovid Goyal
77b51c627e
Merge branch 'master' of https://github.com/davidlin555/calibre 2022-07-18 10:25:52 +05:30
Kovid Goyal
c921459226
DRYer 2022-07-17 22:11:52 +05:30
Kovid Goyal
654d955036
... 2022-07-17 22:01:45 +05:30
Kovid Goyal
a9afd0a1c7
Place the note about leaving calibre running for scheduling in the schedule box 2022-07-17 22:00:34 +05:30
Kovid Goyal
8660e20976
Make test a bit more robust 2022-07-17 21:54:51 +05:30
Kovid Goyal
96656a1f2d
DRYer 2022-07-17 21:44:17 +05:30
Kovid Goyal
9c540f557a
Fix #1981882 [Wrongs icons on "No native filedialogs"](https://bugs.launchpad.net/calibre/+bug/1981882) 2022-07-17 21:40:45 +05:30
Kovid Goyal
ffeb7f5e3c
Content server: Fix a regression in 6.0 that caused incorrect rendering of comments metadata in the book details panel in dark mode. Fixes #1981886 [[Content Server] Back ground of Comments section is white on dark mode](https://bugs.launchpad.net/calibre/+bug/1981886) 2022-07-17 21:02:29 +05:30
Kovid Goyal
563c1089df
Allow re-indexing a book for FTS by right clicking the book details panel 2022-07-17 20:18:48 +05:30
Kovid Goyal
e0aceef1ee
Fix clear line edit icon when using system theme 2022-07-17 19:56:04 +05:30
Kovid Goyal
47bf2085f6
Allow using webengine after QApplication construction when using ensure_app as well 2022-07-17 14:58:42 +05:30
Kovid Goyal
6fd08f10af
Bing does not like Edge user agents 2022-07-17 14:58:19 +05:30
Kovid Goyal
148aa948db
Make the metadata download worker process explicitly cleanup webengine workers before exiting 2022-07-17 14:40:41 +05:30
Kovid Goyal
058212d47c
Dont import Qt at top level of scraper.simple 2022-07-17 13:44:25 +05:30
Kovid Goyal
c74144140d
Dont rely on global things in __del__ 2022-07-17 13:33:22 +05:30
Kovid Goyal
1eb3bd675a
Add some spaces so transifex is not confused 2022-07-17 13:30:21 +05:30
413Michele
6ad9772b79
Fixed typo: double space in function description 2022-07-17 09:25:49 +02:00
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
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
Jim Miller
acddfcfeb9 Pass variable args to back compat method exec_() 2022-07-16 18:20:32 -05:00
Charles Haley
c8646d8d32 Turned on the clear button in manage authors. 2022-07-16 15:30:00 +01:00
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
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 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
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
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
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