aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
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.
2019-07-30GUI: Rewrite Cloud tabAlexander Tkachev
- StorageWizardDialog is removed, along with bmps it was using; - EditTextWidget now accepts custom font in constructor; - ScrollContainer scrollbar now jumps to top when content height changes so it's "overscrolled"; - IndexPageHandler now does not awaits for `code` GET-parameter, as local webserver is no longer used to connect Storages; - CloudManager and all corresponding Storages are updated to support disconnecting and to notify about successful connection.
2019-07-30CLOUD: Refactor BaseStorage largest methodsAlexander Tkachev
Not sure if that's really better, but it was really annoying to copy-paste `delete a; delete b; return;` in every error-handling section.
2019-07-30CLOUD: Minor cleanup in OneDriveTokenRefresherAlexander Tkachev
2019-07-30CLOUD: Fix saves syncingAlexander Tkachev
This mostly affects OneDrive saves syncing, because it is the only cloud provider to return 0 as timestamp of (non-)created file. 0 is treated as EOF in /saves/timestamps file, thus all timestamps after such 0 timestamps were ignored and files were reuploaded as being "new". This commit also adds more verbose debug information on SavesSyncRequest decisions making for easier debugging.
2019-07-30CLOUD: Handle Cloud requests more frequentlyAlexander Tkachev
ConnectionManager used to poll Cloud requests every second, while curl requests were polled every 1/20th of a second. If curl request was over at, say, frame #21, corresponding Cloud request would've only work with that at frame #40 (950 ms later), which was making everything cloud-related slower than it could be. This commit fixes it by making Cloud polling period the same as curl polling period, and additionally raises FPS to 25.
2019-07-30CLOUD: Fix OneDriveStorage API interactionAlexander Tkachev
Something changed and old API endpoint "api.onedrive.com" now does not work. The other one, "graph.microsoft.com", does, but there were some other changes in JSON it returns. These changes are also in this commit.
2019-07-30CLOUD: Update BaseStorage to expect no refresh_tokenAlexander Tkachev
While refreshing access_token, some cloud providers also pass a new refresh_token. Google Drive does not, and accepts the same refresh_token next time. These changes allow this to happen.
2019-07-30CLOUD: Update storages to refresh token via cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Get rid of 'dists/clouds/cloud_keys.h'Alexander Tkachev
2019-07-30CLOUD: Update GoogleDriveStorage and BoxStorage to auth via cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Update OneDriveStorage to work via cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Add BaseStorage, which does auth via cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Cleanup a little bit - remove unused config keys usageAlexander Tkachev
2019-07-30CLOUD: Update DropboxStorage to work with cloud.scummvm.orgAlexander Tkachev
2019-07-30CLOUD: Update DropboxStorage to work via scummvm.org & StorageWizardDialog ↵Alexander Tkachev
correspondingly
2019-07-27SYMBIAN: Remove unused class declarationsCameron Cawley
2019-07-27SYMBIAN: Remove dead codeCameron Cawley
2019-07-27BACKENDS: Avoid redundant format changes on Dingux and LinuxMotoCameron Cawley
2019-07-23WINCE: Fix Makefile dependenciesCameron Cawley
2019-07-23PS2: Remove unused headerCameron Cawley
2019-07-23ANDROID: Fix some Codacy warningsCameron Cawley
2019-07-14POSIX: Fix missing expansion of "~" to home when it has no suffixThierry Crozat
This fixes bug #10941: Tilde in save path creates "~" folder
2019-07-14OPENGL: Specify a GLSL version tag, and rename reserved keywordsFilippos Karapetis
The GLSL version code has been taken from ResidualVM. The variable 'texture' is now a reserved keyword in GLSL 3.00, so it has been renamed. This fixes compilation issues in AmigaOS4 (PR 1554).
2019-07-14BACKENDS: Initialize more TimerSlot fields when resetting itFilippos Karapetis
This imports changes from commit 05f3fe420f20e8e44ed525960fcb713b43d5d0ad
2019-07-11GCW0: Redo bundle fix from 4b5ce0fMatan Bareket
2019-07-11GCW0: Package the README.md fileMatan Bareket
2019-07-11GCW0: Fix copy/paste errorCameron Cawley
2019-07-08MAEMO: Minor cleanupCameron Cawley
2019-07-08BUILD: Package networking and virtual keyboard files on all platformsCameron Cawley
2019-07-08SDL: Support joystick hat inputCameron Cawley
2019-07-08SDL: Initial implementation of joystick eventsCameron Cawley
2019-07-07BACKENDS: Fix crash when save file is owned by another userOrgad Shaneh
fopen() fails, but the null handle was passed on to OutSaveFile.
2019-07-07IOS7: Add back mapping of LF character to the Return keyThierry Crozat
This is necessary for properly identifying the Return key pressed from the software or a hardware keyboard, and this was erronously removed in commit e5709ed.