Commit Graph

2943 Commits

Author SHA1 Message Date
D G Turner
4c03760e66 DC: Fix Variable Shadowing Compiler Warning. 2017-01-17 09:29:24 +00:00
Eugene Sandulenko
ab7a152c3a ALL: Bump copyright year to 2017 2017-01-01 10:58:56 +01:00
Eugene Sandulenko
6da591df88 Merge pull request #853 from criezy/ios-no-sleep
IOS: Disable idle timer while an engine is running
2016-11-12 12:20:17 +01:00
lubomyr
55f37714ca ANDROIDSDL: default storage-sdcard directory location getting direct from libSDL wrapper 2016-10-23 14:07:15 +03:00
Ori Avtalion
5280632b51 SDL: Fix typos 2016-10-22 21:16:21 +03:00
Marcus Comstedt
cd6f1e3f24 DC: Add Dreamcast specific clean target 2016-10-22 13:46:58 +02:00
Thierry Crozat
2882424306 IOS: Add support for filtering feature 2016-10-21 22:27:26 +01:00
Thierry Crozat
4a9446490a IOS: Disable idle timer while an engine is running 2016-10-20 22:38:14 +01:00
Eugene Sandulenko
9db3a38466 PSP: Added release building script 2016-10-16 14:49:59 +02:00
Eugene Sandulenko
1c2ed0c094 ANDROIDSDL: Update port settings 2016-10-10 23:35:41 +02:00
Eugene Sandulenko
cb4ec21d13 GCW0: Fixed wording in the README 2016-10-09 16:14:13 +02:00
Eugene Sandulenko
42a023b81f GCW0: Mention that only 320x240 games are supported 2016-10-09 16:05:28 +02:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Tarek Soliman
a6d3b61d32 MAEMO: Update debian/changelog 2016-09-28 20:44:30 -05:00
Marcus Comstedt
efebb327d9 DC: Fix indentation 2016-09-28 16:11:08 +02:00
Marcus Comstedt
95ad63e992 DC: Ignore case for VM filenames 2016-09-27 13:06:15 +02:00
Marcus Comstedt
4aacc41fff DC: Implement atexit handling for plugins 2016-09-27 13:06:15 +02:00
Marcus Comstedt
9c235b3d6e DC: Update versions of dependencies in README
The new GCC and Newlib are required for correct atexit handling
in plugins.  The new Ronin is required to support the Newlib upgrade,
and also for custom filename handling on VM saves.
2016-09-27 13:06:15 +02:00
Eugene Sandulenko
53790e7497 RELEASE: This is 1.10.0git 2016-09-26 20:57:54 +02:00
lubomyr
c325f813b9 ANDROIDSDL: set default gfx_mode to 2x 2016-09-18 14:06:49 +02:00
lubomyr
cc945d6105 ANDROIDSDL: default config key browser_lastpath changed to '/storage' 2016-09-16 18:07:45 +02:00
Bastien Bouclet
6234b93813 SDL: Add a fixme regarding the encoding of the string returned by getTextFromClipboard 2016-09-13 09:21:51 +02:00
Bastien Bouclet
9e502bf9aa SDL: Plug a memory leak in OSystem_SDL::getTextFromClipboard 2016-09-13 09:19:53 +02:00
Thierry Crozat
1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Eugene Sandulenko
23e2a61d4e SDL: Move mouse in SDL2 only when window has focus. 2016-09-04 16:48:50 +02:00
Thierry Crozat
29535c0a55 SDL: Do not forbid time.h symbols when FORBIDDEN_SYMBOL_EXCEPTION_time_h is defined
This hopefully fixes a regression from 848c5c3.
2016-09-04 02:26:27 +01:00
Thierry Crozat
848c5c3f84 Merge pull request #810 from tsoliman/sdl2-macports
SDL: Fix build with MacPorts SDL2
2016-09-03 23:08:04 +01:00
Thierry Crozat
a2a985368c BUILD: Tie the SDL_net version to the SDL version
This means that when using SDL 1.2 we use SDL_net 1.2, but when
using SDL 2 we now use SLD_net 2 as well. Both versions work
properly and there is not code change needed in ScummVM.

This change is because SDL_net depends on SDL, and using
SDL_net 1.2 with SDL 2 means we can end up needing to link with
both the SDL and SDL2 libraries.
2016-09-03 23:07:21 +01:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Alexander Tkachev
489489b127 PS2: Fix Ps2SaveFileManager
* updateSavefilesList() stub;
* openRawFile();
* Common::OutSaveFile in openForLoading().
2016-08-31 14:12:45 +06:00
Alexander Tkachev
ac93dd99fe DC: Add RoninCDFileNode::create()
Returns false, as we don't create files/directories on CD.
2016-08-31 13:46:43 +06:00
Alexander Tkachev
a6bcd207fc DC: Fix VMSaveManager
* updateSavefilesList() stub;
* openRawFile();
* Common::OutSaveFile in openForSaving();
* OutVMSave derived from WriteStream.
2016-08-31 13:39:09 +06:00
Alexander Tkachev
7f913c831d DS, N64: Fix openForSaving()
Fails to build because OutSaveFile's name should've been qualified.
2016-08-31 12:38:40 +06:00
Alexander Tkachev
9d6ae2a33f DS, N64: Fix SaveFileManagers
Added updateSavefilesList() and openRawFile() stubs. It should build
fine now, I guess.
2016-08-31 12:33:57 +06:00
Alexander Tkachev
153f06b324 N64: Fix OutSaveFile error
OutSaveFile was just a typedef of WriteStream once, but now it's not.
These Out*Save classes are then wrapped with OutSaveFile, so it should
be OK to derive them from WriteStream instead of OutSaveFile.
2016-08-31 12:07:53 +06:00
Thierry Crozat
f490fb811a OSX: Implement clipboard support
There was already an implementation using SDL2 in the SDL backend,
but this way we have it available also when using the SDL 1.
2016-08-30 21:37:34 +01:00
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