354 Commits

Author SHA1 Message Date
Kovid Goyal
ece5180a80
Add shortcuts to change font size 2019-09-13 09:12:32 +05:30
Kovid Goyal
3d4dae9d08
Fix find not working backwards across loads 2019-09-13 09:12:32 +05:30
Kovid Goyal
5e05b450a3
Implement search shortcuts 2019-09-13 09:12:32 +05:30
Kovid Goyal
566855ed55
Shortcuts for UI panels 2019-09-13 09:12:32 +05:30
Kovid Goyal
a4f1b54421
Back/forward keyboard shortcuts 2019-09-13 09:12:31 +05:30
Kovid Goyal
e1ce4976e6
Update keyboard shortcuts when changed 2019-09-13 09:12:31 +05:30
Kovid Goyal
c106d48163
UI for changing keyboard shortcuts is done 2019-09-13 09:12:31 +05:30
Kovid Goyal
e91e414687
Work on preferences UI for keyboard shortcuts 2019-09-13 09:12:31 +05:30
Kovid Goyal
2523d6605e
Get rid of legacy keycodes mapping 2019-09-13 09:12:31 +05:30
Kovid Goyal
82fcdf6272
Refactor keyboard handling in the viewer
No longer uses deprecated APIs
2019-09-13 09:12:31 +05:30
Kovid Goyal
3772cfbfba
Work on word lookup 2019-09-13 09:12:30 +05:30
Kovid Goyal
5503ad9d12
Make currently selected text available to the overlay 2019-09-13 09:12:30 +05:30
Kovid Goyal
b480086d00
Ensure iframe is focused after controls help is shown 2019-09-13 09:12:30 +05:30
Kovid Goyal
102be318d8
Ensure iframe has focus after overlay is closed
Also use the regular overlay mechanism for metadata and
location overlays
2019-09-13 09:12:30 +05:30
Kovid Goyal
782c088bb9
Properly remove all attributes when unserializing HTML from the existin
HTML, HEAD and BODY tags
2019-09-13 09:12:30 +05:30
Kovid Goyal
dc887b9780
Fix delete book invocation 2019-09-13 09:12:30 +05:30
Kovid Goyal
59b6c17ac2
Implement --open-at 2019-09-13 09:12:30 +05:30
Kovid Goyal
031b14fc78
Implement Go to location (with CFI) 2019-09-13 09:12:30 +05:30
Kovid Goyal
4476d63b27
Add an action to show the chrome dev tools in the viewer 2019-09-13 09:12:30 +05:30
Kovid Goyal
95aa3a50c2
Implement opening of local ebook files 2019-09-13 09:12:29 +05:30
Kovid Goyal
d9c1eb14d7
Implement preference to restore window geometry 2019-09-13 09:12:29 +05:30
Kovid Goyal
95dc6a06ad
UI for misc settings 2019-09-13 09:12:29 +05:30
Kovid Goyal
c14adff36e
Add a restore defaults button to font preferences 2019-09-13 09:12:29 +05:30
Kovid Goyal
7914ad4244
UI for viewer font settings 2019-09-13 09:12:29 +05:30
Kovid Goyal
eeca114876
Wire up the bookmarks panel fully 2019-09-13 09:12:29 +05:30
Kovid Goyal
13be0d6712
... 2019-09-13 09:12:29 +05:30
Kovid Goyal
332f1e7e63
Fix popup footnotes not working in viewer 2019-09-13 09:12:29 +05:30
Kovid Goyal
45fa8525ba
Implement toggling of bookmarks panel 2019-09-13 09:12:29 +05:30
Kovid Goyal
63cac76d80
Code to sort CFIs in JS 2019-09-13 09:12:28 +05:30
Kovid Goyal
0c7bcb0f8c
Implement full screen 2019-09-13 09:12:28 +05:30
Kovid Goyal
146b5dc6e3
Show the current ToC node in bold 2019-09-13 09:12:28 +05:30
Kovid Goyal
08081eaebb
Implement searching and clicking in the ToC 2019-09-13 09:12:28 +05:30
Kovid Goyal
02d8563efc
Work on adding an external dockable ToC panel 2019-09-13 09:12:28 +05:30
Kovid Goyal
98ecf220e6
Get changing font size and colors working 2019-09-13 09:12:28 +05:30
Kovid Goyal
9edb593773
Move forward_gesture() to ui_operations 2019-09-13 09:12:28 +05:30
Kovid Goyal
377b90ea0d
Implement reloading of book 2019-09-13 09:12:27 +05:30
Kovid Goyal
67fcb5345d
DRYer 2019-09-13 09:12:27 +05:30
Kovid Goyal
742f322f89
Implement save/restore of last read position 2019-09-13 09:12:27 +05:30
Kovid Goyal
2eefa97a1d
When displaying book, ensure the iframe has focus 2019-09-13 09:12:27 +05:30
Kovid Goyal
cd64459718
Fix errors reported in the console for listeners that use preventDefault() 2019-09-13 09:12:26 +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
783ff58129
Implement basic settings storage for new viewer 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
8029bef98b
Content server: Fix links to external resources in book details and the viewer not working 2019-04-17 09:45:48 +05:30
Kovid Goyal
bf60631ce0
Avoid the need to use a patched version of MathJax
See https://github.com/mathjax/MathJax/pull/1453
2018-12-17 15:38:14 +05:30
Kovid Goyal
39e41aac6b
Auto select custom when changing the custom link color 2018-08-06 18:27:34 +05:30
Kovid Goyal
d18cf87693
Content server: When defining a color scheme for the in browser viewer allow specifying the link color as well as the foreground and background. Fixes #1735904 [Feature request: link color in schemes](https://bugs.launchpad.net/calibre/+bug/1735904) 2018-08-06 17:05:17 +05:30
Kovid Goyal
079af7acf9
Fix error reporting when file get fails 2018-07-21 10:20:24 +05:30
Kovid Goyal
dc922e5a33
Port many images fix to browser viewer as well 2018-06-06 18:13:39 +05:30