aboutsummaryrefslogtreecommitdiff
path: root/backends/module.mk
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Add OneDriveUploadRequestAlexander Tkachev
Doesn't support server's requested ranges yet. Commit also adds some PUT-related code in NetworkReadStream and CurlRequest.
2016-08-24CLOUD: Refactor RequestAlexander 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-24CLOUD: Add DropboxUploadRequestAlexander Tkachev
2016-08-24CLOUD: Add SavesSyncRequest sketchAlexander 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-24CLOUD: Add OneDriveListDirectoryRequestAlexander Tkachev
Works as charm.
2016-08-24CLOUD: Add FolderDownloadRequestAlexander Tkachev
Uses Storage's listDirectory() and download() methods to download contents.
2016-08-24CLOUD: Add OneDriveTokenRefresherAlexander Tkachev
OneDriveTokenRefresher is a CurlJsonRequest replacement for OneDriveStorage methods. It behaves very similarly, but checks received JSON before passing it to user. If it contains "error" key, it attempts to refresh the token through OneDriveStorage, and then restarts the original request, so user won't notice that there ever was an error.
2016-08-24CLOUD: Add OneDrive Storage stubAlexander Tkachev
Knows how to OAuth already. This commit also adds CloudManager::addStorage(), so OneDriveStorage can add newly created Storage and CloudManager can save it in the configuration file.
2016-08-24CLOUD: Add DownloadRequest stubAlexander Tkachev
It reads the passed NetworkReadStream and prints its contents onto console (for now). It would be writing contents into file. To simplify work with raw NetworkReadStream there is a new CurlRequest. It basically does nothing, but as ConnMan handles transfers only if there is an active Request, you need some Request to get NetworkReadStream working. Thus, there is a CurlRequest, which is active until NetworkReadStream is completely read. CurlRequest also has useful addHeader() and addPostField() methods in order to customize the request easily. Use execute() method to get its NetworkReadStream. DropboxStorage implements streamFile() and download() API methods. As DownloadRequest is incomplete, it is not actually downloading a file, though.
2016-08-24CLOUD: Add DropboxListDirectoryRequestAlexander Tkachev
Does multiple CurlJsonRequests while Dropbox returns "has_more" = true.
2016-08-24CLOUD: Add Callback typedefsAlexander Tkachev
And do some minor cleanup work.
2016-08-24CLOUD: Add ConnectionManager hotfixAlexander Tkachev
Tried to compile these two last commits with GCC and found a few minor problems.
2016-08-24CLOUD: Make ConnectionManager singletonAlexander Tkachev
With ConnectionManager singleton one can start their Requests without creating Storage instance. Moreover, Storage instance should contain cloud API, not Requests-related handling and timer starting methods. Thus, these methods were moved into ConnectionManager itself.
2016-08-24CLOUD: Add CurlJsonRequestAlexander Tkachev
Now we can do REST API request by creating CurlJsonRequest and waiting for it to call our callback. Passed pointer is Common::JSONValue. This commit also does some minor variable renaming fixes.
2016-08-24CLOUD: Rewrite NetworkReadStreamAlexander Tkachev
Now it is based on MemoryReadWriteStream, which is introduced by this commit. This stream is using ring buffer and is dynamically increasing its size when necessary.
2016-08-24CLOUD: Add ConnectionManager and NetworkReadStreamAlexander Tkachev
NetworkReadStream actually saves whole response in the memory now. There is a pause mechanism in libcurl, but if libcurl is requesting something compressed, it would have to uncompress data as it goes even if we paused the request. Even though our own stream won't be notified about this data when when "pause" the request, libcurl's own buffer wound be expanding.
2016-08-24CLOUD: Add CurlRequestAlexander Tkachev
CurlRequest uses own multi_handle, in which it creates an easy_handle to make a request. Every time `handle()` is called it checks whether request is complete and, if it is, stops.
2016-08-24CLOUD: Add USE_CLOUD featureAlexander Tkachev
Adds USE_CLOUD in both configure and create_project.
2016-08-24CLOUD: Add Cloud::Manager and Cloud::StorageAlexander Tkachev
This commit introduces Common::CloudManager, which can be accessed from OSystem. The backend for this manager is Cloud::Manager (defined in backends/cloud/manager.h). It should load all users storages from configs and provide access to current Storage instance. For now it just creates a new one. Cloud::Storage (backends/cloud/storage.h) provides an API to interact with cloud storage, for example, create new directory or sync files. Right now it's not ready and has only two dummy methods: listDirectory() and syncSaves(). There is Cloud::Dropbox::DropboxStorage backend (backends/cloud/dropbox/dropboxstorage.h) for Cloud::Storage. Right now it implements both listDirectory() and syncSaves() with starting timer task and handling it by printing out some JSON examples.
2016-08-24CLOUD: Add SimpleJSON library (module.mk hotfix)Alexander Tkachev
Forgot to edit those.
2016-05-22UPDATES: Add support for WinSparkleFilippos Karapetis
2016-05-19ANDROIDSDL: add androidsdl backendlubomyr
2016-03-23Merge pull request #711 from lordhoto/opengl-revampJohannes Schickel
OpenGLGraphicsManager: Revamp
2016-03-16OPENGL: Implement CLUT8 look up as Pipeline.Johannes Schickel
2016-03-16OPENGL: Move pipeline code to pipelines/.Johannes Schickel
2016-03-16OPENGL: Introduce abstraction for framebuffer.Johannes Schickel
This allows us to use various framebuffer settings easily. Now the GPU accelerated CLUT8 surface implementation does not need to query former framebuffer state anymore.
2016-03-16OPENGL: Introduce pipeline abstraction to cleanup code.Johannes Schickel
2016-03-16OPENGL: Support GLES2 contexts.Johannes Schickel
2016-03-16OPENGL: Resolve OpenGL functions on run-time.Johannes Schickel
Formerly we relied on static linkage. However, in the presense of modern OpenGL (ES) implementations it is not easily identifable which library to link against. For example, on Linux amd64 with nVidia drivers and SDL2 setup to create a GLES 1.1 context one would need to link against libGL.so. However, traditionally GLES 1.1 required to link against libGLESv1_CM.so. To prevent a huge mess we simply resolve the OpenGL functions on run-time now and stop linking against a static library (in most cases). GLES support needs to be enabled manually on configure time for now. Tizen changes have NOT been tested.
2016-03-13BACKENDS: Switch to a common base class for threaded audio CD streamsMatthew Hoops
2016-03-13BACKENDS: Add a Win32 audio CD playerMatthew Hoops
2016-03-13BACKENDS: Add a Linux CD-ROM audio playerMatthew Hoops
2016-03-13BACKENDS: Add a custom Mac OS X CD audio managerMatthew Hoops
Since Mac OS X Carbon/Cocoa API isn't stable (in that it's changed multiple times over the years). Maintaining two versions of the same code (one in some foreign language with overly long names) isn't very appealing to me.
2016-01-06IOS: Merge masterVincent Bénony
2016-01-06IOS: Fixes tabsVincent Bénony
2016-01-06IOS: Added a chroot like filesystemVincent Bénony
This is needed because it is not possible to keep absolute paths to the iOS document directory, because a part of its name change between each installation / update.
2015-12-15PS3: Remove the SDL2 mixer manager.Bastien Bouclet
It was only used by the PS3 backend, and the standard SDL mixer was fixed to work in the PS3 case.
2015-12-15PS3: Make use of an updated SDL2 versionBastien Bouclet
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
2015-12-08SDL/DISPMANX: Remove dispmanx graphics output.vanfanel
2015-11-11Merge branch 'master' into dispmanxvanfanel
2015-10-18SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of ↵vanfanel
DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi.
2015-07-22SDL/DISPMANX: Updated class member names, configure script and asociated ↵vanfanel
files and docs to conform to fingolfin's corrections.
2015-03-29RASPBERRYPI: Added Raspberry Pi native 2D API support (dispmanx)vanfanel
2015-01-25SDL: Add experimental support for SDL2.Johannes Schickel
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2014-02-23OSX: Implement TaskbarManager for Mac OS XThierry Crozat
This implements count badge, progress bar, and icon overlay. It uses the NSDockTile API which is available since OS X 10.5. The code compiles and run on older system but without doing anything.
2013-10-19SDL: Add a OpenGL SDL backend and hook it into the SDL backend.Johannes Schickel
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL creation has been adapted since it uses a different constructor now.
2013-10-19OPENGL: Add new generic OpenGL (ES) backend.Johannes Schickel
This backend is based on ideas of the old OpenGL backend, of the Android GL backend and of the iPhone GL backend.
2013-10-05BACKENDS: Remove OpenGL and OpenGL SDL backend.Johannes Schickel
This breaks our Tizen port.
2013-07-04Merge pull request #350 from chrisws/tizen_port_1_6_0aJohannes Schickel
TIZEN: bada port updated to tizen Conflicts: backends/platform/tizen/system.cpp
2013-07-03TIZEN: bada port updated to tizenChris Warren-Smith