Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Update IndexPageHandler to search wwwroot.zip | Alexander Tkachev | |
Now it also searches for that in themepath, not with SearchMan only. | |||
2016-08-24 | GUI: Hide StorageWizardDialog fields if server present | Alexander Tkachev | |
2016-08-24 | CLOUD: Add wwwroot | Alexander Tkachev | |
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. | |||
2016-08-24 | CLOUD: Update LocalWebserver | Alexander Tkachev | |
* fix handling connections; * fix idling strategy; * add setClientGetHandler() for SeekableReadStream; * add determineMimeType(). | |||
2016-08-24 | CLOUD: Fix Client | Alexander Tkachev | |
Cleanup in open() | |||
2016-08-24 | CLOUD: Add IndexPageHandler | Alexander Tkachev | |
This commit also adds LocalWebserver's stopOnIdle(). That means server is not stopped immediately, but only when all clients are served. | |||
2016-08-24 | CLOUD: Minor Client fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Prepare code for path handlers | Alexander Tkachev | |
LocalWebserver would storage the handlers. Client now has methods like path() or query() to access different parts of the request. | |||
2016-08-24 | CLOUD: Clarify calculatedChecksum's initial value | Alexander Tkachev | |
2016-08-24 | CLOUD: Remove a couple of unnecessary whitespaces | Peter Bozsó | |
2016-08-24 | CLOUD: Add HTTP response codes in GetClientHandler | Alexander Tkachev | |
2016-08-24 | CLOUD: Minor Client fix | Alexander Tkachev | |
2016-08-24 | CLOUD: Add GetClientHandler | Alexander Tkachev | |
That ClientHandler is made for responding GET requests. It calculates stream's length, it allows to specify response code and headers, it can be used to transfer any ReadStream. | |||
2016-08-24 | CLOUD: Add ClientState::BAD_REQUEST | Alexander Tkachev | |
2016-08-24 | CLOUD: Add Networking::Client | Alexander Tkachev | |
Keeps current client's state | |||
2016-08-24 | CLOUD: Add LocalWebserver | Alexander Tkachev | |
Available as LocalServer singleton. It's being started and stopped by StorageWizardDialog. It doesn't handle clients yet, though. | |||
2016-08-24 | CLOUD: Init SDL_Net | Alexander Tkachev | |
2016-08-24 | CONFIGURE: Add --with-sdlnet-prefix option | Alexander Tkachev | |
2016-08-24 | CLOUD: Add comments for StorageWizardDialog methods | Alexander Tkachev | |
2016-08-24 | CLOUD: Update StorageWizardDialog's code check | Alexander Tkachev | |
Now the code contains its own crc16 in it, plus the way checksum is calculated has changed. Some online tool calls this exact way of calculating crc16 "CRC16_CCITT_FALSE". | |||
2016-08-24 | CLOUD: Fix configuration handling in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Add checks in StorageWizardDialog | Alexander Tkachev | |
It now calculates the checksums for code pieces to determine whether it's correct and CRC-32 for user to compare with one shown on site. | |||
2016-08-24 | CLOUD: Get rid of CloudConfigHelper, use kCloudDomain where approriate | Peter Bozsó | |
2016-08-24 | CLOUD: Do saves sync on Storage connect | Alexander Tkachev | |
2016-08-24 | CLOUD: Make Storage::savesSync() restart | Alexander Tkachev | |
If Storage::syncSaves() is called when sync is running, another sync would be automatically scheduled in the end of the current one. That could be helpful when we want to specify that we changed something during sync (created new save slot, for example). | |||
2016-08-24 | CLOUD: Add CloudConfigHelper to module.mk | Alexander Tkachev | |
2016-08-24 | CLOUD: Introduce CloudConfigHelper | Peter Bozsó | |
2016-08-24 | CLOUD: Fix end of namespace comment in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Fix include in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Introduce kStoragePrefix in CloudManager | Peter Bozsó | |
2016-08-24 | CLOUD: Remove unnecessary blank lines in switch statement | Peter Bozsó | |
2016-08-24 | CLOUD: Make enum StorageIDs' name singular | Peter Bozsó | |
2016-08-24 | CLOUD: Force handling of all StorageIDs values in ↵ | Peter Bozsó | |
CloudManager::getStorageConfigName() | |||
2016-08-24 | CLOUD: Fix getAccessToken() | Alexander Tkachev | |
KEY and SECRET should now load before getAccessToken() uses them, so it should work now. | |||
2016-08-24 | Fix DropboxStorage::codeFlowComplete() | Peter Bozsó | |
2016-08-24 | CLOUD: Fix initialization of NetworkReadStream | Peter Bozsó | |
"networkreadstream.cpp:51:2: error: delegating constructors are permitted only in C++11" | |||
2016-08-24 | CLOUD: Fix compilation error in savesyncrequest.h | Peter Bozsó | |
"savessyncrequest.h:35:35: error: use of undeclared identifier 'UINT_MAX'" | |||
2016-08-24 | GUI: Add warning message for game's savepath | Alexander Tkachev | |
2016-08-24 | GUI: Add EditText in StorageWizardDialog | Alexander Tkachev | |
One can enter the code, press 'Connect' button and get a working Storage! | |||
2016-08-24 | CLOUD: Add Request::date() | Alexander Tkachev | |
Used in SavesSyncRequest to update Storage's last sync date. | |||
2016-08-24 | CLOUD: Add ConnMan::urlEncode() | Alexander Tkachev | |
Tried to use it everywhere I should've use it. | |||
2016-08-24 | COMMON: Add String::asUint64() | Alexander Tkachev | |
Instead of all these atoull() I've added everywhere. | |||
2016-08-24 | GUI: Add Refresh button in Options Cloud tab | Alexander Tkachev | |
Commit changes CloudManager and Storages so they would automatically refresh the fields when the could. | |||
2016-08-24 | GUI: Add Cloud tab StorageWizardDialog | Alexander Tkachev | |
This is a dialog which guides user through Storage connection procedure. | |||
2016-08-24 | GUI: Replace Cloud tab's StorageBrowser with PopUp | Alexander Tkachev | |
2016-08-24 | CLOUD: Update CloudManager | Alexander Tkachev | |
It now has methods to update Storage's information. | |||
2016-08-24 | CLOUD: Update CloudManager | Alexander Tkachev | |
It now supports only one storage of each type. Only one Storage could be loaded to the memory as well. Options' Cloud tab now changes the Storage only when user pressed OK button, giving the ability to look through the Storages without actually changing them. | |||
2016-08-24 | GUI: Add Cloud tab information labels | Alexander Tkachev | |
And corresponding stub implementations in CloudManager. | |||
2016-08-24 | GUI: Add Options dialog Cloud tab | Alexander Tkachev | |
With StorageBrowser to select a Storage. It actually uses CloudMan to switch active Storage. | |||
2016-08-24 | CLOUD: Update CloudManager and Storage | Alexander Tkachev | |
* Storage::name(); * CloudManager::getStorageName(); * CloudManager::getStorageIndex(); * CloudManager::listStorages(); * CloudManager::switchStorage(). |