This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implemented pre-compilation for templates (eHTML)
* completed implementation for storing & loading compiled template files * added pre-compilation code for template-parsing task (in ANT parse.xml) * added mechanism for loading pre-compiled templates * configuration for enabling/disabling usage of pre-compiled files * included up-to-date check (using MD5-checksums) to verify that compiled templates are up-to-date * grammars: * added English example grammar (from/used in smart-case example) * example Japanese dictionary and (minimal) grammar * test page for semantic-interpreter: FIX in language-selection menu (dropdown box): select currently set language on page-load (before: first entry in the list was selected) * CommonUtils: * BUGFIX create instance with new (avoid var-leaking into global namespace) * updated network-checking code (to reflect/use current Cordova-implementation) * ControllerManager: refactored info-object creation (for preparing controller-/view-loading) * BUGFIX load input-manager asynchronously * BUGFIX prevent default-click behavior in DEFAULT-BUTTON-HANDLER (see vclick handling in executeAfterEachPageIsLoaded()) * cordovaAudioOutput * removed some commments * BUGFIX for implementation of isPaused() function * slightly modified stop() implementation * removed unnecessary/obsolete callback-id-list mechanism * FIX: remove onCanPlay listener after first invocation * FIXED/IMPROVED status-dependent functions (stop() etc); * NOTE intialization only works error-free in combinaiton with modification in Cordova resources so that on-init event for media/audio is correctly fired in case of async-preparation * FIX included private field for audio status in order to avoid Exceptions in stop() function * Cordova (MODIFIACATION for 2.8.1 JAR) * added listeners in Audio impl. in order to avoid ERROR output (for normal/regular behavior) to LogCat * BUGFIX in onPreparation() in case of async preparation: only signal MEDIA_STARTING if the current state is lower (e.g. do nothing if already playing) * FIX for media/audio initialization: in case of async-preparation now INIT-callback is triggered when prepared-listener is invoked (not directly when async-preparation is started as before) * html5AudioOutput * remove console debug output * FIX / WORKAROUND for stop/replay: in case audio does not support timeranges (dependent on server), audio is reloaded, since we cannot reset currentTime to 0 * BUGFIX need this-reference for removing listener in audio-object * BUGFIX for initialization listener (should only be called once) * maryTextToSpeech * BUGFIX trigger onEnd-callback in tts-function if cancel-function is called (i.e. notify ending of TTS) * FIX set onEnd-callback to null, after calling (avoiding possible, multiple calls to same callback) * FIX apply encodeURIComponents() to text/sentence before sending to MARY (instead of just encoding space chars) * webkitAudioInput * BUGFIX for recognize() implementation * BUGFIX need to reset variable aborted, otherwise recognition assumes abortion on every listener-callback, if abort/cancel has been invoked once before * BUGFIX only restart asr if no speech is detected. * BUGFIX for BUG in case of more than one instance running, ASR would get stuck in an infinite loop * Notification * BUGFIX for callback triggering (avoid null-pointer exceptions) * DISABLED releasing resources on pause (in order to be able to play notification sounds as long as app is only paused and not exited yet) * added & implemented optional parameter isKeepOnPause for creating notifications sounds (only relevant for ANDROID): if set, sounds are not released when APP pauses * added initSound() function (for avoiding double-triggering sound upon first playing, e.g. BEEP feedback after starting/resuming APP) * REFACTORED private method for getting audio-object from internal cache * removed language-specific functionality from ConfigurationManager (set to @deprecated: instead the LanguageManager should be used directly) * modified ANT tasks to use integrated SCXML-JS for compiling dialog- and input-engine * buil-properties/-settings: * removed properties in build-setting files and ANT script that were required for previous solution (i.e. usage of external SCXML-JS) * added/extended comments and added example for referencing nodejs in standard MacOS-environment
- Loading branch information