Willem Jan Palenstijn
f23b6f91b7
typo
...
svn-id: r38440
2009-02-17 19:54:11 +00:00
Max Horn
7eaafd933f
Be paranoid about g_system being set
...
svn-id: r36131
2009-01-29 22:09:06 +00:00
Max Horn
e4b013f616
Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
...
svn-id: r36013
2009-01-23 03:30:40 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Max Horn
d387206175
Pushed down some header deps
...
svn-id: r34845
2008-10-23 07:59:10 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
cdc66fc120
Fixing ConfigManager::loadConfigFile
...
svn-id: r34707
2008-09-30 15:42:19 +00:00
Max Horn
ad87f08192
Changed some code to use the new Stream::readLine() method
...
svn-id: r34318
2008-09-03 18:40:49 +00:00
Max Horn
39d2c3bdad
If no default config file is present, just don't load it, instead of crashing
...
svn-id: r33729
2008-08-09 22:42:03 +00:00
Max Horn
6377b8bdd5
New OSystem API for loading/storing default config file
...
svn-id: r33584
2008-08-03 16:54:18 +00:00
Max Horn
9034ce2a7c
Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'
...
svn-id: r33550
2008-08-02 22:32:32 +00:00
Max Horn
4632a33087
Revert my accidental commit of the OSystem changes (oops)
...
svn-id: r33456
2008-07-30 15:44:34 +00:00
Max Horn
fbe4f0dd48
Simplified advanced detector file sys scanning code
...
svn-id: r33455
2008-07-30 15:38:42 +00:00
Max Horn
bcac496615
CONFIGMAN: Store domains in the order they were added
...
svn-id: r33413
2008-07-29 16:12:42 +00:00
Max Horn
0be985ce83
Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
...
svn-id: r33412
2008-07-29 16:09:10 +00:00
Max Horn
ec1212eadf
Fix for bug #1971499 : ALL: config manager crashes when reading too long lines
...
svn-id: r33140
2008-07-20 16:52:25 +00:00
Max Horn
805f21e369
Removed Common::Array::contains()
...
svn-id: r31501
2008-04-14 12:11:10 +00:00
Oystein Eftevaag
deb6baf0db
Migration code for users updating to the 1.1.3 iPhone firmware, which has a different directory structure and permission setup
...
svn-id: r30761
2008-02-03 12:36:51 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Oystein Eftevaag
05b5a493f8
Initial commit of the iPhone/iPod Touch backend
...
svn-id: r29488
2007-11-13 08:06:15 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
86104e0bf0
Reverted r26922.
...
svn-id: r26967
2007-05-27 11:40:03 +00:00
Johannes Schickel
8ff17142c5
Simpilified Singleton implementation and usage.
...
svn-id: r26922
2007-05-22 14:17:44 +00:00
Robert Göffringmann
4a11e7299a
fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #define
...
svn-id: r26171
2007-03-17 15:45:05 +00:00
Nicola Mettifogo
1e985051a9
reduced dependency from windows-specific header files
...
svn-id: r26034
2007-03-09 00:13:07 +00:00
Max Horn
33a4f8c378
Changed ConfigManager to use class File instead of std C I/O to write the config file
...
svn-id: r26016
2007-03-08 16:43:33 +00:00
Gregory Montoir
1ce912e106
made rtrim() and ltrim() global functions, to reduce code duplication (it seems parallaction/parser.cpp code re-use them too
...
svn-id: r25564
2007-02-13 21:06:57 +00:00
Eugene Sandulenko
3d84f11046
Patch #1432376 : "Very basic GP2X Backend"
...
svn-id: r24144
2006-10-06 19:01:39 +00:00
Max Horn
4ee581adb5
Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
...
svn-id: r23666
2006-08-04 17:47:57 +00:00
Travis Howell
175c951e8e
Add cyx's patch for #1497725 - GUI: trying to enter empty CD drive
...
svn-id: r23475
2006-07-10 11:12:11 +00:00
Travis Howell
53aa4f054a
Change default config file location to 'Application Data\ScummVM' directory of the user's profile, when using Windows NT4/2000/XP/Vista
...
svn-id: r23465
2006-07-10 01:25:52 +00:00
Torbjörn Andersson
07ffde9270
Fixed typo in comment.
...
svn-id: r23435
2006-07-08 20:20:07 +00:00
Robert Göffringmann
7e65543482
cleanup, made osystem for .ini on different devices.
...
svn-id: r22984
2006-06-08 06:53:00 +00:00
Marcus Comstedt
2f935da61f
Don't try to save settings on the Dreamcast, CD-ROM:s are read only...
...
svn-id: r22890
2006-06-03 15:34:48 +00:00
Lars Persson
5b776e3e28
Return of void value is not valid for all platforms. Changed to call function and then plain return;
...
svn-id: r22075
2006-04-21 20:59:05 +00:00
Max Horn
74edd90aba
Fix for bug #1471383 : Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
...
svn-id: r21951
2006-04-16 19:23:14 +00:00
Max Horn
555a568e59
Fixed some breakage in the 'Add Game' code I recently introduced; added a FIXME comment regarding the 'description' config file key
...
svn-id: r21943
2006-04-16 13:58:11 +00:00
Max Horn
ebea155b8e
Always use base 0 in strtol when parsing integer command line options / config file entries (this makes it possible to optionally use hex values)
...
svn-id: r21911
2006-04-15 13:58:01 +00:00
Max Horn
aa4214f940
Properly init _activeDomain to 0
...
svn-id: r21908
2006-04-15 13:34:02 +00:00
Max Horn
3628629007
- Replaced ConfigManager::_globalDomains by _appDomain (we don't support multiple global domains anymore)
...
- Restructured parts of the ConfigManager to be more consistent and a bit easier to understand
- Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs)
- Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain
- Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits
- Introduced various hidden easter bugs. Happy easter, and have fun searching!
svn-id: r21906
2006-04-15 13:12:03 +00:00
Max Horn
1470dadb1d
Changed File::open to take a Common::String as file name parameter
...
svn-id: r21867
2006-04-14 01:48:51 +00:00
Lars Persson
595a48a87e
Small updates to intiate variable and member visibility.
...
svn-id: r21604
2006-04-04 21:32:19 +00:00
Max Horn
a23fba7a42
Avoid using Map::merge
...
svn-id: r21511
2006-03-31 07:30:43 +00:00
Max Horn
62da4eec26
Get rid of Map::addKey
...
svn-id: r21480
2006-03-28 15:15:45 +00:00
Max Horn
37c79be740
- Renamed Map::remove to Map::erase (matching the STL and HashMap)
...
- Added Map::find() (see also HashMap), and made the ConfigManager use it
svn-id: r21477
2006-03-28 12:35:50 +00:00
Max Horn
9f93e5bb81
Renamed various container isEmpty() methods to empty() to match STL conventions
...
svn-id: r21472
2006-03-28 09:42:54 +00:00
Lars Persson
0b847325e1
'Changed Symbian configuration handling so it is using the basepath of the application installation as a path for Savegames, ini files etc
...
*Updated list.h so it also compiles for Symbian codewarrior and gcce compilers
svn-id: r20586
2006-02-12 00:33:04 +00:00
Max Horn
36934b611d
Change CVS keywords to SVN keywords
...
svn-id: r20510
2006-02-11 09:53:53 +00:00
Max Horn
2f8dacd617
Clarified comment, cleanup
...
svn-id: r20111
2006-01-21 11:57:19 +00:00