aboutsummaryrefslogtreecommitdiff
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.
2019-07-30COMMON: Update getHumanReadableBytes() in util.hAlexander Tkachev
Function now casts bytes (as <1024) to unsigned long int to correspond "%lu" format string. For consistency, KB are now printed as floating number. Finally, it looks like double is pretty precise to be used in comparisons, so I made the function a little bit shorter.
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: Change 'Wi-Fi Sharing' tab name to 'LAN'Alexander Tkachev
2019-07-30GUI: Add feature description into Wi-Fi Sharing tabAlexander Tkachev
2019-07-30GUI: Fix Cloud tab scrolling problemAlexander Tkachev
GlobalOptionsDialog is now also a CommandSender, so it could send command "scroll to the top" when storage is disconnected in Cloud tab (layout updates, that's why scrolling is needed).
2019-07-30GUI: Make Cloud tab wizard input box cleanup valueAlexander Tkachev
Now input box does not remember old code you've put in it if you changed selected storage or disconnected one.
2019-07-30GUI: Fix Cloud tab wizard elements displaying after connecting storageAlexander Tkachev
Elements were displayed until scrollbar was used, now they are hidden right after storage is connected.
2019-07-30GUI: Separate Cloud tab in twoAlexander Tkachev
All local webserver-related settings are now shown in a separate, "Wi-Fi Sharing" tab (shown if built with USE_SDL_NET). Cloud tab is only shown if actual cloud storages are built (USE_LIBCURL).
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-30COMMON: Add getHumanReadableBytes() in util.hAlexander Tkachev
This function was used in cloud-related DownloadDialog before, and now it is also used in Options > Cloud tab.
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 Dropbox and Google Drive icons in themesAlexander Tkachev
2019-07-30CLOUD: Update DropboxStorage to work via scummvm.org & StorageWizardDialog ↵Alexander Tkachev
correspondingly
2019-07-30CLOUD: Regenerate wwwroot archive to include graphic resourcesAlexander Tkachev
2019-07-30GLK: Pass picNum to format() for the pic%d.rect case as well.Torbjörn Andersson
2019-07-29GLK: Fix illegal characters in detection entriesPaul Gilbert
2019-07-29GLK: Implemented debugger dumppic commandPaul Gilbert
2019-07-29GLK: Added skeleton debuggerPaul Gilbert
2019-07-29BLADERUNNER: Fix AmigaOS compilation (attempt 2)Thanasis Antoniou
2019-07-29BLADERUNNER: Fix compile for AmigaOSThanasis Antoniou
2019-07-29BLADERUNNER: Fix unsorted args for getRandomNumberRngThanasis Antoniou
Fix for bug #11034
2019-07-29I18N: Update translations templatesThierry Crozat
2019-07-29I18N: Regenerate translations data fileThierry Crozat
2019-07-29BLADERUNNER: Remove buzz at transition PS11 to PS10Thanasis Antoniou
2019-07-29BLADERUNNER: Fix Izo getting stuck in RC03Thanasis Antoniou
Bug case was for when he runs away (Steele is blocked)
2019-07-28XEEN: Change English detection entries from testing to stablePaul Gilbert
2019-07-29README: Small corrections in the Blade Runner notes sectionThanasis Antoniou
2019-07-28GLK: FROTZ: Fix loading transparent PNGs from Blorb filesPaul Gilbert
2019-07-28README: Add BLADERUNNER to the German README fileLothar Serra Mari
2019-07-28README: Remove leftover symbol from the BLADERUNNER sectionLothar Serra Mari
2019-07-28NEWS: Add QFG4 to the German NEWS fileLothar Serra Mari
2019-07-28BLADERUNNER: Prevent McCoy from running to BB10 before SadikThanasis Antoniou
2019-07-28BLADERUNNER: Close MODE.MIX if ScummVM is closed during ESPERThanasis Antoniou
2019-07-28BLADERUNNER: Clean up KIA at endgame and playerDiedThanasis Antoniou
2019-07-28BLADERUNNER: prevent seg fault when opening KIAThanasis Antoniou
Only if a restored content save was loaded in original game mode
2019-07-28README: Fix publisher name for Fargus MultimediaLothar Serra Mari
2019-07-28NEWS: Update German NEWS translationLothar Serra Mari