aboutsummaryrefslogtreecommitdiff
path: root/common/config-file.cpp
AgeCommit message (Collapse)Author
2013-04-19COMMON: Add ConfigFile::addSection function.Alyssa Milburn
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-10-07COMMON: Unbreak ConfigFile::renameSection.Johannes Schickel
It will still not work when the new section name is already taken, but at at least when it is not taken it should work now.
2011-10-07COMMON: Remove unused code in config-file.cpp.Johannes Schickel
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-12-11COMMON: Handle C++-style comments in config filesAlyssa Milburn
svn-id: r54868
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2009-12-30Update comments to reflect the changes used for Mohawk.Matthew Hoops
svn-id: r46746
2009-12-29Add Mohawk engine code. Part 2/3: common code changes.Eugene Sandulenko
svn-id: r46728
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-01-29Be paranoid about g_system being setMax Horn
svn-id: r36131
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-09-03Changed some code to use the new Stream::readLine() methodMax Horn
svn-id: r34318
2008-09-03Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵Max Horn
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315
2008-08-27Removed various uses of scumm_stricmp by the more readable ↵Max Horn
String::equalsIgnoreCase and String:: compareToIgnoreCase svn-id: r34198
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
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-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-05-02Add support for reading/writing config files through saveGameManager and use ↵Travis Howell
for config files in HE games svn-id: r22273
2006-04-23Modified some error calls to explicitly name the function they occured in ↵Max Horn
(this helps debugging) svn-id: r22093
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-07GUI widget positions:Eugene Sandulenko
o Add 'true' and 'false' constants o add .visible widget property o allow dots to be part of section and key names in configs svn-id: r21123
2006-03-07o Properly react to end-of-file is loadFromStream()Eugene Sandulenko
o Add types SectionList and SectionKeyList o Implement getKeys() method svn-id: r21114
2006-02-14Correct case of SPY Fox game titlesTravis Howell
svn-id: r20687
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
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
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-04-24Some C++ compilers don't support the 'not' keyword, it seemsMax Horn
svn-id: r17793
2005-04-24Add additional check for comments with ().Travis Howell
Required for map.ini file included with mustard. svn-id: r17783
2005-04-24The last section of config file was not saved, when loading config file.Travis Howell
Fix all string compares. svn-id: r17781
2005-04-23Implement some missing methodsMax Horn
svn-id: r17780
2005-04-23Added new ConfigFile class. It is not yet used anywhere. ConfigManager will ↵Max Horn
be rewritten around this class. Note that it is not final yet and may be revised in many ways. svn-id: r17773
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
2003-10-05cleaned up iterator code in MapMax Horn
svn-id: r10608
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-05-21fixed ltrim/rtrimMax Horn
svn-id: r7788
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06next pedantic cleanup codePaweł Kołodziejski
svn-id: r6714