summaryrefslogtreecommitdiffstats
path: root/src/IniFile.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed all Printf-family functions from StringUtils.Mattes D2023-05-161-15/+10
| | | | | Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code.
* Handle newlines in cIniFile (#5447)Jomar Milan2023-03-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Handle newlines during read and write in cIniFile When reading the ini file, replace \n with newline. When writing, replace the newline with \n. * Use ReplaceString instead of regex in IniFile * Update cIniFile description * Removed duplicate variable * Revert "Removed duplicate variable" This reverts commit de11bac047d871dfbffec28b72f72a2935bd339e. * Removed duplicate variable Now without plugin changes --------- Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
* Remove old Android leftovers (#4722)Mat2020-05-071-4/+4
|
* Use clang-tidy to check more code conventions (#4214)Bond-0092018-05-061-68/+68
| | | | | | | * Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164
* Revert "Issue3136"LogicParrot2016-04-141-0/+3
|
* Fixed port override code.Alexander Harkness2016-04-121-3/+0
|
* Ignore trailing and leading spaces in INI values# Please enter the commit message for your changes. Lines startingLogicParrot2016-02-051-4/+4
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-46/+46
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* Add support for setting ports through command linetycho2015-05-181-1/+12
|
* Initial implementation of IniFile overloadingtycho2015-05-161-10/+41
|
* More style checking.Mattes D2015-05-091-2/+2
| | | | Spaces around some operators are checked.
* IniFile: Added common code to migrate ports.Mattes D2015-01-271-0/+36
| | | | Old settings have IPv4 and IPv6 ports as separate values, new settings have a single value for the ports.
* CheckBasicStyle'dAlexander Harkness2014-10-271-3/+3
|
* IniFile: Removed the problematic printf-like Set function.Mattes D2014-10-241-14/+0
| | | | It wasn't used in any client code anyway.
* IniFile: Removed an unused macro.Mattes D2014-10-231-4/+0
|
* Merged IniFile into main MCS sources.Mattes D2014-10-231-0/+908