38577 Commits

Author SHA1 Message Date
Kovid Goyal
a6576f0eff
LRF Output: Disable the table as image option
Implementing it using WebEngine is too painful and LRF is a useless
format anyway.
2019-09-13 09:12:16 +05:30
Kovid Goyal
6f86896da8
Dont use WebKit to render HTML for EPUB covers 2019-09-13 09:12:16 +05:30
Kovid Goyal
27798beaf6
Use a separate process for the ToC Editor from the main GUI
This is needed because the main GUI does not use web engine
2019-09-13 09:12:16 +05:30
Kovid Goyal
a304b67ce3
Remove WebKit from the ToC Editor 2019-09-13 09:12:16 +05:30
Kovid Goyal
e3fd6f9bff
Do not use WebKit to display book details
We are phasing out WebKit
2019-09-13 09:12:16 +05:30
Kovid Goyal
27c5324269
viewer2: Make serialization of book metadata more robust 2019-09-13 09:12:16 +05:30
Kovid Goyal
188c59b6e8
py3: webengine misc fixes 2019-09-13 09:12:16 +05:30
Kovid Goyal
1eaef1fe3a
py3: base64 port 2019-09-13 09:12:15 +05:30
Kovid Goyal
85fcea41fb
Finish porting of web store dialog to QtWebEngine 2019-09-13 09:12:15 +05:30
Kovid Goyal
c8e78749eb
Start work on migrating get books internal browser to web engine 2019-09-13 09:12:15 +05:30
Kovid Goyal
581c5d8988
Remove unneccessary reference to QWebView in .ui file 2019-09-13 09:12:15 +05:30
Kovid Goyal
47d2364a80
Explicitly use system proxy in QNetwork 2019-09-13 09:12:15 +05:30
Kovid Goyal
9c897eb926
Some more iteritems fixes 2019-09-13 09:12:15 +05:30
Kovid Goyal
08dfee0766
Register the clbr: fake network scheme with web engine 2019-09-13 09:12:15 +05:30
Kovid Goyal
289c42b87f
Make the current CFI available in python 2019-09-13 09:12:15 +05:30
Kovid Goyal
2c15434bab
DRYer 2019-09-13 09:12:15 +05:30
Kovid Goyal
1ccc979081
Use new mathjax location in viewer2 2019-09-13 09:12:15 +05:30
Kovid Goyal
2ccbe705b2
Rebuild coffeescript 2019-09-13 09:12:15 +05:30
Kovid Goyal
148c7ba868
Add a global TODO file 2019-09-13 09:12:14 +05:30
Kovid Goyal
f990929bef
Add code to handle unpatched MathJax 2019-09-13 09:12:14 +05:30
Kovid Goyal
e4e313f1d6
Proper fix for random crashes 2019-09-13 09:12:14 +05:30
Kovid Goyal
46c646e49d
Ensure the QWebEngineProfile has a parent 2019-09-13 09:12:14 +05:30
Kovid Goyal
a3ac8282d4
Fix loading of mathjax files 2019-09-13 09:12:14 +05:30
Kovid Goyal
bd99a17186
Back to loading mathjax via blob urls
Fucking stupid Content Security Policy
2019-09-13 09:12:14 +05:30
Kovid Goyal
8d27d68dff
Simplify loading of MathJax files 2019-09-13 09:12:14 +05:30
Kovid Goyal
c64349dc6b
... 2019-09-13 09:12:14 +05:30
Kovid Goyal
57a4f1c91d
Implement loading of mathjax files 2019-09-13 09:12:14 +05:30
Kovid Goyal
4a721d36a5
Load UI css at startup 2019-09-13 09:12:13 +05:30
Kovid Goyal
03f1a3eb48
Store a reference to the host widget 2019-09-13 09:12:13 +05:30
Kovid Goyal
4f87ea3ccc
Also serialize cover when rendering books for viewer 2019-09-13 09:12:13 +05:30
Kovid Goyal
56baf848fc
Make the Inspector dock widget work 2019-09-13 09:12:13 +05:30
Kovid Goyal
fa23f3d43f
Add a dock for the inspector 2019-09-13 09:12:13 +05:30
Kovid Goyal
c4295355a2
... 2019-09-13 09:12:13 +05:30
Kovid Goyal
8234dc5436
Load HTML resources for viewer 2019-09-13 09:12:13 +05:30
Kovid Goyal
f721d49e32
Loading resources now works 2019-09-13 09:12:13 +05:30
Kovid Goyal
a2fd1ca90f
... 2019-09-13 09:12:13 +05:30
Kovid Goyal
387b5b2ed5
Implement get_file() 2019-09-13 09:12:13 +05:30
Kovid Goyal
da04475ff1
Also load metadata when loading manifest 2019-09-13 09:12:13 +05:30
Kovid Goyal
d62024d1b1
Fix error reporting in the new viewer 2019-09-13 09:12:12 +05:30
Kovid Goyal
783ff58129
Implement basic settings storage for new viewer 2019-09-13 09:12:12 +05:30
Kovid Goyal
b862af3844
More work on the new viewer 2019-09-13 09:12:12 +05:30
Kovid Goyal
8b0cdbad13
Connect up the Qt bridge in the viewer 2019-09-13 09:12:12 +05:30
Kovid Goyal
25ef13c6ee
... 2019-09-13 09:12:12 +05:30
Kovid Goyal
b83a299bfd
Remove call to read_data() as it no longer exists 2019-09-13 09:12:12 +05:30
Kovid Goyal
9b3d5d486b
Work on reafactoring read_book module to make it useable in standalone viewer 2019-09-13 09:12:12 +05:30
Kovid Goyal
953734320b
... 2019-09-13 09:12:12 +05:30
Kovid Goyal
6e14daac89
Infrastructure for loading viewer js 2019-09-13 09:12:12 +05:30
Kovid Goyal
7b75c67e15
More work on the new viewer 2019-09-13 09:12:12 +05:30
Kovid Goyal
559adc51a2
Basic web view implementation for the new viewer 2019-09-13 09:12:11 +05:30
Kovid Goyal
f6edb4de07
Make cache expiring code a little more robust 2019-09-13 09:12:11 +05:30