Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

release version 2.4

Latest
Compare
Choose a tag to compare
@russaa russaa released this 11 Jul 21:07
· 307 commits to master since this release

##################
Version 2.4
##################

  • 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

##################
Version 2.3
##################

  • notification: added stopSound() function
  • Templating (ehtml): added stringify() function for template representation objects
  • Controllers/PresentationManager: added optional callback before_page_load()
  • env/media:
    • added new Audio Input Module webkitAudioInput.js
    • some BUGFIXes for audio output modules (html5 and cordova)
    • updated recorder.js/recorderWorker.js
    • FIX for hmtl5AudioInput.js in new Chrome version (> 30.x.x): due to performance problems (-> "stutter" in encoded WAV audio) integrated silenceDetection into audio-input module (recorder/recorderWorker)
  • added VolumeControl plugin (ANDROID): control Android's volume setting and store/restore volume setting on leaving/entering the APP
  • added textarea to login view, and ctrl code for speech input (for TESTING speech input; DISABLED by default)
  • (changed default configuration for HTML5-speech-input's WebSocket to default port of new service-implementation)
  • added UNICODE support for grammars (UNICODE characters need to be masked within grammar code, since JS/CC cannot handle these!)
    • TODO remove obsolete UMLAUTs handling
  • improved handling of SEMANTIC object in grammar, in case TOKENS / UTTERANCES are referenced multiple times within a phrase
  • BUGFIX handling empty stopword list in grammar definitions (JSON)
  • BUGFIX for testSemanticInterpreter.html:
    • initialize with controls with correct default-language
    • remove languages where no grammar is available, from drop-down list
  • improved testSemanticInterpreter.html
    • improved layout, added descriptions
    • added mask/unmask option for JSON values (-> for non-ASCI unicode chars)
  • added check / detailed error message for invalid JSON grammars
    • using json-lint
    • added check / detail message for build.xml
    • added check / detail message for testSemanticInterpreter.html