Valdis Vitolins
7ad277e39e
Fixed typo
2017-01-15 22:13:13 +02:00
Valdis Vitolins
059543ceb0
Fix for issue #195 Different non-Latin diacritized consonants are wrongly considered as one doubled
2017-01-15 21:06:32 +02:00
Reece H. Dunn
2ccaa7f002
Improve the IsLetterGroup comments.
2017-01-10 19:34:12 +00:00
Reece H. Dunn
af1fae46de
Fix formatting of the previous changes to match style guidelines.
2017-01-10 19:26:40 +00:00
Valdis Vitolins
a621ad46e7
Implementation for issue #155
2017-01-09 19:05:54 +02:00
Rui Batista
7b82e39793
Make strcpy calls in load dictionary copy at most 40 bytes so clang __strcpy_check does not get triggered (possible buffer overflow?)
2016-10-05 13:15:48 +01:00
Valdis Vitolins
76ac24fbe4
Fixed TODO comment removed
2016-09-10 15:55:16 +03:00
Valdis Vitolins
92eae4f322
Updates for issue #103 Maximum group number which works is actually 62
2016-09-05 22:05:55 +03:00
Valdis Vitolins
dde9872eb7
Fix for issue #103 Maximum group number which works is actually 62
2016-08-31 23:48:32 +03:00
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.
2016-08-28 10:57:10 +01:00
Valdis Vitolins
252c894e59
Issue espeak-ng/espeak-ng#120
...
Allow to decrease the score in the rule by adding
2016-08-07 16:13:16 +03:00
chrislm
80da24bec7
Removed lengthen penultimate stressed vowels from dictionary.c lines 1469-1475. (See #80 ).
...
Fixed length stressed vowels in tr_language.c (see #80 ).
Improved phonemes, new statements for [a] and long close [o].
Added last improvements in italian dict source tested on april-may 2016.
2016-06-05 16:25:45 +02:00
Reece H. Dunn
565548fffe
Fix building 'my' (Burmese) on Windows.
2016-01-31 21:51:18 +00:00
Reece H. Dunn
bbd981efb8
Use malloc/strdup instead of Alloc.
2016-01-18 20:34:59 +00:00
Reece H. Dunn
325014da42
Use free instead of Free as free checks for NULL.
2016-01-18 20:23:51 +00:00
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
2016-01-16 17:54:39 +00:00
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
9c7179189b
Add a stdint.h compatibility shim.
2016-01-09 13:09:50 +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
Reece H. Dunn
d52f00cd24
Fix a buffer size calculation in Lookup.
2016-01-05 13:56:34 +00:00
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
2016-01-04 19:45:23 +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
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
2016-01-01 13:17:11 +00:00
Reece H. Dunn
f38a075575
The next_pause parameter of TranslateWord is not used, so remove it.
2015-12-30 08:58:36 +00:00
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf
...
This commit has been reported to cause distortions in phoneme
pitches and speeds.
2015-12-28 17:54:17 +00:00
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
2015-12-28 12:05:17 +01:00
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
2015-12-27 22:34:53 +00:00
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
2015-12-23 11:32:03 +00:00
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
2015-12-22 20:40:10 +00:00
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
2015-12-22 16:24:01 +00:00
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
2015-12-22 15:06:50 +00:00
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.
2015-12-19 17:03:47 +00:00
Reece H. Dunn
8486c5d678
The post_tonic variable is set but not used, so remove it.
2015-12-19 13:38:27 +00:00
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
2015-12-18 21:41:28 +00:00
Reece H. Dunn
c71b24a9a5
Use a consistent license notice in the source files.
2015-12-18 07:06:29 +00:00
Reece H. Dunn
cbe8695fcb
Remove the * box around the file headers.
2015-12-17 23:45:36 +00:00
Reece H. Dunn
36be9ac13f
Use the default uncrustify config (with indentation changes) to reformat the code.
2015-12-17 07:40:24 +00:00
Reece H. Dunn
5e0050419d
Remove comments that deliniate the start and end of functions, etc..
2015-12-15 22:26:02 +00:00
Reece H. Dunn
08821f262f
Remove commented out code.
2015-12-14 23:13:56 +00:00
Reece H. Dunn
186916afb6
Remove the code within '#ifdef deleted' statements.
2015-12-12 09:46:03 +00:00
Reece H. Dunn
f7dfc38dd7
Use the C compiler to build C files; restructuring.
...
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
2015-12-09 23:33:00 +00:00