aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.cpp
AgeCommit message (Collapse)Author
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
2004-12-20WinCE global domains are not needed anymoreNicolas Bacca
svn-id: r16219
2004-12-15- Move MAXPATHLEN includes/defines into common locationJonathan Gray
- Save files are now stored in $HOME/.scummvm/ by default if no other save path is specified on non MacOS X unices. svn-id: r16060
2004-12-05cleanupMax Horn
svn-id: r15991
2004-09-28Preserve the order of config file sections -> to suite people who manually ↵Max Horn
edit the config file svn-id: r15322
2004-03-31be tolerant against abuse of ConfMan.getInt(); add missing default value for ↵Max Horn
'speech_volume' in bs1 svn-id: r13435
2004-03-29Fixed a bad crash that occured when adding a new game target in the launcherMax Horn
svn-id: r13428
2004-03-28Preserve comments in config filesMax Horn
svn-id: r13412
2004-03-28cleanup; extended config file format checking (partially from patch #896096)Max Horn
svn-id: r13411
2004-03-28Changed printf() to debug() and removed newline at the end of some messagesTorbjörn Andersson
svn-id: r13403
2004-02-07Add -c/--config option to specific alternate configuration file. Sorry Max, ↵James Brown
but it's damn useful for coverdiscs :) svn-id: r12758
2004-02-05renamed (Const)Iterator to (const_)iterator; changed size() to return an uintMax Horn
svn-id: r12722
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-11cleanup (merged the two base set() methods)Max Horn
svn-id: r11256
2003-11-10fix for bug #833537 (Config manager saves "save_slot")Max Horn
svn-id: r11254