Commit Graph
64 Commits
Author SHA1 Message Date
Cameron Cawley 6e40b64eb1 POSIX: Allow forbidden symbols required by FreeMiNT 2018-08-18 14:08:40 +02:00
Cameron Cawley 8f8eb81b1b RISCOS: Don't list RISC OS as a POSIX platform 2018-01-26 13:18:18 +00:00
Thierry Crozat 4f1025378f BUILD: Check if posix_spawn is available in configure 2017-12-15 01:08:14 +00:00
Thierry Crozat 2926cd4a50 POSIX: Fix compilation with some old macOS SDKs 2017-12-14 23:37:20 +00:00
Colin Snover 008149e357 POSIX: Do not hang ScummVM when opening a browser
If the call used to open the browser does not return until the
browser is closed, this would previously cause ScummVM to hang.
Since we are using waitpid now, we can avoid hanging by telling
waitpid to not block on a child which has not exited.
2017-12-14 14:30:16 -06:00
Colin Snover 7aaac1dfba POSIX: Fix CVE-2017-17528 2017-12-14 14:30:11 -06:00
cameron a11985c46d RISCOS: Add RISC OS support 2017-09-03 10:40:07 +02:00
cpasjuste 70988527c6 PSP2: Add Playstation Vita (PSP2) support 2017-03-04 15:42:19 -06:00
Eugene Sandulenko 355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Thierry Crozat 1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01: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
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
lubomyr 961976f17e ANDROIDSDL: add androidsdl backend 2016-05-19 20:33:27 +02:00
Johannes Schickel 5340df3faf POSIX: Cleanup AudioCD manager creation. 2016-03-13 14:20:20 +01:00
Matthew Hoops a1a4fc0d51 BACKENDS: Add a Linux CD-ROM audio player 2016-03-13 13:56:28 +01:00
Johannes Schickel 2622cded72 POSIX: Move assureDirectoryExists to posix-fs{.h,.cpp}. 2016-02-02 09:16:40 +01:00
Johannes Schickel dde89c36f5 POSIX: Move default config file location to '$XDG_CONFIG_HOME/scummvm/scummvm.ini'.
This is what the XDG Base Directory Specification suggests to use. We still
use the old location of '~/.scummvmrc' in case that is present.

This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel 79acfd28e9 POSIX: Use modern path for log file.
This makes use use the XDG Base Directory Specification for the log file path.
This tackles one part of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel b4e360188f POSIX: Restructure code in OSystem_POSIX::createLogFile. 2016-02-02 09:16:40 +01:00
Johannes Schickel 589c3046aa POSIX: Make assureDirectoryExists create full path if needed.
This is kind of like 'mkdir -p' now. But the permissions are different from
standard POSIX behavior.
2016-02-02 08:45:58 +01:00
Johannes Schickel d8394d3f77 POSIX: Factor directory creation code into its own function. 2016-02-02 08:45:58 +01:00
vanfanel 66dbb7f485 SDL/DISPMANX: Remove dispmanx graphics output. 2015-12-08 21:41:40 +01:00
vanfanel c362119572 SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi. 2015-10-18 20:25:53 +02:00
vanfanel 08a3376ba7 RASPBERRYPI: Added Raspberry Pi native 2D API support (dispmanx) 2015-03-29 21:52:53 +02:00
Johannes Schickel 63304ee9ec SDL: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel 4412e12deb BUILD: Rename libunity support variable to "USE_UNITY" instead of "USE_TASKBAR_UNITY".
This makes it consistent with other library support variables.
2014-01-21 19:01:28 +01:00
D G Turner 8b9d4348f8 SDL: Fix bug where config file path could exceed maximum path length.
The fix is the change in the MAXPATHLEN check, but have also migrated
this to Common::String to make the fix easier.

Thanks to klusark for pointing out this problem.
2013-11-14 18:35:03 +00:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman 09b9fbfba9 MAEMO: Add basic platform backend with stubbed keymapper 2011-09-22 22:07:44 -05:00
Eugene Sandulenko 627372a67c Merge pull request #40 from bgK/ps3
PS3 Port
2011-06-23 01:34:05 -07:00
Bastien Bouclet 11cfa0d357 PS3: Initial version of the PlayStation 3 backend 2011-06-22 19:51:02 +02:00
Littleboy 1e3603b937 BACKENDS: Add define for Unity-specific taskbar code 2011-06-16 14:23:18 -04:00
Littleboy 6c14d8a950 BACKENDS: Integrate glib main event loop
- Unity needs a glib event loop to dispatch events.
 - Cleanup whitespace and indentation
2011-06-16 14:22:51 -04:00
Littleboy 984e1968bc BACKENDS: Add WIP Unity support 2011-06-16 10:38:40 -04:00
Willem Jan Palenstijn 2d87394be9 POSIX: Add TODO/FIXME to displayLogFile 2011-06-04 16:39:39 +02:00
Willem Jan Palenstijn 656c252636 POSIX: Implement displayLogFile in the posix backend
Tested only on Linux, but hopefully this is sufficiently
portable to support the other POSIX platforms.

Using fork/exec instead of the simpler 'system' to avoid quoting issues
and depending on specific shell features to handle a missing xdg-open
gracefully.
2011-06-04 15:12:07 +02:00
Max Horn 279a5b4f32 BACKENDS: Add OSystem::displayLogFile interface + OSX implementation 2011-06-03 13:36:04 +02:00
Max Horn 39076ef972 BUILD: Rename UNIX #define to POSIX 2011-05-25 13:23:03 +02:00
Max Horn 6f6051a9e1 COMMON: Mark more symbols as forbidden 2011-05-23 19:12:26 +02:00
Pawel Kolodziejski 944e0be209 SAMSUNGTV: update port 2011-05-23 18:11:40 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Joost Peters e28b402295 IRIX: Fix compilation 2011-05-08 01:25:09 +02:00
Max Horn 59e77ed667 ALL: Mark printf and various other symbols as forbidden
Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!

Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
2011-05-02 16:31:31 +02:00
Klaus Reimer a4e757834e WEBOS: Create webos backend with custom events
Currently only contains test code.
2011-04-12 11:05:35 +02:00
David-John Willis 0fb15847c6 SDL/POSIX: Update main guard to add OpenPandora.
- Also mention GPH_DEVICE not each backend on it's own.
2011-03-24 21:24:05 +00:00
Max Horn 73cf5dba99 SDL: Add Mac OS X log file support
svn-id: r54589
2010-11-29 19:54:55 +00:00
Johannes Schickel 39aad6ece7 SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
svn-id: r54581
2010-11-29 18:30:23 +00:00
Max Horn df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Fabio Battaglia 74a53df11b DINGUX: fix compilation for the opengl branch
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL

svn-id: r53730
2010-10-23 09:30:26 +00:00
Alejandro Marzini f9c3a4547c Cleanup and documentation.
svn-id: r50589
2010-07-02 06:44:42 +00:00