Commit graph

699 commits

Author SHA1 Message Date
Kovid Goyal
22acded7a2
Viewer: Fix using a very small font step size not working. Fixes #1888609 [If I reduce font size below 10, then keyboard shortcut to increase font size stops working](https://bugs.launchpad.net/calibre/+bug/1888609) 2020-07-30 13:42:09 +05:30
Kovid Goyal
4ad884f96c
Viewer: Add a setting to control how many pixels a scroll wheel should generate before triggering a page turn 2020-07-19 13:49:35 +05:30
Kovid Goyal
c341ed4172
Viewer: Fix typing values in font size adjust control not working 2020-07-19 12:17:34 +05:30
Kovid Goyal
2592198a82
Viewer: Fix wheel mice that generate line scroll events per click requiring multiple wheel clicks to turn a page in paged mode. Fixes #1886231 [In 4.20 viewer, mouse wheel scroll is malfunctioning in paged mode](https://bugs.launchpad.net/calibre/+bug/1886231) 2020-07-04 13:02:50 +05:30
Kovid Goyal
9d7dc2e2fa
Viewer: Fix a regression in the previous release that broke reading of books with mathematics and also <a> tags without href attributes. Fixes #1886192 [EPUB crashes. Cannot read property 'startswith'.](https://bugs.launchpad.net/calibre/+bug/1886192) 2020-07-03 20:58:11 +05:30
Kovid Goyal
f9c9af6463
Viewer: Fix turning pages in paged mode with a high precision touchpad to generate scroll events too fast 2020-06-30 09:50:15 +05:30
Kovid Goyal
14c8099abb
Port the in-browser viewer to use MathJax v3 2020-06-20 00:34:16 +05:30
Kovid Goyal
e2243bf7a9
Upgrade MathJax to version 3
version 3 is more performant, smaller and simpler to integrate, without
monkeypatching. On the down side, it does not do line breaking, as yet.

