Reece H. Dunn
da7eaa7b9c
encoding.c: Create a text decoder API based on the usage in readclause.c.
2017-03-27 22:16:04 +01:00
Reece H. Dunn
887b1c837f
encoding.c: Don't crash when passing a NULL string to LookupMnem.
2017-03-27 21:32:49 +01:00
Reece H. Dunn
26f4eb4f8f
encoding.c: Support US-ASCII encoding names.
2017-03-27 21:30:17 +01:00
Reece H. Dunn
d5d93be00e
Group the LookupMnem API implementations into mnemonics.c.
2017-03-27 21:08:07 +01:00
Reece H. Dunn
b47363b7d3
Create an espeak_ng_EncodingFromName API.
2017-03-27 20:59:37 +01:00
Reece H. Dunn
ddc075288c
Windows: Fix a crash when building the 'en' voice.
...
This occurs in ReadVoiceFile (voices.c) when calling isspace to
isolate the attribute name. It happens because the msvc
implementation of isspace asserts that the character is in a valid
range, which fails for non-ASCII characters.
This commit resolves the problem by calling iswspace, which uses
the ucd-tools implementation.
2017-03-19 13:53:14 +00:00
Reece H. Dunn
93cede9374
Windows Installer: Install the 'pt' voice, renamed from 'pt-PT'.
2017-03-02 12:56:06 +00:00
Reece H. Dunn
d9e5cc5941
Windows Installer: Install the 'nb' voice, renamed from 'no'.
2017-03-02 12:53:25 +00:00
Reece H. Dunn
a9be45e9af
Windows Installer: The fa-en-us voice has been removed, so remove it from the installer.
2017-03-02 12:48:23 +00:00
Reece H. Dunn
51c8a2d7d9
Rename the isVel check to isVelar.
2017-03-02 06:41:51 +00:00
Reece H. Dunn
8ba9484927
Windows Installer: Update the locations of the language files.
2017-02-28 13:01:29 +00:00
Reece H. Dunn
50a1a5f2f6
Windows: Update the Visual C++ project files to build the ucd-tools files.
2017-02-28 12:57:27 +00:00
Reece H. Dunn
bb051e6086
ky: don't speak numbers character by character
2017-02-14 22:48:04 +00:00
Reece H. Dunn
c4ca7a1202
Add wchar.h and wctype.h compatibility shims using ucd-tools. This is applied to all platforms to provide consistent behaviour.
2017-02-13 19:49:30 +00:00
Reece H. Dunn
1378a81a06
Remove the wchar tables from readclause, now the standard is* and to* APIs are being used.
2017-02-13 19:48:57 +00:00
Reece H. Dunn
5975f07095
Replace the *2 wchar/wctype APIs with their standard versions. These will be fixed using compatibility headers.
2017-02-13 07:43:23 +00:00
Reece H. Dunn
d2a919bc7b
Merge commit '6346ede604270202b2aad8159cb914b7a2276c34'
2017-02-12 21:32:06 +00:00
Reece H. Dunn
6346ede604
isalnum: use the Alphabetic derived core property to check that the character is in the alpha class.
2017-02-12 21:22:01 +00:00
Reece H. Dunn
cbddf092c9
isalpha: use the Alphabetic derived core property to check that the character is in the alpha class.
2017-02-12 21:20:03 +00:00
Reece H. Dunn
b38659582f
islower: include the Other_Lowercase characters.
2017-02-12 17:28:22 +00:00
Reece H. Dunn
1fc20f39f5
isupper: include the Other_Uppercase characters.
2017-02-12 14:51:24 +00:00
Valdis Vitolins
17168a5669
More proper fix for issue #196
2017-02-12 15:56:27 +02:00
Reece H. Dunn
eb08dc422d
Update the copyright dates.
2017-02-12 12:24:18 +00:00
Reece H. Dunn
c9f2940373
isblank: don't include <noBreak> characters, and add tests for this API.
2017-02-12 11:47:30 +00:00
Reece H. Dunn
f109bb918f
isspace: don't include <noBreak> characters.
2017-02-12 11:11:52 +00:00
Reece H. Dunn
bd71fed013
ctype: return true in isupper/islower if there is a simple case mapping present
2017-02-12 09:22:25 +00:00
Reece H. Dunn
fe3e3350e4
Merge remote-tracking branch 'ValdisVitolins/master'
2017-02-11 22:25:15 +00:00
Valdis Vitolins
fd4b397ad7
Merge branch 'test'
2017-02-11 21:49:02 +02:00
Valdis Vitolins
9558e60e4b
Merge branch 'master' of https://github.com/espeak-ng/espeak-ng
2017-02-11 21:48:04 +02:00
Valdis Vitolins
872433d62c
Fix for Jump rule to allow no letters in between current and pre/post (literal letter/letter group)
2017-02-11 21:42:09 +02:00
Valdis Vitolins
41f29f3e87
Fix for issue #196 Word end mark _ doesn't work properly with ~ character group
2017-02-11 20:52:52 +02:00
Reece H. Dunn
01852ee90d
isdigit: C99 compatibility -- only check [0-9].
2017-02-11 18:20:08 +00:00
Reece H. Dunn
34167771fd
Add an iswxdigit compatibility API.
2017-02-11 18:18:38 +00:00
Reece H. Dunn
3e321158e7
Update the documentation on the is* APIs.
2017-02-11 17:54:25 +00:00
Reece H. Dunn
d585c77804
Add an iswblank compatibility API.
2017-02-11 17:37:42 +00:00
Reece H. Dunn
c80829a5fd
Remove the NEED_WCHAR_FUNCTIONS code for wchar/wctype compatibility.
2017-02-11 08:39:29 +00:00
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
2017-02-10 08:03:40 +00:00
Reece H. Dunn
9ecde56231
Build the ucd-tools files with libespeak.
2017-02-10 07:45:43 +00:00
Valdis Vitolins
af7fc1b657
Issue #199 Jump statement now supports letter groups
2017-02-05 23:31:24 +02:00
Reece H. Dunn
36a2872b4b
Don't allow the gender property to be set in language files (they are only relevant in voice files).
2017-02-05 19:56:07 +00:00
Reece H. Dunn
1c5bbe31a4
Use LookupMnem in ReadVoiceFile when parsing lines.
2017-02-05 19:55:48 +00:00
Reece H. Dunn
d30cf6f0d7
Default voices/languages to be male to match the default voice.
2017-02-05 19:08:27 +00:00
Reece H. Dunn
f6147085cd
Use enumeration constants for the voice gender field values.
2017-02-05 19:06:27 +00:00
Reece H. Dunn
46cd5f48e1
Don't allow 'gender unknown' in voice/language files.
2017-02-05 18:47:31 +00:00
Reece H. Dunn
ea365af43c
Remove the 'dictdialect' feature.
2017-02-05 17:03:44 +00:00
Valdis Vitolins
0c3ceb2e70
As secondary stress is still spelled differently it is disabled
2017-02-05 15:41:26 +00:00
Valdis Vitolins
b2057635c4
PRE jump rule e.g. 'xyJ)' implemented
2017-02-05 15:40:28 +00:00
Valdis Vitolins
29f0b673ee
Updated comments for POST jump rule
2017-02-05 15:40:14 +00:00
Valdis Vitolins
6bd656cf4a
Limit search for jump POST rule to null byte for last word in sentence
2017-02-05 15:40:00 +00:00
Reece H. Dunn
6eaf1d2ddc
Look in espeak-ng-data/lang for voices.
...
This is to support splitting language specification (dictionaries)
from voice specification (phon*).
2017-02-04 16:50:57 +00:00