WebKit-https.git
17 years agoBug #: 4932
eseidel [Sun, 11 Sep 2005 10:41:16 +0000 (10:41 +0000)]
Bug #: 4932
Submitted by: eseidel
Reviewed by: self, only affects SVG; build fix.
        * JavaScriptCore.xcodeproj/project.pbxproj: Fixed JSC+SVG
        Fixed JavaScriptCore+SVG after PCRE 6.1 merger.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4932

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
darin [Sun, 11 Sep 2005 09:28:00 +0000 (09:28 +0000)]
    * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Eric.
darin [Sun, 11 Sep 2005 09:23:53 +0000 (09:23 +0000)]
    Reviewed by Eric.

        * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
        two ways: 1) puts all files in a directory before any files in a subdirectory, and
        2) sort file names with numeric digits in them in a logical way, so test-33 will come
        before test-3.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Sun, 11 Sep 2005 05:27:30 +0000 (05:27 +0000)]
    Reviewed and landed by Darin.

        * Makefile.vc: Added.
        * README-Win32.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Sat, 10 Sep 2005 21:33:18 +0000 (21:33 +0000)]
    Reviewed and landed by Darin.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4820
          hexadecimal HTML entities split across TCP packets are not parsed correctly

        Wasn't able to make a layout test for this because there's no easy way to
        simulate separate writes to the tokenizer.

        * khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::parseEntity):
        Rolled back to code more like the original KDE stuff -- our change broke this --
        but changed the limit so it works with 8-character entities.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - remove test case I just added -- it's not working
darin [Sat, 10 Sep 2005 21:22:37 +0000 (21:22 +0000)]
    - remove test case I just added -- it's not working

        * layout-tests/fast/dom/document-write-infinite-recursion-expected.txt: Removed.
        * layout-tests/fast/dom/document-write-infinite-recursion.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
darin [Sat, 10 Sep 2005 21:03:44 +0000 (21:03 +0000)]
    Reviewed by Maciej.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4806
          REGRESSION <area> elements misnested inside <div> elements not working

        Test cases added:
        * layout-tests/fast/parser/area-in-div.html: Added.
        * layout-tests/fast/parser/area-in-div-expected.txt: Added.

        * khtml/html/htmlparser.h: Declared mapCreateErrorCheck.
        * khtml/html/htmlparser.cpp:
        (HTMLParser::handleError): Fix formatting and indentation.
        (HTMLParser::formCreateErrorCheck): Added code to create the form too, so we can
        squirrel the form pointer away. Return false to prevent the factory from creating it.
        (HTMLParser::mapCreateErrorCheck): Added. Same kind of thing here, but without the logic
        that prevents creating a form if there's already a form open.
        (HTMLParser::getNode): Added the code to put the map function into the table. Also
        removed the form special-case code here that accomplishes what is now done inside the
        formCreateErrorCheck above instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
darin [Sat, 10 Sep 2005 20:47:15 +0000 (20:47 +0000)]
    Reviewed by Maciej.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4367
          Crash when executing setTimeout / Date / document.write Javascript (bugtraq)

        Test cases added:
        * layout-tests/fast/dom/document-write-infinite-recursion.html: Added.
        * layout-tests/fast/dom/document-write-infinite-recursion-expected.txt: Added.

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::implicitClose): Simplify a bit to make more readable. Remove the
        code to delete the tokenizer an extra time -- that can end up deleting the newly
        created tokenizer that's still needed for the newly opened page.
        (DocumentImpl::write): Added an assertion to catch the badness that caused
        infinite recursion so it's easier to recognize next time.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - fixed compilation for WebCore (another try)
darin [Sat, 10 Sep 2005 19:10:24 +0000 (19:10 +0000)]
    - fixed compilation for WebCore (another try)

        * kjs/simple_number.h: Added more "using" lines.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - fixed compilation for WebCore
darin [Sat, 10 Sep 2005 18:58:55 +0000 (18:58 +0000)]
    - fixed compilation for WebCore

        * kjs/simple_number.h: Have to include <cmath> here to work around a bug in the GCC
        standard C++ library headers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Windows changes by Krzysztof Kowalczyk <kkowalczyk@gmail.com>.
darin [Sat, 10 Sep 2005 18:24:44 +0000 (18:24 +0000)]
    Windows changes by Krzysztof Kowalczyk <kkowalczyk@gmail.com>.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4870
          win portability: fix IS_NEGATIVE_ZERO macro in simple_number.h

        * kjs/simple_number.h:
        (KJS::isNegativeZero): Added. Inline function. Has a case for Windows that
        uses _fpclass and a case for other platforms that uses signbit.
        (KJS::SimpleNumber::fits): Use inline isNegativeZero instead of macro IS_NEGATIVE_ZERO.

        * kjs/internal.cpp: Remove definition of now-unneeded negZero global.

        * kjs/value.cpp: Touched the file because Xcode didn't know it needed to
        recompile it.

        - improved test engine

        * tests/mozilla/jsDriver.pl: Sort tests in numeric order instead of using
        a plain-ASCII sort; now test 33 will be after test 5 in any given set of
        numbered tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Sat, 10 Sep 2005 17:36:09 +0000 (17:36 +0000)]
    Reviewed and landed by Darin.

        * WebCoreSupport.subproj/WebImageRenderer.m:
        (-[WebImageRenderer drawImageInRect:fromRect:compositeOperator:context:]):
        Removed unused local variable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - add expected success result for newly-enabled test
darin [Sat, 10 Sep 2005 16:50:45 +0000 (16:50 +0000)]
    - add expected success result for newly-enabled test

        * layout-tests/dom/html/level2/html/HTMLIFrameElement11-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Dave Hyatt.
vicki [Sat, 10 Sep 2005 06:10:09 +0000 (06:10 +0000)]
    Reviewed by Dave Hyatt.

- fix <rdar://problem/4234256> REGRESSION: image tag broken in TOT

        Test cases added:
        * layout-tests/fast/replaced/image-tag-expected.checksum: Added.
        * layout-tests/fast/replaced/image-tag-expected.png: Added.
        * layout-tests/fast/replaced/image-tag-expected.txt: Added.
        * layout-tests/fast/replaced/image-tag.html: Added.

* khtml/html/htmlnames.h:
        * khtml/html/htmlfactory.cpp:
        (DOM::HTMLElementFactory::createHTMLElement):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
tomernic [Fri, 9 Sep 2005 22:14:43 +0000 (22:14 +0000)]
    Reviewed by John Sullivan.

        * History.subproj/WebBackForwardList.m:
        (-[WebBackForwardList removeItem:]):
SPI to remove a given WebHistoryItem.

        * History.subproj/WebBackForwardListPrivate.h: Added.

        * WebKit.xcodeproj/project.pbxproj:
Added WebBackForwardListPrivate.h as a private header.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoWebCore:
sullivan [Fri, 9 Sep 2005 18:34:58 +0000 (18:34 +0000)]
WebCore:

        Reviewed by Tim Omernick.

        Test cases added: none, doesn't affect layout

        - fixed <rdar://problem/4250792> Find in HTML doesn't reveal match if only match was already selected

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::findString):
        If we end up finding the previously-selected text, just go through the normal success code path
        instead of bailing out early.

WebKit:

        Reviewed by Tim Omernick.

        fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4070:
        Find in plain text won't find only occurrence if it overlaps selection

        * Misc.subproj/WebSearchableTextView.m:
        (-[NSString findString:selectedRange:options:wrap:]):
        in the wrap case, extend the search range far enough that text overlapping the
        selection (including the exact-match case) will be considered.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - fixed overloaded versions of throwError so that they substitute *all*
darin [Fri, 9 Sep 2005 01:19:19 +0000 (01:19 +0000)]
    - fixed overloaded versions of throwError so that they substitute *all*
          expected parameters into the message string -- some versions used to
          skip parameters, resulting in "%s" being printed in the error message.

        Reviewed by Geoff.

        * kjs/nodes.h: Updated declarations to use "const &" and not to name parameters
        * kjs/nodes.cpp: (Node::throwError): Updated to match above and add one missing
        call to substitute.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Geoff.
darin [Fri, 9 Sep 2005 00:51:07 +0000 (00:51 +0000)]
    Reviewed by Geoff.

        - updated to PCRE 6.1

        The original PCRE 6.1 sources are checked into the tree with the tag
        "pcre-6-1" for reference. What we're checking in right now is the original
        plus our changes to make it support UTF-16 and at least one other tweak
        (vertical tab considered whitespace). Our work to get our changes was
        done on "pcre-6-1-branch", with an anchor at "pcre-6-1-anchor" so you can
        see the evolution of the UTF-16 changes.

        Note also that there was one small change made here that's not on the branch
        in pcre_compile.c.

        * Info.plist: Updated the part of the copyright message that's about PCRE.

        * JavaScriptCore.xcodeproj/project.pbxproj: Added new PCRE source files,
        removed obsolete ones.

        * pcre/AUTHORS: Updated to PCRE 6.1. Includes credits for Apple's UTF-16
        changes, but not the credits for Google's C++ wrapper, since we don't include that.
        * pcre/COPYING: Updated to PCRE 6.1.
        * pcre/LICENCE: Ditto.
        * pcre/dftables.c: Ditto.
        * pcre/pcre-config.h: Ditto.
        * pcre/pcre.h: Ditto.

        * pcre/pcre_compile.c: Added for PCRE 6.1.
        * pcre/pcre_config.c: Ditto.
        * pcre/pcre_exec.c: Ditto.
        * pcre/pcre_fullinfo.c: Ditto.
        * pcre/pcre_get.c: Ditto.
        * pcre/pcre_globals.c: Ditto.
        * pcre/pcre_info.c: Ditto.
        * pcre/pcre_internal.h: Ditto.
        * pcre/pcre_maketables.c: Ditto.
        * pcre/pcre_ord2utf8.c: Ditto.
        * pcre/pcre_printint.c: Ditto.
        * pcre/pcre_refcount.c: Ditto.
        * pcre/pcre_study.c: Ditto.
        * pcre/pcre_tables.c: Ditto.
        * pcre/pcre_try_flipped.c: Ditto.
        * pcre/pcre_ucp_findchar.c: Ditto.
        * pcre/pcre_version.c: Ditto.
        * pcre/pcre_xclass.c: Ditto.
        * pcre/ucp.h: Ditto.
        * pcre/ucp_findchar.c: Ditto.
        * pcre/ucpinternal.h: Ditto.
        * pcre/ucptable.c: Ditto.

        * pcre/get.c: Removed.
        * pcre/internal.h: Removed.
        * pcre/maketables.c: Removed.
        * pcre/pcre.c: Removed.
        * pcre/study.c: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10495 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
vicki [Thu, 8 Sep 2005 22:54:35 +0000 (22:54 +0000)]
    Reviewed by John Sullivan.

