1764 Commits

Author SHA1 Message Date
Kovid Goyal
9d4e5c500f
Fix #1930965 [[Enhancement - Server] Clicking Esc to go back to the book details page doesn't work after clicking on some metadata field in the Edit metadata page and going back to the Edit metadata page](https://bugs.launchpad.net/calibre/+bug/1930965) 2021-06-09 08:06:05 +05:30
Kovid Goyal
f270e944d2
Browser viewer: Make current color scheme setting propagate to all devices automatically when using user accounts.
See #1930900 ([Enhancemet - Viewer] Export/import color schemes)
2021-06-04 21:30:08 +05:30
Kovid Goyal
652943c31d
Fix a few more untranslated errors in the iframe 2021-06-04 05:25:44 +05:30
Kovid Goyal
db1b00a158
Fix #1930737 [[Enhancement] Warning is not translated](https://bugs.launchpad.net/calibre/+bug/1930737) 2021-06-04 05:17:19 +05:30
Kovid Goyal
95d13dfc3e
E-book viewer: Allow using the back button to return from jumping to a search result 2021-06-03 14:23:17 +05:30
Kovid Goyal
488ffb2877
Use a dedicated callback for ensuring search result visible
It clears the saved timer id
2021-06-03 09:40:06 +05:30
Kovid Goyal
76f595274b
E-book viewer: Highlights: Make URLs in the notes for highlights clickable 2021-06-02 20:40:10 +05:30
Kovid Goyal
89c9a48c2b
Fix #1929896 [[Enhancement - Viewer] Make contrast in dark team a little better in viewer controls](https://bugs.launchpad.net/calibre/+bug/1929896) 2021-05-28 08:35:10 +05:30
Kovid Goyal
8e0ba51fd3
E-book viewer: Add a preference under Scrolling behavior to reverse the tap zones used to turn pages. So tapping on the left goes forward and the right backward. 2021-05-24 07:40:39 +05:30
Kovid Goyal
b097ecce99
Allow using keys on delete confirmation popup 2021-05-23 10:54:03 +05:30
Kovid Goyal
226678e514
Fix #1929177 [[Enhancement - Viewer] Move search bar to the top of the ToC page](https://bugs.launchpad.net/calibre/+bug/1929177) 2021-05-21 18:34:01 +05:30
Kovid Goyal
de4bee60eb
E-book viewer: When using a right click/shift-click to adjust the selection, move the section boundary that is closer to the click point. Fixes #1929164 [E-book viewer: Right- and Shift-clicking inside the selection always change its lower boundary](https://bugs.launchpad.net/calibre/+bug/1929164) 2021-05-21 18:16:38 +05:30
Kovid Goyal
676feaa5c2
Disallow user select on search results pane 2021-05-20 16:42:43 +05:30
Kovid Goyal
34294a9c9e
Restore the global find next/prev shortcuts as well 2021-05-20 15:56:19 +05:30
Kovid Goyal
0a44c0bccf
Fix chrome showing native popups for search bars 2021-05-20 15:39:26 +05:30
Kovid Goyal
85cfd2fee9
Fix next/prev match shortcuts 2021-05-20 15:37:38 +05:30
Kovid Goyal
9d0c7def38
when showing results focus the results container 2021-05-20 15:26:20 +05:30
Kovid Goyal
2f3ab66ffe
Workaround bug in chrome with jumping to search result in a new html file not working for some books 2021-05-20 14:28:24 +05:30
Kovid Goyal
f67156050b
Wire up the return button 2021-05-20 13:59:34 +05:30
Kovid Goyal
bb58aa60d9
Handle search result not found 2021-05-20 13:35:33 +05:30
Kovid Goyal
83cbd28323
Wire up search result discovery
Also make only the results portion of the view scrollable
2021-05-20 13:23:20 +05:30
Kovid Goyal
b94e0dbe4d
Show a plus when collapsed 2021-05-20 10:17:50 +05:30
Kovid Goyal
29f5e40104
Implement show/hide for results in a chapter 2021-05-20 10:02:17 +05:30
Kovid Goyal
2b34c68901
Add some formatting to the search results 2021-05-20 09:50:53 +05:30
Kovid Goyal
550b6776e1
Dont eval the extra css functions unless needed 2021-05-20 09:41:45 +05:30
Kovid Goyal
9948e2dafa
Display results, without any real formatting yet 2021-05-20 09:26:55 +05:30
Kovid Goyal
d4202c39d6
Remove old search related code 2021-05-19 11:30:08 +05:30
Kovid Goyal
4e9b98c4b8
Start work on new search UI 2021-05-19 11:21:41 +05:30
Kovid Goyal
11253571c4
micro-optimization 2021-05-18 20:27:46 +05:30
Kovid Goyal
a0c5990dde
Annotate search results with their toc nodes 2021-05-18 20:25:03 +05:30
Kovid Goyal
86a5bf6656
Port get_toc_data() to RapydScript 2021-05-18 16:54:26 +05:30
Kovid Goyal
98ceaecd52
Pass book info to search worker only once per book 2021-05-18 15:38:19 +05:30
Kovid Goyal
bc87d29b93
string changes 2021-05-18 12:30:18 +05:30
Kovid Goyal
d720400d77
Port TOCOffsetMap to rapydscript 2021-05-18 09:57:03 +05:30
Kovid Goyal
d4f9c559c3
Add code to get the anchor offset map 2021-05-18 08:48:50 +05:30
Kovid Goyal
8436c14f89
... 2021-05-17 17:47:47 +05:30
Kovid Goyal
9f1d9a9781
Handle errors in the worker 2021-05-17 17:06:00 +05:30
Kovid Goyal
a365ac1862
Pass results back from worker to UI 2021-05-17 16:30:38 +05:30
Kovid Goyal
4ad95b38c2
Implement the actual search 2021-05-17 13:56:42 +05:30
Kovid Goyal
59fa3f9402
Wrap-around the search 2021-05-17 11:22:37 +05:30
Kovid Goyal
a79c17d555
Add caching for extracting text to search 2021-05-17 09:36:57 +05:30
Kovid Goyal
fca12a71cb
String changes 2021-05-16 20:14:35 +05:30
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