summaryrefslogtreecommitdiffstats
path: root/ini/ini_configobj.c
Commit message (Collapse)AuthorAgeFilesLines
* [INI] Function to merge two configurationsHEADmasterDmitri Pal2011-01-041-0/+456
| | | | | | | | | | | | This patch provides first draft of the implementation of the code to merge different configurations. It is similar to the merge code that is implemented inside the parser but different since it is not done during parsing of one file but addresses use case when the configuration is provided by different files that need to be merged together. NOTE: It would make more sence to review function by function from bottom of the patch rather than from the top.
* [INI] Making Coverity happyDmitri Pal2011-01-031-1/+1
| | | | | | | | | | | | | Coverity found issues 10078 & 10079. This patch should make it happy, however I think that Coverity is wrong unless I am missing something. If I am I hope that this patch would be able to reveal the real issue if any. For now just renaming a variable. [INI] Added missing initialization One liner to initialize a variable.
* New copy and folding functionalityDmitri Pal2010-12-211-0/+141
| | | | | | | | | | | | | | | | * Added method to copy configuration. * Added unit test for it. * Added method to reset boandary for the whole configuration. * Added unit test for it. * Unit test now can read a file save it read again and save. Both saves produce same files! * Reworked the way the parser was dealing with empty lines. It was sutting off the value in the middle if the folded line consisted of just spaces.
* Introducing configuration file objectDmitri Pal2010-09-221-4/+5
| | | | | | | | The patch contains two major pieces of work: * The beginning of the new INI interface significantly re-thought and reworked. * The implementation of the file object. Parsing was adjusted to use this object.
* The beginning of the new INI interfaceDmitri Pal2010-09-221-0/+114
* ini_config_priv.h - private header * ini_configobj.h - future public header for the new interface * ini_configobj.c - just constructor/decructor for now * ini_serialize.c - code to serialize the configuration into a buffer so it can be written somewhere.