aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.h
AgeCommit message (Collapse)Author
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
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-03-08Changed ConfigManager to use class File instead of std C I/O to write the ↵Max Horn
config file svn-id: r26016
2006-07-30Added explicit string equals/hash functors to a new header ↵Max Horn
common/hash-str.h; removed Hash functor specialization for String and char pointers; changed all code using hashmaps with string keys to explicitly specify whether they honor or ignore case svn-id: r23634
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-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
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-08Removed common/map.h with the Common::Map template class (it was a very bad ↵Max Horn
implementation, and our HashMap is simply better). svn-id: r21688
2006-04-01Switch ConfigManager to use HashMap (seems to work fine over here, but an ↵Max Horn
older version killed my scummvm.ini, so use at your own risk (not that you really have a choice. I just like being evil *g*)) svn-id: r21539
2006-03-31Updated ConfigFile/ConfigManager classes, that work with the updated Map ↵Max Horn
class, and optionally support HashMap (disabled for now) svn-id: r21519
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
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-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-04-23Make StringMap class (with case insensitive keys) globalMax Horn
svn-id: r17779
2005-01-10Remove some more header dependenciesMax Horn
svn-id: r16530
2005-01-06Modify the singleton code once more to help overcome an issue with MSVC 7 ↵Max Horn
(see also patch #1095133) svn-id: r16454
2005-01-01Changed the singleton code to allow for custom object factories; this ↵Max Horn
allowed me to change OSystem to use the singleton base class, too svn-id: r16404
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-25Make loading the config file explicitMax Horn
svn-id: r16317
2004-09-28Preserve the order of config file sections -> to suite people who manually ↵Max Horn
edit the config file svn-id: r15322
2004-09-28Remove unused symbolMax Horn
svn-id: r15321
2004-04-09Renamed template class 'List' to 'Array', since that is really what it is (a ↵Max Horn
resizable array, not a linked list) svn-id: r13520
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-21two TODOsMax Horn
svn-id: r13356
2004-03-04add ConfigManager::getActiveDomainMax Horn
svn-id: r13189
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-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
2003-11-07fixed ConfigManager getInt/getBoolMax Horn
svn-id: r11199
2003-11-07typo, gnaw gnawMax Horn
svn-id: r11172
2003-11-07Use the new capabilities of class Map to make the ConfigManager case ↵Max Horn
insensitive when it comes to comparing config keys/domains svn-id: r11171
2003-11-05changed the way get(key,domain) works for global domains (instead of ↵Max Horn
defaulting to the empty string, it will now default to the registered default in this case) svn-id: r11151
2003-11-05added ConfigManager::removeKeyMax Horn
svn-id: r11140
2003-11-01cleanupMax Horn
svn-id: r11042
2003-10-08new config manager. not everything is completed, and some things will still ↵Max Horn
be changed, but it seems to work well enough to put it into CVS svn-id: r10687