Changeset 186268 in webkit


Ignore:
Timestamp:
Jul 3, 2015, 2:58:14 PM (9 years ago)
Author:
mitz@apple.com
Message:

[Xcode] Update some build settings as recommended by Xcode 7
https://bugs.webkit.org/show_bug.cgi?id=146597

Reviewed by Sam Weinig.

Source/bmalloc:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE, GCC_NO_COMMON_BLOCKS,

and ENABLE_STRICT_OBJC_MSGSEND. Removed GCC_MODEL_TUNING.

  • bmalloc.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.

Source/JavaScriptCore:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and

GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.

  • dfg/DFGGraph.h: Tweaked the definition of DFG_CRASH to suppress unreachable code warnings.

Source/ThirdParty/ANGLE:

  • ANGLE.xcodeproj/project.pbxproj: Enabled CLANG_WARN_BOOL_CONVERSION,

CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, ENABLE_STRICT_OBJC_MSGSEND and
GCC_NO_COMMON_BLOCKS.

  • Configurations/Base.xcconfig: Updated LastUpgradeCheck.

Source/WebCore:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE,

GCC_WARN_UNDECLARED_SELECTOR, and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.

  • WebCore.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. Disabled -Wunreachable-code

for two bison-generated source files. Updated for rename of WebScriptObject.h.

  • bindings/objc/WebScriptObject.mm:

(-[WebUndefined dealloc]): Removed unreachable code and suppressed warning about not calling
super.

  • bridge/objc/WebScriptObject.h: Renamed to WebScriptObjectProtocol.h to enabled inlcuding

the other WebScriptObject.h.

  • bridge/objc/WebScriptObjectProtocol.h: Renamed from WebScriptObject.h.
  • bridge/objc/objc_class.mm: Updated for rename and included WebScriptObject.h because we

use selectors declared in that file.

  • bridge/objc/objc_instance.mm: Ditto.

(ObjCRuntimeMethod::create): Resolved ambiguity between JSC::JSValue and the Objective-C
JSValue class.
(ObjCRuntimeMethod::createStructure): Ditto.
(ObjcInstance::invokeMethod): Ditto.
(ObjcInstance::invokeObjcMethod): Ditto.
(ObjcInstance::invokeDefaultMethod): Ditto.
(ObjcInstance::setValueOfUndefinedField): Ditto.
(ObjcInstance::getValueOfUndefinedField): Ditto.
(ObjcInstance::defaultValue): Ditto.
(ObjcInstance::stringValue): Ditto.
(ObjcInstance::numberValue): Ditto.
(ObjcInstance::booleanValue): Ditto.
(ObjcInstance::valueOf): Ditto,

  • bridge/objc/objc_runtime.h: Moved definition of isFallbackMethod() from here to the

implementation.

  • bridge/objc/objc_runtime.mm: Updated for rename and included WebScriptObject.h because we

use selectors declared in that file.
(JSC::Bindings::ObjcMethod::isFallbackMethod): Moved definition from the header to here.

  • bridge/objc/objc_utility.mm: Updated for rename.
  • cssjit/SelectorCompiler.cpp:

(WebCore::SelectorCompiler::addScrollbarPseudoClassType): Removed unreachable code.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm:

Added declarations to the WebCoreMovieObserver interface.
(WebCore::MediaPlayerPrivateQTKit::disableUnsupportedTracks): Suppressed
-Wundeclared-selector around invocation of a selector that is not declared anywhere.

Source/WebInspectorUI:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and

GCC_NO_COMMON_BLOCKS.

  • WebInspectorUI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.

Source/WebKit:

  • WebKit.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.

Source/WebKit/mac:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE,

GCC_WARN_UNDECLARED_SELECTOR and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.

Source/WebKit2:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and

GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.

  • WebKit2.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.

Source/WTF:

  • Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and

GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.

  • WTF.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.

Tools:

  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
  • DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,

ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.

  • DumpRenderTree/mac/EventSendingController.mm:

(+[EventSendingController webScriptNameForSelector:]): Removed check for setDragMode:,
which was removed in r19101.

  • DumpRenderTree/mac/TextInputController.m:

