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
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
Kovid Goyal
521181280b
Try twice to delete cache entries on windows
...
Thanks to the idiotic mandatory file locking, we can never be sure that
some stupid windows service like an antivirus/filesync program has not locked
the cache files.
2019-09-13 09:12:11 +05:30
Kovid Goyal
59b9357c0c
Add tests for the new viewer cache
2019-09-13 09:12:11 +05:30
Kovid Goyal
67cce4e563
Caching system for conversion of books into useable form in the new viewer
2019-09-13 09:12:11 +05:30
Kovid Goyal
2c669bf853
More work on the new viewer
2019-09-13 09:12:11 +05:30
Kovid Goyal
200d38d2f5
Start work on new viewer implementation
2019-09-13 09:12:11 +05:30
Kovid Goyal
1216ed3200
Change fake protocol scheme to clbr
2019-09-13 09:12:11 +05:30
Kovid Goyal
0f0470a9ee
Live CSS: Fix properties from more distant ancestors overriding properties from nearer ancestors with the same specificity
2019-09-13 09:12:11 +05:30
Kovid Goyal
44fa281f86
...
2019-09-13 09:12:11 +05:30
Kovid Goyal
eebafd9454
More work on live css, basically works
2019-09-13 09:12:11 +05:30