summaryrefslogtreecommitdiff
path: root/src/ini_load.cpp
AgeCommit message (Collapse)Author
2021-07-02Change: move sensitive information to secrets.cfg and private information to ↵Patric Stout
private.cfg We often ask people for their openttd.cfg, which now includes their passwords, usernames, etc. It is easy for people to overlook this, unwillingly sharing information they shouldn't. By splitting this information over either private.cfg or secrets.cfg, we make it more obvious they shouldn't be sharing those files, and hint to what is inside them.
2021-05-29Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)Patric Stout
This to be more explicit the function changes the value, and not returns yes/no.
2021-05-13Codechange: move script settings to std::stringrubidium42
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Keep filenames of loaded Fio files in std::strings.Michael Lutz
2020-12-27Codechange: Stringify config file paths.Michael Lutz
2020-05-21Codechange: Use std::string in INI file parsing.Michael Lutz
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26504) -Fix (r26499): Obiwan and his gang.frosch
2014-04-24(svn r26499) -Codechange: replace strndup with streduprubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-20(svn r26476) -Fix: prevent comparing to NULL when strndup could not allocate ↵rubidium
memory
2014-01-02(svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... ↵frosch
files through str_validate.
2012-01-03(svn r23741) -Revert (r23740): the few parts that the Windows / non-network ↵rubidium
compiles stumble on
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-08-24(svn r22824) -Codechange: pass sub directory to ini loadingrubidium
2011-03-03(svn r22170) -Add: Add IGT_SEQUENCE type for loading ini group lines without ↵alberth
further interpretation.
2011-03-03(svn r22169) -Add: Add parameter to disable automatic group creation in ↵alberth
IniLoadFile::GetGroup().
2011-03-03(svn r22168) -Codechange: Move ini file IO and file error reporting to ↵alberth
virtual functions.
2011-03-03(svn r22167) -Codechange: Extract IniLoadFile base class for loading ini ↵alberth
files out of IniFile.