Commit Graph
3145 Commits
Author SHA1 Message Date
Reece H. Dunn 255147ee75 readclause.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:26:35 +01:00
Reece H. Dunn e6db4c1779 spect.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:23:32 +01:00
Reece H. Dunn e6c75fa350 speech.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:20:19 +01:00
Reece H. Dunn 6acec43043 synthesize.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:16:43 +01:00
Reece H. Dunn 8d8170ea0d translate.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:07:49 +01:00
Reece H. Dunn f605f79465 tr_languages.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:07:20 +01:00
Reece H. Dunn 74f9f5e34b wavegen.c: Fix -Wmissing-prototypes warnings. 2017-10-10 21:37:46 +01:00
Reece H. Dunn 7ea0d0d7e9 speech.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:36:09 +01:00
Reece H. Dunn 5c14e92f6b voices.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:23:57 +01:00
Reece H. Dunn 66a53cce02 klatt.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:17:31 +01:00
Reece H. Dunn 63b162c600 mbrowrap.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:13:26 +01:00
Reece H. Dunn ba62f9a162 event.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:11:17 +01:00
Reece H. Dunn 6d168ead22 fifo.c: Fix -Wmissing-prototypes warnings. 2017-10-06 07:09:41 +01:00
Reece H. Dunn 553a6f38a6 Enable and fix -Wreturn-type warnings. 2017-10-05 20:28:28 +01:00
Reece H. Dunn 0915e02de3 Merge commit '05d9a4839c1ac792b9a3842e6bd0ad13c5316359' 2017-10-05 20:23:40 +01:00
Reece H. Dunn 05d9a4839c Enable and fix -Wmissing-prototypes warnings. 2017-10-05 20:14:06 +01:00
Reece H. Dunn 256229b348 Enable and fix -Wreturn-type warnings. 2017-10-05 19:53:13 +01:00
Reece H. Dunn ed4d82c61b Fix the UCD version in the comments. 2017-10-05 19:50:22 +01:00
Reece H. Dunn 20dc74eafb Use the -Wunused flag instead of the separate flags. 2017-10-05 07:39:58 +01:00
Reece H. Dunn 977c85ad6e Enable and fix -Wunused-but-set-variable warnings. 2017-10-05 07:35:10 +01:00
Reece H. Dunn d89fa59bed Enable and fix -Wunused-variable warnings. 2017-10-05 07:23:17 +01:00
Reece H. Dunn 6d9bb7ef17 Enable and fix -Wunused-parameter warnings. 2017-10-05 07:20:44 +01:00
Reece H. Dunn dd3df1d0a8 Enable and fix -Wunused-function warnings. 2017-10-05 07:05:47 +01:00
Reece H. Dunn 55290b7aed Update the changelog. 2017-10-03 18:36:17 +01:00
chrislm 4b284c0266 IT: updated it_list and it_rules 2017-10-03 17:45:54 +02:00
Reece H. Dunn c4cab2e42a Update the changelog. 2017-10-02 07:39:50 +01:00
Juho Hiltunen 686a82f1b8 finnish: added pronunciation for letter q
Formerly, q was pronounced exactly like k. This is not the case in finnish.
2017-10-01 17:59:54 +03:00
Juho Hiltunen ddaf267aa9 Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2017-10-01 17:10:48 +03:00
Reece H. Dunn 7f5914c0de Don't ignore ZWJ characters. 2017-10-01 12:24:30 +01:00
Reece H. Dunn 2442dd05ae Document the ignored characters in tr_languages.c. 2017-10-01 12:23:12 +01:00
Reece H. Dunn 516786aecb ka: Comment out the emoji translations that were breaking the pronunciation of '3' and '7'. 2017-10-01 11:28:33 +01:00
Reece H. Dunn 119c200e00 Use strcpy instead of memcpy+strlen.
This replaces uses of:

	memcpy(dst, src, strlen(src))

with:

	strcpy(dst, src)

This fixes issues with reading past the end of the copied buffer
(e.g. when processing word-based replacements for emoji characters)
by ensuring that the destination buffer is null terminated.

