From: Bogdan M. <dag...@gm...> - 2013-03-30 20:43:59
|
On Sat, Mar 30, 2013 at 10:12 PM, Matthew Gates <mat...@gm...> wrote: > Hi Bogdan, > > IIRC, there were a few things the plain QT ini parser didn't/doesn't > do which broke reading old old ini files so people upgrading would get > weirdness / failures: > > - correct handling of " in longitude / latitude values > - weirdness parsing color values > - comment handling issues > > I don't recall the exact details. If you change it, please check that > old .ini files don't cause problems / loss of settings. > > Found this in the archives: > http://tinyurl.com/br8ctgg Thank you very much! The most urgent problem in my branch is fixed (partially) by a minor change to one of the regexps, but I'll investigate if the parser can be removed. The issue with colours can probably be solved by registering the appropriate type with QVector. And yes, I'll try to make sure it's backwards-compatible. In all cases, this will be done after the next bugfix release, as it's a relatively major change. Bogdan |