Commit Graph
5564 Commits
Author SHA1 Message Date
Yury Popov ed05e0ac97 ci: run tests on release and dynamic builds 2022-12-26 00:54:00 +03:00
Yury Popov e8af47d1ed ci: windows variants 2022-12-26 00:53:59 +03:00
Yury Popov ccc00f9278 tests: api: allow both case of pathsep 2022-12-26 00:53:58 +03:00
Yury Popov f60f1590db tests: use custom assertion define 2022-12-26 00:53:57 +03:00
Yury Popov af0a28f9db ci: re-enable part of autoconf CI 2022-12-26 00:53:56 +03:00
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](https://github.com/espeak-ng/espeak-ng/blob/6d7101c03c865c625d6c92b8dda15db0859fe3c2/chromium_extension/index.php#L8)
received command via
[passthru](https://www.php.net/manual/en/function.passthru.php) -
seriously?)
2022-12-25 01:04:28 +03:00
Yury Popov b7ebfedadc code cleanup: remove chromium extension 2022-12-25 00:29:38 +03:00
Alexander Epaneshnikov 6d7101c03c ssml: handle invalid break strength (#1587)
Workaround for NVDA's broken SSML.


https://github.com/nvaccess/nvda/blob/7c08cf52fe1fa8357eac31bf7fb32644dad97978/source/synthDrivers/espeak.py#L336-L339
2022-12-10 22:01:06 +03:00
Yury Popov 04ce972800 ssml: handle invalid break strength 2022-12-10 21:44:10 +03:00
Alexander Epaneshnikov 35315502c4 Windows: bunch of build fixes with CMake (#1585) 2022-12-09 01:25:01 +03:00
Yury Popov 6bb25fbb07 windows: fix mingw build 2022-12-09 00:49:31 +03:00
Yury Popov 91b3959170 windows: fix DLL build 2022-12-09 00:49:30 +03:00
Yury Popov 5d547e2676 windows: Fix API test (pathsep) 2022-12-09 00:49:30 +03:00
Alexander Epaneshnikov bff745b4b3 Fix compile definitions for autoconf and vcxproj (#1584) 2022-12-08 23:31:17 +03:00
Yury Popov 9725cedc8e windows: fix definitions 2022-12-08 22:22:07 +03:00
Yury Popov 19dfee4d71 autoconf: fix sonic/pcaudio definitions 2022-12-08 22:18:21 +03:00
Alexander Epaneshnikov bf4db40aa5 code cleanup: compiledict: do not use temp file (#1564) 2022-12-04 12:41:47 +03:00
Yury Popov 3a68f0f74d code cleanup: compiledict: do not use temp file 2022-12-04 12:17:02 +03:00
Alexander Epaneshnikov 29e88e0e65 Belarusian: fix single characters transcription (#1576)
fix single characters transcription for б, ж, й, ў
2022-12-04 01:11:16 +03:00
Sergei B 282d34984f Belarusian: fix single characters transcription
fix single characters transcription for б, ж, й, ў
2022-12-04 00:57:03 +03:00
Alexander Epaneshnikov 01903ee5b7 Belarusian: fix IPA chars (#1572)
- fix IPA chars for "s;" and "z;" phonemes
- add bug note about "...i a..." case
2022-12-04 00:56:25 +03:00
Sergei B 9dd964ffed Belarusian: fix IPA chars
- fix IPA chars for "s;" and "z;" phonemes
- add bug note about "...i a..." case
2022-12-03 19:45:46 +03:00
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`
2022-12-03 19:44:25 +03:00
Yury Popov c162554396 ci: cmake-based 2022-12-02 21:34:33 +03:00
Yury Popov 2f068b15a5 build, ci: windows build 2022-12-02 21:34:33 +03:00
Yury Popov a6453f3751 tests: fix and re-enable shell tests 2022-12-02 21:34:33 +03:00
Yury Popov c6dc7bfc3d build: run tests with ctest 2022-12-02 21:34:33 +03:00
Yury Popov 0f050397dc android: use cmake build system 2022-12-02 21:34:33 +03:00
Yury Popov c60a49d711 build: support building with cmake 2022-12-02 21:34:33 +03:00
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
2022-11-29 23:58:03 +03:00
Yury Popov 1cc91d4cc1 tests: fix api test for async enabled 2022-11-27 17:45:17 +03:00
Yury Popov 820b85ed21 fifo, event: fix thread management 2022-11-27 17:45:17 +03:00
Yury Popov 78ac6c4a88 code cleanup: do not compile mbrola if not enabled 2022-11-27 14:54:51 +03:00
Yury Popov 92beee2b4c code cleanup: remove dead code 2022-11-27 14:54:51 +03:00
Yury Popov ca1f590101 code cleanup: standartize definitions 2022-11-27 14:54:51 +03:00
Yury Popov c8a21a5463 code cleanup: header detection with has_include 2022-11-27 14:54:48 +03:00
Alexander Epaneshnikov 6a8b6ae723 android: set buffer size to 300 (#1558)
ref: #1554
ref for buffer size:
https://github.com/nvaccess/nvda/blob/a6fb2392083b5fa1bae926102135ad452746ad3c/source/synthDrivers/_espeak.py#L338
2022-11-27 12:55:20 +03:00
Alexander Epaneshnikov e3c876325d android: set buffer size to 300
ref: #1554
ref for buffer size: https://github.com/nvaccess/nvda/blob/a6fb2392083b5fa1bae926102135ad452746ad3c/source/synthDrivers/_espeak.py#L338
2022-11-24 02:08:43 +03:00
Alexander Epaneshnikov f138267d7b tests: build with klatt and speechplayer (#1557)
Ref: #1549
2022-11-23 21:11:49 +03:00
Yury Popov b996d39d40 splayer: fix memory leak on espeak terminate 2022-11-22 19:50:31 +03:00
Yury Popov 82e56b88dd tests: build with klatt and speechplayer 2022-11-22 19:45:18 +03:00
Alexander Epaneshnikov a8ea91b2ae espeak-ng: Add -P option to configure pitch range (#1552) 2022-11-22 15:59:22 +03:00
Samuel Thibault b5b3231e52 espeak-ng: Add -P option to configure pitch range 2022-11-21 20:52:38 +01:00
Juho Hiltunen 6362245b24 code cleanup: combine two identical if-clauses 2022-11-20 19:27:31 +02:00
Juho Hiltunen e5f95289ad code cleanup: remove setting unread variable. 2022-11-20 19:15:19 +02:00
Juho Hiltunen 745ae078fb code cleanup: reduce variable scopes in compiledata.c 2022-11-20 19:00:53 +02:00
Juho Hiltunen bf6d99cb89 Merge branch 'duplicates' 2022-11-20 18:29:36 +02:00
Juho Hiltunen c496da5bf6 code cleanup: reduce duplication with new function CalculateSample() 2022-11-20 18:22:27 +02:00
Juho Hiltunen bbfef6a269 code cleanup: reduce duplication with new function DollarRule() 2022-11-20 17:31:27 +02:00
Juho Hiltunen 33df55bf12 code cleanup: next part (#1548)
Contribute to #68 

Reduce number of externs and static-returns
2022-11-19 20:44:56 +02:00