Bot releases are hidden (Show)
Hotfix:
Version 2.5.0 is NOT signed does not contains a dll with an strong name. This release fixes it
see #151 for more information.
Breaking Changes:
FileIniParser now writes a file with UTF8 encoding as default value instead of ASCII. FileIniParser was reading the file using UTF8 so this non-uniform behaviour was confusing
Enhancements:
Marked SectionData.LeadingComments
property as obsolete
Updated docs to use non-deprecated APIs
Bug Fixes:
#135 Fix searches in Global section made case sensitive even when the case insensitive option was active
Published by rickyah over 7 years ago
Breaking Changes:
FileIniParser now writes a file with UTF8 encoding as default value instead of ASCII. FileIniParser was reading the file using UTF8 so this non-uniform behaviour was confusing
Enhancements:
Marked SectionData.LeadingComments
property as obsolete
Updated docs to use non-deprecated APIs
Bug Fixes:
#135 Fix searches in Global section made case sensitive even when the case insensitive option was active
Published by rickyah over 7 years ago
New configuration AllowCreateSectionsOnFly.
When true if you access a non existing section using the indexer the section is
created on the fly instead of throwing an exception.
Defaults to false
e.g.
IniData data = new IniData();
data.Configuration.AllowCreateSectionsOnFly = true;
data["Section1"]["key1"] = "value1"; // No exception!
Console.WriteLine(data["Section1"]["key1"]); // Prints "value1"
Published by rickyah over 8 years ago
v2.3.0
New APIs (backward compatible):
Allows setting the NewLine character to use when writing an IniData structure
to a file using a IIniDataFormatter.
Use the property NewLineStr in available on IniData.Configuration
Bug Fixes:
Published by rickyah almost 9 years ago
Maintenance release
v2.2.3 was skipped.
New APIs
Bug Fixes
Clean up
Published by rickyah over 9 years ago
Maintenance Release
New APIs
KeyData.AddKey(string keyName, KeyData data)
was marked as obsolete. Use KeyData.AddKey(KeyData data)
insteadBug Fixes
Published by rickyah over 9 years ago
Maintenance Release
New APIs
Fixes
Published by rickyah over 9 years ago
Changelog:
Published by rickyah about 10 years ago
Introduces merge operations for IniData
, SectionData
and KeyValueData
structures.
Typical use case is to provide a default set of configuration settings that can be partially of fully overridden by user settings:
IniData defaults = GetDefaultSettings();
IniData userSettings = ReadUserSettingsFromConfigFile();
IniData settings = defaults.Merge(userSettings);
Allows using an string as comment delimiter instead of just one character.
New IInidataFormatter
interface allows that to define the way an IniData structure is converted to an string. The interface can be passed as an argument to an overloaded IniData.ToString(IInidataFormatter formatter)
method to customize how to recreate an IniFile. This allows, for example, to read an IniFile with an specified format and persists it with a different one.
The defatult IniData.ToString()
method uses a default formatter with the same settings as the configuration used to parse the file.
Published by rickyah about 10 years ago
Template Methods in INIDataParser must be virtual so they can be overriden
by derived classes in order to modify the parsing algorihtm.