Commit Graph

42181 Commits

Author SHA1 Message Date
Kovid Goyal 16bea2db9d Add numbers to the word regex 2020-12-10 22:54:22 +05:30
Kovid Goyal eedd6c7751 TTS: Fix word segmentation not working with non-ascii chars because JavaScript's regex engine has a non-unicode aware \w operator 2020-12-10 22:43:56 +05:30
Kovid Goyal 08d7840d21 Document the read aloud function 2020-12-10 22:12:30 +05:30
Kovid Goyal 9e74f75bee Make drawing of annotations existence dot more robust in annots browser 2020-12-10 21:51:02 +05:30
Kovid Goyal d129c3b2a5 Fix #1906791 [Look & Feel rules editors: Selecting multiple entries in menu editor only moves one](https://bugs.launchpad.net/calibre/+bug/1906791) 2020-12-10 21:34:03 +05:30
Kovid Goyal 20518c297b Windows: Use NFC normalized unicode text for the SAPI engine 2020-12-10 20:48:57 +05:30
Kovid Goyal bbe90a3cb2 Fix hiding and showing book details panel changes its size by a pixel or two. Fixes #1906149 [Book Detail panel becomes narrower when open and closed a number of times.](https://bugs.launchpad.net/calibre/+bug/1906149) 2020-12-10 20:25:22 +05:30
Kovid Goyal 597c40a602 cleanup 2020-12-10 20:11:06 +05:30
Kovid Goyal 7d3666c9e9 ... 2020-12-10 18:27:57 +05:30
Kovid Goyal aee6c47f99 ... 2020-12-10 18:26:44 +05:30
Kovid Goyal 8d4bc69a8d TTS: fix inter-word punctuation being ignored 2020-12-10 18:24:59 +05:30
Kovid Goyal 628faf593a Get books: Fix amazon.fr not working because of website changes. Fixes #1907067 [No books from Amazon.fr](https://bugs.launchpad.net/calibre/+bug/1907067) 2020-12-10 16:33:04 +05:30
Kovid Goyal 9c6acb0550 DRYer 2020-12-10 12:13:10 +05:30
Kovid Goyal b14ab0351b PDF Output: Fix conversion failing when adding header/footer and the input document defines margins/padding on the <html> tag. Fixes #1905736 [PDF conversion fails - number of header/footer pages](https://bugs.launchpad.net/calibre/+bug/1905736) 2020-12-10 12:11:36 +05:30
Kovid Goyal 706e229558 Implement TTS speed buttons in browser viewer 2020-12-10 11:34:06 +05:30
Kovid Goyal 21eb7a9dcd TTS speed buttons now work on windows 2020-12-10 11:19:33 +05:30
Kovid Goyal e86b505350 Speed buttons now work on macOS
And for some reason didFinishSpeaking has started working again.
2020-12-10 10:13:02 +05:30
Kovid Goyal b10a85e948 ... 2020-12-10 09:35:50 +05:30
Kovid Goyal 52e855b130 Add slower and faster buttons to the TTS bar 2020-12-10 08:59:50 +05:30
Kovid Goyal fbde6307c3 Configuration of TTS in browser viewer now works 2020-12-09 22:02:34 +05:30
Kovid Goyal a5eca3843b More stupid PyQt enums 2020-12-09 20:58:05 +05:30
Kovid Goyal e0ea8ebc5b Start work on tts config for browser viewer 2020-12-09 20:27:15 +05:30
Kovid Goyal c60d00db24 Add a note about the PDF subsetting Qt bug 2020-12-09 13:18:18 +05:30
Kovid Goyal ca99d9bd1e Make testing for calibre:// matching current db more robust 2020-12-09 10:02:19 +05:30
Kovid Goyal b3cd2a15a0 Windows: Fix the case of library names in copied calibre:// links sometimes incorrect. Fixes #1907159 [Casing in calibre:\\ links](https://bugs.launchpad.net/calibre/+bug/1907159) 2020-12-09 09:36:10 +05:30
Kovid Goyal 79fba89f32 More stupid PyQt enums 2020-12-09 08:40:21 +05:30
Kovid Goyal 0c389a57ba Fix QListView::Flow 2020-12-09 08:08:09 +05:30
Kovid Goyal fe45cb1111 String changes 2020-12-09 08:03:10 +05:30
Kovid Goyal 70e383ccbf More stupid PyQt enums 2020-12-08 20:42:41 +05:30
Kovid Goyal 89304c2e17 More stupid PyQt enums 2020-12-08 20:24:41 +05:30
Kovid Goyal 23a324c643 More stupid PyQt enums 2020-12-08 20:06:12 +05:30
Kovid Goyal 235b22bb69 More stupid PyQt enums 2020-12-08 20:01:09 +05:30
Kovid Goyal dc10461cba More stupid PyQt enums 2020-12-08 19:26:51 +05:30
Kovid Goyal 2b69620c51 Add a note 2020-12-08 19:17:13 +05:30
Kovid Goyal f45278507e Try to fix failing tests
Ignore errors during server __exit__ and bump ubuntu version
Also retry all failing server tests once.
2020-12-08 17:50:54 +05:30
Kovid Goyal bf61d37d72 Merge branch 'master' of https://github.com/cbhaley/calibre
Edit metadata: Add buttons to easily set yes/no fields also shortcut to
clear the field. Fixes #1907140 [Enhancement Request: Keyboard shortcut for undefined bools](https://bugs.launchpad.net/calibre/+bug/1907140)
2020-12-08 15:48:37 +05:30
Charles Haley ef49efce43 Enhancement #1907140: add keyboard shortcut for undefined bools.
Also:
- In bulk edit added tool buttons to set bools to True or False
- In single edit changed the buttons on bools from text to icons
2020-12-08 10:06:32 +00:00
Kovid Goyal ac18ccf474 Handle quit shortcut in tts mode 2020-12-08 14:28:07 +05:30
Kovid Goyal 8e2c9b5927 Fix pause and resume semantics after configuration on windows TTS 2020-12-08 14:25:36 +05:30
Kovid Goyal 92007117bc Remove unneeded code
Thanks to bufferring we dont need to mess with log filtering levels
anymore
2020-12-08 14:19:43 +05:30
Kovid Goyal 4a8baa5fec Dont reset control connection
This can lead to missed events, and really the connection dying should
be fatal
2020-12-08 13:05:25 +05:30
Kovid Goyal b2f67dd3e0 ... 2020-12-08 12:22:38 +05:30
Kovid Goyal 6fd86b937e Sadly it doesnt help 2020-12-08 12:16:14 +05:30
Kovid Goyal b28c79f6bb Lets see if resetting the broken control connection fixes the test on Ubuntu as well 2020-12-08 12:03:45 +05:30
Kovid Goyal 593eeaf9ea Retry on broken pipe when writing to control 2020-12-08 10:24:09 +05:30
Kovid Goyal 62a0bdad07 Use a pipe rather than a socketpair on Unix
Might fix the test failure issues, who knows
On windows, we have to use a socketpair since pipes
dont work with select
2020-12-08 10:13:29 +05:30
Kovid Goyal e5a5065934 Remove unused code
As of python 3.5 socket_pair is supported on windows as well
2020-12-08 09:37:57 +05:30
Kovid Goyal 2375f1c295 ... 2020-12-08 09:32:27 +05:30
Kovid Goyal 1ee3c0fdd6 Turn on bufferring for the test suite
Allows for more verbose server logging
2020-12-08 09:23:32 +05:30
Kovid Goyal beadc4384f Bulk metadata search/replace: Fix text transform function not being applied to the test result in character mode 2020-12-08 08:35:14 +05:30