Commit Graph
868 Commits
Author SHA1 Message Date
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 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 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
Reece H. Dunn 205a57654f The PROC* typedefs are no longer used, so remove them. 2016-01-09 18:52:18 +00:00
Reece H. Dunn 5f39c2e1d0 Fix building mbrowrap.c on Windows. 2016-01-09 18:49:24 +00:00
Reece H. Dunn b9fcb84bad Make the MBROLA API consistent between the Windows and POSIX versions. 2016-01-09 19:43:51 +00:00
Reece H. Dunn aeca863f39 Move the Windows MBROLA API support layer to mbrowrap.c, 2016-01-09 17:54:14 +00:00
Reece H. Dunn 706d546182 Move the MBROLA API definitions for Windows to mbrowrap.h, 2016-01-09 17:45:34 +00:00
Reece H. Dunn 461f3fcc86 Fix building the x64 Visual C++ configuration. 2016-01-09 17:28:36 +00:00
Reece H. Dunn 3d0ae85faa Enable MBROLA support in the Visual C++ project files. 2016-01-09 17:25:34 +00:00
Reece H. Dunn c7386a8fa1 Enable Klatt support in the Visual C++ project files. 2016-01-09 17:25:34 +00:00
Reece H. Dunn a0717e72bb Fix building other source files from the 11101806ce change. 2016-01-09 14:47:55 +00:00
Reece H. Dunn 11101806ce Support building espeak-ng.exe with Visual C++. 2016-01-09 13:32:16 +00:00
Reece H. Dunn 5ebd28e4bc Use HAVE_GETOPT_H for the getopt.h checks. 2016-01-09 14:17:07 +00:00
Reece H. Dunn 9c7179189b Add a stdint.h compatibility shim. 2016-01-09 13:09:50 +00:00
Reece H. Dunn 7a2a6c64b4 Add an initial Visual Studio 2015 project for building libespeak-ng.dll on Windows. 2016-01-09 10:36:07 +00:00
Reece H. Dunn 02c23bab47 Fix building error.c on Windows. 2016-01-09 10:34:51 +00:00
Reece H. Dunn 951872b05a LoadMbrolaTable reads mbrola_tab in 4-byte chunks, so the fread operation always returns 0 bytes. 2016-01-08 21:41:33 +00:00
Reece H. Dunn c89ddf7fda Remove unused mr voice code in tr_languages.c (handled in another case within this file). [coverity] 2016-01-08 20:17:16 +00:00
Reece H. Dunn 6b9eeaa133 Remove if for identical branches in translate.c. [coverity] 2016-01-08 20:08:55 +00:00
Reece H. Dunn 9f699d825d speak-ng: display the underlying error on failure 2016-01-07 23:15:53 +00:00
Reece H. Dunn c1f1efc78b Passing NULL to event_declare will set err to EINVAL, so don't process the event in that case. 2016-01-07 23:06:56 +00:00
Reece H. Dunn c45e70142b espeak-ng: display the underlying error on failure 2016-01-07 22:51:36 +00:00
Reece H. Dunn 43d1c0c066 Initialize length in LoadPhData(synthdata.c). [clang scan-build] 2016-01-07 20:52:47 +00:00
Reece H. Dunn dea7d441f2 Avoid passing 0 to realloc in ReadPhondataManifest(compiledata.c). [clang scan-build] 2016-01-07 20:46:31 +00:00
Reece H. Dunn 5453616ec9 Add espeak_ng_STATUS error code return values to ReadPhondataManifest. 2016-01-07 20:36:34 +00:00
Reece H. Dunn c675787587 Fix usage of calloc in espeak_ng_CompileIntonation. [clang scan-build] 2016-01-07 20:28:11 +00:00
Reece H. Dunn 209bbe3369 Initialize a_timing_info to prevent garbage reads from calls to pulse_playing in wave_pulse.c. [clang scan-build] 2016-01-07 20:00:40 +00:00
Reece H. Dunn cfba03cf97 Re-add the phoneme tables removed from the Burmese/Myanmar language support. 2016-01-07 07:21:08 +00:00
Reece H. Dunn aa93cf2ec9 Fix the error logic in CompilePhonemeData2(compiledata.c) [clang scan-build] 2016-01-06 22:44:21 +00:00
Reece H. Dunn aeb1639b2e Fix the error logic in espeak_ng_CompileDictionary(compiledict.c) [clang scan-build] 2016-01-06 22:41:57 +00:00
Reece H. Dunn 72429b496c Remove a dead initialization in wave_port_write(wave.c) [clang scan-build] 2016-01-06 22:40:00 +00:00
Reece H. Dunn b63371bd80 Remove a dead assignment in CompileEquivalents(compiledata.c) [clang scan-build] 2016-01-06 22:22:17 +00:00
Reece H. Dunn c521c7f9c2 Remove a dead assignment in compile_line(compiledict.c) [clang scan-build] 2016-01-06 22:19:51 +00:00
Reece H. Dunn 2c07be17f9 Remove a dead assignment in compile_rule(compiledict.c) [clang scan-build] 2016-01-06 22:18:15 +00:00
Reece H. Dunn 365e41076f Remove a dead assignment in compile_rule(compiledict.c) [clang scan-build] 2016-01-06 22:17:29 +00:00
Reece H. Dunn 11136fb794 Remove a dead assignment in MatchRule(dictionary.c) [clang scan-build] 2016-01-06 22:14:22 +00:00
Reece H. Dunn e815f46ff3 Remove a dead assignment in MatchRule(dictionary.c) [clang scan-build] 2016-01-06 22:13:23 +00:00