Forum Navigation
INI files aka map streams.
Posted: 09/14/08 07:47:50Hi i've noticed that the properties have been deprecated in favor of the newer map stream. Firstly I think the delegate that gets passed the parameters was much neater. Secondly and more importantly neither of them support sections which i think is a very major part of ini files. http://en.wikipedia.org/wiki/INI_file The majority if not all software expect the options to be defined in a certain section and thats how they find they by. And how is it supposed to work if the same key is used in multiple sections.
The way I see it working in a very sparse sort of way is that there is a collection of sections and each section is a special kind of collection of keys and values where you can set the value of a key and if it doesnt exists in the section it will create a line otherwise overwrite the old value with the new. I haven't got round to trying out the container but maybe this could be used if it could preserve the formatting and comments.
I would like to contribute tango. How is the decisions made for inclusion of new features.