1. 05 Nov, 2009 37 commits
    • eric@webkit.org's avatar
      2009-11-05 Chris Jerdonek <chris.jerdonek@gmail.com> · 34f91706
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Removed the "this is part of the KDE project" comments from
              all *.h, *.cpp, *.idl, and *.pm files.
      
              https://bugs.webkit.org/show_bug.cgi?id=31167
      
              The maintenance and architecture page in the project wiki lists
              this as a task.
      
              This change includes no changes or additions to test cases
              since the change affects only comments.
      
              * wtf/wince/FastMallocWince.h:
      2009-11-05  Chris Jerdonek  <chris.jerdonek@gmail.com>
      
              Reviewed by Eric Seidel.
      
              Removed the "this is part of the KDE project" comments from
              all *.h, *.cpp, *.idl, and *.pm files.
      
              https://bugs.webkit.org/show_bug.cgi?id=31167
      
              The maintenance and architecture page in the project wiki lists
              this as a task.
      
              This change includes no changes or additions to test cases
              since the change affects only comments.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/scripts/IDLParser.pm:
              * bindings/scripts/IDLStructure.pm:
              * css/CSSInheritedValue.cpp:
              * css/CSSInitialValue.cpp:
              * css/CSSMediaRule.cpp:
              * css/CSSNamespace.h:
              * css/CSSProperty.cpp:
              * css/CSSProperty.h:
              * css/CSSRuleList.cpp:
              * css/CSSRuleList.h:
              * css/CSSSelector.h:
              * css/CSSValueList.cpp:
              * css/FontValue.cpp:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/Pair.h:
              * css/SVGCSSStyleSelector.cpp:
              * css/ShadowValue.cpp:
              * css/StyleSheet.cpp:
              * css/StyleSheetList.cpp:
              * css/maketokenizer:
              * dom/BeforeUnloadEvent.cpp:
              * dom/BeforeUnloadEvent.h:
              * dom/CSSMappedAttributeDeclaration.cpp:
              * dom/EventNames.cpp:
              * dom/EventTarget.cpp:
              * dom/MappedAttributeEntry.h:
              * dom/MouseRelatedEvent.h:
              * dom/RangeException.h:
              * dom/StyleElement.h:
              * dom/Tokenizer.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.cpp:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.cpp:
              * html/HTMLModElement.h:
              * html/HTMLOptionsCollection.cpp:
              * html/HTMLPlugInElement.cpp:
              * html/HTMLPreElement.cpp:
              * html/HTMLPreElement.h:
              * html/HTMLTableCellElement.cpp:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.cpp:
              * html/HTMLTableColElement.h:
              * html/HTMLTablePartElement.cpp:
              * html/HTMLTablePartElement.h:
              * html/HTMLTitleElement.h:
              * page/MouseEventWithHitTestResults.h:
              * platform/StaticConstructors.h:
              * platform/text/AtomicStringImpl.h:
              * platform/text/qt/TextBreakIteratorQt.cpp:
              * rendering/AutoTableLayout.h:
              * rendering/CounterNode.cpp:
              * rendering/EllipsisBox.cpp:
              * rendering/EllipsisBox.h:
              * rendering/FixedTableLayout.cpp:
              * rendering/FixedTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineRunBox.h:
              * rendering/PointerEventsHitRules.cpp:
              * rendering/PointerEventsHitRules.h:
              * rendering/RenderBR.cpp:
              * rendering/RenderBR.h:
              * rendering/RenderButton.cpp:
              * rendering/RenderButton.h:
              * rendering/RenderFieldset.cpp:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderListItem.cpp:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderView.h:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineTextBox.cpp:
              * rendering/SVGInlineTextBox.h:
              * rendering/TableLayout.h:
              * rendering/break_lines.h:
              * rendering/style/SVGRenderStyle.cpp:
              * rendering/style/SVGRenderStyle.h:
              * rendering/style/SVGRenderStyleDefs.cpp:
              * rendering/style/SVGRenderStyleDefs.h:
              * svg/GradientAttributes.h:
              * svg/LinearGradientAttributes.h:
              * svg/PatternAttributes.h:
              * svg/RadialGradientAttributes.h:
              * svg/SVGAElement.cpp:
              * svg/SVGAngle.idl:
              * svg/SVGAnimateColorElement.cpp:
              * svg/SVGAnimateColorElement.h:
              * svg/SVGAnimateElement.cpp:
              * svg/SVGAnimateElement.h:
              * svg/SVGAnimateTransformElement.h:
              * svg/SVGAnimatedPathData.cpp:
              * svg/SVGAnimatedPathData.h:
              * svg/SVGAnimatedPoints.cpp:
              * svg/SVGAnimatedPoints.h:
              * svg/SVGAnimationElement.cpp:
              * svg/SVGCircleElement.cpp:
              * svg/SVGClipPathElement.cpp:
              * svg/SVGColor.cpp:
              * svg/SVGColor.idl:
              * svg/SVGComponentTransferFunctionElement.cpp:
              * svg/SVGComponentTransferFunctionElement.h:
              * svg/SVGCursorElement.cpp:
              * svg/SVGDefsElement.cpp:
              * svg/SVGDescElement.cpp:
              * svg/SVGDescElement.h:
              * svg/SVGDocument.idl:
              * svg/SVGElement.idl:
              * svg/SVGElementInstanceList.cpp:
              * svg/SVGElementInstanceList.h:
              * svg/SVGEllipseElement.cpp:
              * svg/SVGExternalResourcesRequired.cpp:
              * svg/SVGFEBlendElement.cpp:
              * svg/SVGFEBlendElement.h:
              * svg/SVGFEColorMatrixElement.cpp:
              * svg/SVGFEColorMatrixElement.h:
              * svg/SVGFEComponentTransferElement.cpp:
              * svg/SVGFEComponentTransferElement.h:
              * svg/SVGFECompositeElement.cpp:
              * svg/SVGFECompositeElement.h:
              * svg/SVGFEFloodElement.cpp:
              * svg/SVGFEFloodElement.h:
              * svg/SVGFEFuncAElement.cpp:
              * svg/SVGFEFuncAElement.h:
              * svg/SVGFEFuncBElement.cpp:
              * svg/SVGFEFuncBElement.h:
              * svg/SVGFEFuncGElement.cpp:
              * svg/SVGFEFuncGElement.h:
              * svg/SVGFEFuncRElement.cpp:
              * svg/SVGFEFuncRElement.h:
              * svg/SVGFEGaussianBlurElement.cpp:
              * svg/SVGFEGaussianBlurElement.h:
              * svg/SVGFEImageElement.cpp:
              * svg/SVGFEMergeElement.cpp:
              * svg/SVGFEMergeElement.h:
              * svg/SVGFEMergeNodeElement.cpp:
              * svg/SVGFEOffsetElement.cpp:
              * svg/SVGFEOffsetElement.h:
              * svg/SVGFETileElement.cpp:
              * svg/SVGFETileElement.h:
              * svg/SVGFETurbulenceElement.cpp:
              * svg/SVGFETurbulenceElement.h:
              * svg/SVGFilterElement.cpp:
              * svg/SVGGElement.cpp:
              * svg/SVGGradientElement.cpp:
              * svg/SVGHKernElement.idl:
              * svg/SVGLangSpace.cpp:
              * svg/SVGLangSpace.h:
              * svg/SVGLength.cpp:
              * svg/SVGLength.h:
              * svg/SVGLength.idl:
              * svg/SVGLengthList.cpp:
              * svg/SVGLengthList.h:
              * svg/SVGLineElement.cpp:
              * svg/SVGLinearGradientElement.h:
              * svg/SVGList.h:
              * svg/SVGListTraits.h:
              * svg/SVGLocatable.h:
              * svg/SVGMaskElement.cpp:
              * svg/SVGMatrix.idl:
              * svg/SVGMetadataElement.cpp:
              * svg/SVGMetadataElement.h:
              * svg/SVGMetadataElement.idl:
              * svg/SVGNumber.idl:
              * svg/SVGNumberList.cpp:
              * svg/SVGNumberList.h:
              * svg/SVGPaint.cpp:
              * svg/SVGPathElement.cpp:
              * svg/SVGPathSeg.h:
              * svg/SVGPathSegArc.cpp:
              * svg/SVGPathSegArc.h:
              * svg/SVGPathSegClosePath.cpp:
              * svg/SVGPathSegClosePath.h:
              * svg/SVGPathSegCurvetoCubic.cpp:
              * svg/SVGPathSegCurvetoCubic.h:
              * svg/SVGPathSegCurvetoCubicSmooth.cpp:
              * svg/SVGPathSegCurvetoCubicSmooth.h:
              * svg/SVGPathSegCurvetoQuadratic.cpp:
              * svg/SVGPathSegCurvetoQuadratic.h:
              * svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
              * svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * svg/SVGPathSegLineto.cpp:
              * svg/SVGPathSegLineto.h:
              * svg/SVGPathSegLinetoHorizontal.cpp:
              * svg/SVGPathSegLinetoHorizontal.h:
              * svg/SVGPathSegLinetoVertical.cpp:
              * svg/SVGPathSegLinetoVertical.h:
              * svg/SVGPathSegMoveto.cpp:
              * svg/SVGPathSegMoveto.h:
              * svg/SVGPatternElement.cpp:
              * svg/SVGPoint.idl:
              * svg/SVGPointList.cpp:
              * svg/SVGPointList.h:
              * svg/SVGPolyElement.cpp:
              * svg/SVGPolygonElement.cpp:
              * svg/SVGPolygonElement.h:
              * svg/SVGPolylineElement.cpp:
              * svg/SVGPolylineElement.h:
              * svg/SVGPreserveAspectRatio.cpp:
              * svg/SVGPreserveAspectRatio.h:
              * svg/SVGRadialGradientElement.h:
              * svg/SVGRect.idl:
              * svg/SVGRectElement.cpp:
              * svg/SVGRenderingIntent.h:
              * svg/SVGSVGElement.idl:
              * svg/SVGScriptElement.cpp:
              * svg/SVGSetElement.cpp:
              * svg/SVGSetElement.h:
              * svg/SVGStopElement.cpp:
              * svg/SVGStringList.cpp:
              * svg/SVGStringList.h:
              * svg/SVGStylable.cpp:
              * svg/SVGStylable.h:
              * svg/SVGStyleElement.cpp:
              * svg/SVGStyleElement.h:
              * svg/SVGStyledElement.h:
              * svg/SVGStyledLocatableElement.cpp:
              * svg/SVGStyledLocatableElement.h:
              * svg/SVGStyledTransformableElement.cpp:
              * svg/SVGStyledTransformableElement.h:
              * svg/SVGSwitchElement.cpp:
              * svg/SVGSymbolElement.cpp:
              * svg/SVGTRefElement.cpp:
              * svg/SVGTSpanElement.cpp:
              * svg/SVGTSpanElement.h:
              * svg/SVGTests.h:
              * svg/SVGTextElement.cpp:
              * svg/SVGTextElement.h:
              * svg/SVGTextPathElement.cpp:
              * svg/SVGTextPositioningElement.cpp:
              * svg/SVGTextPositioningElement.h:
              * svg/SVGTitleElement.cpp:
              * svg/SVGTitleElement.h:
              * svg/SVGTransform.cpp:
              * svg/SVGTransform.h:
              * svg/SVGTransform.idl:
              * svg/SVGTransformList.cpp:
              * svg/SVGTransformList.h:
              * svg/SVGTransformable.h:
              * svg/SVGURIReference.h:
              * svg/SVGUnitTypes.h:
              * svg/SVGUseElement.cpp:
              * svg/SVGViewElement.cpp:
              * svg/SVGZoomAndPan.cpp:
              * svg/SVGZoomAndPan.h:
              * svg/SVGZoomEvent.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34f91706
    • pfeldman@chromium.org's avatar
      2009-11-05 Pavel Feldman <pfeldman@chromium.org> · d778f685
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: beautify layout tests.
      
              https://bugs.webkit.org/show_bug.cgi?id=31189
      
              * inspector/console-dir-expected.txt:
              * inspector/console-dir.html:
              * inspector/console-dirxml-expected.txt:
              * inspector/console-dirxml.html:
              * inspector/console-format-collections-expected.txt:
              * inspector/console-format-collections.html:
              * inspector/console-format-expected.txt:
              * inspector/console-format.html:
              * inspector/console-tests-expected.txt:
              * inspector/console-tests.html:
              * inspector/console-tests.js: Added.
              (dumpConsoleMessages.callback):
              (dumpConsoleMessages):
              (dumpConsoleMessagesWithClasses.callback):
              (dumpConsoleMessagesWithClasses):
              (frontendScript_dumpConsoleMessages):
              * inspector/css-syntax-highlight.html: Removed.
              * inspector/elements-panel-structure-expected.txt:
              * inspector/elements-panel-structure.html:
              * inspector/elements-tests.js: Added.
              (frontendScript_expandDOMSubtree.processChildren):
              (frontendScript_expandDOMSubtree):
              * inspector/evaluate-in-frontend.html:
              * inspector/evaluate-in-frontend.js: Removed.
              * inspector/inspector-test.js: Added.
              ():
              (evaluateInWebInspector):
              (notifyDone):
              (output):
              (window.didEvaluateForTestInFrontend):
              * inspector/javascript-syntax-highlight.html: Removed.
              * inspector/styles-iframe.html:
              * inspector/syntax-highlight-css-expected.txt: Renamed from LayoutTests/inspector/css-syntax-highlight-expected.txt.
              * inspector/syntax-highlight-css.html: Added.
              * inspector/syntax-highlight-javascript-expected.txt: Renamed from LayoutTests/inspector/javascript-syntax-highlight-expected.txt.
              * inspector/syntax-highlight-javascript.html: Added.
              * inspector/syntax-highlight.js: Added.
              (doit.callback):
              (doit):
              (frontendScript_dumpSyntaxHighlight):
              * inspector/timeline-trivial.html:
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d778f685
    • jorlow@chromium.org's avatar
      2009-11-05 Jeremy Orlow <jorlow@chromium.org> · f401774c
      jorlow@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              REGRESSION Clean up security origin usage in DOM Storage.
              https://bugs.webkit.org/show_bug.cgi?id=31188
      
              Clean up security origin usage in DOM Storage.  This fixes a bug in my
              refactoring here: https://bugs.webkit.org/show_bug.cgi?id=31149
      
              Instead of having StorageAreaSync's constructor (which is called in the
              constructor for StorageAreaImpl) calling a method on StoargeAreaImpl to get the
              database identifier, simply have StorageAreaImpl pass the identifier into
              StorageAreaSync.
      
              No test because there's no change in externally observable behavior.
      
              * storage/StorageAreaImpl.cpp:
              (WebCore::StorageAreaImpl::StorageAreaImpl):
              * storage/StorageAreaImpl.h:
              * storage/StorageAreaSync.cpp:
              (WebCore::StorageAreaSync::create):
              (WebCore::StorageAreaSync::StorageAreaSync):
              * storage/StorageAreaSync.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f401774c
    • eric@webkit.org's avatar
      2009-11-05 Scott Violet <sky@google.com> · db2f6359
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Need notification of scrolling frame
              https://bugs.webkit.org/show_bug.cgi?id=31145
      
              Adds FrameLoaderClient::didChangeScrollOffset that is called when
              the frame scrolls. This will be used to know when history state
              needs to be updated.
      
              * loader/FrameLoaderClient.h:
              (WebCore::FrameLoaderClient::didChangeScrollOffset):
              * page/FrameView.cpp:
              (WebCore::FrameView::valueChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db2f6359
    • eric@webkit.org's avatar
      2009-11-05 Shu Chang <Chang.Shu@nokia.com> · 270695c4
      eric@webkit.org authored
              Reviewed by Adele Peterson.
      
              The number of selected lines in textarea after a shift-PageDown
              may differ. The test case is modified so that it will not depend
              on the exact number of lines selected. This should resolve regression
              on platforms like Qt and GTK.
              https://bugs.webkit.org/show_bug.cgi?id=31122
      
              * editing/selection/shrink-selection-after-shift-pagedown.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      270695c4
    • eric@webkit.org's avatar
      2009-11-05 Kenneth Russell <kbr@google.com> · 8c5572e4
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Update bindings to use new API for external arrays
              https://bugs.webkit.org/show_bug.cgi?id=31181
      
              No new tests; covered by existing WebGL tests.
      
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::setIndexedPropertiesToExternalArray):
              (WebCore::V8DOMWrapper::getTemplate):
              (WebCore::V8DOMWrapper::convertToV8Object):
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/custom/V8CanvasArrayCustom.h:
              (WebCore::constructCanvasArray):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c5572e4
    • hclam@chromium.org's avatar
      Not reviewed, Chromium build fix. · d3b030ad
      hclam@chromium.org authored
      Patch by Alpha Lam <hclam@chromium.org> on 2009-11-05
      50561 introduces a custom method for SVGMatrix, we need to implement
      this in V8.
      
      * bindings/v8/custom/V8CustomBinding.h:
      Adding definition for V8SVGMatrixMultiply.
      * bindings/v8/custom/V8SVGMatrixCustom.cpp:
      (WebCore::CALLBACK_FUNC_DECL):
      Implement V8SVGMatrixMultiply according to the same method in JSC.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3b030ad
    • pfeldman@chromium.org's avatar
      2009-11-05 Pavel Feldman <pfeldman@chromium.org> · 6def1bf6
      pfeldman@chromium.org authored
              Not reviewed: empty line in expectations build fix.
      
              * fast/events/event-listener-map-rehash-crash-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6def1bf6
    • jorlow@chromium.org's avatar
      Revert 50569 since it broke QT. Build fix and just a revert, so no review. · a6d15ba3
      jorlow@chromium.org authored
      Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-11-05
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::sessionStorage):
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      (WebCore::Settings::setSessionStorageEnabled):
      * page/Settings.h:
      (WebCore::Settings::sessionStorageEnabled):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6d15ba3
    • pfeldman@chromium.org's avatar
      2009-11-05 Pavel Feldman <pfeldman@chromium.org> · 8acaaec2
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              REGRESSION: Web Inspector doesn't show CSS rules properly for iframes
      
              https://bugs.webkit.org/show_bug.cgi?id=30884
      
              Test: inspector/styles-iframe.html
      
              * inspector/front-end/DOMAgent.js:
              (WebInspector.DOMNode):
              * inspector/front-end/InjectedScript.js:
              (InjectedScript.getStyles):
              (InjectedScript.getComputedStyle):
              (InjectedScript.addStyleSelector):
              * inspector/front-end/TestController.js:
              (WebInspector.TestController.prototype.notifyDone):
              (WebInspector.TestController.prototype.runAfterPendingDispatches):
              (WebInspector.evaluateForTestInFrontend.invokeMethod):
              (WebInspector.evaluateForTestInFrontend):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8acaaec2
    • dglazkov@chromium.org's avatar
      WebCore: · fca5c5cf
      dglazkov@chromium.org authored
      2009-11-05  Vitaly Repeshko  <vitalyr@chromium.org>
      
              Reviewed by Geoffrey Garen and Dimitri Glazkov.
      
              Rehashing of EventListenerMap leads to loss of EvenListenerList.
              https://bugs.webkit.org/show_bug.cgi?id=31027
      
              Tested by new fast/events/event-listener-map-rehash-crash.html.
      
              EventListenerMap modified to store pointers to listener vectors:
              * dom/EventTarget.cpp:
              (WebCore::EventTargetData::~EventTargetData):
              (WebCore::EventTarget::addEventListener):
              (WebCore::EventTarget::removeEventListener):
              (WebCore::EventTarget::fireEventListeners):
              (WebCore::EventTarget::getEventListeners):
              (WebCore::EventTarget::removeAllEventListeners):
              * dom/EventTarget.h:
      
              Usages updated after interface changes:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::getEventListenersForNode):
              * svg/SVGUseElement.cpp:
              (WebCore::SVGUseElement::transferEventListenersToShadowTree):
      
      LayoutTests:
      
      2009-11-05  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Geoffrey Garen.
      
              Rehashing of EventListenerMap leads to loss of EvenListenerList.
              https://bugs.webkit.org/show_bug.cgi?id=31027
      
              * fast/events/event-listener-map-rehash-crash.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fca5c5cf
    • bweinstein@apple.com's avatar
      Rubber-stamped by Adam Roben. · 05bee366
      bweinstein@apple.com authored
      Add ruby tests and failing accessibility test to Windows Skipped list,
      we should be able to re-add ruby tests, but not sure the correct course
      of action yet.
      
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05bee366
    • eric@webkit.org's avatar
      2009-11-05 Dan Kegel <dank@chromium.org> · c6460c6b
      eric@webkit.org authored
              Reviewed by Dmitri Titov.
      
              Add missing initialization for m_createdByParser.
              https://bugs.webkit.org/show_bug.cgi?id=31089
      
              Test: fast/dom/beforeload/pi-before-load.xhtml in Valgrind
      
              * dom/ProcessingInstruction.cpp:
              (WebCore::ProcessingInstruction::ProcessingInstruction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6460c6b
    • eric@webkit.org's avatar
      2009-11-04 Eric Seidel <eric@webkit.org> · 872f1f38
      eric@webkit.org authored
              No review, just add a line which got left out of the patch uploaded for commit.
      
              commit-queue is crashing when trying to reject patches after unknown failures
              https://bugs.webkit.org/show_bug.cgi?id=31091
      
              * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      872f1f38
    • jorlow@chromium.org's avatar
      2009-11-04 Jeremy Orlow <jorlow@chromium.org> · de683865
      jorlow@chromium.org authored
              Reviewed by Adam Barth.
      
              DOM Storage runtime flag changes
              https://bugs.webkit.org/show_bug.cgi?id=30602
      
              Part 2/2.
      
              Revert my changes to Settings and instead implement DOM Storage enabling via
              the methods agreed upon in https://bugs.webkit.org/show_bug.cgi?id=30240
      
              This stuff was (intentionally) never exposed to web pages or DRT, so there's no
              LayoutTest visible changes and thus no tests.
      
              * bindings/v8/custom/V8CustomBinding.h:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::ACCESSOR_RUNTIME_ENABLER):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::sessionStorage):
              * page/DOMWindow.idl:
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
              * storage/Storage.cpp:
              (WebCore::Storage::setLocalStorageAvailable):
              (WebCore::Storage::localStorageAvailable):
              (WebCore::Storage::setSessionStorageAvailable):
              (WebCore::Storage::sessionStorageAvailable):
              * storage/Storage.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de683865
    • jianli@chromium.org's avatar
      Bug 31108 - [V8] REGRESSION: Pause on exception is broken · 3135592a
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31108
      
      Reviewed by Pavel Feldman.
      
      * bindings/v8/V8AbstractEventListener.cpp:
      (WebCore::V8AbstractEventListener::invokeEventHandler):
      * bindings/v8/V8Utilities.cpp:
      (WebCore::reportException):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3135592a
    • aroben@apple.com's avatar
      Make CFDictionaryPropertyBag::createInstance return a COMPtr · 9acbd551
      aroben@apple.com authored
      I also cleaned up CFDictionaryPropertyBag's class declaration a little
      while I was at it.
      
      Part of <http://webkit.org/b/25294> <rdar://problem/6803127> All
      WebKit/win classes should return COMPtrs from their static constructor
      members
      
      Reviewed by Steve Falkenburg.
      
      * CFDictionaryPropertyBag.cpp:
      (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Changed to
      initialize m_refCount to 0. m_refCount gets increased to 1 by
      createInstance.
      (CFDictionaryPropertyBag::createInstance): Changed to return a COMPtr.
      
      * CFDictionaryPropertyBag.h:
        - Updated copyright years
        - Fixed header guard to match current style
        - Replaced #include of CoreFoundation.h with forward-declaration of
          CFMutableDictionaryRef
        - Added #include of COMPtr.h
        - Fixed opening brace placement in class declaration
        - Made createInstance return a COMPtr
        - Made constructor/destructor private
        - Made QueryInterface and IPropertyBag functions private
        - Removed unnecessary parameter names and MIDL comments
      
      * WebCache.cpp:
      (WebCache::statistics): Updated for change to
      CFDictionaryPropertyBag::createInstance. Now uses releaseRef to place
      the IPropertyBag pointers into the s array.
      
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
      * WebDatabaseManager.cpp:
      (WebDatabaseManager::dispatchDidModifyDatabase):
      * WebFrame.cpp:
      (WebFrame::createJavaAppletWidget):
      Updated for change to CFDictionaryPropertyBag::createInstance.
      
      * WebHistory.cpp: Removed releaseUserInfo, which is no longer needed.
      That function was also doing an unnecessary call to setDictionary(0).
      (createUserInfoFromArray):
      (createUserInfoFromHistoryItem):
      Changed to return COMPtr.
      
      (WebHistory::loadFromURL): Updated for change to
      CFDictionaryPropertyBag::createInstance.
      
      (WebHistory::removeAllItems): Updated for change to
      CFDictionaryPropertyBag::createInstance, which fixed a leak! We had
      forgotten to call releaseUserInfo here.
      
      (WebHistory::removeItem):
      (WebHistory::addItem):
      (WebHistory::visitedURL):
      * WebIconDatabase.cpp:
      (postDidAddIconNotification):
      Updated for change to CFDictionaryPropertyBag::createInstance.
      
      * WebKitClassFactory.cpp:
      (releaseRefFromCreateInstance): Added this overloaded function
      template to abstract away the difference between createInstance
      functions that return a ref'd pointer and createInstance functions
      that return a COMPtr.
      (WebKitClassFactory::CreateInstance): Changed to use
      releaseRefFromCreateInstance.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9acbd551
    • jianli@chromium.org's avatar
      WebCore: We should not bubble up events if we drag something to an iframe that · c309c0d8
      jianli@chromium.org authored
      has an invalid source.
      https://bugs.webkit.org/show_bug.cgi?id=30469
      
      Reviewed by Dmitri Titov.
      
      Test: http/tests/misc/bubble-drag-events.html
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleDragAndDropForTarget):
      (WebCore::EventHandler::updateDragAndDrop):
      (WebCore::EventHandler::cancelDragAndDrop):
      (WebCore::EventHandler::performDragAndDrop):
      * page/EventHandler.h:
      (WebCore::EventHandler::):
      
      LayoutTests: Tests the drag event bubbling on different targets:
      - iframe with invalid source
      - iframe with valid source
      - non-iframe droppable element
      https://bugs.webkit.org/show_bug.cgi?id=30469
      
      Reviewed by Dmitri Titov.
      
      * http/tests/misc/bubble-drag-events-expected.txt: Added.
      * http/tests/misc/bubble-drag-events.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c309c0d8
    • aroben@apple.com's avatar
      Remove bogus else clause in bugzilla-tool · 05d206c8
      aroben@apple.com authored
      Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
      create-bug raises exception after entering bug description
      
      Reviewed by David Kilzer.
      
      * Scripts/bugzilla-tool:
      (CreateBug): else clauses are only hit if no exception is raised, so
      it makes no sense to try to re-raise the exception in an else clause.
      The exception will automatically be re-raised if it doesn't match any
      of the except clauses, so we don't have to do anything special here at
      all to get the desired behavior.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05d206c8
    • pfeldman@chromium.org's avatar
      2009-11-05 Pavel Feldman <pfeldman@chromium.org> · 18b34345
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: speed up Timelines Clear by a factor of thousands.
      
              https://bugs.webkit.org/show_bug.cgi?id=31160
      
              * inspector/front-end/utilities.js:
              (Element.prototype.removeChildren):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18b34345
    • eric@webkit.org's avatar
      2009-11-05 Shu Chang <Chang.Shu@nokia.com> · 57dec07c
      eric@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              Add support for Shift-PageUp and Shift-PageDown key events.
              https://bugs.webkit.org/show_bug.cgi?id=31166
      
              Test: LayoutTests/editing/selection/shrink-selection-after-shift-pagedown.html
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::handleKeyboardEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57dec07c
    • eric@webkit.org's avatar
      2009-11-05 Anton Muhin <antonm@chromium.org> · 0e8293c5
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              If high memory usage is detected, hint to V8 that it might be due
              to external objects retained by V8 objects.
              https://bugs.webkit.org/show_bug.cgi?id=31051
      
              * bindings/v8/V8GCController.cpp:
              (WebCore::GetMemoryUsageInMB):
              (WebCore::V8GCController::gcEpilogue):
              (WebCore::V8GCController::checkMemoryUsage):
              * bindings/v8/V8GCController.h:
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::evaluate):
              (WebCore::V8Proxy::runScript):
              (WebCore::V8Proxy::callFunction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e8293c5
    • eric@webkit.org's avatar
      2009-11-05 Jeff Schiller <codedread@gmail.com> · 9c8348b3
      eric@webkit.org authored
              Reviewed by Simon Fraser.
      
              Added test to ensure proper order of matrix multiplication with SVGMatrix.
              https://bugs.webkit.org/show_bug.cgi?id=16062
      
              * svg/dom/SVGMatrix-interface-expected.txt: Added.
              * svg/dom/SVGMatrix-interface.xhtml: Added.
      2009-11-05  Jeff Schiller  <codedread@gmail.com>
      
              Reviewed by Simon Fraser.
      
              Correct order of matrix multiplication for SVGMatrix.
              https://bugs.webkit.org/show_bug.cgi?id=16062
      
              Test: svg/dom/SVGMatrix-interface.xhtml
      
              * bindings/js/JSSVGMatrixCustom.cpp:
              (WebCore::JSSVGMatrix::multiply):
              * svg/SVGMatrix.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c8348b3
    • pfeldman@chromium.org's avatar
      2009-11-04 Pavel Feldman <pfeldman@chromium.org> · c2b52d21
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Make resource-related records in timeline
              actually take some time.
      
              https://bugs.webkit.org/show_bug.cgi?id=31139
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel):
              (WebInspector.TimelinePanel.prototype._formatRecord):
              (WebInspector.TimelinePanel.prototype._getRecordDetails):
              (WebInspector.TimelinePanel.prototype.reset):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2b52d21
    • eric@webkit.org's avatar
      2009-11-05 Priit Laes <plaes@plaes.org> · 8086c253
      eric@webkit.org authored
              Reviewed by Jan Alonzo.
      
              [Gtk] Build failure with --enable-introspection
              https://bugs.webkit.org/show_bug.cgi?id=31102
      
              Add search and include paths for JSCore-1.0.gir required by
              gobject-introspection tools.
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8086c253
    • jorlow@chromium.org's avatar
      2009-11-04 Jeremy Orlow <jorlow@chromium.org> · 0c1101d8
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              Simplify LocalStorageThread
              https://bugs.webkit.org/show_bug.cgi?id=30935
      
              This is a re-submit of 50519.  LocalStorageTask should have never been ref
              counted.  I've removed that and switched a PassRefPtr over to a PassOwnPtr.
      
              On LocalStoragethread: Remove reference counting. Get rid of locking. Make some
              of the method names a bit more clear. Assert proper thread usage. Join rather
              than detaching the thread and doing an ad-hoc form of join. Avoid touching
              variables on the background thread when simple to do so.  Also create a generic
              scheduleTask function rather than one for each task.
      
              No behavior should have changed.
      
              * storage/LocalStorageTask.h:
              * storage/LocalStorageThread.cpp:
              (WebCore::LocalStorageThread::create):
              (WebCore::LocalStorageThread::LocalStorageThread):
              (WebCore::LocalStorageThread::~LocalStorageThread):
              (WebCore::LocalStorageThread::start):
              (WebCore::LocalStorageThread::threadEntryPointCallback):
              (WebCore::LocalStorageThread::threadEntryPoint):
              (WebCore::LocalStorageThread::scheduleTask):
              (WebCore::LocalStorageThread::terminate):
              (WebCore::LocalStorageThread::performTerminate):
              * storage/LocalStorageThread.h:
              * storage/StorageSyncManager.cpp:
              (WebCore::StorageSyncManager::StorageSyncManager):
              (WebCore::StorageSyncManager::~StorageSyncManager):
              (WebCore::StorageSyncManager::scheduleImport):
              (WebCore::StorageSyncManager::scheduleSync):
              * storage/StorageSyncManager.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c1101d8
    • jorlow@chromium.org's avatar
      2009-11-04 Jeremy Orlow <jorlow@chromium.org> · 4d20fd20
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              Calling databaseIdentifier on LocalStorage's background thread is not safe.
              https://bugs.webkit.org/show_bug.cgi?id=31149
      
              Calling SecurityOrigin::databaseIdentifier on LocalStorage's background thread
              is not safe.  databaseIdentifier does a bunch of string concatenation which
              ref-counts StringImpls in some cases.  This was caught by valgrind thread
              sanitizer: http://code.google.com/p/chromium/issues/detail?id=25645
      
              There's no way to test for such racyness, unfortunately.
      
              * storage/StorageAreaSync.cpp:
              (WebCore::StorageAreaSync::StorageAreaSync):
              (WebCore::StorageAreaSync::performImport):
              * storage/StorageAreaSync.h:
              * storage/StorageSyncManager.cpp:
              (WebCore::StorageSyncManager::fullDatabaseFilename):
              * storage/StorageSyncManager.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d20fd20
    • hausmann@webkit.org's avatar
      Last Qt 4.5 build fix (*sigh*) · 1f437454
      hausmann@webkit.org authored
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-05
      * tests/qwebpage/tst_qwebpage.cpp:
      (inputMethodHints): inputMethodHints() is only used for
      Qt 4.6, so guard the whole function.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f437454
    • jorlow@chromium.org's avatar
      2009-11-03 Jeremy Orlow <jorlow@chromium.org> · 969574db
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              Clean up StorageAreaSync
              https://bugs.webkit.org/show_bug.cgi?id=31100
      
              Major fixes: Break the ref count cycle for StorageArea on the main
              thread, not the background thread since the latter is not safe.
              Length() needs to block on the import completing.
      
              Small fixes: setItem needs to handle the copy on write case even if it
              has an exception.  setItem and removeItem should just bail from the
              the function if the value hasn't changed rather than wrapping the end
              in an if block.  Clear should only send an event if it wasn't already
              cleared.  StorageAreaSync should assert that the final sync was
              scheduled.
      
              * storage/StorageAreaImpl.cpp:
              (WebCore::StorageAreaImpl::length):
                Forgot to block on the import.
              (WebCore::StorageAreaImpl::key):
              (WebCore::StorageAreaImpl::setItem):
                Handle the copy on write case even when there's an exception.
              (WebCore::StorageAreaImpl::removeItem):
              (WebCore::StorageAreaImpl::clear):
              * storage/StorageAreaSync.cpp:
              (WebCore::StorageAreaSync::~StorageAreaSync):
              (WebCore::StorageAreaSync::scheduleFinalSync):
              (WebCore::StorageAreaSync::performImport):
              (WebCore::StorageAreaSync::markImported):
              (WebCore::StorageAreaSync::blockUntilImportComplete):
              * storage/StorageAreaSync.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      969574db
    • hausmann@webkit.org's avatar
      Another prospective build fix against Qt 4.5 (build bot) · 25f3fc0a
      hausmann@webkit.org authored
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-05
      Don't compile & run the QGraphicsWebView portion of the
      input methods auto test with Qt 4.5.
      
      * tests/qwebpage/tst_qwebpage.cpp:
      (tst_QWebPage::inputMethods_data):
      (inputMethodHints):
      (inputMethodEnabled):
      (tst_QWebPage::inputMethods):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25f3fc0a
    • zoltan@webkit.org's avatar
      Use ARMv7 specific encoding for immediate constants on ARMv7 target · 0014c97b
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31060
      
      Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-11-05
      Reviewed by Gavin Barraclough.
      
      * assembler/ARMAssembler.cpp:
      (JSC::ARMAssembler::getOp2): Use INVALID_IMM
      (JSC::ARMAssembler::getImm): Use encodeComplexImm for complex immediate
      (JSC::ARMAssembler::moveImm): Ditto.
      (JSC::ARMAssembler::encodeComplexImm): Encode a constant by one or two
      instructions or a PC relative load.
      * assembler/ARMAssembler.h: Use INVALID_IMM if a constant cannot be
      encoded as an immediate constant.
      (JSC::ARMAssembler::):
      (JSC::ARMAssembler::movw_r): 16-bit immediate load
      (JSC::ARMAssembler::movt_r): High halfword 16-bit immediate load
      (JSC::ARMAssembler::getImm16Op2): Encode immediate constant for
      movw_r and mowt_r
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0014c97b
    • hausmann@webkit.org's avatar
      Prospective build fix against Qt 4.5 (build bot) · 952ee726
      hausmann@webkit.org authored
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-05
      * Api/qgraphicswebview.cpp:
      (QGraphicsWebViewPrivate::setInputMethodEnabled): Guard the
      use of Qt 4.6 specific API with #ifdefs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      952ee726
    • hausmann@webkit.org's avatar
      [Qt] Fix enabling of input method support on QGraphicsWebView. · 5c7bd63c
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=30605
      
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-01
      Reviewed by Kenneth Christiansen.
      
      Instead of setting the unsupported widget attribute on the
      QGraphicsWidget in setInputMethodEnabled() set the
      ItemAcceptsInputMethod GraphicsItem flag directly.
      
      Changed the existing input method auto test to run once
      on a QWebView and once on a QGraphicsWebView.
      
      * Api/qgraphicswebview.cpp:
      (QGraphicsWebViewPrivate::setInputMethodEnabled):
      * tests/qwebpage/tst_qwebpage.cpp:
      (tst_QWebPage::inputMethods_data):
      (inputMethodHints):
      (inputMethodEnabled):
      (tst_QWebPage::inputMethods):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c7bd63c
    • hausmann@webkit.org's avatar
      Added QGraphicsWebView::modified property, for consistency · 4e67f21d
      hausmann@webkit.org authored
      with QWebView.
      
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-04
      Reviewed by Kenneth Christiansen.
      
      * Api/qgraphicswebview.cpp:
      (QGraphicsWebView::isModified):
      * Api/qgraphicswebview.h:
      * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
      (tst_QGraphicsWebView::qgraphicswebview):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e67f21d
    • hausmann@webkit.org's avatar
      Removed status and progress properties of QGraphicsWebView. · 69c7391f
      hausmann@webkit.org authored
      Added loadProgress and statusBarMessage signals instead,
      after API review.
      
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-04
      Reviewed by Kenneth Christiansen.
      
      * Api/qgraphicswebview.cpp:
      (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
      (QGraphicsWebView::setPage):
      * Api/qgraphicswebview.h:
      * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
      (tst_QGraphicsWebView::qgraphicswebview):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69c7391f
    • zoltan@webkit.org's avatar
      Allow custom memory allocation control for WebCore's CachedResource · f853c264
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31114
      
      Reviewed by Eric Seidel.
      
      Inherits CachedResource class from Noncopyable because its (its child
      class) CachedCSSStyleSheet instantiated by 'new' in WebCore/loader/Cache.cpp:75 
      and it is no need to be copyable.
      
      * loader/CachedResource.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f853c264
    • eric@webkit.org's avatar
      2009-11-04 Eric Seidel <eric@webkit.org> · 9a38170e
      eric@webkit.org authored
              Reviewed by David Kilzer.
      
              svn-apply's fixChangeLogPatch function seems broken
              https://bugs.webkit.org/show_bug.cgi?id=30683
      
              Update fixChangeLogPatch to be able to handle patches which
              don't start at line 1.
              Add unit tests for svn-apply to scm_unittest.py.
      
              * Scripts/VCSUtils.pm:
              * Scripts/modules/scm_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a38170e
  2. 04 Nov, 2009 3 commits
    • eric@webkit.org's avatar
      2009-11-04 Mark Mentovai <mark@chromium.org> · f4943765
      eric@webkit.org authored
              Reviewed by Mark Rowe.
      
              Provide TARGETING_TIGER and TARGETING_LEOPARD as analogues to
              BUILDING_ON_TIGER and BUILDING_ON_LEOPARD.  The TARGETING_ macros
              consider the deployment target; the BUILDING_ON_ macros consider the
              headers being built against.
      
              * wtf/Platform.h:
      2009-11-04  Mark Mentovai  <mark@chromium.org>
      
              Reviewed by Mark Rowe.
      
              Separate the difference between HAVE(CGINTERPOLATION_MEDIUM), which
              is true when building on 10.6 or later, and USE(CGINTERPOLATION_MEDIUM)
              which is true when targeting 10.6 or later.
      
              HAVE(CGINTERPOLATION_MEDIUM) indicates that kCGInterpolationMedium
              is present in the CGInterpolationQuality enum, and must be handled
              by a switch that has cases for each enumerated value.
      
              USE(CGINTERPOLATION_MEDIUM) indicates that the product will only run
              on 10.6 or later, and that CoreGraphics will understand when
              InterpolationMedium is mapped to kCGInterpolationMedium at runtime.
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::setImageInterpolationQuality):
              (WebCore::GraphicsContext::imageInterpolationQuality):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4943765
    • eric@webkit.org's avatar
      2009-11-04 Dan Kegel <dank@chromium.org> · 6e9b4315
      eric@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              Fix buffer overrun in WebCore::Page::userStyleSheetLocationChanged()
              https://bugs.webkit.org/show_bug.cgi?id=31138
      
              Test: LayoutTests/platform/mac/fast/loader/user-stylesheet-fast-path.html in Valgrind
      
              * page/Page.cpp:
              (WebCore::Page::userStyleSheetLocationChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e9b4315
    • timothy@apple.com's avatar
      Update the Web Inspector Timeline panel to better match the mock-up. · 2b9827da
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=31150
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel.prototype._getRecordDetails):
      (WebInspector.TimelinePanel.prototype._dragWindow):
      (WebInspector.TimelinePanel.prototype._resizeWindowLeft):
      (WebInspector.TimelinePanel.prototype._resizeWindowRight):
      (WebInspector.TimelineCategoryTreeElement.prototype.onattach):
      (WebInspector.TimelineRecordTreeElement.prototype.onattach):
      (WebInspector.TimelineRecordTreeElement.prototype.refresh):
      (WebInspector.TimelineCategoryGraph):
      * inspector/front-end/inspector.css:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b9827da