- fixed <rdar://problem/4168089> CRASH: Using A9 Maps new interface (also occurs on google maps)

        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::getAttributeNS): add a check for the document, before checking to see if this is an HTML document

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by darin
justing [Thu, 8 Sep 2005 21:38:10 +0000 (21:38 +0000)]
    Reviewed by darin

        * Scripts/update-webkitsysteminterface: Added.
        Builds webkitsysteminterface and moves the built product and header into WebKitLibraries

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by darin
justing [Thu, 8 Sep 2005 21:35:30 +0000 (21:35 +0000)]
    Reviewed by darin

        WebCore portion of multipart/x-mixed-replace support

        * khtml/misc/loader.cpp:
        (Request::Request):
        (Loader::slotReceivedResponse):
        Only allow a multipart load for images, clear out the old multipart section to prepare for a replace
        (Loader::slotData):
        Multipart sections are delivered to the coreLoader by WebKit all at once, send eof to CachedImage::data
        * khtml/misc/loader.h:
        (khtml::CachedObject::isImage): Added
        (khtml::CachedImage::isImage):
        * kwq/KWQKJobClasses.h:
        * kwq/KWQKJobClasses.mm:
        (KIO::TransferJob::cancel):
        Added a way to cancel a subresource loader from WebCore
        * kwq/KWQLoader.h:
        * kwq/KWQLoader.mm:
        (KWQResponseIsMultipart):
        * kwq/KWQResourceLoader.h:
        * kwq/KWQResourceLoader.mm:
        (-[KWQResourceLoader jobCanceledLoad]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10490 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by darin
justing [Thu, 8 Sep 2005 21:35:08 +0000 (21:35 +0000)]
    Reviewed by darin

        WebKit portion of multipart/x-mixed-replace support

        * WebCoreSupport.subproj/WebSubresourceLoader.m:
        (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forDataSource:]):
        Subresource case: Check for Foundation level multipart support
        (-[WebSubresourceLoader didReceiveResponse:]):
        Send previously received data in a multipart section to the coreLoader
        (-[WebSubresourceLoader didReceiveData:lengthReceived:]):
        Don't send data to the coreLoader until it has been completely received
        * WebView.subproj/WebDataSource.m:
        (-[WebDataSource _startLoading:]):
        Main resource case: check for Foundation level multipart support
        (+[WebDataSource _repTypesAllowImageTypeOmission:]):
        Some server apps send data right after declaring content multipart/x-mixed-replace, and expect it to be treated as html
        (-[WebDataSource _commitIfReady:]):
        Don't ask the WebFrame to close its old WebDataSource when loading a multipart section, because we're going to reuse it
        (-[WebDataSource _receivedData:]):
        For non text/html multipart sections, we commit the data all at once, at the end
        (-[WebDataSource _doesProgressiveLoadWithMIMEType:]):
        Added heuristic for when to commit the load incrementally
        (-[WebDataSource _commitLoadWithData:]):
        Moved from _receivedData into its own function
        (-[WebDataSource _revertToProvisionalState]):
        (-[WebDataSource _setupForReplaceByMIMEType:]):
        Commits the data received for the previous multipart section if it wasn't loaded progresively, clears out the WebFrame and WebDatasource for the next multipart section
        * WebView.subproj/WebDataSourcePrivate.h:
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _transitionToCommitted:]):
        The very first multipart section is treated as a normal load, so that the back/forward list and history are updated.
        All later sections have a new load type, WebFrameLoadTypeReplace, and are treated like reloads
        (-[WebFrame _checkLoadCompleteForThisFrame]): Ditto
        (-[WebFrame _itemForRestoringDocState]): Ditto
        (-[WebFrame _setupForReplace]):
        Clears out the WebFrame for the next multipart section
        * WebView.subproj/WebFrameInternal.h:
        * WebView.subproj/WebFramePrivate.h:
        * WebView.subproj/WebFrameView.m:
        (+[WebFrameView _viewTypesAllowImageTypeOmission:]): See above
        * WebView.subproj/WebLoader.h:
        * WebView.subproj/WebLoader.m:
        (-[NSURLProtocol clearResourceData]):
        (-[NSURLProtocol setSupportsMultipartContent:]):
        * WebView.subproj/WebMainResourceLoader.m: Straightforward
        (-[WebMainResourceLoader didReceiveResponse:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago * WebKitSystemInterface.h: Update to latest
justing [Thu, 8 Sep 2005 21:33:50 +0000 (21:33 +0000)]
    * WebKitSystemInterface.h: Update to latest
        * libWebKitSystemInterface.a: ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Don Melton.
vicki [Thu, 8 Sep 2005 19:57:28 +0000 (19:57 +0000)]
    Reviewed by Don Melton.

- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4891 (HTMLIFrameElement11.js checks for
wrong title, causes false failure) and enabled HTMLIFrameElement11.html

        * layout-tests/dom/html/level2/html/HTMLIFrameElement11.js: check for correct title of resources/frame.html

        * layout-tests/dom/html/level2/html/HTMLIFrameElement11.html: Added.
        * layout-tests/dom/html/level2/html/HTMLIFrameElement11.html-disabled: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -fixed gcc 4.0 build bustage due to inconsitent return type
ggaren [Thu, 8 Sep 2005 18:05:21 +0000 (18:05 +0000)]
    -fixed gcc 4.0 build bustage due to inconsitent return type

        Reviewed by john.

        * kwq/KWQTextField.mm:
        (-[NSTextField _KWQ_currentEditor]): editor is now cast as an NSTextView
        instead of an NSText (which makes sense regardless of build bustage,
        given that we first test for isKindOfClass:[NSTextView class] before defining editor)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4863
eseidel [Thu, 8 Sep 2005 08:03:42 +0000 (08:03 +0000)]
Bug #: 4863
Submitted by: eseidel
Reviewed by: darin
        Merged various changes from KDE, including:
        Qt3->Qt4 change: QWMatrix -> QMatrix
        A few remaining DOMString -> DOMStringImpl changes
        KRenderingDevicePaintServer now inherits KCanvasResource
        Various whitespace adjustments.
        Fewer, clearer logs from kcanvas/device/quartz code.
        DOM exception support.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4863

        * ForwardingHeaders/qmatrix.h: Added.
        * WebCore+SVG/DrawDocument.mm:
        (-[DrawDocumentPrivate init]):
        (-[DrawDocumentPrivate dealloc]):
        (-[DrawDocumentPrivate setPrimaryView:]):
        * WebCore.xcodeproj/project.pbxproj:
        * kcanvas/KCanvas.cpp:
        (KCanvas::~KCanvas):
        (KCanvas::reset):
        * kcanvas/KCanvasContainer.cpp:
        (KCanvasContainer::bbox):
        (KCanvasContainer::collisions):
        (KCanvasContainer::first):
        (KCanvasContainer::last):
        * kcanvas/KCanvasContainer.h:
        * kcanvas/KCanvasFilters.cpp:
        * kcanvas/KCanvasFilters.h:
        * kcanvas/KCanvasMatrix.cpp:
        (KCanvasMatrix::KCanvasMatrix):
        (KCanvasMatrix::operator=):
        (KCanvasMatrix::operator==):
        (KCanvasMatrix::operator!=):
        (KCanvasMatrix::translate):
        (KCanvasMatrix::multiply):
        (KCanvasMatrix::scale):
        (KCanvasMatrix::rotate):
        (KCanvasMatrix::rotateFromVector):
        (KCanvasMatrix::skewX):
        (KCanvasMatrix::skewY):
        (KCanvasMatrix::qmatrix):
        * kcanvas/KCanvasMatrix.h:
        * kcanvas/KCanvasRegistry.cpp:
        (operator<<):
        * kcanvas/KCanvasRegistry.h:
        * kcanvas/KCanvasResources.cpp:
        (KCanvasResource::KCanvasResource):
        (KCanvasMarker::draw):
        * kcanvas/KCanvasResources.h:
        * kcanvas/KCanvasTreeDebug.cpp:
        (operator<<):
        * kcanvas/KCanvasView.cpp:
        (KCanvasView::setCanvas):
        * kcanvas/KCanvasView.h:
        * kcanvas/device/KRenderingFillPainter.cpp:
        (KRenderingFillPainter::draw):
        * kcanvas/device/KRenderingPaintServer.h:
        (KRenderingPaintServer::KRenderingPaintServer):
        * kcanvas/device/KRenderingPaintServerGradient.cpp:
        (KRenderingPaintServerGradient::Private::Private):
        (KRenderingPaintServerGradient::KRenderingPaintServerGradient):
        (KRenderingPaintServerGradient::listener):
        (KRenderingPaintServerGradient::setListener):
        * kcanvas/device/KRenderingPaintServerGradient.h:
        * kcanvas/device/KRenderingPaintServerPattern.cpp:
        (KRenderingPaintServerPattern::Private::Private):
        (KRenderingPaintServerPattern::KRenderingPaintServerPattern):
        (KRenderingPaintServerPattern::listener):
        (KRenderingPaintServerPattern::setListener):
        * kcanvas/device/KRenderingPaintServerPattern.h:
        * kcanvas/device/KRenderingStrokePainter.cpp:
        (KRenderingStrokePainter::setPaintServer):
        (KRenderingStrokePainter::draw):
        * kcanvas/device/KRenderingStyle.cpp:
        (KRenderingStyle::Private::Private):
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (KCanvasFilterQuartz::prepareFilter):
        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
        (cgGradientCallback):
        (KRenderingPaintServerGradientQuartz::KRenderingPaintServerGradientQuartz):
        (KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
        (KRenderingPaintServerLinearGradientQuartz::draw):
        (KRenderingPaintServerRadialGradientQuartz::draw):
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
        (KRenderingPaintServerPatternQuartz::draw):
        (KRenderingPaintServerImageQuartz::draw):
        * kdom/KDOMSettings.cpp:
        (KDOMSettings::init):
        (KDOMSettings::strToAdvice):
        * kdom/Shared.h:
        (KDOM::KDOM_SAFE_SET):
        * kdom/backends/libxml/LibXMLParser.cpp:
        (sax_start_doc):
        (sax_internal_subset):
        (sax_entity_decl):
        * kdom/bindings/IDLParser.pm:
        * kdom/bindings/IDLStructure.pm:
        * kdom/cache/KDOMCache.h:
        * kdom/cache/KDOMCachedObject.h:
        * kdom/cache/KDOMLoader.cpp:
        (DocumentLoader::setAutoloadImages):
        * kdom/cache/KDOMLoader.h:
        * kdom/core/AttrImpl.cpp:
        (AttrImpl::value):
        (AttrImpl::setPrefix):
        * kdom/core/DOMConfigurationImpl.cpp:
        (DOMConfigurationImpl::normalizeCharacters):
        * kdom/core/DOMImplementationImpl.cpp:
        (DOMImplementationImpl::DOMImplementationImpl):
        (DOMImplementationImpl::createDocument):
        (DOMImplementationImpl::idToType):
        * kdom/core/DOMImplementationImpl.h:
        * kdom/core/DocumentImpl.cpp:
        (DocumentImpl::removeListenerType):
        (DocumentImpl::getId):
        * kdom/core/DocumentTypeImpl.cpp:
        (DocumentTypeImpl::internalSubset):
        * kdom/core/NamedAttrMapImpl.cpp:
        (NamedAttrMapImpl::setValue):
        (NamedAttrMapImpl::dispatchAttrMutationEvent):
        * kdom/core/NamedNodeMapImpl.cpp:
        (RONamedNodeMapImpl::getNamedItem):
        * kdom/core/NodeImpl.cpp:
        (NodeBaseImpl::removeChildren):
        (NodeImpl::lookupNamespaceURI):
        * kdom/core/ProcessingInstructionImpl.cpp:
        (ProcessingInstructionImpl::ProcessingInstructionImpl):
        (ProcessingInstructionImpl::~ProcessingInstructionImpl):
        * kdom/core/ProcessingInstructionImpl.h:
        * kdom/core/domattrs.c:
        * kdom/css/CSSPrimitiveValueImpl.cpp:
        (FontFamilyValueImpl::FontFamilyValueImpl):
        * kdom/css/CSSStyleRuleImpl.cpp:
        (CSSStyleRuleImpl::parseString):
        * kdom/css/CSSStyleRuleImpl.h:
        * kdom/css/CSSStyleSelector.cpp:
        (CSSStyleSelector::CSSStyleSelector):
        (CSSStyleSelector::styleForElement):
        (CSSStyleSelector::applyRule):
        (CSSStyleSelector::getLangAttribute):
        * kdom/css/CSSStyleSelector.h:
        * kdom/css/CSSStyleSheetImpl.cpp:
        (CSSStyleSheetImpl::type):
        * kdom/css/CSSValueImpl.cpp:
        (ShadowValueImpl::cssText):
        * kdom/css/Font.h:
        * kdom/css/LinkStyleImpl.cpp: Added.
        (LinkStyleImpl::LinkStyleImpl):
        (LinkStyleImpl::~LinkStyleImpl):
        (LinkStyleImpl::sheet):
        * kdom/css/LinkStyleImpl.h: Added.
        * kdom/css/MediaListImpl.cpp:
        (MediaListImpl::setMediaText):
        * kdom/css/RectImpl.cpp:
        * kdom/css/RectImpl.h:
        (KDOM::RectImpl::top):
        (KDOM::RectImpl::right):
        (KDOM::RectImpl::bottom):
        (KDOM::RectImpl::left):
        * kdom/css/RenderStyle.cpp:
        (RenderStyle::diff):
        * kdom/css/RenderStyle.h:
        * kdom/css/RenderStyleDefs.cpp:
        (StyleInheritedData::StyleInheritedData):
        (StyleInheritedData::operator==):
        * kdom/css/RenderStyleDefs.h:
        * kdom/css/StyleBaseImpl.cpp:
        (CSSSelector::print):
        (CSSSelector::extractPseudoType):
        * kdom/events/EventTargetImpl.cpp:
        (EventTargetImpl::addEventListener):
        * kdom/kdom.h:
        (KDOM::):
        * kdom/ls/DOMImplementationLSImpl.cpp: Added.
        (DOMImplementationLSImpl::DOMImplementationLSImpl):
        (DOMImplementationLSImpl::~DOMImplementationLSImpl):
        (DOMImplementationLSImpl::createLSParser):
        (DOMImplementationLSImpl::createLSInput):
        (DOMImplementationLSImpl::createLSOutput):
        (DOMImplementationLSImpl::createLSSerializer):
        * kdom/ls/DOMImplementationLSImpl.h: Added.
        * kdom/ls/LSParserImpl.cpp:
        (LSParserImpl::parseURI):
        * kdom/ls/LSParserImpl.h:
        * kdom/ls/LSResourceResolverImpl.cpp:
        (LSResourceResolverImpl::resolveResource):
        * kdom/ls/LSResourceResolverImpl.h:
        * kdom/ls/LSSerializerImpl.cpp:
        (LSSerializerImpl::newLine):
        (LSSerializerImpl::writeToString):
        (LSSerializerImpl::escape):
        (LSSerializerImpl::escapeAttribute):
        * kdom/ls/LSSerializerImpl.h:
        * kdom/parser/KDOMParser.cpp:
        (Parser::handleError):
        (Parser::bufferForUrl):
        * kdom/range/RangeImpl.cpp:
        (RangeImpl::toString):
        * kdom/range/RangeImpl.h:
        * kdom/scripts/cssmakeprops:
        * kdom/scripts/cssmakevalues:
        * kdom/xpointer/PointerPartImpl.cpp:
        (PointerPartImpl::PointerPartImpl):
        * kdom/xpointer/ShortHandImpl.cpp:
        (ShortHandImpl::ShortHandImpl):
        * kdom/xpointer/XPointerEvaluatorImpl.cpp:
        (XPointerEvaluatorImpl::createXPointer):
        * kdom/xpointer/XPointerResultImpl.h:
        * kdom/xpointer/kdomxpointer.h:
        (KDOM::XPointer::):
        * ksvg2/KSVGFactory.cpp:
        (KSVGFactory::createPartObject):
        * ksvg2/css/SVGCSSStyleSelector.cpp:
        * ksvg2/events/SVGEventImpl.cpp:
        (SVGEventImpl::SVGEventImpl):
        (SVGEventImpl::initEvent):
        * ksvg2/events/SVGEventImpl.h:
        (KSVG::):
        * ksvg2/events/SVGZoomEventImpl.cpp:
        (SVGZoomEventImpl::SVGZoomEventImpl):
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (KCanvasRenderingStyle::updateFill):
        (KCanvasRenderingStyle::updateStroke):
        (KCanvasRenderingStyle::startMarker):
        (KCanvasRenderingStyle::midMarker):
        (KCanvasRenderingStyle::endMarker):
        (KCanvasRenderingStyle::filter):
        * ksvg2/misc/KSVGTimeScheduler.cpp:
        (SVGTimer::notifyAll):
        * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
        (SVGAnimateColorElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGAnimateElementImpl.cpp:
        (SVGAnimateElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGAnimationElementImpl.cpp:
        (SVGAnimationElementImpl::targetAttribute):
        (SVGAnimationElementImpl::setTargetAttribute):
        * ksvg2/svg/SVGAnimationElementImpl.h:
        * ksvg2/svg/SVGCursorElementImpl.cpp: Added.
        (SVGCursorElementImpl::SVGCursorElementImpl):
        (SVGCursorElementImpl::~SVGCursorElementImpl):
        (SVGCursorElementImpl::x):
        (SVGCursorElementImpl::y):
        (SVGCursorElementImpl::parseAttribute):
        (SVGCursorElementImpl::notifyFinished):
        * ksvg2/svg/SVGCursorElementImpl.h: Added.
        (KSVG::SVGCursorElementImpl::pixmap):
        * ksvg2/svg/SVGDOMImplementationImpl.cpp:
        (SVGDOMImplementationImpl::hasFeature):
        (SVGDOMImplementationImpl::createDocumentType):
        (SVGDOMImplementationImpl::createDocument):
        (SVGDOMImplementationImpl::typeToId):
        (SVGDOMImplementationImpl::idToType):
        * ksvg2/svg/SVGDocumentImpl.cpp:
        (SVGDocumentImpl::SVGDocumentImpl):
        (SVGDocumentImpl::createSVGElement):
        (SVGDocumentImpl::createElement):
        (SVGDocumentImpl::createElementNS):
        (SVGDocumentImpl::createEvent):
        (SVGDocumentImpl::notifyFinished):
        (SVGDocumentImpl::defaultNS):
        (SVGDocumentImpl::executeScripts):
        (SVGDocumentImpl::prepareMouseEvent):
        (SVGDocumentImpl::dispatchUIEvent):
        (SVGDocumentImpl::dispatchMouseEvent):
        * ksvg2/svg/SVGDocumentImpl.h:
        * ksvg2/svg/SVGElementImpl.cpp:
        (SVGElementImpl::getId):
        (SVGElementImpl::xmlbase):
        (SVGElementImpl::tryGetAttribute):
        (SVGElementImpl::tryGetAttributeNS):
        (SVGElementImpl::parseAttribute):
        (SVGElementImpl::addSVGEventListener):
        * ksvg2/svg/SVGElementImpl.h:
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        (SVGGradientElementImpl::parseAttribute):
        * ksvg2/svg/SVGHelper.cpp:
        (SVGHelper::PercentageOfViewport):
        * ksvg2/svg/SVGImageElementImpl.cpp:
        (SVGImageElementImpl::notifyFinished):
        * ksvg2/svg/SVGLengthListImpl.cpp:
        (SVGLengthListImpl::parse):
        * ksvg2/svg/SVGLinearGradientElementImpl.cpp:
        (SVGLinearGradientElementImpl::x2):
        * ksvg2/svg/SVGMatrixImpl.cpp:
        (SVGMatrixImpl::SVGMatrixImpl):
        (SVGMatrixImpl::postMultiply):
        (SVGMatrixImpl::postTranslate):
        (SVGMatrixImpl::postScale):
        (SVGMatrixImpl::postScaleNonUniform):
        (SVGMatrixImpl::postRotate):
        (SVGMatrixImpl::postRotateFromVector):
        (SVGMatrixImpl::postFlipX):
        (SVGMatrixImpl::postFlipY):
        (SVGMatrixImpl::postSkewX):
        (SVGMatrixImpl::postSkewY):
        (SVGMatrixImpl::multiply):
        (SVGMatrixImpl::setMatrix):
        (SVGMatrixImpl::qmatrix):
        * ksvg2/svg/SVGMatrixImpl.h:
        * ksvg2/svg/SVGPatternElementImpl.cpp:
        (SVGPatternElementImpl::parseAttribute):
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        (SVGSVGElementImpl::width):
        (SVGSVGElementImpl::height):
        (SVGSVGElementImpl::contentScriptType):
        (SVGSVGElementImpl::contentStyleType):
        (SVGSVGElementImpl::setContentStyleType):
        (SVGSVGElementImpl::createEvent):
        * ksvg2/svg/SVGSVGElementImpl.h:
        * ksvg2/svg/SVGScriptElementImpl.cpp:
        (SVGScriptElementImpl::parseAttribute):
        (SVGScriptElementImpl::executeScript):
        * ksvg2/svg/SVGScriptElementImpl.h:
        * ksvg2/svg/SVGSetElementImpl.cpp:
        (SVGSetElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGStyleElementImpl.cpp:
        (SVGStyleElementImpl::xmlspace):
        (SVGStyleElementImpl::type):
        (SVGStyleElementImpl::media):
        (SVGStyleElementImpl::title):
        (SVGStyleElementImpl::childrenChanged):
        * ksvg2/svg/SVGStyledElementImpl.cpp:
        (SVGStyledElementImpl::attach):
        * ksvg2/svg/SVGTransformableImpl.cpp:
        (SVGTransformableImpl::updateSubtreeMatrices):
        (SVGTransformableImpl::parseAttribute):
        (SVGTransformableImpl::parseTransformAttribute):
        * ksvg2/svg/SVGTransformableImpl.h:
        * kwq/KWQNamespace.h:
        (Qt::): Added LayoutDirection for Qt4 support
        * kwq/KWQWMatrix.h: #define mapping QMatrix to QWMatrix

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -added layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=4781
ggaren [Wed, 7 Sep 2005 23:27:41 +0000 (23:27 +0000)]
    -added layout test for bugzilla.opendarwin.org/show_bug.cgi?id=4781
        Date.setMonth fails with big values due to overflow

        Fix is in JavaScriptCore.

        Test cases added:

        * layout-tests/fast/js/date-big-setmonth-expected.txt: Added.
        * layout-tests/fast/js/date-big-setmonth.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4781
ggaren [Wed, 7 Sep 2005 23:27:28 +0000 (23:27 +0000)]
    -fixed bugzilla.opendarwin.org/show_bug.cgi?id=4781
        Date.setMonth fails with big values due to overflow

        Reviewed by darin.

        * kjs/date_object.cpp:
        (timetUsingCF): for consistency, changed return statement to invalidDate instead of LONG_MAX
        (KJS::fillStructuresUsingTimeArgs): modified for readability
        (KJS::fillStructuresUsingDateArgs): new function analogous to fillStructuresUsingTimeArgs
        (KJS::DateProtoFuncImp::callAsFunction): modified to use fillStructuresUsingDateArgs
        (KJS::DateObjectImp::construct): moved variable declaration to proper scope
        (KJS::DateObjectFuncImp::callAsFunction): moved variable declaration to proper scope

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10483 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -updated expected test results to reflect fix for
ggaren [Wed, 7 Sep 2005 22:08:55 +0000 (22:08 +0000)]
    -updated expected test results to reflect fix for
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4698
        kjs does not allow named functions in function expressions

        * tests/mozilla/expected.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10482 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Justin.
vicki [Wed, 7 Sep 2005 18:10:38 +0000 (18:10 +0000)]
    Reviewed by Justin.

        - fix <rdar://problem/4246096> REGRESSION links to named anchors don't scroll to the right place (4825)

        This is really just a better fix for 4233844. Also consolidated manual-tests/scrollToAnchorWithNewline.html
and the test case from Bugzilla bug 4825 into manual-tests/scrollToAnchor.html.

        Test cases added:
        * manual-tests/scrollToAnchor.html: Added.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::ContainerNodeImpl::getUpperLeftCorner): when calculating scroll position, skip child nodes of the anchor
        if they do not have text boxes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4868
eseidel [Wed, 7 Sep 2005 08:00:28 +0000 (08:00 +0000)]
Bug #: 4868
Submitted by: Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by: eseidel
        * kcanvas/KCanvasCreator.cpp:
        (KCanvasCreator::createCanvasPathData):
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
        (KRenderingDeviceQuartz::contextForImage):
        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
        (KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
        * ksvg2/svg/SVGDocumentImpl.cpp:
        (SVGDocumentImpl::~SVGDocumentImpl):
        Fixed several leaks.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4868

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10480 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Wed, 7 Sep 2005 02:38:35 +0000 (02:38 +0000)]
    Reviewed by John Sullivan.

        - fixed storage leaks; one of the leaks caused these 3 bugs:

        <rdar://problem/4231952> leaks of DOMStringImpl called from HTMLTokenizer::processToken, seen running WebKit tests
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=4797>

        <rdar://problem/4233800> leak inside DOM::DocumentImpl::DocumentImpl, seen running webkit tests
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=4795>

        <rdar://problem/4232812> leaks of NodeImpl called from HTMLParser::textCreateErrorCheck, seen running webkit tests
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=4796>

        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::setOuterHTML): Put ref/deref around call to replaceChild to avoid leaking the node being replaced.
        (HTMLElementImpl::setOuterText): Put ref/deref around call to replaceChild to avoid leaking the node being replaced.
        Also changed removeChild calls to use remove instead, both for simplicity and to fix the leak without having
        to add a SharedPtr or ref/deref pair.

        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::setCaption): Put ref/deref around call to replaceChild to avoid leaking the node being
        replaced.
        (DOM::HTMLTableElementImpl::setTHead): Ditto.
        (DOM::HTMLTableElementImpl::setTFoot): Ditto.
        (DOM::HTMLTableElementImpl::setTBody): Tweaked a bit to match the other functions as closely as possible.
        No leak here.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::remove): Added ref/deref to avoid leaking the node being removed.
        (DOM::NodeImpl::normalize): Changed two calls to removeChild to calls to remove to prevent leaks.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by harrison
justing [Tue, 6 Sep 2005 23:53:10 +0000 (23:53 +0000)]
    Reviewed by harrison

        Fixes <rdar://problem/3976872> REGRESSION (Mail): Pasted lines of plain text don't get the proper style if pasted into newlines

        For style matched paste, style information was gathered incorrectly.

        Test cases added:
        * layout-tests/editing/pasteboard/3976872-expected.txt: Added.
        * layout-tests/editing/pasteboard/3976872.html: Added.

        * khtml/editing/replace_selection_command.cpp:
        (khtml::ReplaceSelectionCommand::doApply):
        Even though the startBlock (selection.start().node()->enclosingBlockFlowElement) is where manipulation
        begins on a paste, it can be missing necessary style information.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - fixed build bustage from last checkin.
ggaren [Tue, 6 Sep 2005 23:46:39 +0000 (23:46 +0000)]
    - fixed build bustage from last checkin.

        Reviewed by haytt.

        * History.subproj/WebBackForwardList.m:
        (-[WebBackForwardList pageCacheSize]): updated debug printf since we no
        longer have a variable called 'multiplier'

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reduce the # of cached pages for a back/forward list. The old cache would cache the
hyatt [Tue, 6 Sep 2005 21:40:13 +0000 (21:40 +0000)]
Reduce the # of cached pages for a back/forward list.  The old cache would cache the
following per tab:
> 1gb memory = 16 pages per tab/window
> 512mb memory = 8 pages per tab/window
<= 512mb memory = 4 pages per tab/window

This consumes far too much memory and is way too aggressive.  The new cache sizes are
as follows:
>= 1gb memory = 3 pages per tab/window
>= 512mb memory = 2 pages per tab/window
< 512mb memory = 1 page per tab/window

        Reviewed by john

        * History.subproj/WebBackForwardList.m:
        (-[WebBackForwardList pageCacheSize]):
        * WebView.subproj/WebPreferences.m:
        (+[WebPreferences initialize]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4864
eseidel [Tue, 6 Sep 2005 10:19:02 +0000 (10:19 +0000)]
Bug #: 4864
Submitted by: Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by: eseidel
        Don't create empty fill/stroke servers if fill/stroke
        are specified as "none".
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4864

        Test cases updated:
        * svg-tests/W3C-SVG-1.1/Resources/animation-add-BE-09-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image1-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image2-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image3-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/coords-units-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-blend-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-color-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-composite-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-conv-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-diffuse-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-example-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/interact-dom-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/interact-order-02-b-targ-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/interact-order-03-b-targ-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/linking-uri-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/linkingCircle-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/linkingToc-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-03-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-04-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/rects-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/rects_b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-ellipse-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-ellipse-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-rect-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-rect-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/struct-frag-01-B-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-align-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-align-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-align-03-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-altglyph-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-extTref-BE-18-targ-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-intro-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-tref-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-ws-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/toc-sv-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/toc-svcmp-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-05-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-07-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-09-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-10-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-11-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-12-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-13-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-14-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-15-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-16-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-17-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-18-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-19-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-20-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-22-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-25-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-27-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prof-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prop-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prop-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prop-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-05-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-units-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-units-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-units-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-blend-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-color-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-conv-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-example-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-image-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-light-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-specular-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-tile-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-turb-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-dom-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-events-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-order-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-order-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-order-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-uri-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-opacity-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-05-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-render-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-05-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-07-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-07-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-09-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-10-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-line-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-rect-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-cond-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-cond-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-defs-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-06-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-group-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-group-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-symbol-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-css-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-06-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-path-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-text-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-tref-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-ws-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-ws-02-t-expected.txt:

        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (KCanvasRenderingStyle::updateFill):
        (KCanvasRenderingStyle::updateStroke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 23:12:44 +0000 (23:12 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4846
          REGRESSION: Carbon WebKit applications don't work at all

        * Carbon.subproj/HIWebView.m: Remove lots of unneeded declarations of private stuff.
        (Draw): Call WKNSWindowOverrideCGContext and WKNSWindowRestoreCGContext rather
        than calling a non-existent setCGContext: method on the context.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 23:10:18 +0000 (23:10 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4822
          REGRESSION dragging does not stop when you release the mouse button in Google Maps

        Test cases added:
        * layout-tests/fast/dom/Window/window-remove-event-listener.html: Added.
        * layout-tests/fast/dom/Window/window-remove-event-listener-expected.txt: Added.

        * khtml/ecma/kjs_window.cpp: (KJS::WindowFunc::callAsFunction):
        Fixed typo where window.removeEventListener would call addEventListener!

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 22:41:37 +0000 (22:41 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4493
          add qualifiedName checking for empty string

        * khtml/xml/dom_docimpl.cpp:
        (qualifiedNameIsValid): Added.
        (qualifiedNameIsMalformed): Added.
        (DOMImplementationImpl::createDocumentType): Added checks and exceptions using above functions.
        (DOMImplementationImpl::createDocument): Ditto.

        * layout-tests/dom/html/level2/core/createDocument08-expected.txt: Updated to expect success.
        * layout-tests/dom/html/level2/core/createDocumentType04-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10472 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoWebCore:
sullivan [Mon, 5 Sep 2005 22:26:06 +0000 (22:26 +0000)]
WebCore:

        Reviewed by Dave Hyatt.

        Test cases added: none, doesn't affect layout

        - fixed <rdar://problem/4211999> Safari quits when click-drag-hold an image that is
        set to automatically change.

        * khtml/khtmlview.cpp:
        (KHTMLView::updateDragAndDrop):
        add missing nil check

WebKit:

        Reviewed by Dave Hyatt.

        - change related to <rdar://problem/4211999> Safari quits when click-drag-hold an image
        that is set to automatically change.

        * WebView.subproj/WebHTMLView.m:
        (-[NSArray namesOfPromisedFilesDroppedAtDestination:]):
        handle nil wrapper with ERROR and early return rather than ASSERT, since we now know
        of a way to reproduce this (written up as 4244861)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10471 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 22:22:40 +0000 (22:22 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4357
          crash related to animated GIFs, reproducible in non-Safari WebKit application

        * WebCoreSupport.subproj/WebImageData.m:
        (removeAnimatingRendererFromView): Added.
        (removeFromDictionary): Added.
        (-[WebImageData removeAnimatingRenderer:]): Rewrote using CF functions rather than
        NS functions so that we never retain the views, since this can be called from
        a view's dealloc method.
        (setNeedsDisplayInAnimationRect): Added.
        (-[WebImageData _nextFrame:]): Rewrote as above, even though in this case it can't
        be called from the dealloc method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 20:25:17 +0000 (20:25 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4025
          Reproducible crash (infinite recursion?) choosing Make Link from text field's contextual menu

        * kwq/KWQTextField.mm:
        (-[KWQTextFieldController textView:shouldChangeTextInRange:replacementString:]):
        Allow a replacement string of nil.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10469 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Mon, 5 Sep 2005 17:18:59 +0000 (17:18 +0000)]
    Reviewed and landed by Darin.

        - added a test case that covers 8-digit hexadecimal entities

        * layout-tests/fast/parser/hex-entities-length.html: Added.
        * layout-tests/fast/parser/hex-entities-length-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 04:01:24 +0000 (04:01 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4274
          REGRESSION: canvas draws when window loses focus (flipped and in wrong position!)
        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4755
          "CGContext*: invalid context" messages dumped to the console (may indicate a performance hit)

        * khtml/rendering/render_canvasimage.cpp: (RenderCanvasImage::paint):
        Don't try to paint if painting is disabled.

        * kwq/KWQPainter.mm:
        (QPainter::addClip): Do nothing if painting is disabled.
        (QPainter::addRoundedRectClip): Ditto.
        (QPainter::currentContext): Assert that painting is not disabled.
        (QPainter::beginTransparencyLayer): Do nothing if painting is disabled.
        (QPainter::endTransparencyLayer): Ditto.
        (QPainter::setShadow): Ditto.
        (QPainter::clearShadow): Ditto.
        (QPainter::initFocusRing): Ditto.
        (QPainter::addFocusRingRect): Ditto.
        (QPainter::drawFocusRing): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John Sullivan.
darin [Mon, 5 Sep 2005 03:43:03 +0000 (03:43 +0000)]
    Reviewed by John Sullivan.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4393
          REGRESSION: Unconfirmed text ignored in input type=text

        Test cases added:
        * manual-tests/input-type-text-unconfirmed-inline-input.html: Added.

        * kwq/KWQTextField.mm:
        (-[KWQTextFieldController controlTextDidBeginEditing:]): Call
        setWantsNotificationForMarkedText:YES on the field editor so we get
        "text did change" calls even for changes to the marked text.
        (-[KWQTextFieldController controlTextDidChange:]): Only call the bridge
        when we have changes and there is no marked text -- this is good because
        the bridge is used to implement form auto-fill and preserves the existing
        behavior. A more elegant future fix would be to notify the bridge more often
        and have the auto-fill code itself implement the "don't auto-fill when there
        is marked text" rule.
        (-[NSTextField _KWQ_currentEditor]): Change type to NSTextView so we can
        use this function to code NSTextView-specific stuff. The field editors are
        always subclasses of NSTextView.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago * kjs/identifier.cpp: Fix comment, add missing include.
darin [Sun, 4 Sep 2005 21:38:32 +0000 (21:38 +0000)]
    * kjs/identifier.cpp: Fix comment, add missing include.
        (Follow-on to changes from yesterday.)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10465 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - added a layout test from Bugzilla for a bug that was fixed a while back
darin [Sun, 4 Sep 2005 20:56:31 +0000 (20:56 +0000)]
    - added a layout test from Bugzilla for a bug that was fixed a while back

        * layout-tests/fast/parser/script-tag-with-trailing-slash-expected.txt: Added.
        * layout-tests/fast/parser/script-tag-with-trailing-slash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago * WebKitSystemInterface.h: Update to latest
darin [Sun, 4 Sep 2005 19:53:34 +0000 (19:53 +0000)]
    * WebKitSystemInterface.h: Update to latest
        * libWebKitSystemInterface.a: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - temporarily disable LEAKS messages that are giving too many false positives
darin [Sun, 4 Sep 2005 09:55:08 +0000 (09:55 +0000)]
    - temporarily disable LEAKS messages that are giving too many false positives
          we'll turn these back on again once we get them to really mean something.

        * khtml/xml/dom_elementimpl.cpp: (ElementImplCounter::~ElementImplCounter):
        Commented out the code to fprintf.
        * khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImplCounter::~NodeImplCounter): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10462 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: none
eseidel [Sun, 4 Sep 2005 09:22:48 +0000 (09:22 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: none
        No review needed, only affects SVG, removing unused files.

        * WebCore.xcodeproj/project.pbxproj: removed ksvg2/Scripts group.
        * ksvg2/scripts/ksvgstatus.xsl: Removed.
        * ksvg2/scripts/regressiontest.sh: Removed.
        * ksvg2/scripts/regressiontestsetup.sh: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10461 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: none
eseidel [Sun, 4 Sep 2005 09:10:54 +0000 (09:10 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: none
        No review needed, only affects SVG, only replacing line endings.

        * ksvg2/svg/SVGFEBlendElementImpl.h: CRLF -> LF
        * ksvg2/svg/SVGFEFloodElementImpl.h: CRLF -> LF
        Fixed two files with windows line endings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - fixed the build
darin [Sun, 4 Sep 2005 08:23:40 +0000 (08:23 +0000)]
    - fixed the build

        * khtml/rendering/break_lines.cpp: Added missing include of <qstring.h>.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10459 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Sun, 4 Sep 2005 07:42:31 +0000 (07:42 +0000)]
    Reviewed and landed by Darin.

        - fixed <rdar://problem/3698926> so slow it feels like a hang calling UCFindTextBreak() tons of times at forum.presence-pc.com (4789)
          also http://bugzilla.opendarwin.org/show_bug.cgi?id=4789

        No test cases added because this is a performance fix. Existing test cases continue to work.

        * khtml/rendering/break_lines.h: Declare the new nextBreakablePosition and also define a new
        isBreakable function that adds an in/out "next breakable position" parameter.
        * khtml/rendering/break_lines.cpp: (khtml::nextBreakablePosition): Replaced the old isBreakable
        with this function.

        * khtml/rendering/bidi.cpp: (khtml::RenderBlock::findNextLineBreak): Call the new version of
        isBreakable that uses the previously-found "next breakable" position until we pass it rather
        than analyzing each position separately to see if we can break there.

        * khtml/rendering/render_text.cpp: (RenderText::calcMinMaxWidth): Call the new isBreakable, and
        also do some things to streamline and perhaps speed up: a) use an index withing the string rather
        than within the word when finding a word break, b) use a cached copy of the string base pointer
        and the string length rather than repeatedly dereferencing str, c) use a cached copy of the current
        character rather than repeatedly fetching it. Darin also changed one confusing use of ? : to just
        use && instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10458 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed, tweaked and landed by Darin.
darin [Sun, 4 Sep 2005 06:21:54 +0000 (06:21 +0000)]
    Reviewed, tweaked and landed by Darin.

        - another try at some of the Windows compilation fixes
          should fix these bugs: 4546, 4831, 4834, 4643, 4830, 4832, 4833, 4835

        * kjs/collector.cpp: Add missing <setjmp.h> include.
        * kjs/date_object.cpp: Fix broken copysign macro.
        * kjs/dtoa.cpp: Move macro definitions down after all header includes.
        * kjs/fast_malloc.cpp: Add missing <assert.h> and <stddef.h> includes.
        * kjs/function.cpp: Remove broken isxdigit definition.
        * kjs/grammar.y: Add a missing semicolon (and remove an excess one).
        * kjs/identifier.cpp: Turn off AVOID_STATIC_CONSTRUCTORS because the placement new syntax
        doesn't seem to work in Visual C++ (I'm surprised to hear that, by the way).
        * kjs/value.h: Made ValueImp's destructor virtual because otherwise pointers to ValueImp
        on the stack aren't right for garbage collection on Windows (don't think it works that
        way with gcc's virtual table scheme, but it's a harmless change).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed, tweaked and landed by Darin.
darin [Sun, 4 Sep 2005 01:18:13 +0000 (01:18 +0000)]
    Reviewed, tweaked and landed by Darin.

        - some Windows compilation fixes, hoping to fix the problems reported in these bugs:
          4627, 4629, 4630, 4631, 4632, 4633, 4634, 4635, 4636, 4637, 4639, 4640, 4641, 4644, 4645

        * kjs/collector.cpp: Include <windows.h> on WIN32. Put thread-related code inside
        KJS_MULTIPLE_THREADS #if directives.
        (KJS::Collector::markCurrentThreadConservatively): Use NT_TIB to find the stack base on Win32.

        * kjs/config.h: Define HAVE_SYS_TIMEB_H for Win32.

        * kjs/date_object.cpp: Add include of <limits.h>. Add definitions of strncasecmp, isfinite, and
        copysign for Win32.
        (KJS::KRFCDate_parseDate): Move "errno = 0" line down closer to the first call to strol -- I believe
        that on Win32 there's some other call before that setting errno.

        * kjs/date_object.h: Remove unneeded include of <sys/time.h>.

        * kjs/dtoa.cpp: Add an undef of strtod, needed on Win32.

        * kjs/fast_malloc.cpp: Put #if !WIN32 around some customization that's not appropriate on Win32.
        (KJS::region_list_append): Add a missing cast so this Win32-specific function compiles in C++.
        (KJS::sbrk): Change parameter type to match the declaration.

        * kjs/function.cpp: (isxdigit): Define a locale-independent isxdigit on Win32.

        * kjs/function.h: Remove unneeded friend class Function for FunctionImp.

        * kjs/identifier.cpp: Took out the APPLE_CHANGES from around the AVOID_STATIC_CONSTRUCTORS
        define. We ultimately intend to phase out APPLE_CHANGES entirely. Also fix the
        non-AVOID_STATIC_CONSTRUCTORS code path.

        * kjs/internal.cpp: Remove uneeded include of <strings.h>, which was confused with <string.h>!
        Add a Win32 implementation of copysign. Put the threads code inside KJS_MULTIPLE_THREADS.

        * kjs/internal.h: Define a KJS_MULTIPLE_THREADS macro on non-Win32 only. Later we can make this
        specific to Mac OS X if we like.

        * kjs/interpreter_map.cpp: Add missing include of <stdlib.h>.

        * kjs/list.cpp:
        (KJS::ListImp::markValues): Use std::min instead of MIN.
        (KJS::List::copy): Ditto.
        (KJS::List::copyTail): Ditto.

        * kjs/math_object.cpp: (signbit): Add a Win32 implementation of signbit.

        * kjs/nodes.cpp: (Node::finalCheck): Use unsigned instead of uint.
        Put the use of always_inline inside __GNUC__.

        * kjs/number_object.cpp: (NumberProtoFuncImp::callAsFunction): Use "10.0" instead of "10"
        inside all the calls to pow to avoid ambiguity caused by overloading of pow on Win32, seen
        when passing an int rather than a double or float.

        * kjs/operations.cpp:
        (KJS::isInf): Add Win32 implementation.
        (KJS::isPosInf): Add Win32 implementation.
        (KJS::isNegInf): Add Win32 implementation.

        * kjs/regexp.cpp: Use unsigned instead of uint.
        * kjs/regexp.h: Ditto.
        * kjs/regexp_object.cpp: Ditto.
        * kjs/regexp_object.h: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago This patch substantially reworks how mouse clicking and double clicking work in...
hyatt [Sat, 3 Sep 2005 23:10:02 +0000 (23:10 +0000)]
This patch substantially reworks how mouse clicking and double clicking work in the DOM.

(1) screenY has been fixed so that it is no longer flipped.  This makes the values consistent with
other browsers on the Mac (like Firefox) and with Windows.

(2) For synthetic events delivered when the click() method is invoked, the values are simply set to 0
and false (e.g., for button, shiftKey, detail and so on).  This behavior matches Firefox.  WinIE uses
the current key and mouse state, but this just results in delivery of nonsense data, so we have opted
to match Firefox.

(3) onclick now exactly matches the DOM "click" event definition.  This means that onclick will now
fire on every single click (regardless of the click count), and onclick will now be considered the same
event as "click", meaning addEventListener "click"s and onclicks can interleave and work correctly during
the bubbling phase.  This behavior again deviates deliberately from WinIE and matches Firefox.  (In WinIE,
the onclick and ondblclick events are mutually exclusive, with click representing an odd clickCount and
dblclick representing an even clickCount).

(4) ondblclick has been changed to fire only when clickCount is exactly 2.  This matches Firefox.  dblclick
remains a separate synthetic event that fires independently of click with a clickCount of 2.  This also
matches Firefox behavior.

(5) mouseover and mouseout have been patched not to fire when they occur on a disabled control.  More generally, no
mouse event will be delivered to a disabled element.  The current check only examines the target node, and this
is not good enough (but can be improved in a later patch).  Some nodes will be children of disabled ancestors (e.g.,
options or children of a <button), and this is not yet taken into account.

(6) The behavior of shifting focus on a mousedown has been fixed to not occur if preventDefault has been set.  This
matches Firefox.

        Reviewed by darin

        * khtml/ecma/kjs_binding.cpp:
        (KJS::ScriptInterpreter::wasRunByUserGesture):
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::getValueProperty):
        (KJS::DOMNode::putValueProperty):
        * khtml/ecma/kjs_window.cpp:
        (KJS::Window::getValueProperty):
        (KJS::Window::put):
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::parseMappedAttribute):
        (HTMLElementImpl::click):
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLInputElementImpl::defaultEventHandler):
        * khtml/html/html_inlineimpl.cpp:
        (DOM::HTMLAnchorElementImpl::defaultEventHandler):
        * khtml/khtmlview.cpp:
        (KHTMLViewPrivate::reset):
        (KHTMLView::viewportMousePressEvent):
        (KHTMLView::viewportMouseDoubleClickEvent):
        (KHTMLView::dispatchMouseEvent):
        * khtml/rendering/render_form.cpp:
        (RenderFormElement::slotClicked):
        * khtml/rendering/render_replaced.cpp:
        (RenderWidget::sendConsumedMouseUp):
        (RenderWidget::eventFilter):
        * khtml/rendering/render_replaced.h:
        * khtml/xml/EventNames.h:
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::dispatchMouseEvent):
        (DOM::NodeImpl::dispatchSimulatedMouseEvent):
        * khtml/xml/dom_nodeimpl.h:
        * kwq/KWQAccObject.mm:
        (-[KWQAccObject mouseButtonListener]):
        * kwq/KWQEvent.h:
        (QMouseEvent::globalX):
        (QMouseEvent::globalY):
        (QMouseEvent::clickCount):
        * kwq/KWQEvent.mm:
        (positionForEvent):
        (globalPositionForEvent):
        (QMouseEvent::QMouseEvent):
        * kwq/KWQWidget.mm:
        (QWidget::sendConsumedMouseUp):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10455 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - fixed a mistake in the DOM tests, and an organizational issue that made...
darin [Sat, 3 Sep 2005 20:45:35 +0000 (20:45 +0000)]
    - fixed a mistake in the DOM tests, and an organizational issue that made them hard to
          run with run-webkit-tests (because run-webkit-tests assumes that any file with an .html
          extension is one of the tests)

        * layout-tests/dom/html/level2/html/HTMLFrameElement09-expected.txt: Updated to expect success.
        The failure we were seeing was due to an incorrect title in frame.html.

        * layout-tests/dom/html/level2/html/HTMLFrameElement09.html: Updated to get at iframe.html
        and frame.html from the resources subdirectory.

        * layout-tests/dom/html/level2/html/HTMLIFrameElement11.html-disabled: Updated to get at iframe.html
        and frame.html from the resources subdirectory.

        * layout-tests/dom/html/level2/html/frame.html: Removed. Since this is not a test, moved it into the
        resources subdirectory so the layout test engine won't see it.
        * layout-tests/dom/html/level2/html/iframe.html: Ditto.

        * layout-tests/dom/html/level2/html/resources/frame.html: Moved down here from the directory above.
        Adjusted URLs that specify resources still in the directory above to use "../" to find those.
        Also corrected the title of the file which was incorrect and causing HTMLFrameElement09 to fail.
        * layout-tests/dom/html/level2/html/resources/iframe.html: More of the same.

        * layout-tests/dom/html/level2/html/frame-expected.txt: Removed. This was not a test, so it
        should not have expected results.
        * layout-tests/dom/html/level2/html/iframe-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10454 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4790
eseidel [Sat, 3 Sep 2005 08:02:28 +0000 (08:02 +0000)]
Bug #: 4790
Submitted by: eseidel
Reviewed by: none
        No review requested (only affects SVG), continuation of 4790.

        * WebCore.xcodeproj/project.pbxproj: updated include path
        * kdom/core/DocumentImpl.h: updated #include
        * kdom/xpointer/ElementSchemeImpl.h: ditto.
        * kdom/xpointer/ShortHandImpl.h: ditto.
        * kdom/xpointer/XMLNSSchemeImpl.h: ditto.
        * kdom/xpointer/XPath1SchemeImpl.h: ditto.
        * kdom/xpointer/XPointerSchemeImpl.h: ditto.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4790

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10453 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Darin.
adele [Fri, 2 Sep 2005 21:34:49 +0000 (21:34 +0000)]
    Reviewed by Darin.

        Test cases updated:  manual-tests/select_hr.html:
        updated for case where selection is changed for a list box that has an <hr> in its list items, even though it doesn't appear in the list.

        * khtml/rendering/render_form.cpp:
        (RenderSelect::slotSelectionChanged):  Added counter that increments only for visible list items (options and optgroups).  Before this change,
        list boxes that had invisible <hr>s could have the visible selected option get out of sync from the selected state.
        (RenderSelect::updateSelection):  ditto.
        * kwq/KWQListBox.h: Changed enum from ItemType to KWQListBoxItemType and values to KWQListBoxOption, KWQListBoxGroupLabel, and KWQListBoxSeparator.
        (KWQListBoxItem::KWQListBoxItem): ditto.
        (QListBox::appendItem): ditto.
        (QListBox::appendGroupLabel): ditto.
        * kwq/KWQListBox.mm:
        (QListBox::appendItem): ditto.
        (QListBox::sizeForNumberOfLines): ditto.
        (-[KWQTableView tableView:shouldSelectRow:]): ditto.
        (-[KWQTableView drawRow:clipRect:]): ditto.
        * kwq/KWQComboBox.h:
        (QComboBox::appendItem): ditto.
        (QComboBox::appendGroupLabel): ditto.
        (QComboBox::appendSeparator): ditto.
        * kwq/KWQComboBox.mm:
        (QComboBox::setTitle): ditto.
        (QComboBox::appendItem): ditto.
        (QComboBox::sizeHint): ditto.
        (QComboBox::populateMenu): ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago*** empty log message ***
bdakin [Fri, 2 Sep 2005 18:08:29 +0000 (18:08 +0000)]
*** empty log message ***

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10447 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - added back a test now that Vicki fixed it so it no longer crashes
darin [Fri, 2 Sep 2005 16:47:26 +0000 (16:47 +0000)]
    - added back a test now that Vicki fixed it so it no longer crashes

        * layout-tests/dom/html/level2/html/HTMLFrameElement09.html: Added.
        * layout-tests/dom/html/level2/html/HTMLFrameElement09-expected.txt: Added.
        * layout-tests/dom/html/level2/html/HTMLFrameElement09.html-disabled: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
darin [Fri, 2 Sep 2005 16:45:38 +0000 (16:45 +0000)]
    Reviewed by Maciej.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4757
          leaks found by code inspection in apply-style command

        * khtml/editing/apply_style_command.h: Change m_style to be a SharedPtr.
        * khtml/editing/apply_style_command.cpp:
        (khtml::StyleChange::init): Added use of SharedPtr.
        (khtml::StyleChange::currentlyHasStyle): Ditto.
        (khtml::ApplyStyleCommand::ApplyStyleCommand): Ditto.
        (khtml::ApplyStyleCommand::~ApplyStyleCommand): Ditto.
        (khtml::ApplyStyleCommand::doApply): Ditto.
        (khtml::ApplyStyleCommand::applyRelativeFontStyleChange): Ditto.
        (khtml::ApplyStyleCommand::removeCSSStyle): Ditto.
        (khtml::hasTextDecorationProperty): Ditto.
        (khtml::ApplyStyleCommand::extractTextDecorationStyle): Ditto.
        (khtml::ApplyStyleCommand::extractAndNegateTextDecorationStyle): Ditto.
        (khtml::ApplyStyleCommand::pushDownTextDecorationStyleAroundNode): Ditto.
        (khtml::ApplyStyleCommand::removeInlineStyle): Ditto.
        (khtml::ApplyStyleCommand::addInlineStyleIfNeeded): Ditto.
        (khtml::ApplyStyleCommand::computedFontSize): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10445 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4799
eseidel [Fri, 2 Sep 2005 11:15:46 +0000 (11:15 +0000)]
Bug #: 4799
Submitted by: eseidel
Reviewed by: mjs
        * ForwardingHeaders/q3ptrdict.h: Added.
        * kdom/cache/KDOMCacheHelper.h:
        * kdom/cache/KDOMCachedDocument.cpp:
        (CachedDocument::checkNotify):
        (CachedDocument::error):
        * kdom/cache/KDOMCachedImage.cpp:
        (CachedImage::do_notify):
        (CachedImage::movieStatus):
        (CachedImage::data):
        (CachedImage::error):
        * kdom/cache/KDOMCachedObject.h:
        * kdom/cache/KDOMCachedScript.cpp:
        (CachedScript::checkNotify):
        * kdom/cache/KDOMCachedStyleSheet.cpp:
        (CachedStyleSheet::checkNotify):
        (CachedStyleSheet::error):
        * kdom/cache/KDOMLoader.cpp:
        (DocumentLoader::setAutoloadImages):
        (DocumentLoader::setShowAnimations):
        (Loader::numRequests):
        (Loader::cancelRequests):
        (Loader::jobForRequest):
        * kdom/cache/KDOMLoader.h:
        * kdom/ecma/Ecma.cpp:
        (Ecma::createEventListener):
        * kdom/ecma/ScriptInterpreter.cpp:
        (ScriptInterpreter::mark):
        * kwq/KWQPtrDict.h:
        Re-ran scripts from previous commit, now including QPtrDict.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4799

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4799
eseidel [Fri, 2 Sep 2005 10:03:20 +0000 (10:03 +0000)]
Bug #: 4799
Submitted by: eseidel
Reviewed by: mjs
        * ForwardingHeaders/q3cstring.h: Added.
        * ForwardingHeaders/q3dict.h: Added.
        * ForwardingHeaders/q3intdict.h: Added.
        * ForwardingHeaders/q3memarray.h: Added.
        * ForwardingHeaders/q3paintdevicemetrics.h: Added.
        * ForwardingHeaders/q3ptrcollection.h: Added.
        * ForwardingHeaders/q3ptrlist.h: Added.
        * ForwardingHeaders/q3ptrstack.h: Added.
        * ForwardingHeaders/q3valuelist.h: Added.
        * ForwardingHeaders/q3valuevector.h: Added.
        * kcanvas/KCanvas.cpp:
        (KCanvas::setCanvasSize):
        (KCanvas::invalidate):
        * kcanvas/KCanvasFilters.h:
        (KCanvasFEColorMatrix::values):
        (KCanvasFEColorMatrix::setValues):
        * kcanvas/KCanvasItem.h:
        * kcanvas/KCanvasPath.h:
        * kcanvas/KCanvasRegistry.cpp:
        (operator<<):
        * kcanvas/KCanvasRegistry.h:
        * kcanvas/KCanvasResources.h:
        * kcanvas/KCanvasTreeDebug.h:
        (operator<<):
        * kcanvas/KCanvasTypes.h:
        * kcanvas/KCanvasView.cpp:
        * kcanvas/device/KRenderingDevice.h:
        * kcanvas/device/KRenderingDeviceFactory.cpp:
        (KRenderingDeviceFactory::request):
        (KRenderingDeviceFactory::deviceList):
        * kcanvas/device/KRenderingDeviceFactory.h:
        * kcanvas/device/KRenderingPaintServerGradient.cpp:
        (KCSortedGradientStopList::compareItems):
        * kcanvas/device/KRenderingPaintServerGradient.h:
        * kcanvas/device/KRenderingStyle.h:
        * kdom/KDOMSettings.cpp:
        (KDOMSettings::isAdFiltered):
        * kdom/cache/KDOMCache.cpp:
        (Cache::init):
        (Cache::hasPending):
        (Cache::statistics):
        * kdom/cache/KDOMCache.h:
        * kdom/cache/KDOMCacheHelper.h:
        * kdom/cache/KDOMLoader.cpp:
        (Loader::numRequests):
        (Loader::cancelRequests):
        * kdom/cache/KDOMLoader.h:
        * kdom/core/DOMList.h:
        * kdom/core/DocumentImpl.cpp:
        (DocumentImpl::getElementById):
        (DocumentImpl::setPaintDevice):
        (DocumentImpl::getId):
        * kdom/core/DocumentImpl.h:
        (KDOM::DocumentImpl::paintDeviceMetrics):
        (KDOM::DocumentImpl::IdNameMapping::~IdNameMapping):
        * kdom/core/NamedNodeMapImpl.cpp:
        (RONamedNodeMapImpl::RONamedNodeMapImpl):
        (RONamedNodeMapImpl::getNamedItem):
        * kdom/core/NamedNodeMapImpl.h:
        * kdom/core/NodeImpl.cpp:
        (NodeImpl::compareDocumentPosition):
        * kdom/core/TextImpl.cpp:
        (TextImpl::wholeText):
        (TextImpl::checkChildren):
        (TextImpl::replaceWholeText):
        (TextImpl::logicallyAdjacentTextNodes):
        * kdom/core/TextImpl.h:
        * kdom/css/CSSPrimitiveValueImpl.cpp:
        (CSSPrimitiveValueImpl::computeLength):
        (CSSPrimitiveValueImpl::computeLengthFloat):
        * kdom/css/CSSPrimitiveValueImpl.h:
        * kdom/css/CSSRuleListImpl.h:
        * kdom/css/CSSStyleDeclarationImpl.cpp:
        (CSSStyleDeclarationImpl::CSSStyleDeclarationImpl):
        (CSSStyleDeclarationImpl::operator=):
        (CSSStyleDeclarationImpl::cssText):
        (CSSStyleDeclarationImpl::setCssText):
        (CSSStyleDeclarationImpl::getPropertyCSSValue):
        (CSSStyleDeclarationImpl::removeProperty):
        (CSSStyleDeclarationImpl::getPropertyPriority):
        (CSSStyleDeclarationImpl::setProperty):
        * kdom/css/CSSStyleDeclarationImpl.h:
        (KDOM::CSSStyleDeclarationImpl::values):
        * kdom/css/CSSStyleRuleImpl.cpp:
        (CSSStyleRuleImpl::setSelector):
        * kdom/css/CSSStyleRuleImpl.h:
        (KDOM::CSSStyleRuleImpl::selector):
        * kdom/css/CSSStyleSelector.cpp:
        (CSSStyleSelector::CSSStyleSelector):
        (CSSStyleSelector::computeFontSizes):
        (CSSStyleSelector::computeFontSizesFor):
        (nextFontSize):
        (CSSStyleSelector::addInlineDeclarations):
        (CSSStyleSelector::buildLists):
        (CSSStyleSelectorList::CSSStyleSelectorList):
        (CSSStyleSelectorList::append):
        (CSSStyleSelectorList::collect):
        (CSSOrderedPropertyList::compareItems):
        (CSSOrderedPropertyList::append):
        (CSSStyleSelector::convertToLength):
        (CSSStyleSelector::applyRule):
        * kdom/css/CSSStyleSelector.h:
        (KDOM::CSSStyleSelector::fontSizes):
        (KDOM::CSSStyleSelector::fixedFontSizes):
        * kdom/css/CSSStyleSheetImpl.cpp:
        (CSSStyleSheetImpl::CSSStyleSheetImpl):
        * kdom/css/CSSValueListImpl.cpp:
        (CSSValueListImpl::cssText):
        * kdom/css/CSSValueListImpl.h:
        * kdom/css/Font.cpp:
        (Font::update):
        * kdom/css/Font.h:
        * kdom/css/KDOMCSSParser.cpp:
        (CSSParser::createStyleDeclaration):
        (CSSParser::createCSSStyleDeclaration):
        * kdom/css/KDOMCSSParser.h:
        * kdom/css/MediaListImpl.cpp:
        (MediaListImpl::mediaText):
        (MediaListImpl::deleteMedium):
        * kdom/css/MediaListImpl.h:
        * kdom/css/StyleBaseImpl.cpp:
        (StyleBaseImpl::setParsedValue):
        * kdom/css/StyleBaseImpl.h:
        * kdom/css/StyleSheetListImpl.cpp:
        (StyleSheetListImpl::~StyleSheetListImpl):
        (StyleSheetListImpl::length):
        (StyleSheetListImpl::item):
        * kdom/css/StyleSheetListImpl.h:
        * kdom/ecma/ScriptInterpreter.cpp:
        (ScriptInterpreter::forgetDOMObject):
        * kdom/events/EventTargetImpl.cpp:
        (EventTargetImpl::addEventListener):
        (EventTargetImpl::removeEventListener):
        (EventTargetImpl::dispatchEvent):
        (EventTargetImpl::handleLocalEvents):
        * kdom/events/EventTargetImpl.h:
        * kdom/ls/LSParserImpl.cpp:
        (LSParserImpl::parse):
        * kdom/parser/KDOMDocumentBuilder.cpp:
        * kdom/xpath/impl/expression.cpp:
        (Expression::~Expression):
        (Expression::optimize):
        (Expression::isConstant):
        * kdom/xpath/impl/expression.h:
        * kdom/xpath/impl/functions.cpp:
        (Function::setArguments):
        (FunctionLibrary::getFunction):
        * kdom/xpath/impl/functions.h:
        * kdom/xpath/impl/path.cpp:
        (Path::~Path):
        (Path::optimize):
        (Path::doEvaluate):
        (Path::dump):
        * kdom/xpath/impl/path.h:
        * kdom/xpath/impl/step.cpp:
        (Step::Step):
        (Step::~Step):
        (Step::evaluate):
        (Step::optimize):
        (Step::dump):
        * kdom/xpath/impl/step.h:
        * kdom/xpath/impl/tokenizer.cpp:
        (Tokenizer::isAxisName):
        (Tokenizer::isNodeTypeName):
        * kdom/xpath/impl/tokenizer.h:
        * kdom/xpath/impl/util.h:
        * kdom/xpath/impl/variablereference.cpp:
        (VariableReference::doEvaluate):
        * kdom/xpointer/impl/ElementSchemeImpl.cpp:
        (ElementSchemeImpl::evaluate):
        * kdom/xpointer/impl/ElementSchemeImpl.h:
        * kdom/xpointer/impl/XPointerEvaluatorImpl.cpp:
        (XPointerEvaluatorImpl::createXPointer):
        * kdom/xpointer/impl/XPointerExpressionImpl.cpp:
        * kdom/xpointer/impl/XPointerExpressionImpl.h:
        * ksvg2/KSVGFactory.cpp:
        (KSVGFactory::createPartObject):
        (KSVGFactory::registerPart):
        * ksvg2/KSVGFactory.h:
        (KSVG::KSVGFactory::partList):
        * ksvg2/css/KSVGCSSParser.cpp:
        (SVGCSSParser::createCSSStyleDeclaration):
        * ksvg2/css/KSVGCSSParser.h:
        * ksvg2/css/SVGCSSStyleDeclarationImpl.cpp:
        (SVGCSSStyleDeclarationImpl::SVGCSSStyleDeclarationImpl):
        * ksvg2/css/SVGCSSStyleDeclarationImpl.h:
        * ksvg2/css/SVGCSSStyleSelector.cpp:
        (SVGCSSStyleSelector::loadDefaultStyle):
        (SVGCSSStyleSelector::addExtraDeclarations):
        * ksvg2/css/SVGCSSStyleSelector.h:
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (KCanvasRenderingStyle::updateStroke):
        (KCanvasRenderingStyle::cssPrimitiveToLength):
        * ksvg2/misc/KSVGTimeScheduler.cpp:
        (SVGTimer::notifyAll):
        * ksvg2/misc/KSVGTimeScheduler.h:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        (SVGDocumentImpl::finishedParsing):
        (SVGDocumentImpl::recalcStyleSelector):
        * ksvg2/svg/SVGDocumentImpl.h:
        * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
        (SVGFEColorMatrixElementImpl::createCanvasItem):
        * ksvg2/svg/SVGList.h:
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        (SVGSVGElementImpl::pixelUnitToMillimeterX):
        (SVGSVGElementImpl::pixelUnitToMillimeterY):
        * kwq/KWQCString.h: Added #define q->q3.
        * kwq/KWQCollection.h:
        * kwq/KWQDict.h:
        * kwq/KWQIntDict.h:
        * kwq/KWQMemArray.h:
        * kwq/KWQPaintDeviceMetrics.h:
        * kwq/KWQPtrList.h:
        * kwq/KWQPtrStack.h:
        * kwq/KWQValueList.h:
        * kwq/KWQValueVector.h:
        Pulled over first section of Qt4 changes from kdom, mapping
        existing Qt3 classes to their new Qt4 names and adding necessary
        #defines to kwq to allow supporting both names.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4799

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by John.
vicki [Fri, 2 Sep 2005 00:19:29 +0000 (00:19 +0000)]
    Reviewed by John.

        Test cases added: No new tests, HTMLFrameElement09.html covers this crash

- fixed <rdar://problem/4224088> crash in KWQKHTMLPart::handledOnloadEvents loading test HTMLFrameElement09.html

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::implicitClose): nil check on the part

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10442 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
darin [Thu, 1 Sep 2005 23:40:36 +0000 (23:40 +0000)]
    Reviewed by Maciej.

        - fixed <rdar://problem/3524912> repro crash in KHTMLParser::parseToken, due to parser's current element being destroyed (www.gnnetcom.dk)

        Test cases added:
        * layout-tests/fast/parser/remove-parser-current-node.html: Added.
        * layout-tests/fast/parser/remove-parser-current-node-expected.txt: Added.

        * khtml/html/htmlparser.cpp: Changed block stack to hold a SharedPtr to the
        nodes in the stack -- needed because they might be destroyed by JavaScript.
        (HTMLParser::insertNode): Don't call attach() on the new node if the parent
        node isn't also attached. This happens when the parent node is no longer in
        the DOM tree because it was removed by JavaScript.
        (HTMLParser::popNestedHeaderTag): Updated since node is now a SharedPtr.
        (HTMLParser::handleResidualStyleCloseTagAcrossBlocks): Ditto.
        (HTMLParser::popOneBlock): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10438 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago * Scripts/run-webkit-tests:
sullivan [Thu, 1 Sep 2005 19:41:24 +0000 (19:41 +0000)]
    * Scripts/run-webkit-tests:
        Excluded a known system leak to reduce noise; added comments about which leaks
        are being excluded.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10437 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4790
eseidel [Thu, 1 Sep 2005 18:57:53 +0000 (18:57 +0000)]
Bug #: 4790
Submitted by: eseidel
Reviewed by: sullivan
        * kwq/KWQSlot.mm: changed ksvg2/core to ksvg/misc
        Build fix: issed one include from previous change.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4790

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10436 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Change made by Darin, reviewed by John and myself.
tomernic [Thu, 1 Sep 2005 18:51:02 +0000 (18:51 +0000)]
    Change made by Darin, reviewed by John and myself.

- Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).

        * Scripts/prepare-ChangeLog:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10435 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Justin.
