42820 Commits

Author SHA1 Message Date
Kovid Goyal
f2d92d2060
E-book viewer: Fix errors when viewing books with mathematics that are split over multiple internal files. Fixes #1919033 [Unhandled mathjax loading related error in Viewer](https://bugs.launchpad.net/calibre/+bug/1919033) 2021-03-16 12:18:27 +05:30
Kovid Goyal
de1dfc28e5
string changes 2021-03-16 12:02:01 +05:30
Kovid Goyal
7c97efd19c
Only show loading finished time on initial load 2021-03-16 11:56:58 +05:30
Kovid Goyal
60229b0a9c
Add a flush 2021-03-16 11:04:14 +05:30
Kovid Goyal
a8619a5967
Conversion: Fix a hang caused by long sequences of non-word characters when heuristics are enabled, either explicitly or for some input formats such as TXT. Fixes #1919260 [Some magic text takes forever to convert](https://bugs.launchpad.net/calibre/+bug/1919260) 2021-03-16 08:38:59 +05:30
Kovid Goyal
32f2742e42
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-15 20:51:24 +05:30
Charles Haley
2de31650e3 More Bug #1919128: Template: Sometimes returns device name after eject.
The previous fix didn't work for programmatically ejected unmanaged and standard devices
2021-03-15 15:10:57 +00:00
Kovid Goyal
58318f17a4
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-15 19:01:21 +05:30
Charles Haley
4b67f7cc1d Template language manual improvements. 2021-03-15 13:24:41 +00:00
Kovid Goyal
33862320fd
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1919128 [Template: Sometimes returns device name after eject](https://bugs.launchpad.net/calibre/+bug/1919128)
2021-03-15 18:23:08 +05:30
Charles Haley
cb15c57844 Bug #1919128: Template: Sometimes returns device name after eject.
The bug seems limited to fetching device information during processing of device.DeviceSignals.device_connection_changed(False)
2021-03-15 12:41:01 +00:00
Kovid Goyal
1913e39321
Sanitize replacement strings 2021-03-15 16:38:11 +05:30
Kovid Goyal
b7c61728ac
Fix a regression in calibre 5 that broke setting metadata in RTF files
py3 compat
2021-03-15 16:24:50 +05:30
Kovid Goyal
773eb3ee9f
Also add shortcuts to extend selection by para
And rationalize the selection shortcuts
2021-03-15 14:24:24 +05:30
Kovid Goyal
84810e6777
Make the destructive shortcuts mode sensitive 2021-03-15 12:02:54 +05:30
Kovid Goyal
0e4dfc25a2
Micro optimization 2021-03-15 11:45:41 +05:30
Kovid Goyal
95ef1423d4
start_cfi startswith / so dont create a double slash
Also fix tests for highlight sorting
2021-03-15 11:44:00 +05:30
Kovid Goyal
6595e00a19
... 2021-03-15 11:31:02 +05:30
Kovid Goyal
f0ac7c0653
DRYer 2021-03-15 11:29:52 +05:30
Kovid Goyal
bc84d139af
Content server viewer: Fix highlights not sorted correctly in the highlights panel. Fixes #1918436 [Highlights in viewer are not sorted correctly](https://bugs.launchpad.net/calibre/+bug/1918436) 2021-03-15 11:26:37 +05:30
Kovid Goyal
c44bd3f94c
Content server: Allow swiping left and right to show next/previous book on the book details page. Fixes #1918047 [[Enhancement - Content server] Make it possible to go to previous/next book by swiping in the Book details page](https://bugs.launchpad.net/calibre/+bug/1918047) 2021-03-15 10:53:26 +05:30
Kovid Goyal
3eb5877ba5
DRYer 2021-03-15 10:25:38 +05:30
Kovid Goyal
f4fc7c4259
Viewer: Also add shortcuts for modifying selection with character granularity 2021-03-15 08:32:10 +05:30
Kovid Goyal
a2650969a9
... 2021-03-14 20:11:00 +05:30
Kovid Goyal
f034a62ec2
Fix user manual rendering for non-existent languages 2021-03-14 20:05:55 +05:30
Kovid Goyal
99f86498c0
E-book viewer: Make the commonly used shift+arrow key shortcuts for modifying selections using the keyboard work
Fixes #1919072 [[Enhancement - Viewer] Change which text is selected using Shift+arrow keys](https://bugs.launchpad.net/calibre/+bug/1919072)
2021-03-14 19:15:57 +05:30
Kovid Goyal
a164265c90
E-book viewer: Allow pressing the delete key to delete the currently selected highlight. 2021-03-14 10:55:06 +05:30
Kovid Goyal
264f6ef885
Move Journal of Accountancy to plain English 2021-03-14 10:50:31 +05:30
Kovid Goyal
29f798a94a
Forgot to use standard titlebar for viewer preferences 2021-03-14 10:50:26 +05:30
Kovid Goyal
786e738b1a
Track output position on every token 2021-03-12 18:48:45 +05:30
Kovid Goyal
1dc5178685
... 2021-03-12 17:57:52 +05:30
Kovid Goyal
0d9845fe0c
string changes 2021-03-11 21:48:10 +05:30
Kovid Goyal
3b87094f70
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-11 20:07:13 +05:30
Charles Haley
3dd617a5f1 Fix some dropdown lists in Preferences / Searching. 2021-03-11 14:32:32 +00:00
Kovid Goyal
bf13025b28
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-11 19:52:46 +05:30
Charles Haley
48c00fd9f7 Correct problem where the booklist doesn't refresh after changing/adding/deleting a vl name. Clearing the cache isn't sufficient.
This problem isn't related to the new cache. It has been there for a long time
2021-03-11 14:09:42 +00:00
Kovid Goyal
b852195a2c
Clear new VL cache when changing the set of virtual libraries 2021-03-11 19:31:15 +05:30
Kovid Goyal
b7fba0b40e
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1918428 [Match books  infinite loop and then crash calibre](https://bugs.launchpad.net/calibre/+bug/1918428)
2021-03-11 18:23:13 +05:30
Charles Haley
080f9226d9 Bug #1918428: virtual_libraries() performance improvement 2021-03-11 12:34:50 +00:00
Kovid Goyal
b2551d986e
Fix #1918581 [Device View: Column header tooltip doesn't render italics](https://bugs.launchpad.net/calibre/+bug/1918581) 2021-03-11 12:29:40 +05:30
Kovid Goyal
21d24177c6
Fix #1905257 [ebook-viewer: "Not a unicode string" when searching table of contents](https://bugs.launchpad.net/calibre/+bug/1905257) 2021-03-11 09:19:26 +05:30
Kovid Goyal
da779f6f2f
Dont use eval() to generate ICU functions
Instead use the python3 nonlocal feature to generate cell functions
Performance is better and code is simpler.
2021-03-11 09:13:42 +05:30
Kovid Goyal
611613681f
Only use workaround if boundingrect is actuall negative topped 2021-03-11 08:15:58 +05:30
Kovid Goyal
2ad7fdc33f
E-book viewer: In paged mode, fix scrolling not working correctly when margins are set to zero. Fixes #1918105 [back keyboard shortcut not working [solved]](https://bugs.launchpad.net/calibre/+bug/1918105) 2021-03-10 22:54:10 +05:30
Kovid Goyal
f38ac80991
Add a reference to the bug 2021-03-10 22:39:31 +05:30
Kovid Goyal
537efd11b1
E-book viewer: Fix incorrect toc navigation in books that link the entries to inline tags that wrap block tags that span multiple pages. Fixes #1918437 [Book reader incorrectly go to table of contents items](https://bugs.launchpad.net/calibre/+bug/1918437) 2021-03-10 22:37:42 +05:30
Kovid Goyal
7b77ab672b
String changes 2021-03-10 18:22:27 +05:30
Kovid Goyal
cbd1c42865
E-book viewer: Allow using shift+click to extend selections. Fixes #1918251 [E-book viewer selection broken](https://bugs.launchpad.net/calibre/+bug/1918251) 2021-03-10 13:19:35 +05:30
Kovid Goyal
8d244b4a45
string changes 2021-03-10 12:26:18 +05:30
Kovid Goyal
baa6524c0f
string changes 2021-03-10 10:28:20 +05:30