RESOLVED FIXED 11248
Even More auto-generated Objective-C DOM bindings changes
https://bugs.webkit.org/show_bug.cgi?id=11248
Summary Even More auto-generated Objective-C DOM bindings changes
Sam Weinig
Reported 2006-10-10 15:38:18 PDT
Patch forthcoming.
Attachments
patch (66.96 KB, patch)
2006-10-10 15:46 PDT, Sam Weinig
no flags
patch 2 (67.27 KB, patch)
2006-10-10 18:25 PDT, Sam Weinig
timothy: review+
Sam Weinig
Comment 1 2006-10-10 15:46:55 PDT
Created attachment 11025 [details] patch - Auto-generate DOMSVGPathElement. (I think this is the final SVG class to generate!!) - Auto-generate the internal interfaces even for classes that have custom internal implementations. Change IDL property from ObjCNoInternal to ObjCCustomInternalImpl to indicate the change. - Add SVG classes to DOMNode and DOMEvent internal interfaces. - Add isSVGZoomEvent() method to Event class to match other Event subclasses and make DOM binding possible. - Assorted cleanups.
Sam Weinig
Comment 2 2006-10-10 15:49:36 PDT
As noted in a FIXME in the patch, I use two HashMaps to differentiate between HTML and SVG classes in DOM.mm. I did not try to make to a HashMap that mapped from QualifiedNames to Classes, as I've had some issues getting HashMaps to work in the last couple days, but, it this is easy, I think it would be a better solution.
Sam Weinig
Comment 3 2006-10-10 18:25:07 PDT
Created attachment 11027 [details] patch 2 Scratch that last comment. The patch now uses one HashMap that maps from a QualifedName to a Class.
Sam Weinig
Comment 4 2006-10-10 20:52:27 PDT
Landed in r16982.
Note You need to log in before you can comment on or make changes to this bug.