1617 Commits

Author SHA1 Message Date
Kovid Goyal
ce33ebe682
DRYer 2021-01-26 09:51:52 +05:30
Kovid Goyal
da53430e77
E-book viewer: Redesign the reference mode to also work on touch screens without a mouse. Now in reference mode paragraph numbers are displayed for all paragraphs 2021-01-26 09:46:18 +05:30
Kovid Goyal
4b3ac510bf
E-book viewer: Highlight all currently visible ToC nodes, not just the first. See #1912003 (E-book viewer: at some circumstances incorrect ToC entries get highlighted) 2021-01-21 11:05:10 +05:30
Kovid Goyal
309cecad1c
E-book viewer: Fix scrolling with two fingers on touchpad on macOS not smooth. Fixes #1911218 [Scrolling with built-in trackpad of MacBook Pro on macOS very unsmooth](https://bugs.launchpad.net/calibre/+bug/1911218)
On macOS swiping fast tends to scroll along both axes simultaneously
2021-01-21 08:21:55 +05:30
Kovid Goyal
991e61af32
E-book viewer: Move read aloud popup bar to the bottom of the screen in flow mode. Fixes #1911470 [Read Aloud toolbar covers text](https://bugs.launchpad.net/calibre/+bug/1911470) 2021-01-19 19:33:36 +05:30
Kovid Goyal
eae5ff6d88
E-book viewer: Fix a regression that caused non-HTML descriptions to not be displayed in the metadata page 2021-01-19 09:24:34 +05:30
Kovid Goyal
15e8980cb2
E-book viewer: Allow adding a button to the selection bar that copies the currently selected text along with a calibre:// URL to show the text in the book. See #1912070 ([Enhancement] Additional access to copying Go To URL location link) 2021-01-18 13:14:22 +05:30
Kovid Goyal
9032d92954
E-book viewer: Add keyboard shortcuts to copy the current location to the clipboard. Fixes #1912070 [[Enhancement] Additional access to copying Go To URL location link](https://bugs.launchpad.net/calibre/+bug/1912070) 2021-01-18 11:21:45 +05:30
Kovid Goyal
93aed4db7a
Also add a test for AP based date formatting 2021-01-14 20:15:55 +05:30
Kovid Goyal
6daa33600d
E-book viewer: Fix clock being displayed in 24 hr format on some systems even though system locale is set to use 12 hr format. 2021-01-14 20:13:14 +05:30
Kovid Goyal
b33ea2fcd3
Add a reference to Qt bug for mediaplaypause 2021-01-08 14:40:37 +05:30
Kovid Goyal
2b08beb226
Fix #1909314 [[Enhancement - Content server] Delete book by pressing Delete key on the Book details page](https://bugs.launchpad.net/calibre/+bug/1909314) 2021-01-06 18:57:49 +05:30
Kovid Goyal
54c6c6e3d7
Add a download button to the export highlights dialog 2021-01-06 15:09:49 +05:30
Kovid Goyal
13d829c74a
Add links in markdown export for browser viewer 2021-01-06 14:57:06 +05:30
Kovid Goyal
fa85e012dd
Content server viewer: Allow exporting all highlights
Fixes #1909529 [Browser viewer: Highlight management](https://bugs.launchpad.net/calibre/+bug/1909529)
2021-01-06 14:38:14 +05:30
Kovid Goyal
ed0f7e9684
Add an alias fo rthe play/pause toggle key 2021-01-05 16:22:07 +05:30
Kovid Goyal
23f0086ab7
Cancel any speech in progress when hiding the selection_bar after triggering the speak aloud action on it 2021-01-03 22:29:51 +05:30
Kovid Goyal
2ccfa5140e
Validate saved value 2020-12-24 16:44:59 +05:30
Kovid Goyal
4a3f3dd7d2
Forgot to fix restore defaults in previous commit 2020-12-24 16:25:11 +05:30
Kovid Goyal
619665880a
Fix #1909197 [cannot change layout settings in calibre 5.8, especially from single page to multiple page view.](https://bugs.launchpad.net/calibre/+bug/1909197) 2020-12-24 16:16:45 +05:30
Kovid Goyal
2a66dfead0
Edit book: A new option to show a configurable number lines above the current line when syncing the position of the preview panel to the current position in the code editor (under Preview settings in the Editor preferences). Fixes #1908929 [Enhancement request for seeing code changes in file previewer.](https://bugs.launchpad.net/calibre/+bug/1908929) 2020-12-23 19:16:06 +05:30
Kovid Goyal
70424872de
Apparently using transform change scrollWidth
Account for that as well, which further fixes scrolling on iOS
2020-12-22 10:40:26 +05:30
Kovid Goyal
ecea8435e6
Browser viewer: Fix regression in 5.0 that broke scrolling on iOS
viewport_to_document() cannot reset transforms, as transforms are used
for scrolling on iOS
2020-12-22 09:46:45 +05:30
Kovid Goyal
508936d721
DRYer 2020-12-21 11:33:06 +05:30
Kovid Goyal
47b4530a56
Viewer: Fix error when scrolling to some search results in flow mode. Fixes #1908000 [calibre viewer shows "Unhandled error: Uncaught InvalidStateError: Failed to execute 'surroundContents' on 'Range'" after RegExp searching in epub-file](https://bugs.launchpad.net/calibre/+bug/1908000) 2020-12-21 11:27:16 +05:30
Kovid Goyal
af59788c71
Consolidate the various modal overlays 2020-12-19 08:28:21 +05:30
Kovid Goyal
7c5f4bd48b
String changes 2020-12-18 17:31:46 +05:30
Kovid Goyal
08cafd1de0
String changes 2020-12-17 22:35:04 +05:30
Kovid Goyal
ff87e15bbb
Fix Esc key not working on a couple of panels
See #1849958 ([Enhancement] Go back by clicking Esc on server)
2020-12-16 10:11:08 +05:30
Kovid Goyal
762f1b659a
E-book viewer: Dont enter fullscreen mode automatically when reading on desktop like devices (this can be controlled via a setting in in the viewer preferences under Page layout) 2020-12-16 10:03:50 +05:30
Kovid Goyal
e617f65470
Make page layout prefs a bit more compact 2020-12-16 08:51:12 +05:30
Kovid Goyal
99ddd5457d
Handle more than 36 hints on screen 2020-12-15 22:26:26 +05:30
Kovid Goyal
4470b0aaaf
... 2020-12-15 21:50:32 +05:30
Kovid Goyal
e7cb72029c
Also hint external links 2020-12-15 21:46:19 +05:30
Kovid Goyal
be884acaf4
Show an error when no hints are found 2020-12-15 21:31:37 +05:30
Kovid Goyal
7f202f513d
Animate hint activation 2020-12-15 21:17:02 +05:30
Kovid Goyal
96ba30f754
Hints should not cause reflow 2020-12-15 20:40:01 +05:30
Kovid Goyal
d88e7788c3
Get basic hint activation working 2020-12-15 20:14:40 +05:30
Kovid Goyal
168c75d5d1
More hints work 2020-12-15 16:14:52 +05:30
Kovid Goyal
b4731c552c
Wire up the hints overlay 2020-12-15 14:12:37 +05:30
Kovid Goyal
99dedc4ac3
Start work on hints mode 2020-12-15 13:43:31 +05:30
Kovid Goyal
8160a8d9c8
E-book viewer: Fix clock in header/footer not using system time format. Fixes #1907907 [Feature request: 24h clock format in reader](https://bugs.launchpad.net/calibre/+bug/1907907) 2020-12-13 14:19:37 +05:30
Kovid Goyal
59aa3c8541
Disable timezone formatting test as its local dependent 2020-12-13 14:17:33 +05:30
Kovid Goyal
7a162f113d
Make parsing of Qt time format strings more robust 2020-12-13 14:01:00 +05:30
Kovid Goyal
0348bf9ad5
Handle failure to select match more gracefully 2020-12-12 17:03:17 +05:30
Kovid Goyal
c8015e824c
E-book viewer: Add a toolbar icon for Read aloud 2020-12-12 09:04:22 +05:30
Kovid Goyal
66abe58c33
Fix #1907842 [Move Read aloud button above the Exit full screen button in the Content server viewer controls](https://bugs.launchpad.net/calibre/+bug/1907842) 2020-12-12 08:10:38 +05:30
Kovid Goyal
9e09d44aca
String changes 2020-12-11 12:15:24 +05:30
Kovid Goyal
9f2bf5482b
Fix scrollbars appearing when mousing over button box 2020-12-11 08:09:12 +05:30
Kovid Goyal
f444e0d56f
TTS: Also include punctuation in words. This is needed for contractions such as don't 2020-12-11 07:37:43 +05:30