Commit Graph
354 Commits
Author SHA1 Message Date
Reece H. Dunn 830bed1cb1 Android: Fix the remaining tests. 2017-08-30 07:53:59 +01:00
Reece H. Dunn 44f33468c4 Android: Fix mapping voices who's IDs have been updated to be BCP47 compliant. 2017-08-22 18:30:30 +01:00
Reece H. Dunn 5027f5310e Android: Update the VoiceData gender field -- the default is always male now to reflect the default voice settings. 2017-08-21 21:17:03 +01:00
Reece H. Dunn 98a34ebaf5 Android: Update the VoiceData identifier fields. 2017-08-21 21:05:49 +01:00
Reece H. Dunn 17620ed607 Android: Update APP_PLATFORM to android-14. 2017-08-20 22:48:21 +01:00
Reece H. Dunn dc2b2a43b8 Android: Update the compile/targetSdkVersion to 26. 2017-08-20 22:34:05 +01:00
Reece H. Dunn 4f360435d8 Android: Update the android gradle build tools to 25.0.3. 2017-08-20 22:33:03 +01:00
Reece H. Dunn d578e9ebd7 Android: Update gradle to 2.3.3. 2017-08-20 22:31:56 +01:00
Reece H. Dunn cec0e773a4 Remove the tokenizer code. This is not currently used, and should be designed from espeak's behaviour. 2017-08-16 19:04:26 +01:00
Reece H. Dunn 58a0363762 Android: Fix the location of ucd-tools (it is now in src/ucd-tools). 2017-07-06 19:29:14 +01:00
Reece H. Dunn 1c4ce3dcd3 tokenizer.c: create and use a clause_type_from_codepoint function, with tests. 2017-04-19 22:33:32 +01:00
Reece H. Dunn ff01f81fbf Fix the Android build. 2017-04-01 10:03:23 +01:00
Reece H. Dunn 1fcdc1c009 Android: add phoneme.c to the build. 2017-02-08 07:12:24 +00:00
Reece H. Dunn 9bb4b53967 Update the version to 1.49.2-dev. 2017-01-22 15:22:38 +00:00
Reece H. Dunn 999ac67433 eSpeak NG 1.49.1 2017-01-21 20:38:42 +00:00
Reece H. Dunn d1c56e6120 Android: Fix installing the voices -- use the new espeak-ng-data path. 2017-01-15 18:13:27 +00:00
Reece H. Dunn 73961be59f Add the config.h file needed for the Android build. 2017-01-08 10:32:07 +00:00
Reece H. Dunn e4e572aadc Convert eSpeakService.cpp to C so it can be compiled with clang's -std=c11 flag. 2017-01-05 21:42:16 +00:00
Reece H. Dunn 0a2034b979 android: support building the new espeak-ng C code. 2017-01-05 20:59:32 +00:00
Reece H. Dunn 02b96a4c8d Don't build the feature-graphic image as these are no longer used on Google Play. 2017-01-05 20:41:46 +00:00
Reece H. Dunn 3d482c1674 android: fix running mkicons.sh on modern systems 2017-01-05 20:38:41 +00:00
Reece H. Dunn 66ac27a94e Merge branch 'android' 2017-01-05 20:27:27 +00:00
Reece H. Dunn edf2aad65c Updated the Turkish translations (translator: Kudret). 2016-09-04 08:37:50 +01:00
Reece H. Dunn b7df955b81 Updated the Slovenian translations (translator: damjange). 2016-09-04 08:37:45 +01:00
Reece H. Dunn 43c0f536b3 Set the APK version information via gradle. 2015-10-14 07:32:04 +01:00
Reece H. Dunn bb3b7e9a00 Use BCP 47 locale codes for Voice.getLocale() to support the correct localization on Lollipop and later. 2015-10-12 21:29:55 +01:00
Reece H. Dunn d19f4fbb5c Update the progress bar with the install progress. 2015-10-12 20:45:07 +01:00
Reece H. Dunn 6b24a673ba Track extraction progress. 2015-10-12 20:19:45 +01:00
Reece H. Dunn 9bb8e8e992 Don't use a successful variable to track if all items were extracted. 2015-10-12 19:53:30 +01:00
Reece H. Dunn 01e8e5ad98 Don't track the extracted files for removal on cancel. 2015-10-12 19:48:14 +01:00
Reece H. Dunn ab90c80b70 Inline the extractEntries call 2015-10-12 19:40:01 +01:00
Reece H. Dunn 3b6c327756 Replace SpeechSynthesis.getBufferSizeInBytes with a constant in the C++ source, specified in the correct units (milliseconds). 2015-10-12 19:02:16 +01:00
Reece H. Dunn 633b7a5673 eSpeakActivity: revert a workaround for the Parcel error from the eSpeak activity 2015-10-12 07:29:08 +01:00
Reece H. Dunn e08b1fc624 Update the copyright notices. 2015-10-12 07:24:20 +01:00
Reece Dunn 954b5f691e Merge pull request #69 from menny/patch-1
Preserving original file formating
2015-10-11 19:47:38 +01:00
Reece H. Dunn 865ebf61a7 Improve the log message for skipping asia/fa-en-us. 2015-10-11 13:11:34 +01:00
Reece H. Dunn e308cec7c5 Make no use the more specific nb locale as nb is what Android uses. 2015-10-11 13:03:43 +01:00
Reece H. Dunn 0b898ed80d Re-enable hy-west support. 2015-10-11 12:28:02 +01:00
Reece H. Dunn fcd4edfd16 Enable om language support. 2015-10-11 12:13:02 +01:00
Reece H. Dunn 5be36dddf9 Simplify the espeak locale name mapping for maintainability. 2015-10-11 11:48:10 +01:00
Reece H. Dunn 744b18498b Update the compile and target SDK to 23 (Marshmallow / 6.0). 2015-10-11 10:44:34 +01:00
Reece H. Dunn c094f4840b Fix a Parcel collection == null exception.
This is caused by the Voice features being set to null. The fix in
Android Marshmallow is to make onGetFeaturesForLanguage return an
empty HashSet object. This does not work for eSpeak because:

  1.  eSpeak was overriding onGetVoices and initializing each Voice's
      features to null;

  2.  the bug is still present on Lollipop.

