Commit Graph
4915 Commits
Author SHA1 Message Date
Samuel Thibault b3ba314ba7 CI: Add reprotest 2022-04-10 16:32:40 +02:00
Samuel Thibault e8253c6513 ssml: Use a larger buffer
When building espeak-ng in a directory that has a long path, 80 bytes to
store it is quite short.
2022-04-10 16:16:00 +02:00
Samuel Thibault 2878e91db0 Fix testsuite under various locales
When the current locale doesn't match the current voice, grep would be
surprised by the produced output and believe that this is not text, for
instance with LC_ALL=ru_RU.CP1251 we get:

  TEST      tests/language-replace.test
[...]
testing mk
grep: (standard input): binary file matches
2d1
< Translate 'пејзаж'

But we can give -a to grep so it always considers its input as text.
2022-04-10 15:40:09 +02:00
Samuel Thibault 90c035c406 Fix overflow while capping to signed 16bit 2022-04-08 01:59:31 +02:00
Samuel Thibault c91aa78363 LoadSoundFile: Fix char signedness 2022-04-08 01:24:50 +02:00
Samuel Thibault 2c524ec8df Fix loading wav files on big-endian architectures
Fixes #1152
2022-04-08 01:18:16 +02:00
Samuel Thibault 473cd9951a CI: avoid aborting the whole matrix on failure 2022-04-03 03:54:57 +02:00
Samuel Thibault c5696f5695 Add uploading config.log artifact on CI failure 2022-04-03 03:33:29 +02:00
Samuel Thibault 980b167e8f CI: Factorize configuration by using a build matrix 2022-04-03 03:00:11 +02:00
Valdis Vitolins 22fb690bf8 Merge pull request #1149 2022-04-02 23:14:16 +03:00
Valdis Vitolins 9fc8aa4a54 eSpeak NG 1.52-dev 2022-04-02 22:35:41 +03:00
Valdis Vitolins 2e9a5fccbb Release 1.51 2022-04-02 22:24:41 +03:00
Samuel Thibault fc05678e41 CheckThousandsGroup: Fix checking heading character before thousand group 2022-04-02 21:13:55 +02:00
Valdis Vitolins 6fd31db229 Merge pull request #1148 2022-04-02 22:05:13 +03:00
Valdis Vitolins 27ef0baae1 Merge pull request #1147 2022-04-02 22:03:11 +03:00
Alexander Epaneshnikov 4b7b4866af windows: add installation directory to path
fixes #700
2022-04-02 00:28:22 +03:00
Alexander Epaneshnikov 8fe65b5820 windows: install all data files
this fixes #891
2022-04-02 00:27:59 +03:00
Alexander Epaneshnikov d54a02c5d9 windows: include new sourcecode files
ref: https://github.com/espeak-ng/espeak-ng/issues/857#issuecomment-962500311
2022-04-01 23:38:46 +03:00
Alexander Epaneshnikov a525531d98 windows: build all dictionaries 2022-04-01 23:38:45 +03:00
Alexander Epaneshnikov 72d1bae4b6 windows: retarget solutions to latest sdk and PlatformToolset 2022-04-01 23:38:44 +03:00
Alexander Epaneshnikov 4ca505d01e windows: don't include winsock2.h
otherwise we get many errors
2022-04-01 23:38:34 +03:00
Samuel Thibault f352f1e43f CheckThousandsGroup: Avoid reading uninitialized data
For the case when word is smaller than 4 characters, we should not look at
the 3rd or 4th character before checking the previous ones, otherwise
we'd at best read uninitialized data, at worse non-existing data.
2022-04-01 20:18:00 +02:00
Samuel Thibault 075cac9b07 fr: Fix PR replacement
Ref #853
2022-04-01 19:36:00 +02:00
Samuel Thibault 02dd413a32 Add valgrind CI run
Now that all errors are fixed.
2022-04-01 00:22:26 +02:00
Valdis Vitolins 5435f465c8 Issue #1063: update tests 2022-03-31 23:09:45 +03:00
Valdis Vitolins 094dc47493 Issue #1063: replace pronunciation of غ to Q 2022-03-31 23:06:06 +03:00
Valdis Vitolins 6dce2117d5 Issue #1063: change length of s[ to 140ms 2022-03-31 22:56:35 +03:00
Valdis Vitolins 009f12107b Issue #1063: change pronunciation of ر from [[r]] to [[R]] 2022-03-31 22:54:53 +03:00
Valdis Vitolins db263a3233 Issue #1064: pronounce parenthesis in Arabic only used as special characters 2022-03-31 22:46:26 +03:00
Valdis Vitolins a6f0606efb Merge pull request #1138 2022-03-31 21:36:28 +03:00
Valdis Vitolins d4f0a97e9f Merge pull request #1142
Fix #1083 and improve some things in German
2022-03-31 21:28:56 +03:00
Valdis Vitolins 866fb512dd Merge pull request #1141 2022-03-31 21:16:35 +03:00
Valdis Vitolins 631dc1c1a9 Merge pull request #1140 2022-03-31 21:16:00 +03:00
Valdis Vitolins e896e01f28 Merge pull request #1139 2022-03-31 21:15:23 +03:00
Samuel Thibault ee0a468f95 soundicon: Avoid calling remove with uninitialized name
fname_temp is not always getting filled.
2022-03-28 01:03:31 +02:00
Samuel Thibault f23265419d tests: Check value returned by espeak-ng
Otherwise we would miss errors produced on shutdown.
2022-03-28 00:55:41 +02:00
Samuel Thibault 0f9a474ed4 Make msan warnings fatal
Otherwise they will go unnoticed.
2022-03-28 00:47:33 +02:00
Andiv06 0987aa6cfa Update Uzbek 2022-03-27 11:25:56 +03:00
Valdis Vitolins bec71b6d12 Merge pull request #1131 2022-03-26 19:28:16 +02:00
Samuel Thibault 127968a6f6 Add msan CI run
Now that all memory errors are fixed.

