summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
AgeCommit message (Collapse)Author
2014-06-24Store ini sections in a std::list (rather than vector) to prevent unexpected ↵Jordan Woyak
pointer invalidation with use of GetOrCreateSection.
2014-06-16Use only section-based ini reading.Lioncash
2014-05-28Get rid of the temporary buffer in IniFile's Load function.Lioncash
std::getline is the string-based equivalent.
2014-05-28When reading an ini file, if there is an error, check if it is simply ↵Rachel Bryk
because the eof was reached.
2014-05-23Check for errors when reading lines from ini files.Rachel Bryk
Fixes issue 7283.
2014-05-14Use size_t in std::string operations in IniFile.cpp, not intLioncash
2014-03-17Turn some non-const refs into pointersTillmann Karras
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-22Make Common/ mostly IWYU clean (and fix errors in rest of the project ↵Pierre Bourdon
detected by this change).
2014-02-20Fix more header sorting issues in Common/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-13Turn loops into range-based formTillmann Karras
and some things suggested by cppcheck and compiler warnings.
2014-02-13Fix IniFile to use string& instead of char*Matthew Parlane
Also removes .c_str() usages where found.
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre