Changeset 33053 in webkit


Ignore:
Timestamp:
May 12, 2008 2:01:02 PM (16 years ago)
Author:
mrowe@apple.com
Message:

<rdar://problem/4859666> WebKit needs availability macros in order to deprecate APIs

Create WebKit availability macros that key off the Mac OS X version being targeted to
determine the WebKit version being targeted. Applications can define
WEBKIT_VERSION_MIN_REQUIRED before including WebKit headers in order to target a specific
version of WebKit.

The availability header is being added to JavaScriptCore rather than WebKit as JavaScriptCore
is the lowest-level portion of the public WebKit API.

Reviewed by Tim Hatcher.

  • API/WebKitAvailability.h: Added.
  • JavaScriptCore.xcodeproj/project.pbxproj:
Location:
trunk/JavaScriptCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r33039 r33053  
     12008-05-12  Mark Rowe  <mrowe@apple.com>
     2
     3        Reviewed by Tim Hatcher.
     4
     5        <rdar://problem/4859666> WebKit needs availability macros in order to deprecate APIs
     6
     7        Create WebKit availability macros that key off the Mac OS X version being targeted to
     8        determine the WebKit version being targeted.  Applications can define
     9        WEBKIT_VERSION_MIN_REQUIRED before including WebKit headers in order to target a specific
     10        version of WebKit.
     11
     12        The availability header is being added to JavaScriptCore rather than WebKit as JavaScriptCore
     13        is the lowest-level portion of the public WebKit API.
     14
     15        * API/WebKitAvailability.h: Added.
     16        * JavaScriptCore.xcodeproj/project.pbxproj:
     17
    1182008-05-12  Alexey Proskuryakov  <ap@webkit.org>
    219
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r33007 r33053  
    9090                5DBD18AC0C54018700C15EAE /* CollectorHeapIntrospector.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DBD18AA0C54018700C15EAE /* CollectorHeapIntrospector.h */; };
    9191                5DBD18B00C5401A700C15EAE /* MallocZoneSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DBD18AF0C5401A700C15EAE /* MallocZoneSupport.h */; };
     92                5DE3D0F50DD8DDFB00468714 /* WebKitAvailability.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DE3D0F40DD8DDFB00468714 /* WebKitAvailability.h */; settings = {ATTRIBUTES = (Public, ); }; };
    9293                65049F910D92715D00D04E3D /* Activation.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E2C6C950D31C6AB002D44E2 /* Activation.h */; settings = {ATTRIBUTES = (Private, ); }; };
    9394                652246A50C8D7A0E007BDAF7 /* HashIterators.h in Headers */ = {isa = PBXBuildFile; fileRef = 652246A40C8D7A0E007BDAF7 /* HashIterators.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    409410                5DBD18AA0C54018700C15EAE /* CollectorHeapIntrospector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CollectorHeapIntrospector.h; sourceTree = "<group>"; };
    410411                5DBD18AF0C5401A700C15EAE /* MallocZoneSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MallocZoneSupport.h; sourceTree = "<group>"; };
     412                5DE3D0F40DD8DDFB00468714 /* WebKitAvailability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKitAvailability.h; sourceTree = "<group>"; };
    411413                651F6412039D5B5F0078395C /* dtoa.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dtoa.cpp; sourceTree = "<group>"; tabWidth = 8; };
    412414                651F6413039D5B5F0078395C /* dtoa.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = dtoa.h; sourceTree = "<group>"; tabWidth = 8; };
     
    719721                                14BD5A2B0A3E91F600BAF59C /* JSValueRef.cpp */,
    720722                                1482B6EA0A4300B300517CFC /* JSValueRef.h */,
     723                                5DE3D0F40DD8DDFB00468714 /* WebKitAvailability.h */,
    721724                        );
    722725                        path = API;
     
    11521155                                958D85830DC93230008ABF27 /* StrHash.h in Headers */,
    11531156                                95742F660DD11F5A000917FB /* Profile.h in Headers */,
     1157                                5DE3D0F50DD8DDFB00468714 /* WebKitAvailability.h in Headers */,
    11541158                        );
    11551159                        runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset for help on using the changeset viewer.