aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/folderdownloadrequest.cpp
AgeCommit message (Collapse)Author
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.
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-08-24ALL: Fix debug, warning and error usageAlexander Tkachev
Added prefixes, used debug(9).
2016-08-24CLOUD: JANITORIAL: Fix code formattingEugene Sandulenko
2016-08-24CLOUD: Fix FolderDownloadRequest TODOAlexander Tkachev
2016-08-24CLOUD: Fix code formattingPeter Bozsó
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24CLOUD: Do some refactoring/cleanupAlexander Tkachev
Nothing really major.
2016-08-24CLOUD: Calculate FolderDownload download speedAlexander Tkachev
2016-08-24CLOUD: Update FolderDownloadRequest::getProgress()Alexander Tkachev
It now is based on downloaded size, not number of files.
2016-08-24CLOUD: Update FolderDownloadRequestAlexander Tkachev
It now keeps track of downloaded bytes.
2016-08-24CLOUD: Fix FolderDownloadRequestAlexander Tkachev
It now sends kDownloadEndedCmd on success without waiting to be destructed.
2016-08-24CLOUD: Fix FolderDownloadRequest::getProgress()Alexander Tkachev
Now it doesn't stop on 100 % on last file and it ignores the directories, so it doesn't "jump" suddenly as there are no directories to skip.
2016-08-24CLOUD: Rename _files to _pendingFiles in FolderDownloadRequestPeter Bozsó
2016-08-24CLOUD: Upgrade FolderDownloadRequest::getProgress()Alexander Tkachev
Now NetworkReadStream, which is used in DownloadRequest, which is used in FolderDownloadRequest, returns progress information provided by libcurl.
2016-08-24CLOUD: Fix FolderDownloadRequestAlexander Tkachev
Actually, I'm not completely sure, but this fixed the segfault when user closes ScummVM during the download. Even if that's not a fix, these lines must be in this method anyway.
2016-08-24GUI: Upgrade DownloadDialogAlexander Tkachev
It now shows the remote and local directories and a progress bar. Storage now shows OSD messages on download success and failure.
2016-08-24CLOUD: Add FolderDownload-related methods in StorageAlexander Tkachev
CloudManager's shortcuts are added too. The idea is to keep FolderDownload request within Storage, and provide necessary means to access it. The download is started and cancelled through the DownloadDialog.
2016-08-24CLOUD: Fix finishSuccess() warningAlexander Tkachev
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: Refactor RequestAlexander Tkachev
Added ErrorResponse and ErrorCallback. Each Request now has an ErrorCallback, which should be called instead of usual callback in case of failure.
2016-08-24CLOUD: Add ListDirectoryStatus structAlexander Tkachev
It contains flags to indicate whether Request was interrupted or failed, so dependent Requests may see that list is incomplete.
2016-08-24Remove some unnecessary blank linesPeter Bozsó
2016-08-24Fix comment formattingPeter Bozsó
2016-08-24CLOUD: Fix Requests destructorsAlexander Tkachev
I forgot to delete callbacks!
2016-08-24CLOUD: Add FolderDownloadRequestAlexander Tkachev
Uses Storage's listDirectory() and download() methods to download contents.