aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
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
2019-08-20ANDROID: Use a better icon for the on screen controlCameron Cawley
Modified from https://www.iconfinder.com/icons/352464/keyboard_icon, which is available under the Creative Commons (Attribution-Share Alike 3.0 Unported) license.
2019-08-20ANDROID: Add a button to show the virtual keyboardCameron Cawley
2019-08-18SWITCH: Force fullscreen always onrsn8887
Windowed mode never worked correctly and is pointless since the Switch operating system doesn't have a window manager.
2019-08-18ANDROID: Don't deinitialize the EGL surface when pausing the applicationCameron Cawley
Fixes Trac#6129
2019-08-18PSP2: Force fullscreen always onrsn8887
Windowed mode never worked correctly and is pointless since Vita operating system doesn't have a window manager.
2019-08-18GUI: Check if fullscreen is available at runtimeCameron Cawley
2019-08-15BACKENDS: Fix GCC Warnings in Surface SDL GraphicsD G Turner
This removes the usage of memset to clear complex structures and replaces them with constructor methods for the structures which will be executed when these are instantiated.
2019-08-15BACKENDS: Handle screen shaking in WindowedGraphicsManagerCameron Cawley
2019-08-13VITA: Use activeArea rectangle also on Vitarsn8887
2019-08-13BACKENDS: add Fit to window (4:3) stretch mode to SDL2 backendrsn8887
2019-08-12BACKENDS: Use the default save file manager on Switch and SamsungTVCameron Cawley
2019-08-12POSIX: Remove POSIX-specific checkPath functionCameron Cawley
2019-08-11COMMON: Implement FSNode::createDirectoryRecursive()Cameron Cawley
2019-08-11BACKENDS: Create the default save directory if it doesn't existCameron Cawley
2019-08-11SDL: Removed invalid override from getGraphicsScalerProc()Cameron Cawley
2019-08-11SDL: Move selecting the required ScalerProc into a separate functionCameron Cawley
2019-08-06BACKENDS: Improve AbstractFSNode::createDirectory() stubsCameron Cawley
2019-08-06BACKENDS: Rename and simplify AbstractFSNode::create()Cameron Cawley
2019-08-05SDL: Simplify implementation of createLogFile()Cameron Cawley
2019-08-04IOS7: Make sure openURL is executed on the main threadThierry Crozat
2019-08-04IOS7: Implement isConnectionLimitedThierry Crozat
2019-08-04IOS7: Implement getSystemLanguageThierry Crozat
2019-08-04IOS7: Move non-video related functions to a separate fileThierry Crozat
2019-08-04IOS7: Implement opening a URLThierry Crozat
2019-08-04IOS7: Implement copy to clipboard and paste from clipboardThierry Crozat
2019-08-04OPENGL: Support RGBA8888 swapped textures when using OpenGL ESCameron Cawley
2019-08-04CLOUD: Fix OneDriveTokenRefresherAlexander Tkachev
If user doesn't have a "saves" folder, listing it as a first step of syncing save files would result in 404 from OneDrive. OneDriveTokenRefresher handles token-related errors (401), so when it meets 404, it calls its finishError method. But because there was some strange behaviour from OneDrive with sending invalid JSON, this method tries fixing JSON and parsing it again. If it is valid, it calls non-error method again, and in result we get stack overflow. In order to fix that, I've added a non-JSON prefix "<irrecoverable>", so finishError won't be able to parse JSON and thus won't call finishJson again. Saves syncing callback does check string contents apart from trying to parse JSON, so it still works and correctly handles the situation when "saves" directory is missing. But, if needed, code can be updated to search for the prefix I've added and remove it before parsing original JSON.
2019-08-03CLOUD: Fix GCC Compilation Warning in Debug Code.D G Turner
The warning emitted here was due to debug() call with an empty format string, so this could have been fixed by replacing this with "%s", "". However, this change should be better since it avoids the duplication of the number of file check over several lines and reduces the string duplication i.e. DRY improvements.
2019-08-02ANDROID: Don't hide the virtual keyboard when the Enter key is pressedCameron Cawley
2019-07-30CLOUD: Ask user to manually enable StorageAlexander Tkachev
For more security, newly connected Storage only gets username/used space information and is disabled until user manually presses the button.
2019-07-30CLOUD: Change interaction with /refresh endpointAlexander Tkachev
Refresh token is now passed as custom HTTP header, not in GET parameter, to prevent them being written into server logs.
2019-07-30CLOUD: Ignore hidden files in sync/downloadAlexander Tkachev
In PR#1754 we've discussed and decided to ignore hidden (having a name starting with '.') files while syncing saves or downloading game files. This commit adds a CloudManager method to test whether file should be ignored, and this method could be extended later if we need to ignore some other specific file names.
2019-07-30CLOUD: Minor fixes for the PR#1754Alexander Tkachev
- added missing 'd' in "%d" in SavesSyncRequest; - removed trailing ',' in enum in gui/options.h; - fixed #endif to have // before USE_LIBCURL in gui/options.h.