Ignore:
Timestamp:
Jan 23, 2007, 2:23:09 PM (18 years ago)
Author:
ggaren
Message:

Reviewed by Maciej Stachowiak.


Fixed <rdar://problem/4885131> Move CFString function declarations from
JSStringRef.h to JSStringRefCF.h


Also removed remaining API FIXMEs and changed them into Radars.

  • API/JSClassRef.cpp: (OpaqueJSClass::OpaqueJSClass): Added Radar numbers for UTF8 conversion.
  • API/JSContextRef.cpp: (JSGlobalContextCreate): Replaced FIXME for NULL JSContextRef with Radar number.
  • API/JSObjectRef.h: Removed FIXME, which is unprofessional in a public header.
  • API/JSStringRef.cpp: Moved CF related implementations to JSStringRefCF.cpp. (JSStringCreateWithUTF8CString): Replaced FIXME with Radar number.
  • API/JSStringRef.h: Moved CF related declarations to JSStringRefCF.h. Added #include of JSStringRefCF.h as a stopgap until clients start #including it as needed by themselves.
  • API/JSStringRefCF.cpp: Added. (JSStringCreateWithCFString): (JSStringCopyCFString): Replaced JSChar cast with UniChar cast, which is more appropriate for a CF call.
  • API/JSStringRefCF.h: Added.
  • JavaScriptCore.xcodeproj/project.pbxproj:
File:
1 edited

Legend:

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

    r17649 r19059  
    3838OpaqueJSClass::OpaqueJSClass(const JSClassDefinition* definition, OpaqueJSClass* protoClass)
    3939    : refCount(0)
     40    // FIXME: <rdar://problem/4949018>
    4041    , className(definition->className)
    4142    , parentClass(definition->parentClass)
     
    5960        staticValues = new StaticValuesTable();
    6061        while (staticValue->name) {
     62            // FIXME: <rdar://problem/4949018>
    6163            staticValues->add(Identifier(staticValue->name).ustring().rep(),
    6264                              new StaticValueEntry(staticValue->getProperty, staticValue->setProperty, staticValue->attributes));
     
    6870        staticFunctions = new StaticFunctionsTable();
    6971        while (staticFunction->name) {
     72            // FIXME: <rdar://problem/4949018>
    7073            staticFunctions->add(Identifier(staticFunction->name).ustring().rep(),
    7174                                 new StaticFunctionEntry(staticFunction->callAsFunction, staticFunction->attributes));
Note: See TracChangeset for help on using the changeset viewer.