aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Make Storage::savesSync() restartAlexander Tkachev
If Storage::syncSaves() is called when sync is running, another sync would be automatically scheduled in the end of the current one. That could be helpful when we want to specify that we changed something during sync (created new save slot, for example).
2016-08-24CLOUD: Add CloudConfigHelper to module.mkAlexander Tkachev
2016-08-24CLOUD: Introduce CloudConfigHelperPeter Bozsó
2016-08-24CLOUD: Fix end of namespace comment in CloudManagerPeter Bozsó
2016-08-24CLOUD: Fix include in CloudManagerPeter Bozsó
2016-08-24CLOUD: Introduce kStoragePrefix in CloudManagerPeter Bozsó
2016-08-24CLOUD: Remove unnecessary blank lines in switch statementPeter Bozsó
2016-08-24CLOUD: Make enum StorageIDs' name singularPeter Bozsó
2016-08-24CLOUD: Force handling of all StorageIDs values in ↵Peter Bozsó
CloudManager::getStorageConfigName()
2016-08-24CLOUD: Fix getAccessToken()Alexander Tkachev
KEY and SECRET should now load before getAccessToken() uses them, so it should work now.
2016-08-24Fix DropboxStorage::codeFlowComplete()Peter Bozsó
2016-08-24CLOUD: Fix initialization of NetworkReadStreamPeter Bozsó
"networkreadstream.cpp:51:2: error: delegating constructors are permitted only in C++11"
2016-08-24CLOUD: Fix compilation error in savesyncrequest.hPeter Bozsó
"savessyncrequest.h:35:35: error: use of undeclared identifier 'UINT_MAX'"
2016-08-24GUI: Add warning message for game's savepathAlexander Tkachev
2016-08-24GUI: Add EditText in StorageWizardDialogAlexander Tkachev
One can enter the code, press 'Connect' button and get a working Storage!
2016-08-24CLOUD: Add Request::date()Alexander Tkachev
Used in SavesSyncRequest to update Storage's last sync date.
2016-08-24CLOUD: Add ConnMan::urlEncode()Alexander Tkachev
Tried to use it everywhere I should've use it.
2016-08-24COMMON: Add String::asUint64()Alexander Tkachev
Instead of all these atoull() I've added everywhere.
2016-08-24GUI: Add Refresh button in Options Cloud tabAlexander Tkachev
Commit changes CloudManager and Storages so they would automatically refresh the fields when the could.
2016-08-24GUI: Add Cloud tab StorageWizardDialogAlexander Tkachev
This is a dialog which guides user through Storage connection procedure.
2016-08-24GUI: Replace Cloud tab's StorageBrowser with PopUpAlexander Tkachev
2016-08-24CLOUD: Update CloudManagerAlexander Tkachev
It now has methods to update Storage's information.
2016-08-24CLOUD: Update CloudManagerAlexander Tkachev
It now supports only one storage of each type. Only one Storage could be loaded to the memory as well. Options' Cloud tab now changes the Storage only when user pressed OK button, giving the ability to look through the Storages without actually changing them.
2016-08-24GUI: Add Cloud tab information labelsAlexander Tkachev
And corresponding stub implementations in CloudManager.
2016-08-24GUI: Add Options dialog Cloud tabAlexander Tkachev
With StorageBrowser to select a Storage. It actually uses CloudMan to switch active Storage.
2016-08-24CLOUD: Update CloudManager and StorageAlexander Tkachev
* Storage::name(); * CloudManager::getStorageName(); * CloudManager::getStorageIndex(); * CloudManager::listStorages(); * CloudManager::switchStorage().
2016-08-24CLOUD: Minor GoogleDriveUploadRequest fixAlexander Tkachev
Just checked that out on cloud sync: Google Drive is officially supported!
2016-08-24CLOUD: Add GoogleDriveUploadRequestAlexander Tkachev
Includes NetworkReadStream PATCH method and Headers remembering feature.
2016-08-24CLOUD: Add GoogleDrive download-related requestsAlexander Tkachev
GoogleDriveDownloadRequest, which resolves file id and then downloads it with GoogleDriveStorage::downloadById(). GoogleDriveStreamFileRequest, which resolves file id and then returns file stream with GoogleDriveStorage::streamFileById(). This commit also adds GoogleDriveStorage::streamFileById() itself. A minor GoogleDriveResolveIdRequest fix added. With these one can download files from Google Drive.
2016-08-24CLOUD: Update downloading in StoragesAlexander Tkachev
Id should be used everywhere.
2016-08-24CLOUD: Update Requests to use StorageFile::id()Alexander Tkachev
Only two places to update, as others still require id resolving.
2016-08-24CLOUD: Update GoogleDriveStorage and StorageFileAlexander Tkachev
Because of the Google Drive StorageFile now contains yet another field, `id`. For other storages `id` == `path`, and thus all common Requests (such as SavesSyncRequest, DownloadFolderRequest, etc) must be using id() instead of path(). That way these Requests won't cause id resolving which could be quite slow (when you call it for all files in the folder, for example).
2016-08-24CLOUD: Fix DefaultSaveFileManager againAlexander Tkachev
Now openForLoading() and openForSaving() check whether file is locked, so AGOS and SCUMM engines Ctrl+number and Alt+number hot keys shouldn't be able to save/load in these slots during saves sync.
2016-08-24GUI: Disable "Run in background" for "difficult" enginesAlexander Tkachev
During saves sync slots of MetaEngines with simpleSaveNames() == false would not be available at all. User would have to wait for sync to complete.
2016-08-24ALL: Add MetaEngine::simpleSaveNames()Alexander Tkachev
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over.
2016-08-24CLOUD: Update GoogleDriveCreateDirectoryRequestAlexander Tkachev
Now it also creates the "base" ScummVM directory if there is no such directory yet. This way SavesSyncRequest works fine when no "ScummVM" or "ScummVM/Saves" folder exist in the Google Drive.
2016-08-24CLOUD: Make GoogleDriveResolveIdRequest case-insensitiveAlexander Tkachev
2016-08-24CLOUD: Fix ConnectionManagerAlexander Tkachev
It now keeps newly added Requests in separate array, so iterators don't break when one adds a Request while ConnMan iterates its array. The array is also shielded with mutex.
2016-08-24CLOUD: Fix GoogleDriveStorage to work with root folderAlexander Tkachev
Now it needs another scope and uses "root" instead of "appDataFolder".
2016-08-24CLOUD: Add GoogleDriveListDirectoryRequestAlexander Tkachev
When listing directories, you get a list of StorageFiles, which path() is actually Google Drive id. Thus, if you list a directory recursively, you won't be able to determine whether all files are within one directory or have some hierarchy. I'd fix that as soon as it would be needed.
2016-08-24CLOUD: Add GoogleDriveCreateDirectoryAlexander Tkachev
Now we can create directories in Google Drive by path, not parent id + directory name!
2016-08-24CLOUD: Add GoogleDriveResolveIdRequestAlexander Tkachev
GoogleDriveResolveIdRequest gets a lowercase path and searches for the specified file's id. To do that it lists path's subdirectories one by one with GoogleDriveListDirectoryByIdRequest. GoogleDriveListDirectoryByIdRequest gets a Google Drive id and lists that directory (not recursively).
2016-08-24GUI: Fix SaveLoadCloudSyncProgressDialogAlexander Tkachev
* disabled progress bar; * removed syncTarget segfault; * fixed grid slots disabling for "locked" slots.
2016-08-24GUI: Add SaveLoadCloudSyncProgress in ScummModern themeAlexander Tkachev
ScummVM would probably crash when using a theme without SaveLoadCloudSyncProgress dialog described.
2016-08-24CLOUD: Minor fixesAlexander Tkachev
2016-08-24GUI: Update SaveLoadCloudSyncProgressDialogAlexander Tkachev
So now it's centered, includes a progress bar and two labels instead of one. Works fine in 320x200.
2016-08-24GUI: Show "locked" saves during syncAlexander Tkachev
2016-08-24CLOUD: Add SaveLoadCloudSyncProgress enumAlexander Tkachev
It's common for Save/Load dialogs and SavesSyncRequest.
2016-08-24CLOUD: Make DefaultSaveFileManager ignore syncing filesAlexander Tkachev
MetaEngines don't get "locked" files in the list, so won't try to open these. Save/Load dialog updates save list every time SavesSyncRequest tells it to.
2016-08-24CLOUD: Make ProgressDialog display downloading progressAlexander Tkachev