Kovid Goyal
ece5180a80
Add shortcuts to change font size
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
e91e414687
Work on preferences UI for keyboard shortcuts
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
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
95aa3a50c2
Implement opening of local ebook files
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
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
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
bd99a17186
Back to loading mathjax via blob urls
...
Fucking stupid Content Security Policy
2019-09-13 09:12:14 +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
d72b06b29b
Implement time left calculation for flow mode as well
2018-04-05 17:40:58 +05:30
Kovid Goyal
18b86edc5b
Browser viewer: Allow showing the time left in the current chapter/book in the header and footer areas of the book.
...
To use go to the preferences of the browser viewer and customize the
headers and footers to display the time left. Note that time left
in chapter only works correctly if chapters are in separate HTML files
in the book.
2018-04-05 09:40:11 +05:30
Kovid Goyal
575422bab2
Start work on time left display for browser viewer
2018-04-04 07:50:01 +05:30
Kovid Goyal
dbcd096fbc
Refactor iframe comm code out of the read_book module
2018-03-18 11:24:30 +05:30
Kovid Goyal
2e8692bfcb
Browser viewer: Allow long tapping a word to look it up in a dictionary or search the internet for it. Fixes #1738995 [[Browser Viewer] not possible to select text on Android]( https://bugs.launchpad.net/calibre/+bug/1738995 )
2018-02-21 17:16:07 +05:30
Kovid Goyal
c173072c6a
Finish up header/footer template implementation
...
Also fix highlighted toc nodes not including parent nodes
2018-01-04 09:09:14 +05:30
Kovid Goyal
f4272115bf
Browser viewer: Allow customizing what information is displayed in the header and footer areas. Access Preferences from the viewer controls to change.
2018-01-03 20:15:43 +05:30
Kovid Goyal
37966b0916
Content server: Allow viewing the book metadata while reading a book. In the viewer controls, tap Goto and then Metadata to see the metadata. Fixes #1736312 [Feature request: A way to view book details while reading in Browser Viewer]( https://bugs.launchpad.net/calibre/+bug/1736312 )
2017-12-13 19:57:05 +05:30
Kovid Goyal
f9a0bfc6e0
Infrastructure for user stylesheets in the browser viewer
2017-10-23 10:53:22 +05:30
Kovid Goyal
cfb5185dde
Browser viewer: Fix font size and color scheme settings not being respected in the footnote popup
2017-10-23 10:15:44 +05:30
Kovid Goyal
9ed99e752f
Wire up the footnote popup
2017-10-16 11:58:31 +05:30
Kovid Goyal
cad17a5785
Refactor iframe communications client side code into a separate class
2017-10-16 09:35:24 +05:30
Kovid Goyal
67f6cd6ce0
Refactor iframe control logic into its own class
...
Allows it to be re-used for the popup iframe
2017-10-15 17:07:17 +05:30
Kovid Goyal
1abf0f35f4
DRYer
2017-10-15 12:46:58 +05:30
Kovid Goyal
26f3761ea3
Browser viewer: Fix a regression that caused loading more than one book in the same session or using the back/forward browser buttons to require refreshing the browser.
2017-10-15 12:40:24 +05:30
Kovid Goyal
f4a6f0117d
Implement header bar for footnote popup
2017-10-15 11:27:40 +05:30
Kovid Goyal
c234d70647
Dont store a reference to the js source
2017-08-19 13:30:19 +05:30
Kovid Goyal
cf824e5670
Browser viewer: Fix controls help overlay not being displayed the first time the viewer is used
2017-08-14 09:36:31 +05:30
Kovid Goyal
dc4f4a581f
Browser viewer: Fix back/forward buttons not working correctly when clicking on links that lead to different internal files in the book. Fixes #1700004 [Content server: No way to return after footnote]( https://bugs.launchpad.net/calibre/+bug/1700004 )
2017-07-03 20:30:38 +05:30
Kovid Goyal
6c670b22a4
Add support for adding calibre to the homescreen on Android and iOS devices
2017-05-29 11:42:09 +05:30
Kovid Goyal
1cf008ab2a
Do not use the bottom margin hack on Chrome for iOS since it is not needed
2017-05-29 10:23:51 +05:30
Kovid Goyal
5e7c2fbde5
Get console print working from within the iframe as well
2017-05-28 11:38:34 +05:30
Kovid Goyal
5d1411a13d
Also scroll window to zero on content load
2017-05-27 20:18:43 +05:30
Kovid Goyal
752cec5d6b
Add a hacky workaround for the lack of fullscreen on the ipad
2017-05-27 20:09:20 +05:30
Kovid Goyal
00334e9f1b
Workaround for window.innerWidth/Height being wrong inside an iframe on Safari
2017-05-27 15:59:23 +05:30
Kovid Goyal
d09f7605f1
Fix font in embedded iframe different from rest of interface
2017-05-21 13:39:43 +05:30
Kovid Goyal
c7a92cff4d
...
2017-05-21 13:39:40 +05:30
Kovid Goyal
e76e13a642
DRYer
2017-05-21 13:39:40 +05:30
Kovid Goyal
617983437b
Fix bottom margin content visible even on title page
2017-05-21 13:39:40 +05:30