1. 17 Jan, 2007 3 commits
    • justing's avatar
      LayoutTests: · f37c81f9
      justing authored
              Reviewed by harrison
              
              <rdar://problem/4747450>
              Gmail Editor: Caret doesn't always position itself after list marker
              <rdar://problem/4917055>
              GMail Editor: A hang can occur when attempting to apply list styling to selected indented text
      
              Added:
              * editing/execCommand/4747450-expected.checksum: Added.
              * editing/execCommand/4747450-expected.png: Added.
              * editing/execCommand/4747450-expected.txt: Added.
              * editing/execCommand/4747450.html: Added.
              * editing/execCommand/4917055-expected.txt: Added.
              * editing/execCommand/4917055.html: Added.
              Fixed:
              * editing/execCommand/create-list-with-hr-expected.checksum:
              * editing/execCommand/create-list-with-hr-expected.png:
              * editing/execCommand/create-list-with-hr-expected.txt:
      
      WebCore:
      
              Reviewed by harrison
              
              <rdar://problem/4747450>
              Gmail Editor: Caret doesn't always position itself after list marker
              <rdar://problem/4917055>
              GMail Editor: A hang can occur when attempting to apply list styling to selected indented text
      
              * editing/TextIterator.cpp:
              (WebCore::TextIterator::rangeFromLocationAndLength): Use VisiblePositions
              to compute the end of a run for emitted '\n's, because it's often wrong
              in that case.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f37c81f9
    • darin's avatar
      - quick lame attempt to get Qt compiling again · c00cbc17
      darin authored
              * platform/qt/ContextMenuQt.cpp: Removed show() function.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c00cbc17
    • bdash's avatar
      2007-01-17 Nicholas Shanks <contact@nickshanks.com> · ced566b1
      bdash authored
              Reviewed by Darin.
      
              * platform/network/ResourceRequest.h:
              (WebCore::ResourceRequest::setHTTPAccept): Correct argument name.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ced566b1
  2. 16 Jan, 2007 19 commits
    • bdakin's avatar
      Clean up merge conflict spew. · 08c3e0d0
      bdakin authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      08c3e0d0
    • bdakin's avatar
      Reviewed by Adam. · 60a42e45
      bdakin authored
              Get rid of show() and hide() since they don't do anything.
      
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::handleContextMenuEvent):
              * platform/ContextMenu.h:
              * platform/mac/ContextMenuMac.mm:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      60a42e45
    • ggaren's avatar
      Reviewed by Darin Adler. · 73427ab1
      ggaren authored
              
              Added re-entrency checking to GC allocation and collection. It is an error
              to allocate or collect from within a collection. We've had at least one 
              case of each bug in the past.
              
              Added a comment to the API header, explaining that API clients must not
              make this mistake, either.
              
              Layout tests and JS tests pass.
      
              * API/JSObjectRef.h:
              * kjs/collector.cpp:
              (KJS::GCLock::GCLock):
              (KJS::GCLock::~GCLock):
              (KJS::Collector::allocate):
              (KJS::Collector::collect):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      73427ab1
    • darin's avatar
      - updated one more test results affected by Rob's coordinates patch · 5931c49e
      darin authored
              * svg/W3C-SVG-1.1/coords-units-03-b-expected.checksum: Regenerated.
              * svg/W3C-SVG-1.1/coords-units-03-b-expected.png: Ditto.
              * svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18887 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5931c49e
    • lars's avatar
      Added the start of a public API to the Qt build · 7ab6729b
      lars authored
              of WebKit. Currently we have QWebPage and QWebFrame
              with a few small methods.
      
              Converted the QtLauncher and DumpRenderTree 
              to use the new public API.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7ab6729b
    • lars's avatar
      Reviewed by Zack · 9e2dd40f
      lars authored
              Looks like ResourceHandle _has_ to do everything
              asynchronously if we don't want to run into
              lots of trouble in the loader.
      
              Implement support data: URLs.
      
              Remove some unused Qt only code in ResourceHandleClient.h
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9e2dd40f
    • eseidel's avatar
      2007-01-16 Eric Seidel <eric@webkit.org> · 9021eebb
      eseidel authored
              Reviewed by mitz.
      
              Refactor drawTiled implementations in preparation for combining them.
              Removed unused RoundTile code path.
      
              * platform/graphics/cg/ImageCG.cpp:
              (WebCore::drawPattern):
              (WebCore::BitmapImage::drawTiled):
              (WebCore::caculatePatternScale):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18884 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9021eebb
    • darin's avatar
      Reviewed by Mark Rowe. · bd96c42a
      darin authored
              - removed unused field from loader
      
              * loader/loader.cpp:
              (WebCore::Loader::numRequests):
              (WebCore::Loader::cancelRequests):
              * loader/loader.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18883 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bd96c42a
    • rwlbuis's avatar
      Reviewed by Eric. · 1b286841
      rwlbuis authored
              http://bugs.webkit.org/show_bug.cgi?id=12272
              SVG picture is clipped (edges not visible)
      
              Expose css dpi constant and use it for svg, making
              1in amount to 96 pixels like for html.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1b286841
    • beidson's avatar
      Reviewed by Maciej · b6114ffd
      beidson authored
              * coding/coding-style.html: Added switch/case indentation rules
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b6114ffd
    • beidson's avatar
      WebCore: · 24d760b8
      beidson authored
              Reviewed by Adam
              
              CFNet additions
      
              * platform/network/AuthenticationChallenge.cpp:
              (WebCore::operator==):
              * platform/network/AuthenticationChallenge.h:
              (WebCore::AuthenticationChallenge::sourceHandle):
              (WebCore::AuthenticationChallenge::cfURLAuthChallengeRef):
              * platform/network/ResourceError.h:
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleInternal.h:
              (WebCore::ResourceHandleInternal::ResourceHandleInternal):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      24d760b8
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 3a2d0c35
      eseidel authored
              Reviewed by hyatt.
      
              Don't map attributes in namespaces other than null to CSS properties.
              
              Test: svg/custom/attribute-namespace-check.svg
      
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3a2d0c35
    • darin's avatar
      Reviewed by Darin. · a6189a1f
      darin authored
              - http://bugs.webkit.org/show_bug.cgi?id=11112
                add a drop shadow to the hand cursor used for links
      
              * Resources/linkCursor.png: Added a drop shadow.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a6189a1f
    • darin's avatar
      LayoutTests: · 81d718ee
      darin authored
              - test for http://bugs.webkit.org/show_bug.cgi?id=12190
                REGRESSION: Placeholder text does not reflect dynamic updates
      
              * fast/forms/placeholder-set-attribute-expected.checksum: Added.
              * fast/forms/placeholder-set-attribute-expected.png: Added.
              * fast/forms/placeholder-set-attribute-expected.txt: Added.
              * fast/forms/placeholder-set-attribute.html: Added.
      
      WebCore:
      
              Reviewed by Adam.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=12190
                REGRESSION: Placeholder text does not reflect dynamic updates
      
              Test: fast/forms/placeholder-set-attribute.html
      
              * html/HTMLTextFieldInnerElement.cpp:
              (WebCore::HTMLSearchFieldCancelButtonElement::defaultEventHandler):
              Call onSearch on the element since I removed it from the renderer.
      
              * rendering/RenderTextControl.h: Added explicit virtual keywords for overrides
              of virtual functions. Removed the unneeded onSearch function. Made the inheritance
              from PopupMenuClient be private, and made the overrides all private. Replaced the
              showPlaceholderIfNeeded and hidePlaceholderIfNeeded functions with updatePlaceholder.
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::createResultsButtonStyle): Added an assertion.
              (WebCore::RenderTextControl::updatePlaceholder): Added. Replaces the two
              functions, showPlaceholderIfNeeded and hidePlaceholderIfNeeded.
              (WebCore::RenderTextControl::updateFromElement): Added call to
              updatePlaceholder before updating the value. Also improved the structure
              of the function and corrected incorrect use of copy and replace.
              (WebCore::RenderTextControl::updateCancelButtonVisibility): Added an
              assertion and removed an unneeded local variable.
              (WebCore::RenderTextControl::subtreeHasChanged): Removed an unneeded
              null check and virtual function calls.
              (WebCore::RenderTextControl::forwardEvent): Replaced calls to the old
              functions with calls to updatePlaceholder.
              (WebCore::RenderTextControl::selectionChanged): Changed code to dispatch
              the select event directly -- I plan to remove the onSelect function, which
              was only called here.
              (WebCore::RenderTextControl::autosaveName): Removed too-specific cast and
              local variable.
              (WebCore::RenderTextControl::addSearchResult): Added assertion and changed
              variable name for clarity.
              (WebCore::RenderTextControl::valueChanged): Changed code to check for empty
              autosave name instead of null for consistency with other call sites that
              manage the autosave name. Also changed the code that dispatches an event
              to call onSearch on the input element so we don't need our own function.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      81d718ee
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · dbe7628a
      eseidel authored
              Reviewed by hyatt.
      
              Fix SVGStyledElement::parseMappedAttribute to only map SVG-allowed CSS properties
              (i.e. width is no longer mapped to CSS for SVG)
              Add SVGStyledElement::mapToEntry to allow RenderStyle-sharing
              http://bugs.webkit.org/show_bug.cgi?id=12060
      
              * dom/MappedAttributeEntry.h:
              (WebCore::):
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::cssPropertyIdForName): new helper
              (WebCore::mapAttributeToCSSProperty): new helper
              (WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName): new helper
              (WebCore::SVGStyledElement::mapToEntry): added.
              (WebCore::SVGStyledElement::parseMappedAttribute): use cssPropertyIdForSVGAttributeName
              * ksvg2/svg/SVGStyledElement.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      dbe7628a
    • justing's avatar
      LayoutTests: · 2b14f917
      justing authored
              Reviewed by mjs
      
              <rdar://problem/4810960>
              Gmail Editor: window.focus() called on keyDown (9640)
      
              * editing/input/attributed-substring-from-range-lines.html-disabled:
              * fast/events/keydown-1-expected.checksum: Added.
              * fast/events/keydown-1-expected.png: Added.
              * fast/events/keydown-1-expected.txt: Added.
              * fast/events/keydown-1.html: Added.
      
      WebKit:
      
              Reviewed by mjs
      
              <rdar://problem/4810960>
              Gmail Editor: window.focus() called on keyDown (9640)
      
              The window's keydown event handler was being called
              instead of the editable subframe's if there was a key binding
              for the key event.
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView performKeyEquivalent:]): Don't send the event
              to WebCore unless this WebHTMLView is the firstResponder.
      
      WebKitTools:
      
              Reviewed by mjs
      
              <rdar://problem/4810960>
              Gmail Editor: window.focus() called on keyDown (9640)
      
              * DumpRenderTree/EventSendingController.m: Send the keyDown event
              to the firstResponder, not the event's locationInWindow.  A
              key press's locationInWindow is meaningless and just a dummy 
              coordinate.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2b14f917
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 55d52b52
      eseidel authored
              Reviewed by bdash.
      
              Update header guards to follow new style guidelines using new clean-header-guards script.
      
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.h:
              * bridge/EditorClient.h:
              * bridge/History.h:
              * css/CSSStyleSheet.h:
              * css/CSSValue.h:
              * css/CSSValueList.h:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.h:
              * css/FontValue.h:
              * css/MediaFeatureNames.h:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RectImpl.h:
              * css/ShadowValue.h:
              * css/StyleBase.h:
              * css/StyleList.h:
              * css/StyleSheet.h:
              * css/StyleSheetList.h:
              * css/cssstyleselector.h:
              * dom/BeforeTextInsertedEvent.h:
              * dom/CDATASection.h:
              * dom/CharacterData.h:
              * dom/ChildNodeList.h:
              * dom/Comment.h:
              * dom/DOMImplementation.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              * dom/DocumentFragment.h:
              * dom/DocumentMarker.h:
              * dom/DocumentType.h:
              * dom/EditingText.h:
              * dom/Entity.h:
              * dom/EntityReference.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.h:
              * dom/NameNodeList.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/Notation.h:
              * dom/Position.h:
              * dom/ProcessingInstruction.h:
              * dom/Range.h:
              * dom/StyleElement.h:
              * dom/Text.h:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.h:
              * editing/CommandByName.h:
              * editing/CompositeEditCommand.h:
              * editing/DeleteButton.h:
              * editing/DeleteButtonController.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertParagraphSeparatorCommand.h:
              * editing/InsertTextCommand.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TextGranularity.h:
              * editing/TypingCommand.h:
              * editing/WrapContentsInDummySpanCommand.h:
              * history/BackForwardList.h:
              * history/HistoryItem.h:
              * history/HistoryItemTimer.h:
              * history/PageCache.h:
              * html/CanvasGradient.h:
              * html/CanvasPattern.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.h:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.h:
              * html/HTMLAppletElement.h:
              * html/HTMLAreaElement.h:
              * html/HTMLBRElement.h:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBodyElement.h:
              * html/HTMLButtonElement.h:
              * html/HTMLCanvasElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDListElement.h:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLElement.h:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.h:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFontElement.h:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.h:
              * html/HTMLFrameSetElement.h:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.h:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.h:
              * html/HTMLLabelElement.h:
              * html/HTMLLegendElement.h:
              * html/HTMLLinkElement.h:
              * html/HTMLMapElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMenuElement.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.h:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.h:
              * html/HTMLObjectElement.h:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionsCollection.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLParamElement.h:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLQuoteElement.h:
              * html/HTMLScriptElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLStyleElement.h:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.h:
              * html/HTMLTableElement.h:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextFieldInnerElement.h:
              * html/HTMLTitleElement.h:
              * html/HTMLUListElement.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocumentLoader.h:
              * loader/Request.h:
              * loader/SubresourceLoader.h:
              * loader/icon/IconDataCache.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/SQLDatabase.h:
              * loader/icon/SQLStatement.h:
              * loader/icon/SQLTransaction.h:
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              * page/FrameTree.h:
              * page/FrameView.h:
              * page/PageState.h:
              * page/Plugin.h:
              * page/qt/FrameQt.h:
              * page/qt/FrameQtClient.h:
              * platform/Arena.h:
              * platform/ArrayImpl.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedCString.h:
              * platform/FileChooser.h:
              * platform/Font.h:
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFamily.h:
              * platform/GlyphBuffer.h:
              * platform/GlyphMap.h:
              * platform/GlyphWidthMap.h:
              * platform/Logging.h:
              * platform/Pasteboard.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/ScrollBar.h:
              * platform/ScrollView.h:
              * platform/SearchPopupMenu.h:
              * platform/Shared.h:
              * platform/Sound.h:
              * platform/SystemTime.h:
              * platform/Timer.h:
              * platform/Widget.h:
              * platform/cf/RetainPtr.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/FontPlatformData.h:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyboardCodes.h:
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.h:
              * platform/graphics/BitmapImage.h:
              * platform/graphics/Color.h:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Icon.h:
              * platform/graphics/Image.h:
              * platform/graphics/ImageAnimationObserver.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/IntSize.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.h:
              * platform/graphics/Pen.h:
              * platform/graphics/qt/ImageDecoderQt.h:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/mac/FontPlatformData.h:
              * platform/mac/PlatformScrollBar.h:
              * platform/network/AuthenticationChallenge.h:
              * platform/network/Credential.h:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceError.h:
              * platform/network/ResourceRequest.h:
              * platform/network/ResourceResponse.h:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponseCFNet.h:
              * platform/network/gdk/ResourceHandleManager.h:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/qt/ResourceHandleManagerKDE.h:
              * platform/network/qt/ResourceHandleManagerQt.h:
              * platform/network/win/ResourceHandleWin.h:
              * platform/qt/FontPlatformData.h:
              * platform/qt/KeyboardCodes.h:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/ScrollViewCanvasQt.h:
              * platform/qt/SharedTimerQt.h:
              * platform/win/FontPlatformData.h:
              * platform/win/PlatformScrollBar.h:
              * rendering/AutoTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.h:
              * rendering/RenderBox.h:
              * rendering/RenderMenuList.h:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.h:
              * rendering/RenderTableCol.h:
              * rendering/RenderThemeWin.h:
              * rendering/bidi.h:
              * xml/DOMParser.h:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.h:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.h:
              * xml/XPathParser.h:
              * xml/XPathPath.h:
              * xml/XPathPredicate.h:
              * xml/XPathResult.h:
              * xml/XPathStep.h:
              * xml/XPathUtil.h:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.h:
              * xml/xmlhttprequest.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      55d52b52
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · e1e1d9e2
      eseidel authored
              Reviewed by bdash.
              
              Add a script to keep our header guards squeaky clean.
      
              * Scripts/clean-header-guards: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e1e1d9e2
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · b81d83cc
      eseidel authored
              Reviewed by bdash.
      
              * coding/coding-style.html: update to include style for header guards
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b81d83cc
  3. 15 Jan, 2007 18 commits
    • andersca's avatar
      Build fix. · 100ab6ca
      andersca authored
              
              * loader/ProgressTracker.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      100ab6ca
    • lars's avatar
      Compile and link the ProgressTracker into the Qt build. · 07c26289
      lars authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      07c26289
    • andersca's avatar
      Reviewed by Darin. · a9fbfd35
      andersca authored
              * loader/ProgressTracker.cpp:
              Set finalProgressValue to its value explicitly instead of calculating it 
              (which causes a global initializer to be generated).
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a9fbfd35
    • andersca's avatar
      WebCore: · 358faf30
      andersca authored
              Reviewed by Darin and Adam.
      
              Move progress tracking down to WebCore.
              
              * WebCore.exp:
              Add ProgressTracker::estimatedProgress() to be used by WebKit.
              
              * WebCore.xcodeproj/project.pbxproj:
              Add ProgressTracker.[cpp|h]
              
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::prepareForLoadStart):
              (WebCore::FrameLoader::clearProvisionalLoad):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::didReceiveResponse):
              (WebCore::FrameLoader::didReceiveData):
              (WebCore::FrameLoader::didFailToLoad):
              (WebCore::FrameLoader::requestFromDelegate):
              (WebCore::FrameLoader::didFinishLoad):
              Call directly to the progress tracker instead of through the frame loader client.
              
              * loader/FrameLoaderClient.h:
              Get rid of the old methods and add new methods for tracking progress.
              
              * loader/ProgressTracker.cpp: Added.
              (WebCore::ProgressItem::ProgressItem):
              (WebCore::ProgressTracker::ProgressTracker):
              (WebCore::ProgressTracker::~ProgressTracker):
              (WebCore::ProgressTracker::estimatedProgress):
              (WebCore::ProgressTracker::reset):
              (WebCore::ProgressTracker::progressStarted):
              (WebCore::ProgressTracker::progressCompleted):
              (WebCore::ProgressTracker::finalProgressComplete):
              (WebCore::ProgressTracker::incrementProgress):
              (WebCore::ProgressTracker::completeProgress):
              (WebCore::ProgressTracker::createUniqueIdentifier):
              * loader/ProgressTracker.h: Added.
              New per page class which tracks progress.
              
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::willSendRequest):
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h:
              (WebCore::Page::progress):
              Move createUniqueIdentifier to ProgressTracker, add ProgressTracker object to Page.
              
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyFrameLoaderClient::willChangeEstimatedProgress):
              (WebCore::SVGEmptyFrameLoaderClient::didChangeEstimatedProgress):
              (WebCore::SVGEmptyFrameLoaderClient::postProgressStartedNotification):
              (WebCore::SVGEmptyFrameLoaderClient::postProgressEstimateChangedNotification):
              (WebCore::SVGEmptyFrameLoaderClient::postProgressFinishedNotification):
              Add new methods, get rid of the old ones.
      
      WebKit:
      
              Reviewed by Darin.
      
              Update to match WebCore.
              
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::willChangeEstimatedProgress):
              (WebFrameLoaderClient::didChangeEstimatedProgress):
              (WebFrameLoaderClient::postProgressStartedNotification):
              (WebFrameLoaderClient::postProgressEstimateChangedNotification):
              (WebFrameLoaderClient::postProgressFinishedNotification):
              Post the correct notifications.
              
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebViewPrivate dealloc]):
              Get rid of all progress tracking code.
              
              (-[WebView estimatedProgress]):
              Call ProgressTracker::estimatedProgress()
      
      WebKitQt:
      
              Fix build.
              
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
              (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
              (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
              * WebCoreSupport/FrameLoaderClientQt.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18868 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      358faf30
    • aroben's avatar
      LayoutTests: · 23646342
      aroben authored
              Reviewed by Anders.
      
              Fix: http://bugs.webkit.org/show_bug.cgi?id=12288
              fast/tokenizer/004 needs new results
      
              * fast/tokenizer/004.html: Changed to dump as text, changed tabs to
              spaces.
              * fast/tokenizer/004-expected.txt: Updated results.
              * fast/tokenizer/004-expected.checksum: Removed.
              * fast/tokenizer/004-expected.png: Removed.
      
      WebCore:
      
              Reviewed by Anders.
      
              Fix comment.
      
              * html/HTMLScriptElement.cpp:
              (WebCore::HTMLScriptElement::shouldExecuteAsJavaScript):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18867 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      23646342
    • sullivan's avatar
      * platform/ContextMenu.cpp: · bdeab577
      sullivan authored
              (WebCore::ContextMenu::checkOrEnableIfNeeded):
              Leopard build fix; don't declare one of the case values twice
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bdeab577
    • ap's avatar
      2007-01-15 Mitz Pettel <mitz@webkit.org> · d7f66139
      ap authored
              Reviewed by Darin.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=8604
                rowspan does not work when set through javascript
      
      WebCore:
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::updateFromElement): Mark the section for grid recalc
              if row span or column span change.
      
      LayoutTests:
              * fast/dom/HTMLTableElement/colSpan-expected.checksum: Updated.
              * fast/dom/HTMLTableElement/colSpan-expected.png: Updated.
              * fast/dom/HTMLTableElement/colSpan-expected.txt: Updated.
              * fast/dom/HTMLTableElement/colSpan.html: Removed comment about expected
              failure.
              * tables/mozilla/bugs/bug22246-2-expected.checksum: Added.
              * tables/mozilla/bugs/bug22246-2-expected.png: Added.
              * tables/mozilla/bugs/bug22246-2-expected.txt: Added.
              * tables/mozilla/bugs/bug22246-2a-expected.checksum: Added.
              * tables/mozilla/bugs/bug22246-2a-expected.png: Added.
              * tables/mozilla/bugs/bug22246-2a-expected.txt: Added.
              * tables/mozilla/bugs/bug22246-3-expected.checksum: Added.
              * tables/mozilla/bugs/bug22246-3-expected.png: Added.
              * tables/mozilla/bugs/bug22246-3-expected.txt: Added.
              * tables/mozilla/bugs/bug22246-3a-expected.checksum: Added.
              * tables/mozilla/bugs/bug22246-3a-expected.png: Added.
              * tables/mozilla/bugs/bug22246-3a-expected.txt: Added.
              * tables/mozilla_expected_failures/bugs/bug22246-2-expected.checksum: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-2-expected.png: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-2-expected.txt: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-2.html: Moved to mozilla/ since it
              no longer fails.
              * tables/mozilla_expected_failures/bugs/bug22246-2a-expected.checksum: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-2a-expected.png: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-2a-expected.txt: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-2a.html: Moved to mozilla/ since it
              no longer fails.
              * tables/mozilla_expected_failures/bugs/bug22246-3-expected.checksum: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-3-expected.png: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-3-expected.txt: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-3.html: Moved to mozilla/ since it
              no longer fails.
              * tables/mozilla_expected_failures/bugs/bug22246-3a-expected.checksum: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-3a-expected.png: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-3a-expected.txt: Removed.
              * tables/mozilla_expected_failures/bugs/bug22246-3a.html: Moved to mozilla/ since it
              no longer fails.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d7f66139
    • aroben's avatar
      WebCore: · 9b32d8ac
      aroben authored
              Reviewed by Darin.
      
              Small context menu fixes.
      
              * platform/ContextMenu.cpp:
              (WebCore::ContextMenu::populate): Fix typo.
              (WebCore::ContextMenu::checkOrEnableIfNeeded): Disabled "No Guesses
              Found", and added all enum values explicitly.
      
      WebKit:
      
              Reviewed by Darin.
      
              Fix: http://bugs.webkit.org/show_bug.cgi?id=12134
              REGRESSION: Assertion failure and crash when right clicking selection
              in forms
      
              * WebCoreSupport/WebContextMenuClient.mm:
              (fixMenusFromOldApps): Static helper to fix up menus from applications
              compiled against Tiger WebKit.
              (WebContextMenuClient::getCustomMenuFromDefaultItems): Call helper to
              fix menus.
              * WebView/WebUIDelegatePrivate.h: Fixed typo.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18864 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9b32d8ac
    • ap's avatar
      Reviewed by Darin. · 85fa531d
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=6272
              XMLHttpRequest freezes on getting a missing document with overridden Content-Length
      
              http://bugs.webkit.org/show_bug.cgi?id=6212
              Investigate disallowing some XMLHttpRequest headers from being set via setRequestHeader.
      
              Tests:
              - http/tests/xmlhttprequest/connection-error-sync.html
              - http/tests/xmlhttprequest/set-dangerous-headers.html
      
              * bindings/js/kjs_binding.cpp:
              (KJS::):
              (KJS::setDOMException): Added support for NETWORK_ERR. Changed the temporary 
              PERMISSION_DENIED error into a special case.
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/FrameLoader.h:
              Return the error object to the caller. Removed an extra local variable for error, 
              which shadowed the one from enclosing block.
      
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc): 
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc): 
              Updated to pass an error object (currently ignored).
      
              * xml/xmlhttprequest.cpp:
              (WebCore::canSetRequestHeader): Added. The headers to block include the ones from 
              the current XMLHttpRequest draft plus "Via", which is blocked by Firefox.
              (WebCore::XMLHttpRequest::send): Raise an exception if a sync request results in 
              an error.
              (WebCore::XMLHttpRequest::setRequestHeader): Call canSetRequestHeader().
              * xml/xmlhttprequest.h:
              (WebCore::): Added NETWORK_ERR and a comment about PERMISSION_DENIED.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      85fa531d
    • zack's avatar
      Optimizing rendering on the Qt platform. Mainly switch to QPixmap · 12f665e2
      zack authored
      from client-side QImage. Also clean up nasty hacks in ScrollViewCanvasQt
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18862 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      12f665e2
    • lars's avatar
      Reviewed by Zack · 2dc9a998
      lars authored
              Fix weird crashes when running the layout tests. The
              reason was that I used KURL (and thus DeprecatedString)
              in a thread. Unfortunately that class is not threadsafe
              at all.
      
      	DumpRenderTree: Fix a few smaller issues in there, and update
      	our list of skipped tests.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2dc9a998
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 119e3dab
      eseidel authored
              Reviewed by rwlbuis.
      
              Make isValid check not malloc 3 SVGStringLists for every element.
              
              No test possible, performance fix only.
      
              * ksvg2/svg/SVGTests.cpp:
              (WebCore::SVGTests::isValid):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      119e3dab
    • rwlbuis's avatar
      Reviewed by Eric. · c431efb8
      rwlbuis authored
              Remove unused member var.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18859 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c431efb8
    • rwlbuis's avatar
      Reviewed by Eric. · d1fbd1ec
      rwlbuis authored
              http://bugs.webkit.org/show_bug.cgi?id=12069
              Hit detection fails under some viewbox constraints
      
              Do not take viewBox into account when hit testing svg container.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18858 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d1fbd1ec
    • hyatt's avatar
      Fix for 12275, negative margins confuse page breaks. · fee6a321
      hyatt authored
              Reviewed by Eric
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paintChildren):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fee6a321
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@eseidel.com> · 05e5e44b
      eseidel authored
              Reviewed by mjs.
              
              SVG gradients do not notice stop additions
              http://bugs.webkit.org/show_bug.cgi?id=12192
      
              Test: svg/custom/gradient-add-stops.svg
      
              * ksvg2/svg/SVGGradientElement.cpp:
              (WebCore::SVGGradientElement::childrenChanged):
              * ksvg2/svg/SVGGradientElement.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18856 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      05e5e44b
    • hyatt's avatar
      Fix for bug 10356, positioning doesn't work with <svg> elements in... · 01fd06eb
      hyatt authored
              Fix for bug 10356, positioning doesn't work with <svg> elements in XHTML.  Change the requiresLayer
              check to use the DOM, since the old check would fail if the parent block had no element.
      
              Reviewed by Eric
      
              Added svg/custom/relative-positioning.html (absolute/fixed too)
      
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::requiresLayer):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18855 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      01fd06eb
    • eseidel's avatar
      2007-01-14 Eric Seidel <eric@webkit.org> · c3e4e274
      eseidel authored
              Reviewed by hyatt.
              
              SVG does not correctly handle float: left
              http://bugs.webkit.org/show_bug.cgi?id=12210
      
              Test: svg/custom/svg-float-border-padding.xml
      
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18854 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c3e4e274