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/JSObjectRef.h

    r18888 r19059  
    286286*/
    287287typedef struct {
    288     const char* const name; // FIXME: convert UTF8
     288    const char* const name;
    289289    JSObjectGetPropertyCallback getProperty;
    290290    JSObjectSetPropertyCallback setProperty;
     
    300300*/
    301301typedef struct {
    302     const char* const name; // FIXME: convert UTF8
     302    const char* const name;
    303303    JSObjectCallAsFunctionCallback callAsFunction;
    304304    JSPropertyAttributes attributes;
Note: See TracChangeset for help on using the changeset viewer.