Reviewed by Tim Hatcher.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Aug 2006 00:20:18 +0000 (00:20 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Aug 2006 00:20:18 +0000 (00:20 +0000)
commit0fccf820fb9ccea6df1dab22df449c86e53aa29d
tree11df302bd6bf797a4a2e97d68b32490ddce5d172
parent6442bd0d0a3cb06e78ad5633b98c5e148b021d19
    Reviewed by Tim Hatcher.

        - eliminated the need for UsesPassRefPtr in IDL files
        - got rid of the category mechanism for ObjC generated DOM headers
          (after discussions with Tim H where we decided it's not needed)
        - simplified use of macro inside ObjC generated code

        * ForwardingHeaders/wtf/GetPtr.h: Added.

        * bindings/scripts/CodeGeneratorObjC.pm: Removed code to handle
        categories. Eliminated use of DOM_cast since that's for the protection
        of human programmers -- the script won't make mistakes that it needs
        to catch. Changed macro to always be named IMPL instead of incorporating
        the class name. Use WTF::getPtr to extract the pointer, and removed the
        code that uses .get() to extract the pointer in the PassRefPtr case.

        * dom/Attr.idl: Removed all uses of UsesPassRefPtr and ObjCCatagory.
        * dom/DOMImplementation.idl: Ditto.
        * dom/Document.idl: Ditto.
        * dom/Element.idl: Ditto.
        * dom/NamedNodeMap.idl: Ditto.
        * html/HTMLDocument.idl: Ditto.
        * html/HTMLElement.idl: Ditto.
        * html/HTMLFormElement.idl: Ditto.
        * html/HTMLMapElement.idl: Ditto.
        * html/HTMLSelectElement.idl: Ditto.
        * html/HTMLTableElement.idl: Ditto.
        * html/HTMLTableRowElement.idl: Ditto.
        * html/HTMLTableSectionElement.idl: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
WebCore/ChangeLog
WebCore/ForwardingHeaders/wtf/GetPtr.h [new file with mode: 0644]
WebCore/bindings/scripts/CodeGeneratorObjC.pm
WebCore/dom/Attr.idl
WebCore/dom/DOMImplementation.idl
WebCore/dom/Document.idl
WebCore/dom/Element.idl
WebCore/dom/NamedNodeMap.idl
WebCore/html/HTMLDocument.idl
WebCore/html/HTMLElement.idl
WebCore/html/HTMLFormElement.idl
WebCore/html/HTMLMapElement.idl
WebCore/html/HTMLSelectElement.idl
WebCore/html/HTMLTableElement.idl
WebCore/html/HTMLTableRowElement.idl
WebCore/html/HTMLTableSectionElement.idl