33789 Commits

Author SHA1 Message Date
Kovid Goyal
d6840d6d55
Revert the change to ignore objects for which EnumObjects() fails
Causing crashes elsewhere. Instead retry with a sleep. Also report the
object id for the failing object in the error message.
2021-05-29 09:59:02 +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
ae21888f90
version 5.19.0 2021-05-28 06:23:11 +05:30
Kovid Goyal
1ddac886a4
E-book viewer: Fix regression in 5.15 that caused incorrect display of font sizes that contain a period and use absolute units. Fixes #1929862 [Font size transformed incorrectly](https://bugs.launchpad.net/calibre/+bug/1929862) 2021-05-28 06:13:43 +05:30
Kovid Goyal
eeb4e069ab
pep8 2021-05-27 12:53:30 +05:30
Kovid Goyal
1575a29101
Fix #1929462 [Private bug](https://bugs.launchpad.net/calibre/+bug/1929462) 2021-05-26 22:15:36 +05:30
Kovid Goyal
f9cfc4d6a0
Add support for rich text in details message in info boxes 2021-05-26 22:02:39 +05:30
Kovid Goyal
e8b97d4b70
... 2021-05-26 21:48:55 +05:30
Kovid Goyal
35f6717ae1
Workaround for people that create symlinks without file extensions to files with file extensions.
Fixes #1929719
2021-05-26 20:34:07 +05:30
Kovid Goyal
e1a3458c51
Make communication with toc editor process more robust
A crash on dialog close no longer affects writing the result. And avoid
using the racy lock files for ipc.
2021-05-25 22:11:19 +05:30
Kovid Goyal
2c802b7839
Fix #1929465 [Plucker code Python 2 issues](https://bugs.launchpad.net/calibre/+bug/1929465) 2021-05-25 08:12:15 +05:30
Kovid Goyal
b9899d94ef
Fix #1929463 [[Enhancement] Use the same hyphen in the Preferences windows as in the main titlebar](https://bugs.launchpad.net/calibre/+bug/1929463) 2021-05-25 08:06:41 +05:30
Kovid Goyal
aebe0f1f86
py3 compat: Fix sorting in spell check dialog on language broken for books that have unknown languages 2021-05-24 17:02:13 +05:30
Kovid Goyal
bf119f0cf1
Test all_annotations_for_book() 2021-05-24 08:49:24 +05:30
Kovid Goyal
3106b4eb4b
Annotations browser: Fix a typo that broke sorting for highlights 2021-05-24 08:36:53 +05:30
Kovid Goyal
6a0f5a3580
Annotations browser: When showing a highlight preserve paragraph boundaries for multi-paragraph highlights. Fixes #1909730 [Enhancement Request: Render newlines in Annotation Browser.](https://bugs.launchpad.net/calibre/+bug/1909730) 2021-05-24 08:20:37 +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
e74e14fdb0
Viewer highlights panel: Fix the "Edit notes" link not saving the changes 2021-05-23 21:40:28 +05:30
Kovid Goyal
3e633713d9
Report afilure to gather metadata for dirtied books 2021-05-23 20:50:42 +05:30
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
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
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
cb26ac2e1d
version 5.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