Originally Posted by
WILL
Hey, I think it's cool that you are supporting the LCL now. I think the biggest thing to kill Kylix was that developers in general did not support the CLX [size=9px](Much, much better than VCL anyway)[/size]...
How much of your original code is remaining 'as is'?
Well, very little of the code that you see in the current package matches up with the code in the "current" Delphi packages. This is because I've been working on a complete re-write for Delphi over the past year. A new parser (SAXish) was developed, a new model around Interfaces, and a very selectable model was choosen. All of this leads to two things, first the components are a bit more difficult to work with (you have to type cast things) and second they are MUCH more powerful.
I'll give a quick example:
Before the following would not have loaded properly:
Code:
<Root>
<Level1>
Level 1 start text
<SpecialTag/>
More level 1 text
</Level1>
</Root>
Before this would have resulted in you getting a level1 tag with "Level 1 start text More level 1 text" and a special tag is a child of it. This wasn't a major problem, but it was a problem.
Now you will have 3 children under Level 1, a Text element, a Container with no children, and then another text element. This is proper to the XML specification.
The massive number of e-mails asking me for FPC support is quite amazing, and work with Phoenix (as I stated) along with a few other things made me want to convert the new model to FPC/Lazarus.
I haven't used the interface model in this conversion, simple reason, I don't know if interfaces work in all FPC compilers (or if they are supported at all). So I went with what I know will work, overloaded objects.
Another change is that I've surfaced the TXMLTokenizer (again SAXish) into a visual component (this is the one with problems, no idea why it has problems, but on some systems it crashes the IDE). This was due to the fact that ALOT of people have hacked out the old Tokenizer to use it. I figured if they wanted that level of access I'd give it up.
So long answer short; Yes its based on the Delphi code, just not the Delphi code that everyone can see. The Delphi version should be following up in a few months after testing is completed. Seeing as how I need some help finding (and fixing) the bugs in the FPC version I went ahead and released it to PGD (notice it isn't on the website yet) for review and testing (and hopefully a little help).
Bookmarks