Reported by Michael Curran <mick@nvaccess.org>
2017-10-01 08:50:56 +01:00
Juho Hiltunen ef067a11fb finnish: ui sounds better than wi in all tested cases (subjective opinion). I haven't heard of any rule saying ui should be pronounced like wi. 2017-09-30 11:07:21 +03:00
Juho Hiltunen ec99b6ba48 Finnish: Move ruoan from pronunciation exception to a rule to include usage in compound words and inflections.
In general, most finnish exceptions should be inside rules since compound words and inflections are very common in finnish
2017-09-30 10:51:40 +03:00
Juho Hiltunen d9d498832e Compound word with the first word ending in -rg should also follow the swedish pronunciation.
This affects words familynames like Berglund and Bergholm and place names like Bergbackan.
2017-09-30 10:32:51 +03:00
Juho Hiltunen 780631845d finnish: pronunciation exception for "ruoan". Should be pronounced exactly like "ruuan" 2017-09-30 10:26:20 +03:00
Juho Hiltunen 418aadc2ba Finnish: clarification for -rg
This rule "CA) rg (_" only matches the place and family names, and exempts words like "org", in which the g should be pronounced.
2017-09-26 21:29:04 +03:00
Juho Hiltunen 411eec2b55 Follow swedish pronunciation for words ending in -rg.
In finnish these are almost exclusively swedish place names (Uleåborg) or family names (Lindberg)
2017-09-26 20:44:42 +03:00
Juho Hiltunen 265bee5e23 Added some common finnish abbreviations and foreign words
Mostly these are related to computers and internet (usb, ict and facebook) but there's others as well.
2017-09-25 20:04:54 +03:00
Reece H. Dunn 3a2663030b Update the version to 1.49.3-dev. 2017-09-24 10:46:15 +01:00
Reece H. Dunn 3ed34d3a74 eSpeak NG 1.49.2 2017-09-24 10:10:00 +01:00
Reece H. Dunn 4b4da73558 mbrowrap: fix building on Windows. 2017-09-24 09:53:13 +01:00
Reece H. Dunn df7e9a23e1 Ensure that flags in the syllables are initialised.
Clang static analysis reports this as 'Assigned value is garbage
or undefined'.
2017-09-14 07:57:50 +01:00
Reece H. Dunn 57108e1ed7 Add n_points guards in the LoadEnvelope2 loop.
Clang static analysis reports these as 'Result of operation is
garbage or undefined' errors.
2017-09-13 07:28:58 +01:00
Reece H. Dunn 4a882e21d3 Don't update env_x/y if no points were read.
Clang static analysis reports an 'Assigned value is garbage or
undefined' for this. If no points were read from the file, the
`n_points` variable is 0 and `env_x[n_points-1]` performs an
out-of-bounds access.
2017-09-13 07:13:29 +01:00
Reece H. Dunn 19b2bebc02 Don't save an intonation if it was not found.
Clang static analysis reports an 'Assigned value is garbage or
undefined' error. This happens if the default_tune data has not
been copied in the kTUNE case.

Extending this further, it does not make sense to save the tune
data if the tune was not found, or if the tune already exists.
2017-09-13 07:03:18 +01:00
Reece H. Dunn a2f751044c Remove unused letter assignment in MatchRule.
This was identified by the clang static analyser. The letter
variable is set in the various match_type switch cases, so
does not need to be initialised in the start of the while loop.
2017-09-12 07:46:53 +01:00
Reece H. Dunn ecdff298b0 last_letter in MatchRule is not used.
This was identified by the clang static analyser.
2017-09-12 07:43:00 +01:00
Reece H. Dunn 8a777385a8 Use wflags to access wtab->flags in LookupDict2.
Clang static analysis reports a 'Dereference of null pointer'
error when accessing wtab->flags. This is properly guarded
against when setting the wflags variable, so use that variable
instead.
2017-09-12 07:36:54 +01:00
Reece H. Dunn e6ea8fabea Initialise ending in RemoveEnding.
Clang static analysis reports this as several 'Result of operation
is garbage or undefined' errors, when `ending` has not been set
due to no matching endings.
2017-09-12 07:29:07 +01:00