Anthony Cornehl
3115f769b1
tests/language.test: Use different hashing commands when needed
...
Outside of Linux platforms, sha1 hashing from the command-line is accomplished
by commands other than sha1sum. OSX uses shasum and FreeBSD uses sha1, so I've
added in detection for the appropriate command before falling back and failing
the test.
2017-08-31 17:46:04 -07:00
Reece H. Dunn
830bed1cb1
Android: Fix the remaining tests.
2017-08-30 07:53:59 +01:00
Reece H. Dunn
44f33468c4
Android: Fix mapping voices who's IDs have been updated to be BCP47 compliant.
2017-08-22 18:30:30 +01:00
Reece H. Dunn
5027f5310e
Android: Update the VoiceData gender field -- the default is always male now to reflect the default voice settings.
2017-08-21 21:17:03 +01:00
Reece H. Dunn
98a34ebaf5
Android: Update the VoiceData identifier fields.
2017-08-21 21:05:49 +01:00
Reece H. Dunn
b357f47394
Android: add the language files to espeakdata.zip from their new location.
2017-08-21 07:03:36 +01:00
Reece H. Dunn
17620ed607
Android: Update APP_PLATFORM to android-14.
2017-08-20 22:48:21 +01:00
Reece H. Dunn
c8f83c6b1f
Add ucd/ucd.h to readclause.c, to fix building on Android.
2017-08-20 22:47:56 +01:00
Reece H. Dunn
dc2b2a43b8
Android: Update the compile/targetSdkVersion to 26.
2017-08-20 22:34:05 +01:00
Reece H. Dunn
4f360435d8
Android: Update the android gradle build tools to 25.0.3.
2017-08-20 22:33:03 +01:00
Reece H. Dunn
d578e9ebd7
Android: Update gradle to 2.3.3.
2017-08-20 22:31:56 +01:00
Reece H. Dunn
8585b0b47d
Fix the return status code from Synthesize when the voices cannot be found.
2017-08-19 12:27:39 +01:00
Reece H. Dunn
882c2651e1
Fix setting the default voice from espeak_SetVoiceByProperties.
2017-08-19 12:08:39 +01:00
Reece H. Dunn
16bea7fd0f
Don't crash in LoadVoice if langopts is NULL.
2017-08-19 11:44:13 +01:00
Reece H. Dunn
4d4a8419f8
Test espeak_SetVoiceByName with an invalid voice name.
2017-08-19 10:19:00 +01:00
Reece H. Dunn
aee367c334
Add espeak_SetVoiceByProperties tests with the languages property.
2017-08-19 10:11:32 +01:00
Reece H. Dunn
c0308e3140
tests/api: test that the translator's dictionary is correct.
2017-08-19 09:05:27 +01:00
Reece H. Dunn
7fc1e30316
Add tests for espeak_SetVoiceByName.
2017-08-19 08:59:50 +01:00
Reece H. Dunn
8d07d2eacd
ta: (emoji) -- CLDR 31.0.1 emoji translations
2017-08-16 19:23:07 +01:00
Reece H. Dunn
bc7d806505
ne: (emoji) -- CLDR 31.0.1 emoji translations
2017-08-16 19:19:55 +01:00
Reece H. Dunn
3bc6da0d07
my: (emoji) -- CLDR 31.0.1 emoji translations
2017-08-16 19:18:14 +01:00
Reece H. Dunn
2642ba8ed5
ml: (emoji) -- CLDR 31.0.1 emoji translations
2017-08-16 19:15:42 +01:00
Reece H. Dunn
0bb4501253
Revert "pa: remove the emoji support for now, as it fails to build"
...
This reverts commit 593949dec6 .
2017-08-16 19:08:51 +01:00
Reece H. Dunn
cec0e773a4
Remove the tokenizer code. This is not currently used, and should be designed from espeak's behaviour.
2017-08-16 19:04:26 +01:00
Reece H. Dunn
9ac9831129
af: Updates from Christo de Klerk.
2017-08-05 14:36:28 +01:00
Reece H. Dunn
2081a51ff8
Merge remote-tracking branch 'Christianlm/master'
2017-08-05 14:33:30 +01:00
Reece H. Dunn
afa99784ab
en: various pronunciation fixes
2017-08-05 14:30:33 +01:00
chrislm
4c696620bb
IT: new improvements (tested on june/july 2017)
2017-08-01 17:21:38 +02:00
Reece H. Dunn
01919cd48a
en: fix -edly pronunciation.
2017-07-31 07:59:38 +01:00
Ben
c98ed977f2
Adding IPA output to emscripten js library and demo
2017-07-28 17:06:55 +02:00
Reece H. Dunn
22270bd259
Fix reading hash table entries > 128.
...
This is related to ebfa320956 , but
when reading the hash chain entry length, not writing it.
If char is signed, then before this change the length would be
negative, causing problems loading the dictionary.
2017-07-26 21:11:44 +01:00
Reece H. Dunn
ebfa320956
Fix storing the line length in the hash chain.
...
The length is stored as the first byte in the output from
compile_line. As the data pointer is char, if char is signed then
length could be negative resulting in undefined behaviour. This
commit fixes the issue by reading and writing that byte as a
uint8_t.
This bug was caused by 2a00ca79f6 .
Previously, the entries could only be a maximum of 128 bytes, and
would not be negative on platforms with signed chars. That
commit was made to support long emoji entries, especially for
non-Latin languages where the utf-8 representations could be
longer than 128 bytes.
This change also adds some documentation to make it clearer what
is going on. NOTE: The code should really be using actual struct
objects instead of writing to opaque char buffers.
Reported by Reef Turner <reef@nvaccess.org >
2017-07-26 20:44:27 +01:00
Reece H. Dunn
e7ac4b819d
hash_counts is never used, so remove it.
...
Reported by Reef Turner <reef@nvaccess.org >
2017-07-26 20:21:05 +01:00
Reece H. Dunn
0383e3525a
Merge commit '0994206f710a4defc1eecfb78ab70ff57c58fcda'
2017-07-26 19:53:11 +01:00
Reece H. Dunn
921229259d
Use int to store the value from GetFileLength.
...
This fixes the clang warning:
comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
Reported by Reef Turner <reef@nvaccess.org >
2017-07-26 19:50:03 +01:00
Valdis Vitolins
fb64332f66
Merge branch 'master' of https://github.com/espeak-ng/espeak-ng
2017-07-26 17:07:28 +03:00
Valdis Vitolins
669b9f16c2
Improvements for Sindhi and Urdu Languages by Ejaz Shah
2017-07-26 17:06:16 +03:00
Reef Turner
0994206f71
address buffer overrun when dict listx file has no trailling newline
...
See ar_listx as an example.
2017-07-25 14:29:45 +08:00
Reece H. Dunn
d0169db792
af: Updates from Christo de Klerk.
2017-07-23 20:32:28 +01:00
Reece H. Dunn
46f935d9de
en: pronunciation fixes, including some Irish names/words
2017-07-15 10:30:19 +01:00
Reece H. Dunn
0b4d06dd9f
Merge commit '3278ddaa721c9a9d7de2415e64cba941e2e908f8'
2017-07-10 07:22:20 +01:00
Reece H. Dunn
3278ddaa72
Update the UCD version to 10.0.0.
2017-07-10 07:21:29 +01:00
Reece H. Dunn
8566f2ee35
Merge commit 'f26aca0aa1b9485634314d0d1710d2a0bb67776d'
2017-07-10 07:17:42 +01:00
Reece H. Dunn
d20422f192
en: various pronunciation fixes
2017-07-09 15:06:26 +01:00
Reece H. Dunn
58a0363762
Android: Fix the location of ucd-tools (it is now in src/ucd-tools).
2017-07-06 19:29:14 +01:00
Reece H. Dunn
fb97d1bd75
Merge remote-tracking branch 'shadyar/patch-4'
2017-06-26 21:24:52 +01:00
Reece H. Dunn
234d58a699
Merge remote-tracking branch 'shadyar/patch-3'
2017-06-26 21:24:48 +01:00
Valdis Vitolins
1f63acd93d
Documentation: links to sonic and pcaudiolib changed to forks of espeak-ng project
2017-06-26 22:48:30 +03:00
Reece H. Dunn
f26aca0aa1
ucd-tools 10.0.0
2017-06-25 15:55:34 +01:00
Reece H. Dunn
1cb4115eab
Add Emoji_Component support from emoji-data.txt.
2017-06-25 15:51:37 +01:00