Juho Hiltunen
7115e46879
fi: uncomment number configuration.
...
Accidentally commented out in ac82698f .
2022-10-09 20:41:22 +03:00
Juho Hiltunen
a19e4b8df2
resize and initialize a two-dimensional array to pass sanitizer
2022-10-09 16:38:53 +03:00
Juho Hiltunen
eae4595dc9
cleanup: move shared enums and MNEM_TABs to header file
2022-10-09 16:38:53 +03:00
Juho Hiltunen
78c6873427
cleanup: call CheckTranslator at start of LoadLangugeOptions
2022-10-09 16:38:53 +03:00
Juho Hiltunen
3182dee147
code cleanup: move CheckTranslator() to langopts.c
2022-10-09 16:38:53 +03:00
Juho Hiltunen
159ab0ee76
cleanup: move langopts.params handling to LoadLanguageOptions()
...
These have no tests and should be refactore to be similar to other
langopts.
2022-10-09 16:38:53 +03:00
Juho Hiltunen
b820b68182
cleanup: move words to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
ac82698f99
cleanup: move numbers to LoadLanguageOptions()
...
Note: This feature has no tests.
2022-10-09 16:38:53 +03:00
Juho Hiltunen
bdf18eafb1
cleanup: moved dictmin to LoadLanguageOptions()
...
Note: This feature has no tests. It doesn't look very useful and I think
could be removed.
2022-10-09 16:38:53 +03:00
Juho Hiltunen
e1d936dc52
cleanup: moved dictrules to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
f28841162f
moved tunes to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
c92180f918
cleanup: move n_tunes and tunes to where they are used
2022-10-09 16:38:53 +03:00
Juho Hiltunen
ec897eff32
fixup, add langopts.h to version control
2022-10-09 16:38:53 +03:00
Juho Hiltunen
e38142acd1
cleanup: moved intonation to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
8e3399bb98
cleanup: move stressRule to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
9caada3b31
cleanup: move stressOpt to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
46bc25e173
cleanup: move stressAmp to LoadLanguageOptions()
2022-10-09 16:38:53 +03:00
Juho Hiltunen
2a462e4afe
cleanup: move stressAdd to LoadLanguageOptions()
2022-10-09 16:38:52 +03:00
Juho Hiltunen
db57230320
fixup error message for Bad Voice attribute.
...
We currently have two switch statements. Every key should go to only one
of them.
2022-10-09 16:38:52 +03:00
Juho Hiltunen
77282aca34
cleanup: move stressLength to LoadLanguageOptions()
2022-10-09 16:38:52 +03:00
Juho Hiltunen
4a2890250b
code cleanup: new file langopts.c for handling language options.
...
The switch case in LoadVoice() currently mixes voice and language
options. This change will start separating them into two functions.
CheckTranslator will be moved to langopts.c. In the future there should
be no need to use it in voices.c. There will be other temporary
solutions also.
2022-10-09 16:38:52 +03:00
kirill-jjj
d126f67fee
Russian: Set max_digits to 18
2022-10-06 21:29:43 +03:00
Cameron Wong
45f25b5564
Fix dictionary_skipwords bug. It should be injected when re-structing method TranslateWord3.
2022-09-29 09:36:31 +08:00
Cameron Wong
8e6a21fdeb
Fix issue of word item in cmn_listx not taking effect.
2022-09-29 09:32:15 +08:00
Alexander Epaneshnikov
52fa8a597d
Windows: add mto
2022-09-18 02:13:48 +03:00
kirill-jjj
563db55147
Russian: improve numbers
2022-09-18 01:17:00 +03:00
Juho Hiltunen
545f38a46b
code cleanup: remove unused #defines
...
Note: Strange that FLAG_ALT7 is used but ALT4-ALT6 are not. Same with
R6p.
2022-09-17 19:19:44 +03:00
Juho Hiltunen
4a9f0e21be
code cleanup: move Is*() helper functions to common.c
2022-09-17 18:57:20 +03:00
Juho Hiltunen
57c7285ff9
code cleanup: move ApplySpecialAttribute2()
2022-09-17 18:20:38 +03:00
Juho Hiltunen
741bea9510
code cleanup: make LookupFlags() static
2022-09-17 18:09:23 +03:00
Juho Hiltunen
597cb2f440
code cleanup: move Unpronouncable() and Unpronouncable2()
2022-09-17 18:05:01 +03:00
Juho Hiltunen
9d03b09537
code cleanup: move ChangeWordStress()
2022-09-17 18:05:01 +03:00
Juho Hiltunen
c5db9220bf
code cleanup: move Read4Bytes()
2022-09-17 17:41:43 +03:00
Juho Hiltunen
14ede3e372
code cleanup: move is_str_totally_null()
2022-09-17 17:28:52 +03:00
Juho Hiltunen
64f12fec87
code cleanup: move towlower2()
2022-09-17 17:22:01 +03:00
Juho Hiltunen
ac3b9f6199
code cleanup: move utf8_* functions.
...
utf8_nbytes() is only used in dictionary.c. Others are moved to common.c
2022-09-17 11:24:59 +03:00
Samuel Thibault
4acc295477
Read8Numbers: enforce that we have 8 integers as data
2022-09-17 02:43:35 +02:00
Yury Popov
22ef8b260d
Read8Numbers: Fix zeroing data
2022-09-17 02:43:35 +02:00
Alexander Epaneshnikov
389b1a9761
Windows: fix compilation
...
fb06936c b52d1f3afd and c4d8976fbc broke it.
2022-09-13 19:13:32 +03:00
Valdis Vitolins
95768ad79f
Merge pull request #1336
2022-09-13 11:09:02 +03:00
Valdis Vitolins
8001cf5a48
Merge pull request #1320
2022-09-12 22:33:42 +03:00
kirill-jjj
571c9af09b
Russian: Try to fix regressive voicing assimilation.
2022-09-12 19:26:29 +03:00
Yury Popov
de3cbaa358
Fix changelog file case (make macOS happy with missed file)
2022-09-11 22:15:56 +03:00
Samuel Thibault
6f8aeb4ebc
Typo
2022-09-05 00:02:03 +02:00
Yury Popov
cd0dd0900f
Do not create audio out if not required
2022-09-05 00:42:42 +03:00
Juho Hiltunen
b52d1f3afd
code cleanup: move strncpy0 to common.c
2022-09-04 07:12:39 +03:00
Juho Hiltunen
c4d8976fbc
code cleanup: Add new source file common.h for misc functions.
2022-09-03 21:19:37 +03:00
Juho Hiltunen
47b1b5baeb
code cleanup: move TranslateWord3() and others o translateword.c
...
Use parameters instead of globals. Note the change from sizeof(word_phonemes) to size_word_phonemes.
2022-09-03 11:54:10 +03:00
Juho Hiltunen
5e7c105723
code cleanup: move TranslateLetter() and others to translateword.c
2022-09-03 11:46:16 +03:00
Juho Hiltunen
fb06936c51
code cleanup: start moving translateWord3() to a new source file.
...
The file will be organized to have one callable function only. This
should make code structure simpler.
Existing code will be changed to use function parameters instead of
global variables.
Possible problems include too much dependencies with numbers.c.
2022-09-03 11:41:30 +03:00