Commit Graph
820 Commits
Author SHA1 Message Date
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
Reece H. Dunn 2549b21f28 Remove a dead assignment in SetSpellingStress(numbers.c) [clang scan-build] 2016-01-06 21:55:00 +00:00
Reece H. Dunn 5bbab7e0d3 Check fread return value in LoadSoundFile(readclause.c) [clang scan-build] 2016-01-06 21:32:46 +00:00
Reece H. Dunn bd52c12c49 Remove a dead assignment in ProcessSsmlTag(readclause.c) [clang scan-build] 2016-01-06 21:26:33 +00:00
Reece H. Dunn ecdfbe0335 Remove a dead assignment in CalcLengths(setlengths.c) [clang scan-build] 2016-01-06 21:23:11 +00:00
Reece H. Dunn 01756bf910 Remove a dead assignment in Synthesize(speech.c) [clang scan-build] 2016-01-06 21:21:10 +00:00
Reece H. Dunn 21cc5195d2 Remove a dead assignment in InterpretPhoneme(synthdata.c) [clang scan-build] 2016-01-06 21:18:30 +00:00
Reece H. Dunn 1b562d7185 Check fread return value in LoadMbrolaTable(synth_mbrola.c) [clang scan-build] 2016-01-06 20:38:07 +00:00
Reece H. Dunn b04330ac85 Remove a dead assignment in CheckDottedAbbrev(translate.c) [clang scan-build] 2016-01-06 20:33:36 +00:00
Reece H. Dunn b79635335f Remove a dead assignment in TranslateWord(translate.c) [clang scan-build] 2016-01-06 20:32:15 +00:00
Reece H. Dunn 6251afa556 Remove a dead assignment in TranslateClause(translate.c) [clang scan-build] 2016-01-06 20:30:10 +00:00
Reece H. Dunn d4dd2cacca Fix the voice_dir logic in LoadVoice(voices.c) [clang scan-build] 2016-01-06 20:27:29 +00:00
Reece H. Dunn cb3699746c Check the return value of sscanf in LoadVoice(voices.c) [clang scan-build] 2016-01-06 20:22:58 +00:00
Reece H. Dunn bc8297bf3c Remove a dead assignment in LoadVoice(voices.c) [clang scan-build] 2016-01-06 20:19:31 +00:00
Reece H. Dunn 0966892fef Remove a dead assignment in PeaksToHarmspect(wavegen.c) [clang scan-build] 2016-01-06 20:15:53 +00:00
Reece H. Dunn cdeb1d042d Remove a dead assignment in parwave(klatt.c) [clang scan-build] 2016-01-06 20:12:47 +00:00
Reece H. Dunn 39cd145ba3 Make close_stream(fifo.c) return a status code (don't assert on failure) [clang scan-build] 2016-01-06 20:12:24 +00:00
Reece H. Dunn a4578e88eb Remove a dead assignment in copyBuffer(wave.c) [clang scan-build] 2016-01-06 20:11:32 +00:00
Reece H. Dunn 902d610a70 Pass syllable_tab by parameter instead of a static global to avoid setting a stack value to a global [clang scan-build]. 2016-01-06 19:41:13 +00:00
Reece H. Dunn d52f00cd24 Fix a buffer size calculation in Lookup. 2016-01-05 13:56:34 +00:00
Reece H. Dunn b77636db84 Remove the duplicate portaudio.h include from wave.c. 2016-01-05 13:50:47 +00:00
Reece H. Dunn 72db232ec3 Move include/espeak{-ng => }/speak_lib.h. 2016-01-04 19:45:23 +00:00
Reece H. Dunn a675073381 Remove the uses of fopen_log in compiledata.c. 2016-01-04 14:05:51 +00:00
Reece H. Dunn 2c446ecba3 Properly clean up the open files in CompilePhonemeData2. 2016-01-04 14:01:02 +00:00
Reece H. Dunn 3f80fd712e Use the error context API in the compile_dictrules helper function. 2016-01-04 13:52:25 +00:00
Reece H. Dunn 7aa506d145 Use the error context API in espeak_ng_CompilePhonemeData. 2016-01-04 13:42:43 +00:00
Reece H. Dunn 57eb9628d6 Use the error context API in espeak_ng_CompileIntonation. 2016-01-04 13:28:38 +00:00
Reece H. Dunn 82681567e5 Use the error context API in espeak_ng_CompileMbrolaVoice. 2016-01-04 11:35:24 +00:00
Reece H. Dunn a3f0795fb7 Use the error context API in espeak_ng_CompileDictionary. 2016-01-04 11:28:18 +00:00
Reece H. Dunn 9d860cb180 Support displaying error context information. 2016-01-04 11:07:12 +00:00
Reece H. Dunn 013e282d1a Use the error context API in espeak_ng_Initialize. 2016-01-04 10:51:19 +00:00
Reece H. Dunn 378490b65f Create an error context API.
This will allow the espeak-ng methods to provide more context
information for the errors that can then be used in things like
GUI applications.
2016-01-04 10:24:38 +00:00
Reece H. Dunn a8eb65ee61 Fix the logic from commit 3343bb45b6 that caused the end of the speech to be clipped. 2016-01-03 20:44:27 +00:00
Reece H. Dunn 59006f4762 Fix the LoadDataFile logic from commit 619fc6424d 2016-01-03 20:08:49 +00:00
Reece H. Dunn 8c0d4a993d Move the error formatting code to error.c. 2016-01-03 16:48:05 +00:00
Reece H. Dunn 32655d264d Make LoadSpect return an espeak_ng_STATUS code. 2016-01-03 15:02:14 +00:00
Reece H. Dunn 619fc6424d Make LoadDataFile return an espeak_ng_STATUS code. 2016-01-03 14:53:11 +00:00
Reece H. Dunn 1210464a31 CompileToneSpec always returns 0, so make it return void. 2016-01-03 14:34:03 +00:00
Reece H. Dunn a04a7af003 CompileSound always returns 0, so make it return void. 2016-01-03 14:31:36 +00:00
Reece H. Dunn 77eb4262f2 Use espeak_ng_PrintStatusCodeMessage for espeak_ng_Initialize error formatting. 2016-01-03 14:21:13 +00:00
Reece H. Dunn f8b3764bef Create espeak-ng APIs for formatting espeak_ng_STATUS codes. 2016-01-03 14:16:17 +00:00
Reece H. Dunn ccb409c600 Return an espeak_ng_STATUS code in LoadSpectSeq. 2016-01-03 14:15:37 +00:00
Reece H. Dunn ae0d188c73 Fix the allocation of the spect->frames array. [clang scan-build] 2016-01-03 13:03:05 +00:00
Reece H. Dunn 1d14c2a2f1 Always pass plist to WritePhMnemonic [clang scan-build]
The clang scan-build static analysis tool warns of a null pointer
dereference in WritePhMnemonic. This is only for phonSWITCH codes,
which is guarded against in the calls that pass NULL to plist, so
the null dereference should not trigger.

Always passing plist supresses this warning, and prevents any
future errors.
2016-01-03 12:49:01 +00:00
Reece H. Dunn fb99a17b7f new_translator may be NULL when processing the charset command [clang scan-build] 2016-01-03 12:26:38 +00:00
Reece H. Dunn 9ff06ce43c Map the correct espeak-ng status codes to EE_NOT_FOUND. 2016-01-03 11:22:00 +00:00
Reece H. Dunn 4001a7fbdf Fix infinite recursions in the espeak_SetVoiceBy(Name|Properties) implementations. 2016-01-02 19:50:05 +00:00
Reece H. Dunn 0dcc1083a2 Fix mapping to the EE_NOT_FOUND status code. 2016-01-02 19:35:08 +00:00
Reece H. Dunn 76d8c67b52 Fix the mutex logic in fifo.c from the espeak_ng_STATUS changes. 2016-01-02 19:29:17 +00:00