August 15, 200521 yr As you may have noticed in the past, I don't like XML.But my current INI file format isn't flexible enough, so I decided to create version 2 of ini file which works completely without indizes. Old format will still be supported.Instead of indizes I'll use tabulator indentations to create a command tree.Here you can find my example INI file which is using this new format: http://www.kalytta.com/install.2.iniIf you have any additional suggestion concerning INI file just post it.Benjamin Kalytta
August 16, 200521 yr Hello Benjamin,This is a good news while numbers are sometime a pain when you need to add a new item in the middle of the others.On suggestions, the ability to use the same test at several position. I mean use the test 1 for prog A and use test 1 & test 2 for prog B without rewriting the test several times.I use this to collapse blocks of programs when all the programs in the block are already installed.Any date for the release of the new format ?Regards
August 17, 200521 yr Author On suggestions, the ability to use the same test at several positionI'll take this in consideration.Im currently working on it, it should take some days.Benjamin Kalytta
August 19, 200521 yr I'm glad you are still developing this project. I have been using it for a long time now and It works very well! I can't wait to see v2!
August 20, 200521 yr Author I'm glad you are still developing this project.Of course On suggestions, the ability to use the same test at several positionMy idea about this was something like DefaultTest = <expression> which will be used for each entries below this expression until DefaultTest is changed or an empty value (DefaultTest=) is specified.Im currently working on version 2 INI file parser. It's more time consuming as I thought before. It will be written completely in C++ code by using ATL library.As I said I'll use tabulator indentation to create sub trees in version 2 file format. Should I also allow spaces or just tabulators or both?Benjamin Edited August 20, 200521 yr by BenjaminKalytta
August 23, 200521 yr My idea about this was something like DefaultTest = <expression> which will be used for each entries below this expression until DefaultTest is changed or an empty value (DefaultTest=) is specified.This should be quite limitative.The way I would like to be abble to use the tests is starting with this example:[Tools]test.0 = test 0test.1 = test 1test.eval = 0 & 1disabled = if.falsedescription.0 = App 0command.0 = Cmd 0test.0.0 = test 0test.eval.0 = 0selected.0 = if.truedisabled.0 = if.falsedescription.1 = App 1command.1 = Cmd 1test.1.0 = test 1test.eval.1 = 0selected.1 = if.truedisabled.1 = if.falseSo something like this could be usefull[Tools]TestA = 1st testTestB = 2nd testtest.eval = TestA & TestBdisabled = if.falsedescription.0 = App 0command.0 = Cmd 0test.eval.0 = TestAselected.0 = if.truedisabled.0 = if.falsedescription.1 = App 1command.1 = Cmd 1test.eval.1 = TestBselected.1 = if.truedisabled.1 = if.falseA little bit like you use general vars.I don't have my ini file with me so I can't give a more detailed example, hope it's clear enought
August 23, 200521 yr Regarding tabs and/or spaces, how will you mesure the number of spaces ?Could be difficult to count the spaces when creating the ini file...On my opinion tabs only seem better. Edited August 23, 200521 yr by XPect
November 23, 200520 yr Hi Benjamin,Are you still working on the indexless INI files?I'm not pushing you as I know you have other things on your mind. I'm only interested in the status of the development.I would really like to see it implemented as my INI file have grown to a size where it is a lot of work to insert a new program. Not that the work bothers me, but mistakes are easily made while updating the indexes.Regards,Rob
November 25, 200520 yr Author Yes, from time to time Im working on it;) It's already 80% ready for some weeks now. But I've to integrate it into WIHU. If I'll take time I''ll work on it.Benjamin
Create an account or sign in to comment