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
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
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
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
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
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
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
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
3af9282c19
Relocated Win32 and Posix ports. (Part 2)
...
svn-id: r50193
2010-06-23 21:07:03 +00:00
Alejandro Marzini
0fb9d3ccfa
Relocated Win32 and Posix ports. (Part 1)
...
svn-id: r50191
2010-06-23 20:55:36 +00:00