Thus, the fix here is two-fold:

  1.  make onGetVoices use onGetFeaturesForLanguage;

  2.  make onGetFeaturesForLanguage return an empty HashSet, so that
      eSpeak does not crash on Lollipop either.
2015-10-11 09:16:21 +01:00
Reece H. Dunn 0b86bc71ad Test TextToSpeech.setLanguage semantics at the TtsService level. 2015-10-10 23:07:58 +01:00
Reece H. Dunn 7c8128cc12 Fix the tests on Android Marshmallow. 2015-10-10 22:14:17 +01:00
Reece H. Dunn 059f88138e TtsService: onSynthesizeText does not need to set the language (this is done by setLanguage/setVoice 2015-10-10 15:07:33 +01:00
Reece H. Dunn 385a18bf04 TtsService: clear mAvailableVoices before repopulating it 2015-10-10 14:49:28 +01:00
Reece H. Dunn ced5afb0a1 TtsService: only set mMatchingVoice when told to load the voice. 2015-10-10 14:46:07 +01:00
Reece H. Dunn 8f6f0966f6 Fix the TtsService.onGetDefaultVoiceNameFor behaviour. 2015-10-10 14:37:37 +01:00
Reece H. Dunn d6786a4df4 Factor out the onIsLanguageAvailable logic into a findVoice helper method. 2015-10-10 14:25:13 +01:00
Reece H. Dunn 0ac8564fe5 TextToSpeechServiceTest: add mMatchingVoice tests 2015-10-10 14:19:48 +01:00