harrison [Thu, 1 Sep 2005 18:03:35 +0000 (18:03 +0000)]
    Reviewed by Justin.

        <rdar://problem/4054701> assertion failure in khtml::isEqualIgnoringAffinity using VoiceOver in new Mail message

        Problem was that an AXTextMarker was erroneously given UPSTREAM affinity.  Fixed by having the
        VisiblePosition constructors make the actual affinity DOWNSTREAM if UPSTREAM was specified, but
        the Position is not at a line wrap.

        Test cases added:
            There is no way to automate a test for this because it requires using the AX APIs, which are
            not available to the tests.
            A manual test involves creating an email and using VoiceOver on it.  Seems like too much.

        * khtml/editing/selection.h:
        * khtml/editing/visible_position.cpp:
        (khtml::VisiblePosition::init):
        (khtml::VisiblePosition::next):
        * khtml/editing/visible_position.h:
        * khtml/editing/visible_units.cpp:
        (khtml::nextBoundary):
        (khtml::endOfLine):
        * khtml/khtml_part.cpp:
        (KHTMLPart::findTextNext):
        (KHTMLPart::selectFrameElementInParentIfFullySelected):
        * khtml/rendering/render_text.cpp:
        (RenderText::positionForCoordinates):
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::findString):
        (KWQKHTMLPart::advanceToNextMisspelling):
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge setSelectedDOMRange:affinity:closeTyping:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10434 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Dave Hyatt.
adele [Thu, 1 Sep 2005 17:40:14 +0000 (17:40 +0000)]
    Reviewed by Dave Hyatt.

        - fixed <rdar://problem/4229189> add a way to get a separator into a <select>

        This will allow an <hr> within a select element to display a separator in a popup menu.
        These extra elements are added to our listItems array, which we use internally.  But this should not
        affect JavaScript operations, such as getting an index of an option element, or getting the length of the select,
        or getting the selected index.  In these cases, the <hr>s will be ignored.

        Test cases added:
        * manual-tests/select_hr.html: Added.

        * khtml/html/html_formimpl.h:
        (DOM::HTMLSelectElementImpl::listItems): Now that our listItems can also contain <hr>s,
        I've changed listItems to be a QMemArray<HTMLElementImpl*> instead of QMemArray<HTMLGenericFormElementImpl*>
        (DOM::HTMLOptGroupElementImpl::checkDTD): Added check for <hr>

        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLSelectElementImpl::checkDTD): Added check for <hr>
        (DOM::HTMLSelectElementImpl::add): Added check for <hr> so these elements can be added through Javascript.
        (DOM::HTMLSelectElementImpl::recalcListItems): Added case for <hr> to add the element to the listItems array.
        (DOM::HTMLSelectElementImpl::selectedIndex): Updated type for array of listItems.
        (DOM::HTMLSelectElementImpl::setSelectedIndex): ditto.
        (DOM::HTMLSelectElementImpl::length): ditto.
        (DOM::HTMLSelectElementImpl::remove): ditto.
        (DOM::HTMLSelectElementImpl::value): ditto.
        (DOM::HTMLSelectElementImpl::setValue): ditto.
        (DOM::HTMLSelectElementImpl::state): ditto.
        (DOM::HTMLSelectElementImpl::restoreState): ditto.
        (DOM::HTMLSelectElementImpl::appendFormData): ditto.
        (DOM::HTMLSelectElementImpl::optionToListIndex): ditto.
        (DOM::HTMLSelectElementImpl::listToOptionIndex): ditto.
        (DOM::HTMLSelectElementImpl::reset): ditto.
        (DOM::HTMLSelectElementImpl::notifyOptionSelected): ditto.
        (DOM::HTMLOptionElementImpl::index): ditto.

        * khtml/rendering/render_form.cpp:
        (RenderSelect::updateFromElement): If the list item is an <hr>, and we're not using a ListBox, then we call appendSeparator on the widget.
        (RenderSelect::layout): Updated type for array of listItems.
        (RenderSelect::slotSelected): ditto.
        (RenderSelect::slotSelectionChanged): ditto.
        (RenderSelect::updateSelection): ditto.

        * kwq/KWQListBox.h: Added ItemType enum with the following values: Option, GroupLabel, and Separator.
        (KWQListBoxItem::KWQListBoxItem): Updated to use ItemType instead of old isGroupLabel bool.
        (QListBox::appendItem): ditto.
        (QListBox::appendGroupLabel): ditto.

        * kwq/KWQComboBox.h:
        (QComboBox::appendItem): the private version of appendItem used to take isLabel as a parameter.  Now it takes an ItemType.
        (QComboBox::appendGroupLabel): calls appendItem with an ItemType of GroupLabel
        (QComboBox::appendSeparator): calls appendItem with an ItemType of Separator

        * kwq/KWQComboBox.mm:
        (QComboBox::setTitle): Updated to check for the ItemType instead of the old isGroupLabel bool.
        (QComboBox::appendItem): If the new item is a Separator, then we add a separatorItem to the popup menu.
        (QComboBox::sizeHint): Updated to check for the ItemType instead of the old isGroupLabel bool.
        (QComboBox::populateMenu): If the new item is a Separator, then we add a separatorItem to the popup menu.

        * kwq/KWQListBox.mm:
        (QListBox::appendItem): Updated to use the ItemType instead of the old isLabel bool.
        (QListBox::sizeForNumberOfLines): ditto.
        (-[KWQTableView tableView:shouldSelectRow:]): ditto.
        (-[KWQTableView drawRow:clipRect:]): ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10433 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Thu, 1 Sep 2005 16:21:05 +0000 (16:21 +0000)]
    Reviewed and landed by Darin.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4672
          Incorrect highlight when selection begins with space and word-spacing>0

        Test cases added:
        * manual-tests/word-spacing-highlight.html: Added.

        * khtml/rendering/render_text.h: (InlineTextBox::textObject): Made inline.
        * khtml/rendering/render_text.cpp: (InlineTextBox::selectionRect): Add word
        spacing in as necessary when computing the rect.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10432 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: none
