Ignore:
Timestamp:
Jul 5, 2006, 12:10:49 PM (19 years ago)
Author:
ggaren
Message:

RS by Beth.


Renamed JSCharBufferRef, which was universally unpopular, to JSStringBufferRef,
which, hopefully, will be less unpopular.

  • API/APICast.h: (toJS): (toRef):
  • API/JSBase.h:
  • API/JSCallbackObject.cpp: (KJS::JSCallbackObject::getOwnPropertySlot): (KJS::JSCallbackObject::put): (KJS::JSCallbackObject::deleteProperty): (KJS::JSCallbackObject::staticValueGetter): (KJS::JSCallbackObject::callbackGetter):
  • API/JSCharBufferRef.cpp: Removed.
  • API/JSCharBufferRef.h: Removed.
  • API/JSContextRef.cpp: (JSEvaluate): (JSCheckSyntax):
  • API/JSContextRef.h:
  • API/JSNode.c: (JSNodePrototype_appendChild): (JSNode_getNodeType): (JSNode_getChildNodes): (JSNode_getFirstChild):
  • API/JSNodeList.c: (JSNodeList_length): (JSNodeList_getProperty):
  • API/JSObjectRef.cpp: (JSFunctionMakeWithBody): (JSObjectGetDescription): (JSObjectHasProperty): (JSObjectGetProperty): (JSObjectSetProperty): (JSObjectDeleteProperty): (JSPropertyEnumeratorGetNext): (JSPropertyListAdd):
  • API/JSObjectRef.h:
  • API/JSStringBufferRef.cpp: Added. (JSStringMake): (JSStringBufferCreate): (JSStringBufferCreateUTF8): (JSStringBufferRetain): (JSStringBufferRelease): (JSValueCopyStringValue): (JSStringBufferGetLength): (JSStringBufferGetCharactersPtr): (JSStringBufferGetCharacters): (JSStringBufferGetMaxLengthUTF8): (JSStringBufferGetCharactersUTF8): (JSStringBufferIsEqual): (JSStringBufferIsEqualUTF8): (JSStringBufferCreateWithCFString): (CFStringCreateWithJSStringBuffer):
  • API/JSStringBufferRef.h: Added.
  • API/JSValueRef.h:
  • API/JavaScriptCore.h:
  • API/minidom.c: (main): (print):
  • API/testapi.c: (assertEqualsAsUTF8String): (assertEqualsAsCharactersPtr): (assertEqualsAsCharacters): (MyObject_hasProperty): (MyObject_getProperty): (MyObject_setProperty): (MyObject_deleteProperty): (MyObject_getPropertyList): (print_callAsFunction): (myConstructor_callAsConstructor): (main):
  • JavaScriptCore.exp:
  • JavaScriptCore.xcodeproj/project.pbxproj:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSCallbackObject.cpp

    r15133 r15168  
    2727#include "APICast.h"
    2828#include "JSCallbackObject.h"
    29 #include "JSCharBufferRef.h"
     29#include "JSStringBufferRef.h"
    3030#include "JSClassRef.h"
    3131#include "JSObjectRef.h"
     
    8282{
    8383    JSObjectRef thisRef = toRef(this);
    84     JSCharBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
     84    JSStringBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
    8585   
    8686    for (JSClassRef jsClass = m_class; jsClass; jsClass = jsClass->parent) {
     
    130130{
    131131    JSObjectRef thisRef = toRef(this);
    132     JSCharBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
     132    JSStringBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
    133133
    134134    for (JSClassRef jsClass = m_class; jsClass; jsClass = jsClass->parent) {
     
    169169{
    170170    JSObjectRef thisRef = toRef(this);
    171     JSCharBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
     171    JSStringBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
    172172   
    173173    for (JSClassRef jsClass = m_class; jsClass; jsClass = jsClass->parent) {
     
    365365
    366366    JSObjectRef thisRef = toRef(thisObj);
    367     JSCharBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
     367    JSStringBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
    368368
    369369    for (JSClassRef jsClass = thisObj->m_class; jsClass; jsClass = jsClass->parent) {
     
    407407
    408408    JSObjectRef thisRef = toRef(thisObj);
    409     JSCharBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
     409    JSStringBufferRef propertyNameRef = toRef(propertyName.ustring().rep());
    410410
    411411    for (JSClassRef jsClass = thisObj->m_class; jsClass; jsClass = jsClass->parent) {
Note: See TracChangeset for help on using the changeset viewer.