Yury Popov
ccc00f9278
tests: api: allow both case of pathsep
2 years ago
Yury Popov
f60f1590db
tests: use custom assertion define
2 years ago
Yury Popov
af0a28f9db
ci: re-enable part of autoconf CI
2 years ago
Alexander Epaneshnikov
892651bb77
code cleanup: remove chromium extension (#1598)
Rationale:
- It is not a part of eSpeak-NG, nor useful wrapper/adapter
- It is not properly documented and maintained
- It is unsafe (running PHP daemon with user privileges and [launch
ANY](6d7101c03c/chromium_extension/index.php (L8))
received command via
[passthru](https://www.php.net/manual/en/function.passthru.php ) -
seriously?)
2 years ago
Yury Popov
b7ebfedadc
code cleanup: remove chromium extension
2 years ago
Alexander Epaneshnikov
6d7101c03c
ssml: handle invalid break strength (#1587)
Workaround for NVDA's broken SSML.
7c08cf52fe/source/synthDrivers/espeak.py (L336-L339)
2 years ago
Yury Popov
04ce972800
ssml: handle invalid break strength
2 years ago
Alexander Epaneshnikov
35315502c4
Windows: bunch of build fixes with CMake (#1585)
2 years ago
Yury Popov
6bb25fbb07
windows: fix mingw build
2 years ago
Yury Popov
91b3959170
windows: fix DLL build
2 years ago
Yury Popov
5d547e2676
windows: Fix API test (pathsep)
2 years ago
Alexander Epaneshnikov
bff745b4b3
Fix compile definitions for autoconf and vcxproj (#1584)
2 years ago
Yury Popov
9725cedc8e
windows: fix definitions
2 years ago
Yury Popov
19dfee4d71
autoconf: fix sonic/pcaudio definitions
2 years ago
Alexander Epaneshnikov
bf4db40aa5
code cleanup: compiledict: do not use temp file (#1564)
2 years ago
Yury Popov
3a68f0f74d
code cleanup: compiledict: do not use temp file
2 years ago
Alexander Epaneshnikov
29e88e0e65
Belarusian: fix single characters transcription (#1576)
fix single characters transcription for б, ж, й, ў
2 years ago
Sergei B
282d34984f
Belarusian: fix single characters transcription
fix single characters transcription for б, ж, й, ў
2 years ago
Alexander Epaneshnikov
01903ee5b7
Belarusian: fix IPA chars (#1572)
- fix IPA chars for "s;" and "z;" phonemes
- add bug note about "...i a..." case
2 years ago
Sergei B
9dd964ffed
Belarusian: fix IPA chars
- fix IPA chars for "s;" and "z;" phonemes
- add bug note about "...i a..." case
2 years ago
Alexander Epaneshnikov
d25030c668
build: support building with cmake (#1570)
Fixes: #1547
- Implement building and testing with cmake
- Download libsonic from repository (when enabled and not available as
system library), ref: #650
- Migrate android native build to cmake
- Migrate CI to cmake
- Add windows CI
TODO (might be done in separate PR):
- Building as [cmake external
project](https://cmake.org/cmake/help/latest/module/ExternalProject.html )
- Building for package managers (deb, rpm, ...)
- Strip out `vcproj` - _to be discussed_
- Strip out `autotools` after next release
- Update build documentation for `cmake`
2 years ago
Yury Popov
c162554396
ci: cmake-based
2 years ago
Yury Popov
2f068b15a5
build, ci: windows build
2 years ago
Yury Popov
a6453f3751
tests: fix and re-enable shell tests
2 years ago
Yury Popov
c6dc7bfc3d
build: run tests with ctest
2 years ago
Yury Popov
0f050397dc
android: use cmake build system
2 years ago
Yury Popov
c60a49d711
build: support building with cmake
2 years ago
Alexander Epaneshnikov
859bd63a53
code cleanup: compilation options (#1562)
Fixes: #1549
A bunch of `#ifdef` stuff cleanups, including:
- Check header presence with `__has_include` instead of autoconf's
`HAVE_XXX` macro
- Standartization of defines: consistent naming, define to 1 and check
with `#if` instead of `#ifdef`
- Compile MBROLA-related code only if configured `--with-mbrola`
- Compile tests with flags that match configuration (including async,
klatt, speechplayer, mbrola)
- Fix for API test when compiled with async
2 years ago
Yury Popov
1cc91d4cc1
tests: fix api test for async enabled
2 years ago
Yury Popov
820b85ed21
fifo, event: fix thread management
2 years ago
Yury Popov
78ac6c4a88
code cleanup: do not compile mbrola if not enabled
2 years ago
Yury Popov
92beee2b4c
code cleanup: remove dead code
2 years ago
Yury Popov
ca1f590101
code cleanup: standartize definitions
2 years ago
Yury Popov
c8a21a5463
code cleanup: header detection with has_include
2 years ago
Alexander Epaneshnikov
6a8b6ae723
android: set buffer size to 300 (#1558)
ref: #1554
ref for buffer size:
a6fb239208/source/synthDrivers/_espeak.py (L338)
2 years ago
Alexander Epaneshnikov
e3c876325d
android: set buffer size to 300
ref: #1554
ref for buffer size: a6fb239208/source/synthDrivers/_espeak.py (L338)
2 years ago
Alexander Epaneshnikov
f138267d7b
tests: build with klatt and speechplayer (#1557)
Ref: #1549
2 years ago
Yury Popov
b996d39d40
splayer: fix memory leak on espeak terminate
2 years ago
Yury Popov
82e56b88dd
tests: build with klatt and speechplayer
2 years ago
Alexander Epaneshnikov
a8ea91b2ae
espeak-ng: Add -P option to configure pitch range (#1552)
2 years ago
Samuel Thibault
b5b3231e52
espeak-ng: Add -P option to configure pitch range
2 years ago
Juho Hiltunen
6362245b24
code cleanup: combine two identical if-clauses
2 years ago
Juho Hiltunen
e5f95289ad
code cleanup: remove setting unread variable.
2 years ago
Juho Hiltunen
745ae078fb
code cleanup: reduce variable scopes in compiledata.c
2 years ago
Juho Hiltunen
bf6d99cb89
Merge branch 'duplicates'
2 years ago
Juho Hiltunen
c496da5bf6
code cleanup: reduce duplication with new function CalculateSample()
2 years ago
Juho Hiltunen
bbfef6a269
code cleanup: reduce duplication with new function DollarRule()
2 years ago
Juho Hiltunen
33df55bf12
code cleanup: next part (#1548)
Contribute to #68
Reduce number of externs and static-returns
2 years ago
Yury Popov
100df4c067
code cleanup: reduce return of static buffers
2 years ago
Yury Popov
29f7afc688
code cleanup: const vowels_be in SelectTranslator
2 years ago