Reece H. Dunn
a3f0795fb7
Use the error context API in espeak_ng_CompileDictionary.
2016-01-04 11:28:18 +00:00
Reece H. Dunn
9d860cb180
Support displaying error context information.
2016-01-04 11:07:12 +00:00
Reece H. Dunn
013e282d1a
Use the error context API in espeak_ng_Initialize.
2016-01-04 10:51:19 +00:00
Reece H. Dunn
378490b65f
Create an error context API.
...
This will allow the espeak-ng methods to provide more context
information for the errors that can then be used in things like
GUI applications.
2016-01-04 10:24:38 +00:00
Reece H. Dunn
feae9a2a95
Merge remote-tracking branch 'ValdisVitolins/master'
2016-01-03 20:45:38 +00:00
Reece H. Dunn
a8eb65ee61
Fix the logic from commit 3343bb45b6 that caused the end of the speech to be clipped.
2016-01-03 20:44:27 +00:00
Reece H. Dunn
59006f4762
Fix the LoadDataFile logic from commit 619fc6424d
2016-01-03 20:08:49 +00:00
Reece H. Dunn
8c0d4a993d
Move the error formatting code to error.c.
2016-01-03 16:48:05 +00:00
Valdis Vitolins
44aac8ea99
Latvian language improvements.
...
Reorganized wovel/consonant groups, more rules for wide/narrow e and ē. Few updates for o's.
2016-01-03 18:42:58 +02:00
Reece H. Dunn
32655d264d
Make LoadSpect return an espeak_ng_STATUS code.
2016-01-03 15:02:14 +00:00
Reece H. Dunn
619fc6424d
Make LoadDataFile return an espeak_ng_STATUS code.
2016-01-03 14:53:11 +00:00
Reece H. Dunn
1210464a31
CompileToneSpec always returns 0, so make it return void.
2016-01-03 14:34:03 +00:00
Reece H. Dunn
a04a7af003
CompileSound always returns 0, so make it return void.
2016-01-03 14:31:36 +00:00
Reece H. Dunn
77eb4262f2
Use espeak_ng_PrintStatusCodeMessage for espeak_ng_Initialize error formatting.
2016-01-03 14:21:13 +00:00
Reece H. Dunn
f8b3764bef
Create espeak-ng APIs for formatting espeak_ng_STATUS codes.
2016-01-03 14:16:17 +00:00
Reece H. Dunn
ccb409c600
Return an espeak_ng_STATUS code in LoadSpectSeq.
2016-01-03 14:15:37 +00:00
Reece H. Dunn
ae0d188c73
Fix the allocation of the spect->frames array. [clang scan-build]
2016-01-03 13:03:05 +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
fb99a17b7f
new_translator may be NULL when processing the charset command [clang scan-build]
2016-01-03 12:26:38 +00:00
Reece H. Dunn
9ff06ce43c
Map the correct espeak-ng status codes to EE_NOT_FOUND.
2016-01-03 11:22:00 +00:00
Reece H. Dunn
4001a7fbdf
Fix infinite recursions in the espeak_SetVoiceBy(Name|Properties) implementations.
2016-01-02 19:50:05 +00:00
Reece H. Dunn
0dcc1083a2
Fix mapping to the EE_NOT_FOUND status code.
2016-01-02 19:35:08 +00:00
Reece H. Dunn
76d8c67b52
Fix the mutex logic in fifo.c from the espeak_ng_STATUS changes.
2016-01-02 19:29:17 +00:00
Reece H. Dunn
6aeb5a26f0
Replace the remaining espeak_ERROR code usage with espeak_ng_STATUS.
2016-01-02 19:24:39 +00:00
Reece H. Dunn
3343bb45b6
Make the event API use espeak_ng_STATUS.
2016-01-02 19:17:19 +00:00
Reece H. Dunn
e69f0f41f0
Make LoadMbrolaTable return espeak_ng_STATUS.
2016-01-02 18:59:18 +00:00
Reece H. Dunn
df170d1c48
Create an espeak-ng version of espeak_SetVoiceBy(Name|Properties).
2016-01-02 18:42:26 +00:00
Reece H. Dunn
cec20ab48a
Move callback API implementations back to speech.c.
2016-01-02 18:30:36 +00:00
Reece H. Dunn
d5fdd0eb92
Create an espeak-ng version of espeak_Terminate.
2016-01-02 18:24:53 +00:00
Reece H. Dunn
4ba60623e8
Create an espeak-ng version of espeak_Synchronize.
2016-01-02 18:20:22 +00:00
Reece H. Dunn
079712ab79
Create an espeak-ng version of espeak_Cancel.
2016-01-02 18:10:35 +00:00
Reece H. Dunn
50120034ad
Create an espeak-ng version of espeak_SetPunctuationList.
2016-01-02 18:06:44 +00:00
Reece H. Dunn
93898d7960
Create an espeak-ng version of espeak_SetParameter.
2016-01-02 17:32:32 +00:00
Reece H. Dunn
95b1fdc4b9
Create an espeak-ng version of espeak_Synth_Mark.
2016-01-02 17:17:52 +00:00
Reece H. Dunn
06cbd9d096
Create an espeak-ng version of espeak_Synth.
2016-01-02 17:06:01 +00:00
Reece H. Dunn
21d29154ce
Propagate the Synthesize status return code through sync_espeak_(Key|Char).
2016-01-02 16:20:37 +00:00
Reece H. Dunn
bf6f6f093f
Make Synthesize return an espeak_ng_STATUS code.
2016-01-02 15:55:28 +00:00
Reece H. Dunn
f2bd7f4b51
Don't add the size parameter to the synthesize method structures as the synthesize methods don't use the size parameter.
2016-01-02 15:22:50 +00:00
Reece H. Dunn
5e42051a30
Move the espeak callback APIs to espeak_api.c.
2016-01-02 15:01:30 +00:00
Reece H. Dunn
7d8d91698f
Remove the f_logespeak logging code.
2016-01-02 14:55:32 +00:00
Reece H. Dunn
e294760385
Return the status from Synthesize directly.
2016-01-02 14:47:36 +00:00
Reece H. Dunn
b843d2a415
Remove the unused size parameter in the sync_espeak_Synth commands.
2016-01-02 14:44:01 +00:00
Reece H. Dunn
7569d1c4c3
Create an espeak-ng version of espeak_Key.
2016-01-02 14:33:32 +00:00
Reece H. Dunn
4ca39ab26c
Create an espeak-ng version of espeak_Char.
2016-01-02 14:23:36 +00:00
Reece H. Dunn
8b32702627
Move the espeak_CompileDictionary implementation to espeak_api.c.
2016-01-02 13:57:00 +00:00
Reece H. Dunn
71482ec913
Move the espeak_Initialize implementation to espeak_api.c.
2016-01-02 13:46:58 +00:00
Reece H. Dunn
d3dc398fd0
Rename src/libespeak-ng/{speak_lib => speech}.c.
2016-01-02 13:32:29 +00:00
Reece H. Dunn
dfdc76e1d8
Use espeak_ng_STATUS codes for the fifo API.
2016-01-02 13:27:35 +00:00
Reece H. Dunn
563e4e3769
Use ENS_ for eSpeak NG error codes, and standardize on a numbering scheme.
2016-01-02 12:20:25 +00:00
Reece H. Dunn
f9ea83430e
Use errno codes in place of ENE_(READ|WRITE)_ERROR.
2016-01-02 11:58:12 +00:00