DOM Traversal

Have made a few large strides in the JavaScript HTML DOM implementation in Web in the past 24 hours or so. All DOM traversal attributes (note attributes though, not all the methods yet) work and you can also read node type/name/value and set attributes. Setting attributes is done in a horribly hacky way, it really requires a patch in gtkhtml2 that I’ll probably do this weekend or at some point in the next week.

After this has been refined a bit, the next major step to accomplish before I can add the collapsing paragraphs and JavaScript-assisted restyling is to add some support for DOM Event. I predict it to be a day or two’s work to get working initially, but I have a lot of other things to work on at the moment (university, OpenedHand, etc.). Hopefully I’ll be able to complete this dissertation in time though, I think it’ll be worth the effort ๐Ÿ™‚

Thanks to Iain Holmes, there’s now a nice guide to using Valgrind that uses GtkHTML2 as the example. Valgrind and I have been at odds for a while, so hopefully, with the aid of this guide, I’ll be able to get it up and working (on amd64 btw) and fixing more leaks in GtkHTML2 in the future. He says he has patches for some leaks he fixed writing this guide, which is great and hopefully I can get them up-stream ๐Ÿ™‚

Off-topic, I’ve recently been using Muine, as Rhythmbox has finally given up the ghost on my computer (every version I’ve compiled crashes importing my music, regardless of optimisation settings) and beep-media-player randomly crashes on amd64. I hadn’t used it before due to it requiring Mono, and Mono requiring all the memory in the world. Given I was using Rhythmbox previously, which makes gamin swell up to using all the memory and swap space on my computer in about a day, this was a pretty null argument, so I went ahead and installed it. And it is excellent. Thanks Jorn! ๐Ÿ™‚

Jamiroquai – Scam
]]>

Leave a Reply

Your email address will not be published. Required fields are marked *