Commit Graph

43350 Commits

Author SHA1 Message Date
Kovid Goyal 18cc641ea9 Fix all_annotations_for_book() 2021-05-23 20:47:17 +05:30
Kovid Goyal 27fb4dd37e string changes 2021-05-23 18:56:35 +05:30
Kovid Goyal 7be1b5d77f Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1929322 [[Enhancement] Move setting for Virtual library to apply when the current library is opened](https://bugs.launchpad.net/calibre/+bug/1929322)
2021-05-23 18:22:46 +05:30
Charles Haley 479e9a46ec Enhancement #1929322: Move setting for Virtual library to apply when the current library is opened 2021-05-23 13:24:12 +01:00
Kovid Goyal 259f1c2471 Handle double clicks in entire scroll area not just on image 2021-05-23 13:03:35 +05:30
Kovid Goyal b097ecce99 Allow using keys on delete confirmation popup 2021-05-23 10:54:03 +05:30
Kovid Goyal ef11d26921 Fix #1929300 [[Enhancement] Add a Clear button to clear the tab Advanced search of the Advanced search window](https://bugs.launchpad.net/calibre/+bug/1929300) 2021-05-23 08:03:29 +05:30
Kovid Goyal bf9248ddea Edit book: Fix a regression in 5.18 that broke editing/creating saved searches. Fixes #1929267 [Editing any 'Saved Seach' will result in an error](https://bugs.launchpad.net/calibre/+bug/1929267) 2021-05-22 15:07:28 +05:30
Kovid Goyal dfb86551f8 PDF Output: Fix font kerning issues with some TrueType fonts. Fixes #1929240 [Kerning problems with generated pdf](https://bugs.launchpad.net/calibre/+bug/1929240)
Preserve glyph ids when merging font copies in the PDF. Also merge the
glyph metrics tables, not just the shape tables.
2021-05-22 09:02:15 +05:30
Kovid Goyal d696927d7e Nicer font names printout 2021-05-22 08:59:11 +05:30
Kovid Goyal 4cbf6ab7fd Implement update for sfnt metrics tables
Also fix reading of bearings for fonts that have fewer advances than
glyphs
2021-05-22 08:56:18 +05:30
Kovid Goyal 01666d4fff Code to get font names from sfnt container object 2021-05-22 06:47:22 +05:30
Kovid Goyal 23c65a4de9 WPD driver: Ignore failures to enum objects
It should hopefully just mean that the directory sub-tree is not
traveresed, but the rest of the files are still scanned.
2021-05-22 06:20:02 +05:30
Kovid Goyal a2bb6f338e Remove old Changelog entries 2021-05-21 18:48:02 +05:30
Kovid Goyal 1a1149e8bd String changes 2021-05-21 18:36:54 +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 c62f144bd7 Dont show border on parent elements when hovering over child elements 2021-05-21 11:53:59 +05:30
Kovid Goyal b131d9226d ToC Editor: Fix a regression that broke choosing split points in some XHTML files 2021-05-21 11:43:46 +05:30
Kovid Goyal cb26ac2e1d version 5.18.0 v5.18.0 2021-05-21 07:15:14 +05:30
Kovid Goyal 4f6763624b Make link in DRM error dialog localized 2021-05-21 07:07:19 +05:30
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