1. 14 Jan, 2011 40 commits
    • commit-queue@webkit.org's avatar
      2011-01-14 Steve Lacey <sjl@chromium.org> · df39fad0
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              Update media/video-zoom-controls.html to set the video source before initializing the test.
              https://bugs.webkit.org/show_bug.cgi?id=52461
      
              * media/video-zoom-controls.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df39fad0
    • inferno@chromium.org's avatar
      2011-01-14 Abhishek Arya <inferno@chromium.org> · e3baac1e
      inferno@chromium.org authored
              Reviewed by David Hyatt.
      
              Fix parent block calculation when trying to find top most node
              containing "this" float.
              https://bugs.webkit.org/show_bug.cgi?id=51711
      
              Replace use of containingBlock and traverse the parents directly
              to check for float existence. containingBlock can skip parents and
              jump to the RenderView directly which will cause floats to not get
              cleared from intermediate parents.
      
              Test: fast/block/float/floats-not-cleared-crash.html
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):
      2011-01-14  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Dave Hyatt.
      
              Tests that we do not crash due to uncleared floats in parent nodes.
              https://bugs.webkit.org/show_bug.cgi?id=51711
      
              * fast/block/float/floats-not-cleared-crash-expected.txt: Added.
              * fast/block/float/floats-not-cleared-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3baac1e
    • andersca@apple.com's avatar
      Fix for <rdar://problem/8711576> The web process should be able to read... · 9de2e21f
      andersca@apple.com authored
      Fix for <rdar://problem/8711576> The web process should be able to read resources from the UI process.
      
      Reviewed by Sam Weinig.
      
      Based on a patch by Ivan Krstić. This also makes the NSURLCache path a sandbox parameter.
      
      * Shared/WebProcessCreationParameters.cpp:
      (WebKit::WebProcessCreationParameters::encode):
      (WebKit::WebProcessCreationParameters::decode):
      Encode and decode the uiProcessBundleResourcePath member variable.
      
      * Shared/WebProcessCreationParameters.h:
      Add uiProcessBundleResourcePath member variable.
      
      * UIProcess/mac/WebContextMac.mm:
      (WebKit::WebContext::platformInitializeWebProcess):
      Set the uiProcessBundleResourcePath member variable.
      
      * WebProcess/com.apple.WebProcess.sb:
      Allow read-only access to UI_PROCESS_BUNDLE_RESOURCE_DIR and all subdirectories.
      
      * WebProcess/mac/WebProcessMac.mm:
      (WebKit::initializeSandbox):
      When initializing the sandbox, pass UI_PROCESS_BUNDLE_RESOURCE_DIR.
      
      (WebKit::WebProcess::platformInitializeWebProcess):
      Remove the code that would consume a sandbox extension for the url cache path.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9de2e21f
    • jberlin@webkit.org's avatar
      REGRESSION (r75660): compositing/reflections/load-video-in-reflection.html crashes on Windows 7 · b544450c
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=52397
      
      Unskipping tests that no longer fail on Windows 7 Release. Unreviewed.
      
      * platform/win/Skipped:
      Un-skip compositing/reflections/load-video-in-reflection.html, which appears to be fixed by
      http://trac.webkit.org/changeset/75807
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b544450c
    • ericu@chromium.org's avatar
      Add ericu@chromium.org [me] to the committers file. · f0fd9e96
      ericu@chromium.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0fd9e96
    • paroga@webkit.org's avatar
      2011-01-14 Patrick Gansterer <paroga@webkit.org> · ccaa3e78
      paroga@webkit.org authored
              Reviewed by Adam Roben.
      
              Use the Windows thread pool instead of an extra thread for FastMalloc scavenging
              https://bugs.webkit.org/show_bug.cgi?id=45186
      
              Use CreateTimerQueueTimer() to start periodicScavenge() and stop it with DeleteTimerQueueTimer().
      
              * wtf/FastMalloc.cpp:
              (WTF::TCMalloc_PageHeap::initializeScavenger):
              (WTF::TCMalloc_PageHeap::isScavengerSuspended):
              (WTF::TCMalloc_PageHeap::scheduleScavenger):
              (WTF::TCMalloc_PageHeap::rescheduleScavenger):
              (WTF::TCMalloc_PageHeap::suspendScavenger):
              (WTF::scavengerTimerFired):
              (WTF::TCMalloc_PageHeap::periodicScavenge):
              (WTF::TCMalloc_PageHeap::signalScavenger):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccaa3e78
    • tonyg@chromium.org's avatar
      2011-01-14 Tony Gentilcore <tonyg@chromium.org> · 0aeb9e9f
      tonyg@chromium.org authored
              Reviewed by David Levin.
      
              Add Tony Gentilcore as a reviewer
              https://bugs.webkit.org/show_bug.cgi?id=52480
      
              * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0aeb9e9f
    • ojan@chromium.org's avatar
      2011-01-14 Ojan Vafai <ojan@chromium.org> · 12a1a006
      ojan@chromium.org authored
              Reviewed by Adam Barth.
      
              improve line selection with fast drags
              https://bugs.webkit.org/show_bug.cgi?id=52477
      
              * code-review.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      12a1a006
    • ojan@chromium.org's avatar
      2011-01-14 Ojan Vafai <ojan@chromium.org> · 0bbdb38e
      ojan@chromium.org authored
              Reviewed by Adam Barth.
      
              tweak line selection in code review tool
              https://bugs.webkit.org/show_bug.cgi?id=52462
      
              -Improve handling of data-comment-base-line code to deal with
              lines that have multiple values.
              -Make it so that if you click on the line immediately above
              a line that has a comment it will add a new comment instead of
              adding lines to the following comment. If the last selected line
              overlaps existing comment lines though they will still get
              added to the existing comment.
      
              * code-review.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bbdb38e
    • commit-queue@webkit.org's avatar
      2011-01-14 Adam Klein <adamk@chromium.org> · f7c602e8
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList
              https://bugs.webkit.org/show_bug.cgi?id=42237
      
              Remove Chromium-specific implementation from WebCore.
      
              No tests added; this refactor should be covered by existing history-exercising tests.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * history/BackForwardListChromium.cpp: Removed.
              * history/BackForwardListImpl.h:
      2011-01-14  Adam Klein  <adamk@chromium.org>
      
              Reviewed by Darin Fisher.
      
              [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList
              https://bugs.webkit.org/show_bug.cgi?id=42237
      
              Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl
              of the BackForwardList interface.
      
              * WebKit.gyp:
              * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp.
              (WebKit::BackForwardListChromium::create):
              (WebKit::BackForwardListChromium::BackForwardListChromium):
              (WebKit::BackForwardListChromium::~BackForwardListChromium):
              (WebKit::BackForwardListChromium::addItem):
              (WebKit::BackForwardListChromium::goToItem):
              (WebKit::BackForwardListChromium::itemAtIndex):
              (WebKit::BackForwardListChromium::backListCount):
              (WebKit::BackForwardListChromium::forwardListCount):
              (WebKit::BackForwardListChromium::isActive):
              (WebKit::BackForwardListChromium::close):
              * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h.
              * src/BackForwardListClientImpl.cpp: Removed.
              * src/BackForwardListClientImpl.h: Removed.
              * src/FrameLoaderClientImpl.cpp:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::loadHistoryItem):
              (WebKit::WebFrameImpl::currentHistoryItem):
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              * src/WebViewImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7c602e8
    • andersca@apple.com's avatar
      Delay initializing the sandbox until we get the InitializeWebProcess message. · 1dccf2e9
      andersca@apple.com authored
      Reviewed by Sam Weinig.
      
      * WebProcess/mac/WebProcessMac.mm:
      (WebKit::initializeSandbox):
      (WebKit::WebProcess::platformInitializeWebProcess):
      * WebProcess/mac/WebProcessMainMac.mm:
      (WebKit::WebProcessMain):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dccf2e9
    • levin@chromium.org's avatar
      2011-01-14 David Levin <levin@chromium.org> · 5fe2bcb0
      levin@chromium.org authored
              Reviewed by Eric Seidel.
      
              check-webkit-style: _FunctionState should keep track of where the function name starts.
              https://bugs.webkit.org/show_bug.cgi?id=52454
      
              * Scripts/webkitpy/style/checkers/cpp.py: Added function_name_start_position to
              _FunctionState and logic for setting it correctly.
              * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fe2bcb0
    • commit-queue@webkit.org's avatar
      2011-01-14 Konstantin Tokarev <annulen@yandex.ru> · 26ceae3a
      commit-queue@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] Fixed compilation when QT_NO_SHORTCUT is defined
              https://bugs.webkit.org/show_bug.cgi?id=52460
      
              This patch fixes compilation when QT_NO_SHORTCUT is defined in Qt
              configuration.
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::handleKeyboardEvent): Added QT_NO_SHORTCUT guards
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26ceae3a
    • satish@chromium.org's avatar
      2011-01-12 Satish Sampath <satish@chromium.org> · d12b0054
      satish@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Fix a crash when accessing speech input from script.
              https://bugs.webkit.org/show_bug.cgi?id=52325
      
              Added a layout test to check enabling/disabling speech input from script.
      
              * fast/speech/speech-input-scripting-expected.txt: Added.
              * fast/speech/speech-input-scripting.html: Added.
      2011-01-12  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Fix a crash when accessing speech input from script.
              https://bugs.webkit.org/show_bug.cgi?id=52325
      
              Test: fast/speech/speech-input-scripting.html
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::parseMappedAttribute): Recreate renderer when speech input is enabled/disabled.
              * rendering/RenderTextControlSingleLine.cpp: Remove unused code.
              * rendering/RenderTextControlSingleLine.h:
              * rendering/TextControlInnerElements.cpp: Take self references before firing events and check for renderer validity after.
              (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
              (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
              (WebCore::InputFieldSpeechButtonElement::detach):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d12b0054
    • inferno@chromium.org's avatar
      2011-01-14 Abhishek Arya <inferno@chromium.org> · ef0f5542
      inferno@chromium.org authored
              Reviewed by David Hyatt.
      
              Prevent merging of anonymous blocks if one of them is already getting
              destroyed.
              https://bugs.webkit.org/show_bug.cgi?id=52402
      
              Test: fast/block/merge-anonymous-block-remove-child-crash2.html
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::RenderBlock): initialize m_beingDestroyed to false.
              (WebCore::RenderBlock::destroy): set m_beingDestroyed to true.
              (WebCore::canMergeContiguousAnonymousBlocks): do not merge if any or prev or next is being destroyed.
              (WebCore::RenderBlock::removeChild): remove the hack previously done for preventing oldChild merging with nextBlock's next sibling.
              * rendering/RenderBlock.h:
              (WebCore::RenderBlock::beingDestroyed): public function for m_beingDestroyed.
      2011-01-14  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by David Hyatt.
      
              Tests that we do not crash when trying to merge anonymous blocks, one of which
              is already getting destroyed.
              https://bugs.webkit.org/show_bug.cgi?id=52402
      
              * fast/block/merge-anonymous-block-remove-child-crash2-expected.txt: Added.
              * fast/block/merge-anonymous-block-remove-child-crash2.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef0f5542
    • ojan@chromium.org's avatar
      2011-01-14 Ojan Vafai <ojan@chromium.org> · 7d8b5324
      ojan@chromium.org authored
              Reviewed by Adam Roben.
      
              fix bugs going back and forth between unified and sidebyside
              https://bugs.webkit.org/show_bug.cgi?id=52470
      
              Now that we're appending DOM nodes directly, we only want to
              get the first ".text" element in the subtree. In the cases
              where there are multiple, their contents are the same.
      
              Also, when making side-by-side expansion lines, we need to
              clone the contents so we have a second copy to append to the DOM.
      
              * code-review.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d8b5324
    • pfeldman@chromium.org's avatar
      2011-01-14 Pavel Feldman <pfeldman@chromium.org> · 4352d784
      pfeldman@chromium.org authored
              Not reviewed. Follow up to r75791: fix missing dispatch.
              https://bugs.webkit.org/show_bug.cgi?id=52442
      
              * inspector/front-end/DebuggerModel.js:
              (WebInspector.DebuggerDispatcher.prototype.breakpointResolved):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4352d784
    • simon.fraser@apple.com's avatar
      2011-01-14 Simon Fraser <simon.fraser@apple.com> · 345bd05d
      simon.fraser@apple.com authored
              Reviewed by Adam Roben.
      
              Issues with contentsScale in GraphicsLayerCA
              https://bugs.webkit.org/show_bug.cgi?id=52463
      
              Fix various issues with the recent contentsScale changes:
      
              * platform/graphics/ca/GraphicsLayerCA.cpp:
              (WebCore::GraphicsLayerCA::GraphicsLayerCA): Initialize m_contentsScale to 1.
              (WebCore::GraphicsLayerCA::updateContentsScale): Only do a setNeedsDisplay()
              if the layer draws content, otherwise we'll create backing store for empty layers.
              (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer): Be sure to set contentsScale
              on the new (tiled or untiled) layer.
              (WebCore::GraphicsLayerCA::cloneLayer): Clones need contentsScale too.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      345bd05d
    • laszlo.1.gombos@nokia.com's avatar
      2011-01-14 Laszlo Gombos <laszlo.1.gombos@nokia.com> · d104ad89
      laszlo.1.gombos@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Align import/export directives
              https://bugs.webkit.org/show_bug.cgi?id=52208
      
              * API/JSBase.h: Align import/export directives with
              WebKit2/Shared/API/c/WKBase.h
      2011-01-14  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Align import/export directives
              https://bugs.webkit.org/show_bug.cgi?id=52208
      
              * Shared/API/c/WKBase.h: Align import/export directives with
              JavaScriptCore/API/JSBase.h.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d104ad89
    • tkent@chromium.org's avatar
      2011-01-14 Kent Tamura <tkent@chromium.org> · 5bca8ac7
      tkent@chromium.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] WebKit API: Add a function for form interactive validation setting
              https://bugs.webkit.org/show_bug.cgi?id=52430
      
              * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
              * src/WebSettingsImpl.h: Add a declaration.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5bca8ac7
    • simon.fraser@apple.com's avatar
      2011-01-14 Simon Fraser <simon.fraser@apple.com> · c7734290
      simon.fraser@apple.com authored
              Let Xcode have it's way with the project file.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7734290
    • simon.fraser@apple.com's avatar
      2011-01-14 Simon Fraser <simon.fraser@apple.com> · bfbc9579
      simon.fraser@apple.com authored
              Reviewed by Anders Carlsson.
      
              Refactor some FrameView::syncCompositingState code
              https://bugs.webkit.org/show_bug.cgi?id=52459
      
              Refactor some code in FrameView related to synchronizing
              compositing layer state.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::syncCompositingStateForThisFrame):
              (WebCore::FrameView::syncCompositingStateRecursive):
              (WebCore::FrameView::paintContents):
              * page/FrameView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfbc9579
    • tony@chromium.org's avatar
      2011-01-14 Tony Chang <tony@chromium.org> · 278cb288
      tony@chromium.org authored
              Unreviewed, updating baselines.
      
              [chromium] rebaseline vertical tests on linux
              https://bugs.webkit.org/show_bug.cgi?id=52457
      
              After updating fonts.conf, these tests are now passing.
      
              * platform/chromium-linux/fast/blockflow/japanese-lr-text-expected.checksum:
              * platform/chromium-linux/fast/blockflow/japanese-lr-text-expected.png:
              * platform/chromium-linux/fast/blockflow/japanese-rl-text-expected.checksum:
              * platform/chromium-linux/fast/blockflow/japanese-rl-text-expected.png:
              * platform/chromium-linux/fast/repaint/japanese-rl-selection-clear-expected.checksum:
              * platform/chromium-linux/fast/repaint/japanese-rl-selection-clear-expected.png:
              * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-expected.checksum:
              * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-expected.png:
              * platform/chromium-linux/svg/batik/text/verticalText-expected.checksum:
              * platform/chromium-linux/svg/batik/text/verticalText-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      278cb288
    • commit-queue@webkit.org's avatar
      2011-01-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> · c1c9e89d
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Qt] Fix build problem introduced by http://trac.webkit.org/changeset/75713
              https://bugs.webkit.org/show_bug.cgi?id=30179
      
              * plugins/symbian/PluginViewSymbian.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1c9e89d
    • commit-queue@webkit.org's avatar
      2011-01-14 Vincent Scheib <scheib@chromium.org> · ea5fb8d1
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Add support to DumpRenderTree to use the GPU rather than software renderer
              https://bugs.webkit.org/show_bug.cgi?id=52333
      
              * DumpRenderTree/chromium/DumpRenderTree.cpp:
              (main):
              * Scripts/webkitpy/layout_tests/port/chromium.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
      2011-01-14  Vincent Scheib  <scheib@chromium.org>
      
              Reviewed by David Levin.
      
              Add support to DumpRenderTree to use the GPU rather than software renderer
              https://bugs.webkit.org/show_bug.cgi?id=52333
      
              * DEPS: Moved forward to take required support from webkit_support.h
              * WebKit.gyp: DumpRenderTree depends on Angle on windows
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea5fb8d1
    • tony@chromium.org's avatar
      2011-01-14 Tony Chang <tony@chromium.org> · 482e80c7
      tony@chromium.org authored
              Reviewed by Kent Tamura.
      
              [chromium] update fonts.conf to fix 6 linux tests in drt
              https://bugs.webkit.org/show_bug.cgi?id=52411
      
              * platform/chromium/test_expectations.txt:
      2011-01-14  Tony Chang  <tony@chromium.org>
      
              Reviewed by Kent Tamura.
      
              [chromium] update fonts.conf to fix 6 linux tests in drt
              https://bugs.webkit.org/show_bug.cgi?id=52411
      
              * DumpRenderTree/chromium/fonts.conf: Update to match the copy in
                  chromium's src/webkit/tools/test_shell/resources/fonts.conf
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      482e80c7
    • carlosgc@webkit.org's avatar
      2011-01-14 Philippe Normand <pnormand@igalia.com> · a5e5328b
      carlosgc@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Add volume slider to media player
              https://bugs.webkit.org/show_bug.cgi?id=51532
      
              * platform/gtk/Skipped:
              * platform/gtk/media/audio-controls-rendering-expected.txt:
              * platform/gtk/media/controls-after-reload-expected.txt:
              * platform/gtk/media/controls-strict-expected.txt:
              * platform/gtk/media/controls-styling-expected.txt:
              * platform/gtk/media/video-controls-rendering-expected.txt:
              * platform/gtk/media/video-display-toggle-expected.txt:
              * platform/gtk/media/video-empty-source-expected.txt:
              * platform/gtk/media/video-no-audio-expected.txt:
              * platform/gtk/media/video-volume-slider-expected.txt: Added.
      2011-01-14  Carlos Garcia Campos  <cgarcia@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Add volume slider to media player
              https://bugs.webkit.org/show_bug.cgi?id=51532
      
              * css/mediaControlsGtk.css:
              (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
              (audio::-webkit-media-controls-volume-slider-container, video::-webkit-media-controls-volume-slider-container):
              (audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
              * platform/gtk/RenderThemeGtk.cpp:
              (WebCore::RenderThemeGtk::adjustMediaSliderThumbSize):
              (WebCore::RenderThemeGtk::paintMediaVolumeSliderContainer):
              (WebCore::RenderThemeGtk::paintMediaVolumeSliderTrack):
              (WebCore::RenderThemeGtk::paintMediaVolumeSliderThumb):
              * platform/gtk/RenderThemeGtk.h:
              * platform/gtk/RenderThemeGtk2.cpp:
              (WebCore::RenderThemeGtk::paintSliderTrack):
              (WebCore::RenderThemeGtk::paintSliderThumb):
              (WebCore::RenderThemeGtk::adjustSliderThumbSize):
              * platform/gtk/RenderThemeGtk3.cpp:
              (WebCore::RenderThemeGtk::paintSliderTrack):
              (WebCore::RenderThemeGtk::paintSliderThumb):
              (WebCore::RenderThemeGtk::adjustSliderThumbSize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5e5328b
    • commit-queue@webkit.org's avatar
      2011-01-14 Joone Hur <joone.hur@collabora.co.uk> · dbca7c0f
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              [GTK] Convert use of raw pointers to GOwnPtr in FileSystemGtk.cpp
              https://bugs.webkit.org/show_bug.cgi?id=52434
      
              No new tests. This code will be tested when an implementation
              of beginDragWithFiles is complete.
      
              * platform/gtk/FileSystemGtk.cpp:
              (WebCore::filenameToString): Use GOwnPtr instead of gchar pointer.
              (WebCore::fileSystemRepresentation): Ditto.
              (WebCore::filenameForDisplay): Ditto.
              (WebCore::pathGetFileName): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbca7c0f
    • msaboff@apple.com's avatar
      2011-01-14 Michael Saboff <msaboff@apple.com> · 0fcfa8d1
      msaboff@apple.com authored
              Reviewed by Oliver Hunt.
      
              Incorrect backtracking for nested alternatives
              https://bugs.webkit.org/show_bug.cgi?id=52387
      
              Added tests to verfiy backtracking of alternatives following 
              parenthesis.
      
              * fast/regex/parentheses-expected.txt:
              * fast/regex/script-tests/parentheses.js:
      2011-01-14  Michael Saboff  <msaboff@apple.com>
      
              Reviewed by Oliver Hunt.
      
              Incorrect backtracking for nested alternatives
              https://bugs.webkit.org/show_bug.cgi?id=52387
      
              In the process of propigating a datalabel it wasn't getting connected
              to a destination when the destination was an indirect jump.  Added
              code to recognize a direct backtrack destination that was an indirect
              jump and added mechanism to associate DataLabelPtrs with indirect
              jump entries.
              Removed dead method
              BacktrackDestination::linkDataLabelToHereIfExists()
      
              * yarr/YarrJIT.cpp:
              (JSC::Yarr::YarrGenerator::IndirectJumpEntry::IndirectJumpEntry):
              (JSC::Yarr::YarrGenerator::IndirectJumpEntry::addDataLabel):
              (JSC::Yarr::YarrGenerator::GenerationState::addIndirectJumpEntry):
              (JSC::Yarr::YarrGenerator::GenerationState::emitIndirectJumpTable):
              Changes to link indirect jumps with DataLabelPtr's.
              (JSC::Yarr::YarrGenerator::BacktrackDestination::clearSubDataLabelPtr):
              (JSC::Yarr::YarrGenerator::TermGenerationState::linkDataLabelToBacktrackIfExists): 
              Updated to handle immediate linking of indirect jumps to
              DataLabelPtr.
              (JSC::Yarr::YarrGenerator::generateParenthesesDisjunction): Changed to
              reflect updated linkDataLabelToBacktrackIfExists().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fcfa8d1
    • podivilov@chromium.org's avatar
      2011-01-14 Pavel Podivilov <podivilov@chromium.org> · 32a1875c
      podivilov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: breakpoint text snippet in breakpoints sidebar pane disappears after reload.
              https://bugs.webkit.org/show_bug.cgi?id=52215
      
              * inspector/front-end/Breakpoint.js:
              (WebInspector.Breakpoint):
              (WebInspector.Breakpoint.prototype.populateLabelElement):
              * inspector/front-end/Script.js:
              (WebInspector.Script.prototype.get linesCount):
              (WebInspector.Script.prototype.sourceLine):
              (WebInspector.Script.prototype.sourceLine.didRequestSource):
              (WebInspector.Script.prototype.set source):
              (WebInspector.Script.prototype.requestSource.didGetScriptSource):
              (WebInspector.Script.prototype.requestSource):
              * inspector/front-end/ScriptView.js:
              (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded.didRequestSource):
              (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._addBreakpoint):
              * inspector/front-end/utilities.js:
              (String.prototype.findAll):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32a1875c
    • podivilov@chromium.org's avatar
      2011-01-14 Pavel Podivilov <podivilov@chromium.org> · 7cc98b23
      podivilov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: provide script column offset to frontend.
              https://bugs.webkit.org/show_bug.cgi?id=52377
      
              * parser/SourceCode.h:
              (JSC::SourceCode::SourceCode):
              (JSC::SourceCode::firstColumn):
      2011-01-14  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: provide script column offset to frontend.
              https://bugs.webkit.org/show_bug.cgi?id=52377
      
              * bindings/js/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::dispatchDidParseSource):
              * bindings/js/ScriptSourceCode.h:
              (WebCore::ScriptSourceCode::ScriptSourceCode):
              * bindings/v8/DebuggerScript.js:
              ():
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::dispatchDidParseSource):
              * inspector/Inspector.idl:
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::didParseSource):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/ScriptDebugListener.h:
              * inspector/front-end/DebuggerModel.js:
              (WebInspector.DebuggerModel.prototype.parsedScriptSource):
              * inspector/front-end/Script.js:
              (WebInspector.Script):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7cc98b23
    • loislo@chromium.org's avatar
      2011-01-14 Ilya Tikhonovsky <loislo@chromium.org> · 4e39dc1f
      loislo@chromium.org authored
              Unreviewed one line fix for console-xhr-logging test.
      
              The problem was introduced at r75788.
      
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e39dc1f
    • yurys@chromium.org's avatar
      2011-01-13 Yury Semikhatsky <yurys@chromium.org> · 7382e72a
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: extract console related functionality into InspectorConsoleAgent
              https://bugs.webkit.org/show_bug.cgi?id=52282
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * inspector/CodeGeneratorInspector.pm:
              * inspector/ConsoleMessage.cpp:
              (WebCore::ConsoleMessage::~ConsoleMessage):
              * inspector/ConsoleMessage.h:
              * inspector/Inspector.idl:
              * inspector/InspectorConsoleAgent.cpp: Added.
              (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
              (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              (WebCore::InspectorConsoleAgent::clearConsoleMessages):
              (WebCore::InspectorConsoleAgent::reset):
              (WebCore::InspectorConsoleAgent::setFrontend):
              (WebCore::InspectorConsoleAgent::addMessageToConsole):
              (WebCore::InspectorConsoleAgent::startTiming):
              (WebCore::InspectorConsoleAgent::stopTiming):
              (WebCore::InspectorConsoleAgent::count):
              (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
              (WebCore::InspectorConsoleAgent::didReceiveResponse):
              (WebCore::InspectorConsoleAgent::didFailLoading):
              (WebCore::InspectorConsoleAgent::addConsoleMessage):
              * inspector/InspectorConsoleAgent.h: Added.
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::clearConsoleMessages):
              (WebCore::InspectorController::connectFrontend):
              (WebCore::InspectorController::disconnectFrontend):
              (WebCore::InspectorController::didCommitLoad):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::consoleAgent):
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
              (WebCore::InspectorInstrumentation::didFailLoadingImpl):
              (WebCore::InspectorInstrumentation::resourceRetrievedByXMLHttpRequestImpl):
              (WebCore::InspectorInstrumentation::addMessageToConsole):
              (WebCore::InspectorInstrumentation::count):
              (WebCore::InspectorInstrumentation::startTiming):
              (WebCore::InspectorInstrumentation::stopTiming):
              (WebCore::InspectorInstrumentation::addStartProfilingMessageToConsole):
              * inspector/InspectorInstrumentation.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
              (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView):
              (WebInspector.ConsoleView.prototype.addConsoleMessage):
              (WebInspector.ConsoleView.prototype.updateConsoleMessageExpiredCount):
              (WebInspector.ConsoleView.prototype.consoleMessagesCleared):
              * inspector/front-end/inspector.js:
              * page/Console.cpp:
              (WebCore::Console::addMessage):
              (WebCore::Console::count):
              (WebCore::Console::profile):
              (WebCore::Console::time):
              (WebCore::Console::timeEnd):
              (WebCore::Console::group):
              (WebCore::Console::groupCollapsed):
              (WebCore::Console::groupEnd):
              * page/Console.h:
              * page/Console.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7382e72a
    • pfeldman@chromium.org's avatar
      2011-01-14 Pavel Feldman <pfeldman@chromium.org> · 64615d4d
      pfeldman@chromium.org authored
              Web Inspector: do not use this as protocol message
              dispatcher in models / agents.
              https://bugs.webkit.org/show_bug.cgi?id=52442
      
              Models should never for InspectorBackend.registerDomainDispatcher("foo", this).
              There should be a clear way to tell whether method is being called
              from within front-end or by the backend.
      
              * http/tests/inspector/debugger-test2.js:
              (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest):
              (initialize_DebuggerTest.InspectorTest.startDebuggerTest):
              (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger):
              (initialize_DebuggerTest.InspectorTest.showScriptSource):
      2011-01-14  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: do not use this as protocol message
              dispatcher in models / agents.
              https://bugs.webkit.org/show_bug.cgi?id=52442
      
              Models should never for InspectorBackend.registerDomainDispatcher("foo", this).
              There should be a clear way to tell whether method is being called
              from within front-end or by the backend.
      
              * inspector/front-end/DOMAgent.js:
              (WebInspector.DOMAgent):
              (WebInspector.DOMAgent.prototype.nodeForId):
              (WebInspector.DOMAgent.prototype._bindNodes):
              (WebInspector.DOMAgent.prototype._removeBreakpoints):
              (WebInspector.DOMDispatcher):
              (WebInspector.DOMDispatcher.prototype.setDocument):
              (WebInspector.DOMDispatcher.prototype.attributesUpdated):
              (WebInspector.DOMDispatcher.prototype.characterDataModified):
              (WebInspector.DOMDispatcher.prototype.setChildNodes):
              (WebInspector.DOMDispatcher.prototype.setDetachedRoot):
              (WebInspector.DOMDispatcher.prototype.childNodeCountUpdated):
              (WebInspector.DOMDispatcher.prototype.childNodeInserted):
              (WebInspector.DOMDispatcher.prototype.childNodeRemoved):
              (WebInspector.DOMDispatcher.prototype.didCommitLoad):
              (WebInspector.ApplicationCacheDispatcher):
              (WebInspector.ApplicationCacheDispatcher.prototype.getApplicationCachesAsync):
              (WebInspector.ApplicationCacheDispatcher.prototype.updateApplicationCacheStatus):
              (WebInspector.ApplicationCacheDispatcher.prototype.updateNetworkState):
              * inspector/front-end/DOMStorage.js:
              (WebInspector.DOMStorageDispatcher):
              (WebInspector.DOMStorageDispatcher.prototype.addDOMStorage):
              (WebInspector.DOMStorageDispatcher.prototype.selectDOMStorage):
              (WebInspector.DOMStorageDispatcher.prototype.updateDOMStorage):
              * inspector/front-end/Database.js:
              (WebInspector.Database.prototype.executeSql):
              (WebInspector.DatabaseDispatcher):
              (WebInspector.DatabaseDispatcher.prototype.addDatabase):
              (WebInspector.DatabaseDispatcher.prototype.selectDatabase):
              (WebInspector.DatabaseDispatcher.prototype.sqlTransactionSucceeded):
              (WebInspector.DatabaseDispatcher.prototype.sqlTransactionFailed):
              * inspector/front-end/DebuggerModel.js:
              (WebInspector.DebuggerModel):
              (WebInspector.DebuggerModel.prototype._pausedScript):
              (WebInspector.DebuggerModel.prototype._resumedScript):
              (WebInspector.DebuggerModel.prototype._parsedScriptSource):
              (WebInspector.DebuggerModel.prototype._failedToParseScriptSource):
              (WebInspector.DebuggerDispatcher):
              (WebInspector.DebuggerDispatcher.prototype.pausedScript):
              (WebInspector.DebuggerDispatcher.prototype.resumedScript):
              (WebInspector.DebuggerDispatcher.prototype.parsedScriptSource):
              (WebInspector.DebuggerDispatcher.prototype.failedToParseScriptSource):
              * inspector/front-end/FileSystemView.js:
              (WebInspector.FileSystemDispatcher):
              (WebInspector.FileSystemDispatcher.prototype.getFileSystemPathsAsync):
              (WebInspector.FileSystemDispatcher.prototype.didGetFileSystemPath):
              (WebInspector.FileSystemDispatcher.prototype.didGetFileSystemError):
              (WebInspector.FileSystemDispatcher.prototype.didGetFileSystemDisabled):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel):
              (WebInspector.ProfilesPanel.prototype._addProfileHeader):
              (WebInspector.ProfilesPanel.prototype._removeProfileHeader):
              (WebInspector.ProfilesPanel.prototype._addHeapSnapshotChunk):
              (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype._setRecordingProfile):
              (WebInspector.ProfilerDispatcher):
              (WebInspector.ProfilerDispatcher.prototype.profilerWasEnabled):
              (WebInspector.ProfilerDispatcher.prototype.profilerWasDisabled):
              (WebInspector.ProfilerDispatcher.prototype.resetProfiles):
              (WebInspector.ProfilerDispatcher.prototype.addProfileHeader):
              (WebInspector.ProfilerDispatcher.prototype.addHeapSnapshotChunk):
              (WebInspector.ProfilerDispatcher.prototype.finishHeapSnapshot):
              (WebInspector.ProfilerDispatcher.prototype.setRecordingProfile):
              (WebInspector.ProfileSidebarTreeElement.prototype.ondelete):
              * inspector/front-end/ResourceTreeModel.js:
              (WebInspector.ResourceTreeModel):
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel):
              (WebInspector.TimelinePanel.prototype._timelineProfilerWasStarted):
              (WebInspector.TimelinePanel.prototype._timelineProfilerWasStopped):
              (WebInspector.TimelinePanel.prototype._addRecordToTimeline):
              (WebInspector.TimelineDispatcher):
              (WebInspector.TimelineDispatcher.prototype.timelineProfilerWasStarted):
              (WebInspector.TimelineDispatcher.prototype.timelineProfilerWasStopped):
              (WebInspector.TimelineDispatcher.prototype.addRecordToTimeline):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64615d4d
    • ossy@webkit.org's avatar
      [Qt][V8] Unreviewed buildfix after r75788. · cd8f7609
      ossy@webkit.org authored
      * inspector/InspectorBrowserDebuggerAgent.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd8f7609
    • caseq@chromium.org's avatar
      2011-01-14 Andrey Kosyakov <caseq@chromium.org> · cb162ab4
      caseq@chromium.org authored
              Unreviewed test fix.
              Filter out /favicon.ico from page resources list to avoid test expectations mismatch on GTK.
      
              * http/tests/inspector/extensions-resources-redirect.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb162ab4
    • loislo@chromium.org's avatar
      2011-01-12 Ilya Tikhonovsky <loislo@chromium.org> · bd9c8cbc
      loislo@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Extract BrowserDebuggerAgent from InspectorController, InspectorDOMAgent and InspectorDebugger agent.
              We have some methods of Debugger which are related to DOM.
              Lets extract these methods to BrowserDebugger agent.
      
              http://bugs.webkit.org/show_bug.cgi?id=52294
      
              * CMakeLists.txt:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/CodeGeneratorInspector.pm:
              * inspector/Inspector.idl:
              * inspector/InspectorBrowserDebuggerAgent.cpp: Added.
              (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
              (WebCore::InspectorBrowserDebuggerAgent::~InspectorBrowserDebuggerAgent):
              (WebCore::InspectorBrowserDebuggerAgent::discardBindings):
              (WebCore::InspectorBrowserDebuggerAgent::setEventListenerBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeEventListenerBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::didInsertDOMNode):
              (WebCore::InspectorBrowserDebuggerAgent::didRemoveDOMNode):
              (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::willInsertDOMNode):
              (WebCore::InspectorBrowserDebuggerAgent::willRemoveDOMNode):
              (WebCore::InspectorBrowserDebuggerAgent::willModifyDOMAttr):
              (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
              (WebCore::InspectorBrowserDebuggerAgent::hasBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::updateSubtreeBreakpoints):
              (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded):
              (WebCore::InspectorBrowserDebuggerAgent::setXHRBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeXHRBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
              (WebCore::InspectorBrowserDebuggerAgent::clearForPageNavigation):
              * inspector/InspectorBrowserDebuggerAgent.h: Added.
              (WebCore::InspectorBrowserDebuggerAgent::create):
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::inspectedPageDestroyed):
              (WebCore::InspectorController::didCommitLoad):
              (WebCore::InspectorController::enableDebuggerFromFrontend):
              (WebCore::InspectorController::disableDebugger):
              (WebCore::InspectorController::restoreStickyBreakpoints):
              (WebCore::InspectorController::restoreStickyBreakpoint):
              * inspector/InspectorController.h:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::discardBindings):
              (WebCore::InspectorDOMAgent::didInsertDOMNode):
              (WebCore::InspectorDOMAgent::didRemoveDOMNode):
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl):
              (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl):
              (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl):
              (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl):
              (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl):
              (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl):
              (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd9c8cbc
    • eric@webkit.org's avatar
      2011-01-14 Eric Seidel <eric@webkit.org> · dffe34a7
      eric@webkit.org authored
              Original patch from Peter Gal  <galpater@inf.u-szeged.hu>
      
              Reviewed by Adam Barth.
      
              Fix when running Tools/Scripts/check-webkit-style without arguments.
              https://bugs.webkit.org/show_bug.cgi?id=52261#c16
      
              * Scripts/webkitpy/common/checkout/scm.py: Handle None for changed_files argument better in Git.create_patch method.
              * Scripts/webkitpy/common/checkout/scm_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dffe34a7
    • caseq@chromium.org's avatar
      2011-01-14 Andrey Kosyakov <caseq@chromium.org> · 2e38669e
      caseq@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: redirected resources not handled properly in Network panel
              https://bugs.webkit.org/show_bug.cgi?id=52292
      
              * inspector/Inspector.idl: Do not pass isMainResource to identifierForInitialRequest() (it's useless, as we may hit provisional load)
              * inspector/InspectorInstrumentation.cpp: Ditto.
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              * inspector/InspectorResourceAgent.cpp: Ditto.
              (WebCore::InspectorResourceAgent::identifierForInitialRequest):
              * inspector/InspectorResourceAgent.h: Ditto.
              * inspector/InspectorInstrumentation.cpp: Ditto.
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl): Fix main resource detection.
              * inspector/front-end/AuditsPanel.js: WebInspector.networkResources now returns array, not map.
              * inspector/front-end/ConsoleView.js: User WebInspector.resourceById() to get resource
              (WebInspector.ConsoleMessage.prototype._formatMessage):
              * inspector/front-end/ExtensionServer.js: Ditto.
              (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
              (WebInspector.ExtensionServer.prototype._onGetResourceContent):
              * inspector/front-end/HAREntry.js: WebInspector.networkResources now returns array, not map
              (WebInspector.HARLog.prototype.build):
              (WebInspector.HARLog.prototype._convertResource):
              * inspector/front-end/NetworkManager.js:
              (WebInspector.NetworkManager): Use appendResource, not refreshResource, when adding a new resource.
              (WebInspector.NetworkManager.prototype.identifierForInitialRequest):
              (WebInspector.NetworkManager.prototype.willSendRequest):
              (WebInspector.NetworkManager.prototype.didLoadResourceFromMemoryCache):
              (WebInspector.NetworkManager.prototype.setInitialContent):
              (WebInspector.NetworkManager.prototype.didCommitLoadForFrame):
              (WebInspector.NetworkManager.prototype.didCreateWebSocket):
              (WebInspector.NetworkManager.prototype._createResource): always register resource URL with ResourceTreeModel
              (WebInspector.NetworkManager.prototype._appendRedirect):
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkPanel):
              (WebInspector.NetworkPanel.prototype.get resources):
              (WebInspector.NetworkPanel.prototype.resourceById):
              (WebInspector.NetworkPanel.prototype.appendResource): Add resource as new iff appendResource was added.
              (WebInspector.NetworkPanel.prototype.refreshResource): ditto.
              (WebInspector.NetworkPanel.prototype.mainResourceChanged): Clear console upon arrival of new main resource.
              * inspector/front-end/ResourceTreeModel.js: Expose unbindResourceURL, bind resources automatically upon creation.
              (WebInspector.ResourceTreeModel.prototype._clearResources):
              (WebInspector.ResourceTreeModel.prototype.unbindResourceURL):
              (WebInspector.ResourceTreeModel.prototype._addFramesRecursively):
              (WebInspector.ResourceTreeModel.prototype.createResource):
              * inspector/front-end/inspector.js:
              (WebInspector.resourceById):
      
      2011-01-14  Andrey Kosyakov  <caseq@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: redirected resources not handled properly in Network panel
              Added test for redirected resource presence in HAR
              Changed test to request entire HAR log, not multiple HAR entries.
              https://bugs.webkit.org/show_bug.cgi?id=52292
      
              * http/tests/inspector/extensions-resources-redirect-expected.txt:
              * http/tests/inspector/extensions-resources-redirect.html:
              * http/tests/inspector/resource-har-conversion.html:
              * inspector/extensions-resources.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e38669e
    • loislo@chromium.org's avatar
      2011-01-14 Sheriff Bot <webkit.review.bot@gmail.com> · 67549204
      loislo@chromium.org authored
              Unreviewed, rolling out r75783.
              http://trac.webkit.org/changeset/75783
              https://bugs.webkit.org/show_bug.cgi?id=52439
      
              a bit strange but the same patch have broken mac builds at
              linking stage. (Requested by loislo2 on #webkit).
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/CodeGeneratorInspector.pm:
              * inspector/Inspector.idl:
              * inspector/InspectorBrowserDebuggerAgent.cpp: Removed.
              * inspector/InspectorBrowserDebuggerAgent.h: Removed.
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::inspectedPageDestroyed):
              (WebCore::InspectorController::didCommitLoad):
              (WebCore::InspectorController::enableDebuggerFromFrontend):
              (WebCore::InspectorController::disableDebugger):
              (WebCore::InspectorController::restoreStickyBreakpoints):
              (WebCore::InspectorController::restoreStickyBreakpoint):
              (WebCore::InspectorController::setEventListenerBreakpoint):
              (WebCore::InspectorController::removeEventListenerBreakpoint):
              (WebCore::InspectorController::hasEventListenerBreakpoint):
              (WebCore::InspectorController::setXHRBreakpoint):
              (WebCore::InspectorController::removeXHRBreakpoint):
              (WebCore::InspectorController::hasXHRBreakpoint):
              * inspector/InspectorController.h:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::discardBindings):
              (WebCore::InspectorDOMAgent::setDOMBreakpoint):
              (WebCore::InspectorDOMAgent::removeDOMBreakpoint):
              (WebCore::InspectorDOMAgent::shouldBreakOnNodeInsertion):
              (WebCore::InspectorDOMAgent::shouldBreakOnNodeRemoval):
              (WebCore::InspectorDOMAgent::shouldBreakOnAttributeModification):
              (WebCore::InspectorDOMAgent::descriptionForDOMEvent):
              (WebCore::InspectorDOMAgent::didInsertDOMNode):
              (WebCore::InspectorDOMAgent::didRemoveDOMNode):
              (WebCore::InspectorDOMAgent::hasBreakpoint):
              (WebCore::InspectorDOMAgent::updateSubtreeBreakpoints):
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl):
              (WebCore::InspectorInstrumentation::didInsertDOMNodeImpl):
              (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl):
              (WebCore::InspectorInstrumentation::didRemoveDOMNodeImpl):
              (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl):
              (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl):
              (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67549204