Commit Graph

38606 Commits

Author SHA1 Message Date
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
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