summaryrefslogtreecommitdiff
path: root/src/ini.cpp
AgeCommit message (Collapse)Author
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-04-10Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't ↵Loïc Guilloux
exist (#8985)
2021-04-07Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵Niels Martin Hansen
static buffers
2021-02-23Codechange: Switch to explicit wide stringsNiels Martin Hansen
2020-12-27Codechange: Keep filenames of loaded Fio files in std::strings.Michael Lutz
2020-12-27Codechange: Stringify config file paths.Michael Lutz
2020-12-15Add: support for emscripten (play-OpenTTD-in-the-browser)Patric Stout
Emscripten compiles to WASM, which can be loaded via HTML / JavaScript. This allows you to play OpenTTD inside a browser. Co-authored-by: milek7 <me@milek7.pl>
2020-07-03Fix: Globally apply preprocessor directive coding styleTechGeekNZ
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
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
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2015-08-20(svn r27389) -Fix: There are two different availability conditions for ↵frosch
fdatasync in the manpage. Use them both, since at least on some MinGW versions one is not enough.
2014-04-26(svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failuresrubidium
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
2013-11-23(svn r26058) -Fix: handle the return value of a number of functions betterrubidium
2012-07-19(svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a ↵michi_cc
commonly used header.
2011-08-24(svn r22824) -Codechange: pass sub directory to ini loadingrubidium
2011-08-24(svn r22822) -Codechange: make a distinction between base sets and newgrfs ↵rubidium
for their directory
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2011-03-03(svn r22179) -Fix (r22167): compilation on win32glx
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.
2011-02-25(svn r22145) -Codechange: Do explicit test for non-bool values.alberth
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-08-30(svn r20693) -Fix: use strncmp instead of memcmp for comparing stringsyexo
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-04-23(svn r16128) -Change: allow loading (and storing) NULL values for STRQ in ↵rubidium
openttd.cfg.
2009-04-10(svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so ↵rubidium
they aren't seen as new groups.
2009-03-14(svn r15707) -Fix (r15686): The config file was not updated on Windows ↵michi_cc
because rename() can't replace existing files.
2009-03-12(svn r15686) -Codechange: make it a bit harder for crashes to trash your ↵rubidium
config file.
2009-03-12(svn r15682) -Codechange: some coding stylerubidium
2009-01-14(svn r15085) -Fix (r14164): Clearing a settings group did not delete old ↵peter1138
items nor reset the last_item pointer, causing lists to not be saved unless they started blank.
2008-09-07(svn r14257) -Fix (r14153): incorrect update of ini-file group tail pointer ↵rubidium
causing memory corruption.
2008-09-02(svn r14231) -Fix: Windows binaries not able to read non-windows newlines ↵rubidium
ini files. For more detail read the 'attached' diff.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-25(svn r14167) -Fix: items in some ini-groups got duplicated on save.rubidium
2008-08-25(svn r14164) -Codechange: simplify and unify the addition of ini items with ↵rubidium
value when not loading an ini file. -Fix: wrong insertion management causing leaks.
2008-08-24(svn r14161) -Codechange: allow inis to be loaded from tars.rubidium
2008-08-24(svn r14156) -Fix (r14153): missing/wrong commentssmatz
2008-08-24(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.rubidium