Commit Graph

46514 Commits

Author SHA1 Message Date
Kovid Goyal be4e875706 Improve the highlight deletion confirmation message to show some text from the highlight and mention if the highlight has associated notes 2023-02-02 15:23:20 +05:30
Kovid Goyal 3b9fd595b4 When updating metadata in EPUB 2 files and no language is specified, do not remove the <dc:language> tag as this causes epubcheck to complain. Instead set the language to "und". Fixes #2004522 [sendtokindle fails after editing](https://bugs.launchpad.net/calibre/+bug/2004522) 2023-02-02 15:01:34 +05:30
Kovid Goyal 4684c87497 Fix chunking 2023-02-02 12:56:38 +05:30
Kovid Goyal 6bd4c506bb Fix changing sound output not working 2023-02-02 12:43:10 +05:30
Kovid Goyal f464c71d61 Use SpeechError not KeyError for failure to find device/voice 2023-02-02 12:38:47 +05:30
Kovid Goyal c19ce27025 Fix sound output retention in config dialog 2023-02-02 12:36:56 +05:30
Kovid Goyal eec97a8ec9 DRYer 2023-02-02 12:09:33 +05:30
Kovid Goyal e872e7588b Get speaking rate changes working 2023-02-02 11:51:36 +05:30
Kovid Goyal c8e9f33736 Port config to winspeech 2023-02-02 11:22:46 +05:30
Kovid Goyal f64b9e3e2c Dont block UI while waiting for speech to start 2023-02-01 22:39:53 +05:30
Kovid Goyal 0b9d30a725 Rename the windows sapi config module as well 2023-02-01 21:33:21 +05:30
Kovid Goyal eef892a90f Basic speech seems to work 2023-02-01 21:30:06 +05:30
Kovid Goyal 78d890c925 Work on integrating winspeech 2023-02-01 20:29:46 +05:30
Kovid Goyal 438cf020e3 Rename old SAPI implementation 2023-02-01 13:08:18 +05:30
Kovid Goyal 6ad92cbf11 Only run the HTML file size check on EPUB files 2023-02-01 08:44:58 +05:30
Kovid Goyal 5e758211f1 Viewer: use an inch as the limit for the back tap zone rather than 100px 2023-01-31 19:59:35 +05:30
Kovid Goyal 31b0c321fc DRYer 2023-01-31 19:26:42 +05:30
Kovid Goyal 33b7c80e29 Fix #2003906 [Auto-add with duplicate detection messes with FileTypePlugins](https://bugs.launchpad.net/calibre/+bug/2003906) 2023-01-31 15:29:41 +05:30
Kovid Goyal 5cc00e504a postadd plugins should not be called with None book_id when a dupe is found 2023-01-31 15:23:00 +05:30
Kovid Goyal bd960fa84d ... 2023-01-31 12:25:14 +05:30
Kovid Goyal d2158d75b9 string changes 2023-01-31 12:24:18 +05:30
Kovid Goyal 8095b33d09 Also avoid the lock when getting the cover 2023-01-30 20:41:31 +05:30
Kovid Goyal 878d93327e Fix #2004167 [Bug in calibre.db.cache when run from source code](https://bugs.launchpad.net/calibre/+bug/2004167) 2023-01-30 20:39:37 +05:30
Kovid Goyal f0f4d95202 Parse winspeech messages into python tuples and enums 2023-01-30 20:21:46 +05:30
Kovid Goyal ff0766bda0 Boston Globe Print Edition by unkn0wn 2023-01-30 14:15:28 +05:30
Kovid Goyal 479f9fe9ee Update LiveMint 2023-01-30 14:13:31 +05:30
Kovid Goyal 8939c81399 Implement audio device control 2023-01-29 19:33:25 +05:30
Kovid Goyal 20de91c75e Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #2004083 [wireless device connection waiting time is too short](https://bugs.launchpad.net/calibre/+bug/2004083)
2023-01-29 15:24:36 +05:30
Kovid Goyal ad9cf1b0f6 Code to set the voice and audio device 2023-01-29 15:23:23 +05:30
Charles Haley 28b49c7e3e Enhancement #2004083: wireless device connection waiting time is too short
Removed the timer.
2023-01-29 09:47:36 +00:00
Kovid Goyal e8f07e273b Revoke on exit 2023-01-29 15:15:25 +05:30
Kovid Goyal 20d3b0798d Remove redundant includes 2023-01-29 15:04:05 +05:30
Kovid Goyal cf0cc595b6 Refactor speech code to make it simpler and hopefully more robust
Also get rid of the catch macro
2023-01-29 14:58:54 +05:30
Kovid Goyal 356091be76 Use a handler dict to dispatch commands 2023-01-29 12:56:53 +05:30
Kovid Goyal 5eb1e106a8 Command to output all audio devices 2023-01-29 12:05:05 +05:30
Kovid Goyal e006a23b70 Controls for playback state 2023-01-29 10:40:22 +05:30
Kovid Goyal 356af928ac Implement control for pitch 2023-01-28 14:07:46 +05:30
Kovid Goyal 9dd2b16fe9 Use std::array instead of C array 2023-01-28 13:52:15 +05:30
Kovid Goyal 32155c172c Allow interleaved waits in develop_loop 2023-01-28 13:39:08 +05:30
Kovid Goyal 46731246c6 ... 2023-01-28 13:33:53 +05:30
Kovid Goyal dd13c03bfc No need to store outfile just open it when needed 2023-01-28 13:31:36 +05:30
Kovid Goyal 8b31293600 ... 2023-01-28 13:22:54 +05:30
Kovid Goyal ae3c33ec8c Implement rate control 2023-01-28 13:01:21 +05:30
Kovid Goyal 96de7a653d Set volume on synthesizer rather than player so it works for save as well 2023-01-28 12:44:42 +05:30
Kovid Goyal 6e9c4e0bb9 Saving to WAV kinda works though audio is very distorted 2023-01-28 12:38:43 +05:30
Kovid Goyal 467af44edb Niceties for getting the last error on windows 2023-01-28 12:21:34 +05:30
Kovid Goyal 795c4c6061 Work on saving speech to WAV 2023-01-27 22:16:01 +05:30
Kovid Goyal f0ee3506d7 Keep all the speak related functions together in a block 2023-01-27 21:21:04 +05:30
Kovid Goyal 88e2331f63 Hack to get mark reporting working
Since Microsoft dont seem to have implemented support for SSML bookmarks
or at least I cant get it to work, use the word cue events. When it
fires report any surpassed or closeby mark.
2023-01-27 21:06:20 +05:30
Kovid Goyal d2983fef22 Merge branch 'master' of https://github.com/cbhaley/calibre 2023-01-27 19:47:33 +05:30