Skip to content
  • mrowe@apple.com's avatar
    Source/WebKit2: Add verification scripts to WebKit2 project and fix the issues they reveal. · 78ae9041
    mrowe@apple.com authored
    Reviewed by Sam Weinig.
    
    * Configurations/Base.xcconfig: Add linker flags to prevent C++ standard
    library functions from being exported as weak externals.
    * Configurations/WebKit2.xcconfig: Inherit linker flags from the project level.
    * Shared/WebContextMenuItem.cpp:
    (WebKit::WebContextMenuItem::separatorItem): Use DEFINE_STATIC_LOCAL.
    * UIProcess/WebPageGroup.cpp:
    (WebKit::webPageGroupMap): Ditto.
    * WebKit2.xcodeproj/project.pbxproj: Don't copy .in files in to the framework.
    Run verification scripts at the appropriate times.
    * WebProcess/WebCoreSupport/WebEditorClient.cpp:
    (WebKit::WebEditorClient::didBeginEditing): Use DEFINE_STATIC_LOCAL.
    (WebKit::WebEditorClient::respondToChangedContents): Ditto.
    (WebKit::WebEditorClient::respondToChangedSelection): Ditto.
    (WebKit::WebEditorClient::didEndEditing): Ditto.
    * WebProcess/WebPage/WebBackForwardListProxy.cpp:
    (WebKit::idToHistoryItemMap): Ditto.
    (WebKit::historyItemToIDMap): Ditto.
    
    Tools: Update verification scripts to handle WebKit2.
    
    Reviewed by Sam Weinig.
    
    * Scripts/check-for-global-initializers: Skip object files that use RefCountedLeakChecker.
    * Scripts/check-for-inappropriate-files-in-framework: Add some inappropriate file types for
    WebKit2.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    78ae9041