aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2019-09-01TTS: RefactoringJaromir Wysoglad
* Delete multiple empty rows * Make getVolume non-virtual and leave just the implementation in base class * Resolve warning about signed / unsigned comparison in gui-manager * Clear availableVoices when updating voices on linux * By default set language to transMan language on windows (if the transMan is available) * Remove freeVoices method from Windows ttsMan, it isn't needed anymore
2019-09-01TTS: Fix state switching on windowsJaromir Wysoglad
Voice is changed when changing language on windows, so when poping state, the voice, that should get set has to be saved before changing the language. The speech shouldn't continue when changing state, so it is stopped in pushState and popState.
2019-09-01TTS: Minor Windows TTS refactoringJaromir Wysoglad
Main changes are: * Save age information about each voice * Remove Sample TTS Voice from available voices, because it basicaly cannot speak. * Stop speech after silently playing the test speech (the last voice could be heard speaking after the volume got restored to its original value) * Remove voice data freeing from freeVoices, because it gets freed automaticaly
2019-09-01TTS: Add iconv implementation of strToUtf8Jaromir Wysoglad
This might be useful in the future, because SDL cannot convert from some important encodings (for example CP850)
2019-09-01TTS: Minor refactorisationsJaromir Wysoglad
- Add comment to tts initialization on Windows - Correctly free the voicesInfo in linux ttsMan - Remove popState method from linux-text-to-speech.h and windows-text-to-speech.h - Add tts to help in configure - Refactor language setting in gui-manager.cpp It counted with english being the default language in ttsMan constructors, which isn't true anymore.
2019-09-01TTS: Add check to getVoice, fix typo.Jaromir Wysoglad
Check if _availableVoices isn't empty. Replace availaible with available
2019-09-01TTS: Change String == "" to String.empty()Jaromir Wysoglad
2019-09-01TTS: Move popState to the base classJaromir Wysoglad
2019-09-01TTS: Implement conversion to unicode in say on winJaromir Wysoglad
2019-09-01TTS: Implement conversion to UTF-8 in say on linuxJaromir Wysoglad
2019-09-01TTS: Fix voice setting on startupJaromir Wysoglad
The ScummVM was crashing because of an assert, when there was less voices availaible, than what was set in the ConfMan. Now the voice just falls back to 0th voice, if there are not enough voices.
2019-09-01TTS: Add reference counting to TTSVoiceJaromir Wysoglad
Also refactor TTSVoice destruction to use this reference counting.
2019-09-01TTS: Unify setters between linux and win backends.Jaromir Wysoglad
2019-09-01TTS: Make sure that TTS lang matches transMan langJaromir Wysoglad
2019-09-01TTS: Add age to TTSVoiceJaromir Wysoglad
2019-09-01TTS: Finish implementing the Windows TTS managerJaromir Wysoglad
2019-09-01TTS: Start implementing windows TTSJaromir Wysoglad
2019-09-01TTS: Prepare for windows TTSJaromir Wysoglad
Add windows configuration in configure Add basic skeleton to backends Check if ttsMan is initialized in GUI
2019-09-01TTS: Convert strings to UTF-8Jaromir Wysoglad
Conversion happens only for languages, that might needed (not for english)
2019-09-01TTS: Restart spd connection on speak error.Jaromir Wysoglad
2019-09-01TTS: Add warning if the TTS could not be initedJaromir Wysoglad
2019-09-01TTS: Restrict TTS on linux to only englishJaromir Wysoglad
Unfortunatedly the encoding used by ScummVM breaks the speech-dispatcher, so after trying to say non-ascii character the connection has to be restarted. So for now I am restricting the GUI TTS to english only.
2019-09-01TTS: Add voice selection to optionsJaromir Wysoglad
2019-09-01TTS: Add text to speech to the GUI.Jaromir Wysoglad
2019-09-01TTS: Add TTS checkbox to OptionsJaromir Wysoglad
Probably works only in the builtin theme right now.
2019-09-01TTS: Add ttsStatus push and pop functionsJaromir Wysoglad
2019-09-01TTS: Add checks for correct TTS engine state.Jaromir Wysoglad
2019-09-01TTS: Resolve segfault when exiting scummvmJaromir Wysoglad
2019-09-01TTS: Add part of linux TTSJaromir Wysoglad
2019-09-01TTS: Create a TTS skeletonJaromir Wysoglad
2019-08-26PSP: Implement AbstractFSNode::createDirectory()Cameron Cawley
2019-08-25CLOUD: Make Network::ErrorResponse messages more verboseAlexander Tkachev
This commit updates all usages of Network::ErrorResponse to specify at least method name if not precise reason why operation failed.
2019-08-25CLOUD: Handle HTTP response headers case-insensitivelyAlexander Tkachev
RFC 2616 states that HTTP headers are not case-sensitive and also allows arbitrary number of whitespace characters around header value. Previous implementation was dependant on headers to be in "Title-Case" and to have only one space before header value. That has lead to cloud sync failure on Debian x64 (user's network environment was probably the reason though). This commit adds a new method, which parses headers name-value pairs into HashMap. To ensure case-insensitivity, all headers names are converted to lowercase, and thus code that uses this method should specify headers in lowercase. All usages of raw headers contents were updated to use this method.
2019-08-24SDL: Use a non-const string for SDL_iconv_stringJaromir Wysoglad
With some older versions of SDL1, the SDL_iconv_string takes char * instead of const char * as it's argument. This should fix the build issue with gp2xwiz.
2019-08-24CLOUD: Fix Inverted Test Regression in Debug Message CodeD G Turner
This was introduced by my previous commit to this where I accidently inverted the tests during refactoring.
2019-08-24WIN32: Delete obsolete comment in convertEncoding.Jaromir Wysoglad
2019-08-24WIN32: Handle endianity in convertEncodingJaromir Wysoglad
2019-08-24WIN32: Move getCodePageId to codepage.hJaromir Wysoglad
2019-08-24WIN32: Fix infinite loop when converting from utf32Jaromir Wysoglad
Because of how cyrilic transliteration and UTF-32 is handled on Windows, it was unfortunately possible to get into an infinite loop of conversions. The string would get converted to UTF-32 when transliterating, but because windows backend conversion cannot convert from UTF-32, it would use Common::Ustr to convert it to UTF-8, which would again get converted to UTF-32 when transliterating and so on.
2019-08-24SDL: Remove check for SDL2 in convertEncoding()Jaromir Wysoglad
SDL_iconv_string() is available even with SDL1
2019-08-24JANITORIAL: Remove debuging code.Jaromir Wysoglad
2019-08-24WIN32: Fix conversion of multibyte encodings.Jaromir Wysoglad
2019-08-24SDL: Fix convertEncoding for multibyte encodings.Jaromir Wysoglad
2019-08-24WIN32: Resolve endianity in convertEncoding()Jaromir Wysoglad
2019-08-24WIN32: Implement conversion to and from UTF-32Jaromir Wysoglad
UTF-32 is used in transliteration in Common::Encoding, so it is pretty important encoding and Windows should be the only thing, that cannot convert it.
2019-08-24WIN32: Check calloc return value in covertEncodingJaromir Wysoglad
2019-08-24WIN32: Add Win32 implementation of convertEncodingJaromir Wysoglad
2019-08-24WIN32: Add include guard to codepage.hJaromir Wysoglad
2019-08-24WIN32: Add a way to convert codepage name to cp IDJaromir Wysoglad
2019-08-24SDL: Add SDL implementation of convertEncodingJaromir Wysoglad