Age | Commit message (Collapse) | Author |
|
|
|
Linking was failing when disabling curl support.
|
|
|
|
No actual translations, though. Should be just "Cancel", because "Cancel
download" is too long for lowres mode.
|
|
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.
|
|
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.
|
|
It was SavesSyncRequest's target even when closed.
|
|
|
|
Was adding a path separator even when none is required.
|
|
It now shows the remote and local directories and a progress bar.
Storage now shows OSD messages on download success and failure.
|
|
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.
|
|
|
|
Were not returning created Request.
|
|
|
|
It now checks the selected local directory, and shows different
MessageDialogs to notify user of mistake or ambiguous situation.
|
|
For the error callback case.
|
|
Because Dropbox has no means to specify files order.
|
|
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.
|
|
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).
|
|
Init with NULL, ignore callbacks, and such.
|
|
|
|
|
|
OneDrive and Google Drive paths do not start with '/', so one was unable
to go up to root.
|
|
WIP. Tested with Dropbox.
|
|
|
|
Tested that on actual unix system and found out a few minor bugs related
to paths.
|
|
|
|
Mostly on format string
|
|
|
|
|
|
|
|
This commit moves save/load timestamps static methods into
DefaultSaveFileManager and fixes a few related bugs.
|
|
It had to become a proxy class in order to do that.
finalize() starts the saves sync.
|
|
|
|
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.
|
|
That `false` came from TranslationManager's function, which was
returning bool, not a pointer. Somehow missed that line.
|
|
|
|
|
|
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.
|
|
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).
|
|
|
|
|
|
Now it also searches for that in themepath, not with SearchMan only.
|
|
|
|
wwwroot.zip contains ScummVM local webserver's resources, such as
template html pages, styles and images.
One can make it from wwwroot directory contents by running
make_archive.py script.
It's added to scummvm.rc, so it's included in the executable (it works
with MinGW, but I was unable to do that in VS yet).
IndexPageHandler is the one who returns these resources. It uses
index.html for "/". I'm replacing "{message}" with translated message,
so that's the way I thought the templates should work.
|
|
* fix handling connections;
* fix idling strategy;
* add setClientGetHandler() for SeekableReadStream;
* add determineMimeType().
|
|
Cleanup in open()
|
|
This commit also adds LocalWebserver's stopOnIdle().
That means server is not stopped immediately, but only when all clients
are served.
|
|
|
|
LocalWebserver would storage the handlers.
Client now has methods like path() or query() to access different parts
of the request.
|