<br><br><div><span class="gmail_quote">On 10/17/07, <b class="gmail_sendername">Oswald Buddenhagen</b> <<a href="mailto:ossi@kde.org">ossi@kde.org</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Oct 17, 2007 at 08:15:28AM -0500, Thomas Braxton wrote:<br>> > - hex-coding is "a bit" inconsistent with the rest of the escaping.<br>> >   talking surprises ...<br>><br>> not my fault windows uses our escape char as a dir separator, but it's
<br>> the only way i could figure out how to let KConfigGroup know that<br>> backslash is special<br>><br>gah, you still don't get it, huh? it does not matter where backslashes<br>come from - it can always happen, in any value, on any platform.
<br>that you cannot figure out how to handle it correctly just shows how<br>broken the design is.<br><br>> > you would have this problem either way as long as the backend does not<br>> > know whether it is dealing with a list in the first place.
<br>><br>> KConfigIniBackend will never *know* it is dealing with a list, it can only<br>> guess, unless we start saving the type in the file.<br>><br>wrong. the backend will know the type at the moment the value is
<br>queried. that's why anything but the low-level parsing needs to be<br>postponed. and that's also the reason why the public entryMap method is<br>sorta crap.<br><br>> > this just shows that the refactoring suggested near the start of
<br>> > this thread is a must-have. we won't get anywhere without it, let<br>> > alone have the possibility to add other backends.<br>><br>> I'm sure everyone is ready to wait while we iron out the bugs from
<br>> changing KEntry to using QVariant instead of QByteArray.<br>> Without another backend this is alot of something for nothing<br>><br>this isn't even about the planned extensibility, it is about getting<br>
basic functionality work reliably. you screwed up, everybody has to<br>wait. too bad.</blockquote><div><br class="webkit-block-placeholder"></div><div>This is code from at least KDE 3, possibly before, so how did I screw up?
</div><div> </div><br><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">and now stand by, puthuhn and me will handle it.<br><br>--<br>Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
<br>--<br>Chaos, panic, and disorder - my work here is done.<br></blockquote></div><br>