Note that only the viewer is currently ported
2020-06-19 18:43:23 +05:30
Kovid Goyal
a7c28570ec
Viewer: Fix jump to previous section not working when viewer is on last section 2020-06-06 11:58:47 +05:30
Kovid Goyal
0ce941104d
Viewer: In flow mode, implement drag scrolling. Fixes #1880707 [there is no auto scroll when to try text select](https://bugs.launchpad.net/calibre/+bug/1880707) 2020-06-04 07:32:29 +05:30
Kovid Goyal
f532b6f598
Prevent selection on margin elements 2020-06-03 22:03:20 +05:30
Kovid Goyal
24645ef1d7
String changes 2020-05-20 20:13:24 +05:30
Kovid Goyal
f6d1097ae2
Fix #1879040 [[Viewer] Right clicking in the Viewer opened without a book closes it](https://bugs.launchpad.net/calibre/+bug/1879040) 2020-05-16 15:18:53 +05:30
Kovid Goyal
500d3ae983
Fix #1879031 [[Enhancement - Viewer] Make the text look more lika a title](https://bugs.launchpad.net/calibre/+bug/1879031) 2020-05-16 12:46:07 +05:30
Kovid Goyal
fba75eb5ea
Add a delete button to create highlight UI 2020-05-12 21:43:23 +05:30
Kovid Goyal
7d38da5243
Ignore highlight actions if the highight UI is open 2020-05-12 19:52:03 +05:30
Kovid Goyal
d6498bf837
Also use same path for creating highlight 2020-05-12 19:24:13 +05:30
Kovid Goyal
f259e86cb3
Use the same code path for jumping to highlights as for editing/removing 2020-05-12 19:20:18 +05:30
Kovid Goyal
501ee2252c
Removing of highlights works 2020-05-12 17:07:39 +05:30
Kovid Goyal
2c45544a16
Add and edit highlight buttons work 2020-05-12 16:10:09 +05:30
Kovid Goyal
0039537f9b
String changes 2020-05-10 13:10:45 +05:30
Kovid Goyal
f4a0c29198
Viewer: Improve the UI for changing font sizes 2020-04-30 21:45:40 +05:30
Kovid Goyal
b3cd50806c
Viewer: Fix zoom step size setting ignored. Fixes #1875840 [Viewer's font "zoom step size" preference dysfunctional](https://bugs.launchpad.net/calibre/+bug/1875840) 2020-04-30 14:07:39 +05:30
Kovid Goyal
e4a19c8808
Work on highlights panel 2020-04-29 14:53:35 +05:30
Kovid Goyal
7abe0a61dc
Re-layout on font size change in paged mode 2020-04-27 14:27:39 +05:30
Kovid Goyal
67ed07db66
Viewer: Fix a regression that broke searching in flow mode. Fixes #1874877 [In the viewer search when a value is found receive and Uncaught RangerError](https://bugs.launchpad.net/calibre/+bug/1874877) 2020-04-25 18:11:00 +05:30
Kovid Goyal
d276e5be45
Do not update toc anchor map repeatedly 2020-04-25 18:04:42 +05:30
Kovid Goyal
6cb1575cd8
... 2020-04-25 17:26:06 +05:30
Kovid Goyal
27f626d325
Viewer: Add a keyboard shortcut (Ctrl+alt+b) for adding a bookmark 2020-04-25 14:46:02 +05:30
Kovid Goyal
0872338ae7
Viewer: Add an option to have taps turn by screenfulls instead of pages, under Scrolling behavior 2020-04-22 20:37:45 +05:30
Kovid Goyal
204e17dd4f
Handle touch based interaction with the highlight handles 2020-04-22 19:48:10 +05:30
Kovid Goyal
58b35f1aab
Have the develop mode env var work for the server as well 2020-04-21 22:25:50 +05:30
Kovid Goyal
016bd5458c
DRYer 2020-04-16 19:47:33 +05:30
Kovid Goyal
244d0a2701
Fix #1872518 [[Enhancement] Hide shown pages when clicking in the viewer toolbar](https://bugs.launchpad.net/calibre/+bug/1872518) 2020-04-16 19:36:59 +05:30
Kovid Goyal
b468f72ba7
Viewing annots should be triggered by double click/long tap not single click/tap 2020-04-16 15:34:03 +05:30
Kovid Goyal
d9e6e8f290
Prevent default context menu on top level read books container 2020-04-16 14:49:30 +05:30
Kovid Goyal
9d2f05b516
Viewer: Allow double clicking or long tapping on images to view then in a new window. Fixes #1872759 [E-book viewer: double clicking on image to evoke "View image" window.](https://bugs.launchpad.net/calibre/+bug/1872759) 2020-04-16 13:25:56 +05:30
Kovid Goyal
175282da52
Add a border to annotation buttons 2020-04-15 21:44:06 +05:30
Kovid Goyal
807e5f0403
Implement viewing of highlight notes by clicking on the highlight 2020-04-15 21:41:07 +05:30
Kovid Goyal
a00cde1120
Implement adding notes when creating annotations 2020-04-15 10:11:35 +05:30
Kovid Goyal
b92c233ad8
Dont use an empty start selection to position handles 2020-04-13 16:40:22 +05:30
Kovid Goyal
b40951e5dc
Clicking on an existing highlight should edit it 2020-04-13 16:36:58 +05:30
Kovid Goyal
bd9109bbee
... 2020-04-13 12:35:54 +05:30
Kovid Goyal
a3e0461c73
Add a button to copy the current selection when creating highlights 2020-04-13 12:33:07 +05:30
Kovid Goyal
a2cb25453d
Highlights are now saved and re-applied in books 2020-04-12 21:18:46 +05:30
Kovid Goyal
d61273b7cd
When applying a new highlight over a single existing one, replace it 2020-04-11 09:47:18 +05:30
Kovid Goyal
e492c88c9a
... 2020-04-11 09:41:53 +05:30
Kovid Goyal
37a60e366a
Remove overlapping highlights when applying a new one 2020-04-11 09:40:28 +05:30
Kovid Goyal
33fed39269
Make extending the selection on scroll more robust 2020-04-08 20:16:52 +05:30
Kovid Goyal
73a08a9e15
Reset search cache when applying highlight 2020-04-08 14:56:10 +05:30