Commit Graph
100 Commits
Author SHA1 Message Date
Reece H. Dunn 1d4fa18884 speak-ng: use the espeak-ng.c implementation in synchronous playback mode 2016-02-02 07:34:57 +00:00
Reece H. Dunn 1752b45a1f lv: rename the E and EE vowel files to avoid errors on case insensitive file systems (e.g. Windows) 2016-02-01 20:07:49 +00:00
Reece H. Dunn 211f103a69 Perform case insensitive comparisons for matching voice names. 2016-02-01 18:37:06 +00:00
Reece H. Dunn 55bd1764f4 Merge remote-tracking branch 'ValdisVitolins/master' 2016-01-31 21:55:40 +00:00
Reece H. Dunn 565548fffe Fix building 'my' (Burmese) on Windows. 2016-01-31 21:51:18 +00:00
Reece H. Dunn 83040bd560 MSI: install the phoneme, dictionary and voice data 2016-01-31 21:19:46 +00:00
Reece H. Dunn 07c12368d9 MSI: embed the cabinet file inside the msi installer 2016-01-30 21:48:00 +00:00
Reece H. Dunn 3b1f91352d MSI: moved the component definitions to the Directory elements 2016-01-30 20:13:41 +00:00
Reece H. Dunn a3f0fea725 MSI: only keep Ids on Directory and ComponentGroup elements 2016-01-30 19:49:32 +00:00
Reece H. Dunn 73f2f27606 MSI: give the components being installed GUIDs 2016-01-30 19:40:14 +00:00
Reece H. Dunn 1533c33c34 MSI: only allow one version (64-bit or 32-bit) to be installed 2016-01-30 19:37:14 +00:00
Reece H. Dunn 40f4089a78 MSI: replace tabs with spaces in Product.wxs 2016-01-30 19:35:17 +00:00
Reece H. Dunn 7a50cbcdcc MSI: set the Path registry value to the install directory 2016-01-30 18:51:27 +00:00
Reece H. Dunn f850179478 Initial WiX based installer for Windows to install libespeak-ng.dll and espeak-ng.exe. 2016-01-30 16:28:28 +00:00
Reece H. Dunn 1e76d38cb9 Build the 'mt', 'tn' and 'tt' language dictionaries. 2016-01-30 14:50:00 +00:00
Reece H. Dunn d326c8d720 Add dependencies to the intonation, phoneme and dictionary targets in data.vcxproj. 2016-01-30 14:19:55 +00:00
Reece H. Dunn dc87e7b775 Use a HAVE_MKSTEMP configure check instead of PLATFORM_POSIX. 2016-01-30 10:51:24 +00:00
Reece H. Dunn 0b187e217e Use the same logic when calling sox in readclause.c as compiledata.c for portability. 2016-01-30 10:46:56 +00:00
Reece H. Dunn b6f39edbf5 en: various pronunciation fixes 2016-01-30 09:16:17 +00:00
Reece H. Dunn 84c7972f7c Ignore the generated pkg-config file. 2016-01-29 05:50:41 +00:00
Reece H. Dunn 7e35f59abb el: support all polytonic Greek characters from U+1Fxx 2016-01-26 07:33:56 +00:00
Reece H. Dunn ca3d793ab6 el: restructure the polytonic Greek replace rules to make them easier to read (esp. when comparing with Unicode code charts). 2016-01-26 06:47:36 +00:00
Reece H. Dunn 04fe6cdc06 SAPI - Initialise espeak-ng in SetObjectToken. 2016-01-24 18:56:37 +00:00
Reece H. Dunn 7e33a3e4db SAPI - Improve the error logic in Get/SetObjectToken. 2016-01-24 18:56:37 +00:00
Reece H. Dunn 42e2422878 SAPI - Implement GetOutputFormat. 2016-01-24 18:56:37 +00:00
Reece H. Dunn fe3053f849 SAPI - Implement Get/SetObjectToken. 2016-01-24 18:56:37 +00:00
Reece H. Dunn bc0b445281 Create a skeleton SAPI TtsEngine COM object. 2016-01-24 18:56:37 +00:00
Reece H. Dunn 8ea1b39cba Group the espeak voices by the ISO 639-5 language family they belong to. 2016-01-23 20:53:50 +00:00
Reece H. Dunn 77b5f6a1c0 Use BCP 47 conformant language codes for the languages and accents. 2016-01-23 18:41:00 +00:00
Reece H. Dunn e8015df0f8 Remove the additional LoadVoice search heuristics.
These heuristics were designed to guess the location of the voice
files without searching the voice list. The heuristics are very
implementation dependent, and easily break when voices move around.
The voices are still found correctly, so these heuristics are
redundant.
2016-01-23 14:50:43 +00:00
Reece H. Dunn 7048ebdccf Provide skeleton DllGetClassObject and DllCanUnloadNow implementations. 2016-01-23 13:34:07 +00:00
Reece H. Dunn e963b54b6d Move strerror_r portability to a string.h compatibility shim. 2016-01-23 11:35:07 +00:00
Reece H. Dunn 23dd02fec8 Ignore *.vcxproj.user files. 2016-01-23 11:13:03 +00:00
Reece H. Dunn 527f2bc6b2 Add M_PI compatibility when using the msvc standard library. 2016-01-23 10:50:26 +00:00
Reece H. Dunn 2000c20212 Merge the error labels in pulse_open to simplify the logic. 2016-01-22 20:45:57 +00:00
Reece H. Dunn d7580eef70 Remove dead code in pulse_open(wave_pulse.c) -- o is always null when jumping to unlock_and_fail. [Coverity] 2016-01-22 20:43:10 +00:00
Reece H. Dunn 69355ed568 Fix a null pointer dereference in DoVoiceChange(synthesize.c). [Coverity] 2016-01-22 20:37:01 +00:00
Reece H. Dunn e74a0e4f53 Fix a null pointer dereference in create_espeak_pronunciation_list(espeak_command.c). [Coverity] 2016-01-22 20:31:12 +00:00
Reece H. Dunn 4ecdeefe4b Fix a null pointer dereference in LoadSpectSeq(spect.c). [Coverity] 2016-01-22 20:26:48 +00:00
Reece H. Dunn 5673065168 Fix a null pointer dereference in compile_rule(compiledict.c). [Coverity] 2016-01-22 20:22:24 +00:00
Reece H. Dunn a9adf136c6 Close stream on error paths in LoadSpectSeq(spect.c). [Coverity] 2016-01-22 20:17:08 +00:00
Reece H. Dunn 03fdc8bc31 Check fseek calls in CloseWavFile(espeak-ng.c). [Coverity] 2016-01-22 19:35:09 +00:00
Reece H. Dunn 7ea2cf784d Use the error.h API in LoadEnvelope and check more return values. [Coverity] 2016-01-22 07:31:34 +00:00
Reece H. Dunn ebb052a808 Use the error.h API in LoadSoundFile and check more return values. [Coverity] 2016-01-22 07:24:30 +00:00
Reece H. Dunn eaa0c9aa08 Fix truncated fgetc return value in main(espeak-ng.c). [Coverity] 2016-01-21 20:10:13 +00:00
Reece H. Dunn 4ec98f79a8 Fix truncated fgetc return value in LoadWavefile(compiledata.c). [Coverity] 2016-01-21 20:05:47 +00:00
Reece H. Dunn 02b7359b6a Fix a potential null pointer dereference in espeak_ng_SynthesizeMark. [Coverity] 2016-01-21 07:19:11 +00:00
Reece H. Dunn 6a4fc79078 Fix a potential null pointer dereference in espeak_ng_Synthesize. [Coverity] 2016-01-21 07:17:24 +00:00
Reece H. Dunn bfcdcc8bb6 Clean up the error handling logic in the espeak_command create_... APIs. 2016-01-20 23:31:59 +00:00
Reece H. Dunn 40a9a3d439 Remove logically dead code in pulse_open (success always 0 in this case). [Coverity] 2016-01-20 23:11:59 +00:00
Reece H. Dunn a6f6a337b1 Add a missing pthread_mutex_unlock call in fifo_add_commands. [Coverity] 2016-01-20 22:55:20 +00:00
Reece H. Dunn 23c1004dfc Update the CHANGELOG.md file. 2016-01-20 21:09:22 +00:00
Reece H. Dunn 960e075b8a Refer to C99 instead of C11 in the configure summary output. 2016-01-20 20:56:21 +00:00
Reece H. Dunn d51c8b97ee Use AM_CFLAGS instead of AM_CXXFLAGS. 2016-01-20 20:54:58 +00:00
Reece H. Dunn f09c83640b Fix GCC -Wnarrowing warnings. 2016-01-20 20:48:29 +00:00
Reece H. Dunn 86a9511553 Inline the calls to log in mbrowrap.c. 2016-01-20 20:39:37 +00:00
Reece H. Dunn 836ba71934 docs/voices.md cleanup 2016-01-20 20:30:52 +00:00
Reece H. Dunn bbd981efb8 Use malloc/strdup instead of Alloc. 2016-01-18 20:34:59 +00:00
Reece H. Dunn 325014da42 Use free instead of Free as free checks for NULL. 2016-01-18 20:23:51 +00:00
Reece H. Dunn 95c171831a Fix detecting if pulseaudio is running in audio=runtime mode. 2016-01-18 07:30:14 +00:00
Reece H. Dunn 4b61d38551 Use M_PI instead of PI. 2016-01-18 07:01:19 +00:00
Reece H. Dunn 188dd8084c timespec is not used in wave.c, so remove the compatibility definition 2016-01-18 06:47:28 +00:00
Reece H. Dunn dfa742abfa Remove the unused wave_test_get_write_buffer. 2016-01-17 13:46:37 +00:00
Reece H. Dunn c0d79709c4 Fix Windows includes (don't rely on speech.h). 2016-01-16 18:19:39 +00:00
Reece H. Dunn 7d900fb8b0 Remove includes from internal header files. 2016-01-16 18:05:17 +00:00
Reece H. Dunn 96c43f3eb2 Clean up the include files to make them consistent. 2016-01-16 17:54:39 +00:00
Reece H. Dunn 9a03414e99 Guard calls to the synth_callback function, as it might be NULL. 2016-01-16 11:47:27 +00:00
Reece H. Dunn 3d55519f27 Correct the usage of USE_ASYNC when async is disabled. 2016-01-16 10:27:18 +00:00
Reece H. Dunn 2a8c4461bd Use snprintf on all platforms (it is C99 conformant in Visual Studio 2015 and can be supported in the compatibility layer for older versions as needed). 2016-01-15 20:16:02 +00:00
Reece H. Dunn fa6f369329 Move the N_PATH_HOME declaration in speech.h to avoid a duplicate #ifdef check. 2016-01-15 19:43:44 +00:00
Reece H. Dunn 9c5820f72a Create an initial compatibility shim for unistd.h. 2016-01-15 07:22:46 +00:00
Reece H. Dunn 5d3e43de53 Add rules to build the voice and language data in Visual Studio/MSBuild. 2016-01-14 21:53:13 +00:00
Reece H. Dunn c9844f62ef Clean up the 'Compiling phoneme data' messages. 2016-01-14 19:57:44 +00:00
Reece H. Dunn f9d12c31a4 Remove the redundant access check in compiledata.c
This access check is checking whether the phsource directory exists.
Now that espeak-ng is using the errno message when opening the
phsource/phonemes file, enough information should be provided by
that error message.
2016-01-14 19:43:42 +00:00
Reece H. Dunn c22550afb5 Use the NetBSD getopt_long implementation on Windows.
This makes the espeak-ng.c and speak-ng.c source code easier to
read and maintain. It also addresses bugs in command-line argument
parsing with the espeak implementation, for example it treats
`--compile-phonemes` as `--compile` due to an argument matching bug.
2016-01-13 22:05:41 +00:00
Reece H. Dunn 0e0be476db Import getopt_long.c v 1.27 from NetBSD. 2016-01-13 21:55:25 +00:00
Reece H. Dunn 19ef13daac i_CHANGE_PHONEME2 is not used and the code conflicts with i_ADD_LENGTH, so remove it 2016-01-12 22:05:10 +00:00
Reece H. Dunn 142063f1e6 Remove a GCC incompatible pointer conversion warning in voices.c. 2016-01-12 21:51:44 +00:00
Reece H. Dunn 4ac6355834 Fix the realloc usage of voices in espeak_ListVoices(voices.c) [msvc /analyze] 2016-01-12 21:46:08 +00:00
Reece H. Dunn 9eb6150e64 Fix the realloc usage of mbrola_tab in LoadMbrolaTable(synth_mbrola.c) [msvc /analyze] 2016-01-12 21:46:08 +00:00
Reece H. Dunn 8e7f4e7e3d Fix the realloc usage of outbuffer in WaveCallback(wavegen.c) 2016-01-12 21:46:08 +00:00
Reece H. Dunn 54f8c672e5 Fix the realloc usage of event_list in espeak_ng_InitializeOutput(speech.c) [msvc /analyze] 2016-01-12 21:46:08 +00:00
Reece H. Dunn 5de96146e1 Fix the realloc usage of outbuf in espeak_ng_InitializeOutput(speech.c) [msvc /analyze] 2016-01-12 21:46:08 +00:00
Reece H. Dunn f608860a7a Fix the malloc/realloc usage of phon_out_buf in GetTranslatedPhonemeString(dictionary.c) [msvc /analyze] 2016-01-12 21:46:08 +00:00
Reece H. Dunn a64e048c51 Check malloc/realloc in the flag_stdin codepath of espeak-ng.c. 2016-01-12 07:27:43 +00:00
Reece H. Dunn 2446dbc3b4 Make LoadFrame return an error_ng_STATUS code. 2016-01-11 21:26:39 +00:00
Reece H. Dunn d8a88fc8e7 Call to malloc may return NULL in SpectCreateFrame(spect.c) [msvc /analyze] 2016-01-11 20:47:35 +00:00
Reece H. Dunn 6b573e112b Call to malloc may return NULL in create_*_error_context(error.c) [msvc /analyze] 2016-01-11 20:42:19 +00:00
Reece H. Dunn 242cb51c38 Call to realloc may leak the manifest data in ReadPhonemeManifest(compiledata.c) [msvc /analyze] 2016-01-11 20:26:51 +00:00
Reece H. Dunn 4673b04cde Check the return value of malloc in LoadDataFile(compiledata.c) [msvc /analyze] 2016-01-11 20:20:26 +00:00
Reece H. Dunn 4db1b41b42 Disable all warnings in the Visual Studio project files. 2016-01-11 07:22:23 +00:00
Reece H. Dunn 084b6061d4 Document the issue using '-jN' to build the voice data. 2016-01-11 07:10:21 +00:00
Reece H. Dunn 0ca520a4ec Revert the gcc sign conversion warning fixes.
This reverts commits 0cc0300328 to
38d15f8f90.

The 0cc03003 commit breaks MBROLA voice support. As such, there
may be other breakages in those commits.
2016-01-11 07:03:00 +00:00
Reece H. Dunn 9ab55603c8 Fix building with the extended dictionaries enabled. 2016-01-10 21:42:31 +00:00
Reece H. Dunn 38d15f8f90 Fix gcc sign conversion warnings in spect.c. 2016-01-10 18:58:46 +00:00
Reece H. Dunn caebc926ef Fix gcc sign conversion warnings in klatt.c. 2016-01-10 18:22:23 +00:00
Reece H. Dunn aa3de904e8 Fix gcc sign conversion warnings in event.c. 2016-01-10 18:17:44 +00:00
Reece H. Dunn 8acf398d23 Fix gcc sign conversion warnings in compilembrola.c. 2016-01-10 13:52:54 +00:00
Reece H. Dunn 0cc0300328 Fix gcc sign conversion warnings in espeak-ng.c. 2016-01-10 11:38:05 +00:00
Reece H. Dunn cf740ae6e8 Fix gcc sign conversion warnings in speak-ng.c. 2016-01-10 11:31:10 +00:00