Kovid Goyal
a6f1bea259
Start work on threaded search for browser viewer
2021-05-16 15:09:22 +05:30
Kovid Goyal
d6530933d9
Forgot to remove some testing code
2021-05-16 11:31:54 +05:30
Kovid Goyal
e158c41ce3
Remove edge special case and allow connecting to IDB in workers
2021-05-16 11:17:57 +05:30
Kovid Goyal
486413f267
Code to launch WebWorkers
2021-05-16 11:02:28 +05:30
Kovid Goyal
d7efe7d8f9
...
2021-05-16 10:56:27 +05:30
Kovid Goyal
dcc0818e81
Micro-optimization
2021-05-16 08:55:08 +05:30
Kovid Goyal
d0c34d2131
Avoid unnecessary replace on JS
...
Also makes the JS available for use in Web Workers
2021-05-16 08:52:50 +05:30
Kovid Goyal
8988cbcf56
Remove top-level references to window and document
2021-05-16 05:43:02 +05:30
Kovid Goyal
85e8d8c82f
DRYer
2021-05-15 13:44:26 +05:30
Kovid Goyal
1c9d837e08
String changes
2021-05-12 07:41:25 +05:30
Kovid Goyal
53e42361d5
string changes
2021-05-10 07:44:02 +05:30
Kovid Goyal
b9dd3758ea
E-book viewer: Add shortcuts shift+home and shift+end to extend current selection to start/end of line
2021-05-09 12:37:52 +05:30
Kovid Goyal
1095dc4dc6
E-book viewer: Fix right or shift-clicking to extend selection not shrinking selection when the click is inside the selection. Fixes #1926793 [E-book viewer: right-clicking inside the selection does nothing]( https://bugs.launchpad.net/calibre/+bug/1926793 )
2021-05-09 12:28:45 +05:30
Kovid Goyal
3e1fff5fcf
E-book viewer: Ignore mouse scroll events that would turn pages when editing notes. Fixes #1925961 [Scrolling within annotation window doesn't work properly]( https://bugs.launchpad.net/calibre/+bug/1925961 )
2021-05-09 12:13:10 +05:30
Kovid Goyal
11d62a8e6b
Fix #1927011 [[Enhancement] Place the cursor at the end of the Edit notes for highlight window]( https://bugs.launchpad.net/calibre/+bug/1927011 )
2021-05-04 10:50:45 +05:30
Kovid Goyal
8af9e5181c
Fix #1926857 [[Enhancement - Viewer] Add popups when hovering to control buttons]( https://bugs.launchpad.net/calibre/+bug/1926857 )
2021-05-02 09:25:40 +05:30
Kovid Goyal
b8e128271d
E-book viewer: Speed up initialisation of WebEngine
...
Prevent the viewer JavaScript from being loaded multiple times on the
various iframes. Also only create the iframe used for the footnote
popups on demand.
2021-05-01 10:26:50 +05:30
Kovid Goyal
9e34e107ab
Fix #1926607 [[Enhancement - Viewer] Turn X red when hovering the Close button of the controls]( https://bugs.launchpad.net/calibre/+bug/1926607 )
2021-04-29 19:16:22 +05:30
Kovid Goyal
1471322f49
E-book viewer: The quick highlight button should replace the style of an existing highlight, when one is selected. Fixes #1926518 [[Viewer] Quick highlighting a already highlighted text should replace the original highlighting]( https://bugs.launchpad.net/calibre/+bug/1926518 )
2021-04-29 06:49:03 +05:30
Kovid Goyal
f0f7256e7b
Fix #1926516 [[Enhancement - Viewer] Use uppercase letters for shortcuts in the selection bar]( https://bugs.launchpad.net/calibre/+bug/1926516 )
2021-04-29 06:29:14 +05:30
Kovid Goyal
66bcc9efc8
Fix #1926209 [[Enhancement - Viewer] Add Miscellous heading for option in preferences]( https://bugs.launchpad.net/calibre/+bug/1926209 )
2021-04-27 07:45:04 +05:30
Kovid Goyal
8965b8a940
E-book viewer: Add a shortcut ctrl+0 to restore default font size
...
Fixes #1925294 [[Enhancement] E-book viewer: there should be a tool bar icon/keyboard shortcut for setting font zoom to 100%](https://bugs.launchpad.net/calibre/+bug/1925294 )
2021-04-25 19:53:34 +05:30
Kovid Goyal
2ba9e9e8d1
E-book viewer: Read aloud: Fix soft hyphens causing read aloud words to be broken up. Fixes #1925988 [Read aloud with soft hyphens read wrong]( https://bugs.launchpad.net/calibre/+bug/1925988 )
2021-04-25 18:49:15 +05:30
Kovid Goyal
0dc1dac0b9
E-book viewer: Right clicking when text is selected should extend the selection instead of doing nothing. Fixes #1925390 [[Enhancement - Viewer] Right-clicking to deselect text]( https://bugs.launchpad.net/calibre/+bug/1925390 )
2021-04-25 13:54:13 +05:30
Kovid Goyal
b6dcf70103
Allow the textarea used to edit notes for highlights to be resized manually
2021-04-24 08:14:44 +05:30
Kovid Goyal
c5fbd12b64
Fix #1925961 [Scrolling within annotation window doesn't work properly]( https://bugs.launchpad.net/calibre/+bug/1925961 )
2021-04-24 08:10:56 +05:30
Kovid Goyal
2a6a773f8a
E-book viewer: Fix read aloud word tracking in flow mode not very reliable
2021-04-23 21:45:39 +05:30
Kovid Goyal
1aeef04ab3
E-book viewer: Fix navigation shortcuts not working in Read aloud mode
2021-04-23 21:32:32 +05:30
Kovid Goyal
09470577fe
Windows: E-book viewer: Fix switching away from viewer while in fullscreen and switching back causing some corruption until the page is scrolled. Fixes #1918591 [[Viewer] Using Alt + Tab to switch programs in Windows when using the viewer in full screen, the text is adjusted as it was not in full screen]( https://bugs.launchpad.net/calibre/+bug/1918591 )
2021-04-20 11:50:17 +05:30
Kovid Goyal
e9e53e767b
add a note
2021-04-18 13:54:57 +05:30
Kovid Goyal
a57ea59adb
Fix #1924890 [E-book viewer: scrolling to the previous section doesn't always work in Flow mode]( https://bugs.launchpad.net/calibre/+bug/1924890 )
2021-04-18 12:15:11 +05:30
Kovid Goyal
6ec52ff451
Fix #1924872 [Shift select with no current selection results in error]( https://bugs.launchpad.net/calibre/+bug/1924872 )
2021-04-18 08:38:32 +05:30
Kovid Goyal
72f20b5479
Fix #1924853 [E-book viewer: the list of keyboard shortcuts should be displayed just below the action button]( https://bugs.launchpad.net/calibre/+bug/1924853 )
2021-04-17 20:00:46 +05:30
Kovid Goyal
389a44cc49
Viewer: Fix a regression that broke using the delete key to delete highlights
2021-04-17 15:03:36 +05:30
Kovid Goyal
51d07cef5b
Viewer: Use the system time format for clock in control header as well
2021-04-16 18:52:44 +05:30
Kovid Goyal
d8f91959a7
Viewer preferences: Allow searching for keyboard shortcuts
2021-04-13 17:59:11 +05:30
Kovid Goyal
0e2e0ec55f
Fix #1923317 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1923317 )
2021-04-13 12:10:08 +05:30
Kovid Goyal
5765cd3007
E-book viewer: Fix margins not being adjusted immediately when preferences are changed
2021-04-13 10:14:36 +05:30
Kovid Goyal
1fd071971b
Fix font size for input elements in viewer UI
2021-04-13 09:42:53 +05:30
Kovid Goyal
47b48e49e6
Fix indentation
2021-04-12 09:05:17 +05:30
Kovid Goyal
1d0e4d07c5
Content server: Prevent Apple from zooming in when typing in text controls in the server interface in the Safari browser
2021-04-12 08:51:09 +05:30
Kovid Goyal
eb7f51de50
Fix #1923094 [[Enhancement - Viewer] Open path folder]( https://bugs.launchpad.net/calibre/+bug/1923094 )
2021-04-09 14:18:25 +05:30
Kovid Goyal
a3ec38342d
Cant customize left of controls footer so hide that control
2021-04-08 12:27:43 +05:30
Kovid Goyal
9102e671e7
E-book viewer: Show the current progress percentage in the bottom bar of the viewer controls. This can be customized in the viewer preferences under Headers and footers. Fixes #1921610 [[Enhancement - Viewer] Progress bar]( https://bugs.launchpad.net/calibre/+bug/1921610 )
2021-04-08 11:35:09 +05:30
Kovid Goyal
7506342232
Better placement for restore_docks option
2021-04-08 10:23:01 +05:30
Kovid Goyal
d8b0c1bb1f
E-book viewer: Add an option under Preferences->Miscellaneous to not restore open panels such as Search, Table of Contents etc on restart. Fixes #1921689 [Enhancement Request: ebook-viewer: Option to save panels on exit]( https://bugs.launchpad.net/calibre/+bug/1921689 )
2021-04-08 08:47:04 +05:30
Kovid Goyal
d2a2faae0d
use ctrl+arrow rather than alt+arrow
2021-04-07 21:20:06 +05:30
Kovid Goyal
f6e55966f5
E-book viewer: Improve scrolling behavior when extending the selection using keyboard shortcuts
2021-04-06 09:32:25 +05:30
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