Ref #220
2022-03-25 22:39:33 +01:00
Valdis Vitolins eaa85563b8 Merge pull request #1136 2022-03-25 23:03:57 +02:00
Valdis Vitolins 2dc6de9cd1 Merge pull request #1126 2022-03-25 22:50:45 +02:00
Samuel Thibault fe63f1b3e7 MatchRule: Do not overflow the text
Some rules test against character not being of a certain type. That may
match with the \0 end-of-text marker, and thus actually step over
it and let MatchRule continue with uninitialized data after it, leading
to potential random behavior.

This commits fixes it by making sure that we don't read past that \0.

This seems to be changing the pronunciation of "capitals" from k'apIt@Lz to
k'apIt,alz, I don't know why, I guess the rule for it was actually
bogus?
2022-03-25 22:49:41 +02:00
Valdis Vitolins 22005d5c86 Test before pull request #1126: MatchRule: Do not overflow the text 2022-03-25 22:49:33 +02:00
Valdis Vitolins 5008cc9c30 Merge pull request #1137 2022-03-25 22:37:14 +02:00
Samuel Thibault 41fe49ea34 asan: Re-enable new_delete_type_mismatch
Now that it is fixed by

dab5457620 "Fix deleting FrameManagerImpl*"
261954b4bd "Fix deleting SpeechWaveGenerator"
2022-03-25 19:22:23 +01:00
Alexander Epaneshnikov 0931763144 enable all extra dictionaries by default
let's be honest, using espeak-ng without these dictionaries is simply
unbearable... at least for Russian. so let's all get a little bit happy.
2022-03-23 21:58:23 +03:00
Samuel Thibault e1c8adfcb5 Add tsan CI run
Now that all tsan errors are fixed.

Ref #220
2022-03-23 19:06:37 +01:00
Valdis Vitolins 51b7325307 Merge pull request #810 2022-03-23 19:44:44 +02:00
tset-tset-tset 927642102e Add some patterns to ja_rules 2022-03-23 19:42:32 +02:00