Commit Graph

  • 2d982956a5 Store the category data in uint8_t arrays to minimize their compiled size. Reece H. Dunn 2012-12-22 13:05:09 +00:00
  • 2df0e6abdb Factor out the remaining single category tables. Reece H. Dunn 2012-12-22 12:55:23 +00:00
  • 7f1dd9cc96 Avoid duplicating Lo only tables. Reece H. Dunn 2012-12-22 12:49:55 +00:00
  • ea09eb5c45 Add tests for querying UCD properties; fix discovered issues. Reece H. Dunn 2012-12-22 12:18:49 +00:00
  • 68ec09ab57 Use the ucd-tools toupper/tolower APIs instead of the Android versions. Reece H. Dunn 2012-12-22 10:08:42 +00:00
  • 9c3a87dbeb Add toupper, tolower and totitle case-conversion APIs. Reece H. Dunn 2012-12-22 09:57:21 +00:00
  • 8bafda70e2 Use the new ucd-tools project for wide-character compatibility on Android. Reece H. Dunn 2012-12-22 01:54:37 +00:00
  • e3e85d33f2 Rename Ci to Ii and move it to an I/Invalid category group as it is not part of the UCD C/Other category group. Reece H. Dunn 2012-12-22 01:27:18 +00:00
  • bc6a5c23cc Remove the Zc class as it is not part of the UCD; special case Cc-based whitespace instead. Reece H. Dunn 2012-12-22 01:19:03 +00:00
  • ff7a5e0209 Add support for looking up the general category group for a codepoint. Reece H. Dunn 2012-12-22 01:09:49 +00:00
  • 2282735a4c Add ctype-style APIs that are compatible with wctype.h. Reece H. Dunn 2012-12-22 00:56:39 +00:00
  • a416b4090c Display the Unicode Character Database version in the generated file. Reece H. Dunn 2012-12-22 00:08:38 +00:00
  • 7f4f3ee7d1 Add the generated file src/categories.cpp so you don't need the Unicode Character Database to build the project. Reece H. Dunn 2012-12-21 23:57:39 +00:00
  • 12bafa6b4d tools/categories.py: generate category lookup tables for the full unicode range. Reece H. Dunn 2012-12-21 23:55:27 +00:00
  • e6133fcafd tools/ucd.py: fixup the codepoint ranges when processing the UnicodeData file. Reece H. Dunn 2012-12-21 21:04:17 +00:00
  • a77e5a142c tools/ucd.py: parse CodePoint/CodeRange entries to their numerical values. Reece H. Dunn 2012-12-21 20:53:33 +00:00
  • 2813950acc Infrastructure for building libucd.a. Reece H. Dunn 2012-12-21 19:41:33 +00:00
  • 1b24e604ed Parse the UCD data files. Reece H. Dunn 2012-12-21 15:37:22 +00:00
  • 0a37be30b2 Build a version of libttsespeak.so for the MIPS architecture. Reece H. Dunn 2012-12-21 00:47:50 +00:00
  • 95b368bc68 Add wctype compatibity for Unicode characters on Android. Reece H. Dunn 2012-12-21 00:41:03 +00:00
  • 2c20fe7e33 Application.mk: align the ':=' and remove commented out code Reece H. Dunn 2012-12-20 20:23:24 +00:00
  • 1b436168a1 eSpeakService.cpp: use 'delete' instead of 'free' to release memory allocated via 'new'. Reece H. Dunn 2012-12-20 14:52:40 +00:00
  • b6ef2a607d Make sure that error states take priority when reporting status messages. Reece H. Dunn 2012-12-20 13:09:17 +00:00
  • 33545918f1 Remove the 'Would you like to send an error report?' text from the error message as this is functionality not supported. Reece H. Dunn 2012-12-19 16:43:26 +00:00
  • 09b62785c1 Remove an unused import. Reece H. Dunn 2012-12-19 16:21:12 +00:00
  • 2564e75444 Display error messages in a status field instead of via dialogs. Reece H. Dunn 2012-12-19 16:19:07 +00:00
  • 2e40b92ad6 Use finsItem instead of getItem to avoid crashing on sub-API 14 devices. Reece H. Dunn 2012-12-19 15:59:39 +00:00
  • 55e58682ab Display a status message in the main UI instead of displaying a dialog if eSpeak is not the default engine. Reece H. Dunn 2012-12-19 15:57:12 +00:00
  • d92abbe342 Move the buttons to the options menu UI accessible via the menu button. Reece H. Dunn 2012-12-19 15:20:03 +00:00
  • 42aba8a20b Update the UI to use a preferences-style display for the information items (default voice and installed voices). Reece H. Dunn 2012-12-19 14:52:46 +00:00
  • eea0946e82 Ensure that the copyright notices are ordered latest to oldest. Reece H. Dunn 2012-12-19 13:07:19 +00:00
  • 629c73b572 Merge branch 'master' into android Reece H. Dunn 2012-12-19 11:33:45 +00:00
  • e7d6e6d302 GetVoices finds 153 voices, so increase the limit to 200. Reece H. Dunn 2012-12-19 11:33:12 +00:00
  • 71fb7bce34 Add debugging information to GetVoices. Reece H. Dunn 2012-12-19 11:31:55 +00:00
  • c73686c9eb Support logging debug information to logcat on Android. Reece H. Dunn 2012-12-19 11:12:26 +00:00
  • 3c05eeb9ed libs: add the hamcrest jar files needed to build the espeak tests Reece H. Dunn 2012-12-18 21:27:50 +00:00
  • beb82cb6fd eSpeakActivity: use the correct intent for launching the TTS settings on Android 3.x. Reece H. Dunn 2012-12-18 21:09:09 +00:00
  • 7dd1d66e4a Fix the shared object name for API 8 compatibility, with tests. Reece H. Dunn 2012-12-18 19:25:09 +00:00
  • dc4f85865d SpeechSynthesis: fix the getSampleText behaviour when passed Java-style locale codes. Reece H. Dunn 2012-12-18 15:39:00 +00:00
  • 2a3a1a0a81 Move the sample text logic into SpeechSynthesis.getSampleText and add test cases for it. Reece H. Dunn 2012-12-18 14:38:57 +00:00
  • 026110c64d CheckVoiceData: MODE_WORLD_READABLE is deprecated; use MODE_PRIVATE instead (the data is accessed via a Service). Reece H. Dunn 2012-12-18 10:17:16 +00:00
  • 55cb127db0 Revert "Fix exported activities/services/providers warning in the manifest." Reece H. Dunn 2012-12-18 08:34:48 +00:00
  • e8ac81e611 Revert "Revert "Update the package version to reflect the espeak version."" Reece H. Dunn 2012-12-18 08:30:44 +00:00
  • 85594a9e8d Revert "Update the package version to reflect the espeak version." Reece H. Dunn 2012-12-17 23:07:01 +00:00
  • 0a69c19112 SpeechSynthesis.Voice.toString should report the language code (not the voice name), so the correct language name is displayed Reece H. Dunn 2012-12-17 18:54:44 +00:00
  • 54b9cb161b VoiceData: update the test data to check the es, fr-be, mk, pl and sw languages. Reece H. Dunn 2012-12-17 17:01:17 +00:00
  • 5a2cfb2e7c SpeechSynthesisTest: skip testing voice data for missing voices. Reece H. Dunn 2012-12-17 16:50:24 +00:00
  • aed6bc0365 SpeechSynthesisTest: calculate the added and removed voices in the getVoices method. Reece H. Dunn 2012-12-17 16:45:50 +00:00
  • ea623385d6 SpeechSynthesisTest: test for added and removed voices to make it easier to maintain and update the VoiceData.voices list. Reece H. Dunn 2012-12-17 16:36:38 +00:00
  • 433a0a0455 AndroidManifest.xml: specify an android:service for the espeak service. Reece H. Dunn 2012-12-17 14:49:17 +00:00
  • 32efff8500 VoiceData.Exception: use AssertionError instead of Exception to get the language in the JUnit results. Reece H. Dunn 2012-12-17 14:13:09 +00:00
  • 87ccc3a61e SpeechSynthesisTest: check the number of voices against the length of the test data array (VoiceData.voices) instead of hard coding it. Reece H. Dunn 2012-12-17 14:10:18 +00:00
  • b5db940457 Note where the languages come from for language selection. Reece H. Dunn 2012-12-17 11:06:26 +00:00
  • 3d48180e28 espeakengine: currentRate is not used, so remove it. Reece H. Dunn 2012-12-16 18:13:59 +00:00
  • 4529991fe4 espeakengine: avoid leaking memory from currentLanguage. Reece H. Dunn 2012-12-16 18:11:45 +00:00
  • f45a01b8e0 espeakengine: correctly implement TtsEngine::setAudioFormat. Reece H. Dunn 2012-12-16 18:05:12 +00:00
  • b9c0143a9b Rename libttsespeak.so to libespeak.so. Reece H. Dunn 2012-12-16 12:12:00 +00:00
  • b30311a7d7 TextToSpeechTest: move out the unsupported language tests to a separate method and check that the language does not get updated. Reece H. Dunn 2012-12-16 11:27:33 +00:00
  • 7816a0a204 TtsService: set the language properties to the matched voice, not the requested voice Reece H. Dunn 2012-12-16 11:14:12 +00:00
  • 4cbf26883b TextToSpeechTest: add tests for TextToSpeech.set/getLanguage. Reece H. Dunn 2012-12-16 01:43:41 +00:00
  • 2bdd4aab27 TextToSpeechTest: add tests for TextToSpeech.isLanguageAvailable. Reece H. Dunn 2012-12-16 01:34:20 +00:00
  • 8d586dd52c SpeechSynthesisTest: factor out the voice data into a reusable, queryable list Reece H. Dunn 2012-12-16 01:11:38 +00:00
  • 86fe261425 SpeechSynthesisTest: Add tests for Voice.match using 3-letter language and country codes. Reece H. Dunn 2012-12-15 14:36:42 +00:00
  • 51da7f2478 SpeechSynthesisTest: Add tests for Voice.toString. Reece H. Dunn 2012-12-15 14:18:51 +00:00
  • 5277a6788a SpeechSynthesisTest: Add tests for Voice.match. Reece H. Dunn 2012-12-15 14:16:10 +00:00
  • 3e136d66d4 espeak-data: remove the duplicacte bg voice file Reece H. Dunn 2012-12-15 00:20:00 +00:00
  • 81c0755be3 Merge branch 'master' into android Reece H. Dunn 2012-12-15 00:19:03 +00:00
  • 3cf7b18d57 espeak-data: bulgarian-test is in both voices/bg and voices/test/bg, so remove the duplicate entry Reece H. Dunn 2012-12-15 00:17:17 +00:00
  • 1a28553d4c Add tests for the data returned by the SpeechSynthesis class, specifically the Voice locale entries. Reece H. Dunn 2012-12-14 23:39:18 +00:00
  • 437a660cda Rework the launcher icon so it is different to the eyes-free icon, using the eSpeak lips icon as the reference. Reece H. Dunn 2012-12-14 16:07:11 +00:00
  • e8a718ebf5 Target API 17 Reece H. Dunn 2012-12-14 14:54:18 +00:00
  • 777254e10d Remove unused drawable files Reece H. Dunn 2012-12-14 14:51:54 +00:00
  • 65d0bd4548 Rename 'eSpeak TTS' to 'eSpeak' to distinguish between the eyes-free port. Reece H. Dunn 2012-12-14 14:44:13 +00:00
  • a79fe17681 Fix exported activities/services/providers warning in the manifest. Reece H. Dunn 2012-12-14 14:34:46 +00:00
  • 681f7475d3 Update the package version to reflect the espeak version. Reece H. Dunn 2012-12-14 14:29:09 +00:00
  • 123e55a39c Relocate the package to com.reecedunn.espeak Reece H. Dunn 2012-12-14 14:23:31 +00:00
  • 8f2ea37c7a Remove cleanup of the legacy directory as this port does not have a legacy directory; removes the need for the WRITE_EXTERNAL_STORAGE permission. Reece H. Dunn 2012-12-14 09:07:26 +00:00
  • 5998278dda eSpeakActivity: don't report an error if mVoices is null, set the installed voices to 0. Reece H. Dunn 2012-12-14 00:24:22 +00:00
  • e27a218592 onDataChecked may be called *after* onInitialized is called, in which case mVoices will be null; set the voice count in onDataChecked to avoid problems Reece H. Dunn 2012-12-13 23:58:34 +00:00
  • e346c86cb7 Fix the 'leaked ServiceConnection' error. Reece H. Dunn 2012-12-13 23:17:44 +00:00
  • bf45142f5d Fix the pitch mapping between Android and eSpeak. Reece H. Dunn 2012-12-13 22:42:06 +00:00
  • df0f166fb4 Move the android sources to android/... to avoid polluting the APK when it is being built through eclipse Reece H. Dunn 2012-12-13 14:05:26 +00:00
  • 7afbbf57d5 espeak specifies rate in WPM but android specifies it as a percentage, therefore correctly scale against the default espeak WPM Reece H. Dunn 2012-12-13 13:34:11 +00:00
  • 9f2137a8ff Add an 'Update voices' button to manually trigger an update. Reece H. Dunn 2012-12-13 11:56:29 +00:00
  • 99e63c4b2e espeakdadta.zip: fix the directory structure Reece H. Dunn 2012-12-13 11:55:43 +00:00
  • 4b1bb96b68 TtsService: correctly map android locales to espeak locales in onSynthesizeText using the onLoadLanguage > onIsLanguageAvailable chain to avoid code duplication Reece H. Dunn 2012-12-13 01:21:23 +00:00
  • 7103594ff5 .gitignore: ignore the gen directory Reece H. Dunn 2012-12-13 00:30:50 +00:00
  • fab65bd5db eSpeakActivity: use a weak reference in the Handler to avoid memory leaks Reece H. Dunn 2012-12-13 00:28:49 +00:00
  • e2d15f6456 nativeSetLanguage is not used, so remove the associated code Reece H. Dunn 2012-12-12 19:43:17 +00:00
  • 5f8a2aa991 Build espeakdata.zip in the correct place so it is picked up by the apk and update it to 1.46.29 Reece H. Dunn 2012-12-12 18:43:08 +00:00
  • aad02ea440 Clean up some easy to fix warnings in the Java code. Reece H. Dunn 2012-12-12 18:16:47 +00:00
  • c24913aec3 Use a pointer to a stack object for 'silence' instead of allocating memory to avoid a memory leak. Reece H. Dunn 2012-12-12 18:09:11 +00:00
  • e62cfa7c76 Add LOGE traces for error codes returned by the espeak functions. Reece H. Dunn 2012-12-12 16:54:59 +00:00
  • 7007dd7608 Do not call (Get|Release)StringUTFChars with a null value as this will crash the eSpeak service. Reece H. Dunn 2012-12-12 16:11:43 +00:00
  • dfbfec4e05 Improve the logging on the JNI/C++ bindings and document which API versions each implementation targets Reece H. Dunn 2012-12-12 16:03:53 +00:00
  • 09ba97bdf8 eSpeakActivity: rework the main layout to provide a better L&F Reece H. Dunn 2012-12-12 13:59:15 +00:00
  • ec7eca3c0d .gitignore: ignore android build output Reece H. Dunn 2012-12-12 13:58:13 +00:00
  • e68eb2f41d Merge branch 'master' into android Reece H. Dunn 2012-12-12 12:00:55 +00:00
  • 400334c4b9 autotools: fix espeak-data dictionary dependencies so they can be built from a clean tree Reece H. Dunn 2012-12-12 11:59:04 +00:00
  • a953b93613 Makefile.am: add an android target to build the espeak-data.zip espeak-data-en_only.zip data files. Reece H. Dunn 2012-12-12 11:43:19 +00:00