Commit Graph
359 Commits
Author SHA1 Message Date
Reece H. Dunn 328f4cfdc9 Test and fix Java to IANA country code mapping. 2014-10-28 15:33:11 +00:00
Reece H. Dunn 6576742917 Test and fix Java to IANA language code mapping. 2014-10-28 15:23:53 +00:00
Reece H. Dunn f68efe7224 tests: update the expected strings for Android 5.0 2014-10-28 14:54:09 +00:00
Reece H. Dunn 1cfb433438 tests: update the voice data 2014-10-28 13:05:27 +00:00
Reece H. Dunn bc5e919663 build.gradle: update to the latest gradle plugin version 2014-10-27 16:45:26 +00:00
Reece H. Dunn 543223441d Update to support the voice changes (ia, bn) 2014-08-09 16:15:34 +01:00
Reece H. Dunn 092318d4df jni: avoid crashing when run on ART
The ART runtime is stricter about calling env->DeleteWeakGlobalRef
on an object/value that was not returned from env->NewWeakGlobalRef.
In that case, it triggers an abort which causes the application to
crash and display an "Application has stopped" dialog message.
2014-07-03 12:11:17 +01:00
Reece H. Dunn 9fbc01bed5 Use gradle plugin 0.12.+ (for Android Studio Beta). 2014-07-03 12:09:47 +01:00
Reece H. Dunn 42de2a5897 eSpeak for Android 1.48.05 2014-06-06 12:50:00 +01:00
Reece H. Dunn aabf4602ca Remove uses-sdk from AndroidMasnifest.xml (specified by gradle). 2014-06-01 16:33:09 +01:00
Reece H. Dunn c1f3dd8ddc Fix the tests after updating to 1.48.05. 2014-06-01 16:23:29 +01:00
Reece H. Dunn d2c83b1096 build.gradle: fix building the tests 2014-06-01 16:14:09 +01:00
Reece H. Dunn 0008e7d7d1 ImportVoicePreference.java: fix a crash when no dictionaries are found 2014-05-26 16:41:52 +01:00
Reece H. Dunn 51da73921c build.gradle: target SDK version 19 2014-05-26 16:14:38 +01:00
Reece H. Dunn 9defa140ce Updated the Russian translations (translator: electrogramma) 2014-05-26 15:58:43 +01:00
Reece H. Dunn e65a490eed Updated the Catalan translations (translator: jmontane) 2014-05-26 15:58:10 +01:00
Reece H. Dunn 453d4a3792 build.gradle: update the build tools and gradle plugin 2014-05-26 15:51:03 +01:00
Reece H. Dunn 000ee52846 tests: support the new languages and translations 2014-02-27 14:06:42 +00:00
Reece H. Dunn 400f16e5cc android: do not fail release build on lint issues 2014-02-27 13:07:10 +00:00
Reece H. Dunn 8a9fe95cce Android Studio 0.4.* build fixes 2014-02-27 12:31:29 +00:00
Reece H. Dunn e878b4e29b Updated the Finnish resources (translator: artnay, jkinnunen) 2014-01-10 20:51:58 +00:00
Reece H. Dunn 0f913e4434 Updated the Indonesian resources (translator: viton sulistyono) 2013-12-12 18:09:05 +00:00
Reece H. Dunn 1cc6553388 Updated the German resources (translator: Simon Eigeldinger) 2013-10-30 18:22:08 +00:00
Reece H. Dunn 66818b4e4a eSpeakActivity: Register the receiver in onStart to avoid an IllegalArgumentEcception. 2013-10-14 19:22:23 +01:00
Reece H. Dunn 2c593987cd eSpeak for Android 1.47.12 2013-10-14 15:16:48 +01:00
Reece H. Dunn 8f82baa646 Fix updating the number of installed voices after installing them within the activity. 2013-10-14 15:12:23 +01:00
Reece H. Dunn 4236fc48db Update the tests to include the new 'as' and 'gu' voices. 2013-10-14 13:30:53 +01:00
Reece H. Dunn fcc44e8b6e Indonesian: fix the sample text string 2013-10-14 13:15:10 +01:00
Reece H. Dunn 51a3c9fd31 Updated the Slovak resources (translator: Peter Vágner) 2013-10-14 09:28:55 +01:00
Reece H. Dunn 726796ec21 Translations: Remove unused strings (sync with transifex.com) 2013-09-19 11:32:03 +01:00
Reece H. Dunn 4339ae30bb Catalan: Update the strings (translator: jmontane) 2013-09-19 11:29:55 +01:00
Reece H. Dunn 762b297c7c Bulgarian: Update the strings (translator: Kostadin Kolev) 2013-09-19 11:27:51 +01:00
Reece H. Dunn f0fa441131 Fix a crash when specifying punctuation characters. 2013-09-19 11:19:59 +01:00
Reece H. Dunn daf4b318c5 eSpeak for Android 1.47.11d-2 2013-09-17 14:31:04 +01:00
Reece H. Dunn a8f09fd4a9 Don't crash or trigger a voice update if there is no selected dictionary to import. 2013-09-17 13:58:33 +01:00
Reece H. Dunn 9c00360347 Add the ability to import an eSpeak dictionary file from the SD card. 2013-09-17 13:41:01 +01:00
Reece H. Dunn dea3ee743f FileUtils: Set the initial size of the ByteArrayOutputStream buffer. 2013-09-17 13:28:59 +01:00
Reece H. Dunn bbad97c194 Move the file-related helper methods to a FileUtils class. 2013-09-17 12:37:54 +01:00
Reece H. Dunn 8731c237af Update the copyright statements of several java files. 2013-09-16 15:54:51 +01:00
Reece H. Dunn b3d5e46b83 Remove unused import statements. 2013-09-16 15:52:04 +01:00
Reece H. Dunn ed305acc29 Move the Preference implementations to com.reecedunn.espeak.preference. 2013-09-16 15:40:05 +01:00
Reece H. Dunn 9e99b70965 Android.mk: Only build the parts of libespeak that are actually used. 2013-09-16 12:57:03 +01:00
Reece H. Dunn cf9dc5b430 DownloadVoiceData.java: Move clearContents to the AsyncExtract inner class. 2013-09-15 15:59:58 +01:00
Reece H. Dunn e516356123 DownloadVoiceData.java: Inline onLanguagesInstalled to the onPostExecute callback. 2013-09-15 15:56:46 +01:00
Reece H. Dunn bd2d3803cc CheckVoiceData.java: dataPath is no longer used, so remove it. 2013-09-15 09:43:48 +01:00
Reece H. Dunn 9d30f6e7a0 CheckVoiceData.java: The filter method is no longer used, so remove it. 2013-09-15 09:40:33 +01:00
Reece H. Dunn f8f025da85 TtsSettingsActivity.java: Use the VoiceSettings.PREF_* constants for the preference names. 2013-09-15 09:26:58 +01:00
Reece H. Dunn 58ae6ea33f VoiceSettings.java: Add support for converting to a JSON object. 2013-09-11 13:15:40 +01:00
Reece H. Dunn 1891740f80 Add an explicit 'None' option to the 'Speak punctuation' setting. 2013-09-09 15:49:09 +01:00
Reece H. Dunn aebd02fa68 Remove the Android 2.x/3.x support code.
The Android 4.x+ code has changed a lot since the initial import
of the eyes-free codebase. A lot of bug fixes and improvements
have been made to it.

The eyes-free codebase had two different code paths:
  *  one for ICS (4.0) or later, using the Java-based TTS APIs
     provided by the Android platform;
  *  one for pre-ICS using an internal C++-based TTS API.

Thus, any bug fixes or improvements would have to be done to both
code bases if Android 2.x/3.x support is required. This is not
maintainable.

If pre-ICS support is to be re-added in the future, the plan will
be to:
  *  forward the C++-based APIs to the Java-based APIs via a
     compatibility layer;
  *  use a compatibility layer (Android Support Library?) for using
     the ICS settings API on pre-ICS.
2013-09-08 12:01:20 +01:00