aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.cpp
AgeCommit message (Collapse)Author
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
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-21Clarified comment, cleanupMax Horn
svn-id: r20111
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-15Leave as warning.Travis Howell
svn-id: r20043
2006-01-15Update confusing warning.Travis Howell
Check that config file location is writable. svn-id: r20034
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
2005-10-31Fix another HOME buffer overflow attack vectorMax Horn
svn-id: r19376
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08PalmOS:Chris Apers
- fix crash trying to use emptyString - debug option svn-id: r18963
2005-09-03Change PalmOS ident and fix ARM bug using global initializersChris Apers
svn-id: r18744
2005-08-16Added: PSP backendJoost Peters
svn-id: r18696
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-05-02Don't assert that "domain" is valid. One of the cases where this functionTorbjörn Andersson
is called is when parsing the command-line, and we can't really expect the user to always type something sensible. svn-id: r17893
2005-04-22Use class File instead of FILE (not finished)Max Horn
svn-id: r17753
2005-03-31Playstation2 Port: initial importRobert Göffringmann
svn-id: r17305
2005-02-22Verify domain names as they are passed into the config manager (better to ↵Max Horn
crash here, early, than to corrupt a user's config file) svn-id: r16862
2005-01-10Remove some more header dependenciesMax Horn
svn-id: r16530
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28Fix running ScummVM in plugin-modeMax Horn
svn-id: r16360
2004-12-25Make loading the config file explicitMax Horn
svn-id: r16317