Commit Graph

42166 Commits

Author SHA1 Message Date
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
Kovid Goyal a47105b17a Disable ubuntu test runner
Server based tests are failing for no reason I can discern. Hopefully
Microsoft will fix whatever they broke eventually.
2020-12-08 08:08:53 +05:30
Kovid Goyal c839058b2b Skip test that is failing for unknown reason on Ubuntu 2020-12-07 22:01:32 +05:30
Kovid Goyal c702ca67e5 misc fixes 2020-12-07 21:35:23 +05:30
Kovid Goyal 26bbeabc43 make default name column widths narrower 2020-12-07 21:15:50 +05:30
Kovid Goyal a50c2db7ae Start work on windows tts config 2020-12-07 21:13:07 +05:30
Kovid Goyal 0e3bc56602 Simplify getting language display name on macOS 2020-12-07 17:01:23 +05:30
Kovid Goyal 644625d7d6 Also return the localized language name for SAPI voices 2020-12-07 16:48:33 +05:30
Kovid Goyal ed4a397de1 macOS: Workaround for Apple being unable to resume speech after changing the voice 2020-12-07 15:50:46 +05:30
Kovid Goyal c8306289f9 ... 2020-12-07 15:37:12 +05:30
Kovid Goyal a3d2870af1 macOS: Workaround for the OS not sending speak end events 2020-12-07 15:35:14 +05:30
Kovid Goyal 80256b2e49 sync values are unsigned int not unsigned long 2020-12-07 15:29:58 +05:30
Kovid Goyal 464c0a4f1a Handle no mark match better 2020-12-07 15:23:52 +05:30
Kovid Goyal 4f35428ff3 mark reference private 2020-12-07 15:10:18 +05:30
Kovid Goyal 8833cd2a30 Also resume talking if config dialog is canceled 2020-12-07 14:27:30 +05:30
Kovid Goyal a488ec951d Work on TTS config for macOS 2020-12-07 14:25:14 +05:30