Commit graph

51 commits

Author SHA1 Message Date
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
Alejandro Marzini
c174d5327b Modularized GP2XWIZ backend.
svn-id: r50514
2010-06-30 04:46:55 +00:00
Alejandro Marzini
06290230d5 Updated makefile. Fixed compile errors.
svn-id: r50475
2010-06-29 01:21:30 +00:00
Alejandro Marzini
c2bc48a772 Fixed String conversion error.
svn-id: r50370
2010-06-27 06:10:09 +00:00
Alejandro Marzini
936f558579 Improved getDefaultConfigFileName(). Code cleanup.
svn-id: r50364
2010-06-27 05:12:37 +00:00
Alejandro Marzini
70e9a5b951 Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString function.
svn-id: r50301
2010-06-26 03:44:47 +00:00
Alejandro Marzini
d04a2a266d Modularized Samsung TV port.
svn-id: r50258
2010-06-25 05:02:40 +00:00
Matthew Hoops
96b9c3aa08 Fix linking on Mac OS X.
svn-id: r50256
2010-06-25 00:14:09 +00:00
Alejandro Marzini
e9c12368fc Fix link error with duplicated name files.
svn-id: r50255
2010-06-25 00:02:58 +00:00
Matthew Hoops
a8120dd9d6 Fix compile on Mac OS X (and probably *nix systems).
svn-id: r50254
2010-06-24 23:51:02 +00:00
Alejandro Marzini
419e05bb89 Created macosx port from sdl backend.
svn-id: r50228
2010-06-24 19:05:59 +00:00
Alejandro Marzini
307d7aeb4f Added a init function to OSystem_SDL for early backend setup, and so allowing better sub classing.
svn-id: r50224
2010-06-24 17:37:09 +00:00
Alejandro Marzini
3029e50528 Fixed Posix port problem with destructor and configure.
svn-id: r50194
2010-06-23 22:02:00 +00:00
Alejandro Marzini
3af9282c19 Relocated Win32 and Posix ports. (Part 2)
svn-id: r50193
2010-06-23 21:07:03 +00:00