Commit Graph

43329 Commits

Author SHA1 Message Date
Kovid Goyal aa3f34898d py3 compat fix metadata processing for PDB files
Fixes #1929071 [Python error editing metadata](https://bugs.launchpad.net/calibre/+bug/1929071)
2021-05-20 18:39:13 +05:30
Kovid Goyal af11719020 Edit book: Fix ctrl-clicking on a class name jumping to the wrong CSS rule if the stylesheet contains top level comments
This is because cssutils treats top level rules as comment rules in
violation of the CSSOM
2021-05-20 16:57:49 +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 267ab37964 ... 2021-05-18 07:23:40 +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 0c83360ed9 E-book viewer: Allow fullscreening the image popup. Fixes #1928596 [[Enhancement - Viewer] View image in full screen](https://bugs.launchpad.net/calibre/+bug/1928596) 2021-05-17 11:31:53 +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 9fd48d9911 pep8 2021-05-16 21:26:30 +05:30
Kovid Goyal 7ec12f17a3 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-05-16 21:25:27 +05:30
Charles Haley 04c8aa5ef2 Show an error if search/replace can't process an identifier string 2021-05-16 16:48:40 +01:00
Kovid Goyal fca12a71cb String changes 2021-05-16 20:14:35 +05:30
Kovid Goyal 301ec7f742 Use translated names for profile display in conversion options 2021-05-16 20:02:58 +05:30
Kovid Goyal b8e186bc31 Fix #1928579 [invalide identifier with colon in search/replace](https://bugs.launchpad.net/calibre/+bug/1928579) 2021-05-16 17:42:44 +05:30
Kovid Goyal 0ddbd506cc Merge branch 'master' of https://github.com/cbhaley/calibre 2021-05-16 17:35:38 +05:30
Charles Haley 54ea660722 Bug #1928548: Error opening template functions preference. Part of a fix, ensuring that the exception doesn't leave the ghost dialog. 2021-05-16 11:45:50 +01:00
Kovid Goyal ed62171495 Fix #1928574 [[Enhancement - Edit book] Move clear filter button inside the search field of the Saved searches](https://bugs.launchpad.net/calibre/+bug/1928574) 2021-05-16 15:11:09 +05:30
Kovid Goyal a6f1bea259 Start work on threaded search for browser viewer 2021-05-16 15:09:22 +05:30
Kovid Goyal ebd5711134 Fix #1928570 [[Enhancement - Edit book] Add a clear button inside the Search in preview field](https://bugs.launchpad.net/calibre/+bug/1928570) 2021-05-16 13:23:09 +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