1609 Commits

Author SHA1 Message Date
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
Kovid Goyal
f4b6806202
TTS should start reading from the current page 2020-12-11 07:34:17 +05:30
Kovid Goyal
c80acf0aed
Limit max word size for TTS 2020-12-11 07:23:55 +05:30
Kovid Goyal
16bea2db9d
Add numbers to the word regex 2020-12-10 22:54:22 +05:30
Kovid Goyal
eedd6c7751
TTS: Fix word segmentation not working with non-ascii chars because JavaScript's regex engine has a non-unicode aware \w operator 2020-12-10 22:43:56 +05:30
Kovid Goyal
8d4bc69a8d
TTS: fix inter-word punctuation being ignored 2020-12-10 18:24:59 +05:30
Kovid Goyal
706e229558
Implement TTS speed buttons in browser viewer 2020-12-10 11:34:06 +05:30
Kovid Goyal
b10a85e948
... 2020-12-10 09:35:50 +05:30
Kovid Goyal
52e855b130
Add slower and faster buttons to the TTS bar 2020-12-10 08:59:50 +05:30