Commit Graph

38542 Commits

Author SHA1 Message Date
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
Kovid Goyal 8c1a3e0467 Move the live css related client side code into its own module 2019-09-13 09:12:10 +05:30
Kovid Goyal 4eb75032db Start work on porting live css 2019-09-13 09:12:10 +05:30
Kovid Goyal 8aa52dbcba Do not restart render process on normal termination 2019-09-13 09:12:10 +05:30
Kovid Goyal 2bd6939fbd Only show dead renderer error once 2019-09-13 09:12:10 +05:30
Kovid Goyal 7c09812742 Only load the inspector on demand 2019-09-13 09:12:10 +05:30
Kovid Goyal c6d6716965 Try restarting the render process on crash
Also only load the link reports web view on demand
2019-09-13 09:12:10 +05:30
Kovid Goyal c9b2578b33 Fix preview not scrolling to anchor when clicking an internal link to another html file in the book 2019-09-13 09:12:10 +05:30
Kovid Goyal 92fe190f63 Drop use of Qt Web Channel
One less possible cause of lifetime related crashes/leaks.  Plus my
custom solution has a nicer interface. It's slower but since
communication between python and js is not a bottleneck...
2019-09-13 09:12:10 +05:30
Kovid Goyal 883717039e Go to anchor explicitly in the preview 2019-09-13 09:12:10 +05:30
Kovid Goyal 50ed25a6d9 Dont assume head exists 2019-09-13 09:12:10 +05:30
Kovid Goyal cae36d2cc1 Avoind double serialization of sourceline address 2019-09-13 09:12:10 +05:30
Kovid Goyal 37c277d684 Fix split button 2019-09-13 09:12:09 +05:30
Kovid Goyal 67f3422438 Port addition of css for split marker 2019-09-13 09:12:09 +05:30
Kovid Goyal 38836de4e1 Make a webengine utils module 2019-09-13 09:12:09 +05:30
Kovid Goyal 561edbe1ea Two-way syncing work again 2019-09-13 09:12:09 +05:30
Kovid Goyal 5e55554454 Restore inspector functionality for the preview pane 2019-09-13 09:12:09 +05:30
Kovid Goyal 00a9d0f275 Migrate editor coffee script to rapydscript 2019-09-13 09:12:09 +05:30
Kovid Goyal 943f07b1fd ... 2019-09-13 09:12:09 +05:30
Kovid Goyal c5366521eb Context menu works 2019-09-13 09:12:09 +05:30
Kovid Goyal fe25b8d8f6 Search functionality works 2019-09-13 09:12:09 +05:30
Kovid Goyal 84a884e49e Loading documents in preview panel works 2019-09-13 09:12:09 +05:30
Kovid Goyal 8877445c78 work on porting editor preview to web engine 2019-09-13 09:12:09 +05:30
Kovid Goyal 40cc61397b Replace webkit with webengine in the reports tool 2019-09-13 09:12:09 +05:30
Kovid Goyal 290c74fd73 pep8 v3.48.0 2019-09-13 08:16:46 +05:30
Kovid Goyal 10bfd1406b version 3.48.0 2019-09-13 08:16:01 +05:30
Kovid Goyal 31a7a043d3 ... 2019-09-13 07:26:45 +05:30