Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | GUI: Implemented test point method to GuiObject | Eugene Sandulenko | |
2016-08-24 | GUI: Added support for alphabitmaps in picbuttons | Eugene Sandulenko | |
2016-08-24 | GUI: Switched GUI to draw on TransparentSurface | Eugene Sandulenko | |
2016-08-24 | GUI: Added empty dialog background | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented centering of dialog background | Eugene Sandulenko | |
2016-08-24 | GUI: Added possibility to specify scale mode for AlphaBitmaps | Eugene Sandulenko | |
2016-08-24 | GUI: Plug NinePatch bitmaps into parser | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented more modes to autoscale | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented alphabitmap autoscale | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented possibility to use alphabitmaps in GraphicsWidget | Eugene Sandulenko | |
2016-08-24 | GUI: Added new alphabitmap image type | Eugene Sandulenko | |
2016-08-24 | GUI: Added possibility to specify several state images for PicButtonWidget | Eugene Sandulenko | |
2016-08-24 | GUI: Added support for PNG images | Eugene Sandulenko | |
2016-08-24 | GUI: Add mode to skip drawing of button for PicButton | Eugene Sandulenko | |
2016-08-24 | CLOUD: Add mutexes in Storage | Alexander Tkachev | |
2016-08-24 | CLOUD: Make CloudManager singleton | Alexander Tkachev | |
It's needed to ::destroy() it in main(). | |||
2016-08-24 | CLOUD: Fix ConnectionManager's destructor | Alexander Tkachev | |
It now terminates active Requests. | |||
2016-08-24 | CLOUD: Implement Storage's isWorking() | Alexander Tkachev | |
It now keeps track of how many Requests are running. To achieve that, we had to pass a callback to ConnectionManager, so each Request has a callback paired with it. If that's one of Storage's Requests, it has a callback, which would decrease a counter. When Storage adds a Request, it also increases a counter and passes that callback. Callback is called by ConnMan when Request is deleted. isWorking() returns true if there is at least one Request running. | |||
2016-08-24 | CLOUD: Shorten Cloud API | Alexander Tkachev | |
touch() and isSyncing() are not needed. remove() is not needed too, but it could be used in the future. | |||
2016-08-24 | CLOUD: Fix SavesSyncRequest to create saves folder | Alexander Tkachev | |
2016-08-24 | CLOUD: Add OneDriveCreateDirectoryRequest | Alexander Tkachev | |
2016-08-24 | CLOUD: Add DropboxCreateDirectoryRequest | Alexander Tkachev | |
Also add CloudManager::testFeature(), because syncSaves() now works fine and I don't want to break it again and again with my testing requests. | |||
2016-08-24 | CLOUD: Move download methods into Storage | Alexander Tkachev | |
DownloadRequest and FolderDownloadRequest are using other Storage's methods. Thus, download() and downloadFolder() could be implemented in base Storage class. | |||
2016-08-24 | CLOUD: Use uint64 in StorageInfo | Alexander Tkachev | |
There was a warning regarding 25 GB constant. By the way, I'm not sure how to print uint64 (%llu is available in C99 only, and gcc produces a warning about that). | |||
2016-08-24 | CLOUD: Make syncSaves() common for all Storages | Alexander Tkachev | |
As it uses SavesSyncRequest and this request is using Storage's upload(), download() and listDirectory(), there is no need to make storage-dependent version of that request and so method could be implemented in base Storage. | |||
2016-08-24 | CLOUD: Add OneDrive::info() | Alexander Tkachev | |
Unfortunately, OneDrive doesn't share quota information anymore because of some reason. I had to get as much information as I could. | |||
2016-08-24 | CLOUD: Make SavesSyncRequest work with OneDrive | Alexander Tkachev | |
It actually works fine, but small Storage::savesDirectoryPath() was added, because Dropbox's directories must start with a slash, and OneDrive's directories must not. Saves sync tested and it works fine with OneDrive. | |||
2016-08-24 | CLOUD: Add OneDriveUploadRequest | Alexander Tkachev | |
Doesn't support server's requested ranges yet. Commit also adds some PUT-related code in NetworkReadStream and CurlRequest. | |||
2016-08-24 | CLOUD: Refactor Request | Alexander Tkachev | |
Added ErrorResponse and ErrorCallback. Each Request now has an ErrorCallback, which should be called instead of usual callback in case of failure. | |||
2016-08-24 | CLOUD: Fix OneDriveTokenRefresher | Alexander Tkachev | |
It was calling finish(), causing stack overflow. Some minor changes are added also. | |||
2016-08-24 | CLOUD: Make SavesSyncRequest work | Alexander Tkachev | |
It now actually read the "timestamps" file, loads and saves files as it should, ignores Dropbox's "not_found" error. | |||
2016-08-24 | COMMON: Add SaveFileManager::openRawFile() | Alexander Tkachev | |
It's needed for the cloud saves upload/sync feature. | |||
2016-08-24 | CLOUD: Add ListDirectoryStatus struct | Alexander Tkachev | |
It contains flags to indicate whether Request was interrupted or failed, so dependent Requests may see that list is incomplete. | |||
2016-08-24 | CLOUD: Make DropboxUploadRequest use "/upload" too | Alexander Tkachev | |
If file could be uploaded in one API call, no need to create a session (which requires at least two calls: to start and then to finish it). | |||
2016-08-24 | CLOUD: Add UploadStatus struct | Alexander Tkachev | |
It contains not just "success" flag, but also "file" struct, so the caller can find out some information about uploaded file - like timestamp. | |||
2016-08-24 | CLOUD: Add DropboxUploadRequest | Alexander Tkachev | |
2016-08-24 | COMMON: Fix JSON to understand integers correctly | Alexander Tkachev | |
2016-08-24 | CLOUD: Add SavesSyncRequest sketch | Alexander Tkachev | |
Never tested it, actually. It requires Storage to implement upload() method and me to find some way to get saves' ReadStream. The saveTimestamps() and loadTimestamps() part should be tested, other parts should work fine. | |||
2016-08-24 | CLOUD: Add "device_id" into configuration file | Alexander Tkachev | |
2016-08-24 | Remove some unnecessary blank lines | Peter Bozsó | |
2016-08-24 | Fix comment formatting | Peter Bozsó | |
2016-08-24 | Replace 0 constant with nullptr in getCurrentStorage() | Peter Bozsó | |
2016-08-24 | CLOUD: Add OneDriveStorage::downloadFolder() | Alexander Tkachev | |
Just uses FolderDownloadRequest the way DropboxStorage does. | |||
2016-08-24 | CLOUD: Fix Requests destructors | Alexander Tkachev | |
I forgot to delete callbacks! | |||
2016-08-24 | CLOUD: Add OneDriveListDirectoryRequest | Alexander Tkachev | |
Works as charm. | |||
2016-08-24 | CLOUD: Fix format string warnings | Alexander Tkachev | |
I get 'warning: ISO C++98 does not support the '%lg' ms_printf format' warning though. | |||
2016-08-24 | CLOUD: Fix "global destructor" warning | Alexander Tkachev | |
Plain char * is used instead of Common::String in DropboxStorage and OneDriveStorage's KEY and SECRET. | |||
2016-08-24 | CLOUD: Fix ConnectionManager singleton warning | Alexander Tkachev | |
2016-08-24 | CONFIGURE: Added configure switches for enabling/desabling cloud and net libs | Eugene Sandulenko | |
2016-08-24 | CLOUD: Add FolderDownloadRequest | Alexander Tkachev | |
Uses Storage's listDirectory() and download() methods to download contents. |