aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Update Reader to support pausingAlexander Tkachev
That means that if current buffer is over, reader will stop reading and it's safe to call readResponse() again, so it would continue from the place it left.
2016-08-24CLOUD: Add Reader sketchAlexander Tkachev
That should be part of the Client, I guess. Reader is not ready to continue reading from place it stopped, but it already works as it should for the case when whole content is available.
2016-08-24CLOUD: Add query parameters URL encodingAlexander Tkachev
In local webserver's links. Fixed URL decoding to understand '+', by the way. Firefox sends these instead of spaces and "%2B" instead of '+'.
2016-08-24CLOUD: Update GetClientHandler's bufferAlexander Tkachev
It's not static now and it's increased to 1 MB.
2016-08-24CLOUD: Add "/download" handlerAlexander Tkachev
Now one can download files from the device through browser!
2016-08-24CLOUD: Move "/create" to separate HandlerAlexander Tkachev
It does redirect to "/files" on success, so user doesn't even see the strange "/create" URL at all. This commit is for keeping these handlers small, not making one (FilesPageHandler in this case) do everything.
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.