aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Make "/create" workAlexander Tkachev
One can now create directories through browser.
2016-08-24CLOUD: Refactor LocalWebserverAlexander Tkachev
Its handlers are now more compact. This commit moves Handler classes in handlers\ directory. ResourceHandler ignores "hidden" files in the archive, and these are used as markup templates in IndexPageHandler and FilesPageHandler.
2016-08-24COMMON: Add replace(String, String, String)Alexander Tkachev
Searches for a substring in the string and replaces it with the other string.
2016-08-24CLOUD: Make "/files" list directoriesAlexander Tkachev
Including both virtual "/root" and "/saves" ones.
2016-08-24CLOUD: Add "/files" handlerAlexander Tkachev
Shows the page with controls, but doesn't actually list the directories, create the specified ones or allows to upload files yet.
2016-08-24CLOUD: Resolve local machine's IPAlexander Tkachev
2016-08-24CLOUD: Make "Run server" button activeAlexander Tkachev
It should show the real server's IP over there, but that doesn't work yet.
2016-08-24CLOUD: Replace USE_CLOUD with USE_LIBCURLAlexander Tkachev
In most cases that's the right one to check. USE_CLOUD is defined when either USE_LIBCURL or USE_SDL_NET are, which means if there is no curl, USE_CLOUD still could be defined and linking errors would appear.
2016-08-24GUI: Fix Options' Cloud tab reflowingAlexander Tkachev
2016-08-24CLOUD: Fix SaveLoadDialogs to check USE_CLOUDAlexander Tkachev
Linking was failing when disabling curl support.
2016-08-24GUI: Add "Run server" button in Cloud tabAlexander Tkachev
2016-08-24GUI: Add lowres support for DownloadDialog's buttonAlexander Tkachev
No actual translations, though. Should be just "Cancel", because "Cancel download" is too long for lowres mode.
2016-08-24GUI: Update DownloadDialogAlexander Tkachev
It now less empty, because if there is no download in progress, user sees the RemoteBrowser instead of empty dialog. The cancel button is now in the left bottom corner.
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: Fix SaveLoadDialogAlexander Tkachev
It was SavesSyncRequest's target even when closed.
2016-08-24GUI: Forbid using download directory in "Add Game"Alexander Tkachev
2016-08-24GUI: Fix DownloadDialog path creationAlexander Tkachev
Was adding a path separator even when none is required.
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-24GUI: Initiate download in DownloadDialogAlexander Tkachev
2016-08-24CLOUD: Fix CloudManager's methodsAlexander Tkachev
Were not returning created Request.
2016-08-24CLOUD: Add CloudManager::downloadFolder()Alexander Tkachev
2016-08-24GUI: Use RemoteBrowser's result in DownloadDialogAlexander Tkachev
It now checks the selected local directory, and shows different MessageDialogs to notify user of mistake or ambiguous situation.
2016-08-24GUI: Add error message in RemoteBrowserAlexander Tkachev
For the error callback case.
2016-08-24GUI: Add RemoteBrowser file list sortingAlexander Tkachev
Because Dropbox has no means to specify files order.
2016-08-24CLOUD: Make Google Drive sort files listAlexander Tkachev
GoogleDriveListDirectoryByIdRequest now uses "orderBy" field to specify that we want the commonly used "alphabetical, folders first" order. That's mostly needed for RemoteBrowserDialog, because Requests don't care about the order, and this one is more user-friendly.
2016-08-24GUI: Add RemoteBrowser parent directories rememberingAlexander Tkachev
No wait when "Go up" is pressed. These contents could be invalid, though. In order to refresh contents, one has to go up one more time and then get back inside (in root folder - just press "Go up" to refresh it).
2016-08-24GUI: Fix RemoteBrowser Request handlingAlexander Tkachev
Init with NULL, ignore callbacks, and such.
2016-08-24GUI: Clean up in RemoteBrowserAlexander Tkachev
2016-08-24GUI: Make RemoteBrowser show "Loading..."Alexander Tkachev
2016-08-24GUI: Fix "Go up"Alexander Tkachev
OneDrive and Google Drive paths do not start with '/', so one was unable to go up to root.
2016-08-24GUI: Add RemoteBrowserDialogAlexander Tkachev
WIP. Tested with Dropbox.
2016-08-24GUI: Add DownloadDialog sketchAlexander Tkachev
2016-08-24CLOUD: Fix saves syncAlexander Tkachev
Tested that on actual unix system and found out a few minor bugs related to paths.
2016-08-24CLOUD: Fix finishSuccess() warningAlexander Tkachev
2016-08-24CLOUD: Fix some warningsAlexander Tkachev
Mostly on format string
2016-08-24CLOUD: Fix crash on exiting ScummVM while ConnMan is activePeter Bozsó
2016-08-24CLOUD: Delete the incomplete file (when downloading)Alexander Tkachev
2016-08-24KYRA: Fix openSaveForWriting() to return OutSaveFileAlexander Tkachev
2016-08-24CLOUD: Update save's timestamp on rewriteAlexander Tkachev
This commit moves save/load timestamps static methods into DefaultSaveFileManager and fixes a few related bugs.
2016-08-24CLOUD: Make OutSaveFile start saves syncAlexander Tkachev
It had to become a proxy class in order to do that. finalize() starts the saves sync.
2016-08-24CLOUD: Update local server's style.cssAlexander Tkachev
2016-08-24CLOUD: Fix "-Wcast-qual"Alexander Tkachev
The passed buffer is not changed, so could be `const`. You might see that `postFields.c_str()` is `buffer`. Yet, as it's `postFields`, it's used for POST in curl_easy_setopt(), which copies the passed buffer. When `buffer` is used for upload, it's an actual bytes buffer, kept in CurlRequest.
2016-08-24CLOUD: Fix "-Wconversion-null"Alexander Tkachev
That `false` came from TranslationManager's function, which was returning bool, not a pointer. Somehow missed that line.
2016-08-24CLOUD: Fix "zero-length format string" warningAlexander Tkachev
2016-08-24CLOUD: Fix "type qualifiers ignored" warningAlexander Tkachev
2016-08-24CLOUD: Fix "signed/unsigned integers" warningAlexander Tkachev
The "comparison between signed and unsigned integer expressions" one. Note that in UploadRequests size() and pos() are acutally signed, because they could return -1. This commit implies that Requests are working with such Streams which doesn't.
2016-08-24CLOUD: Use correct redirect_urisAlexander Tkachev
Usage of #ifdef there (and in StorageWizardDialog) means that ScummVM doesn't support both local webserver and scummvm.org paths at the same time. It's either built with SDL_net (thus supporting localhost path) or without it (thus using scummvm.org).
2016-08-24CLOUD: Add some mutexes in LocalWebserverAlexander Tkachev
2016-08-24CLOUD: Embed cloud icons as byte arraysAlexander Tkachev