Yury Popov
f60f1590db
tests: use custom assertion define
2 years ago
Reece H. Dunn
f4248fd728
tests: Fix -Wmissing-prototypes warnings.
7 years ago
Reece H. Dunn
6d9bb7ef17
Enable and fix -Wunused-parameter warnings.
7 years ago
Reece H. Dunn
5030ff95cc
automake: don't make the tests print 'done', have the make rule print 'PASSED' instead.
8 years ago
Reece H. Dunn
9af96da469
Make the encoding.h API public.
8 years ago
Reece H. Dunn
b897ff5aa8
encoding.c: Support calling peekc past the end of the buffer. This makes calling peekc easier.
8 years ago
Reece H. Dunn
3f692f498b
encoding.c: Implement a peekc API.
8 years ago
Reece H. Dunn
9dabf64680
encoding.c: Support determining the string length for length < 0.
8 years ago
Reece H. Dunn
b5ed1f28a5
encoding.c: Don't crash if NULL is passed as the string to the decode APIs.
8 years ago
Reece H. Dunn
d167d5649b
encoding.c: Implement support for the auto-detected character set (utf-8 + codepoint-encoding).
8 years ago
Reece H. Dunn
6a0b5e4ae1
encoding.c: Support using wchar_t strings with the text decoder API.
8 years ago
Reece H. Dunn
b74f756f00
encoding.c: Support the ISO-10646-UCS-2 encoding.
8 years ago
Reece H. Dunn
fa5d31a8af
encoding.c: Support the UTF-8 encoding.
8 years ago
Reece H. Dunn
2499610433
encoding.c: Support the ISCII encoding.
8 years ago
Reece H. Dunn
39f3ea54cf
encoding.c: Support the KOI8-R encoding.
8 years ago
Reece H. Dunn
b8a1006dd8
encoding.c: Support the ISO 8859-16 encoding.
8 years ago
Reece H. Dunn
166e815723
encoding.c: Support the ISO 8859-15 encoding.
8 years ago
Reece H. Dunn
91e054ec7c
encoding.c: Fix the ISO 8859 encoding names with date suffices.
8 years ago
Reece H. Dunn
0235c42652
encoding.c: Support the ISO 8859-14 encoding.
8 years ago
Reece H. Dunn
24faceab57
encoding.c: Support the ISO 8859-13 encoding.
8 years ago
Reece H. Dunn
495c0aed20
encoding.c: Support the ISO 8859-11 encoding.
8 years ago
Reece H. Dunn
84f20f8bb8
encoding.c: Support the ISO 8859-10 encoding.
8 years ago
Reece H. Dunn
0421f127e8
encoding.c: Support the ISO 8859-9 encoding.
8 years ago
Reece H. Dunn
7da585e25e
encoding.c: Support the ISO 8859-8 encoding.
8 years ago
Reece H. Dunn
56c0b38785
encoding.c: Support the ISO 8859-7 encoding.
8 years ago
Reece H. Dunn
9e4638ff25
encoding.c: Support the ISO 8859-6 encoding.
8 years ago
Reece H. Dunn
51295d9d1b
encoding.c: Support the ISO 8859-5 encoding.
8 years ago
Reece H. Dunn
b5589fc5ee
encoding.c: Support the ISO 8859-4 encoding.
8 years ago
Reece H. Dunn
a93b0f3d64
encoding.c: Support the ISO 8859-3 encoding.
8 years ago
Reece H. Dunn
0a0e84a322
encoding.c: Support the ISO 8859-2 encoding.
8 years ago
Reece H. Dunn
26bec1eedf
encoding.c: Support the ISO 8859-1 encoding.
8 years ago
Reece H. Dunn
0590da5da7
encoding.c: Create a string decoding API; support US-ASCII decoding.
8 years ago
Reece H. Dunn
da7eaa7b9c
encoding.c: Create a text decoder API based on the usage in readclause.c.
8 years ago
Reece H. Dunn
887b1c837f
encoding.c: Don't crash when passing a NULL string to LookupMnem.
8 years ago
Reece H. Dunn
26f4eb4f8f
encoding.c: Support US-ASCII encoding names.
8 years ago
Reece H. Dunn
b47363b7d3
Create an espeak_ng_EncodingFromName API.
8 years ago
Reece H. Dunn
5118891f20
windows: Visual Studio 2013 compatibility.
8 years ago
Reece H. Dunn
527f2bc6b2
Add M_PI compatibility when using the msvc standard library.
9 years ago
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
9 years ago
Reece H. Dunn
c22550afb5
Use the NetBSD getopt_long implementation on Windows.
This makes the espeak-ng.c and speak-ng.c source code easier to
read and maintain. It also addresses bugs in command-line argument
parsing with the espeak implementation, for example it treats
`--compile-phonemes` as `--compile` due to an argument matching bug.
9 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
9 years ago