1. 26 Aug, 2013 13 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r154640. · 132bec82
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/154640
      https://bugs.webkit.org/show_bug.cgi?id=120329
      
      Caused flaky crashes on a lot of editing tests (Requested by
      rniwa on #webkit).
      
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      * WebKitTestRunner/mac/PoseAsClass.h: Removed.
      * WebKitTestRunner/mac/PoseAsClass.mm: Removed.
      * WebKitTestRunner/mac/TestControllerMac.mm:
      (WTR::TestController::platformInitialize):
      (WTR::TestController::platformDestroy):
      * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Removed.
      * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      132bec82
    • mitz@apple.com's avatar
      Automatic bug reports case pain · f5e5752d
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120330
      
      Reviewed by Anders Carlsson.
      
      * Scripts/webkitpy/tool/commands/download.py: Made the following changes to the Description
      of bugs filed by the bot: changed “the sheriff-bot” to “webkitbot”, changed “case pain” to
      “fail”, and removed “"Only you can prevent forest fires." -- Smokey the Bear”.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5e5752d
    • aestes@apple.com's avatar
      Fix issues found by the Clang Static Analyzer · a872654a
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120230
      
      Reviewed by Darin Adler.
      
      Source/JavaScriptCore:
      
      * API/JSValue.mm:
      (valueToString): Don't leak every CFStringRef when in Objective-C GC.
      * API/ObjCCallbackFunction.mm:
      (JSC::ObjCCallbackFunctionImpl::~ObjCCallbackFunctionImpl): Don't
      release m_invocation's target since NSInvocation will do it for us on
      -dealloc.
      (objCCallbackFunctionForBlock): Tell NSInvocation to retain its target
      and -release our reference to the copied block.
      * API/tests/minidom.c:
      (createStringWithContentsOfFile): Free buffer before returning.
      * API/tests/testapi.c:
      (createStringWithContentsOfFile): Ditto.
      
      Source/WebCore:
      
      * WebCore.xcodeproj/project.pbxproj: Removed FoundationExtras.h.
      * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: Removed CFAutoreleaseHelper().
      (AXTextMarkerRange): Used HardAutorelease() instead of
      CFAutoreleaseHelper().
      (AXTextMarkerRangeStart): Ditto.
      (AXTextMarkerRangeEnd): Ditto.
      (textMarkerForVisiblePosition): Ditto.
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
      (-[WebCoreAVFMovieObserver initWithCallback:]): Called [super init]
      first so that we don't later use ivars from the wrong self.
      (-[WebCoreAVFLoaderDelegate initWithCallback:]): Ditto.
      * platform/mac/FoundationExtras.h: Removed.
      * platform/mac/KURLMac.mm:
      (WebCore::KURL::operator NSURL *): Used WTF's HardAutorelease().
      * platform/mac/WebCoreNSURLExtras.mm:
      (WebCore::mapHostNameWithRange): Used HardAutorelease() instead of
      WebCoreCFAutorelease().
      (WebCore::URLWithData): Ditto.
      (WebCore::userVisibleString): Ditto.
      (WebCore::URLByRemovingComponentAndSubsequentCharacter): Used Vector<>
      with an inline capacity rather than heap-allocating a buffer.
      * platform/mac/WebCoreObjCExtras.h: Used HardAutorelease() instead of
      WebCoreCFAutorelease().
      * platform/text/mac/StringImplMac.mm:
      (WTF::StringImpl::operator NSString *): Used WTF's HardAutorelease().
      
      Source/WebKit/mac:
      
      * Misc/WebNSFileManagerExtras.mm:
      (-[NSFileManager _webkit_startupVolumeName]): Used HardAutorelease()
      instead of WebCFAutorelease().
      * Misc/WebNSObjectExtras.h: Removed definition of WebCFAutorelease().
      * Misc/WebNSURLExtras.mm:
      (-[NSURL _web_URLWithLowercasedScheme]): Used HardAutorelease()
      instead of WebCFAutorelease().
      * Plugins/Hosted/WebHostedNetscapePluginView.mm:
      (-[WebHostedNetscapePluginView createPluginLayer]): Stop leaking
      CGColors (CALayer retains its backgroundColor property despite the
      property attributes claiming otherwise).
      * Plugins/WebBasePluginPackage.mm:
      (+[WebBasePluginPackage preferredLocalizationName]): Used
      HardAutorelease() instead of WebCFAutorelease().
      * WebView/WebDeviceOrientationProviderMock.mm:
      (-[WebDeviceOrientationProviderMockInternal lastOrientation]): Stop
      leaking WebDeviceOrientations.
      * WebView/WebPDFRepresentation.mm:
      (-[WebPDFRepresentation convertPostScriptDataSourceToPDF:]): Used
      HardAutorelease() instead of WebCFAutorelease().
      * WebView/WebView.mm:
      (+[WebView _setCacheModel:]): Ditto.
      (-[WebView _removeObjectForIdentifier:]): Ditto.
      
      Source/WebKit2:
      
      * UIProcess/API/mac/WKBrowsingContextController.mm:
      (autoreleased): Don't leak CFURLs when in Objective-C GC.
      * WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm:
      (-[WKAccessibilityWebPageObject accessibilityAttributeValue:forParameter:]):
      Don't leak CFStrings when in Objective-C GC.
      
      Source/WTF:
      
      * wtf/ObjcRuntimeExtras.h:
      (HardAutorelease): Added a canonical implementation of HardAutorelease.
      
      Tools:
      
      * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
      (-[LocalPasteboard initWithName:]): Called [super init] first so that we
      don't later use ivars from the wrong self.
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (-[APITestDelegate initWithCompletionCondition:]): Ditto.
      * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
      (TestWebKitAPI::TEST): Don't leak WKProcessGroups,
      WKBrowsingContextGroups, and WKViews.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a872654a
    • ap@apple.com's avatar
      WebKitTestRunner needs to protect the user's pasteboard contents while running · 94145085
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=81419
              <rdar://problem/11066794>
      
              Reviewed by Darin Adler.
      
              Mostly a copy/paste of DRT code.
      
              Tested manually by making sure that editing/pasteboard/copy-image-with-alt-text.html
              doesn't interfere with my clipboard while being run in a loop.
      
              * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
              * WebKitTestRunner/mac/PoseAsClass.h: Added.
              * WebKitTestRunner/mac/PoseAsClass.mm: Added.
              * WebKitTestRunner/mac/TestControllerMac.mm:
              (WTR::TestController::platformInitialize):
              (WTR::TestController::platformDestroy):
              * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.h: Added.
              * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94145085
    • zandobersek@gmail.com's avatar
      [GTK] Include most of the WebKit2 unit tests into the build and testing · 993d7cd5
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120307
      
      Reviewed by Philippe Normand.
      
      There are still various unit test source files that are not being included into
      the build. This patch includes most of these, only leaving out tests that do not
      compile or test features that are not supported by the GTK port.
      
      * Scripts/run-gtk-tests: Skip four newly-added tests that are failing or timing out.
      (TestRunner):
      * TestWebKitAPI/GNUmakefile.am:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      993d7cd5
    • carlosgc@webkit.org's avatar
      [GTK] Allow to run tests without Xvfb in run-gtk-tests · e5803653
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120298
      
      Reviewed by Philippe Normand.
      
      Add --no-xvfb command line option to run tests in the current
      display.
      
      * Scripts/run-gtk-tests:
      (TestRunner._run_xvfb): Return early if option --no-xvfb has been
      passed.
      (TestRunner._setup_testing_environment): Use helper function
      _run_xvfb to start Xvfb if needed.
      (TestRunner._tear_down_testing_environment): Check Xvfb is
      actually running before trying to terminate it.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5803653
    • zarvai@inf.u-szeged.hu's avatar
      Adding Gabor Abraham to contributors.json. · f6e9e95f
      zarvai@inf.u-szeged.hu authored
      Reviewed by Csaba Osztrogonác.
      
      * Scripts/webkitpy/common/config/contributors.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6e9e95f
    • carlosgc@webkit.org's avatar
      [GTK] Add support for passing test directories to run-gtk-tests · 71b7492d
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120296
      
      Reviewed by Philippe Normand.
      
      * Scripts/run-gtk-tests:
      (TestRunner._get_tests_from_dir): Helper function to return all
      unit tests found in a given directory.
      (TestRunner._get_tests): Check the given tests passed in the
      command line, so that if a directory is found the tests contained
      in the directory are added to the list of tests to run.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71b7492d
    • carlosgc@webkit.org's avatar
      [GTK] Improve the stop/reload button implementation in MiniBrowser · 92012cf4
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120292
      
      Reviewed by Philippe Normand.
      
      - Use an instance member of BrowserWindow for the button widget
        instead of a global variable.
      - Use notify::is-loading to monitor the WebView load instead of
        the estimated-load-progress property.
      - Use webkit_web_view_is_loading() to check whether the view
        is loading to change the button icon instead of a string
        comparison of the gtk stock icon id.
      - Use the right casts to fix compile warning.
      
      * MiniBrowser/gtk/BrowserWindow.c:
      (reloadOrStopCallback):
      (webViewLoadProgressChanged):
      (webViewIsLoadingChanged):
      (browser_window_init):
      (browserWindowConstructed):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92012cf4
    • commit-queue@webkit.org's avatar
      [Qt] Remove the fix in QWebPage::javaScriptConsoleMessage introduced by (r61433) · 40f338cb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119791
      
      Source/WebKit/qt:
      
      Patch by Arunprasad Rajkumar <arurajku@cisco.com> on 2013-08-26
      Reviewed by Jocelyn Turcotte.
      
      * WidgetApi/qwebpage.cpp:
      (QWebPage::javaScriptConsoleMessage): Removed hack specific to DRT, introduced by
      (r61433).
      
      Tools:
      
      Patch by Arunprasad Rajkumar <arurajku@cisco.com> on 2013-08-26
      Reviewed by Jocelyn Turcotte.
      
      Load empty url to send onunload event to currently running page. onunload event is
      mandatory for LayoutTests/plugins/open-and-close-window-with-plugin.html and
      LayoutTests/plugins/geturlnotify-during-document-teardown.html.
      
      * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
      (WebPage::~WebPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40f338cb
    • carlosgc@webkit.org's avatar
      [GTK] Silence MiniBrowser compile warnings due to recent GTK+ deprecations · 65016125
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120290
      
      Reviewed by Philippe Normand.
      
      * MiniBrowser/gtk/GNUmakefile.am: Add
      -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6 compile option.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65016125
    • zandobersek@gmail.com's avatar
      [GTK] Add WillLoad test files to the TestWebKitAPI/TestWebKit2 program · c3953e52
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120288
      
      Reviewed by Carlos Garcia Campos.
      
      * TestWebKitAPI/GNUmakefile.am: Add the WillLoad.cpp build target that should be compiled
      into the TestWebKit2 program. The InjectedBundle counterpart file is added to the build as well.
      These unit tests are at the moment failing in debug configurations, so it would be nice to
      have the GTK builds report these failures as well.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3953e52
    • ryuan.choi@samsung.com's avatar
      [EFL] EWebLauncher is executed as full screen with device pixel ratio · e9a0cde5
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120282
      
      Reviewed by Gyuyoung Kim.
      
      * EWebLauncher/main.c:
      Use double instead of float for device_pixel_ratio which is passed to ECORE_GETOPT_VALUE_DOUBLE.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9a0cde5
  2. 25 Aug, 2013 1 commit
  3. 24 Aug, 2013 4 commits
    • fpizlo@apple.com's avatar
      Unreviewed, fix build-webkit --ftl-jit in the case that you have your own llvm... · 8c4949bc
      fpizlo@apple.com authored
      Unreviewed, fix build-webkit --ftl-jit in the case that you have your own llvm directory. We need to
      prune 'libgtest' and friends from the llvm build, since WebKit builds its own and none of the llvm
      libraries depend on libgtest anyway.
      
      * Scripts/copy-webkitlibraries-to-product-directory:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c4949bc
    • darin@apple.com's avatar
      RetainPtr lacks move constructor for case when argument is a RetainPtr of a different type · d8ed2323
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120255
      
      Reviewed by Andreas Kling.
      
      Source/WTF:
      
      * wtf/RetainPtr.h: Added missing move constructor, modeled on the other move constructor,
      and the one from RetPtr.
      
      Tools:
      
      * TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm: Added four tests covering move assignment and construction.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8ed2323
    • andersca@apple.com's avatar
      Don't treat NSLocalizedDescriptionKey and... · 7d28d21e
      andersca@apple.com authored
      Don't treat NSLocalizedDescriptionKey and NSLocalizedRecoverySuggestionErrorKey as NSLocalized macros
      https://bugs.webkit.org/show_bug.cgi?id=120249
      
      Reviewed by Andreas Kling.
      
      * Scripts/extract-localizable-strings:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d28d21e
    • carlosgc@webkit.org's avatar
      [GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API · 51f44d80
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119743
      
      Reviewed by Anders Carlsson.
      
      Source/WebKit2:
      
      * GNUmakefile.list.am: Add new files to compilation.
      * Shared/APIClientTraits.cpp: Update for new interface version.
      * Shared/APIClientTraits.h: Ditto.
      * UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: Add WebKitFrame
      section.
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new public
      symbols.
      * UIProcess/API/gtk/docs/webkit2gtk.types: Add
      webkit_frame_get_type.
      * UIProcess/API/gtk/tests/FrameTest.cpp: Added.
      (WebKitFrameTest::create):
      (WebKitFrameTest::webPageFromArgs):
      (WebKitFrameTest::testMainFrame):
      (WebKitFrameTest::testURI):
      (WebKitFrameTest::testJavaScriptContext):
      (WebKitFrameTest::runTest):
      (registerTests):
      * UIProcess/API/gtk/tests/GNUmakefile.am: Add new test files.
      * UIProcess/API/gtk/tests/TestFrame.cpp: Added.
      (webkitFrameTestRun):
      (testWebKitFrameMainFrame):
      (testWebKitFrameURI):
      (testWebKitFrameJavaScriptContext):
      (beforeAll):
      (afterAll):
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Add
      willDestroyFrame callback to the injected bundle loader client, to
      notify the client when a frame is about to be destroyed.
      * WebProcess/InjectedBundle/API/gtk/WebKitFrame.cpp: Added.
      (webkit_frame_class_init):
      (webkitFrameCreate):
      (webkit_frame_is_main_frame):
      (webkit_frame_get_uri):
      (webkit_frame_get_javascript_global_context):
      * WebProcess/InjectedBundle/API/gtk/WebKitFrame.h: Added.
      * WebProcess/InjectedBundle/API/gtk/WebKitFramePrivate.h: Added.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
      (webkitFrameGetOrCreate): Helper function to create a WebKitFrame
      wrapping the given WebFrame or returning the wrapper if it already
      exists.
      (willDestroyFrame): Remove the WebKitFrame wrapping the given
      WebFrame if it exists.
      (webkitWebPageCreate): Add willDestroyFrame implementation to
      injected bundle loader client.
      (webkit_web_page_get_main_frame): Return the main frame of the
      page.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h:
      * WebProcess/InjectedBundle/API/gtk/webkit-web-extension.h:
      Include WebKitFrame.h.
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      (WebKit::InjectedBundlePageLoaderClient::willDestroyFrame): New
      callback to be called when a frame is about to be destroyed.
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::frameLoaderDestroyed): Call
      willDestroyFrame callback of injected bundle loader client.
      * WebProcess/qt/QtBuiltinBundlePage.cpp:
      (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage): Add
      willDestroyFrame callback.
      
      Tools:
      
      * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
      (WTR::InjectedBundlePage::InjectedBundlePage): Add
      willDestroyFrame.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51f44d80
  4. 23 Aug, 2013 5 commits
  5. 22 Aug, 2013 5 commits
  6. 21 Aug, 2013 5 commits
  7. 20 Aug, 2013 7 commits
    • achristensen@apple.com's avatar
      [Windows] Linking fix for Win64. · e95bc7af
      achristensen@apple.com authored
      Rubberstamped by Brent Fulgham.
      
      * win/DLLLauncher/DLLLauncherMain.cpp:
      (wWinMain): Corrected 64-bit linker symbol for dllLauncherEntryPoint.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e95bc7af
    • bfulgham@apple.com's avatar
      <https://webkit.org/b/120090> Report better error messages from WinLauncher/DRT · 689121e5
      bfulgham@apple.com authored
      Reviewed by Tim Horton.
      
      * win/DLLLauncher/DLLLauncherMain.cpp:
      (getLastErrorString): New method to convert GetLastError to text.
      (wWinMain): Use new error formatter to provide useful diagnostic text to user.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      689121e5
    • kov@webkit.org's avatar
      <https://webkit.org/b/120048> [GTK] Add stubs for APIs that went missing in the DOM bindings · 39952866
      kov@webkit.org authored
      Reviewed by Martin Robinson.
      
      Source/WebCore:
      
      No new tests, these are just stubs for the DOM bindings API.
      
      * bindings/gobject/WebKitDOMCustom.cpp:
      (webkit_dom_bar_info_get_property):
      (webkit_dom_bar_info_class_init):
      (webkit_dom_bar_info_init):
      (webkit_dom_bar_info_get_visible):
      (webkit_dom_console_get_memory):
      (webkit_dom_css_style_declaration_get_property_css_value):
      (webkit_dom_document_get_webkit_hidden):
      (webkit_dom_document_get_webkit_visibility_state):
      (webkit_dom_html_document_open):
      (webkit_dom_html_element_set_item_id):
      (webkit_dom_html_element_get_item_id):
      (webkit_dom_html_element_get_item_ref):
      (webkit_dom_html_element_get_item_prop):
      (webkit_dom_html_element_set_item_scope):
      (webkit_dom_html_element_get_item_scope):
      (webkit_dom_html_element_get_item_type):
      (webkit_dom_html_properties_collection_get_property):
      (webkit_dom_html_properties_collection_class_init):
      (webkit_dom_html_properties_collection_init):
      (webkit_dom_html_properties_collection_item):
      (webkit_dom_html_properties_collection_named_item):
      (webkit_dom_html_properties_collection_get_length):
      (webkit_dom_html_properties_collection_get_names):
      (webkit_dom_node_get_attributes):
      (webkit_dom_node_has_attributes):
      (webkit_dom_memory_info_get_property):
      (webkit_dom_memory_info_class_init):
      (webkit_dom_memory_info_init):
      (webkit_dom_memory_info_get_total_js_heap_size):
      (webkit_dom_memory_info_get_used_js_heap_size):
      (webkit_dom_memory_info_get_js_heap_size_limit):
      (webkit_dom_micro_data_item_value_class_init):
      (webkit_dom_micro_data_item_value_init):
      (webkit_dom_performance_get_memory):
      (webkit_dom_property_node_list_get_property):
      (webkit_dom_property_node_list_class_init):
      (webkit_dom_property_node_list_init):
      (webkit_dom_property_node_list_item):
      (webkit_dom_property_node_list_get_length):
      * bindings/gobject/WebKitDOMCustom.h:
      
      Tools:
      
      * Scripts/webkitpy/style/checker.py: add the bindings custom implementation files to be exempt
      from naming/enum_casing rules, since it needs to provide GObject-style APIs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39952866
    • commit-queue@webkit.org's avatar
      <https://webkit.org/b/120009> [GTK] Stop button should be added to MiniBrowser · 71c09a7b
      commit-queue@webkit.org authored
      Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-08-20
      Reviewed by Martin Robinson.
      
      Added stop button in MiniBrowser
      
      * MiniBrowser/gtk/BrowserWindow.c:
      (reloadOrStopCallback): Callback to handle stop or reload button click.
      (webViewLoadProgressChanged): Update reload or stop button icon.
      (browser_window_init): Save button pointer for further icon updates.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71c09a7b
    • simon.pena@samsung.com's avatar
      Added missing Reviewed By line. · d0e29b01
      simon.pena@samsung.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0e29b01
    • simon.pena@samsung.com's avatar
      <https://webkit.org/b/117584> [GTK][WK1]... · 6ee4f8a3
      simon.pena@samsung.com authored
      <https://webkit.org/b/117584> [GTK][WK1] http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html is failing
      
      Update DumpRenderTree to handle the WEBKIT_LOAD_FAILED status,
      printing didFailLoadWithError.
      
      Tools:
      
      Behave like other ports, and handle WEBKIT_LOAD_FAILED status in
      DumpRenderTree, printing didFailLoadWithError.
      
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (webFrameLoadStatusNotified):
      
      LayoutTests:
      
      Adding that print makes
      http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html
      and
      http/tests/loading/unfinished-main-resource-back-to-cached-page-callbacks.html,
      although it requires to modify the expected results for
      http/tests/loading/pdf-commit-load-callbacks.html.
      
      * platform/gtk-wk1/TestExpectations: Unskip
      http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html
      and
      http/tests/loading/unfinished-main-resource-back-to-cached-page-callbacks.html
      * platform/gtk/http/tests/loading/pdf-commit-load-callbacks-expected.txt:
      Update the expected results.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ee4f8a3
    • rniwa@webkit.org's avatar
      <https://webkit.org/b/120049> Delete code for Snow Leopard · 3feac41c
      rniwa@webkit.org authored
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Delete all the code for Mac OS 10.6. Nobody builds on Snow Leopard at this point.
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::pasteWithPasteboard):
      * page/ContextMenuController.cpp:
      (WebCore::ContextMenuController::populate):
      * platform/LocalizedStrings.cpp:
      (WebCore::truncatedStringForLookupMenuItem):
      (WebCore::contextMenuItemTagSearchWeb):
      (WebCore::contextMenuItemTagLookUpInDictionary):
      * platform/MemoryPressureHandler.cpp:
      * platform/audio/mac/AudioBusMac.mm:
      (WebCore::AudioBus::loadPlatformResource):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
      * platform/graphics/ca/PlatformCALayer.h:
      * platform/graphics/ca/mac/PlatformCALayerMac.mm:
      (PlatformCALayer::acceleratesDrawing):
      (PlatformCALayer::setAcceleratesDrawing):
      (PlatformCALayer::contentsScale):
      (PlatformCALayer::setContentsScale):
      (PlatformCALayer::synchronouslyDisplayTilesInRect):
      * platform/graphics/ca/mac/TileController.mm:
      (WebCore::TileController::setScale):
      (WebCore::TileController::setAcceleratesDrawing):
      (WebCore::TileController::createTileLayer):
      * platform/graphics/cg/ImageBufferDataCG.cpp:
      (WebCore::ImageBufferData::getData):
      (WebCore::ImageBufferData::putData):
      * platform/graphics/cg/ImageBufferDataCG.h:
      * platform/graphics/cg/PathCG.cpp:
      (WebCore::Path::platformAddPathForRoundedRect):
      * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
      (WebCore::FontPlatformData::FontPlatformData):
      (WebCore::FontPlatformData::setFont):
      * platform/graphics/mac/FontMac.mm:
      (WebCore::showGlyphsWithAdvances):
      * platform/graphics/mac/GraphicsContextMac.mm:
      (WebCore::GraphicsContext::drawLineForDocumentMarker):
      * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
      (WebCore::MediaPlayerPrivateQTKit::createQTMovie):
      (WebCore::MediaPlayerPrivateQTKit::layerHostChanged):
      * platform/graphics/mac/WebLayer.mm:
      (drawLayerContents):
      * platform/mac/CursorMac.mm:
      (WebCore::Cursor::ensurePlatformCursor):
      * platform/mac/EmptyProtocolDefinitions.h: Removed.
      * platform/mac/MemoryPressureHandlerMac.mm:
      (WebCore::MemoryPressureHandler::releaseMemory):
      * platform/mac/NSScrollerImpDetails.h:
      * platform/mac/PlatformEventFactoryMac.mm:
      (WebCore::momentumPhaseForEvent):
      (WebCore::phaseForEvent):
      * platform/mac/ScrollAnimatorMac.mm:
      * platform/mac/SharedTimerMac.mm:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      * platform/network/mac/ResourceHandleMac.mm:
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdateResourceRequest):
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/text/cf/HyphenationCF.cpp:
      * platform/text/mac/HyphenationMac.mm: Removed.
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::containsPaintedContent):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::shouldShowPlaceholderWhenFocused):
      
      Source/WebKit/mac:
      
      * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
      (-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]):
      (-[WebDefaultUIDelegate webView:contextMenuItemsForElement:defaultMenuItems:]):
      * Misc/WebNSControlExtras.m:
      (-[NSControl sizeToFitAndAdjustWindowHeight]):
      * Misc/WebNSFileManagerExtras.mm:
      * WebCoreSupport/WebEditorClient.mm:
      (WebEditorClient::shouldEraseMarkersAfterChangeSelection):
      (WebEditorClient::getGuessesForWord):
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidLayout):
      (WebFrameLoaderClient::provisionalLoadStarted):
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      * WebKitPrefix.h:
      * WebView/WebDynamicScrollBarsView.mm:
      (-[WebDynamicScrollBarsView scrollWheel:]):
      * WebView/WebFullScreenController.mm:
      (convertRectToScreen):
      (-[WebFullScreenController finishedEnterFullScreenAnimation:]):
      (-[WebFullScreenController exitFullScreen]):
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
      (-[WebHTMLView removeMouseMovedObserver]):
      (-[WebHTMLView windowDidBecomeKey:]):
      (-[WebHTMLView windowDidResignKey:]):
      * WebView/WebView.mm:
      (-[WebView _deviceScaleFactor]):
      
      Source/WebKit2:
      
      * NetworkProcess/mac/NetworkProcessMac.mm:
      (WebKit::overrideSystemProxies):
      (WebKit::NetworkProcess::platformInitializeNetworkProcess):
      * WebKit2Prefix.h:
      
      Source/WTF:
      
      * wtf/FastMalloc.cpp:
      (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
      * wtf/FeatureDefines.h:
      * wtf/Platform.h:
      
      Tools:
      
      * DumpRenderTree/mac/CheckedMalloc.cpp:
      (protectionOfRegion):
      (makeLargeMallocFailSilently):
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
      (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]):
      * DumpRenderTree/mac/FrameLoadDelegate.mm:
      (testPathFromURL):
      (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
      * DumpRenderTree/mac/LayoutTestHelper.m:
      * DumpRenderTree/mac/TestRunnerMac.mm:
      * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
      (WTR::InjectedBundle::platformInitialize):
      * WebKitTestRunner/InjectedBundle/mac/InjectedBundlePageMac.mm:
      (WTR::testPathFromURL):
      (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3feac41c