aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.cpp
AgeCommit message (Collapse)Author
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-10Store global keymaps into a separate sectionEugene Sandulenko
svn-id: r40427
2009-02-17typoWillem Jan Palenstijn
svn-id: r38440
2009-01-29Be paranoid about g_system being setMax Horn
svn-id: r36131
2009-01-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-10-23Pushed down some header depsMax Horn
svn-id: r34845
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30Fixing ConfigManager::loadConfigFileMax Horn
svn-id: r34707
2008-09-03Changed some code to use the new Stream::readLine() methodMax Horn
svn-id: r34318
2008-08-09If no default config file is present, just don't load it, instead of crashingMax Horn
svn-id: r33729
2008-08-03New OSystem API for loading/storing default config fileMax Horn
svn-id: r33584
2008-08-02Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'Max Horn
svn-id: r33550
2008-07-30Revert my accidental commit of the OSystem changes (oops)Max Horn
svn-id: r33456
2008-07-30Simplified advanced detector file sys scanning codeMax Horn
svn-id: r33455
2008-07-29CONFIGMAN: Store domains in the order they were addedMax Horn
svn-id: r33413
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-20Fix for bug #1971499: ALL: config manager crashes when reading too long linesMax Horn
svn-id: r33140
2008-04-14Removed Common::Array::contains()Max Horn
svn-id: r31501
2008-02-03Migration code for users updating to the 1.1.3 iPhone firmware, which has a ↵Oystein Eftevaag
different directory structure and permission setup svn-id: r30761
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-11-13Initial commit of the iPhone/iPod Touch backendOystein Eftevaag
svn-id: r29488
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-27Reverted r26922.Johannes Schickel
svn-id: r26967
2007-05-22Simpilified Singleton implementation and usage.Johannes Schickel
svn-id: r26922
2007-03-17fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #defineRobert Göffringmann
svn-id: r26171
2007-03-09reduced dependency from windows-specific header filesNicola Mettifogo
svn-id: r26034
2007-03-08Changed ConfigManager to use class File instead of std C I/O to write the ↵Max Horn
config file svn-id: r26016
2007-02-13made rtrim() and ltrim() global functions, to reduce code duplication (it ↵Gregory Montoir
seems parallaction/parser.cpp code re-use them too svn-id: r25564
2006-10-06Patch #1432376: "Very basic GP2X Backend"Eugene Sandulenko
svn-id: r24144
2006-08-04Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)Max Horn
svn-id: r23666
2006-07-10Add cyx's patch for #1497725 - GUI: trying to enter empty CD driveTravis Howell
svn-id: r23475
2006-07-10Change default config file location to 'Application Data\ScummVM' directory ↵Travis Howell
of the user's profile, when using Windows NT4/2000/XP/Vista svn-id: r23465
2006-07-08Fixed typo in comment.Torbjörn Andersson
svn-id: r23435
2006-06-08cleanup, made osystem for .ini on different devices.Robert Göffringmann
svn-id: r22984
2006-06-03Don't try to save settings on the Dreamcast, CD-ROM:s are read only...Marcus Comstedt
svn-id: r22890
2006-04-21Return of void value is not valid for all platforms. Changed to call ↵Lars Persson
function and then plain return; svn-id: r22075
2006-04-16Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have ↵Max Horn
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-16Fixed some breakage in the 'Add Game' code I recently introduced; added a ↵Max Horn
FIXME comment regarding the 'description' config file key svn-id: r21943
2006-04-15Always use base 0 in strtol when parsing integer command line options / ↵Max Horn
config file entries (this makes it possible to optionally use hex values) svn-id: r21911
2006-04-15Properly init _activeDomain to 0Max Horn
svn-id: r21908
2006-04-15- Replaced ConfigManager::_globalDomains by _appDomain (we don't support ↵Max Horn
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-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-04-04Small updates to intiate variable and member visibility.Lars Persson
svn-id: r21604
2006-03-31Avoid using Map::mergeMax Horn
svn-id: r21511
2006-03-28Get rid of Map::addKeyMax Horn
svn-id: r21480
2006-03-28- Renamed Map::remove to Map::erase (matching the STL and HashMap)Max Horn
- Added Map::find() (see also HashMap), and made the ConfigManager use it svn-id: r21477
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-02-12'Changed Symbian configuration handling so it is using the basepath of the ↵Lars Persson
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