summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
AgeCommit message (Collapse)Author
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2015-08-19IniFile: Mark getter functions as constLioncash
2015-06-05Skip reading UTF-8 BOM at the beginning of INI filesJosJuice
2015-06-02Fix bug where Gecko codes would be "enabled by default"comex
Actually caused by IniFiles::GetLines leaving the output vector in its old state if the section wasn't found, and Gecko::LoadCodes not checking the return value. Fix by moving lines->clear() up.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-03-24DolphinWX/Common: Change some find_first_of usages to findLioncash
It's unnecessary to use find_first_of when all you're searching for is a single character.
2015-02-04Use emplace_* functions where in-place construction is preferableLioncash
2014-11-13Various formatting and consistency fixesStevoisiak
2014-09-04Change IniFile::Section::Set() with default value to use a template.Rachel Bryk
2014-08-13Add the VideoCommon PostProcessing class.Ryan Houdek
This class loads all the common PP shader configuration options and passes those options through to a inherited class that OpenGL or D3D will have. Makes it so all the common code for PP shaders is in VideoCommon instead of duplicating the code across each backend.
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