937 Commits

Author SHA1 Message Date
Kovid Goyal
abe30ca2fb
Editor Live CSS: Dont fail totally if the stylesheet uses namespaced selectors
Fixes #1846538 [Private bug](https://bugs.launchpad.net/calibre/+bug/1846538)
2019-10-04 05:14:26 +05:30
Kovid Goyal
3274ecfa83
Fix autoreload failure when appcache is not available 2019-10-01 10:07:21 +05:30
Kovid Goyal
b23b1adcf1
Browser viewer: Fix page turn not working on chrome for android at file boundaries
Apparently chrome has started returning fractional numbers for scroll
position
2019-10-01 10:03:48 +05:30
Kovid Goyal
d9d20f0310
Fix penultimate cfi being saved on exit 2019-09-30 15:34:19 +05:30
Kovid Goyal
0ce7e45327
Better fix for ctrl+letter 2019-09-30 09:38:43 +05:30
Kovid Goyal
c034aeca4a
Workaround for ctrl+f/t not working on windows 2019-09-30 09:22:46 +05:30
Kovid Goyal
06a9c77ace
Keyboard shortcuts for next/previous section 2019-09-30 08:44:39 +05:30
Kovid Goyal
e1e9b023af
... 2019-09-30 08:32:03 +05:30
Kovid Goyal
5a66e094e3
Allow using Esc key to close modal dialogs 2019-09-30 08:30:08 +05:30
Kovid Goyal
47ddd8165c
Pass focus back to iframe after closing modal dialogs 2019-09-30 08:23:25 +05:30
Kovid Goyal
9ee721093e
Focus iframe when closing search box 2019-09-30 08:09:12 +05:30
Kovid Goyal
d126f52d4c
Allow using arrow keys n book details page to move between next/previous books
Fixes #1845672 [Use arrow keys to browse on calibre-server](https://bugs.launchpad.net/calibre/+bug/1845672)
2019-09-28 09:13:57 +05:30
Kovid Goyal
0638361025
String changes 2019-09-28 08:29:22 +05:30
Kovid Goyal
77a0a77723
Fix needing to restart viewer for changes in the background image 2019-09-27 09:11:06 +05:30
Kovid Goyal
6db937bca6
Dont use simple-link for next buttons 2019-09-26 13:26:29 +05:30
Kovid Goyal
0641384bc7
Server: Use overlay buttons as next/prev on boo details page
See #1845417 ([Enhancement] Book details on calibre-server)
2019-09-26 11:55:30 +05:30
Kovid Goyal
ff162a2b8f
Fix #1845416 [Repetition in error message](https://bugs.launchpad.net/calibre/+bug/1845416) 2019-09-26 09:30:32 +05:30
Kovid Goyal
d83698bdd2
Viewer: Allow using ctrl+wheel to change font size 2019-09-26 06:36:51 +05:30
Kovid Goyal
317a2b9a14
Viewer: Allow fading the background image by blending it with the background color 2019-09-25 11:25:40 +05:30
Kovid Goyal
7d6d5b71c6
Use a URL for the web viewer background image setting 2019-09-25 10:34:40 +05:30
Kovid Goyal
3b1753f134
Code to control background attachment 2019-09-25 10:09:38 +05:30
Kovid Goyal
92ffeebb4a
Work on viewer setting for background image 2019-09-24 20:21:25 +05:30
Kovid Goyal
62d38e6706
Use a single class for blue links 2019-09-24 18:16:18 +05:30
Kovid Goyal
15cb1aaccc
Fix examples link not working in user stylesheets prefs 2019-09-24 17:52:32 +05:30
Kovid Goyal
d35e5c78ed
Set background color on ifrae rather than iframe contents 2019-09-24 17:05:27 +05:30
Kovid Goyal
db486c684f
Viewer: Show full path to book in the metadata display
Fixes #1843312 [ENHANCEMENT: ePub Reader metadata should show filepath for current open ePub book](https://bugs.launchpad.net/calibre/+bug/1843312)
2019-09-20 11:19:05 +05:30
Kovid Goyal
7661bb00d1
Viewer: Add option under Page layout to control if the aspect ratio of the cover is preserved or not 2019-09-19 21:51:54 +05:30
Kovid Goyal
c2e1e00f09
Set UI font size for viewer in pixels
Seems to match the actual font size in the main UI better on Linux with
both hidpi on and off.
2019-09-19 11:22:19 +05:30
Kovid Goyal
997595dfd4
Viewer: Add option to hide mouse-over tooltips 2019-09-17 19:47:00 +05:30
Kovid Goyal
4d7045d92d
Also have right clicking hide the controls help 2019-09-17 19:22:23 +05:30
Kovid Goyal
0c5c492333
On macOS have to control-click since there is no right mouse button 2019-09-17 19:20:31 +05:30
Kovid Goyal
370ed05c57
Fix series index always 1 in header/footer in the viewer 2019-09-16 21:05:33 +05:30
Kovid Goyal
9448bf3537
Since we can set the user agent font size in the standalone viewer, use that instead of overriding the font size of <html> 2019-09-16 11:13:45 +05:30
Kovid Goyal
15a512f3c8
Typo 2019-09-16 11:09:17 +05:30
Kovid Goyal
2ca39a8066
Fix images longer than a page being rendered on multiple pages instead of being rescaled
Apparently in newer blink engines bounding rect height is set to viewport
height for images even if they stretch over multiple columns.
2019-09-16 11:07:01 +05:30
Kovid Goyal
599d3dbddc
Only add element for user stylesheet if needed and add it to html rather
than body
2019-09-16 10:05:42 +05:30
Kovid Goyal
ad384c7fd8
Only set the users font size on <html> not <body>
There are apparently books out their that rely on being able to control
the font size of <body>.
2019-09-16 08:43:54 +05:30
Kovid Goyal
5f090e1175
Make the page turn left/right margins less obstrusive 2019-09-13 09:13:38 +05:30
Kovid Goyal
25639069db
Show viewer controls help twice not once on first run 2019-09-13 09:13:38 +05:30
Kovid Goyal
1a442ec1d1
Only show th eloading spinner is loading takes more than 200ms 2019-09-13 09:13:38 +05:30
Kovid Goyal
8871de91f3
... 2019-09-13 09:13:37 +05:30
Kovid Goyal
1668365156
Micro optimization 2019-09-13 09:13:37 +05:30
Kovid Goyal
043f9a5b88
Workaround for error in scroll_to() on some japanese books with vertical text 2019-09-13 09:13:37 +05:30
Kovid Goyal
bc54f9dbbb
Viewer: Fix rendering of fullscreen images using SVG markup 2019-09-13 09:13:37 +05:30
Kovid Goyal
400450f193
Fix down key in flow mode acting as up key 2019-09-13 09:13:37 +05:30
Kovid Goyal
d04234555d
Fix incorrect invocation of scrollBy 2019-09-13 09:13:37 +05:30
Kovid Goyal
1d64be1032
Avoid error print on shutdown 2019-09-13 09:13:36 +05:30
Kovid Goyal
f069848639
Use the calibre user interface font family and size for viewer chrome 2019-09-13 09:13:36 +05:30
Kovid Goyal
25bc0dc6c5
Also make the Context Menu key a shortcut for showing viewer chrome 2019-09-13 09:13:36 +05:30
Kovid Goyal
f83e99c9b5
Preserve scroll position in list of keyboard shortcuts when customizing a shortcut 2019-09-13 09:13:35 +05:30