1674 Commits

Author SHA1 Message Date
Kovid Goyal
531cb6cb62
E-book viewer: Fix read percent for HTML files that are rendered in a single screen being 0% rather than 100% 2021-04-04 18:03:35 +05:30
Kovid Goyal
4c928a6c30
LONG_TAP_THRESHOLD was never used since the timer to check for it was using HOLD_THRESHOLD so just use HOLD_THRESHOLD 2021-04-04 10:15:19 +05:30
Kovid Goyal
aabe59dd54
Fix #1922301 [Epub viewer selection error](https://bugs.launchpad.net/calibre/+bug/1922301) 2021-04-02 12:30:40 +05:30
Kovid Goyal
7b21abcfe9
... 2021-04-01 07:53:15 +05:30
Kovid Goyal
76364ec4c6
E-book viewer: Selection bar: Add keyboard shortcuts for all buttons. Hover over a button in the bar to see the shortcut. 2021-03-30 22:36:28 +05:30
Kovid Goyal
9673e288be
Fix #1921572 [[Viewer] Ctrl+A doesn't work when some text is selected](https://bugs.launchpad.net/calibre/+bug/1921572) 2021-03-27 16:10:56 +05:30
Kovid Goyal
4eda7a69fd
Fix #1921530 [Private bug](https://bugs.launchpad.net/calibre/+bug/1921530) 2021-03-26 22:40:29 +05:30
Kovid Goyal
ad3aab9bdd
Use alt+arrow rather than arrow on for next book on book details page 2021-03-26 16:44:25 +05:30
Kovid Goyal
e895b4ebde
Better errors when browsing spineless books 2021-03-26 16:42:13 +05:30
Kovid Goyal
1d6694b04f
Content server: Allow pressing v to read the book from the book details page
Fixes #1920910 [[Enhancement - Content server] Add ability to View book from the Book details page by clicking Enter](https://bugs.launchpad.net/calibre/+bug/1920910)
2021-03-24 13:57:21 +05:30
Kovid Goyal
69261e96f5
Browser viewer: Fix Go to Location not working for positions. Fixes #1920250 [[Content server viewer] Error when trying to go to position in book](https://bugs.launchpad.net/calibre/+bug/1920250) 2021-03-22 11:25:02 +05:30
Kovid Goyal
56c0bca8f9
Sort identifiers when displaying in book details panel 2021-03-18 08:07:23 +05:30
Kovid Goyal
8b4d27a75b
... 2021-03-16 18:17:27 +05:30
Kovid Goyal
f2d92d2060
E-book viewer: Fix errors when viewing books with mathematics that are split over multiple internal files. Fixes #1919033 [Unhandled mathjax loading related error in Viewer](https://bugs.launchpad.net/calibre/+bug/1919033) 2021-03-16 12:18:27 +05:30
Kovid Goyal
773eb3ee9f
Also add shortcuts to extend selection by para
And rationalize the selection shortcuts
2021-03-15 14:24:24 +05:30
Kovid Goyal
84810e6777
Make the destructive shortcuts mode sensitive 2021-03-15 12:02:54 +05:30
Kovid Goyal
0e4dfc25a2
Micro optimization 2021-03-15 11:45:41 +05:30
Kovid Goyal
95ef1423d4
start_cfi startswith / so dont create a double slash
Also fix tests for highlight sorting
2021-03-15 11:44:00 +05:30
Kovid Goyal
6595e00a19
... 2021-03-15 11:31:02 +05:30
Kovid Goyal
f0ac7c0653
DRYer 2021-03-15 11:29:52 +05:30
Kovid Goyal
bc84d139af
Content server viewer: Fix highlights not sorted correctly in the highlights panel. Fixes #1918436 [Highlights in viewer are not sorted correctly](https://bugs.launchpad.net/calibre/+bug/1918436) 2021-03-15 11:26:37 +05:30
Kovid Goyal
c44bd3f94c
Content server: Allow swiping left and right to show next/previous book on the book details page. Fixes #1918047 [[Enhancement - Content server] Make it possible to go to previous/next book by swiping in the Book details page](https://bugs.launchpad.net/calibre/+bug/1918047) 2021-03-15 10:53:26 +05:30
Kovid Goyal
3eb5877ba5
DRYer 2021-03-15 10:25:38 +05:30
Kovid Goyal
f4fc7c4259
Viewer: Also add shortcuts for modifying selection with character granularity 2021-03-15 08:32:10 +05:30
Kovid Goyal
a2650969a9
... 2021-03-14 20:11:00 +05:30
Kovid Goyal
99f86498c0
E-book viewer: Make the commonly used shift+arrow key shortcuts for modifying selections using the keyboard work
Fixes #1919072 [[Enhancement - Viewer] Change which text is selected using Shift+arrow keys](https://bugs.launchpad.net/calibre/+bug/1919072)
2021-03-14 19:15:57 +05:30
Kovid Goyal
a164265c90
E-book viewer: Allow pressing the delete key to delete the currently selected highlight. 2021-03-14 10:55:06 +05:30
Kovid Goyal
29f798a94a
Forgot to use standard titlebar for viewer preferences 2021-03-14 10:50:26 +05:30
Kovid Goyal
611613681f
Only use workaround if boundingrect is actuall negative topped 2021-03-11 08:15:58 +05:30
Kovid Goyal
2ad7fdc33f
E-book viewer: In paged mode, fix scrolling not working correctly when margins are set to zero. Fixes #1918105 [back keyboard shortcut not working [solved]](https://bugs.launchpad.net/calibre/+bug/1918105) 2021-03-10 22:54:10 +05:30
Kovid Goyal
f38ac80991
Add a reference to the bug 2021-03-10 22:39:31 +05:30
Kovid Goyal
537efd11b1
E-book viewer: Fix incorrect toc navigation in books that link the entries to inline tags that wrap block tags that span multiple pages. Fixes #1918437 [Book reader incorrectly go to table of contents items](https://bugs.launchpad.net/calibre/+bug/1918437) 2021-03-10 22:37:42 +05:30
Kovid Goyal
cbd1c42865
E-book viewer: Allow using shift+click to extend selections. Fixes #1918251 [E-book viewer selection broken](https://bugs.launchpad.net/calibre/+bug/1918251) 2021-03-10 13:19:35 +05:30
Kovid Goyal
943f08e50e
When text is selected in the viewer select the same text when opening the book for editing 2021-03-09 20:39:34 +05:30
Kovid Goyal
f8d754de0d
Fix #1918053 [[Enhancement - Viewer] Remember history of URL to query when searching the internet](https://bugs.launchpad.net/calibre/+bug/1918053) 2021-03-09 17:28:07 +05:30
Kovid Goyal
0e9c3ea215
E-book viewer: Fix using keyboard to extend selection not turning pages 2021-03-09 14:20:44 +05:30
Kovid Goyal
4e839cbaf2
Change the shortcut used for editing in viewer to ctrl+d 2021-03-09 14:15:13 +05:30
Kovid Goyal
09627ab8dd
Viewer: Allow editing the current book by pressing ctrl+alt+e or adding a button for it to the viewer toolbar. Fixes #1917967 [Enhancement Request: ebook-viewer: Button to open book in editor](https://bugs.launchpad.net/calibre/+bug/1917967) 2021-03-09 14:06:59 +05:30
Kovid Goyal
dc41e4e30e
Fix #1918054 [[Enhancement - Content server viewer] Clicking Esc to go back in the Highlight page doesn't work if one highlight is selected](https://bugs.launchpad.net/calibre/+bug/1918054) 2021-03-08 20:18:32 +05:30
Kovid Goyal
6468dfd58d
... 2021-03-04 20:51:59 +05:30
Kovid Goyal
6222ec8a70
E-book viewer: When searching start the search from the current position, jumping to the first match at or after the current page. Fixes #1915773 [E-book viewer: searching should select the first match from the current postion, not from the beginning of the book](https://bugs.launchpad.net/calibre/+bug/1915773) 2021-02-25 09:06:13 +05:30
Kovid Goyal
c69f2851f3
String changes 2021-02-24 21:59:53 +05:30
Kovid Goyal
baea16dde4
Fix #1915775 [E-book viewer: Reset interface button needs a confirmation dialogue](https://bugs.launchpad.net/calibre/+bug/1915775) 2021-02-24 14:59:30 +05:30
Kovid Goyal
dc9a13864b
E-book viewer: Fix selection popup bar sometimes going off screen when dragging up to the top line of text. Fixes #1915685 [ebook-viewer: Selection dialog may render partway off-screen](https://bugs.launchpad.net/calibre/+bug/1915685) 2021-02-23 09:57:30 +05:30
Kovid Goyal
52d048ece3
Viewer: Also send a load event to the window object after the iframe loads 2021-02-15 21:01:10 +05:30
Kovid Goyal
943c830859
E-book viewer: Show the URL when hovering over external links. Fixes #1911107 [Enhancement Request: ebook-viewer: Preview link destination](https://bugs.launchpad.net/calibre/+bug/1911107) 2021-02-08 23:02:51 +05:30
Kovid Goyal
0139ed13fe
E-book viewer: Hide the controls when clicking the back or forward buttons 2021-02-08 15:11:35 +05:30
Kovid Goyal
2e0b2d1573
E-book viewer: When jumping to a highlight using the highlights panel, the back button should return to position before jump. Fixes #1914921 [Highlights are not integrated with the navigation history](https://bugs.launchpad.net/calibre/+bug/1914921) 2021-02-07 20:04:26 +05:30
Kovid Goyal
ccc1cad840
Add an All button 2021-02-05 20:53:20 +05:30
Kovid Goyal
7ecd365899
Content server: When browsing highlights for a book allow selecting multiple highlights to delete or export quickly 2021-02-05 20:49:19 +05:30