(-[TextInputController interpretKeyEvents:withSender:]): Suppressed -Wundeclared-selector
around used of a selector not that is not declared anywhere.

  • MiniBrowser/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS.
  • MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
  • TestWebKitAPI/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,

ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
Location:
trunk
Files:
45 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r186260 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and
     9        GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
     10
     11        * JavaScriptCore.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     12
     13        * dfg/DFGGraph.h: Tweaked the definition of DFG_CRASH to suppress unreachable code warnings.
     14
    1152015-07-03  Yusuke Suzuki  <utatane.tea@gmail.com>
    216
  • trunk/Source/JavaScriptCore/Configurations/Base.xcconfig

    r184906 r186268  
    3737CLANG_WARN_ENUM_CONVERSION = YES;
    3838CLANG_WARN_INT_CONVERSION = YES;
     39CLANG_WARN_UNREACHABLE_CODE = YES;
    3940CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
    4041COMBINE_HIDPI_IMAGES = NO;
     
    5455GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    5556GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
    56 GCC_MODEL_TUNING[sdk=macosx*] = G5;
     57GCC_NO_COMMON_BLOCKS = YES;
    5758GCC_OBJC_CALL_CXX_CDTORS = YES;
    5859GCC_PRECOMPILE_PREFIX_HEADER = YES;
  • trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r186252 r186268  
    67066706                                BuildIndependentTargetsInParallel = YES;
    67076707                                LastSwiftUpdateCheck = 0700;
    6708                                 LastUpgradeCheck = 0600;
     6708                                LastUpgradeCheck = 0700;
    67096709                        };
    67106710                        buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */;
  • trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r186246 r186268  
    14641464       
    14651465    default:
     1466        scope = nullptr;
    14661467        RELEASE_ASSERT_NOT_REACHED();
    1467         scope = nullptr;
    14681468        break;
    14691469    }
  • trunk/Source/JavaScriptCore/dfg/DFGGraph.h

    r184776 r186268  
    9696    } while (false)
    9797
    98 #define DFG_CRASH(graph, node, reason)                                  \
    99     (graph).handleAssertionFailure(                                     \
    100         (node), __FILE__, __LINE__, WTF_PRETTY_FUNCTION, (reason));
     98#define DFG_CRASH(graph, node, reason) do {                             \
     99        (graph).handleAssertionFailure(                                 \
     100            (node), __FILE__, __LINE__, WTF_PRETTY_FUNCTION, (reason)); \
     101    } while (false)
    101102
    102103struct InlineVariableData {
  • trunk/Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj

    r186169 r186268  
    11601160                        attributes = {
    11611161                                LastSwiftUpdateCheck = 0700;
    1162                                 LastUpgradeCheck = 0600;
     1162                                LastUpgradeCheck = 0700;
    11631163                        };
    11641164                        buildConfigurationList = FB39D0731200ED9200088E69 /* Build configuration list for PBXProject "ANGLE" */;
  • trunk/Source/ThirdParty/ANGLE/ChangeLog

    r186262 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * ANGLE.xcodeproj/project.pbxproj: Enabled CLANG_WARN_BOOL_CONVERSION,
     9        CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, ENABLE_STRICT_OBJC_MSGSEND and
     10        GCC_NO_COMMON_BLOCKS.
     11
     12        * Configurations/Base.xcconfig: Updated LastUpgradeCheck.
     13
    1142015-07-03  Per Arne Vollan  <peavo@outlook.com>
    215
  • trunk/Source/ThirdParty/ANGLE/Configurations/Base.xcconfig

    r184862 r186268  
    88CLANG_CXX_LANGUAGE_STANDARD = gnu++0x;
    99CLANG_CXX_LIBRARY = libc++;
     10CLANG_WARN_BOOL_CONVERSION = YES;
    1011CLANG_WARN_CONSTANT_CONVERSION = YES;
    1112CLANG_WARN_EMPTY_BODY = YES;
     13CLANG_WARN_ENUM_CONVERSION = YES;
     14CLANG_WARN_INT_CONVERSION = YES;
    1215CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
    1316DEAD_CODE_STRIPPING = YES;
     
    1821GCC_ENABLE_CPP_RTTI = NO;
    1922GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     23ENABLE_STRICT_OBJC_MSGSEND = YES;
    2024GCC_ENABLE_OBJC_GC = $(GCC_ENABLE_OBJC_GC_$(PLATFORM_NAME)_$(USE_INTERNAL_SDK));
    2125GCC_ENABLE_OBJC_GC_macosx_ = NO;
     
    2428GCC_FAST_OBJC_DISPATCH = YES;
    2529GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
    26 GCC_MODEL_TUNING[sdk=macosx*] = G5;
     30GCC_NO_COMMON_BLOCKS = YES;
    2731GCC_OBJC_CALL_CXX_CDTORS = YES;
    2832GCC_OPTIMIZATION_LEVEL = s;
  • trunk/Source/WTF/ChangeLog

    r186220 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and
     9        GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
     10
     11        * WTF.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     12
    1132015-07-01  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/WTF/Configurations/Base.xcconfig

    r184845 r186268  
    3737CLANG_WARN_ENUM_CONVERSION = YES;
    3838CLANG_WARN_INT_CONVERSION = YES;
     39CLANG_WARN_UNREACHABLE_CODE = YES;
    3940CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
    4041COMBINE_HIDPI_IMAGES = NO;
     
    5455GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    5556GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
    56 GCC_MODEL_TUNING[sdk=macosx*] = G5;
     57GCC_NO_COMMON_BLOCKS = YES;
    5758GCC_OBJC_CALL_CXX_CDTORS = YES;
    5859GCC_PRECOMPILE_PREFIX_HEADER = YES;
  • trunk/Source/WTF/WTF.xcodeproj/project.pbxproj

    r185658 r186268  
    12661266                        attributes = {
    12671267                                LastSwiftUpdateCheck = 0700;
    1268                                 LastUpgradeCheck = 0600;
     1268                                LastUpgradeCheck = 0700;
    12691269                        };
    12701270                        buildConfigurationList = 5D247B5C14689B8600E78B76 /* Build configuration list for PBXProject "WTF" */;
  • trunk/Source/WebCore/ChangeLog

    r186267 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE,
     9        GCC_WARN_UNDECLARED_SELECTOR, and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
     10
     11        * WebCore.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. Disabled -Wunreachable-code
     12        for two bison-generated source files. Updated for rename of WebScriptObject.h.
     13
     14        * bindings/objc/WebScriptObject.mm:
     15        (-[WebUndefined dealloc]): Removed unreachable code and suppressed warning about not calling
     16        super.
     17        * bridge/objc/WebScriptObject.h: Renamed to WebScriptObjectProtocol.h to enabled inlcuding
     18        the other WebScriptObject.h.
     19        * bridge/objc/WebScriptObjectProtocol.h: Renamed from WebScriptObject.h.
     20
     21        * bridge/objc/objc_class.mm: Updated for rename and included WebScriptObject.h because we
     22        use selectors declared in that file.
     23
     24        * bridge/objc/objc_instance.mm: Ditto.
     25        (ObjCRuntimeMethod::create): Resolved ambiguity between JSC::JSValue and the Objective-C
     26        JSValue class.
     27        (ObjCRuntimeMethod::createStructure): Ditto.
     28        (ObjcInstance::invokeMethod): Ditto.
     29        (ObjcInstance::invokeObjcMethod): Ditto.
     30        (ObjcInstance::invokeDefaultMethod): Ditto.
     31        (ObjcInstance::setValueOfUndefinedField): Ditto.
     32        (ObjcInstance::getValueOfUndefinedField): Ditto.
     33        (ObjcInstance::defaultValue): Ditto.
     34        (ObjcInstance::stringValue): Ditto.
     35        (ObjcInstance::numberValue): Ditto.
     36        (ObjcInstance::booleanValue): Ditto.
     37        (ObjcInstance::valueOf): Ditto,
     38
     39        * bridge/objc/objc_runtime.h: Moved definition of isFallbackMethod() from here to the
     40        implementation.
     41        * bridge/objc/objc_runtime.mm: Updated for rename and included WebScriptObject.h because we
     42        use selectors declared in that file.
     43        (JSC::Bindings::ObjcMethod::isFallbackMethod): Moved definition from the header to here.
     44
     45        * bridge/objc/objc_utility.mm: Updated for rename.
     46
     47        * cssjit/SelectorCompiler.cpp:
     48        (WebCore::SelectorCompiler::addScrollbarPseudoClassType): Removed unreachable code.
     49
     50        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
     51        Added declarations to the WebCoreMovieObserver interface.
     52        (WebCore::MediaPlayerPrivateQTKit::disableUnsupportedTracks): Suppressed
     53        -Wundeclared-selector around invocation of a selector that is not declared anywhere.
     54
    1552015-07-03  Kyounga Ra  <kyounga@alticast.com>
    256
  • trunk/Source/WebCore/Configurations/Base.xcconfig

    r185923 r186268  
    3737CLANG_WARN_ENUM_CONVERSION = YES;
    3838CLANG_WARN_INT_CONVERSION = YES;
     39CLANG_WARN_UNREACHABLE_CODE = YES;
    3940CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
     41GCC_WARN_UNDECLARED_SELECTOR = YES;
    4042COMBINE_HIDPI_IMAGES = NO;
    4143DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
     
    5355GCC_FAST_OBJC_DISPATCH = YES;
    5456GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    55 GCC_MODEL_TUNING[sdk=macosx*] = G5;
     57GCC_NO_COMMON_BLOCKS = YES;
    5658GCC_OBJC_CALL_CXX_CDTORS = YES;
    5759GCC_PRECOMPILE_PREFIX_HEADER = YES;
     
    7577GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
    7678GCC_WARN_SIGN_COMPARE = YES;
    77 GCC_WARN_UNDECLARED_SELECTOR = NO;
    7879GCC_WARN_UNINITIALIZED_AUTOS = YES;
    7980GCC_WARN_UNUSED_FUNCTION = YES;
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r186182 r186268  
    724724                1A569D190D7E2B82007C3983 /* objc_utility.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CEA0D7E2B82007C3983 /* objc_utility.h */; };
    725725                1A569D1A0D7E2B82007C3983 /* objc_utility.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A569CEB0D7E2B82007C3983 /* objc_utility.mm */; };
    726                 1A569D1B0D7E2B82007C3983 /* WebScriptObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CEC0D7E2B82007C3983 /* WebScriptObject.h */; };
     726                1A569D1B0D7E2B82007C3983 /* WebScriptObjectProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CEC0D7E2B82007C3983 /* WebScriptObjectProtocol.h */; };
    727727                1A569D1E0D7E2B82007C3983 /* runtime_array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A569CEF0D7E2B82007C3983 /* runtime_array.cpp */; };
    728728                1A569D1F0D7E2B82007C3983 /* runtime_array.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CF00D7E2B82007C3983 /* runtime_array.h */; };
     
    740740                1A750D8E0A90E521000FF215 /* JSNodeIterator.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A750D8C0A90E521000FF215 /* JSNodeIterator.h */; };
    741741                1A750DD40A90E729000FF215 /* JSNodeIteratorCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A750DD30A90E729000FF215 /* JSNodeIteratorCustom.cpp */; };
    742                 1A7629D50A07425100989F5B /* XPathGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A7629D30A07425100989F5B /* XPathGrammar.cpp */; };
     742                1A7629D50A07425100989F5B /* XPathGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A7629D30A07425100989F5B /* XPathGrammar.cpp */; settings = {COMPILER_FLAGS = "-Wno-unreachable-code"; }; };
    743743                1A7629D60A07425100989F5B /* XPathGrammar.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A7629D40A07425100989F5B /* XPathGrammar.h */; };
    744744                1A762C730A074F2600989F5B /* JSXPathEvaluator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A762C6B0A074F2600989F5B /* JSXPathEvaluator.cpp */; };
     
    22342234                63F5D4F70E8C4B7100C0BD04 /* ElementRareData.h in Headers */ = {isa = PBXBuildFile; fileRef = 637B7ADE0E8767B800E32194 /* ElementRareData.h */; };
    22352235                650F53DC09D15DDA00C9B0C8 /* CSSGrammar.h in Headers */ = {isa = PBXBuildFile; fileRef = 650F53DB09D15DDA00C9B0C8 /* CSSGrammar.h */; };
    2236                 650F53DD09D15DDF00C9B0C8 /* CSSGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6565814409D13043000E61D7 /* CSSGrammar.cpp */; };
     2236                650F53DD09D15DDF00C9B0C8 /* CSSGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6565814409D13043000E61D7 /* CSSGrammar.cpp */; settings = {COMPILER_FLAGS = "-Wno-unreachable-code"; }; };
    22372237                650FBF2A0D9AF047008FC292 /* SVGHKernElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 650FBF270D9AF046008FC292 /* SVGHKernElement.cpp */; };
    22382238                650FBF2B0D9AF047008FC292 /* SVGHKernElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 650FBF280D9AF047008FC292 /* SVGHKernElement.h */; };
     
    78467846                1A569CEA0D7E2B82007C3983 /* objc_utility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = objc_utility.h; sourceTree = "<group>"; };
    78477847                1A569CEB0D7E2B82007C3983 /* objc_utility.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = objc_utility.mm; sourceTree = "<group>"; };
    7848                 1A569CEC0D7E2B82007C3983 /* WebScriptObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebScriptObject.h; sourceTree = "<group>"; };
     7848                1A569CEC0D7E2B82007C3983 /* WebScriptObjectProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebScriptObjectProtocol.h; sourceTree = "<group>"; };
    78497849                1A569CEF0D7E2B82007C3983 /* runtime_array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = runtime_array.cpp; sourceTree = "<group>"; };
    78507850                1A569CF00D7E2B82007C3983 /* runtime_array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = runtime_array.h; sourceTree = "<group>"; };
     
    1535715357                                E16982541134629D00894115 /* ObjCRuntimeObject.h */,
    1535815358                                E169825F1134636A00894115 /* ObjCRuntimeObject.mm */,
    15359                                 1A569CEC0D7E2B82007C3983 /* WebScriptObject.h */,
     15359                                1A569CEC0D7E2B82007C3983 /* WebScriptObjectProtocol.h */,
    1536015360                        );
    1536115361                        path = objc;
     
    2725727257                                CE95208A1811B475007A5392 /* WebSafeIncrementalSweeperIOS.h in Headers */,
    2725827258                                1CAF34810A6C405200ABE06E /* WebScriptObject.h in Headers */,
    27259                                 1A569D1B0D7E2B82007C3983 /* WebScriptObject.h in Headers */,
     27259                                1A569D1B0D7E2B82007C3983 /* WebScriptObjectProtocol.h in Headers */,
    2726027260                                1CAF34830A6C405200ABE06E /* WebScriptObjectPrivate.h in Headers */,
    2726127261                                97AABD1B14FA09D5007457AE /* WebSocket.h in Headers */,
     
    2745227452                                BuildIndependentTargetsInParallel = YES;
    2745327453                                LastSwiftUpdateCheck = 0700;
    27454                                 LastUpgradeCheck = 0600;
     27454                                LastUpgradeCheck = 0700;
    2745527455                        };
    2745627456                        buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */;
  • trunk/Source/WebCore/bindings/objc/WebScriptObject.mm

    r185608 r186268  
    673673}
    674674
     675#pragma clang diagnostic push
     676#pragma clang diagnostic ignored "-Wobjc-missing-super-calls"
    675677- (void)dealloc
    676678{
    677679    return;
    678     [super dealloc]; // make -Wdealloc-check happy
    679 }
     680}
     681#pragma clang diagnostic pop
    680682
    681683+ (WebUndefined *)undefined
  • trunk/Source/WebCore/bridge/objc/objc_class.mm

    r185369 r186268  
    2929#include "objc_instance.h"
    3030#include "WebScriptObject.h"
     31#include "WebScriptObjectProtocol.h"
    3132
    3233namespace JSC {
  • trunk/Source/WebCore/bridge/objc/objc_instance.mm

    r176278 r186268  
    3131#import "ObjCRuntimeObject.h"
    3232#import "WebScriptObject.h"
     33#import "WebScriptObjectProtocol.h"
    3334#import "runtime/FunctionPrototype.h"
    3435#import "runtime_method.h"
     
    195196    }
    196197
    197     static Structure* createStructure(VM& vm, JSC::JSGlobalObject* globalObject, JSValue prototype)
     198    static Structure* createStructure(VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
    198199    {
    199200        return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
     
    219220const ClassInfo ObjCRuntimeMethod::s_info = { "ObjCRuntimeMethod", &RuntimeMethod::s_info, 0, CREATE_METHOD_TABLE(ObjCRuntimeMethod) };
    220221
    221 JSValue ObjcInstance::getMethod(ExecState* exec, PropertyName propertyName)
     222JSC::JSValue ObjcInstance::getMethod(ExecState* exec, PropertyName propertyName)
    222223{
    223224    Method* method = getClass()->methodNamed(propertyName, this);
     
    225226}
    226227
    227 JSValue ObjcInstance::invokeMethod(ExecState* exec, RuntimeMethod* runtimeMethod)
     228JSC::JSValue ObjcInstance::invokeMethod(ExecState* exec, RuntimeMethod* runtimeMethod)
    228229{
    229230    if (!asObject(runtimeMethod)->inherits(ObjCRuntimeMethod::info()))
     
    236237}
    237238
    238 JSValue ObjcInstance::invokeObjcMethod(ExecState* exec, ObjcMethod* method)
     239JSC::JSValue ObjcInstance::invokeObjcMethod(ExecState* exec, ObjcMethod* method)
    239240{
    240241    JSValue result = jsUndefined();
     
    354355}
    355356
    356 JSValue ObjcInstance::invokeDefaultMethod(ExecState* exec)
     357JSC::JSValue ObjcInstance::invokeDefaultMethod(ExecState* exec)
    357358{
    358359    JSValue result = jsUndefined();
     
    437438}
    438439
    439 JSValue ObjcInstance::getValueOfUndefinedField(ExecState* exec, PropertyName propertyName) const
     440JSC::JSValue ObjcInstance::getValueOfUndefinedField(ExecState* exec, PropertyName propertyName) const
    440441{
    441442    String name(propertyName.publicName());
     
    470471}
    471472
    472 JSValue ObjcInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const
     473JSC::JSValue ObjcInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const
    473474{
    474475    if (hint == PreferString)
     
    483484}
    484485
    485 JSValue ObjcInstance::stringValue(ExecState* exec) const
     486JSC::JSValue ObjcInstance::stringValue(ExecState* exec) const
    486487{
    487488    return convertNSStringToString(exec, [getObject() description]);
    488489}
    489490
    490 JSValue ObjcInstance::numberValue(ExecState*) const
     491JSC::JSValue ObjcInstance::numberValue(ExecState*) const
    491492{
    492493    // FIXME:  Implement something sensible
     
    494495}
    495496
    496 JSValue ObjcInstance::booleanValue() const
     497JSC::JSValue ObjcInstance::booleanValue() const
    497498{
    498499    // FIXME:  Implement something sensible
     
    500501}
    501502
    502 JSValue ObjcInstance::valueOf(ExecState* exec) const
     503JSC::JSValue ObjcInstance::valueOf(ExecState* exec) const
    503504{
    504505    return stringValue(exec);
  • trunk/Source/WebCore/bridge/objc/objc_runtime.h

    r183575 r186268  
    6262
    6363    NSMethodSignature *getMethodSignature() const;
    64    
    65     bool isFallbackMethod() const { return _selector == @selector(invokeUndefinedMethodFromWebScript:withArguments:); }
     64
     65    bool isFallbackMethod() const;
    6666    void setJavaScriptName(CFStringRef n) { _javaScriptName = n; }
    6767    CFStringRef javaScriptName() const { return _javaScriptName.get(); }
  • trunk/Source/WebCore/bridge/objc/objc_runtime.mm

    r182205 r186268  
    3030#include "ObjCRuntimeObject.h"
    3131#include "WebScriptObject.h"
     32#include "WebScriptObjectProtocol.h"
    3233#include "objc_instance.h"
    3334#include "runtime_array.h"
     
    7374}
    7475
     76bool ObjcMethod::isFallbackMethod() const
     77{
     78    return _selector == @selector(invokeUndefinedMethodFromWebScript:withArguments:);
     79}
     80
    7581// ---------------------- ObjcField ----------------------
    7682
  • trunk/Source/WebCore/bridge/objc/objc_utility.mm

    r165676 r186268  
    2727#include "objc_utility.h"
    2828
     29#include "WebScriptObjectProtocol.h"
    2930#include "objc_instance.h"
    3031#include "runtime_array.h"
    3132#include "runtime_object.h"
    32 #include "WebScriptObject.h"
    3333#include <runtime/JSGlobalObject.h>
    3434#include <runtime/JSLock.h>
  • trunk/Source/WebCore/cssjit/SelectorCompiler.cpp

    r185854 r186268  
    434434}
    435435
    436 static inline FunctionType addScrollbarPseudoClassType(const CSSSelector& selector, SelectorFragment& fragment)
     436static inline FunctionType addScrollbarPseudoClassType(const CSSSelector&, SelectorFragment&)
    437437{
    438438    // FIXME: scrollbar pseudoclass interaction with :not doesn't behave correctly.
     
    440440    // https://bugs.webkit.org/show_bug.cgi?id=146221
    441441    return FunctionType::CannotCompile;
    442    
    443     switch (selector.pseudoClassType()) {
    444     case CSSSelector::PseudoClassWindowInactive:
    445         fragment.unoptimizedPseudoClasses.append(JSC::FunctionPtr(isWindowInactive));
    446         return FunctionType::SimpleSelectorChecker;
    447     case CSSSelector::PseudoClassDisabled:
    448         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesDisabledPseudoClass);
    449     case CSSSelector::PseudoClassEnabled:
    450         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesEnabledPseudoClass);
    451     case CSSSelector::PseudoClassHorizontal:
    452         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesHorizontalPseudoClass);
    453     case CSSSelector::PseudoClassVertical:
    454         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesVerticalPseudoClass);
    455     case CSSSelector::PseudoClassDecrement:
    456         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesDecrementPseudoClass);
    457     case CSSSelector::PseudoClassIncrement:
    458         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesIncrementPseudoClass);
    459     case CSSSelector::PseudoClassStart:
    460         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesStartPseudoClass);
    461     case CSSSelector::PseudoClassEnd:
    462         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesEndPseudoClass);
    463     case CSSSelector::PseudoClassDoubleButton:
    464         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesDoubleButtonPseudoClass);
    465     case CSSSelector::PseudoClassSingleButton:
    466         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesSingleButtonPseudoClass);
    467     case CSSSelector::PseudoClassNoButton:
    468         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesNoButtonPseudoClass);
    469     case CSSSelector::PseudoClassCornerPresent:
    470         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesCornerPresentPseudoClass);
    471     case CSSSelector::PseudoClassActive:
    472         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesActivePseudoClass);
    473     case CSSSelector::PseudoClassHover:
    474         return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesHoverPseudoClass);
    475     default:
    476         return FunctionType::CannotMatchAnything;
    477     }
    478     return FunctionType::CannotMatchAnything;
    479442}
    480443
  • trunk/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm

    r185593 r186268  
    155155-(void)setDelayCallbacks:(BOOL)shouldDelay;
    156156-(void)loadStateChanged:(NSNotification *)notification;
     157- (void)loadedRangesChanged:(NSNotification *)notification;
    157158-(void)rateChanged:(NSNotification *)notification;
    158159-(void)sizeChanged:(NSNotification *)notification;
     
    160161-(void)didEnd:(NSNotification *)notification;
    161162-(void)layerHostChanged:(NSNotification *)notification;
     163- (void)newImageAvailable:(NSNotification *)notification;
    162164@end
    163165
     
    14271429        // they will be composited under the video tracks, forcing QT to do extra
    14281430        // work.
     1431#pragma clang diagnostic push
     1432#pragma clang diagnostic ignored "-Wundeclared-selector"
    14291433        QTTrack *chapterTrack = [track performSelector:@selector(chapterlist)];
     1434#pragma clang diagnostic pop
    14301435        if (!chapterTrack)
    14311436            continue;
  • trunk/Source/WebInspectorUI/ChangeLog

    r186227 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and
     9        GCC_NO_COMMON_BLOCKS.
     10        * WebInspectorUI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     11
    1122015-07-02  Devin Rousso  <drousso@apple.com>
    213
  • trunk/Source/WebInspectorUI/Configurations/Base.xcconfig

    r184862 r186268  
    2222CLANG_WARN_ENUM_CONVERSION = YES;
    2323CLANG_WARN_INT_CONVERSION = YES;
     24CLANG_WARN_UNREACHABLE_CODE = YES;
    2425CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
    2526ENABLE_STRICT_OBJC_MSGSEND = YES;
     
    3233GCC_FAST_OBJC_DISPATCH = YES;
    3334GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
     35GCC_NO_COMMON_BLOCKS = YES;
    3436GCC_OPTIMIZATION_LEVEL = s;
    3537GCC_PRECOMPILE_PREFIX_HEADER = NO;
  • trunk/Source/WebInspectorUI/WebInspectorUI.xcodeproj/project.pbxproj

    r185658 r186268  
    121121                        attributes = {
    122122                                LastSwiftUpdateCheck = 0700;
    123                                 LastUpgradeCheck = 0600;
     123                                LastUpgradeCheck = 0700;
    124124                                ORGANIZATIONNAME = Apple;
    125125                        };
  • trunk/Source/WebKit/ChangeLog

    r186220 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * WebKit.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     9
    1102015-07-01  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj

    r185999 r186268  
    20032003                        attributes = {
    20042004                                LastSwiftUpdateCheck = 0700;
    2005                                 LastUpgradeCheck = 0600;
     2005                                LastUpgradeCheck = 0700;
    20062006                        };
    20072007                        buildConfigurationList = 149C283208902B0F008A9EFC /* Build configuration list for PBXProject "WebKit" */;
  • trunk/Source/WebKit/mac/ChangeLog

    r186240 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE,
     9        GCC_WARN_UNDECLARED_SELECTOR and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
     10
    1112015-07-02  Timothy Horton  <timothy_horton@apple.com>
    212
  • trunk/Source/WebKit/mac/Configurations/Base.xcconfig

    r184853 r186268  
    3737CLANG_WARN_ENUM_CONVERSION = YES;
    3838CLANG_WARN_INT_CONVERSION = YES;
     39CLANG_WARN_UNREACHABLE_CODE = YES;
    3940CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
     41GCC_WARN_UNDECLARED_SELECTOR = YES;
    4042COMBINE_HIDPI_IMAGES = NO;
    4143DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
     
    5355GCC_FAST_OBJC_DISPATCH = YES;
    5456GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    55 GCC_MODEL_TUNING[sdk=macosx*] = G5;
     57GCC_NO_COMMON_BLOCKS = YES;
    5658GCC_OBJC_CALL_CXX_CDTORS = YES;
    5759GCC_PRECOMPILE_PREFIX_HEADER = YES;
  • trunk/Source/WebKit2/ChangeLog

    r186258 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and
     9        GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
     10
     11        * WebKit2.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     12
    1132015-07-03  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Source/WebKit2/Configurations/Base.xcconfig

    r184853 r186268  
    3737CLANG_WARN_ENUM_CONVERSION = YES;
    3838CLANG_WARN_INT_CONVERSION = YES;
     39CLANG_WARN_UNREACHABLE_CODE = YES;
    3940CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
    4041COMBINE_HIDPI_IMAGES = NO;
     
    5354GCC_FAST_OBJC_DISPATCH = YES;
    5455GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    55 GCC_MODEL_TUNING = G5;
     56GCC_NO_COMMON_BLOCKS = YES;
    5657GCC_OBJC_CALL_CXX_CDTORS = YES;
    5758GCC_PRECOMPILE_PREFIX_HEADER = YES;
  • trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj

    r186229 r186268  
    87338733                        attributes = {
    87348734                                LastSwiftUpdateCheck = 0700;
    8735                                 LastUpgradeCheck = 0600;
     8735                                LastUpgradeCheck = 0700;
    87368736                        };
    87378737                        buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "WebKit2" */;
  • trunk/Source/bmalloc/ChangeLog

    r186242 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE, GCC_NO_COMMON_BLOCKS,
     9        and ENABLE_STRICT_OBJC_MSGSEND. Removed GCC_MODEL_TUNING.
     10
     11        * bmalloc.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     12
    1132015-07-02  Geoffrey Garen  <ggaren@apple.com>
    214
  • trunk/Source/bmalloc/Configurations/Base.xcconfig

    r184845 r186268  
    3737CLANG_WARN_ENUM_CONVERSION = YES;
    3838CLANG_WARN_INT_CONVERSION = YES;
     39CLANG_WARN_UNREACHABLE_CODE = YES;
    3940CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
    4041DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
     
    5253GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    5354GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
    54 GCC_MODEL_TUNING[sdk=macosx*] = G5;
     55GCC_NO_COMMON_BLOCKS = YES;
    5556GCC_OBJC_CALL_CXX_CDTORS = YES;
    5657GCC_PRECOMPILE_PREFIX_HEADER = YES;
     58ENABLE_STRICT_OBJC_MSGSEND = YES;
    5759GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) HAVE_HEADER_DETECTION_H $(inherited);
    5860GCC_STRICT_ALIASING = YES;
  • trunk/Source/bmalloc/bmalloc.xcodeproj/project.pbxproj

    r185658 r186268  
    411411                        attributes = {
    412412                                LastSwiftUpdateCheck = 0700;
    413                                 LastUpgradeCheck = 0600;
     413                                LastUpgradeCheck = 0700;
    414414                        };
    415415                        buildConfigurationList = 145F683A179DC45F00D65598 /* Build configuration list for PBXProject "bmalloc" */;
  • trunk/Tools/ChangeLog

    r186248 r186268  
     12015-07-03  Dan Bernstein  <mitz@apple.com>
     2
     3        [Xcode] Update some build settings as recommended by Xcode 7
     4        https://bugs.webkit.org/show_bug.cgi?id=146597
     5
     6        Reviewed by Sam Weinig.
     7
     8        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     9
     10        * DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,
     11        ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
     12        CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
     13        CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
     14        GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.
     15
     16        * DumpRenderTree/mac/EventSendingController.mm:
     17        (+[EventSendingController webScriptNameForSelector:]): Removed check for setDragMode:,
     18        which was removed in r19101.
     19
     20        * DumpRenderTree/mac/TextInputController.m:
     21        (-[TextInputController interpretKeyEvents:withSender:]): Suppressed -Wundeclared-selector
     22        around used of a selector not that is not declared anywhere.
     23
     24        * MiniBrowser/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS.
     25
     26        * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     27
     28        * TestWebKitAPI/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,
     29        ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
     30        CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
     31        CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
     32        GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.
     33
     34        * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
     35
    1362015-07-02  Daniel Bates  <dabates@apple.com>
    237
  • trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj

    r185658 r186268  
    841841                        attributes = {
    842842                                LastSwiftUpdateCheck = 0700;
     843                                LastUpgradeCheck = 0700;
    843844                        };
    844845                        buildConfigurationList = 149C29C308902C6D008A9EFC /* Build configuration list for PBXProject "DumpRenderTree" */;
  • trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig

    r184845 r186268  
    3131PLATFORM_HEADER_SEARCH_PATHS[sdk=macosx*] = mac/InternalHeaders $(NEXT_ROOT)/usr/local/include/WebCoreTestSupport;
    3232FRAMEWORK_SEARCH_PATHS[sdk=iphone*] = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
     33GCC_NO_COMMON_BLOCKS = YES;
     34ENABLE_STRICT_OBJC_MSGSEND=YES;
    3335GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME));
    3436GCC_PREPROCESSOR_DEFINITIONS_macosx = ENABLE_DASHBOARD_SUPPORT;
     
    4042GCC_PRECOMPILE_PREFIX_HEADER = YES
    4143GCC_TREAT_WARNINGS_AS_ERRORS = YES
     44CLANG_WARN_BOOL_CONVERSION = YES;
     45CLANG_WARN_CONSTANT_CONVERSION = YES;
     46CLANG_WARN_EMPTY_BODY = YES;
     47CLANG_WARN_ENUM_CONVERSION = YES;
     48CLANG_WARN_INT_CONVERSION = YES;
     49CLANG_WARN_UNREACHABLE_CODE = YES;
    4250GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    4351GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
     52GCC_WARN_ABOUT_RETURN_TYPE = YES;
     53GCC_WARN_UNINITIALIZED_AUTOS = YES;
    4454GCC_WARN_UNUSED_FUNCTION = YES
    4555GCC_WARN_UNUSED_VARIABLE = YES
     56CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
     57GCC_WARN_UNDECLARED_SELECTOR = YES;
    4658// FIXME: <http://webkit.org/b/118590> DumpRenderTree should build with -Wshorten-64-to-32
    4759GCC_WARN_64_TO_32_BIT_CONVERSION[arch=arm64] = NO;
  • trunk/Tools/DumpRenderTree/mac/EventSendingController.mm

    r182821 r186268  
    261261    if (aSelector == @selector(mouseMoveToX:Y:))
    262262        return @"mouseMoveTo";
    263     if (aSelector == @selector(setDragMode:))
    264         return @"setDragMode";
    265263    if (aSelector == @selector(mouseScrollByX:andY:))
    266264        return @"mouseScrollBy";
  • trunk/Tools/DumpRenderTree/mac/TextInputController.m

    r179450 r186268  
    537537   
    538538    id result = [inputMethodHandler callWebScriptMethod:@"call" withArguments:[NSArray arrayWithObjects:inputMethodHandler, eventParam, nil]];
    539     if (![result respondsToSelector:@selector(boolValue)] || ![result boolValue])
     539    if (![result respondsToSelector:@selector(boolValue)] || ![result boolValue]) {
     540#pragma clang diagnostic push
     541#pragma clang diagnostic ignored "-Wundeclared-selector"
    540542        [sender doCommandBySelector:@selector(noop:)]; // AppKit sends noop: if the ime does not handle an event
    541    
    542     inputMethodView = nil;   
     543#pragma clang diagnostic pop
     544    }
     545
     546    inputMethodView = nil;
    543547    return YES;
    544548}
  • trunk/Tools/MiniBrowser/Configurations/Base.xcconfig

    r179450 r186268  
    4848WARNING_CFLAGS = -Wall -W -Wno-unused-parameter
    4949LINKER_DISPLAYS_MANGLED_NAMES = YES;
     50GCC_NO_COMMON_BLOCKS = YES;
    5051
    5152TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR);
  • trunk/Tools/MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj

    r185658 r186268  
    266266                        attributes = {
    267267                                LastSwiftUpdateCheck = 0700;
    268                                 LastUpgradeCheck = 0600;
     268                                LastUpgradeCheck = 0700;
    269269                                TargetAttributes = {
    270270                                        8D1107260486CEB800E47090 = {
  • trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig

    r184845 r186268  
    2929FRAMEWORK_SEARCH_PATHS_macosx = $(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks;
    3030
     31GCC_NO_COMMON_BLOCKS = YES;
    3132GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) GTEST_HAS_TR1_TUPLE=0 GTEST_HAS_RTTI=0 $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME));
    3233GCC_PREPROCESSOR_DEFINITIONS_macosx = ENABLE_DASHBOARD_SUPPORT;
     
    3637GCC_ENABLE_CPP_EXCEPTIONS = NO;
    3738GCC_ENABLE_CPP_RTTI = NO;
     39ENABLE_STRICT_OBJC_MSGSEND = YES;
    3840GCC_PRECOMPILE_PREFIX_HEADER = YES
    3941GCC_TREAT_WARNINGS_AS_ERRORS = YES
    4042GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
     43CLANG_WARN_BOOL_CONVERSION = YES;
     44CLANG_WARN_CONSTANT_CONVERSION = YES;
     45CLANG_WARN_EMPTY_BODY = YES;
     46CLANG_WARN_ENUM_CONVERSION = YES;
     47CLANG_WARN_INT_CONVERSION = YES;
     48CLANG_WARN_UNREACHABLE_CODE = YES;
    4149GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
     50GCC_WARN_ABOUT_RETURN_TYPE = YES;
     51GCC_WARN_UNINITIALIZED_AUTOS = YES;
    4252GCC_WARN_UNUSED_FUNCTION = YES
    4353GCC_WARN_UNUSED_VARIABLE = YES
     54CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
     55GCC_WARN_UNDECLARED_SELECTOR = YES;
    4456GCC_WARN_64_TO_32_BIT_CONVERSION[arch=arm64] = NO;
    4557GCC_WARN_64_TO_32_BIT_CONVERSION[arch=x86_64] = NO;
  • trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj

    r186006 r186268  
    44        classes = {
    55        };
    6         objectVersion = 45;
     6        objectVersion = 46;
    77        objects = {
    88
     
    13901390                        attributes = {
    13911391                                LastSwiftUpdateCheck = 0700;
     1392                                LastUpgradeCheck = 0700;
    13921393                                TargetAttributes = {
    13931394                                        7CCE7E8B1A41144E00447C4C = {
     
    13971398                        };
    13981399                        buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "TestWebKitAPI" */;
    1399                         compatibilityVersion = "Xcode 3.1";
     1400                        compatibilityVersion = "Xcode 3.2";
    14001401                        developmentRegion = English;
    14011402                        hasScannedForEncodings = 1;
  • trunk/Tools/TestWebKitAPI/Tests/mac/InspectorBar.mm

    r178293 r186268  
    6666    EXPECT_TRUE([webView.get() respondsToSelector:@selector(typingAttributes)]);
    6767    NSDictionary *attributes = [(id)webView.get() typingAttributes];
     68#pragma clang diagnostic push
     69#pragma clang diagnostic ignored "-Wundeclared-selector"
    6870    [(id)[[[webView.get() mainFrame] frameView] documentView] doCommandBySelector:@selector(bold:)];
     71#pragma clang diagnostic pop
    6972    EXPECT_FALSE([attributes isEqual:[(id)webView.get() typingAttributes]]);
    7073   
Note: See TracChangeset for help on using the changeset viewer.