code cleanup: Check all local includes with include-what-you-use
Going through files in src/libespeak-ng/, include-what-you-use removed a
few unnecessary includes and included explanations on why a certain
header should be included. This makes tracking globals and dependencies easier.
Running the codebase through IWYU should be repeated after each major
code restIncludes to standard c library weren't checked to avoid
breaking builds with other platforms.
See https://github.com/include-what-you-use/include-what-you-use
See issue #8, https://github.com/espeak-ng/espeak-ng/issues/8
There might still be some ints that could be changed to boolean.
Possible regressions in fifo.c:
int fifo_is_busy() and int fifo_is_command_enabled() used to return an int. Now they return a boolean. This might cause problems on systems where stdbool true/false is something else than 1/0.
Fix bug, use of the command-line "espeakedit --compile" produced phoneme data
in which vowels started at full amplitude instead of gradual increase.
Fix bug: SSML <break time=""> with values greater than 23 seconds were ignored
due to arithmetic overflow.
Phoneme definition files:
Added new function: ChangeNextPhoneme().
Language changes include: da, en, fa, gu, hu, it, nl, pt, ta
Started new language: eu (Basque).
*_rules files:
Allow $p_alt1, $p_alt2, etc in pre-conditions. The rule matches if the
characters before the current point in the word occur as an entry in the
*_list file with the corresponding $alt attibute.
Added condition $list. This is similar to $p_alt etc, but examines
all words in the *_list file which don't have the $only attribute.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@374 d46cf337-b52f-0410-862d-fd96e6ae7743
Fix: Flush stderr() after espeak_CompileDictionary().
Fix: parallel formant parameters for Klatt synthesizer.
Changes for Malayalam numbers.
Language changes: en-us, nl, pt, sl, ta, ur.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@359 d46cf337-b52f-0410-862d-fd96e6ae7743
Fix bug in SAPI5 version: speed suddenly changes to very slow when speaking a word which contains foreign characters.
Language changes: da, fa, hu, pt, ur.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@313 d46cf337-b52f-0410-862d-fd96e6ae7743