32786 Commits

Author SHA1 Message Date
Kovid Goyal
ce0a57b69e
Get basic TTS playback working in browser viewer
Sadly, there is no support for marking words, so highlighting the
currently spoken word will require gymnastics.
2020-12-03 19:56:08 +05:30
Kovid Goyal
5c9e597fb3
Use the new PyQt scoped enums 2020-12-03 09:17:37 +05:30
Kovid Goyal
c420493507
Basic marking of words during TTS playback works 2020-12-02 22:46:56 +05:30
Kovid Goyal
0e4606ff2b
Fix #1906538 [Private bug](https://bugs.launchpad.net/calibre/+bug/1906538) 2020-12-02 21:54:42 +05:30
Kovid Goyal
1e1aedbe41
Micro-optimization 2020-12-02 12:10:59 +05:30
Kovid Goyal
707579fa4c
Book list: Improve rendering of column headers when they dont fit, by eliding them instead of just cutting off rendering. Fixes #1906464 [Enhancement Request: Ability to hide specific column headers in book list](https://bugs.launchpad.net/calibre/+bug/1906464) 2020-12-02 07:32:03 +05:30
Kovid Goyal
e38ae0e58e
Fix configure metadata source widget not useable on small screens 2020-12-02 06:59:48 +05:30
Kovid Goyal
a67fb90335
AZW3 Input: Fix a regression in calibre 5 that broke processing of files with inline flow replacements. Fixes #1906459 [Private bug](https://bugs.launchpad.net/calibre/+bug/1906459) 2020-12-02 06:09:43 +05:30
Kovid Goyal
7c5abc873e
Be a bit more robust against external software messing with files in the library folder 2020-12-01 08:12:32 +05:30
Kovid Goyal
bfedab34b8
Dont fail to start up if there are errors in the translation file 2020-12-01 07:36:39 +05:30
Kovid Goyal
18c97430bb
Remove unused code 2020-11-30 16:45:00 +05:30
Kovid Goyal
3d7fb47592
Port simple and completion workers to use Pipe 2020-11-30 14:45:49 +05:30
Kovid Goyal
064c66804b
Get piping working on windows as well 2020-11-30 13:39:51 +05:30
Kovid Goyal
35cbca3dad
Port ipc.pool to use Pipe 2020-11-30 13:21:44 +05:30
Kovid Goyal
6ad91a2ee4
Start work on making IPC more efficient
Use multiprocessing.Pipe instead of using named pipes and establishing
authenticated communication. Also avoids workers depending on a named
object of any kind. Particularly relevant on macOS where the OS tends to
delete things from under us.
2020-11-30 11:40:53 +05:30
Kovid Goyal
9c1f6974f4
DRYer 2020-11-30 11:12:28 +05:30
Kovid Goyal
9eb13264aa
Remove unnecessary use of lock 2020-11-30 11:07:58 +05:30
Kovid Goyal
d0f617307f
Use monotonic for worker launch time tracking 2020-11-30 11:04:22 +05:30
Kovid Goyal
b54aff0383
Ensure result file is always written 2020-11-30 11:02:28 +05:30
Kovid Goyal
bbb6ad3c32
macOS: Move creation of sockets to cache dir as Apple likes to delete things from /tmp 2020-11-30 10:21:57 +05:30
Kovid Goyal
4d9ea316e1
Keyboard shortcuts for read aloud mode 2020-11-29 14:12:17 +05:30
Kovid Goyal
1fdef796ba
Move TTS UI logic into its own module 2020-11-29 13:51:59 +05:30
Kovid Goyal
eaccc523af
More work on Read Aloud 2020-11-29 13:42:29 +05:30
Kovid Goyal
4fd521a88b
Start work on Read aloud mode 2020-11-29 08:44:13 +05:30
Charles Haley
ab261d43fa Bug #1906063: regression: template function first_non_empty fails if no argument evaluates non-empty 2020-11-28 10:00:05 +00:00
Kovid Goyal
da172232bb
Fix #1906093 [Error: No books selected when I trying to open the Edit metadata window](https://bugs.launchpad.net/calibre/+bug/1906093) 2020-11-28 13:41:49 +05:30
Kovid Goyal
5e12d32755
PDF Output: Manually subset fonts to workaound https://bugreports.qt.io/browse/QTBUG-88976 2020-11-28 11:26:45 +05:30
Kovid Goyal
4fb58f192e
PDF Output: Fix a regression in the previous release that broke text rendering for some fonts due to a change in how Chromium embeds fonts in PDF files. Fixes #1905967 [Printing to PDF is unreadable](https://bugs.launchpad.net/calibre/+bug/1905967) [Printing to PDF is unreadable](https://bugs.launchpad.net/calibre/+bug/1905967)
Underlying bug causing this:
https://bugreports.qt.io/browse/QTBUG-88976
2020-11-27 22:45:03 +05:30
Kovid Goyal
c74b3fc4b7
... 2020-11-27 21:17:03 +05:30
Kovid Goyal
155a97549a
Some icons for menu entries 2020-11-27 16:47:03 +05:30
Kovid Goyal
c849f1fc68
version 5.6.0 2020-11-27 08:23:41 +05:30
Kovid Goyal
52bcb3f580
SHow shortcut for open edit metadata window 2020-11-27 08:19:25 +05:30
Kovid Goyal
257665e473
Edit book: Fix syntax highlighting not recognizing ends-with selectors. Fixes #1905806 [[Editor] CSS selector "ends with" not recognized](https://bugs.launchpad.net/calibre/+bug/1905806) 2020-11-27 08:15:25 +05:30
Kovid Goyal
cc5bc58856
Ensure popup never gets focus 2020-11-26 21:45:00 +05:30
Kovid Goyal
f99b535714
String changes 2020-11-26 19:40:32 +05:30
Kovid Goyal
033ba41906
Fix #1905713 [Focus the book list shortcut changes how arrow keys selects books in Cover grid](https://bugs.launchpad.net/calibre/+bug/1905713) 2020-11-26 16:52:25 +05:30
Kovid Goyal
7b7bcd6468
Fix #1903270 [[Enhancement] Add ability to undo Generate cover in the Edit metadata screen](https://bugs.launchpad.net/calibre/+bug/1903270) 2020-11-26 16:43:12 +05:30
Kovid Goyal
15edcbfdb8
Device books view: Add an action to the context menu to easily jump to the matching book in the calibre library view. Fixes #1903418 [Enhancement Request: Device view - book details window shows info from matching book in library](https://bugs.launchpad.net/calibre/+bug/1903418) 2020-11-26 14:58:23 +05:30
Kovid Goyal
0d4e4abf5d
Fix #1905429 [Prompt before deleting metadata in the Book details panel/window](https://bugs.launchpad.net/calibre/+bug/1905429) 2020-11-26 09:09:37 +05:30
Kovid Goyal
b8fa93cbf7
Remove View history from plugin updater context menu 2020-11-26 08:35:47 +05:30
Kovid Goyal
8c5869dfc7
Edit book: Show up unobtrusive popup for a few seconds to allow undoing file delete operations 2020-11-26 08:02:10 +05:30
Kovid Goyal
1b81fdf35e
Add an edit notes action to the context menu in the viewer highlights panel. See #1905646 (Can not use input method to write the note) 2020-11-26 07:40:47 +05:30
Kovid Goyal
18a8ecd534
Move beep to UI componenent rather than boos, since that's where it belongs 2020-11-25 22:09:33 +05:30
Kovid Goyal
99032d9102
Edit book: Beep when deleting files 2020-11-25 21:32:27 +05:30
Kovid Goyal
2959f98698
Fix pyrcytodome not useable on macOS and Linux 2020-11-25 20:57:14 +05:30
Kovid Goyal
3d89c98110
Fix #1904363 [[Enhancement - Content server] Show size as MB in the Book details page](https://bugs.launchpad.net/calibre/+bug/1904363) 2020-11-25 17:18:00 +05:30
Kovid Goyal
4bafec703d
Content server viewer: Allow viewing images in a new window by right clicking them, matches the calibre builtin viewer behavior. Fixes #1903333 [[Enhancement - Content server viewer] Ability to view image](https://bugs.launchpad.net/calibre/+bug/1903333) 2020-11-25 17:11:57 +05:30
Kovid Goyal
b6b1af097b
DOCX Input: When converting images placed using the obsolete VML markup default them to being inline rather than block images. Fixes #1905319 [Centered images aren't centered after conversion](https://bugs.launchpad.net/calibre/+bug/1905319)
Also seems to match Word behavior.
2020-11-25 16:24:17 +05:30
Kovid Goyal
635337068e
Metadata edit dialog: Fix keyboard shortcuts for bold/italic/underline not workining when more than one comments editor widget is present on a single tab. Fixes #1905479 [Edit Metadata: Non-default layout and custom longtext column breaks formatting shortcuts](https://bugs.launchpad.net/calibre/+bug/1905479) 2020-11-25 09:14:47 +05:30
Kovid Goyal
56e0fc69fb
Fix #1904392 [[Enhancement] Add ability to remove author by right clicking in the Book details panel](https://bugs.launchpad.net/calibre/+bug/1904392) 2020-11-24 21:29:55 +05:30