1. 31 Jan, 2011 21 commits
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · 15fc96cc
      yurys@chromium.org authored
              Unreviewed. Mark some tests as having wrong image results on Mac.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15fc96cc
    • ager@chromium.org's avatar
      2011-01-31 Mads Ager <ager@chromium.org> · 0bc82862
      ager@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [V8] Update V8 specific layout test expectations
              https://bugs.webkit.org/show_bug.cgi?id=53423
      
              Error formatting has changed in V8. Updating chromium specific
              layout test expectations accordingly.
      
              * platform/chromium-mac/fast/js/array-every-expected.txt:
              * platform/chromium-mac/fast/js/instance-of-immediates-expected.txt:
              * platform/chromium-mac/fast/js/property-getters-and-setters-expected.txt:
              * platform/chromium-mac/storage/transaction-error-callback-expected.txt:
              * platform/chromium-mac/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
              * platform/chromium-win/fast/js/array-every-expected.txt:
              * platform/chromium-win/fast/js/instance-of-immediates-expected.txt:
              * platform/chromium-win/fast/js/property-getters-and-setters-expected.txt:
              * platform/chromium-win/storage/transaction-error-callback-expected.txt:
              * platform/chromium-win/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bc82862
    • alex@webkit.org's avatar
      2011-01-31 Alejandro G. Castro <alex@igalia.com> · 11ee010b
      alex@webkit.org authored
              Unreviewed skipped favicon-as-image.html test, it is flaky and it
              was unskipped after r76555.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11ee010b
    • simon.fraser@apple.com's avatar
      2011-01-31 Simon Fraser <simon.fraser@apple.com> · c79bcf5d
      simon.fraser@apple.com authored
              Update a pixel resuls after r77101.
      
              * platform/mac/fast/css/color-correction-on-box-shadow-expected.checksum:
              * platform/mac/fast/css/color-correction-on-box-shadow-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c79bcf5d
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · cac04b0b
      yurys@chromium.org authored
              Unreviewed. Update Chromium test expectations.
      
              * platform/chromium-mac/fast/css/color-correction-on-box-shadow-expected.checksum: Added.
              * platform/chromium-mac/fast/css/color-correction-on-box-shadow-expected.png: Added.
              * platform/chromium-mac/fast/transforms/shadows-expected.checksum:
              * platform/chromium-mac/fast/transforms/shadows-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cac04b0b
    • zoltan@webkit.org's avatar
      [Qt] Add Take Screen Shot action to MiniBrowser · a98455bc
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53422
      
      Reviewed by Andreas Kling.
      
      Add Take Screen Shot action to MiniBrowser's view menu.
      
      * MiniBrowser/qt/BrowserWindow.cpp:
      (BrowserWindow::BrowserWindow):
      (BrowserWindow::screenshot):
      * MiniBrowser/qt/BrowserWindow.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a98455bc
    • kbr@google.com's avatar
      2011-01-31 Kenneth Russell <kbr@google.com> · f18f02c7
      kbr@google.com authored
              Unreviewed, test and expectations update. Stop reporting the precise
              pixel value for tests that are supposed to be within a certain range.
              Remove now-unneeded Chromium expectations.
      
              * fast/canvas/webgl/gl-teximage-expected.txt:
              * fast/canvas/webgl/gl-teximage.html:
              * platform/chromium-linux/fast/canvas/webgl/gl-teximage-expected.txt: Removed.
              * platform/chromium-mac/fast/canvas/webgl/gl-teximage-expected.txt: Removed.
              * platform/chromium-win/fast/canvas/webgl/gl-teximage-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f18f02c7
    • pfeldman@chromium.org's avatar
      2011-01-28 Pavel Feldman <pfeldman@chromium.org> · b654c932
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: copy HAR to clipboard instead of saving blob on export.
              https://bugs.webkit.org/show_bug.cgi?id=53328
      
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkPanel.prototype._exportAll):
              (WebInspector.NetworkPanel.prototype._exportResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b654c932
    • pfeldman@chromium.org's avatar
      2011-01-30 Pavel Feldman <pfeldman@chromium.org> · 28efb0a7
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: speed up network panel rendering.
              https://bugs.webkit.org/show_bug.cgi?id=53397
      
              * inspector/front-end/DataGrid.js:
              (WebInspector.DataGrid.prototype.get scrollContainer):
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkPanel.prototype.elementsToRestoreScrollPositionsFor):
              (WebInspector.NetworkPanel.prototype._positionSummaryBar):
              (WebInspector.NetworkPanel.prototype._createTable):
              (WebInspector.NetworkPanel.prototype._exportResource):
              (WebInspector.NetworkPanel.prototype._onScroll):
              * inspector/front-end/networkPanel.css:
              (.network-sidebar .data-grid.small tr.offscreen):
              (.network-sidebar .data-grid tr.offscreen):
              (.network-sidebar .data-grid tr.offscreen td):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28efb0a7
    • pvarga@webkit.org's avatar
      2011-01-31 Peter Varga <pvarga@webkit.org> · 9f4a8ccc
      pvarga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Remove wrec from WebCore
              https://bugs.webkit.org/show_bug.cgi?id=53298
      
              No new tests needed.
      
              * Android.jscbindings.mk:
              * ForwardingHeaders/wrec/WREC.h: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/copyForwardingHeaders.cmd:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f4a8ccc
    • commit-queue@webkit.org's avatar
      2011-01-31 Sheriff Bot <webkit.review.bot@gmail.com> · e04108e6
      commit-queue@webkit.org authored
              Unreviewed, rolling out r76969.
              http://trac.webkit.org/changeset/76969
              https://bugs.webkit.org/show_bug.cgi?id=53418
      
              "It is causing crashes in GTK+ and Leopard bots" (Requested by
              alexg__ on #webkit).
      
              * runtime/WeakGCMap.h:
      2011-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r76969.
              http://trac.webkit.org/changeset/76969
              https://bugs.webkit.org/show_bug.cgi?id=53418
      
              "It is causing crashes in GTK+ and Leopard bots" (Requested by
              alexg__ on #webkit).
      
              * bridge/runtime_root.cpp:
              (JSC::Bindings::RootObject::invalidate):
              (JSC::Bindings::RootObject::addRuntimeObject):
              (JSC::Bindings::RootObject::removeRuntimeObject):
              * bridge/runtime_root.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e04108e6
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · 2f9af086
      yurys@chromium.org authored
              Unreviewed. Update Chromium test expectations.
      
              * platform/chromium-mac/fast/blockflow/box-shadow-horizontal-bt-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/box-shadow-horizontal-bt-expected.png: Added.
              * platform/chromium-mac/fast/blockflow/box-shadow-vertical-lr-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/box-shadow-vertical-lr-expected.png: Added.
              * platform/chromium-mac/fast/blockflow/box-shadow-vertical-rl-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/box-shadow-vertical-rl-expected.png: Added.
              * platform/chromium-mac/fast/borders/border-radius-split-inline-expected.checksum: Added.
              * platform/chromium-mac/fast/borders/border-radius-split-inline-expected.png: Added.
              * platform/chromium-mac/fast/box-shadow/box-shadow-transformed-expected.checksum: Added.
              * platform/chromium-mac/fast/box-shadow/box-shadow-transformed-expected.png: Added.
              * platform/chromium-mac/fast/repaint/box-shadow-h-expected.checksum:
              * platform/chromium-mac/fast/repaint/box-shadow-h-expected.png:
              * platform/chromium-mac/fast/repaint/box-shadow-v-expected.checksum: Added.
              * platform/chromium-mac/fast/repaint/box-shadow-v-expected.png: Added.
              * platform/chromium-mac/fast/repaint/gradients-em-stops-repaint-expected.checksum: Added.
              * platform/chromium-mac/fast/repaint/gradients-em-stops-repaint-expected.png: Added.
              * platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum: Removed.
              * platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Removed.
              * platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.checksum: Removed.
              * platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png: Removed.
              * platform/chromium-mac/fast/transforms/shadows-expected.checksum: Added.
              * platform/chromium-mac/fast/transforms/shadows-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f9af086
    • kov@webkit.org's avatar
      2011-01-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 9a7cede6
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] REGRESSION:  http/tests/media/video-{cookie,referer}.html failing
              https://bugs.webkit.org/show_bug.cgi?id=53379
      
              Remove left over mentions of HAVE_SOUP_2_29_90, and apply the
              dependency on newer soup to efl as well.
      
              * Source/cmake/OptionsEfl.cmake:
      2011-01-31  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Xan Lopez.
      
              [GTK] REGRESSION:  http/tests/media/video-{cookie,referer}.html failing
              https://bugs.webkit.org/show_bug.cgi?id=53379
      
              Unskip tests that pass again.
      
              * platform/gtk/Skipped:
      2011-01-31  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Xan Lopez.
      
              [GTK] REGRESSION:  http/tests/media/video-{cookie,referer}.html failing
              https://bugs.webkit.org/show_bug.cgi?id=53379
      
              Remove left over #ifdef's. I thought all of the conditional code
              had been freed from the condition, but I forgot to check DRT.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setAlwaysAcceptCookies):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a7cede6
    • antti@apple.com's avatar
      Not reviewed. · b7548abb
      antti@apple.com authored
      Spelling.
      
      * css/CSSSelectorList.h:
      (WebCore::CSSSelectorList::next):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7548abb
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · 5c343d18
      yurys@chromium.org authored
              Unreviewed. Update Chromium test expectations after r77108
      
              * platform/chromium-linux/fast/canvas/webgl/gl-teximage-expected.txt: Added.
              * platform/chromium-mac/fast/canvas/webgl/gl-teximage-expected.txt: Added.
              * platform/chromium-win/fast/canvas/webgl/gl-teximage-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c343d18
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · d22c5083
      yurys@chromium.org authored
              Unreviewed. Fix Chromium compilation on Linux.
      
              * platform/graphics/ShadowBlur.cpp: added PLATFORM(CHROMIUM) guard
              * platform/graphics/ShadowBlur.h: added missing ColorSpace.h header include
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d22c5083
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · 79736ab6
      yurys@chromium.org authored
              Unreviewed. Fix Chromium compilation on Mac broken by r77101.
      
              * WebCore.gypi: add ShadowBlur.{h,cpp} to the gypi file.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79736ab6
    • yurys@chromium.org's avatar
      2011-01-31 Yury Semikhatsky <yurys@chromium.org> · 19208d59
      yurys@chromium.org authored
              Unreviewed. Update Chromium test expectations after r77101
      
              * platform/chromium-linux/fast/box-shadow/box-shadow-transformed-expected.checksum: Added.
              * platform/chromium-linux/fast/box-shadow/box-shadow-transformed-expected.png: Added.
              * platform/chromium-linux/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.checksum: Added.
              * platform/chromium-linux/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
              * platform/chromium-win/fast/box-shadow/box-shadow-radius-expected.checksum: Added.
              * platform/chromium-win/fast/box-shadow/box-shadow-radius-expected.png: Added.
              * platform/chromium-win/fast/box-shadow/box-shadow-radius-expected.txt: Added.
              * platform/chromium-win/fast/box-shadow/box-shadow-transformed-expected.checksum: Added.
              * platform/chromium-win/fast/box-shadow/box-shadow-transformed-expected.png: Added.
              * platform/chromium-win/fast/box-shadow/box-shadow-transformed-expected.txt: Added.
              * platform/chromium-win/fast/box-shadow/inset-box-shadow-radius-expected.checksum: Added.
              * platform/chromium-win/fast/box-shadow/inset-box-shadow-radius-expected.png: Added.
              * platform/chromium-win/fast/box-shadow/inset-box-shadow-radius-expected.txt: Added.
              * platform/chromium-win/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.checksum: Added.
              * platform/chromium-win/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
              * platform/chromium-win/fast/repaint/gradients-em-stops-repaint-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19208d59
    • mnaganov@chromium.org's avatar
      2011-01-31 Mikhail Naganov <mnaganov@chromium.org> · c81008a3
      mnaganov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              WebInspector: Change button title from "Clear CPU profiles" to "Clear all profiles".
      
              https://bugs.webkit.org/show_bug.cgi?id=53309
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c81008a3
    • carlosgc@webkit.org's avatar
      2011-01-31 Carlos Garcia Campos <cgarcia@igalia.com> · ccc992ad
      carlosgc@webkit.org authored
              Unreviewed, fix the build with current GTK+ 3.x.
      
              * plugins/gtk/gtk2xtbin.c:
              * plugins/gtk/gtk2xtbin.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccc992ad
    • tkent@chromium.org's avatar
      2011-01-30 Kenichi Ishibashi <bashi@google.com> · fc192901
      tkent@chromium.org authored
              Reviewed by Kent Tamura.
      
              Dangling form associated elements should not be registered on the document
              https://bugs.webkit.org/show_bug.cgi?id=53223
      
              Adds insertedIntoDocument() and remvoedFromDocument() to
              FormAssociatedElement class to register the element on the document
              if and only if it actually inserted into (removed from) the document.
      
              Test: fast/forms/dangling-form-element-crash.html
      
              * html/FormAssociatedElement.cpp:
              (WebCore::FormAssociatedElement::insertedIntoDocument): Added.
              (WebCore::FormAssociatedElement::removedFromDocument): Ditto.
              (WebCore::FormAssociatedElement::insertedIntoTree): Don't register
              the element to a document.
              (WebCore::FormAssociatedElement::removedFromTree): Don't unregister
              the element from a document.
              * html/FormAssociatedElement.h:
              * html/HTMLFormControlElement.cpp:
              (WebCore::HTMLFormControlElement::insertedIntoDocument): Added.
              (WebCore::HTMLFormControlElement::removedFromDocument): Ditto.
              * html/HTMLFormControlElement.h:
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::insertedIntoDocument): Calls
              FormAssociatedElement::insertedIntoDocument().
              (WebCore::HTMLObjectElement::removedFromDocument): Calls
              FormAssociatedElement::removedFromDocument().
      
      2011-01-30  Kenichi Ishibashi  <bashi@google.com>
      
              Reviewed by Kent Tamura.
      
              Dangling form associated elements should not be registered on the document
              https://bugs.webkit.org/show_bug.cgi?id=53223
      
              Adds a test that ensures dangling form associated elements are not
              registered on the document.
      
              * fast/forms/dangling-form-element-crash-expected.txt: Added.
              * fast/forms/dangling-form-element-crash.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc192901
  2. 30 Jan, 2011 19 commits
    • ossy@webkit.org's avatar
      2011-01-30 Csaba Osztrogonác <ossy@webkit.org> · ad0e9df1
      ossy@webkit.org authored
              Unreviewed, rolling out r77098, r77099, r77100, r77109, and
              r77111.
              http://trac.webkit.org/changeset/77098
              http://trac.webkit.org/changeset/77099
              http://trac.webkit.org/changeset/77100
              http://trac.webkit.org/changeset/77109
              http://trac.webkit.org/changeset/77111
              https://bugs.webkit.org/show_bug.cgi?id=53219
      
              Qt build is broken
      
              * API/JSCallbackObject.h:
              (JSC::JSCallbackObjectData::setPrivateProperty):
              (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
              (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
              (JSC::JSCallbackObjectData::JSPrivatePropertyMap::markChildren):
              (JSC::JSCallbackObject::setPrivateProperty):
              * API/JSCallbackObjectFunctions.h:
              (JSC::::put):
              (JSC::::staticFunctionGetter):
              * API/JSObjectRef.cpp:
              (JSObjectMakeConstructor):
              (JSObjectSetPrivateProperty):
              * API/JSWeakObjectMapRefInternal.h:
              * JavaScriptCore.exp:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::markAggregate):
              * bytecode/CodeBlock.h:
              (JSC::CodeBlock::globalObject):
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::BytecodeGenerator):
              (JSC::BytecodeGenerator::emitJumpIfNotFunctionCall):
              (JSC::BytecodeGenerator::emitJumpIfNotFunctionApply):
              (JSC::BytecodeGenerator::findScopedProperty):
              * debugger/Debugger.cpp:
              (JSC::evaluateInGlobalCallFrame):
              * debugger/DebuggerActivation.cpp:
              (JSC::DebuggerActivation::DebuggerActivation):
              (JSC::DebuggerActivation::markChildren):
              * debugger/DebuggerActivation.h:
              * debugger/DebuggerCallFrame.cpp:
              (JSC::DebuggerCallFrame::evaluate):
              * interpreter/CallFrame.h:
              (JSC::ExecState::exception):
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::resolve):
              (JSC::Interpreter::resolveSkip):
              (JSC::Interpreter::resolveGlobal):
              (JSC::Interpreter::resolveGlobalDynamic):
              (JSC::Interpreter::resolveBaseAndProperty):
              (JSC::Interpreter::unwindCallFrame):
              (JSC::appendSourceToError):
              (JSC::Interpreter::execute):
              (JSC::Interpreter::tryCacheGetByID):
              (JSC::Interpreter::privateExecute):
              * jit/JITStubs.cpp:
              (JSC::JITThunks::tryCacheGetByID):
              (JSC::DEFINE_STUB_FUNCTION):
              * jsc.cpp:
              (GlobalObject::GlobalObject):
              * runtime/ArgList.cpp:
              (JSC::MarkedArgumentBuffer::markLists):
              * runtime/Arguments.cpp:
              (JSC::Arguments::markChildren):
              (JSC::Arguments::getOwnPropertySlot):
              (JSC::Arguments::getOwnPropertyDescriptor):
              (JSC::Arguments::put):
              * runtime/Arguments.h:
              (JSC::Arguments::setActivation):
              (JSC::Arguments::Arguments):
              * runtime/ArrayConstructor.cpp:
              (JSC::ArrayConstructor::ArrayConstructor):
              (JSC::constructArrayWithSizeQuirk):
              * runtime/ArrayPrototype.cpp:
              (JSC::arrayProtoFuncSplice):
              * runtime/BatchedTransitionOptimizer.h:
              (JSC::BatchedTransitionOptimizer::BatchedTransitionOptimizer):
              (JSC::BatchedTransitionOptimizer::~BatchedTransitionOptimizer):
              * runtime/BooleanConstructor.cpp:
              (JSC::BooleanConstructor::BooleanConstructor):
              (JSC::constructBoolean):
              (JSC::constructBooleanFromImmediateBoolean):
              * runtime/BooleanPrototype.cpp:
              (JSC::BooleanPrototype::BooleanPrototype):
              * runtime/ConservativeSet.cpp:
              (JSC::ConservativeSet::grow):
              * runtime/ConservativeSet.h:
              (JSC::ConservativeSet::~ConservativeSet):
              (JSC::ConservativeSet::mark):
              * runtime/DateConstructor.cpp:
              (JSC::DateConstructor::DateConstructor):
              * runtime/DateInstance.cpp:
              (JSC::DateInstance::DateInstance):
              * runtime/DatePrototype.cpp:
              (JSC::dateProtoFuncSetTime):
              (JSC::setNewValueFromTimeArgs):
              (JSC::setNewValueFromDateArgs):
              (JSC::dateProtoFuncSetYear):
              * runtime/ErrorConstructor.cpp:
              (JSC::ErrorConstructor::ErrorConstructor):
              * runtime/ErrorInstance.cpp:
              (JSC::ErrorInstance::ErrorInstance):
              * runtime/ErrorPrototype.cpp:
              (JSC::ErrorPrototype::ErrorPrototype):
              * runtime/FunctionConstructor.cpp:
              (JSC::FunctionConstructor::FunctionConstructor):
              * runtime/FunctionPrototype.cpp:
              (JSC::FunctionPrototype::FunctionPrototype):
              * runtime/GetterSetter.cpp:
              (JSC::GetterSetter::markChildren):
              * runtime/GetterSetter.h:
              (JSC::GetterSetter::GetterSetter):
              (JSC::GetterSetter::getter):
              (JSC::GetterSetter::setGetter):
              (JSC::GetterSetter::setter):
              (JSC::GetterSetter::setSetter):
              * runtime/GlobalEvalFunction.cpp:
              (JSC::GlobalEvalFunction::GlobalEvalFunction):
              (JSC::GlobalEvalFunction::markChildren):
              * runtime/GlobalEvalFunction.h:
              (JSC::GlobalEvalFunction::cachedGlobalObject):
              * runtime/Heap.cpp:
              (JSC::Heap::markProtectedObjects):
              (JSC::Heap::markTempSortVectors):
              (JSC::Heap::markRoots):
              * runtime/InternalFunction.cpp:
              (JSC::InternalFunction::InternalFunction):
              * runtime/JSAPIValueWrapper.h:
              (JSC::JSAPIValueWrapper::value):
              (JSC::JSAPIValueWrapper::JSAPIValueWrapper):
              * runtime/JSActivation.cpp:
              (JSC::JSActivation::markChildren):
              (JSC::JSActivation::put):
              * runtime/JSArray.cpp:
              (JSC::JSArray::JSArray):
              (JSC::JSArray::getOwnPropertySlot):
              (JSC::JSArray::getOwnPropertyDescriptor):
              (JSC::JSArray::put):
              (JSC::JSArray::putSlowCase):
              (JSC::JSArray::deleteProperty):
              (JSC::JSArray::increaseVectorLength):
              (JSC::JSArray::setLength):
              (JSC::JSArray::pop):
              (JSC::JSArray::push):
              (JSC::JSArray::unshiftCount):
              (JSC::JSArray::sort):
              (JSC::JSArray::fillArgList):
              (JSC::JSArray::copyToRegisters):
              (JSC::JSArray::compactForSorting):
              * runtime/JSArray.h:
              (JSC::JSArray::getIndex):
              (JSC::JSArray::setIndex):
              (JSC::JSArray::uncheckedSetIndex):
              (JSC::JSArray::markChildrenDirect):
              * runtime/JSByteArray.cpp:
              (JSC::JSByteArray::JSByteArray):
              * runtime/JSCell.h:
              (JSC::JSCell::JSValue::toThisObject):
              (JSC::JSCell::MarkStack::append):
              * runtime/JSFunction.cpp:
              (JSC::JSFunction::JSFunction):
              (JSC::JSFunction::getOwnPropertySlot):
              * runtime/JSGlobalData.h:
              * runtime/JSGlobalObject.cpp:
              (JSC::markIfNeeded):
              (JSC::JSGlobalObject::reset):
              (JSC::JSGlobalObject::resetPrototype):
              (JSC::JSGlobalObject::markChildren):
              * runtime/JSGlobalObject.h:
              (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData):
              (JSC::JSGlobalObject::regExpConstructor):
              (JSC::JSGlobalObject::errorConstructor):
              (JSC::JSGlobalObject::evalErrorConstructor):
              (JSC::JSGlobalObject::rangeErrorConstructor):
              (JSC::JSGlobalObject::referenceErrorConstructor):
              (JSC::JSGlobalObject::syntaxErrorConstructor):
              (JSC::JSGlobalObject::typeErrorConstructor):
              (JSC::JSGlobalObject::URIErrorConstructor):
              (JSC::JSGlobalObject::evalFunction):
              (JSC::JSGlobalObject::objectPrototype):
              (JSC::JSGlobalObject::functionPrototype):
              (JSC::JSGlobalObject::arrayPrototype):
              (JSC::JSGlobalObject::booleanPrototype):
              (JSC::JSGlobalObject::stringPrototype):
              (JSC::JSGlobalObject::numberPrototype):
              (JSC::JSGlobalObject::datePrototype):
              (JSC::JSGlobalObject::regExpPrototype):
              (JSC::JSGlobalObject::methodCallDummy):
              (JSC::Structure::prototypeForLookup):
              (JSC::constructArray):
              * runtime/JSONObject.cpp:
              (JSC::Stringifier::Holder::object):
              (JSC::Stringifier::markAggregate):
              (JSC::Stringifier::stringify):
              (JSC::Stringifier::Holder::appendNextProperty):
              (JSC::Walker::callReviver):
              (JSC::Walker::walk):
              * runtime/JSObject.cpp:
              (JSC::JSObject::defineGetter):
              (JSC::JSObject::defineSetter):
              (JSC::JSObject::removeDirect):
              (JSC::JSObject::putDirectFunction):
              (JSC::JSObject::putDirectFunctionWithoutTransition):
              (JSC::putDescriptor):
              (JSC::JSObject::defineOwnProperty):
              * runtime/JSObject.h:
              (JSC::JSObject::getDirectOffset):
              (JSC::JSObject::putDirectOffset):
              (JSC::JSObject::flattenDictionaryObject):
              (JSC::JSObject::putDirectInternal):
              (JSC::JSObject::putDirect):
              (JSC::JSObject::putDirectFunction):
              (JSC::JSObject::putDirectWithoutTransition):
              (JSC::JSObject::putDirectFunctionWithoutTransition):
              (JSC::JSValue::putDirect):
              (JSC::JSObject::allocatePropertyStorageInline):
              (JSC::JSObject::markChildrenDirect):
              * runtime/JSPropertyNameIterator.cpp:
              (JSC::JSPropertyNameIterator::JSPropertyNameIterator):
              (JSC::JSPropertyNameIterator::get):
              * runtime/JSPropertyNameIterator.h:
              * runtime/JSStaticScopeObject.cpp:
              (JSC::JSStaticScopeObject::markChildren):
              * runtime/JSString.cpp:
              (JSC::StringObject::create):
              * runtime/JSValue.h:
              * runtime/JSWrapperObject.cpp:
              (JSC::JSWrapperObject::markChildren):
              * runtime/JSWrapperObject.h:
              (JSC::JSWrapperObject::internalValue):
              (JSC::JSWrapperObject::setInternalValue):
              * runtime/LiteralParser.cpp:
              (JSC::LiteralParser::parse):
              * runtime/Lookup.cpp:
              (JSC::setUpStaticFunctionSlot):
              * runtime/Lookup.h:
              (JSC::lookupPut):
              * runtime/MarkStack.h:
              (JSC::MarkStack::appendValues):
              * runtime/MathObject.cpp:
              (JSC::MathObject::MathObject):
              * runtime/NativeErrorConstructor.cpp:
              (JSC::NativeErrorConstructor::NativeErrorConstructor):
              * runtime/NativeErrorPrototype.cpp:
              (JSC::NativeErrorPrototype::NativeErrorPrototype):
              * runtime/NumberConstructor.cpp:
              (JSC::NumberConstructor::NumberConstructor):
              (JSC::constructWithNumberConstructor):
              * runtime/NumberObject.cpp:
              (JSC::constructNumber):
              * runtime/NumberPrototype.cpp:
              (JSC::NumberPrototype::NumberPrototype):
              * runtime/ObjectConstructor.cpp:
              (JSC::ObjectConstructor::ObjectConstructor):
              (JSC::objectConstructorGetOwnPropertyDescriptor):
              * runtime/Operations.h:
              (JSC::normalizePrototypeChain):
              (JSC::resolveBase):
              * runtime/PrototypeFunction.cpp:
              (JSC::PrototypeFunction::PrototypeFunction):
              * runtime/PutPropertySlot.h:
              (JSC::PutPropertySlot::setExistingProperty):
              (JSC::PutPropertySlot::setNewProperty):
              (JSC::PutPropertySlot::base):
              * runtime/RegExpConstructor.cpp:
              (JSC::RegExpConstructor::RegExpConstructor):
              * runtime/ScopeChain.cpp:
              (JSC::ScopeChainNode::print):
              * runtime/ScopeChain.h:
              (JSC::ScopeChainNode::~ScopeChainNode):
              (JSC::ScopeChainIterator::operator*):
              (JSC::ScopeChainIterator::operator->):
              (JSC::ScopeChain::top):
              * runtime/ScopeChainMark.h:
              (JSC::ScopeChain::markAggregate):
              * runtime/SmallStrings.cpp:
              (JSC::isMarked):
              (JSC::SmallStrings::markChildren):
              * runtime/SmallStrings.h:
              (JSC::SmallStrings::emptyString):
              (JSC::SmallStrings::singleCharacterString):
              (JSC::SmallStrings::singleCharacterStrings):
              * runtime/StringConstructor.cpp:
              (JSC::StringConstructor::StringConstructor):
              * runtime/StringObject.cpp:
              (JSC::StringObject::StringObject):
              * runtime/StringObject.h:
              * runtime/StringPrototype.cpp:
              (JSC::StringPrototype::StringPrototype):
              * runtime/Structure.cpp:
              (JSC::Structure::Structure):
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::toDictionaryTransition):
              (JSC::Structure::flattenDictionaryStructure):
              * runtime/Structure.h:
              (JSC::Structure::storedPrototype):
              * runtime/WeakGCMap.h:
              (JSC::WeakGCMap::uncheckedGet):
              (JSC::WeakGCMap::isValid):
              (JSC::::get):
              (JSC::::take):
              (JSC::::set):
              (JSC::::uncheckedRemove):
              * runtime/WriteBarrier.h: Removed.
      2011-01-30  Csaba Osztrogonác  <ossy@webkit.org>
      
              Unreviewed, rolling out r77098, r77099, r77100, r77109, and
              r77111.
              http://trac.webkit.org/changeset/77098
              http://trac.webkit.org/changeset/77099
              http://trac.webkit.org/changeset/77100
              http://trac.webkit.org/changeset/77109
              http://trac.webkit.org/changeset/77111
              https://bugs.webkit.org/show_bug.cgi?id=53219
      
              Qt build is broken
      
              * JSValueWrapper.cpp:
              (JSValueWrapper::JSObjectMark):
      2011-01-30  Csaba Osztrogonác  <ossy@webkit.org>
      
              Unreviewed, rolling out r77098, r77099, r77100, r77109, and
              r77111.
              http://trac.webkit.org/changeset/77098
              http://trac.webkit.org/changeset/77099
              http://trac.webkit.org/changeset/77100
              http://trac.webkit.org/changeset/77109
              http://trac.webkit.org/changeset/77111
              https://bugs.webkit.org/show_bug.cgi?id=53219
      
              Qt build is broken
      
              * ForwardingHeaders/runtime/WriteBarrier.h: Removed.
              * WebCore.exp.in:
              * bindings/js/DOMWrapperWorld.h:
              * bindings/js/JSAudioConstructor.cpp:
              (WebCore::JSAudioConstructor::JSAudioConstructor):
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::markDOMNodesForDocument):
              (WebCore::markDOMObjectWrapper):
              (WebCore::markDOMNodeWrapper):
              * bindings/js/JSDOMGlobalObject.cpp:
              (WebCore::JSDOMGlobalObject::markChildren):
              (WebCore::JSDOMGlobalObject::setInjectedScript):
              (WebCore::JSDOMGlobalObject::injectedScript):
              * bindings/js/JSDOMGlobalObject.h:
              (WebCore::JSDOMGlobalObject::JSDOMGlobalObjectData::JSDOMGlobalObjectData):
              (WebCore::getDOMConstructor):
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::setLocation):
              (WebCore::DialogHandler::dialogCreated):
              * bindings/js/JSDOMWindowShell.cpp:
              (WebCore::JSDOMWindowShell::JSDOMWindowShell):
              (WebCore::JSDOMWindowShell::setWindow):
              (WebCore::JSDOMWindowShell::markChildren):
              (WebCore::JSDOMWindowShell::unwrappedObject):
              * bindings/js/JSDOMWindowShell.h:
              (WebCore::JSDOMWindowShell::window):
              (WebCore::JSDOMWindowShell::setWindow):
              * bindings/js/JSDeviceMotionEventCustom.cpp:
              (WebCore::createAccelerationObject):
              (WebCore::createRotationRateObject):
              * bindings/js/JSEventListener.cpp:
              (WebCore::JSEventListener::JSEventListener):
              (WebCore::JSEventListener::markJSFunction):
              * bindings/js/JSEventListener.h:
              (WebCore::JSEventListener::jsFunction):
              * bindings/js/JSHTMLDocumentCustom.cpp:
              (WebCore::JSHTMLDocument::setAll):
              * bindings/js/JSImageConstructor.cpp:
              (WebCore::JSImageConstructor::JSImageConstructor):
              * bindings/js/JSImageDataCustom.cpp:
              (WebCore::toJS):
              * bindings/js/JSJavaScriptCallFrameCustom.cpp:
              (WebCore::JSJavaScriptCallFrame::scopeChain):
              (WebCore::JSJavaScriptCallFrame::scopeType):
              * bindings/js/JSNodeFilterCondition.cpp:
              (WebCore::JSNodeFilterCondition::markAggregate):
              (WebCore::JSNodeFilterCondition::acceptNode):
              * bindings/js/JSNodeFilterCondition.h:
              * bindings/js/JSNodeFilterCustom.cpp:
              * bindings/js/JSOptionConstructor.cpp:
              (WebCore::JSOptionConstructor::JSOptionConstructor):
              * bindings/js/JSSQLResultSetRowListCustom.cpp:
              (WebCore::JSSQLResultSetRowList::item):
              * bindings/js/ScriptCachedFrameData.cpp:
              (WebCore::ScriptCachedFrameData::restore):
              * bindings/js/ScriptObject.cpp:
              (WebCore::ScriptGlobalObject::set):
              * bindings/js/SerializedScriptValue.cpp:
              (WebCore::CloneDeserializer::putProperty):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/qt/qt_instance.cpp:
              (JSC::Bindings::QtInstance::QtInstance):
              (JSC::Bindings::QtInstance::removeCachedMethod):
              (JSC::Bindings::QtInstance::markAggregate):
              * bridge/qt/qt_instance.h:
              * bridge/qt/qt_runtime.cpp:
              (JSC::Bindings::QtRuntimeMetaMethod::QtRuntimeMetaMethod):
              (JSC::Bindings::QtRuntimeMetaMethod::markChildren):
              (JSC::Bindings::QtRuntimeMetaMethod::connectGetter):
              (JSC::Bindings::QtRuntimeMetaMethod::disconnectGetter):
              * bridge/qt/qt_runtime.h:
              * bridge/runtime_root.cpp:
              (JSC::Bindings::RootObject::invalidate):
              * bridge/runtime_root.h:
              * dom/Document.h:
      2011-01-30  Csaba Osztrogonác  <ossy@webkit.org>
      
              Unreviewed, rolling out r77098, r77099, r77100, r77109, and
              r77111.
              http://trac.webkit.org/changeset/77098
              http://trac.webkit.org/changeset/77099
              http://trac.webkit.org/changeset/77100
              http://trac.webkit.org/changeset/77109
              http://trac.webkit.org/changeset/77111
              https://bugs.webkit.org/show_bug.cgi?id=53219
      
              Qt build is broken
      
              * WebView/WebScriptDebugDelegate.mm:
              (-[WebScriptCallFrame scopeChain]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad0e9df1
    • simon.fraser@apple.com's avatar
      2011-01-30 Sheriff Bot <webkit.review.bot@gmail.com> · 60341277
      simon.fraser@apple.com authored
              Unreviewed, rolling out r77107.
              http://trac.webkit.org/changeset/77107
              https://bugs.webkit.org/show_bug.cgi?id=53412
      
              Caused 5 new form-related test crashes (Requested by smfr on
              #webkit).
      
              * css/CSSSelector.cpp:
              (WebCore::CSSSelector::pseudoId):
              (WebCore::nameToPseudoTypeMap):
              (WebCore::CSSSelector::extractPseudoType):
              * css/CSSSelector.h:
              * html/HTMLProgressElement.cpp:
              (WebCore::HTMLProgressElement::parseMappedAttribute):
              (WebCore::HTMLProgressElement::attach):
              * html/HTMLProgressElement.h:
              * rendering/RenderProgress.cpp:
              (WebCore::RenderProgress::~RenderProgress):
              (WebCore::RenderProgress::updateFromElement):
              (WebCore::RenderProgress::layoutParts):
              (WebCore::RenderProgress::shouldHaveParts):
              * rendering/RenderProgress.h:
              * rendering/style/RenderStyleConstants.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60341277
    • simon.fraser@apple.com's avatar
      2011-01-30 Simon Fraser <simon.fraser@apple.com> · 9131cbe1
      simon.fraser@apple.com authored
              Build fix the build fix. I assume Oliver meant m_cell, not m_value.
      
              * runtime/WriteBarrier.h:
              (JSC::WriteBarrierBase::clear):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9131cbe1
    • simon.fraser@apple.com's avatar
      2011-01-30 Simon Fraser <simon.fraser@apple.com> · 36a7cc24
      simon.fraser@apple.com authored
              Reviewed by Sam Weinig.
      
              Enhance ShadowBlur to render inset box shadows
              https://bugs.webkit.org/show_bug.cgi?id=51567
      
              Use ShadowBlur for inset box-shadows with CG. It
              currently lacks a tiled version, but is still much
              faster than CG shadows.
      
              Test: fast/box-shadow/inset-box-shadow-radius.html
      
              * platform/graphics/ShadowBlur.cpp:
              * platform/graphics/ShadowBlur.h: New method for inset
              shadows.
              (WebCore::ShadowBlur::drawInsetShadow):
      
              * platform/graphics/GraphicsContext.cpp: #ifdef out
              fillRectWithRoundedHole() for CG.
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::fillRectWithRoundedHole): If there's
              a shadow with a radius > 0, use ShadowBlur.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36a7cc24
    • oliver@apple.com's avatar
      More Qt build fixes · e728a61c
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e728a61c
    • kbr@google.com's avatar
      2011-01-28 Kenneth Russell <kbr@google.com> · bb1c5656
      kbr@google.com authored
              Reviewed by Chris Marrin.
      
              WebGL shows PNG Textures with indexed colors too dark
              https://bugs.webkit.org/show_bug.cgi?id=47477
      
              Added test case for upload of indexed PNG images to
              gl-teximage.html in the Khronos WebGL conformance tests.
              Synchronized this test with the Khronos repository.
      
              * fast/canvas/webgl/gl-teximage-expected.txt:
              * fast/canvas/webgl/gl-teximage.html:
              * fast/canvas/webgl/resources/red-indexed.png: Added.
      2011-01-28  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Chris Marrin.
      
              WebGL shows PNG Textures with indexed colors too dark
              https://bugs.webkit.org/show_bug.cgi?id=47477
      
              Properly handle indexed PNG images by re-rendering them as RGBA
              images before upload. Verified with this layout test and the test
              cases from bugs 47477 and 53269.
      
              * platform/graphics/cg/GraphicsContext3DCG.cpp:
              (WebCore::GraphicsContext3D::getImageData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb1c5656
    • morrita@google.com's avatar
      2011-01-27 MORITA Hajime <morrita@google.com> · 45c6a5f4
      morrita@google.com authored
              Reviewed by Dimitri Glazkov.
      
              Convert <progress> shadow DOM to a DOM-based shadow.
              https://bugs.webkit.org/show_bug.cgi?id=50660
      
              * Removed RenderProgress::m_valuePart, moved the shadow node
                to the shadow root of HTMLProgressElement.
              * Removed hard-coded pseudo ID for -webkit-progress-bar-value.
                ProgressBarValueElement is defined only for overriding
                shadowPseudoId().
      
              No new tests. No behavioral change.
      
              * css/CSSSelector.cpp:
              (WebCore::CSSSelector::pseudoId):
              (WebCore::nameToPseudoTypeMap):
              (WebCore::CSSSelector::extractPseudoType):
              * css/CSSSelector.h:
              * html/HTMLProgressElement.cpp:
              (WebCore::ProgressBarValueElement::ProgressBarValueElement):
              (WebCore::ProgressBarValueElement::shadowPseudoId):
              (WebCore::ProgressBarValueElement::create):
              (WebCore::HTMLProgressElement::parseMappedAttribute):
              (WebCore::HTMLProgressElement::attach):
              (WebCore::HTMLProgressElement::valuePart):
              (WebCore::HTMLProgressElement::didElementStateChange):
              (WebCore::HTMLProgressElement::createShadowSubtreeIfNeeded):
              * html/HTMLProgressElement.h:
              * rendering/RenderProgress.cpp:
              (WebCore::RenderProgress::~RenderProgress):
              (WebCore::RenderProgress::updateFromElement):
              (WebCore::RenderProgress::layoutParts):
              (WebCore::RenderProgress::shouldHaveParts):
              (WebCore::RenderProgress::valuePart):
              * rendering/RenderProgress.h:
              * rendering/style/RenderStyleConstants.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45c6a5f4
    • simon.fraser@apple.com's avatar
      2011-01-30 Simon Fraser <simon.fraser@apple.com> · 33875137
      simon.fraser@apple.com authored
              Reviewed by Ariya Hidayat.
      
              Enhance ShadowBlur to render inset box shadows; Part 1.
              https://bugs.webkit.org/show_bug.cgi?id=51567
      
              Add a new method to GraphicsContext to render a rect with a rounded hole,
              for use by inset box-shadow code. Knowledge that we're rendering a rounded
              hole will enable ShadowBlur to be used here in future.
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::fillRectWithRoundedHole):
              * platform/graphics/GraphicsContext.h:
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::paintBoxShadow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33875137
    • morrita@google.com's avatar
      2011-01-23 MORITA Hajime <morrita@google.com> · 2d33a85b
      morrita@google.com authored
              Reviewed by Eric Seidel.
      
              REGRESSION: Inset shadow with too large border radius misses rounded corner.
              https://bugs.webkit.org/show_bug.cgi?id=52800
      
              * fast/box-shadow/inset-with-extraordinary-radii-and-border.html: Added.
              * platform/mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.checksum: Added.
              * platform/mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
              * platform/mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.txt: Added.
      2011-01-23  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Eric Seidel.
      
              REGRESSION: Inset shadow with too large border radius misses rounded corner.
              https://bugs.webkit.org/show_bug.cgi?id=52800
      
              The refactoring on r76083 broke the invariant between border
              IntRect and its radii because RoundedIntRect::setRect() is called
              after getRoundedInnerBorderWithBorderWidths(), which enforces the
              invariant. Th rounded-rect clipping code verifies the invariant,
              and discard the invalid radii, that results broken paintings.
      
              This change moved setRect() before
              getRoundedInnerBorderWithBorderWidths() not to modify the valid
              RoundedIntRect value.
      
              Test: fast/box-shadow/inset-with-extraordinary-radii-and-border.html
      
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::paintBoxShadow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d33a85b
    • ggaren@apple.com's avatar
      2011-01-30 Geoffrey Garen <ggaren@apple.com> · 3d2ff16f
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              [Take 2!]
              Fixed crash on window close (maybe crash on launch?) due to missing frame null checks
              https://bugs.webkit.org/show_bug.cgi?id=53408
      
              * UIProcess/WebContext.cpp:
              (WebKit::WebContext::didNavigateWithNavigationData):
              (WebKit::WebContext::didPerformClientRedirect):
              (WebKit::WebContext::didPerformServerRedirect):
              (WebKit::WebContext::didUpdateHistoryTitle): Use MESSAGE_CHECK because
              we don't think we should be able to reach this state under normal conditions.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d2ff16f
    • simon.fraser@apple.com's avatar
      2011-01-30 Simon Fraser <simon.fraser@apple.com> · e33f672b
      simon.fraser@apple.com authored
              Attempt to fix Windows build by adding ShadowBlur.cpp/h to the
              vcproj.
      
              * WebCore.vcproj/WebCore.vcproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e33f672b
    • ggaren@apple.com's avatar
      2011-01-30 Geoffrey Garen <ggaren@apple.com> · d2f61674
      ggaren@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Fixed crash on window close (maybe crash on launch?) due to missing
              frame null checks
              https://bugs.webkit.org/show_bug.cgi?id=53408
      
              * UIProcess/WebContext.cpp:
              (WebKit::WebContext::didNavigateWithNavigationData):
              (WebKit::WebContext::didPerformClientRedirect):
              (WebKit::WebContext::didPerformServerRedirect):
              (WebKit::WebContext::didUpdateHistoryTitle): Check for NULL, since we're
              calling a function that can return it.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2f61674
    • simon.fraser@apple.com's avatar
      2011-01-30 Simon Fraser <simon.fraser@apple.com> · 9d92cc2a
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              -webkit-box-shadow causes awful scroll/resize/redraw performance
              https://bugs.webkit.org/show_bug.cgi?id=22102
      
              Use ShadowBlur for CG, whe rendering shadows on rects and
              rounded rects outside of canvas.
      
              CG shadows with a radius of more than 8px do not render
              correctly. We preserve this incorrect rendering by compensating
              for it when rending -webkit-box-shadow. Calls that should use
              this deprecated radius behavior now use setLegacyShadow().
      
              Test: fast/box-shadow/box-shadow-transformed.html
      
              * html/canvas/CanvasRenderingContext2D.cpp: Use setLegacyShadow()
              for canvas, to indicate that it should use the deprecated radius
              behavior.
              (WebCore::CanvasRenderingContext2D::setAllAttributesToDefault): Ditto.
              (WebCore::CanvasRenderingContext2D::setShadow): Ditto.
              (WebCore::CanvasRenderingContext2D::applyShadow): Ditto.
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::setLegacyShadow): Set the m_state.shadowsUseLegacyRadius bit.
      
              * platform/graphics/GraphicsContext.h:
              (WebCore::GraphicsContextState::GraphicsContextState): Add a
              shadowsUseLegacyRadius bit to the state.
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::radiusToLegacyRadius): Map from the actual radius to one
              that approximates CG behavior.
              (WebCore::hasBlurredShadow): Helper that returns true if we have a shadow
              with a non-zero blur radius.
              (WebCore::GraphicsContext::fillRect): Use ShadowBlur if not canvas.
              (WebCore::GraphicsContext::fillRoundedRect): Ditto.
              (WebCore::GraphicsContext::setPlatformShadow): Comment.
      
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::paintBoxShadow): Call setLegacyShadow()
              for -webkit-box-shadow.
      
              * platform/graphics/ShadowBlur.cpp:
              (WebCore::ShadowBlur::calculateLayerBoundingRect): Fix some pixel crack issues
              by rounding up the blur radius.
              (WebCore::ShadowBlur::drawRectShadow): Ditto
              (WebCore::ShadowBlur::drawRectShadowWithTiling): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d92cc2a
    • oliver@apple.com's avatar
      Try to fix Qt build (again). · d395a38d
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d395a38d
    • oliver@apple.com's avatar
      Try to fix Qt build. · 1a14b16f
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a14b16f
    • oliver@apple.com's avatar
      Convert markstack to a slot visitor API · ba805bee
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53219
      
      rolling r77006 and r77020 back in.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba805bee
    • simon.fraser@apple.com's avatar
      2011-01-30 Simon Fraser <simon.fraser@apple.com> · 6651a517
      simon.fraser@apple.com authored
              Reviewed by Sam Weinig.
      
              Make ContextShadow code cross-platform
              https://bugs.webkit.org/show_bug.cgi?id=51312
      
              Add a new class, ShadowBlur, that contains most of the
              code from ContextShadow, but is fully cross-platform.
              It depends on one new method, GraphicsContext::clipBounds(),
              which platforms will have to implement.
      
              Add ShadowBlur to the Mac Xcode project, but don't use it
              anywhere yet.
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::clipBounds):
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/ShadowBlur.cpp: Added.
              (WebCore::roundUpToMultipleOf32):
              (WebCore::ScratchBuffer::ScratchBuffer):
              (WebCore::ScratchBuffer::getScratchBuffer):
              (WebCore::ScratchBuffer::scheduleScratchBufferPurge):
              (WebCore::ScratchBuffer::timerFired):
              (WebCore::ScratchBuffer::clearScratchBuffer):
              (WebCore::ScratchBuffer::shared):
              (WebCore::ShadowBlur::ShadowBlur):
              (WebCore::ShadowBlur::blurLayerImage):
              (WebCore::ShadowBlur::adjustBlurDistance):
              (WebCore::ShadowBlur::calculateLayerBoundingRect):
              (WebCore::ShadowBlur::beginShadowLayer):
              (WebCore::ShadowBlur::endShadowLayer):
              (WebCore::ShadowBlur::drawRectShadow):
              (WebCore::ShadowBlur::drawRectShadowWithoutTiling):
              (WebCore::ShadowBlur::drawRectShadowWithTiling):
              (WebCore::ShadowBlur::clipBounds):
              * platform/graphics/ShadowBlur.h: Added.
              (WebCore::ShadowBlur::setShadowsIgnoreTransforms):
              (WebCore::ShadowBlur::shadowsIgnoreTransforms):
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::clipBounds):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6651a517
    • dpranke@chromium.org's avatar
      2011-01-30 Dirk Pranke <dpranke@chromium.org> · f43e2282
      dpranke@chromium.org authored
              Unreviewed, build fix.
      
              Fix regression introduced in r77093 - path.rsplit() doesn't
              take keyword arguments.
      
              https://bugs.webkit.org/show_bug.cgi?id=53326
      
              * Scripts/webkitpy/common/system/filesystem_mock.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f43e2282
    • dpranke@chromium.org's avatar
      2011-01-30 Dirk Pranke <dpranke@chromium.org> · 537be6a3
      dpranke@chromium.org authored
              Reviewed by Mihai Parparita.
      
              Add more unit tests for rebaseline-chromium-webkit-tests. This
              change involves restructuring a bunch of r-c-w-t code to make it
              more testable as well. We also add wrapper classes for handling
              testing zip files and fetching URLs.
      
              https://bugs.webkit.org/show_bug.cgi?id=53040
      
              * Scripts/webkitpy/common/system/urlfetcher.py:
              * Scripts/webkitpy/common/system/urlfetcher_mock.py:
              * Scripts/webkitpy/common/system/zipfileset_mock.py:
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
              * Scripts/webkitpy/tool/mocktool.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      537be6a3