1. 25 Sep, 2006 3 commits
    • andersca's avatar
      2006-09-25 Anders Carlsson <acarlsson@apple.com> · faf7bea9
      andersca authored
              Reviewed by Maciej.
      
              * css/MediaList.cpp:
              Remove unused header.
              
              * dom/Document.cpp:
              (WebCore::Document::clear):
              Use clear instead of iterating through the list of event listeners, removing each one.
              (Doing that causes a crash when running the layout tests with GuardMalloc turned on)
              
              * html/HTMLKeygenElement.cpp:
              (WebCore::HTMLKeygenElement::HTMLKeygenElement):
              (WebCore::HTMLKeygenElement::appendFormData):
              Update due to changes in the SSL key generator.
              
              * ksvg2/svg/SVGAngle.cpp:
              Remove unused header.
              
              * ksvg2/svg/SVGAnimationElement.cpp:
              (SVGAnimationElement::parseMappedAttribute):
              Rename methods and pass Strings instead of DeprecatedStrings to
              parseSeparatedList.
              
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              * ksvg2/svg/SVGFEMergeElement.cpp:
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              Remove unused headers.
              
              * ksvg2/svg/SVGHelper.cpp:
              (WebCore::SVGHelper::parseSeparatedList):
              * ksvg2/svg/SVGHelper.h:
              Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a 
              DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.
              
              * ksvg2/svg/SVGLengthList.cpp:
              (WebCore::SVGLengthList::parse):
              * ksvg2/svg/SVGLengthList.h:
              Use Vector<String> instead of DeprecatedStringList.
              
              * loader/Cache.cpp:
              (WebCore::Cache::requestImage):
              (WebCore::Cache::requestStyleSheet):
              (WebCore::Cache::requestScript):
              (WebCore::Cache::requestXSLStyleSheet):
              (WebCore::Cache::requestXBLDocument):
              (WebCore::Cache::remove):
              (WebCore::Cache::get):
              Use a String as the key in the cache set instead of a RefPtr<StringImpl>.
              
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::needReload):
              * loader/DocLoader.h:
              Use a HashSet instead of DeprecatedStringList.
              
              * page/FrameView.h:
              Remove declarations that have no functions.
              
              * platform/SSLKeyGenerator.h:
              * platform/mac/SSLKeyGeneratorMac.mm:
              (WebCore::supportedKeySizes):
              (WebCore::signedPublicKeyAndChallengeString):
              Convert to use Vector<String> instead of DeprecatedStringList, and String instead of
              DeprecatedString.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faf7bea9
    • hyatt's avatar
      Fix win32 cursor build bustage. · 844b7fbc
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      844b7fbc
    • hyatt's avatar
      Cleanup in RenderThemeWin and GraphicsContextCairo/Win · 5b1bc975
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b1bc975
  2. 24 Sep, 2006 9 commits
    • eseidel's avatar
      2006-09-24 Eric Seidel <eric@eseidel.com> · f4596d6d
      eseidel authored
              Reviewed by beth.
      
              Browsers disagree on behavior for an invalid fill
              http://bugzilla.opendarwin.org/show_bug.cgi?id=11017
      
              * svg/custom/invalid-fill-expected.checksum: Added.
              * svg/custom/invalid-fill-expected.png: Added.
              * svg/custom/invalid-fill-expected.txt: Added.
              * svg/custom/invalid-fill.svg: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4596d6d
    • eseidel's avatar
      2006-09-24 Eric Seidel <eric@eseidel.com> · 947551c1
      eseidel authored
              Reviewed by hyatt.
      
              <svg:a> cannot be styled with a:hover
              http://bugzilla.opendarwin.org/show_bug.cgi?id=11005
              
              Test: svg/hixie/cascade/002.xml
      
              * css/cssstyleselector.cpp:
              (WebCore::checkPseudoState):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      947551c1
    • weinig's avatar
      Reviewed by Tim H. · 3e7e81ca
      weinig authored
              Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10882
              SVG needs Obj-C DOM bindings
      
              - Auto-generate the first 8 Objective-C SVG DOM bindings.  The 
                auto-generated classes are DOMSVGAngle, DOMSVGLength, DOMSVGLengthList,
                DOMSVGMatrix, DOMSVGPathSeg, DOMSVGPathSegList, DOMSVGTransform, and 
                DOMSVGTransformList.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMSVG.h: Added.
              * ksvg2/svg/SVGAngle.idl:
              * ksvg2/svg/SVGLength.idl:
              * ksvg2/svg/SVGLengthList.idl:
              * ksvg2/svg/SVGMatrix.idl:
              * ksvg2/svg/SVGPathSeg.idl:
              * ksvg2/svg/SVGPathSegList.idl:
              * ksvg2/svg/SVGTransform.idl:
              * ksvg2/svg/SVGTransformList.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e7e81ca
    • rwlbuis's avatar
      Hopefully this unbreaks the build, should fix linux build too. · 3cbd7a8e
      rwlbuis authored
      Thanks to WildFox and buildbot for the notification.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3cbd7a8e
    • rwlbuis's avatar
      Reviewed by eseidel. · bbdae5c3
      rwlbuis authored
              Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6001
              WebKit does not handle fallback custom cursors
              Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6002
              WebKit does not properly handle SVG <cursor> element
      
              Add support for svg cursor images. Also make sure hotspot
              settings are handled correctly. Add tests for handling of css3
              cursor syntax with hotspots in strict and quirks mode. Finally
              implement fallback.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbdae5c3
    • weinig's avatar
      Reviewed by Tim H. · 4f67b13c
      weinig authored
              Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11009
              Auto-generate the internal methods interfaces for the Objective-C bindings
      
              - Auto-generate the internal method declarations into their own files
                named in the form DOMFooBarInternal.h for class DOMFooBar.
      
              - Remove all use of DOM_cast from code.
      
              - Assorted cleanups.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOM.mm:
              (-[DOMNode _initWithNode:WebCore::]):
              (-[DOMNode WebCore::]):
              (-[DOMRange dealloc]):
              (-[DOMRange finalize]):
              (-[DOMRange _initWithRange:WebCore::]):
              (-[DOMRange WebCore::]):
              (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
              (-[DOMNodeFilter WebCore::]):
              (-[DOMNodeFilter dealloc]):
              (-[DOMNodeFilter finalize]):
              (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
              (-[DOMNodeIterator WebCore::]):
              (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
              (-[DOMTreeWalker WebCore::]):
              * bindings/objc/DOMAbstractView.mm:
              (-[DOMAbstractView _initWithAbstractView:WebCore::]):
              * bindings/objc/DOMCSS.mm:
              (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
              (-[DOMCSSRule _initWithRule:WebCore::]):
              (-[DOMCSSValue _initWithValue:WebCore::]):
              * bindings/objc/DOMEvents.mm:
              (-[DOMEvent _initWithEvent:WebCore::]):
              * bindings/objc/DOMHTMLAppletElement.mm:
              (-[DOMHTMLAppletElement align]):
              (-[DOMHTMLAppletElement setAlign:]):
              (-[DOMHTMLAppletElement alt]):
              (-[DOMHTMLAppletElement setAlt:]):
              (-[DOMHTMLAppletElement archive]):
              (-[DOMHTMLAppletElement setArchive:]):
              (-[DOMHTMLAppletElement code]):
              (-[DOMHTMLAppletElement setCode:]):
              (-[DOMHTMLAppletElement codeBase]):
              (-[DOMHTMLAppletElement setCodeBase:]):
              (-[DOMHTMLAppletElement height]):
              (-[DOMHTMLAppletElement setHeight:]):
              (-[DOMHTMLAppletElement hspace]):
              (-[DOMHTMLAppletElement setHspace:]):
              (-[DOMHTMLAppletElement name]):
              (-[DOMHTMLAppletElement setName:]):
              (-[DOMHTMLAppletElement object]):
              (-[DOMHTMLAppletElement setObject:]):
              (-[DOMHTMLAppletElement vspace]):
              (-[DOMHTMLAppletElement setVspace:]):
              (-[DOMHTMLAppletElement width]):
              (-[DOMHTMLAppletElement setWidth:]):
              * bindings/objc/DOMInternal.h:
              (getDOMWrapper):
              (addDOMWrapper):
              (raiseOnDOMError):
              * bindings/objc/DOMXPath.mm:
              (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
              * bindings/scripts/CodeGeneratorObjC.pm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f67b13c
    • rwlbuis's avatar
      Reviewed by eseidel. · 87d29007
      rwlbuis authored
              Fix Qt/Linux build after Dave's Scrollbar changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87d29007
    • rwlbuis's avatar
      Reviewed by eseidel. · 89d90507
      rwlbuis authored
              Qt/Linux build system changes: enable xpath/xslt by default.
              Offer possibility to change all of these using 'ccmake'.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89d90507
    • hyatt's avatar
      Clean up scrollbar API. · 83b685e4
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83b685e4
  3. 23 Sep, 2006 3 commits
    • weinig's avatar
      Reviewed by Eric. · 1a6142de
      weinig authored
              Build Fix.
      
              * DumpRenderTree/EventSendingController.m:
              (-[EventSendingController enableDOMUIEventLogging:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a6142de
    • ap's avatar
      Reviewed by Eric. · 37b0558e
      ap authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=4872
              XMLHttpRequest fails to throw an exception when there is a security violation
              (mismatching domains)
      
              Raise an exception if there is a security violation, and also in cases required by
              the current draft of XHR specification.
      
      WebCore:
              * bindings/js/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequest::getValueProperty): Raise an exception if a DOM method reports one.
              (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Raise an exception if a DOM method
              reports one, and also if there were too few arguments passed. 
      
              * bindings/js/kjs_binding.cpp:
              (KJS::setDOMException): Added support for custom XHR exceptions.
      
              * xml/xmlhttprequest.h: Changed state names to match the current spec. Defined an
              exception code range for XHR exceptions.
      
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::open): Removed a check for m_aborted that could never succeed.
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::setRequestHeader):
              (WebCore::XMLHttpRequest::getStatus):
              (WebCore::XMLHttpRequest::getStatusText):
              (WebCore::XMLHttpRequest::processSyncLoadResults):
              (WebCore::XMLHttpRequest::receivedAllData):
              (WebCore::XMLHttpRequest::receivedData):
      
      LayoutTests:
              * http/tests/xmlhttprequest/exceptions-expected.txt: Added.
              * http/tests/xmlhttprequest/exceptions.html: Added.
      
              * http/tests/xmlhttprequest/extra-parameters-expected.txt: Added.
              * http/tests/xmlhttprequest/extra-parameters.html: Added.
              * http/tests/xmlhttprequest/resources/post-echo.cgi: Added.
              Test that passing too many parameters is OK (Firefox behavior; WinIE raises an exception).
      
              * fast/dom/xmlhttprequest-get-expected.txt: Updated results. 
      
              * http/tests/xmlhttprequest/zero-length-response-expected.txt:
              * http/tests/xmlhttprequest/zero-length-response-sync-expected.txt:
              * http/tests/xmlhttprequest/zero-length-response-sync.html:
              * http/tests/xmlhttprequest/zero-length-response.html:
              Updated results and changed state names to match the current spec.
      
              * http/tests/xmlhttprequest/resources/zero-length.xml: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37b0558e
    • ap's avatar
      Reviewed by Maciej. · 5a0feea0
      ap authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10183
              REGRESSION: obfuscated JS decoding breaks because of soft hyphen removal
              (Fanfiction.net author pages not listing stories)
      
              Rolled out the fix for bug 4139.
      
              * kjs/lexer.cpp:
              (Lexer::setCode):
              (Lexer::shift):
              * tests/mozilla/ecma/Array/15.4.5.1-1.js:
              * tests/mozilla/expected.html:
      
      2006-09-22  Steve Falkenburg  <sfalken@apple.com>
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a0feea0
  4. 22 Sep, 2006 22 commits
  5. 21 Sep, 2006 3 commits
    • sfalken's avatar
      2006-09-21 Steve Falkenburg <sfalken@apple.com> · 51b1f68b
      sfalken authored
              Tweak includes.
      
              * platform/ResourceLoaderInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51b1f68b
    • ggaren's avatar
      build fixed. band happy. · b0b709e4
      ggaren authored
              
              * platform/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::translate):
              * platform/mac/WidgetMac.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0b709e4
    • ggaren's avatar
      JavaScriptCore: · 0de1f3e4
      ggaren authored
              Reviewed by Maciej.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              Updated to include the right path.
              * wtf/FastMalloc.h: #include Platform.h, since we use Platform macros.
      
      WebCore:
      
              Reviewed by Maciej.
              
              Some Widget refactoring.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/mac/FrameMac.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::runJavaScriptAlert):
              (WebCore::FrameWin::runJavaScriptConfirm):
              * bridge/win/PageWin.cpp:
              (WebCore::Page::Page):
              (WebCore::rootWindowForFrame):
              * html/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::translate):
              * page/FrameView.cpp:
              (WebCore::FrameView::isFrameView):
              * page/Page.h:
              (WebCore::Page::setInstanceHandle):
              (WebCore::Page::instanceHandle):
              * platform/GraphicsContext.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::translate):
              (WebCore::GraphicsContext::origin):
              * platform/mac/WidgetMac.mm:
              (WebCore::Widget::clearFocus):
              * platform/win/ResourceLoaderWin.cpp:
              (WebCore::initializeOffScreenResourceLoaderWindow):
              * platform/win/ScreenWin.cpp:
              (WebCore::monitorInfo):
              * platform/win/ScrollViewWin.cpp:
              (WebCore::ScrollView::updateContents):
              (WebCore::ScrollView::visibleWidth):
              (WebCore::ScrollView::visibleHeight):
              (WebCore::ScrollView::visibleContentRect):
              (WebCore::ScrollView::viewportToContents):
              (WebCore::ScrollView::contentsToViewport):
              (WebCore::ScrollView::scrollBy):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::updateScrollBars):
              * platform/win/SharedTimerWin.cpp:
              (WebCore::initializeOffScreenTimerWindow):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameView::updateBorder):
              (ScrollView::paint):
              (GraphicsContext::clip):
              * platform/win/WidgetWin.cpp:
              (WebCore::Widget::Widget):
              (WebCore::Widget::parentWindow):
              (WebCore::Widget::setParentWindow):
              (WebCore::Widget::frameGeometry):
              (WebCore::Widget::hasFocus):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setFrameGeometry):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0de1f3e4