Reece H. Dunn
4c98f5ffae
Remove additional blank lines.
7 years ago
Valdis Vitolins
60e9e3ebcb
Fix for issue #338: Chinese Cantonese dictionary (zhy_dict) problem
7 years ago
Reece H. Dunn
7a33e60234
Reapply the emoji fix from commit 119c200e, only changing the code causing the issue.
7 years ago
Reece H. Dunn
50a2d8e291
Revert "Use strcpy instead of memcpy+strlen."
This reverts commit 119c200e00
.
7 years ago
Reece H. Dunn
b5c415a98d
Rename OPCODE_ to INSTN_.
7 years ago
Reece H. Dunn
351126b3b1
Move polint from synthesize.h to spect.h.
7 years ago
Reece H. Dunn
90d53e145f
Move the klatt methods from synthesize.h to klatt.h.
7 years ago
Reece H. Dunn
70d492c8dc
Move utf8_out back to translate.c as it is no longer used in tests.
7 years ago
Reece H. Dunn
54e87adbb8
Move isspace2 from compiledict.c to translate.c.
7 years ago
Reece H. Dunn
c59c9633de
Fix -Wuninitialized warnings.
7 years ago
Reece H. Dunn
6a735f19f2
ieee80.c: Fix -Wmissing-prototypes warnings (create an ieee80.h header file).
7 years ago
Reece H. Dunn
941f439ca7
espeak-ng.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
b11480c09d
compiledata.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
7f42e0aaca
compiledict.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
b8b0119b62
dictionary.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
68724badf3
encoding.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
8768cba0ae
numbers.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
255147ee75
readclause.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
e6db4c1779
spect.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
e6c75fa350
speech.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
6acec43043
synthesize.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
8d8170ea0d
translate.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
f605f79465
tr_languages.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
7ea0d0d7e9
speech.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
5c14e92f6b
voices.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
66a53cce02
klatt.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
63b162c600
mbrowrap.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
ba62f9a162
event.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
6d168ead22
fifo.c: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
256229b348
Enable and fix -Wreturn-type warnings.
7 years ago
Reece H. Dunn
ed4d82c61b
Fix the UCD version in the comments.
7 years ago
Reece H. Dunn
977c85ad6e
Enable and fix -Wunused-but-set-variable warnings.
7 years ago
Reece H. Dunn
d89fa59bed
Enable and fix -Wunused-variable warnings.
7 years ago
Reece H. Dunn
6d9bb7ef17
Enable and fix -Wunused-parameter warnings.
7 years ago
Reece H. Dunn
dd3df1d0a8
Enable and fix -Wunused-function warnings.
7 years ago
Reece H. Dunn
7f5914c0de
Don't ignore ZWJ characters.
7 years ago
Reece H. Dunn
2442dd05ae
Document the ignored characters in tr_languages.c.
7 years ago
Reece H. Dunn
119c200e00
Use strcpy instead of memcpy+strlen.
This replaces uses of:
memcpy(dst, src, strlen(src))
with:
strcpy(dst, src)
This fixes issues with reading past the end of the copied buffer
(e.g. when processing word-based replacements for emoji characters)
by ensuring that the destination buffer is null terminated.
Reported by Michael Curran <[email protected] >
7 years ago
Reece H. Dunn
3a2663030b
Update the version to 1.49.3-dev.
7 years ago
Reece H. Dunn
3ed34d3a74
eSpeak NG 1.49.2
7 years ago
Reece H. Dunn
4b4da73558
mbrowrap: fix building on Windows.
7 years ago
Reece H. Dunn
df7e9a23e1
Ensure that flags in the syllables are initialised.
Clang static analysis reports this as 'Assigned value is garbage
or undefined'.
7 years ago
Reece H. Dunn
57108e1ed7
Add n_points guards in the LoadEnvelope2 loop.
Clang static analysis reports these as 'Result of operation is
garbage or undefined' errors.
7 years ago
Reece H. Dunn
4a882e21d3
Don't update env_x/y if no points were read.
Clang static analysis reports an 'Assigned value is garbage or
undefined' for this. If no points were read from the file, the
`n_points` variable is 0 and `env_x[n_points-1]` performs an
out-of-bounds access.
7 years ago
Reece H. Dunn
19b2bebc02
Don't save an intonation if it was not found.
Clang static analysis reports an 'Assigned value is garbage or
undefined' error. This happens if the default_tune data has not
been copied in the kTUNE case.
Extending this further, it does not make sense to save the tune
data if the tune was not found, or if the tune already exists.
7 years ago
Reece H. Dunn
a2f751044c
Remove unused letter assignment in MatchRule.
This was identified by the clang static analyser. The letter
variable is set in the various match_type switch cases, so
does not need to be initialised in the start of the while loop.
7 years ago
Reece H. Dunn
ecdff298b0
last_letter in MatchRule is not used.
This was identified by the clang static analyser.
7 years ago
Reece H. Dunn
8a777385a8
Use wflags to access wtab->flags in LookupDict2.
Clang static analysis reports a 'Dereference of null pointer'
error when accessing wtab->flags. This is properly guarded
against when setting the wflags variable, so use that variable
instead.
7 years ago
Reece H. Dunn
e6ea8fabea
Initialise ending in RemoveEnding.
Clang static analysis reports this as several 'Result of operation
is garbage or undefined' errors, when `ending` has not been set
due to no matching endings.
7 years ago