Commit Graph

38611 Commits

Author SHA1 Message Date
Kovid Goyal 0470df53d5 Make the PoDoFo metadata setting code re-useable 2019-09-13 09:12:19 +05:30
Kovid Goyal b5b0891421 Start work on porting the PDF output plugin to use web engine 2019-09-13 09:12:19 +05:30
Kovid Goyal b7e57597a3 Implement context menu for comments editor 2019-09-13 09:12:19 +05:30
Kovid Goyal 8abe395507 Implement support for images and links 2019-09-13 09:12:19 +05:30
Kovid Goyal ba28b2e5f7 Make the block style actions checkable
Also use the same values for margins as used by Qt
2019-09-13 09:12:19 +05:30
Kovid Goyal 53caa824cf Implement foreground 2019-09-13 09:12:19 +05:30
Kovid Goyal 35e531a737 Implement the block alignment actions 2019-09-13 09:12:19 +05:30
Kovid Goyal 5ac8d64c55 Implement underline and strikethrough 2019-09-13 09:12:19 +05:30
Kovid Goyal fcb72c0075 Make the list actions toggles 2019-09-13 09:12:19 +05:30
Kovid Goyal 9c5aaade6f Implement bold and italic toggles 2019-09-13 09:12:19 +05:30
Kovid Goyal 93fc64184e DRYer 2019-09-13 09:12:19 +05:30
Kovid Goyal 04d58d6877 Implement insertion of <hr> 2019-09-13 09:12:19 +05:30
Kovid Goyal 77e2524174 Use <s> for strikethrough 2019-09-13 09:12:18 +05:30
Kovid Goyal 356f65cd5b Remove format should work even with no selection 2019-09-13 09:12:18 +05:30
Kovid Goyal a737b0e786 Use implicit styling for character styles where possible 2019-09-13 09:12:18 +05:30
Kovid Goyal dca67dae61 Cleanup markup produced by QTextEdit
Also use the same technique for headings as used by
Qt itself.
2019-09-13 09:12:18 +05:30
Kovid Goyal eee6720f99 Implement block formatting 2019-09-13 09:12:18 +05:30
Kovid Goyal 5cba1261f5 Implement text-indent 2019-09-13 09:12:18 +05:30
Kovid Goyal badb775611 Implement super/sub-script 2019-09-13 09:12:18 +05:30
Kovid Goyal ed843864a0 Implement list support 2019-09-13 09:12:18 +05:30
Kovid Goyal 943f5c00b1 Top row of comments editor implemented 2019-09-13 09:12:18 +05:30
Kovid Goyal 69ad2e2984 Get rid of remaining mainFrame references 2019-09-13 09:12:18 +05:30
Kovid Goyal 4ae788561b ... 2019-09-13 09:12:18 +05:30
Kovid Goyal f410ca5e78 Implement clear 2019-09-13 09:12:17 +05:30
Kovid Goyal 25eb65e156 Work on replacing webkit in the comments editor 2019-09-13 09:12:17 +05:30
Kovid Goyal 371e5f9813 ... 2019-09-13 09:12:17 +05:30
Kovid Goyal 9805f3a644 DRYer 2019-09-13 09:12:17 +05:30
Kovid Goyal 070ad5351e Remove old viewer and coffeescript and viewer resources
Since the PDF output code is also going to be replaced, none
of this is required.
2019-09-13 09:12:17 +05:30
Kovid Goyal 2224f8e7ae Ensure hang timer is stopped 2019-09-13 09:12:17 +05:30
Kovid Goyal ff8965d510 Make embedded compiler behave more like external one 2019-09-13 09:12:17 +05:30
Kovid Goyal 055c2a9f2f Ensure rendering of HTML does not hang 2019-09-13 09:12:17 +05:30
Kovid Goyal 4c365f7a31 Remove the rapydscript stdlib from resources
It is now bundled inside the compiler
2019-09-13 09:12:17 +05:30
Kovid Goyal d14acdaf67 py3: Port one more execfile() 2019-09-13 09:12:16 +05:30
Kovid Goyal 82083ddbb8 Drop the dependency on dukpy
The dukpy tests are failing on windows with VS 2017. Instead use Web
Engine to compile rapydscript code, when the rapydscript binary is not
present.
2019-09-13 09:12:16 +05:30
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