eseidel [Thu, 1 Sep 2005 10:12:52 +0000 (10:12 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: none
        Removing unused files from SVG repository, no review requested.

        * ksvg2/dom/SVGAElement.cpp: Removed.
        * ksvg2/dom/SVGAElement.h: Removed.
        * ksvg2/dom/SVGAngle.cpp: Removed.
        * ksvg2/dom/SVGAngle.h: Removed.
        * ksvg2/dom/SVGAnimateColorElement.cpp: Removed.
        * ksvg2/dom/SVGAnimateColorElement.h: Removed.
        * ksvg2/dom/SVGAnimateElement.cpp: Removed.
        * ksvg2/dom/SVGAnimateElement.h: Removed.
        * ksvg2/dom/SVGAnimateTransformElement.cpp: Removed.
        * ksvg2/dom/SVGAnimateTransformElement.h: Removed.
        * ksvg2/dom/SVGAnimatedAngle.cpp: Removed.
        * ksvg2/dom/SVGAnimatedAngle.h: Removed.
        * ksvg2/dom/SVGAnimatedBoolean.cpp: Removed.
        * ksvg2/dom/SVGAnimatedBoolean.h: Removed.
        * ksvg2/dom/SVGAnimatedEnumeration.cpp: Removed.
        * ksvg2/dom/SVGAnimatedEnumeration.h: Removed.
        * ksvg2/dom/SVGAnimatedInteger.cpp: Removed.
        * ksvg2/dom/SVGAnimatedInteger.h: Removed.
        * ksvg2/dom/SVGAnimatedLength.cpp: Removed.
        * ksvg2/dom/SVGAnimatedLength.h: Removed.
        * ksvg2/dom/SVGAnimatedLengthList.cpp: Removed.
        * ksvg2/dom/SVGAnimatedLengthList.h: Removed.
        * ksvg2/dom/SVGAnimatedNumber.cpp: Removed.
        * ksvg2/dom/SVGAnimatedNumber.h: Removed.
        * ksvg2/dom/SVGAnimatedNumberList.cpp: Removed.
        * ksvg2/dom/SVGAnimatedNumberList.h: Removed.
        * ksvg2/dom/SVGAnimatedPathData.cpp: Removed.
        * ksvg2/dom/SVGAnimatedPathData.h: Removed.
        * ksvg2/dom/SVGAnimatedPoints.cpp: Removed.
        * ksvg2/dom/SVGAnimatedPoints.h: Removed.
        * ksvg2/dom/SVGAnimatedPreserveAspectRatio.cpp: Removed.
        * ksvg2/dom/SVGAnimatedPreserveAspectRatio.h: Removed.
        * ksvg2/dom/SVGAnimatedRect.cpp: Removed.
        * ksvg2/dom/SVGAnimatedRect.h: Removed.
        * ksvg2/dom/SVGAnimatedString.cpp: Removed.
        * ksvg2/dom/SVGAnimatedString.h: Removed.
        * ksvg2/dom/SVGAnimatedTransformList.cpp: Removed.
        * ksvg2/dom/SVGAnimatedTransformList.h: Removed.
        * ksvg2/dom/SVGAnimationElement.cpp: Removed.
        * ksvg2/dom/SVGAnimationElement.h: Removed.
        * ksvg2/dom/SVGCircleElement.cpp: Removed.
        * ksvg2/dom/SVGCircleElement.h: Removed.
        * ksvg2/dom/SVGClipPathElement.cpp: Removed.
        * ksvg2/dom/SVGClipPathElement.h: Removed.
        * ksvg2/dom/SVGColor.cpp: Removed.
        * ksvg2/dom/SVGColor.h: Removed.
        * ksvg2/dom/SVGComponentTransferFunctionElement.cpp: Removed.
        * ksvg2/dom/SVGComponentTransferFunctionElement.h: Removed.
        * ksvg2/dom/SVGDOMImplementation.cpp: Removed.
        * ksvg2/dom/SVGDOMImplementation.h: Removed.
        * ksvg2/dom/SVGDefsElement.cpp: Removed.
        * ksvg2/dom/SVGDefsElement.h: Removed.
        * ksvg2/dom/SVGDescElement.cpp: Removed.
        * ksvg2/dom/SVGDescElement.h: Removed.
        * ksvg2/dom/SVGDocument.cpp: Removed.
        * ksvg2/dom/SVGDocument.h: Removed.
        * ksvg2/dom/SVGElement.cpp: Removed.
        * ksvg2/dom/SVGElement.h: Removed.
        * ksvg2/dom/SVGElementInstance.cpp: Removed.
        * ksvg2/dom/SVGElementInstance.h: Removed.
        * ksvg2/dom/SVGElementInstanceList.cpp: Removed.
        * ksvg2/dom/SVGElementInstanceList.h: Removed.
        * ksvg2/dom/SVGEllipseElement.cpp: Removed.
        * ksvg2/dom/SVGEllipseElement.h: Removed.
        * ksvg2/dom/SVGException.cpp: Removed.
        * ksvg2/dom/SVGException.h: Removed.
        * ksvg2/dom/SVGExternalResourcesRequired.cpp: Removed.
        * ksvg2/dom/SVGExternalResourcesRequired.h: Removed.
        * ksvg2/dom/SVGFEBlendElement.cpp: Removed.
        * ksvg2/dom/SVGFEBlendElement.h: Removed.
        * ksvg2/dom/SVGFEColorMatrixElement.cpp: Removed.
        * ksvg2/dom/SVGFEColorMatrixElement.h: Removed.
        * ksvg2/dom/SVGFEComponentTransferElement.cpp: Removed.
        * ksvg2/dom/SVGFEComponentTransferElement.h: Removed.
        * ksvg2/dom/SVGFECompositeElement.cpp: Removed.
        * ksvg2/dom/SVGFECompositeElement.h: Removed.
        * ksvg2/dom/SVGFEFloodElement.cpp: Removed.
        * ksvg2/dom/SVGFEFloodElement.h: Removed.
        * ksvg2/dom/SVGFEFuncAElement.cpp: Removed.
        * ksvg2/dom/SVGFEFuncAElement.h: Removed.
        * ksvg2/dom/SVGFEFuncBElement.cpp: Removed.
        * ksvg2/dom/SVGFEFuncBElement.h: Removed.
        * ksvg2/dom/SVGFEFuncGElement.cpp: Removed.
        * ksvg2/dom/SVGFEFuncGElement.h: Removed.
        * ksvg2/dom/SVGFEFuncRElement.cpp: Removed.
        * ksvg2/dom/SVGFEFuncRElement.h: Removed.
        * ksvg2/dom/SVGFEGaussianBlurElement.cpp: Removed.
        * ksvg2/dom/SVGFEGaussianBlurElement.h: Removed.
        * ksvg2/dom/SVGFEImageElement.cpp: Removed.
        * ksvg2/dom/SVGFEImageElement.h: Removed.
        * ksvg2/dom/SVGFEMergeElement.cpp: Removed.
        * ksvg2/dom/SVGFEMergeElement.h: Removed.
        * ksvg2/dom/SVGFEMergeNodeElement.cpp: Removed.
        * ksvg2/dom/SVGFEMergeNodeElement.h: Removed.
        * ksvg2/dom/SVGFEOffsetElement.cpp: Removed.
        * ksvg2/dom/SVGFEOffsetElement.h: Removed.
        * ksvg2/dom/SVGFETileElement.cpp: Removed.
        * ksvg2/dom/SVGFETileElement.h: Removed.
        * ksvg2/dom/SVGFETurbulenceElement.cpp: Removed.
        * ksvg2/dom/SVGFETurbulenceElement.h: Removed.
        * ksvg2/dom/SVGFilterElement.cpp: Removed.
        * ksvg2/dom/SVGFilterElement.h: Removed.
        * ksvg2/dom/SVGFilterPrimitiveStandardAttributes.cpp: Removed.
        * ksvg2/dom/SVGFilterPrimitiveStandardAttributes.h: Removed.
        * ksvg2/dom/SVGFitToViewBox.cpp: Removed.
        * ksvg2/dom/SVGFitToViewBox.h: Removed.
        * ksvg2/dom/SVGGElement.cpp: Removed.
        * ksvg2/dom/SVGGElement.h: Removed.
        * ksvg2/dom/SVGGradientElement.cpp: Removed.
        * ksvg2/dom/SVGGradientElement.h: Removed.
        * ksvg2/dom/SVGImageElement.cpp: Removed.
        * ksvg2/dom/SVGImageElement.h: Removed.
        * ksvg2/dom/SVGLangSpace.cpp: Removed.
        * ksvg2/dom/SVGLangSpace.h: Removed.
        * ksvg2/dom/SVGLength.cpp: Removed.
        * ksvg2/dom/SVGLength.h: Removed.
        * ksvg2/dom/SVGLengthList.cpp: Removed.
        * ksvg2/dom/SVGLengthList.h: Removed.
        * ksvg2/dom/SVGLineElement.cpp: Removed.
        * ksvg2/dom/SVGLineElement.h: Removed.
        * ksvg2/dom/SVGLinearGradientElement.cpp: Removed.
        * ksvg2/dom/SVGLinearGradientElement.h: Removed.
        * ksvg2/dom/SVGLocatable.cpp: Removed.
        * ksvg2/dom/SVGLocatable.h: Removed.
        * ksvg2/dom/SVGMarkerElement.cpp: Removed.
        * ksvg2/dom/SVGMarkerElement.h: Removed.
        * ksvg2/dom/SVGMatrix.cpp: Removed.
        * ksvg2/dom/SVGMatrix.h: Removed.
        * ksvg2/dom/SVGNumber.cpp: Removed.
        * ksvg2/dom/SVGNumber.h: Removed.
        * ksvg2/dom/SVGNumberList.cpp: Removed.
        * ksvg2/dom/SVGNumberList.h: Removed.
        * ksvg2/dom/SVGPaint.cpp: Removed.
        * ksvg2/dom/SVGPaint.h: Removed.
        * ksvg2/dom/SVGPathElement.cpp: Removed.
        * ksvg2/dom/SVGPathElement.h: Removed.
        * ksvg2/dom/SVGPathSeg.cpp: Removed.
        * ksvg2/dom/SVGPathSeg.h: Removed.
        * ksvg2/dom/SVGPathSegArc.cpp: Removed.
        * ksvg2/dom/SVGPathSegArc.h: Removed.
        * ksvg2/dom/SVGPathSegClosePath.cpp: Removed.
        * ksvg2/dom/SVGPathSegClosePath.h: Removed.
        * ksvg2/dom/SVGPathSegCurvetoCubic.cpp: Removed.
        * ksvg2/dom/SVGPathSegCurvetoCubic.h: Removed.
        * ksvg2/dom/SVGPathSegCurvetoCubicSmooth.cpp: Removed.
        * ksvg2/dom/SVGPathSegCurvetoCubicSmooth.h: Removed.
        * ksvg2/dom/SVGPathSegCurvetoQuadratic.cpp: Removed.
        * ksvg2/dom/SVGPathSegCurvetoQuadratic.h: Removed.
        * ksvg2/dom/SVGPathSegCurvetoQuadraticSmooth.cpp: Removed.
        * ksvg2/dom/SVGPathSegCurvetoQuadraticSmooth.h: Removed.
        * ksvg2/dom/SVGPathSegLineto.cpp: Removed.
        * ksvg2/dom/SVGPathSegLineto.h: Removed.
        * ksvg2/dom/SVGPathSegLinetoHorizontal.cpp: Removed.
        * ksvg2/dom/SVGPathSegLinetoHorizontal.h: Removed.
        * ksvg2/dom/SVGPathSegLinetoVertical.cpp: Removed.
        * ksvg2/dom/SVGPathSegLinetoVertical.h: Removed.
        * ksvg2/dom/SVGPathSegList.cpp: Removed.
        * ksvg2/dom/SVGPathSegList.h: Removed.
        * ksvg2/dom/SVGPathSegMoveto.cpp: Removed.
        * ksvg2/dom/SVGPathSegMoveto.h: Removed.
        * ksvg2/dom/SVGPatternElement.cpp: Removed.
        * ksvg2/dom/SVGPatternElement.h: Removed.
        * ksvg2/dom/SVGPoint.cpp: Removed.
        * ksvg2/dom/SVGPoint.h: Removed.
        * ksvg2/dom/SVGPointList.cpp: Removed.
        * ksvg2/dom/SVGPointList.h: Removed.
        * ksvg2/dom/SVGPolygonElement.cpp: Removed.
        * ksvg2/dom/SVGPolygonElement.h: Removed.
        * ksvg2/dom/SVGPolylineElement.cpp: Removed.
        * ksvg2/dom/SVGPolylineElement.h: Removed.
        * ksvg2/dom/SVGPreserveAspectRatio.cpp: Removed.
        * ksvg2/dom/SVGPreserveAspectRatio.h: Removed.
        * ksvg2/dom/SVGRadialGradientElement.cpp: Removed.
        * ksvg2/dom/SVGRadialGradientElement.h: Removed.
        * ksvg2/dom/SVGRect.cpp: Removed.
        * ksvg2/dom/SVGRect.h: Removed.
        * ksvg2/dom/SVGRectElement.cpp: Removed.
        * ksvg2/dom/SVGRectElement.h: Removed.
        * ksvg2/dom/SVGSVGElement.cpp: Removed.
        * ksvg2/dom/SVGSVGElement.h: Removed.
        * ksvg2/dom/SVGScriptElement.cpp: Removed.
        * ksvg2/dom/SVGScriptElement.h: Removed.
        * ksvg2/dom/SVGSetElement.cpp: Removed.
        * ksvg2/dom/SVGSetElement.h: Removed.
        * ksvg2/dom/SVGStopElement.cpp: Removed.
        * ksvg2/dom/SVGStopElement.h: Removed.
        * ksvg2/dom/SVGStringList.cpp: Removed.
        * ksvg2/dom/SVGStringList.h: Removed.
        * ksvg2/dom/SVGStylable.cpp: Removed.
        * ksvg2/dom/SVGStylable.h: Removed.
        * ksvg2/dom/SVGStyleElement.cpp: Removed.
        * ksvg2/dom/SVGStyleElement.h: Removed.
        * ksvg2/dom/SVGSwitchElement.cpp: Removed.
        * ksvg2/dom/SVGSwitchElement.h: Removed.
        * ksvg2/dom/SVGSymbolElement.cpp: Removed.
        * ksvg2/dom/SVGSymbolElement.h: Removed.
        * ksvg2/dom/SVGTSpanElement.cpp: Removed.
        * ksvg2/dom/SVGTSpanElement.h: Removed.
        * ksvg2/dom/SVGTests.cpp: Removed.
        * ksvg2/dom/SVGTests.h: Removed.
        * ksvg2/dom/SVGTextContentElement.cpp: Removed.
        * ksvg2/dom/SVGTextContentElement.h: Removed.
        * ksvg2/dom/SVGTextElement.cpp: Removed.
        * ksvg2/dom/SVGTextElement.h: Removed.
        * ksvg2/dom/SVGTextPositioningElement.cpp: Removed.
        * ksvg2/dom/SVGTextPositioningElement.h: Removed.
        * ksvg2/dom/SVGTitleElement.cpp: Removed.
        * ksvg2/dom/SVGTitleElement.h: Removed.
        * ksvg2/dom/SVGTransform.cpp: Removed.
        * ksvg2/dom/SVGTransform.h: Removed.
        * ksvg2/dom/SVGTransformList.cpp: Removed.
        * ksvg2/dom/SVGTransformList.h: Removed.
        * ksvg2/dom/SVGTransformable.cpp: Removed.
        * ksvg2/dom/SVGTransformable.h: Removed.
        * ksvg2/dom/SVGURIReference.cpp: Removed.
        * ksvg2/dom/SVGURIReference.h: Removed.
        * ksvg2/dom/SVGUseElement.cpp: Removed.
        * ksvg2/dom/SVGUseElement.h: Removed.
        * ksvg2/dom/SVGViewElement.cpp: Removed.
        * ksvg2/dom/SVGViewElement.h: Removed.
        * ksvg2/dom/SVGZoomAndPan.cpp: Removed.
        * ksvg2/dom/SVGZoomAndPan.h: Removed.
        * ksvg2/events/SVGEvent.cpp: Removed.
        * ksvg2/events/SVGEvent.h: Removed.
        * ksvg2/events/SVGZoomEvent.cpp: Removed.
        * ksvg2/events/SVGZoomEvent.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4790
eseidel [Thu, 1 Sep 2005 09:39:17 +0000 (09:39 +0000)]
Bug #: 4790
Submitted by: eseidel
Reviewed by: mjs
        * WebCore+SVG/DrawCanvasItem.mm: header include changes.
        * WebCore+SVG/DrawDocument.mm:
        * WebCore.xcodeproj/project.pbxproj:
        * kcanvas/KCanvasTreeDebug.cpp:
        * kdom/cache/KDOMLoader.cpp:
        * kdom/core/AttrImpl.h:
        * kdom/core/CDATASectionImpl.h:
        * kdom/core/CDFInterface.cpp:
        * kdom/core/CDFInterface.h:
        * kdom/core/CharacterDataImpl.h:
        * kdom/core/CommentImpl.h:
        * kdom/core/DOMConfigurationImpl.h:
        * kdom/core/DOMImplementationImpl.cpp:
        * kdom/core/DocumentFragmentImpl.h:
        * kdom/core/DocumentImpl.cpp:
        * kdom/core/DocumentImpl.h:
        * kdom/core/DocumentTypeImpl.h:
        * kdom/core/ElementImpl.h:
        * kdom/core/EntityImpl.h:
        * kdom/core/EntityReferenceImpl.h:
        * kdom/core/NamedAttrMapImpl.h:
        * kdom/core/NamedNodeMapImpl.h:
        * kdom/core/NodeImpl.h:
        * kdom/core/NotationImpl.h:
        * kdom/core/ProcessingInstructionImpl.h:
        * kdom/core/TagNodeListImpl.h:
        * kdom/core/TextImpl.h:
        * kdom/core/XMLElementImpl.h:
        * kdom/css/CSSCharsetRuleImpl.h:
        * kdom/css/CSSFontFaceRuleImpl.h:
        * kdom/css/CSSHelper.h:
        * kdom/css/CSSImageValueImpl.cpp:
        * kdom/css/CSSImageValueImpl.h:
        * kdom/css/CSSImportRuleImpl.h:
        * kdom/css/CSSMediaRuleImpl.h:
        * kdom/css/CSSPageRuleImpl.h:
        * kdom/css/CSSPrimitiveValueImpl.cpp:
        * kdom/css/CSSPrimitiveValueImpl.h:
        * kdom/css/CSSRuleImpl.h:
        * kdom/css/CSSStyleDeclarationImpl.cpp:
        * kdom/css/CSSStyleDeclarationImpl.h:
        * kdom/css/CSSStyleRuleImpl.h:
        * kdom/css/CSSStyleSelector.cpp:
        * kdom/css/CSSStyleSelector.h:
        * kdom/css/CSSStyleSheetImpl.h:
        * kdom/css/CSSUnknownRuleImpl.h:
        * kdom/css/CSSValueImpl.h:
        * kdom/css/CSSValueListImpl.h:
        * kdom/css/DocumentCSSImpl.h:
        * kdom/css/KDOMCSSParser.cpp:
        * kdom/css/KDOMCSSParser.h:
        * kdom/css/MediaListImpl.h:
        * kdom/css/RenderStyle.h:
        * kdom/css/RenderStyleDefs.h:
        * kdom/css/StyleBaseImpl.cpp:
        * kdom/css/StyleBaseImpl.h:
        * kdom/css/StyleSheetImpl.h:
        * kdom/css/kdomparsercss.y:
        * kdom/events/EventListenerImpl.h:
        * kdom/events/KeyboardEventImpl.h:
        * kdom/events/MouseEventImpl.h:
        * kdom/events/MutationEventImpl.h:
        * kdom/events/UIEventImpl.h:
        * kdom/ls/LSParserImpl.h:
        * kdom/ls/LSSerializerFilterImpl.h:
        * kdom/parser/KDOMParser.h:
        * kdom/range/DocumentRangeImpl.cpp:
        * kdom/traversal/NodeIteratorImpl.h:
        * kdom/traversal/TreeWalkerImpl.h:
        * kdom/xpath/XPathNamespaceImpl.h:
        * ksvg2/css/KSVGCSSParser.cpp:
        * ksvg2/css/KSVGCSSParser.h:
        * ksvg2/css/SVGCSSStyleDeclarationImpl.cpp:
        * ksvg2/css/SVGCSSStyleDeclarationImpl.h:
        * ksvg2/css/SVGCSSStyleSelector.cpp:
        * ksvg2/css/SVGCSSStyleSelector.h:
        * ksvg2/css/SVGCSSStyleSheetImpl.h:
        * ksvg2/css/SVGRenderStyle.h:
        * ksvg2/ecma/Ecma.cpp:
        * ksvg2/ecma/GlobalObject.cpp:
        * ksvg2/events/SVGEvent.cpp:
        * ksvg2/events/SVGEventImpl.h:
        * ksvg2/events/SVGZoomEvent.cpp:
        * ksvg2/events/SVGZoomEventImpl.h:
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        * ksvg2/misc/KCanvasRenderingStyle.h:
        * ksvg2/svg/CDFInterface.cpp:
        * ksvg2/svg/CDFInterface.h:
        * ksvg2/svg/SVGAElementImpl.cpp:
        * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
        * ksvg2/svg/SVGAnimationElementImpl.cpp:
        * ksvg2/svg/SVGCircleElementImpl.cpp:
        * ksvg2/svg/SVGClipPathElementImpl.cpp:
        * ksvg2/svg/SVGColorImpl.cpp:
        * ksvg2/svg/SVGColorImpl.h:
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp:
        * ksvg2/svg/SVGDOMImplementationImpl.cpp:
        * ksvg2/svg/SVGDOMImplementationImpl.h:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        * ksvg2/svg/SVGDocumentImpl.h:
        * ksvg2/svg/SVGElementImpl.cpp:
        * ksvg2/svg/SVGElementImpl.h:
        * ksvg2/svg/SVGElementInstanceImpl.h:
        * ksvg2/svg/SVGEllipseElementImpl.cpp:
        * ksvg2/svg/SVGExternalResourcesRequiredImpl.cpp:
        * ksvg2/svg/SVGFEBlendElementImpl.cpp:
        * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
        * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp:
        * ksvg2/svg/SVGFECompositeElementImpl.cpp:
        * ksvg2/svg/SVGFEFloodElementImpl.cpp:
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        * ksvg2/svg/SVGFEMergeElementImpl.cpp:
        * ksvg2/svg/SVGFEMergeNodeElementImpl.cpp:
        * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
        * ksvg2/svg/SVGFETileElementImpl.cpp:
        * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
        * ksvg2/svg/SVGFilterElementImpl.cpp:
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.cpp:
        * ksvg2/svg/SVGFitToViewBoxImpl.cpp:
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        * ksvg2/svg/SVGImageElementImpl.cpp:
        * ksvg2/svg/SVGLangSpaceImpl.cpp:
        * ksvg2/svg/SVGLengthImpl.h:
        * ksvg2/svg/SVGLineElementImpl.cpp:
        * ksvg2/svg/SVGLinearGradientElementImpl.cpp:
        * ksvg2/svg/SVGList.h:
        * ksvg2/svg/SVGMarkerElementImpl.cpp:
        * ksvg2/svg/SVGPathElementImpl.cpp:
        * ksvg2/svg/SVGPathSegClosePathImpl.h:
        * ksvg2/svg/SVGPathSegImpl.h:
        * ksvg2/svg/SVGPathSegLinetoHorizontalImpl.h:
        * ksvg2/svg/SVGPathSegLinetoImpl.h:
        * ksvg2/svg/SVGPathSegLinetoVerticalImpl.h:
        * ksvg2/svg/SVGPathSegMovetoImpl.h:
        * ksvg2/svg/SVGPatternElementImpl.cpp:
        * ksvg2/svg/SVGPolyElementImpl.cpp:
        * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
        * ksvg2/svg/SVGRadialGradientElementImpl.cpp:
        * ksvg2/svg/SVGRectElementImpl.cpp:
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        * ksvg2/svg/SVGSVGElementImpl.h:
        * ksvg2/svg/SVGScriptElementImpl.cpp:
        * ksvg2/svg/SVGStopElementImpl.cpp:
        * ksvg2/svg/SVGStringListImpl.h:
        * ksvg2/svg/SVGStyleElementImpl.cpp:
        * ksvg2/svg/SVGStyledElementImpl.cpp:
        * ksvg2/svg/SVGStyledElementImpl.h:
        * ksvg2/svg/SVGSwitchElementImpl.cpp:
        * ksvg2/svg/SVGTestsImpl.cpp:
        * ksvg2/svg/SVGTextContentElementImpl.cpp:
        * ksvg2/svg/SVGTextPositioningElementImpl.cpp:
        * ksvg2/svg/SVGTransformableImpl.cpp:
        * ksvg2/svg/SVGURIReferenceImpl.cpp:
        * ksvg2/svg/SVGUseElementImpl.cpp:
        * ksvg2/svg/SVGViewElementImpl.cpp:
        * ksvg2/svg/SVGZoomAndPanImpl.cpp:
        I renamed:
        kdom/impl -> kdom/core
        kdom/css/impl/* -> kdom/css/*
        kdom/css/impl/* -> kdom/css/*
        kdom/ls/impl/* -> kdom/ls/*
        kdom/events/impl/* -> kdom/events/*
        kdom/range/impl/* -> kdom/range/*
        kdom/traversal/impl/* -> kdom/traversal/*
        ksvg2/core -> ksvg2/misc
        kdom/impl -> kdom/svg
        ksvg2/css/impl/* -> ksvg2/css/*
        ksvg2/events/impl/* -> ksvg2/events/*
        And made all the necessary header include and project file changes.
        This now brings our source tree fully up-to-date with all the
        recent kdom/ksvg2 file re-orgs (which were done per our request).
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4790

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10430 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4752
eseidel [Thu, 1 Sep 2005 07:35:57 +0000 (07:35 +0000)]
Bug #: 4752
Submitted by: eseidel
Reviewed by: mjs
        Replaced tabs with spaces throughout all of SVGSupport, excepting
        kdom/xpath upon specific request of the kdom/xpath maintainer.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4752

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10429 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Darin.
mjs [Thu, 1 Sep 2005 06:42:58 +0000 (06:42 +0000)]
Reviewed by Darin.

- set color variant and font settings to a consistent value.
(http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)

        * DumpRenderTree/DumpRenderTree.m:
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10428 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - update test results for Mitz's recent border AA change
mjs [Thu, 1 Sep 2005 06:13:43 +0000 (06:13 +0000)]
    - update test results for Mitz's recent border AA change

        * layout-tests/css1/basic/class_as_selector-expected.checksum:
        * layout-tests/css1/basic/class_as_selector-expected.png:
        * layout-tests/css1/basic/comments-expected.checksum:
        * layout-tests/css1/basic/comments-expected.png:
        * layout-tests/css1/basic/containment-expected.checksum:
        * layout-tests/css1/basic/containment-expected.png:
        * layout-tests/css1/basic/contextual_selectors-expected.checksum:
        * layout-tests/css1/basic/contextual_selectors-expected.png:
        * layout-tests/css1/basic/grouping-expected.checksum:
        * layout-tests/css1/basic/grouping-expected.png:
        * layout-tests/css1/basic/id_as_selector-expected.checksum:
        * layout-tests/css1/basic/id_as_selector-expected.png:
        * layout-tests/css1/basic/inheritance-expected.checksum:
        * layout-tests/css1/basic/inheritance-expected.png:
        * layout-tests/css1/box_properties/border-expected.checksum:
        * layout-tests/css1/box_properties/border-expected.png:
        * layout-tests/css1/box_properties/border_bottom-expected.checksum:
        * layout-tests/css1/box_properties/border_bottom-expected.png:
        * layout-tests/css1/box_properties/border_bottom_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_bottom_inline-expected.png:
        * layout-tests/css1/box_properties/border_bottom_width-expected.checksum:
        * layout-tests/css1/box_properties/border_bottom_width-expected.png:
        * layout-tests/css1/box_properties/border_bottom_width_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_bottom_width_inline-expected.png:
        * layout-tests/css1/box_properties/border_color-expected.checksum:
        * layout-tests/css1/box_properties/border_color-expected.png:
        * layout-tests/css1/box_properties/border_color_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_color_inline-expected.png:
        * layout-tests/css1/box_properties/border_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_inline-expected.png:
        * layout-tests/css1/box_properties/border_left-expected.checksum:
        * layout-tests/css1/box_properties/border_left-expected.png:
        * layout-tests/css1/box_properties/border_left_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_left_inline-expected.png:
        * layout-tests/css1/box_properties/border_left_width-expected.checksum:
        * layout-tests/css1/box_properties/border_left_width-expected.png:
        * layout-tests/css1/box_properties/border_left_width_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_left_width_inline-expected.png:
        * layout-tests/css1/box_properties/border_right-expected.checksum:
        * layout-tests/css1/box_properties/border_right-expected.png:
        * layout-tests/css1/box_properties/border_right_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_right_inline-expected.png:
        * layout-tests/css1/box_properties/border_right_width-expected.checksum:
        * layout-tests/css1/box_properties/border_right_width-expected.png:
        * layout-tests/css1/box_properties/border_right_width_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_right_width_inline-expected.png:
        * layout-tests/css1/box_properties/border_style-expected.checksum:
        * layout-tests/css1/box_properties/border_style-expected.png:
        * layout-tests/css1/box_properties/border_style_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_style_inline-expected.png:
        * layout-tests/css1/box_properties/border_top-expected.checksum:
        * layout-tests/css1/box_properties/border_top-expected.png:
        * layout-tests/css1/box_properties/border_top_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_top_inline-expected.png:
        * layout-tests/css1/box_properties/border_top_width-expected.checksum:
        * layout-tests/css1/box_properties/border_top_width-expected.png:
        * layout-tests/css1/box_properties/border_top_width_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_top_width_inline-expected.png:
        * layout-tests/css1/box_properties/border_width-expected.checksum:
        * layout-tests/css1/box_properties/border_width-expected.png:
        * layout-tests/css1/box_properties/border_width_inline-expected.checksum:
        * layout-tests/css1/box_properties/border_width_inline-expected.png:
        * layout-tests/css1/box_properties/clear-expected.checksum:
        * layout-tests/css1/box_properties/clear-expected.png:
        * layout-tests/css1/box_properties/clear_float-expected.checksum:
        * layout-tests/css1/box_properties/clear_float-expected.png:
        * layout-tests/css1/box_properties/float-expected.checksum:
        * layout-tests/css1/box_properties/float-expected.png:
        * layout-tests/css1/box_properties/float_elements_in_series-expected.checksum:
        * layout-tests/css1/box_properties/float_elements_in_series-expected.png:
        * layout-tests/css1/box_properties/float_margin-expected.checksum:
        * layout-tests/css1/box_properties/float_margin-expected.png:
        * layout-tests/css1/box_properties/float_on_text_elements-expected.checksum:
        * layout-tests/css1/box_properties/float_on_text_elements-expected.png:
        * layout-tests/css1/box_properties/height-expected.checksum:
        * layout-tests/css1/box_properties/height-expected.png:
        * layout-tests/css1/box_properties/margin-expected.checksum:
        * layout-tests/css1/box_properties/margin-expected.png:
        * layout-tests/css1/box_properties/margin_bottom-expected.checksum:
        * layout-tests/css1/box_properties/margin_bottom-expected.png:
        * layout-tests/css1/box_properties/margin_bottom_inline-expected.checksum:
        * layout-tests/css1/box_properties/margin_bottom_inline-expected.png:
        * layout-tests/css1/box_properties/margin_inline-expected.checksum:
        * layout-tests/css1/box_properties/margin_inline-expected.png:
        * layout-tests/css1/box_properties/margin_left-expected.checksum:
        * layout-tests/css1/box_properties/margin_left-expected.png:
        * layout-tests/css1/box_properties/margin_left_inline-expected.checksum:
        * layout-tests/css1/box_properties/margin_left_inline-expected.png:
        * layout-tests/css1/box_properties/margin_right-expected.checksum:
        * layout-tests/css1/box_properties/margin_right-expected.png:
        * layout-tests/css1/box_properties/margin_right_inline-expected.checksum:
        * layout-tests/css1/box_properties/margin_right_inline-expected.png:
        * layout-tests/css1/box_properties/margin_top-expected.checksum:
        * layout-tests/css1/box_properties/margin_top-expected.png:
        * layout-tests/css1/box_properties/margin_top_inline-expected.checksum:
        * layout-tests/css1/box_properties/margin_top_inline-expected.png:
        * layout-tests/css1/box_properties/padding-expected.checksum:
        * layout-tests/css1/box_properties/padding-expected.png:
        * layout-tests/css1/box_properties/padding_bottom-expected.checksum:
        * layout-tests/css1/box_properties/padding_bottom-expected.png:
        * layout-tests/css1/box_properties/padding_bottom_inline-expected.checksum:
        * layout-tests/css1/box_properties/padding_bottom_inline-expected.png:
        * layout-tests/css1/box_properties/padding_inline-expected.checksum:
        * layout-tests/css1/box_properties/padding_inline-expected.png:
        * layout-tests/css1/box_properties/padding_left-expected.checksum:
        * layout-tests/css1/box_properties/padding_left-expected.png:
        * layout-tests/css1/box_properties/padding_left_inline-expected.checksum:
        * layout-tests/css1/box_properties/padding_left_inline-expected.png:
        * layout-tests/css1/box_properties/padding_right-expected.checksum:
        * layout-tests/css1/box_properties/padding_right-expected.png:
        * layout-tests/css1/box_properties/padding_right_inline-expected.checksum:
        * layout-tests/css1/box_properties/padding_right_inline-expected.png:
        * layout-tests/css1/box_properties/padding_top-expected.checksum:
        * layout-tests/css1/box_properties/padding_top-expected.png:
        * layout-tests/css1/box_properties/padding_top_inline-expected.checksum:
        * layout-tests/css1/box_properties/padding_top_inline-expected.png:
        * layout-tests/css1/box_properties/width-expected.checksum:
        * layout-tests/css1/box_properties/width-expected.png:
        * layout-tests/css1/cascade/cascade_order-expected.checksum:
        * layout-tests/css1/cascade/cascade_order-expected.png:
        * layout-tests/css1/cascade/important-expected.checksum:
        * layout-tests/css1/cascade/important-expected.png:
        * layout-tests/css1/classification/display-expected.checksum:
        * layout-tests/css1/classification/display-expected.png:
        * layout-tests/css1/classification/list_style-expected.checksum:
        * layout-tests/css1/classification/list_style-expected.png:
        * layout-tests/css1/classification/list_style_image-expected.checksum:
        * layout-tests/css1/classification/list_style_image-expected.png:
        * layout-tests/css1/classification/list_style_position-expected.checksum:
        * layout-tests/css1/classification/list_style_position-expected.png:
        * layout-tests/css1/classification/list_style_type-expected.checksum:
        * layout-tests/css1/classification/list_style_type-expected.png:
        * layout-tests/css1/classification/white_space-expected.checksum:
        * layout-tests/css1/classification/white_space-expected.png:
        * layout-tests/css1/color_and_background/background-expected.checksum:
        * layout-tests/css1/color_and_background/background-expected.png:
        * layout-tests/css1/color_and_background/background_attachment-expected.checksum:
        * layout-tests/css1/color_and_background/background_attachment-expected.png:
        * layout-tests/css1/color_and_background/background_color-expected.checksum:
        * layout-tests/css1/color_and_background/background_color-expected.png:
        * layout-tests/css1/color_and_background/background_image-expected.checksum:
        * layout-tests/css1/color_and_background/background_image-expected.png:
        * layout-tests/css1/color_and_background/background_position-expected.checksum:
        * layout-tests/css1/color_and_background/background_position-expected.png:
        * layout-tests/css1/color_and_background/background_repeat-expected.checksum:
        * layout-tests/css1/color_and_background/background_repeat-expected.png:
        * layout-tests/css1/color_and_background/color-expected.checksum:
        * layout-tests/css1/color_and_background/color-expected.png:
        * layout-tests/css1/font_properties/font-expected.checksum:
        * layout-tests/css1/font_properties/font-expected.png:
        * layout-tests/css1/font_properties/font_family-expected.checksum:
        * layout-tests/css1/font_properties/font_family-expected.png:
        * layout-tests/css1/font_properties/font_size-expected.checksum:
        * layout-tests/css1/font_properties/font_size-expected.png:
        * layout-tests/css1/font_properties/font_style-expected.checksum:
        * layout-tests/css1/font_properties/font_style-expected.png:
        * layout-tests/css1/font_properties/font_variant-expected.checksum:
        * layout-tests/css1/font_properties/font_variant-expected.png:
        * layout-tests/css1/font_properties/font_weight-expected.checksum:
        * layout-tests/css1/font_properties/font_weight-expected.png:
        * layout-tests/css1/formatting_model/canvas-expected.checksum:
        * layout-tests/css1/formatting_model/canvas-expected.png:
        * layout-tests/css1/formatting_model/floating_elements-expected.checksum:
        * layout-tests/css1/formatting_model/floating_elements-expected.png:
        * layout-tests/css1/formatting_model/height_of_lines-expected.checksum:
        * layout-tests/css1/formatting_model/height_of_lines-expected.png:
        * layout-tests/css1/formatting_model/inline_elements-expected.checksum:
        * layout-tests/css1/formatting_model/inline_elements-expected.png:
        * layout-tests/css1/formatting_model/replaced_elements-expected.checksum:
        * layout-tests/css1/formatting_model/replaced_elements-expected.png:
        * layout-tests/css1/formatting_model/vertical_formatting-expected.checksum:
        * layout-tests/css1/formatting_model/vertical_formatting-expected.png:
        * layout-tests/css1/pseudo/anchor-expected.checksum:
        * layout-tests/css1/pseudo/anchor-expected.png:
        * layout-tests/css1/pseudo/firstletter-expected.checksum:
        * layout-tests/css1/pseudo/firstletter-expected.png:
        * layout-tests/css1/pseudo/firstline-expected.checksum:
        * layout-tests/css1/pseudo/firstline-expected.png:
        * layout-tests/css1/pseudo/multiple_pseudo_elements-expected.checksum:
        * layout-tests/css1/pseudo/multiple_pseudo_elements-expected.png:
        * layout-tests/css1/pseudo/pseudo_elements_in_selectors-expected.checksum:
        * layout-tests/css1/pseudo/pseudo_elements_in_selectors-expected.png:
        * layout-tests/css1/text_properties/letter_spacing-expected.checksum:
        * layout-tests/css1/text_properties/letter_spacing-expected.png:
        * layout-tests/css1/text_properties/line_height-expected.checksum:
        * layout-tests/css1/text_properties/line_height-expected.png:
        * layout-tests/css1/text_properties/text_align-expected.checksum:
        * layout-tests/css1/text_properties/text_align-expected.png:
        * layout-tests/css1/text_properties/text_decoration-expected.checksum:
        * layout-tests/css1/text_properties/text_decoration-expected.png:
        * layout-tests/css1/text_properties/text_indent-expected.checksum:
        * layout-tests/css1/text_properties/text_indent-expected.png:
        * layout-tests/css1/text_properties/text_transform-expected.checksum:
        * layout-tests/css1/text_properties/text_transform-expected.png:
        * layout-tests/css1/text_properties/vertical_align-expected.checksum:
        * layout-tests/css1/text_properties/vertical_align-expected.png:
        * layout-tests/css1/text_properties/word_spacing-expected.checksum:
        * layout-tests/css1/text_properties/word_spacing-expected.png:
        * layout-tests/css1/units/color_units-expected.checksum:
        * layout-tests/css1/units/color_units-expected.png:
        * layout-tests/css1/units/length_units-expected.checksum:
        * layout-tests/css1/units/length_units-expected.png:
        * layout-tests/css1/units/percentage_units-expected.checksum:
        * layout-tests/css1/units/percentage_units-expected.png:
        * layout-tests/css1/units/urls-expected.checksum:
        * layout-tests/css1/units/urls-expected.png:
        * layout-tests/editing/selection/move-by-line-001-expected.checksum:
        * layout-tests/editing/selection/move-by-line-001-expected.png:
        * layout-tests/editing/unsupported-content/table-type-after-expected.checksum:
        * layout-tests/editing/unsupported-content/table-type-after-expected.png:
        * layout-tests/editing/unsupported-content/table-type-before-expected.checksum:
        * layout-tests/editing/unsupported-content/table-type-before-expected.png:
        * layout-tests/fast/block/basic/018-expected.checksum:
        * layout-tests/fast/block/basic/018-expected.png:
        * layout-tests/fast/block/float/015-expected.checksum:
        * layout-tests/fast/block/float/015-expected.png:
        * layout-tests/fast/block/float/016-expected.checksum:
        * layout-tests/fast/block/float/016-expected.png:
        * layout-tests/fast/block/float/025-expected.checksum:
        * layout-tests/fast/block/float/025-expected.png:
        * layout-tests/fast/block/float/026-expected.checksum:
        * layout-tests/fast/block/float/026-expected.png:
        * layout-tests/fast/block/float/027-expected.checksum:
        * layout-tests/fast/block/float/027-expected.png:
        * layout-tests/fast/block/float/028-expected.checksum:
        * layout-tests/fast/block/float/028-expected.png:
        * layout-tests/fast/css/MarqueeLayoutTest-expected.checksum:
        * layout-tests/fast/css/MarqueeLayoutTest-expected.png:
        * layout-tests/fast/css/apple-prefix-expected.checksum:
        * layout-tests/fast/css/apple-prefix-expected.png:
        * layout-tests/fast/css/list-outline-expected.checksum:
        * layout-tests/fast/css/list-outline-expected.png:
        * layout-tests/fast/dom/HTMLElement/bdo-expected.checksum:
        * layout-tests/fast/dom/HTMLElement/bdo-expected.png:
        * layout-tests/fast/dom/HTMLTableElement/colSpan-expected.checksum:
        * layout-tests/fast/dom/HTMLTableElement/colSpan-expected.png:
        * layout-tests/fast/dom/HTMLTableElement/createCaption-expected.checksum:
        * layout-tests/fast/dom/HTMLTableElement/createCaption-expected.png:
        * layout-tests/fast/dom/clone-node-dynamic-style-expected.checksum:
        * layout-tests/fast/dom/clone-node-dynamic-style-expected.png:
        * layout-tests/fast/dom/row-inner-text-expected.checksum:
        * layout-tests/fast/dom/row-inner-text-expected.png:
        * layout-tests/fast/dynamic/012-expected.checksum:
        * layout-tests/fast/dynamic/012-expected.png:
        * layout-tests/fast/dynamic/013-expected.checksum:
        * layout-tests/fast/dynamic/013-expected.png:
        * layout-tests/fast/encoding/invalid-UTF-8-expected.checksum:
        * layout-tests/fast/encoding/invalid-UTF-8-expected.png:
        * layout-tests/fast/encoding/utf-16-big-endian-expected.checksum:
        * layout-tests/fast/encoding/utf-16-big-endian-expected.png:
        * layout-tests/fast/encoding/utf-16-little-endian-expected.checksum:
        * layout-tests/fast/encoding/utf-16-little-endian-expected.png:
        * layout-tests/fast/forms/001-expected.checksum:
        * layout-tests/fast/forms/001-expected.png:
        * layout-tests/fast/forms/006-expected.checksum:
        * layout-tests/fast/forms/006-expected.png:
        * layout-tests/fast/forms/007-expected.checksum:
        * layout-tests/fast/forms/007-expected.png:
        * layout-tests/fast/forms/input-value-expected.checksum:
        * layout-tests/fast/forms/input-value-expected.png:
        * layout-tests/fast/lists/004-expected.checksum:
        * layout-tests/fast/lists/004-expected.png:
        * layout-tests/fast/overflow/002-expected.checksum:
        * layout-tests/fast/overflow/002-expected.png:
        * layout-tests/fast/replaced/005-expected.checksum:
        * layout-tests/fast/replaced/005-expected.png:
        * layout-tests/fast/selectors/032-expected.checksum:
        * layout-tests/fast/selectors/032-expected.png:
        * layout-tests/fast/selectors/064-expected.checksum:
        * layout-tests/fast/selectors/064-expected.png:
        * layout-tests/fast/selectors/077-expected.checksum:
        * layout-tests/fast/selectors/077-expected.png:
        * layout-tests/fast/selectors/077b-expected.checksum:
        * layout-tests/fast/selectors/077b-expected.png:
        * layout-tests/fast/selectors/078b-expected.checksum:
        * layout-tests/fast/selectors/078b-expected.png:
        * layout-tests/fast/table/003-expected.checksum:
        * layout-tests/fast/table/003-expected.png:
        * layout-tests/fast/table/004-expected.checksum:
        * layout-tests/fast/table/004-expected.png:
        * layout-tests/fast/table/006-expected.checksum:
        * layout-tests/fast/table/006-expected.png:
        * layout-tests/fast/table/007-expected.checksum:
        * layout-tests/fast/table/007-expected.png:
        * layout-tests/fast/table/009-expected.checksum:
        * layout-tests/fast/table/009-expected.png:
        * layout-tests/fast/table/017-expected.checksum:
        * layout-tests/fast/table/017-expected.png:
        * layout-tests/fast/table/018-expected.checksum:
        * layout-tests/fast/table/018-expected.png:
        * layout-tests/fast/table/020-expected.checksum:
        * layout-tests/fast/table/020-expected.png:
        * layout-tests/fast/table/029-expected.checksum:
        * layout-tests/fast/table/029-expected.png:
        * layout-tests/fast/table/030-expected.checksum:
        * layout-tests/fast/table/030-expected.png:
        * layout-tests/fast/table/035-expected.checksum:
        * layout-tests/fast/table/035-expected.png:
        * layout-tests/fast/table/038-expected.checksum:
        * layout-tests/fast/table/038-expected.png:
        * layout-tests/fast/table/039-expected.checksum:
        * layout-tests/fast/table/039-expected.png:
        * layout-tests/fast/table/040-expected.checksum:
        * layout-tests/fast/table/040-expected.png:
        * layout-tests/fast/table/041-expected.checksum:
        * layout-tests/fast/table/041-expected.png:
        * layout-tests/fast/table/empty-table-percent-height-expected.checksum:
        * layout-tests/fast/table/empty-table-percent-height-expected.png:
        * layout-tests/fast/table/large-width-expected.checksum:
        * layout-tests/fast/table/large-width-expected.png:
        * layout-tests/fast/table/multiple-percent-height-rows-expected.checksum:
        * layout-tests/fast/table/multiple-percent-height-rows-expected.png:
        * layout-tests/fast/table/nobr-expected.checksum:
        * layout-tests/fast/table/nobr-expected.png:
        * layout-tests/fast/table/percent-heights-expected.checksum:
        * layout-tests/fast/table/percent-heights-expected.png:
        * layout-tests/fast/table/rowspan-paint-order-expected.checksum:
        * layout-tests/fast/table/rowspan-paint-order-expected.png:
        * layout-tests/fast/text/basic/001-expected.checksum:
        * layout-tests/fast/text/basic/001-expected.png:
        * layout-tests/fast/text/basic/006-expected.checksum:
        * layout-tests/fast/text/basic/006-expected.png:
        * layout-tests/fast/text/basic/007-expected.checksum:
        * layout-tests/fast/text/basic/007-expected.png:
        * layout-tests/fast/text/international/003-expected.checksum:
        * layout-tests/fast/text/international/003-expected.png:
        * layout-tests/fast/text/international/bidi-innertext-expected.checksum:
        * layout-tests/fast/text/international/bidi-innertext-expected.png:
        * layout-tests/fast/text/whitespace/027-expected.checksum:
        * layout-tests/fast/text/whitespace/027-expected.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10427 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Thu, 1 Sep 2005 05:37:17 +0000 (05:37 +0000)]
    Reviewed and landed by Darin.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4560
          Markup in <title> prevents decoder from looking for a charset

Test cases added:
        * layout-tests/fast/encoding/tag-in-title.html: Added.
        * layout-tests/fast/encoding/tag-in-title-expected.png: Added.
        * layout-tests/fast/encoding/tag-in-title-expected.txt: Added.

        * khtml/misc/decoder.cpp: (Decoder::decode): Ignore tags within <title>.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - updated pixel test baselines that had the button text off by one - I think
mjs [Thu, 1 Sep 2005 05:04:59 +0000 (05:04 +0000)]
    - updated pixel test baselines that had the button text off by one - I think
this was a bug in a 10.4.2 pre-release that I was running

        * layout-tests/fast/forms/001-expected.checksum:
        * layout-tests/fast/forms/001-expected.png:
        * layout-tests/fast/forms/input-value-expected.checksum:
        * layout-tests/fast/forms/input-value-expected.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10425 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed, tweaked, and landed by Darin.
darin [Thu, 1 Sep 2005 04:44:23 +0000 (04:44 +0000)]
    Reviewed, tweaked, and landed by Darin.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4626
          bidi-fallback-font-weight test requires font that's not part of default OS X install

        * layout-tests/fast/text/international/bidi-fallback-font-weight.html: Removed the part that
        used the Raanana font.
        * layout-tests/fast/text/international/bidi-fallback-font-weight-expected.checksum: Updated.
        * layout-tests/fast/text/international/bidi-fallback-font-weight-expected.png: Ditto.
        * layout-tests/fast/text/international/bidi-fallback-font-weight-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10424 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4472
eseidel [Thu, 1 Sep 2005 04:40:11 +0000 (04:40 +0000)]
Bug #: 4472
Submitted by: Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by: eseidel
        Test cases updated:
        * svg-tests/W3C-SVG-1.1/Resources/animation-add-BE-09-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image1-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image2-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/animation-extRef-image3-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/coords-units-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/ext-TestComic-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-blend-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-color-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-composite-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-conv-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-diffuse-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/filters-example-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/interact-dom-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/interact-order-02-b-targ-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/interact-order-03-b-targ-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/linking-uri-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/linkingCircle-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/linkingToc-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-03-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/paths-data-04-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/rects-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/rects_b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-ellipse-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-ellipse-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-rect-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/shapes-rect-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/struct-frag-01-B-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-align-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-align-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-align-03-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-altglyph-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-extTref-BE-18-targ-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-intro-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-tref-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/text-ws-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/toc-sv-expected.txt:
        * svg-tests/W3C-SVG-1.1/Resources/toc-svcmp-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-05-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-07-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-09-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-10-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-11-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-12-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-13-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-14-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-15-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-16-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-17-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-18-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-19-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-20-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-22-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-25-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-27-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prof-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prop-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prop-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/color-prop-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-05-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-trans-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-units-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-units-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-units-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-blend-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-color-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-conv-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-example-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-gauss-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-image-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-light-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-specular-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-tile-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/filters-turb-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-dom-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-events-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-order-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-order-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-order-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-a-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/linking-uri-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-opacity-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/masking-path-05-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-fill-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-render-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-05-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/paths-data-07-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-07-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-09-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-10-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/script-handle-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-line-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/shapes-rect-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-cond-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-cond-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-defs-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-dom-06-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-frag-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-group-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-group-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-03-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-image-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/struct-symbol-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-css-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-05-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-align-06-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-02-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-intro-04-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-path-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-text-03-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-tref-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-ws-01-t-expected.txt:
        * svg-tests/W3C-SVG-1.1/text-ws-02-t-expected.txt:

        * WebCore.xcodeproj/project.pbxproj: Added KCanvasPath.cpp
        * kcanvas/KCanvasFilters.cpp:
        (KCanvasFilter::externalRepresentation): added.
        (operator<<): added.
        (KCanvasFilterEffect::externalRepresentation):
        (KCanvasFEDistantLight::externalRepresentation):
        (KCanvasFEPointLight::externalRepresentation):
        (KCanvasFESpotLight::externalRepresentation):
        (KCanvasFEBlend::externalRepresentation):
        (KCanvasFEColorMatrix::externalRepresentation):
        (KCanvasFEComponentTransfer::externalRepresentation):
        (KCanvasFEComposite::externalRepresentation):
        (KCanvasFEConvolveMatrix::externalRepresentation):
        (KCanvasFEDiffuseLighting::externalRepresentation):
        (KCanvasFEDisplacementMap::externalRepresentation):
        (KCanvasFEFlood::externalRepresentation):
        (KCanvasFEGaussianBlur::externalRepresentation):
        (KCanvasFEImage::externalRepresentation):
        (KCanvasFEMerge::externalRepresentation):
        (KCanvasFEMorphology::externalRepresentation):
        (KCanvasFEOffset::externalRepresentation):
        (KCanvasFESpecularLighting::externalRepresentation):
        (KCanvasFETile::externalRepresentation):
        (KCanvasFETurbulence::externalRepresentation):
        * kcanvas/KCanvasFilters.h:
        (KCanvasFEDistantLight::azimuth):
        (KCanvasFEDistantLight::elevation):
        (KCanvasFEComposite::k1):
        (KCanvasFEComposite::k2):
        (KCanvasFEComposite::k3):
        (KCanvasFEComposite::k4):
        * kcanvas/KCanvasPath.cpp: Added.
        (operator<<):
        * kcanvas/KCanvasPath.h:
        * kcanvas/KCanvasRegistry.cpp:
        (KCanvasRegistry::addPaintServerById):
        (KCanvasRegistry::addResourceById):
        (operator<<):
        * kcanvas/KCanvasRegistry.h:
        * kcanvas/KCanvasResources.cpp:
        (operator<<):
        (KCanvasResource::idInRegistry):
        (KCanvasResource::setIdInRegistry):
        (KCanvasResource::externalRepresentation):
        (KCanvasClipper::externalRepresentation):
        (KCanvasMarker::externalRepresentation):
        * kcanvas/KCanvasResources.h:
        * kcanvas/KCanvasTreeDebug.cpp:
        (QTextStreamSeparator::QTextStreamSeparator):
        (operator<<):
        (writeIndent):
        (externalRepresentation):
        * kcanvas/KCanvasTreeDebug.h:
        (operator<<):
        * kcanvas/device/KRenderingPaintServer.h:
        (KRenderingPaintServer::idInRegistry):
        (KRenderingPaintServer::setIdInRegistry):
        * kcanvas/device/KRenderingPaintServerGradient.cpp:
        (operator<<):
        (KRenderingPaintServerGradient::externalRepresentation):
        (KRenderingPaintServerLinearGradient::externalRepresentation):
        (KRenderingPaintServerRadialGradient::externalRepresentation):
        * kcanvas/device/KRenderingPaintServerGradient.h:
        * kcanvas/device/KRenderingPaintServerImage.cpp:
        (KRenderingPaintServerImage::externalRepresentation):
        * kcanvas/device/KRenderingPaintServerImage.h:
        * kcanvas/device/KRenderingPaintServerPattern.cpp:
        (KRenderingPaintServerPattern::externalRepresentation):
        * kcanvas/device/KRenderingPaintServerPattern.h:
        * kcanvas/device/KRenderingPaintServerSolid.cpp:
        (operator<<):
        (KRenderingPaintServerSolid::externalRepresentation):
        * kcanvas/device/KRenderingPaintServerSolid.h:
        * kwq/KWQTextStream.h:
        * kwq/KWQTextStream.mm:
        (QTextStream::QTextStream):
        (QTextStream::operator<<):
        (QTextStream::precision): added.
        Necessary additions for much better KCanvas render tree dumps.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4472

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed and landed by Darin.
darin [Thu, 1 Sep 2005 03:30:17 +0000 (03:30 +0000)]
    Reviewed and landed by Darin.

        - fixed http://bugzilla.opendarwin.org/attachment.cgi?id=3702
          Acid2 test has orange border around nose

        * kwq/KWQPainter.mm: (QPainter::drawConvexPolygon): Add back a call to
        CGContextSetShouldAntialias, accidentally rolled out.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10422 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Dave Hyatt.
harrison [Wed, 31 Aug 2005 23:05:02 +0000 (23:05 +0000)]
    Reviewed by Dave Hyatt.

        <rdar://problem/4234658> SUTiDenver8F17: Dragging in this HTML example crashes Safari

        Problem is KWQKHTMLPart::snapshotDragImage() leaves the layout needing updating, that
        layout gets triggered (in this case) by the foreground draw in the RenderLayer code,
        thereby deleting the RenderLayer itself.   Simple fix is for snapshotDragImage() to
        updateLayout() after resetting the drag state.

        Test cases added:
        * manual-tests/drag_with_opacity.html: Added.

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::snapshotDragImage):  Call updateLayout() after resetting the drag state

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by hyatt.
vicki [Wed, 31 Aug 2005 23:02:20 +0000 (23:02 +0000)]
    Reviewed by hyatt.

- fixed <rdar://problem/4233844> in some cases, HTML href named anchors don't scroll to the right place

Test cases added:
        * manual-tests/scrollToAnchorWithNewline.html: Added.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::ContainerNodeImpl::getUpperLeftCorner): skip text nodes that do not have associated text boxes

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10419 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: 4780
eseidel [Wed, 31 Aug 2005 21:12:24 +0000 (21:12 +0000)]
Bug #: 4780
Submitted by: eseidel
Reviewed by: vicki
        * WebCore.xcodeproj/project.pbxproj: added EventNames.*
        * kdom/css/impl/Font.h: Fixed includes.
        Build fixes necessary after recent WebCore changes.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4780

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10418 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -rolled in layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id...
ggaren [Wed, 31 Aug 2005 18:37:01 +0000 (18:37 +0000)]
    -rolled in layout test for bugzilla.opendarwin.org/show_bug.cgi?id=4698
        kjs does not allow named functions in function expressions

        Test cases added:

        * layout-tests/fast/js/named-function-expression-expected.txt: Added.
        * layout-tests/fast/js/named-function-expression.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10417 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -rolled in fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=4698
ggaren [Wed, 31 Aug 2005 18:36:47 +0000 (18:36 +0000)]
    -rolled in fix for bugzilla.opendarwin.org/show_bug.cgi?id=4698
        kjs does not allow named functions in function expressions

        Fix by Arthur Langereis.

        Reviewed by darin.

        * kjs/grammar.y:
        * kjs/nodes.cpp:
        (FuncExprNode::evaluate):
        * kjs/nodes.h:
        (KJS::FuncExprNode::FuncExprNode):

        Test cases added:

        * layout-tests/fast/js/named-function-expression-expected.txt: Added.
        * layout-tests/fast/js/named-function-expression.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10416 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
darin [Wed, 31 Aug 2005 15:36:13 +0000 (15:36 +0000)]
    Reviewed by Maciej.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4766
          many callers of removeChild are leaking the removed node

        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::setOuterText): Added ref/deref around removeChild call.
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLSelectElementImpl::remove): Ditto.
        (DOM::HTMLTextAreaElementImpl::setDefaultValue): Ditto.
        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::deleteTHead): Ditto.
        (DOM::HTMLTableElementImpl::deleteTFoot): Ditto.
        (DOM::HTMLTableElementImpl::deleteCaption): Ditto.
        (DOM::HTMLTableSectionElementImpl::deleteRow): Ditto.
        (DOM::HTMLTableRowElementImpl::deleteCell): Ditto.
        * khtml/xml/dom2_rangeimpl.cpp:
        (DOM::RangeImpl::processContents): Ditto.
        (DOM::RangeImpl::surroundContents): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10415 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoFix build, it's #ifndef, not #infdef.
andersca [Wed, 31 Aug 2005 12:49:38 +0000 (12:49 +0000)]
Fix build, it's #ifndef, not #infdef.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10414 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Anders.
mjs [Wed, 31 Aug 2005 09:46:52 +0000 (09:46 +0000)]
    Reviewed by Anders.

http://bugzilla.opendarwin.org/show_bug.cgi?id=4768
        (Add counters for NodeImpl, ElementImpl and RenderObject in debug builds)

Test cases added: None, this just adds debug output (which shows up on the regular layout tests).

        * khtml/rendering/render_object.cpp:
        (RenderObjectCounter::~RenderObjectCounter):
        (RenderObject::RenderObject):
        (RenderObject::~RenderObject):
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImplCounter::~ElementImplCounter):
        (ElementImpl::ElementImpl):
        (ElementImpl::~ElementImpl):
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImplCounter::~NodeImplCounter):
        (DOM::NodeImpl::NodeImpl):
        (DOM::NodeImpl::~NodeImpl):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed, tweaked, and landed by Darin.
darin [Wed, 31 Aug 2005 07:57:56 +0000 (07:57 +0000)]
    Reviewed, tweaked, and landed by Darin.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4085
        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4087
        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4096
          Some fixes for compiling on windows.

        * kjs/config.h: Added a WIN32 case in here, with suitable defines.
        (To be tweaked as necessary.)
        * kjs/function.cpp: Took out APPLE_CHANGES around use of ICU.
        * kjs/operations.cpp: Removed some bogus code that always set HAVE_FLOAT_H.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10412 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoFix ChangeLog.
andersca [Wed, 31 Aug 2005 07:36:48 +0000 (07:36 +0000)]
Fix ChangeLog.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10411 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Darin and Maciej.
andersca [Wed, 31 Aug 2005 07:34:55 +0000 (07:34 +0000)]
    Reviewed by Darin and Maciej.

        * khtml/xsl/xslt_processorimpl.cpp:
        (DOM::XSLTProcessorImpl::documentFromXMLDocPtr):
        Close the output buffer so we won't leak it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10410 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - remove color profile info from some of the w3c images, and update results
mjs [Wed, 31 Aug 2005 06:46:15 +0000 (06:46 +0000)]
    - remove color profile info from some of the w3c images, and update results

        * layout-tests/dom/html/level2/html/frame-expected.checksum:
        * layout-tests/dom/html/level2/html/frame-expected.png:
        * layout-tests/dom/html/level2/html/iframe-expected.checksum:
        * layout-tests/dom/html/level2/html/iframe-expected.png:
        * layout-tests/dom/html/level2/html/right.png:
        * layout-tests/dom/html/level2/html/w3c_main.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10409 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years agoBug #: none
eseidel [Wed, 31 Aug 2005 06:37:32 +0000 (06:37 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: mjs
        * Scripts/build-svg2png: Removed.
        * svg2png/ImageDiff.h: Removed.
        * svg2png/ImageDiff.m: Removed.
        * svg2png/svg2png.m: Removed.
        * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
        * svg2png/svg2png_Prefix.pch: Removed.
        svg2png is no longer needed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10408 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago - update image results
mjs [Wed, 31 Aug 2005 06:20:57 +0000 (06:20 +0000)]
    - update image results

        * layout-tests/fast/parser/comments-expected.checksum:
        * layout-tests/fast/parser/comments-expected.png:
        * layout-tests/fast/text/line-breaks-expected.checksum: Added.
        * layout-tests/fast/text/line-breaks-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10407 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago * Scripts/check-dom-results: Special case 100% to say something nice.
darin [Wed, 31 Aug 2005 06:12:14 +0000 (06:12 +0000)]
    * Scripts/check-dom-results: Special case 100% to say something nice.
        * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
        applying the patch (need a better name).
        * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10406 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Justin.
mjs [Wed, 31 Aug 2005 05:12:54 +0000 (05:12 +0000)]
    Reviewed by Justin.

        <rdar://problem/4232371> leak of DOMStringImpl called from DOMStringImpl::substring, seen running webkit tests
        <rdar://problem/4232355> leak of DOMStringImpl called from RenderTextFragment::originalString, seen running webkit tests

        Test cases added: None, these leaks were already caught by the layout tests.

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::updateFirstLetter):
        * khtml/rendering/render_container.cpp:
        (RenderContainer::updatePseudoChild):
        * khtml/rendering/render_text.cpp:
        (RenderText::setStyle):
        (RenderText::originalString):
        (RenderTextFragment::originalString):
        * khtml/rendering/render_text.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10405 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Vicki
mjs [Wed, 31 Aug 2005 05:09:03 +0000 (05:09 +0000)]
    Reviewed by Vicki

<rdar://problem/4231978> many leaks of StyleSurroundData called beneath RenderStyle::setMarginTop, seen running webkit tests
<rdar://problem/4232017> many leaks of StyleInheritedData called from different RenderStyle methods, seen running webkit tests
<rdar://problem/4232175> leak of RenderObject called from RenderContainer::updatePseudoChild, seen running webkit tests
<rdar://problem/4232214> many leaks of RenderStyle from CSSStyleSelector::pseudoStyleForElement, seen running webkit tests
<rdar://problem/4232252> many leaks of RenderStyle called beneath NodeImpl::createRendererIfNeeded, seen running webkit tests
<rdar://problem/4232263> many leaks of RenderObject called from TextImpl::createRenderer, seen running webkit tests
<rdar://problem/4233690> leaks of StyleBackgroundData called within setBackgroundColor, seen running webkit tests

        Test cases added: None, these leaks were already caught by the layout tests.

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::updateFirstLetter):
        * khtml/rendering/render_container.cpp:
        (RenderContainer::updatePseudoChild):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10404 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
darin [Wed, 31 Aug 2005 04:55:12 +0000 (04:55 +0000)]
    Reviewed by Maciej.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4574
          HTML parser does not put attributes on the <isindex> element

        * layout-tests/dom/html/level2/html/HTMLIsIndexElement01-expected.txt:
        * layout-tests/dom/html/level2/html/HTMLIsIndexElement02-expected.txt:
        * layout-tests/dom/html/level2/html/HTMLIsIndexElement03-expected.txt:
        Updated to expect success.

        * khtml/html/htmlparser.cpp: (HTMLParser::handleIsindex): Updated to
        put the attributes on the <isindex> element.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10403 268f45cc-cd09-0410-ab3c-d52691b4dbfc