Reviewed by Darin.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jul 2006 05:37:00 +0000 (05:37 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jul 2006 05:37:00 +0000 (05:37 +0000)
commit299068639e3129ff9cc84676d3ea5a44faccfbba
tree2d209c062f056ac262ee638cb635c437c9de8f38
parent048b4935b96627a0653cac62d3eab12130c49e07
    Reviewed by Darin.

        - Changed public header includes to the <JavaScriptCore/ style.
        - Changed instances of 'buffer' to 'string' since we decided on
        JSInternalString instead of JSStringBuffer.

        * API/JSContextRef.h:
        * API/JSInternalStringRef.cpp:
        (JSStringMake):
        (JSInternalStringRetain):
        (JSInternalStringRelease):
        (JSValueCopyStringValue):
        (JSInternalStringGetLength):
        (JSInternalStringGetCharactersPtr):
        (JSInternalStringGetCharacters):
        (JSInternalStringGetMaxLengthUTF8):
        (JSInternalStringGetCharactersUTF8):
        (CFStringCreateWithJSInternalString):
        * API/JSInternalStringRef.h:
        * API/JSNode.c:
        (JSNodePrototype_appendChild):
        (JSNode_getNodeType):
        * API/JSObjectRef.cpp:
        (JSObjectCallAsConstructor):
        * API/JSValueRef.h:
        * API/JavaScriptCore.h:
        * API/minidom.c:
        (main):
        (print):
        * API/testapi.c:
        (MyObject_getPropertyList):
        (myConstructor_callAsConstructor):
        (main): I noticed that we were prematurely releasing some string buffers,
        so I moved their release calls to the end of main(). I got rid of 'Buf' in *Buf
        (sometimes changing to 'IString', when necessary to differentiate a variable)
        to match the buffer->string change.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/API/JSContextRef.h
JavaScriptCore/API/JSInternalStringRef.cpp
JavaScriptCore/API/JSInternalStringRef.h
JavaScriptCore/API/JSNode.c
JavaScriptCore/API/JSObjectRef.h
JavaScriptCore/API/JSValueRef.h
JavaScriptCore/API/JavaScriptCore.h
JavaScriptCore/API/minidom.c
JavaScriptCore/API/testapi.c
JavaScriptCore/ChangeLog