Commit Graph
4365 Commits
Author SHA1 Message Date
Eugene Sandulenko 111dc18ef3 Merge pull request #433 from klusark/assets
ANDROID: Update the asset archive code to use AAssets
2016-08-30 15:14:12 +02:00
Alexander Tkachev b9bba9bd4b ALL: Move Clipboard support to OSystem
Commit adds kFeatureClipboardSupport. hasTextInClipboard() and
getTextFromClipboard().

OSystem_SDL has this feature if SDL2 is used.

EditableWidget and StorageWizardDialog use g_system to access clipboard
now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 438ba985a4 JANITORIAL: Remove spaces at the end of the line
I knew there were some, but I wanted to fix them once, instead of doing
it all the time.
2016-08-24 16:07:55 +06:00
Alexander Tkachev a13e03e988 CLOUD: Add Networking::Connection::isLimited()
`false` everywhere by default, but works on Android (`true` if not
Wi-Fi).
2016-08-24 16:07:55 +06:00
Alexander Tkachev ded8cdf0a0 CLOUD: Add openurl-android.cpp 2016-08-24 16:07:55 +06:00
Alexander Tkachev aee713141b CLOUD: Make OutSaveFile start saves sync
It had to become a proxy class in order to do that.
finalize() starts the saves sync.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 9f7bea156a CLOUD: Init SDL_Net 2016-08-24 16:07:55 +06:00
Alexander Tkachev b3bf532211 CLOUD: Make CloudManager singleton
It's needed to ::destroy() it in main().
2016-08-24 16:07:55 +06:00
Alexander Tkachev 03217cd5c3 CLOUD: Add CurlJsonRequest
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-24 16:07:55 +06:00
Alexander Tkachev fade746f37 CLOUD: Add USE_CLOUD feature
Adds USE_CLOUD in both configure and create_project.
2016-08-24 16:07:55 +06:00
Alexander Tkachev ca2eeb2214 CLOUD: Add Cloud::Manager and Cloud::Storage
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-24 16:05:07 +06:00
Alexander Tkachev 7446ffd73b CLOUD: Integrate CloudThread into OSystem
Would be changed soon.
2016-08-24 16:05:07 +06:00
Tarek Soliman ad8cd2e52d SDL: Fix build with MacPorts SDL2 2016-08-20 22:33:51 -05:00
Alyssa Milburn 13d0ec9bea POSIX: Add #ifdef guards for DATA_PATH.
Thanks to snover for pointing out they should be there.
2016-08-04 16:19:13 +02:00
Eugene Sandulenko cb195a813b DC: Fix compilation 2016-08-04 13:08:25 +02:00
Eugene Sandulenko a4d39b2385 N64: Added pos() method to another save class 2016-08-04 13:05:15 +02:00
Eugene Sandulenko d111b16adc N64: Fix warning 2016-08-04 12:49:44 +02:00
Eugene Sandulenko eedd1286ff N64: Fix build adter WriteStream::pos() addition 2016-08-04 12:48:52 +02:00
Alexander Tkachev 2597be210d BACKENDS: Fix DC's OutVMSave to have pos() 2016-08-04 17:45:49 +06:00
Eugene Sandulenko 45e82b55fc Merge pull request #795 from fuzzie/snap
POSIX: Add $SNAP to search path if available.
2016-08-02 00:06:41 +03:00
Alyssa Milburn 87818fe63a POSIX: Add $SNAP to search path if available.
This allows ScummVM to find data files while running in a snap (e.g.
from the new Ubuntu store).
2016-07-29 11:45:14 +02:00
Bastien Bouclet ad3ab61241 COMMON: Remove the EventRecorder dependency from OSystem
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2016-07-28 18:23:46 +02:00
Bastien Bouclet 5b927c06f1 SDL: Ony perform framebuffer detection once on startup 2016-07-14 12:04:06 +02:00
Bastien Bouclet 2141277df9 SDL: Detect the desktop resolution earlier
So that nothing has a chance to change it beforehand.
2016-07-14 12:04:05 +02:00
Bastien Bouclet 287f97228f BACKENDS: Make suggestSideTextures go through GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet 911e0e3915 BACKENDS: Remove launcherInitSize from GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet 52f2dfc869 SDL: Split the GraphicsManager into Surface and OpenGL 2016-07-14 12:02:51 +02:00
Bastien Bouclet a381ef0530 SDL: Add forbidden symbol exceptions for building on OSX with SDL2
This is suspicious. Check me.
2016-06-23 21:18:03 +02:00
Eugene Sandulenko b01aa4141e ANDROID: Set version code to 16. 15 was 1.8.1 2016-05-31 17:13:33 +02:00
Eugene Sandulenko 4dba5f5604 Merge pull request #763 from bluegr/winsparkle
UPDATES: Add support for WinSparkle
2016-05-29 14:46:56 +02:00
Torbjörn Andersson 85e55d0c6e JANITORIAL: Remove unnecessary semicolons 2016-05-25 05:37:07 +02:00
Alyssa Milburn a32c53f936 ANDROID: Build against android-23 platform.
We seem to need this for the new manifest elements.
2016-05-23 09:33:11 +02:00
Matthew Garrett 832d7bb289 ANDROID: Add support for ScummVM menu on Android TV devices
Android TV devices don't have menu buttons. Remotes should have a play/pause
button (which may send individual play and pause events rather than a
combined event) and gamepads should have a Y button. Use these to open the
menu.
2016-05-22 15:23:44 -07:00
Matthew Garrett 497859ad90 ANDROID: Add support for Leanback Launcher on Android TV
Android TV needs some modifications to the manifest and a new icon in order
for apps to appear in the launcher.
2016-05-22 15:23:44 -07:00
Filippos Karapetis 8b3a08047c UPDATES: Add support for WinSparkle 2016-05-22 18:52:33 +03:00
Tarek Soliman e689b70b63 MAEMO: Update debian/changelog
sync with 1.8.1 release
2016-05-20 20:16:54 -05:00
lubomyr 961976f17e ANDROIDSDL: add androidsdl backend 2016-05-19 20:33:27 +02:00
Eugene Sandulenko 2cd0a99e2b Merge pull request #745 from Cruel/3ds
3DS: New Backend
2016-05-16 10:05:00 +02:00
Eugene Sandulenko 6aec69231f JANITORIAL: Indentation fixes 2016-05-13 12:27:11 +02:00
Hubert Maier 0f11864e8a Fix identation again
I should stop c&p'ing
2016-04-29 17:13:44 +03:00
Hubert Maier 4bad45cfd6 Remove periods 2016-04-29 14:08:54 +03:00
Hubert Maier 3e756da308 Code Formatting fixes 2016-04-29 14:06:02 +03:00
Hubert Maier d9d5ea40df AMIGAOS: Preparations for use with AmiUpdate
Adding a bit of code to make ScummVM AmiUpdate aware.
Everything else will be dealt with through a (yet to finish) AmigaOS installer script and the entries in AmiUpdate's database.

I'd like to ask for hints regarding
- Code Formatting
- Optimizations
- Comments
- Obivous errors
or
- Ill-designed code.

It's not much code, but i'm sure i still messed up glorious either way
2016-04-28 21:24:12 +03:00
Johannes Schickel bb6bf4b1cb GCW0: Attempt to fix out-of-tree packaging. 2016-04-24 05:03:25 +02:00
Thomas Edvalson 1531b4ddbf 3DS: Add config class/dialog, c-pad cursor control, and option to disable screens 2016-04-22 16:43:59 -04:00
Thomas Edvalson bfb9ecec35 3DS: Add README 2016-04-19 14:52:58 -04:00
Thomas Edvalson e8dcfc3a4e 3DS: Fix code styling, add license header, remove unused portdefs.h 2016-04-19 03:22:32 -04:00
Eugene Sandulenko 350bcc68c0 GCW0: Mention location of scummvm.log file in README 2016-04-18 08:48:16 +02:00
Eugene Sandulenko 1b06b58bf0 GCW0: Split README by chapters 2016-04-13 23:26:38 +02:00
Eugene Sandulenko 13685d3893 GCW0: Better bracket replacements in README 2016-04-13 22:49:34 +02:00