Reece H. Dunn
fe14c83372
Support multi-word text replacements in dictionary list files.
8 years ago
Reece H. Dunn
85801fc1e3
Remove the now unused dictdialect functionality from the code.
8 years ago
Reece H. Dunn
9af96da469
Make the encoding.h API public.
8 years ago
Reece H. Dunn
7602c9ac18
tokenizer.c: Support linux newlines.
8 years ago
Reece H. Dunn
92f703d98b
Use defines instead of hard-coded numbers for more clause logic.
8 years ago
Reece H. Dunn
8749891069
Better specify the CLAUSE_ flags returned by ReadClause.
8 years ago
Reece H. Dunn
e4e1e4db0a
TranslateWord: remove the unused add_plural_suffix variable.
8 years ago
Reece H. Dunn
62d4aff9a9
Remove the now unused option_multibyte variable.
8 years ago
Reece H. Dunn
ec8a7b810f
Use the text decoder object at the top-level Synthesize/espeak_TextToPhonemes call, not in TranslateClause.
8 years ago
Reece H. Dunn
b3e0fbc8ed
encoding.c: Create a text_decoder_decode_string_multibyte helper to work with the espeakCHARS_* flags.
8 years ago
Reece H. Dunn
9dabf64680
encoding.c: Support determining the string length for length < 0.
8 years ago
Reece H. Dunn
d167d5649b
encoding.c: Implement support for the auto-detected character set (utf-8 + codepoint-encoding).
8 years ago
Reece H. Dunn
be480c12de
Make TranslateClause return 'const void *' to preserve constness.
8 years ago
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
8 years ago
Reece H. Dunn
8933185de4
Remove the unused f_in argument to the Read/Translate/SpeakNextClause functions.
8 years ago
Reece H. Dunn
0b0661cef0
Use the encoding.c tables for 8-bit encodings.
1. Store the encoding enumeration values in the Translation
object, instead of the charset table.
2. Use the encoding.c charset table data instead of the ones
in translate.c.
3. Remove the charset language file option -- it is only used
in the Arabic language file, but is used incorrectly there.
4. Specify ISO 8859-6 for the 8-bit encoding for Arabic instead
of UTF-8, so that espeakCHARS_8BIT and espeakCHARS_AUTO work
correctly for Arabic.
8 years ago
Reece H. Dunn
5975f07095
Replace the *2 wchar/wctype APIs with their standard versions. These will be fixed using compatibility headers.
8 years ago
Reece H. Dunn
6a0ea584ea
Don't store the unused phoneme equivalence tables in the phoneme data files.
8 years ago
Valdis Vitolins
c5355ed94e
Fix for issue #69 Speaking '1,,2' in German only says 'eins'.
8 years ago
Valdis Vitolins
d9d7006d7a
Comments about implementation for utf8_in2()
8 years ago
Ondřej Lysoněk
3817ee1e16
Moved speak_lib.h to espeak-ng directory
Moved include/espeak/speak_lib.h to include/espeak-ng/speak_lib.h and
created a symlink from the original location.
9 years ago
Reece H. Dunn
4cde8b6d13
option_quiet is no longer used (always set to 0), so remove it
9 years ago
Reece H. Dunn
325014da42
Use free instead of Free as free checks for NULL.
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
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).
9 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
9 years ago
Reece H. Dunn
6b9eeaa133
Remove if for identical branches in translate.c. [coverity]
9 years ago
Reece H. Dunn
b04330ac85
Remove a dead assignment in CheckDottedAbbrev(translate.c) [clang scan-build]
9 years ago
Reece H. Dunn
b79635335f
Remove a dead assignment in TranslateWord(translate.c) [clang scan-build]
9 years ago
Reece H. Dunn
6251afa556
Remove a dead assignment in TranslateClause(translate.c) [clang scan-build]
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
7d8d91698f
Remove the f_logespeak logging code.
9 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
53aac7f3a5
Fix clang -Wconditional-uninitialized warnings.
9 years ago
Reece H. Dunn
80914cc40e
Fix clang -Wunused-macros warnings.
9 years ago
Reece H. Dunn
b11d540718
Fix GCC -Wunused-parameter warnings.
9 years ago
Reece H. Dunn
f38a075575
The next_pause parameter of TranslateWord is not used, so remove it.
9 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
9 years ago
Fredrik Nyqvist
14a2fb39cf
Declare variables at their first point of use
Also use size_t instead of int in some places
where it make sense
9 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
9 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
9 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
9 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
9 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
9 years ago
Reece H. Dunn
1c6681e3d4
Make espeak-ng use strncpy0, etc. from libespeak-ng.
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.
NOTE: This is needed to cross-compile to Windows.
9 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
9 years ago
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
9 years ago
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
9 years ago
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
9 years ago
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
9 years ago