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.
9 years ago
Reece H. Dunn
0e0be476db
Import getopt_long.c v 1.27 from NetBSD.
9 years ago
Jim Regan
6c6a79928a
a, not ɐ
9 years ago
Reece H. Dunn
19ef13daac
i_CHANGE_PHONEME2 is not used and the code conflicts with i_ADD_LENGTH, so remove it
9 years ago
Reece H. Dunn
142063f1e6
Remove a GCC incompatible pointer conversion warning in voices.c.
9 years ago
Reece H. Dunn
4ac6355834
Fix the realloc usage of voices in espeak_ListVoices(voices.c) [msvc /analyze]
9 years ago
Reece H. Dunn
9eb6150e64
Fix the realloc usage of mbrola_tab in LoadMbrolaTable(synth_mbrola.c) [msvc /analyze]
9 years ago
Reece H. Dunn
8e7f4e7e3d
Fix the realloc usage of outbuffer in WaveCallback(wavegen.c)
9 years ago
Reece H. Dunn
54f8c672e5
Fix the realloc usage of event_list in espeak_ng_InitializeOutput(speech.c) [msvc /analyze]
9 years ago
Reece H. Dunn
5de96146e1
Fix the realloc usage of outbuf in espeak_ng_InitializeOutput(speech.c) [msvc /analyze]
9 years ago
Reece H. Dunn
f608860a7a
Fix the malloc/realloc usage of phon_out_buf in GetTranslatedPhonemeString(dictionary.c) [msvc /analyze]
9 years ago
Reece H. Dunn
a64e048c51
Check malloc/realloc in the flag_stdin codepath of espeak-ng.c.
9 years ago
Reece H. Dunn
2446dbc3b4
Make LoadFrame return an error_ng_STATUS code.
9 years ago
Reece H. Dunn
d8a88fc8e7
Call to malloc may return NULL in SpectCreateFrame(spect.c) [msvc /analyze]
9 years ago
Reece H. Dunn
6b573e112b
Call to malloc may return NULL in create_*_error_context(error.c) [msvc /analyze]
9 years ago
Reece H. Dunn
242cb51c38
Call to realloc may leak the manifest data in ReadPhonemeManifest(compiledata.c) [msvc /analyze]
9 years ago
Reece H. Dunn
4673b04cde
Check the return value of malloc in LoadDataFile(compiledata.c) [msvc /analyze]
9 years ago
Reece H. Dunn
4db1b41b42
Disable all warnings in the Visual Studio project files.
9 years ago
Reece H. Dunn
084b6061d4
Document the issue using '-jN' to build the voice data.
9 years ago
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.
9 years ago
Reece H. Dunn
9ab55603c8
Fix building with the extended dictionaries enabled.
9 years ago
Reece H. Dunn
38d15f8f90
Fix gcc sign conversion warnings in spect.c.
9 years ago
Reece H. Dunn
caebc926ef
Fix gcc sign conversion warnings in klatt.c.
9 years ago
Reece H. Dunn
aa3de904e8
Fix gcc sign conversion warnings in event.c.
9 years ago
Reece H. Dunn
8acf398d23
Fix gcc sign conversion warnings in compilembrola.c.
9 years ago
Reece H. Dunn
0cc0300328
Fix gcc sign conversion warnings in espeak-ng.c.
9 years ago
Reece H. Dunn
cf740ae6e8
Fix gcc sign conversion warnings in speak-ng.c.
9 years ago
Reece H. Dunn
48142f250e
Update the CHANGELOG.md file.
9 years ago
Reece H. Dunn
205a57654f
The PROC* typedefs are no longer used, so remove them.
9 years ago
Reece H. Dunn
5f39c2e1d0
Fix building mbrowrap.c on Windows.
9 years ago
Reece H. Dunn
b9fcb84bad
Make the MBROLA API consistent between the Windows and POSIX versions.
9 years ago
Reece H. Dunn
aeca863f39
Move the Windows MBROLA API support layer to mbrowrap.c,
9 years ago
Reece H. Dunn
706d546182
Move the MBROLA API definitions for Windows to mbrowrap.h,
9 years ago
Reece H. Dunn
461f3fcc86
Fix building the x64 Visual C++ configuration.
9 years ago
Reece H. Dunn
3d0ae85faa
Enable MBROLA support in the Visual C++ project files.
9 years ago
Reece H. Dunn
c7386a8fa1
Enable Klatt support in the Visual C++ project files.
9 years ago
Reece H. Dunn
8c05e2446f
Modify the Windows build instructions to reflect what is currently supported.
9 years ago
Reece H. Dunn
c14a3dbbba
Define LIBESPEAK_NG_EXPORT when building libespeak-ng via autotools.
9 years ago
Reece H. Dunn
a0717e72bb
Fix building other source files from the 11101806ce change.
9 years ago
Reece H. Dunn
11101806ce
Support building espeak-ng.exe with Visual C++.
9 years ago
Reece H. Dunn
5ebd28e4bc
Use HAVE_GETOPT_H for the getopt.h checks.
9 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
9 years ago
Reece H. Dunn
a02b91e423
Fix .gitignore for config.* files.
9 years ago
Reece H. Dunn
7a2a6c64b4
Add an initial Visual Studio 2015 project for building libespeak-ng.dll on Windows.
9 years ago
Reece H. Dunn
02c23bab47
Fix building error.c on Windows.
9 years ago
Reece H. Dunn
951872b05a
LoadMbrolaTable reads mbrola_tab in 4-byte chunks, so the fread operation always returns 0 bytes.
9 years ago
Reece H. Dunn
c89ddf7fda
Remove unused mr voice code in tr_languages.c (handled in another case within this file). [coverity]
9 years ago
Reece H. Dunn
6b9eeaa133
Remove if for identical branches in translate.c. [coverity]
9 years ago
Reece H. Dunn
9f699d825d
speak-ng: display the underlying error on failure
9 years ago
Reece H. Dunn
c1f1efc78b
Passing NULL to event_declare will set err to EINVAL, so don't process the event in that case.
9 years ago