WebKit-https.git
15 years agoExplicitly specify stabs for Debug and Production.
thatcher [Thu, 28 Sep 2006 21:05:56 +0000 (21:05 +0000)]
Explicitly specify stabs for Debug and Production.

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

15 years agoLayoutTests:
harrison [Thu, 28 Sep 2006 20:25:15 +0000 (20:25 +0000)]
LayoutTests:

        Reviewed by Justin.

        Call clearKillRing() so we are guaranteed to start with empty kill ring.

        * editing/pasteboard/emacs-cntl-y-001.html:

WebKitTools:

        Reviewed by Justin.

        Add clearKillRing so we can test emacs support with empty kill ring.

        * DumpRenderTree/EventSendingController.m:
        (+[EventSendingController isSelectorExcludedFromWebScript:]):
        (+[EventSendingController webScriptNameForSelector:]):
        (-[EventSendingController clearKillRing]):

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

15 years ago Reviewed by Tim H.
weinig [Thu, 28 Sep 2006 18:33:45 +0000 (18:33 +0000)]
    Reviewed by Tim H.

        Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11057
        Auto-generate more SVG Objective-C bindings

        - Auto-generates DOMSVGAnimatedAngle, DOMSVGAnimatedBoolean,
          DOMSVGAnimatedEnumeration, DOMSVGAnimatedInteger, DOMSVGAnimatedLength,
          DOMSVGAnimatedLengthList, DOMSVGAnimatedNumber, DOMSVGAnimatedString,
          DOMSVGAnimatedTransformList, DOMSVGExternalResourcesRequired,
          DOMSVGLangSpace, DOMSVGLocatable, DOMSVGMetadataElement, DOMSVGRectElement,
          DOMSVGStringList, DOMSVGStylable, DOMSVGStyleElement, DOMSVGTests,
          and DOMSVGTransformable.

        - Adds ability to CodeGeneratorObjC.pm to handle interfaces with mulitple
          parent interfaces and the SVG animated classes.

        - Corrects CodeGenerator.pm to only skip the first parent for the main
          interface.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOMInternal.h:
        * bindings/objc/DOMSVG.h:
        * bindings/scripts/CodeGenerator.pm:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * ksvg2/svg/SVGAnimatedAngle.idl:
        * ksvg2/svg/SVGAnimatedBoolean.idl:
        * ksvg2/svg/SVGAnimatedEnumeration.idl:
        * ksvg2/svg/SVGAnimatedInteger.idl:
        * ksvg2/svg/SVGAnimatedLength.idl:
        * ksvg2/svg/SVGAnimatedLengthList.idl:
        * ksvg2/svg/SVGAnimatedNumber.idl:
        * ksvg2/svg/SVGAnimatedPathData.idl:
        * ksvg2/svg/SVGAnimatedString.idl:
        * ksvg2/svg/SVGAnimatedTransformList.idl:
        * ksvg2/svg/SVGExternalResourcesRequired.idl:
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl:
        * ksvg2/svg/SVGFitToViewBox.idl:
        * ksvg2/svg/SVGLangSpace.idl:
        * ksvg2/svg/SVGLocatable.idl:
        * ksvg2/svg/SVGMetadataElement.idl:
        * ksvg2/svg/SVGStringList.idl:
        * ksvg2/svg/SVGStylable.idl:
        * ksvg2/svg/SVGStyleElement.idl:
        * ksvg2/svg/SVGTests.idl:
        * ksvg2/svg/SVGTransformable.idl:
        * ksvg2/svg/SVGURIReference.idl:
        * ksvg2/svg/SVGUnitTypes.idl:
        * ksvg2/svg/SVGZoomAndPan.idl:

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

15 years ago Reviewed by Mitz Pettel!!!
beidson [Thu, 28 Sep 2006 18:24:01 +0000 (18:24 +0000)]
    Reviewed by Mitz Pettel!!!

        Change the error code check for common functions from SQLResultOk to SQLResultDone

        * loader/icon/IconDatabase.cpp:
        (WebCore::IconDatabase::forgetPageURLQuery):
        (WebCore::IconDatabase::setIconIDForPageURLQuery):
        (WebCore::IconDatabase::addIconForIconURLQuery):

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

15 years ago Reviewed by Geoff.
mjs [Thu, 28 Sep 2006 09:13:03 +0000 (09:13 +0000)]
    Reviewed by Geoff.

        - change garbage collection to happen at increments proportional to number of live objects, not always
        every 1000 allocations

        * kjs/collector.cpp:
        (KJS::Collector::allocate):

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

15 years ago Reviewed by Mitz.
mjs [Thu, 28 Sep 2006 09:11:30 +0000 (09:11 +0000)]
    Reviewed by Mitz.

        - fixed REGRESSION (r16606): javascriptCore Crash on website load

        Plus style fixes.

            - fixed some possible off-by-one bugs
            - use indexing, not iterators, for Vectors
            - store Vector by pointer instead of by value to avoid blowing out FunctionImp size

        * kjs/function.cpp:
        (KJS::FunctionImp::addParameter):
        (KJS::FunctionImp::parameterString):
        (KJS::FunctionImp::processParameters):
        (KJS::FunctionImp::lengthGetter):
        (KJS::FunctionImp::getParameterName):
        * kjs/function.h:

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

15 years agoDump the use of MapWindowPoints on Win32 and just let the outermost HWND be the viewp...
hyatt [Thu, 28 Sep 2006 08:49:38 +0000 (08:49 +0000)]
Dump the use of MapWindowPoints on Win32 and just let the outermost HWND be the viewport point of reference for events and such.

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

15 years ago Fix for bug 9222, cursor is wrong when mousing over overflow scrollbars in...
hyatt [Thu, 28 Sep 2006 06:46:35 +0000 (06:46 +0000)]
    Fix for bug 9222, cursor is wrong when mousing over overflow scrollbars in textareas.  Make sure
        selectCursor checks for whether or not a scrollbar was hit.  Also stub out a mouseMoved method for
        scrollbars to provide hover feedback if needed.

        Reviewed by Eric

        * page/FrameView.cpp:
        (WebCore::selectCursor):
        (WebCore::FrameView::handleMouseMoveEvent):
        * platform/ScrollBar.h:
        (WebCore::ScrollBar::mouseMoved):

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

15 years ago2006-09-27 Steve Falkenburg <sfalken@apple.com>
sfalken [Thu, 28 Sep 2006 06:32:47 +0000 (06:32 +0000)]
2006-09-27  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Maciej.

        More build tweaks

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCore/dstroot-to-sdk.cmd: Removed.

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

15 years ago2006-09-27 MorganL <morganl.webkit@yahoo.com>
aroben [Thu, 28 Sep 2006 04:56:19 +0000 (04:56 +0000)]
2006-09-27  MorganL  <morganl.webkit@yahoo.com>

        Reviewed by Maciej and Adam, landed by Adam

Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=11072
        Windows build is busted

        * platform/win/TemporaryLinkStubs.cpp:
        (ScrollView::paint):
        (ScrollView::themeChanged):

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

15 years ago * kjs/function.cpp:
sullivan [Thu, 28 Sep 2006 04:35:29 +0000 (04:35 +0000)]
    * kjs/function.cpp:
        (KJS::FunctionImp::getParameterName):
        removed assertion that displeased gcc 4.0.1 (build 5420):
        ASSERT(static_cast<size_t>(index) == index);

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

15 years ago Reviewed by GGaren.
kmccullo [Thu, 28 Sep 2006 02:00:32 +0000 (02:00 +0000)]
    Reviewed by GGaren.

        Cleanup of previous fix which was to address Radar: 4752492

        * kjs/function.cpp:
        (KJS::FunctionImp::addParameter):
        (KJS::FunctionImp::parameterString):
        (KJS::FunctionImp::processParameters):
        (KJS::FunctionImp::lengthGetter):
        (KJS::FunctionImp::getParameterName):
        * kjs/function.h:

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

15 years ago Reviewed by Adele.
kmccullo [Thu, 28 Sep 2006 00:58:52 +0000 (00:58 +0000)]
    Reviewed by Adele.

        Fixes a GC stack overflow crash.
        The change is to move from a linked list implementation of Parameters to a Vector.
        The problem with the linked list is that each one creates it's own stack frame when being destroyed and in extreme cases this caused the stack to overflow.

        * kjs/function.cpp:
        (KJS::Parameter::Parameter):
        (KJS::FunctionImp::addParameter):
        (KJS::FunctionImp::parameterString):
        (KJS::FunctionImp::processParameters):
        (KJS::FunctionImp::lengthGetter):
        (KJS::FunctionImp::getParameterName):
        * kjs/function.h:

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

15 years ago2006-09-27 Steve Falkenburg <sfalken@apple.com>
sfalken [Thu, 28 Sep 2006 00:54:24 +0000 (00:54 +0000)]
2006-09-27  Steve Falkenburg  <sfalken@apple.com>

        Fix last path fix.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

15 years ago2006-09-27 Eric Seidel <eric@eseidel.com>
eseidel [Wed, 27 Sep 2006 23:48:09 +0000 (23:48 +0000)]
2006-09-27  Eric Seidel  <eric@eseidel.com>

        Reviewed by mitz.

        paths with no fill specified default to black but do not recieve paint-related mouse events
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11069
        The default fill was being applied at the wrong place in the rendering chain, causing this problem.

        Test: svg/custom/hover-default-fill.svg

        * kcanvas/RenderPath.cpp:
        (WebCore::RenderPath::nodeAtPoint): use isFilled and isStroked
        * ksvg2/css/SVGRenderStyle.h: use defaultFill() and defaultStroke()
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (WebCore::KSVGPainterFactory::isFilled): remove null check
        (WebCore::KSVGPainterFactory::fillPaintServer): remove null check
        (WebCore::KSVGPainterFactory::isStroked): remove null check
        (WebCore::KSVGPainterFactory::strokePaintServer): remove null check
        * ksvg2/svg/SVGPaint.cpp:
        (WebCore::SVGPaint::defaultFill): added.
        (WebCore::SVGPaint::defaultStroke): added.
        * ksvg2/svg/SVGPaint.h:

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

15 years ago Reviewed by thatcher
justing [Wed, 27 Sep 2006 22:54:05 +0000 (22:54 +0000)]
    Reviewed by thatcher

        <rdar://problem/4044271>
        Writing Direction menu doesn't reflect the current writing direction (9773)

        * English.lproj/Localizable.strings: Added "Right to Left" and "Left to Right"
        * WebView/WebHTMLView.m:
        (-[NSArray validateUserInterfaceItem:]): Validate menu items that perform
        toggleBaseWritingDirection and changeBaseWritingDirection.
        Disable the menu item that changes the writing direction to NSWritingDirectionNautral
        because NSWritingDirectionNatural's behavior can't be implemented with CSS.
        Take control of the title of the menu item that performs toggleBaseWritingDirection:
        instead of checking/unchecking it, otherwise we wouldn't know what a check means.
        (-[NSArray changeBaseWritingDirection:]): ASSERT that the requested writing
        direction is not NSWritingDirectionNatural, since we've disabled the
        menu item that performs it.

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

15 years ago2006-09-27 Steve Falkenburg <sfalken@apple.com>
sfalken [Wed, 27 Sep 2006 22:00:25 +0000 (22:00 +0000)]
2006-09-27  Steve Falkenburg  <sfalken@apple.com>

        Set path before build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

15 years ago Reviewed by eseidel.
rwlbuis [Wed, 27 Sep 2006 20:29:10 +0000 (20:29 +0000)]
    Reviewed by eseidel.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=11015
        SVG handles em units incorrectly

        Calculate viewport coordinates at layout time, since
        at this point the font size is known and lengths depending
        on font sizes can be calculated correctly.

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

15 years agoDebug configs should link to debug runtime.
seangies [Wed, 27 Sep 2006 19:51:21 +0000 (19:51 +0000)]
Debug configs should link to debug runtime.

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

15 years ago2006-09-27 Eric Seidel <eric@eseidel.com>
eseidel [Wed, 27 Sep 2006 19:29:34 +0000 (19:29 +0000)]
2006-09-27  Eric Seidel  <eric@eseidel.com>

        Reviewed by darin.

        Change our invalid-fill error behavior to match Opera (and soon Firefox)
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11017

        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (WebCore::KSVGPainterFactory::isFilled):
        (WebCore::KSVGPainterFactory::fillPaintServer):
        (WebCore::KSVGPainterFactory::isStroked):
        (WebCore::KSVGPainterFactory::strokePaintServer):

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

15 years ago Build fix
beidson [Wed, 27 Sep 2006 19:07:26 +0000 (19:07 +0000)]
    Build fix

        * loader/icon/IconDatabase.cpp:
        (WebCore::readySQLStatement):

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

15 years ago Reviewed by Adam Roben.
gramps [Wed, 27 Sep 2006 18:46:10 +0000 (18:46 +0000)]
    Reviewed by Adam Roben.

        Changed line ending from DOS to UNIX format so it doesn't die running
        on my machine. ;)

        * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:

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

15 years agoWebKit:
beidson [Wed, 27 Sep 2006 18:20:08 +0000 (18:20 +0000)]
WebKit:

        Reviewed by Maciej, landed by Brady

        Update URL request associated with provisional data source on redirect.
        Notify IWebFrameLoadDelegate of redirects for the provisional load.
        Notify IWebFrameLoadDelegate of a provisional load being commited.

        * COM/WebDataSource.cpp:
        (WebDataSource::replaceRequest):
        * COM/WebDataSource.h:
        * COM/WebFrame.cpp:
        (WebFrame::receivedRedirect):
        (WebFrame::receivedResponse):
        (WebFrame::receivedData):

WebKitTools:

        Reviewed by Maciej, landed by Brady

        Fix URL bar updating.

        * Spinneret/Spinneret/Spinneret.h:
        (SpinneretWebHost::didStartProvisionalLoadForFrame):
        (SpinneretWebHost::didCommitLoadForFrame):
        (SpinneretWebHost::didFinishLoadForFrame):

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

15 years agoWebCore:
beidson [Wed, 27 Sep 2006 17:59:28 +0000 (17:59 +0000)]
WebCore:
        Reviewed by Adam

        In very specific circumstances, prepared SQLStatements can become invalid without
        any warning.  This checks for that state and re-prepares the statement and also
        adds more aggressive error-checking everywhere these statements are used.

        * loader/icon/IconDatabase.cpp:
        (WebCore::readySQLStatement): Check if the statement is expired - reprepare it
        (WebCore::IconDatabase::imageDataForIconURLQuery): More thoroughly catch error cases
        (WebCore::IconDatabase::timeStampForIconURLQuery): Ditto
        (WebCore::IconDatabase::iconURLForPageURLQuery): Ditto
        (WebCore::IconDatabase::forgetPageURLQuery): Ditto
        (WebCore::IconDatabase::setIconIDForPageURLQuery): Ditto
        (WebCore::IconDatabase::getIconIDForIconURLQuery): Ditto
        (WebCore::IconDatabase::addIconForIconURLQuery): Ditto
        (WebCore::IconDatabase::hasIconForIconURLQuery): Ditto
        * loader/icon/SQLStatement.cpp:
        (WebCore::SQLStatement::isExpired): Added (accessor to sqlite3_expired())
        * loader/icon/SQLStatement.h:

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

15 years ago Reviewed by Steve.
darin [Wed, 27 Sep 2006 00:56:36 +0000 (00:56 +0000)]
    Reviewed by Steve.

        - clean up options for font code path

        * platform/Font.h:
        * platform/Font.cpp:
        (WebCore::Font::setCodePath): Added. Replaces boolean version.
        (WebCore::Font::canUseGlyphCache): Update to handle "never use complex" case too.

        * platform/mac/WebCoreTextRenderer.mm:
        (WebCoreSetAlwaysUseATSU): Change to call setCodePath.

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

15 years agoWebCore:
sullivan [Tue, 26 Sep 2006 23:44:23 +0000 (23:44 +0000)]
WebCore:

        Reviewed by Darin

        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        (-[WebCoreFrameBridge markAllMatchesForText:caseSensitive:limit:]):
        Added limit parameter, passed down to Frame

        * page/Frame.h:
        * page/Frame.cpp:
        (WebCore::Frame::markAllMatchesForText):
        Added limit parameter. Stop the search if it hits limit.

WebKit:

        Reviewed by Darin

        * WebView/WebHTMLViewPrivate.h:
        * WebView/WebHTMLView.m:
        (-[WebHTMLView markAllMatchesForText:caseSensitive:limit:]):
        Added limit parameter, passed over the bridge. Stop the search if it hits limit.

        * WebView/WebViewPrivate.h:
        * WebView/WebView.m:
        (-[WebView markAllMatchesForText:caseSensitive:highlight:limit:]):
        Added limit parameter, passed to WebHTMLView.

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

15 years agoRemoved #if's.
seangies [Tue, 26 Sep 2006 23:26:51 +0000 (23:26 +0000)]
Removed #if's.

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

15 years agoLayoutTests:
justing [Tue, 26 Sep 2006 19:56:27 +0000 (19:56 +0000)]
LayoutTests:

        Reviewed by john

        <rdar://problem/4747695>
        Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent

        * editing/deleting/list-item-1-expected.checksum: Added.
        * editing/deleting/list-item-1-expected.png: Added.
        * editing/deleting/list-item-1-expected.txt: Added.
        * editing/deleting/list-item-1.html: Added.
        * editing/execCommand/remove-list-item-1-expected.checksum: Added.
        * editing/execCommand/remove-list-item-1-expected.png: Added.
        * editing/execCommand/remove-list-item-1-expected.txt: Added.
        * editing/execCommand/remove-list-item-1.html: Added.

WebCore:

        Reviewed by john

        <rdar://problem/4747695>
        Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
        to select special elements that are fully selected after expansion
        moves to positions that are visually distinct from the originals.
        * editing/InsertListCommand.cpp:
        (WebCore::InsertListCommand::doApply): If the content of the list
        item will be moved into another list, put it in a list item.

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

15 years agoLayoutTests:
harrison [Tue, 26 Sep 2006 19:19:32 +0000 (19:19 +0000)]
LayoutTests:

        Reviewed by John and TimH.

        <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty

        * editing/pasteboard/emacs-cntl-y-001-expected.checksum: Added.
        * editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
        * editing/pasteboard/emacs-cntl-y-001-expected.txt: Added.
        * editing/pasteboard/emacs-cntl-y-001.html: Added.

WebKit:

        Reviewed by John and TimH.

        <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty

        Use deleteBackward: when the killring string is empty. Was always using insertText:,
        but that ends up early-returning if the string to insert is empty.

        * WebView/WebHTMLView.m:
        (-[NSArray yank:]):
        (-[NSArray yankAndSelect:]):

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

15 years ago Reviewed by Darin.
ggaren [Tue, 26 Sep 2006 17:12:45 +0000 (17:12 +0000)]
    Reviewed by Darin.

        Temporary work-around for frame lifetime issue.

        * page/Frame.cpp:
        (WebCore::Frame::clear):
        (WebCore::Frame::disconnectOwnerElement):

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

15 years ago Reviewed by Tim H.
weinig [Tue, 26 Sep 2006 13:44:54 +0000 (13:44 +0000)]
    Reviewed by Tim H.

        Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11038
        Auto-generate DOMSVGElement for the Objective-C bindings

        - Auto-generates DOMSVGElement.

        - Make SVGExceptions work like all the other ExceptionCode
          extensions (Range, XPath, etc.) by adding SVGExceptionOffset
          and SVGExceptionMax.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/kjs_binding.cpp:
        (KJS::):
        (KJS::setDOMException):
        * bindings/objc/DOMInternal.h:
        * bindings/objc/DOMInternal.mm:
        (raiseDOMException):
        * bindings/objc/DOMSVG.h:
        * bindings/objc/DOMSVGExecption.h: Added.
        * ksvg2/ksvg.h:
        * ksvg2/svg/SVGElement.cpp:
        (WebCore::SVGElement::setId):
        (WebCore::SVGElement::setXmlbase):
        * ksvg2/svg/SVGElement.h:
        * ksvg2/svg/SVGElement.idl:
        * ksvg2/svg/SVGException.h: Added.
        (WebCore::):

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

15 years ago2006-09-26 Eric Seidel <eric@eseidel.com>
eseidel [Tue, 26 Sep 2006 13:26:33 +0000 (13:26 +0000)]
2006-09-26  Eric Seidel  <eric@eseidel.com>

        Reviewed by anders.

        * projects/svg/status.xml: update status to reflect current state of SVG development

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

15 years ago2006-09-26 Eric Seidel <eric@eseidel.com>
eseidel [Tue, 26 Sep 2006 13:08:23 +0000 (13:08 +0000)]
2006-09-26  Eric Seidel  <eric@eseidel.com>

        Reviewed by Tim H.

        viewbox parser does not allow <tab> as a delimiter
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11014

        Test: svg/hixie/viewbox/003.xml

        * ksvg2/svg/svgpathparser.cpp:
        (WebCore::isWhitespace): new function
        (WebCore::skipOptionalSpaces):
        (WebCore::skipOptionalSpacesOrComma):

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

15 years ago2006-09-26 Eric Seidel <eric@eseidel.com>
eseidel [Tue, 26 Sep 2006 12:56:30 +0000 (12:56 +0000)]
2006-09-26  Eric Seidel  <eric@eseidel.com>

        Reviewed by Tim H.

        SVGDocument::createElement does not create elements in the SVG namespace
        http://bugzilla.opendarwin.org/show_bug.cgi?id=10932

        Test: svg/custom/createelement.svg

        * ksvg2/svg/SVGDocument.cpp:
        (WebCore::SVGDocument::createElement):
        * ksvg2/svg/SVGDocument.h:

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

15 years ago2006-09-26 Eric Seidel <eric@eseidel.com>
eseidel [Tue, 26 Sep 2006 12:50:16 +0000 (12:50 +0000)]
2006-09-26  Eric Seidel  <eric@eseidel.com>

        Reviewed by Tim H.

        RenderPath::nodeAtPoint does not respect stroke width
        http://bugzilla.opendarwin.org/show_bug.cgi?id=10829

        Test: svg/custom/stroke-width-click.svg

        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        (WebCore::RenderPath::strokeContains):
        * kcanvas/device/quartz/QuartzSupport.h:
        * kcanvas/device/quartz/QuartzSupport.mm:

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

15 years agoRemove stray LayoutTests directory.
eseidel [Tue, 26 Sep 2006 12:41:03 +0000 (12:41 +0000)]
Remove stray LayoutTests directory.

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

15 years ago2006-09-26 Eric Seidel <eric@eseidel.com>
eseidel [Tue, 26 Sep 2006 12:33:30 +0000 (12:33 +0000)]
2006-09-26  Eric Seidel  <eric@eseidel.com>

        Reviewed by mitz.

        Bring animation back to life
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11021

        Register/unregister SVGSVGElements as time containers on insertion/removal.
        Replace uses of DeprecatedString with String in SVGAnimationElement
        Various whitespace clean-up.

        * ksvg2/misc/KSVGTimeScheduler.cpp:
        (WebCore::SVGTimer::notifyAll):
        * ksvg2/misc/SVGDocumentExtensions.cpp:
        (WebCore::SVGDocumentExtensions::startAnimations):
        (WebCore::SVGDocumentExtensions::pauseAnimations):
        (WebCore::SVGDocumentExtensions::unpauseAnimations):
        * ksvg2/svg/SVGAnimateTransformElement.cpp:
        (WebCore::SVGAnimateTransformElement::handleTimerEvent):
        (WebCore::SVGAnimateTransformElement::parseTransformValue):
        * ksvg2/svg/SVGAnimateTransformElement.h:
        * ksvg2/svg/SVGAnimationElement.cpp:
        (WebCore::SVGAnimationElement::SVGAnimationElement):
        (WebCore::SVGAnimationElement::parseMappedAttribute):
        (WebCore::SVGAnimationElement::parseClockValue):
        (WebCore::SVGAnimationElement::targetAttribute):
        (WebCore::SVGAnimationElement::setTargetAttribute):
        (WebCore::SVGAnimationElement::attributeName):
        * ksvg2/svg/SVGAnimationElement.h:
        (WebCore::SVGAnimationElement::rendererIsNeeded):
        * ksvg2/svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::getScreenCTM):
        (WebCore::SVGSVGElement::createRenderer):
        (WebCore::SVGSVGElement::insertedIntoDocument): added, calls addTimeContainer(this)
        (WebCore::SVGSVGElement::removedFromDocument): added, calls removeTimeContainer(this)
        * ksvg2/svg/SVGSVGElement.h:
        * ksvg2/svg/SVGSetElement.cpp:
        (WebCore::SVGSetElement::handleTimerEvent):
        * ksvg2/svg/SVGURIReference.cpp:
        (WebCore::SVGURIReference::getTarget):
        * ksvg2/svg/SVGURIReference.h:

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

15 years ago2006-09-26 Graham Dennis <graham.dennis@gmail.com>
bdash [Tue, 26 Sep 2006 11:27:54 +0000 (11:27 +0000)]
2006-09-26  Graham Dennis  <graham.dennis@gmail.com>

        Reviewed by mitzpettel.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=11020
        No-SVG build broken since r16549

        Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT

        * css/cssparser.cpp:
        (WebCore::CSSParser::parseValue):
        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * page/FrameView.cpp:
        (WebCore::selectCursor):
        * platform/qt/GraphicsContextQt.cpp:

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

15 years agoFix win32 build bustage with StringImpl's toDouble method.
hyatt [Tue, 26 Sep 2006 11:11:40 +0000 (11:11 +0000)]
Fix win32 build bustage with StringImpl's toDouble method.

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

15 years agoLand groundwork for handling theme changes.
hyatt [Tue, 26 Sep 2006 08:30:20 +0000 (08:30 +0000)]
Land groundwork for handling theme changes.

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

15 years ago2006-09-26 Anders Carlsson <acarlsson@apple.com>
andersca [Tue, 26 Sep 2006 07:36:49 +0000 (07:36 +0000)]
2006-09-26  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Maciej.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10820
        Add StringImpl::toDouble() and remove uses of .deprecatedString().toDouble()

        (Originally written by Eric Seidel).

        * bindings/js/kjs_window.cpp:
        (KJS::floatFeature):
        * ksvg2/svg/SVGAngle.cpp:
        (SVGAngle::setValueAsString):
        * ksvg2/svg/SVGAnimationElement.cpp:
        (SVGAnimationElement::parseMappedAttribute):
        * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
        (SVGComponentTransferFunctionElement::parseMappedAttribute):
        * ksvg2/svg/SVGFECompositeElement.cpp:
        (WebCore::SVGFECompositeElement::parseMappedAttribute):
        * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
        (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
        * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
        (SVGFEDisplacementMapElement::parseMappedAttribute):
        * ksvg2/svg/SVGFELightElement.cpp:
        (SVGFELightElement::parseMappedAttribute):
        * ksvg2/svg/SVGFEOffsetElement.cpp:
        (WebCore::SVGFEOffsetElement::parseMappedAttribute):
        * ksvg2/svg/SVGFESpecularLightingElement.cpp:
        (SVGFESpecularLightingElement::parseMappedAttribute):
        * ksvg2/svg/SVGFETurbulenceElement.cpp:
        (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
        * ksvg2/svg/SVGStopElement.cpp:
        (SVGStopElement::parseMappedAttribute):
        * platform/AtomicString.h:
        (WebCore::AtomicString::toDouble):
        * platform/PlatformString.h:
        * platform/String.cpp:
        (WebCore::String::toDouble):
        * platform/StringImpl.cpp:
        (WebCore::StringImpl::toDouble):
        * platform/StringImpl.h:
        * rendering/DeprecatedSlider.cpp:
        (WebCore::DeprecatedSlider::updateFromElement):
        * xml/XPathGrammar.y:

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

15 years ago Reviewed by Tim Omernick and Tim Hatcher.
harrison [Tue, 26 Sep 2006 01:14:46 +0000 (01:14 +0000)]
    Reviewed by Tim Omernick and Tim Hatcher.

        <rdar://problem/4717965> Text Field text parameterized attributes should work
        <rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements

        * bridge/mac/WebCoreAXObject.mm:
        (-[WebCoreAXObject accessibilityAttributeValue:]):
        Use new line number support to implement NSAccessibilityInsertionPointLineNumberAttribute.

        (-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
        Cleaned up. Added text field and text area parameterzed attributes.

        (-[WebCoreAXObject doAXLineForTextMarker:]):
        Fixed to be zero-based and to deal with the first position properly.

        (-[WebCoreAXObject doAXTextMarkerRangeForLine:]):
        Minor formatting.

        (-[WebCoreAXObject textMarkerForIndex:lastIndexOK:]):
        (-[WebCoreAXObject indexForTextMarker:]):
        (-[WebCoreAXObject textMarkerRangeForRange:]):
        (-[WebCoreAXObject rangeForTextMarkerRange:]):
        New utility methods.

        (-[WebCoreAXObject doAXLineForIndex:]):
        (-[WebCoreAXObject doAXRangeForLine:]):
        (-[WebCoreAXObject doAXStringForRange:]):
        (-[WebCoreAXObject doAXRangeForPosition:]):
        (-[WebCoreAXObject doAXRangeForIndex:]):
        (-[WebCoreAXObject doAXBoundsForRange:]):
        (-[WebCoreAXObject doAXAttributedStringForRange:]):
        (-[WebCoreAXObject doAXRTFForRange:]):
        (-[WebCoreAXObject doAXStyleRangeForIndex:]):
        Implement text field and text area parameterized attributes.

        (-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
        Added text field and text area parameterzed attributes.

        * rendering/RenderTextControl.h:
        Made indexForVisiblePosition() and visiblePositionForIndex() public.

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

15 years ago Reviewed by Brady.
aroben [Tue, 26 Sep 2006 00:57:13 +0000 (00:57 +0000)]
    Reviewed by Brady.

        Build fixes.

        * WebCore.vcproj/WebCore/WebCore.vcproj: Fix malformed XML.
        * platform/ResourceLoader.h: Store whether a particular job
        has received a response within the ResourceLoader object itself, since
        it's possible that we will enter the InternetReadFileExA while loop
        twice for the same job.
        * platform/ResourceLoaderInternal.h: Add private instance variable to
        store whether we've received a response.
        (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
        * platform/win/GraphicsContextWin.cpp: Fix order of preprocessor
        directives.
        * platform/win/ResourceLoaderWin.cpp:
        (WebCore::ResourceLoader::onRequestComplete): Ask the ResourceLoader
        whether it has received a response instead of assuming it hasn't.
        (WebCore::ResourceLoader::setHasReceivedResponse): Added.
        (WebCore::ResourceLoader::hasReceivedResponse): Added.
        * platform/win/TemporaryLinkStubs.cpp: Rename setKnobProportion to
        setProportion
        (ScrollBar::setProportion):

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

15 years ago Requested by ggaren
beidson [Tue, 26 Sep 2006 00:33:09 +0000 (00:33 +0000)]
    Requested by ggaren

        Disabled IconDatabase logging by default

        * platform/Logging.cpp:
        (WebCore::):

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

15 years ago2006-09-25 Steve Falkenburg <sfalken@apple.com>
sfalken [Mon, 25 Sep 2006 23:43:46 +0000 (23:43 +0000)]
2006-09-25  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Jeff Jenkins.

        Tweak CF types.

        * platform/cf/ResourceLoaderCFNet.cpp:
        (WebCore::willCacheResponse):

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

15 years agoLayoutTests:
justing [Mon, 25 Sep 2006 21:59:43 +0000 (21:59 +0000)]
LayoutTests:

        Reviewed by john

        * editing/execCommand/indent-empty-root-expected.checksum: Added.
        * editing/execCommand/indent-empty-root-expected.png: Added.
        * editing/execCommand/indent-empty-root-expected.txt: Added.
        * editing/execCommand/indent-empty-root.html: Added.

WebCore:

        Reviewed by john

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=11002>
        Gmail Editor: Crash at WebCore::SplitElementCommand::doApply() when attempting to indent in a new message

        * editing/IndentOutdentCommand.cpp:
        (WebCore::IndentOutdentCommand::indentRegion): Special case
        an empty root editable element.

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

15 years agoMath error in SystemTimeWin
beidson [Mon, 25 Sep 2006 21:40:08 +0000 (21:40 +0000)]
Math error in SystemTimeWin

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

15 years agoBuild fix to avoid property name conflict warning.
thatcher [Mon, 25 Sep 2006 21:31:27 +0000 (21:31 +0000)]
Build fix to avoid property name conflict warning.

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

15 years ago Reviewed by Eric.
ap [Mon, 25 Sep 2006 20:41:33 +0000 (20:41 +0000)]
    Reviewed by Eric.

        Whitespace cleanup; rename *job variables to *loader.

        * bindings/js/JSXMLHttpRequest.cpp:
        (KJS::JSXMLHttpRequestConstructorImp::JSXMLHttpRequestConstructorImp):
        (KJS::JSXMLHttpRequestConstructorImp::implementsConstruct):
        (KJS::JSXMLHttpRequestConstructorImp::construct):
        (KJS::JSXMLHttpRequest::getOwnPropertySlot):
        (KJS::JSXMLHttpRequest::getValueProperty):
        (KJS::JSXMLHttpRequest::put):
        (KJS::JSXMLHttpRequest::putValueProperty):
        (KJS::JSXMLHttpRequest::mark):
        (KJS::JSXMLHttpRequest::JSXMLHttpRequest):
        (KJS::JSXMLHttpRequest::~JSXMLHttpRequest):
        (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
        * bindings/js/JSXMLHttpRequest.h:
        (KJS::JSXMLHttpRequest::toBoolean):
        * xml/xmlhttprequest.cpp:
        (WebCore::XMLHttpRequest::XMLHttpRequest):
        (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
        (WebCore::XMLHttpRequest::send):
        (WebCore::XMLHttpRequest::abort):
        (WebCore::XMLHttpRequest::receivedAllData):
        (WebCore::XMLHttpRequest::receivedData):
        * xml/xmlhttprequest.h:
        (WebCore::):

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

15 years agoWebCore:
thatcher [Mon, 25 Sep 2006 19:04:09 +0000 (19:04 +0000)]
WebCore:

        Reviewed by Brady.

        - Deprecate the rest of the old-style methods that are not generated.
        - Add @property syntax to DOMRange.

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        (-[DOMRange setStart:offset:]):
        (-[DOMRange setEnd:offset:]):
        (-[DOMRange compareBoundaryPoints:sourceRange:]):
        (-[DOMRange setStart::]):
        (-[DOMRange setEnd::]):
        (-[DOMRange compareBoundaryPoints::]):
        (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
        (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
        (-[DOMDocument createNodeIterator::::]):
        (-[DOMDocument createTreeWalker::::]):
        * bindings/objc/DOMCSS.h:
        * bindings/objc/DOMCSS.mm:
        (-[DOMDocument getComputedStyle:pseudoElement:]):
        (-[DOMDocument getComputedStyle::]):
        (-[DOMDocument getMatchedCSSRules:pseudoElement:]):
        * bindings/objc/DOMExtensions.h:
        * bindings/objc/DOMHTML.h:
        * bindings/objc/DOMRange.h:
        * bindings/objc/DOMTraversal.h:

WebKit:

        Reviewed by Brady.

        Use the non-deprecated method names for getComputedStyle, setEnd and setStart.

        * WebInspector/WebInspector.m:
        (-[WebInspector _highlightNode:]):
        * WebView/WebHTMLView.m:
        (unionDOMRanges):
        (-[WebHTMLView _selectRangeInMarkedText:]):
        (-[WebTextCompleteController doCompletion]):
        * WebView/WebView.m:
        (-[WebView computedStyleForElement:pseudoElement:]):

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

15 years agoBuild fix.
thatcher [Mon, 25 Sep 2006 17:37:39 +0000 (17:37 +0000)]
Build fix.

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

15 years ago2006-09-25 Eric Seidel <eric@eseidel.com>
eseidel [Mon, 25 Sep 2006 09:52:04 +0000 (09:52 +0000)]
2006-09-25  Eric Seidel  <eric@eseidel.com>

        Reviewed by mjs.

        Outermost <svg> element should clip to viewport
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11007

        Test: svg/custom/viewport-clip.svg

        * css/svg.css: change svg:root overflow: from 'visible' to 'hidden'

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

15 years ago2006-09-25 Anders Carlsson <acarlsson@apple.com>
andersca [Mon, 25 Sep 2006 08:08:39 +0000 (08:08 +0000)]
2006-09-25  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Maciej.

        * css/MediaList.cpp:
        Remove unused header.

        * dom/Document.cpp:
        (WebCore::Document::clear):
        Use clear instead of iterating through the list of event listeners, removing each one.
        (Doing that causes a crash when running the layout tests with GuardMalloc turned on)

        * html/HTMLKeygenElement.cpp:
        (WebCore::HTMLKeygenElement::HTMLKeygenElement):
        (WebCore::HTMLKeygenElement::appendFormData):
        Update due to changes in the SSL key generator.

        * ksvg2/svg/SVGAngle.cpp:
        Remove unused header.

        * ksvg2/svg/SVGAnimationElement.cpp:
        (SVGAnimationElement::parseMappedAttribute):
        Rename methods and pass Strings instead of DeprecatedStrings to
        parseSeparatedList.

        * ksvg2/svg/SVGFEColorMatrixElement.cpp:
        * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
        * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
        * ksvg2/svg/SVGFEMergeElement.cpp:
        * ksvg2/svg/SVGFEOffsetElement.cpp:
        Remove unused headers.

        * ksvg2/svg/SVGHelper.cpp:
        (WebCore::SVGHelper::parseSeparatedList):
        * ksvg2/svg/SVGHelper.h:
        Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a
        DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.

        * ksvg2/svg/SVGLengthList.cpp:
        (WebCore::SVGLengthList::parse):
        * ksvg2/svg/SVGLengthList.h:
        Use Vector<String> instead of DeprecatedStringList.

        * loader/Cache.cpp:
        (WebCore::Cache::requestImage):
        (WebCore::Cache::requestStyleSheet):
        (WebCore::Cache::requestScript):
        (WebCore::Cache::requestXSLStyleSheet):
        (WebCore::Cache::requestXBLDocument):
        (WebCore::Cache::remove):
        (WebCore::Cache::get):
        Use a String as the key in the cache set instead of a RefPtr<StringImpl>.

        * loader/DocLoader.cpp:
        (WebCore::DocLoader::needReload):
        * loader/DocLoader.h:
        Use a HashSet instead of DeprecatedStringList.

        * page/FrameView.h:
        Remove declarations that have no functions.

        * platform/SSLKeyGenerator.h:
        * platform/mac/SSLKeyGeneratorMac.mm:
        (WebCore::supportedKeySizes):
        (WebCore::signedPublicKeyAndChallengeString):
        Convert to use Vector<String> instead of DeprecatedStringList, and String instead of
        DeprecatedString.

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

15 years agoFix win32 cursor build bustage.
hyatt [Mon, 25 Sep 2006 08:06:17 +0000 (08:06 +0000)]
Fix win32 cursor build bustage.

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

15 years agoCleanup in RenderThemeWin and GraphicsContextCairo/Win
hyatt [Mon, 25 Sep 2006 07:39:01 +0000 (07:39 +0000)]
Cleanup in RenderThemeWin and GraphicsContextCairo/Win

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

15 years ago2006-09-24 Eric Seidel <eric@eseidel.com>
eseidel [Mon, 25 Sep 2006 02:35:09 +0000 (02:35 +0000)]
2006-09-24  Eric Seidel  <eric@eseidel.com>

        Reviewed by beth.

        Browsers disagree on behavior for an invalid fill
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11017

        * svg/custom/invalid-fill-expected.checksum: Added.
        * svg/custom/invalid-fill-expected.png: Added.
        * svg/custom/invalid-fill-expected.txt: Added.
        * svg/custom/invalid-fill.svg: Added.

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

15 years ago2006-09-24 Eric Seidel <eric@eseidel.com>
eseidel [Mon, 25 Sep 2006 01:30:36 +0000 (01:30 +0000)]
2006-09-24  Eric Seidel  <eric@eseidel.com>

        Reviewed by hyatt.

        <svg:a> cannot be styled with a:hover
        http://bugzilla.opendarwin.org/show_bug.cgi?id=11005

        Test: svg/hixie/cascade/002.xml

        * css/cssstyleselector.cpp:
        (WebCore::checkPseudoState):

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

15 years ago Reviewed by Tim H.
weinig [Sun, 24 Sep 2006 22:36:23 +0000 (22:36 +0000)]
    Reviewed by Tim H.

        Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10882
        SVG needs Obj-C DOM bindings

        - Auto-generate the first 8 Objective-C SVG DOM bindings.  The
          auto-generated classes are DOMSVGAngle, DOMSVGLength, DOMSVGLengthList,
          DOMSVGMatrix, DOMSVGPathSeg, DOMSVGPathSegList, DOMSVGTransform, and
          DOMSVGTransformList.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOMInternal.h:
        * bindings/objc/DOMSVG.h: Added.
        * ksvg2/svg/SVGAngle.idl:
        * ksvg2/svg/SVGLength.idl:
        * ksvg2/svg/SVGLengthList.idl:
        * ksvg2/svg/SVGMatrix.idl:
        * ksvg2/svg/SVGPathSeg.idl:
        * ksvg2/svg/SVGPathSegList.idl:
        * ksvg2/svg/SVGTransform.idl:
        * ksvg2/svg/SVGTransformList.idl:

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

15 years agoHopefully this unbreaks the build, should fix linux build too.
rwlbuis [Sun, 24 Sep 2006 20:30:54 +0000 (20:30 +0000)]
Hopefully this unbreaks the build, should fix linux build too.
Thanks to WildFox and buildbot for the notification.

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

15 years ago Reviewed by eseidel.
rwlbuis [Sun, 24 Sep 2006 19:43:13 +0000 (19:43 +0000)]
    Reviewed by eseidel.

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6001
        WebKit does not handle fallback custom cursors
        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6002
        WebKit does not properly handle SVG <cursor> element

        Add support for svg cursor images. Also make sure hotspot
        settings are handled correctly. Add tests for handling of css3
        cursor syntax with hotspots in strict and quirks mode. Finally
        implement fallback.

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

15 years ago Reviewed by Tim H.
weinig [Sun, 24 Sep 2006 19:34:43 +0000 (19:34 +0000)]
    Reviewed by Tim H.

        Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11009
        Auto-generate the internal methods interfaces for the Objective-C bindings

        - Auto-generate the internal method declarations into their own files
          named in the form DOMFooBarInternal.h for class DOMFooBar.

        - Remove all use of DOM_cast from code.

        - Assorted cleanups.

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        (-[DOMNode _initWithNode:WebCore::]):
        (-[DOMNode WebCore::]):
        (-[DOMRange dealloc]):
        (-[DOMRange finalize]):
        (-[DOMRange _initWithRange:WebCore::]):
        (-[DOMRange WebCore::]):
        (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
        (-[DOMNodeFilter WebCore::]):
        (-[DOMNodeFilter dealloc]):
        (-[DOMNodeFilter finalize]):
        (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
        (-[DOMNodeIterator WebCore::]):
        (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
        (-[DOMTreeWalker WebCore::]):
        * bindings/objc/DOMAbstractView.mm:
        (-[DOMAbstractView _initWithAbstractView:WebCore::]):
        * bindings/objc/DOMCSS.mm:
        (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
        (-[DOMCSSRule _initWithRule:WebCore::]):
        (-[DOMCSSValue _initWithValue:WebCore::]):
        * bindings/objc/DOMEvents.mm:
        (-[DOMEvent _initWithEvent:WebCore::]):
        * bindings/objc/DOMHTMLAppletElement.mm:
        (-[DOMHTMLAppletElement align]):
        (-[DOMHTMLAppletElement setAlign:]):
        (-[DOMHTMLAppletElement alt]):
        (-[DOMHTMLAppletElement setAlt:]):
        (-[DOMHTMLAppletElement archive]):
        (-[DOMHTMLAppletElement setArchive:]):
        (-[DOMHTMLAppletElement code]):
        (-[DOMHTMLAppletElement setCode:]):
        (-[DOMHTMLAppletElement codeBase]):
        (-[DOMHTMLAppletElement setCodeBase:]):
        (-[DOMHTMLAppletElement height]):
        (-[DOMHTMLAppletElement setHeight:]):
        (-[DOMHTMLAppletElement hspace]):
        (-[DOMHTMLAppletElement setHspace:]):
        (-[DOMHTMLAppletElement name]):
        (-[DOMHTMLAppletElement setName:]):
        (-[DOMHTMLAppletElement object]):
        (-[DOMHTMLAppletElement setObject:]):
        (-[DOMHTMLAppletElement vspace]):
        (-[DOMHTMLAppletElement setVspace:]):
        (-[DOMHTMLAppletElement width]):
        (-[DOMHTMLAppletElement setWidth:]):
        * bindings/objc/DOMInternal.h:
        (getDOMWrapper):
        (addDOMWrapper):
        (raiseOnDOMError):
        * bindings/objc/DOMXPath.mm:
        (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
        * bindings/scripts/CodeGeneratorObjC.pm:

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

15 years ago Reviewed by eseidel.
rwlbuis [Sun, 24 Sep 2006 14:32:34 +0000 (14:32 +0000)]
    Reviewed by eseidel.

        Fix Qt/Linux build after Dave's Scrollbar changes.

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

15 years ago Reviewed by eseidel.
rwlbuis [Sun, 24 Sep 2006 14:19:27 +0000 (14:19 +0000)]
    Reviewed by eseidel.

        Qt/Linux build system changes: enable xpath/xslt by default.
        Offer possibility to change all of these using 'ccmake'.

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

15 years agoClean up scrollbar API.
hyatt [Sun, 24 Sep 2006 07:23:03 +0000 (07:23 +0000)]
Clean up scrollbar API.

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

15 years ago Reviewed by Eric.
weinig [Sat, 23 Sep 2006 19:03:18 +0000 (19:03 +0000)]
    Reviewed by Eric.

        Build Fix.

        * DumpRenderTree/EventSendingController.m:
        (-[EventSendingController enableDOMUIEventLogging:]):

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

15 years ago Reviewed by Eric.
ap [Sat, 23 Sep 2006 18:44:00 +0000 (18:44 +0000)]
    Reviewed by Eric.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=4872
        XMLHttpRequest fails to throw an exception when there is a security violation
        (mismatching domains)

        Raise an exception if there is a security violation, and also in cases required by
        the current draft of XHR specification.

WebCore:
        * bindings/js/JSXMLHttpRequest.cpp:
        (KJS::JSXMLHttpRequest::getValueProperty): Raise an exception if a DOM method reports one.
        (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Raise an exception if a DOM method
        reports one, and also if there were too few arguments passed.

        * bindings/js/kjs_binding.cpp:
        (KJS::setDOMException): Added support for custom XHR exceptions.

        * xml/xmlhttprequest.h: Changed state names to match the current spec. Defined an
        exception code range for XHR exceptions.

        * xml/xmlhttprequest.cpp:
        (WebCore::XMLHttpRequest::open): Removed a check for m_aborted that could never succeed.
        (WebCore::XMLHttpRequest::send):
        (WebCore::XMLHttpRequest::setRequestHeader):
        (WebCore::XMLHttpRequest::getStatus):
        (WebCore::XMLHttpRequest::getStatusText):
        (WebCore::XMLHttpRequest::processSyncLoadResults):
        (WebCore::XMLHttpRequest::receivedAllData):
        (WebCore::XMLHttpRequest::receivedData):

LayoutTests:
        * http/tests/xmlhttprequest/exceptions-expected.txt: Added.
        * http/tests/xmlhttprequest/exceptions.html: Added.

        * http/tests/xmlhttprequest/extra-parameters-expected.txt: Added.
        * http/tests/xmlhttprequest/extra-parameters.html: Added.
        * http/tests/xmlhttprequest/resources/post-echo.cgi: Added.
        Test that passing too many parameters is OK (Firefox behavior; WinIE raises an exception).

        * fast/dom/xmlhttprequest-get-expected.txt: Updated results.

        * http/tests/xmlhttprequest/zero-length-response-expected.txt:
        * http/tests/xmlhttprequest/zero-length-response-sync-expected.txt:
        * http/tests/xmlhttprequest/zero-length-response-sync.html:
        * http/tests/xmlhttprequest/zero-length-response.html:
        Updated results and changed state names to match the current spec.

        * http/tests/xmlhttprequest/resources/zero-length.xml: Added.

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

15 years ago Reviewed by Maciej.
ap [Sat, 23 Sep 2006 18:08:18 +0000 (18:08 +0000)]
    Reviewed by Maciej.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10183
        REGRESSION: obfuscated JS decoding breaks because of soft hyphen removal
        (Fanfiction.net author pages not listing stories)

        Rolled out the fix for bug 4139.

        * kjs/lexer.cpp:
        (Lexer::setCode):
        (Lexer::shift):
        * tests/mozilla/ecma/Array/15.4.5.1-1.js:
        * tests/mozilla/expected.html:

2006-09-22  Steve Falkenburg  <sfalken@apple.com>

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

15 years ago2006-09-22 Steve Falkenburg <sfalken@apple.com>
sfalken [Sat, 23 Sep 2006 01:58:07 +0000 (01:58 +0000)]
2006-09-22  Steve Falkenburg  <sfalken@apple.com>

        Build fix.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

15 years agoChanged the tests to be if(window.layoutTestController)
thatcher [Sat, 23 Sep 2006 00:56:25 +0000 (00:56 +0000)]
Changed the tests to be if(window.layoutTestController)

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

15 years ago2006-09-22 Steve Falkenburg <sfalken@apple.com>
sfalken [Sat, 23 Sep 2006 00:44:58 +0000 (00:44 +0000)]
2006-09-22  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Jeff Jenkins.

        Tweak CF types.

        * platform/cf/ResourceLoaderCFNet.cpp:
        (WebCore::willCacheResponse):

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

15 years agoWebCore:
justing [Sat, 23 Sep 2006 00:14:55 +0000 (00:14 +0000)]
WebCore:

        Reviewed by darin

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=8029>
        Rename Node::isAncestor and RenderObject::hasAncestor to isDescendantOf

        * dom/Document.cpp:
        (WebCore::Document::clearSelectionIfNeeded):
        * dom/Element.cpp:
        (WebCore::Element::contains):
        * dom/Node.cpp:
        (WebCore::Node::traverseNextNode):
        (WebCore::Node::traverseNextSibling):
        (WebCore::Node::traversePreviousNodePostOrder):
        (WebCore::Node::checkAddChild):
        (WebCore::Node::isDescendantOf):
        * dom/Node.h:
        * dom/NodeIterator.cpp:
        (WebCore::NodeIterator::notifyBeforeNodeRemoval):
        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyBlockStyle):
        (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
        (WebCore::ApplyStyleCommand::applyInlineStyle):
        (WebCore::ApplyStyleCommand::pushDownTextDecorationStyleAroundNode):
        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::mergeIdenticalElements):
        (WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
        * editing/DeleteSelectionCommand.cpp:
        (WebCore::updatePositionForNodeRemoval):
        (WebCore::DeleteSelectionCommand::handleGeneralDelete):
        (WebCore::DeleteSelectionCommand::mergeParagraphs):
        * editing/FormatBlockCommand.cpp:
        (WebCore::FormatBlockCommand::doApply):
        * editing/IndentOutdentCommand.cpp:
        (WebCore::enclosingListOrBlockquote):
        * editing/Selection.cpp:
        (WebCore::Selection::validate):
        * editing/SelectionController.cpp:
        (WebCore::SelectionController::nodeWillBeRemoved):
        * editing/TextIterator.cpp:
        (WebCore::SimplifiedBackwardsTextIterator::advance):
        * editing/VisiblePosition.cpp:
        (WebCore::VisiblePosition::next):
        (WebCore::VisiblePosition::previous):
        (WebCore::VisiblePosition::canonicalPosition):
        (WebCore::isFirstVisiblePositionInNode):
        (WebCore::isLastVisiblePositionInNode):
        * editing/htmlediting.cpp:
        (WebCore::firstEditablePositionAfterPositionInRoot):
        (WebCore::lastEditablePositionBeforePositionInRoot):
        (WebCore::enclosingNodeWithTag):
        (WebCore::enclosingList):
        (WebCore::enclosingListChild):
        * editing/markup.cpp:
        (WebCore::createMarkup):

WebKitTools:

        Reviewed by darin

        * Scripts/do-webcore-rename:

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

15 years agoVersioning
thatcher [Sat, 23 Sep 2006 00:02:44 +0000 (00:02 +0000)]
Versioning

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

15 years agoWebCore:
thatcher [Fri, 22 Sep 2006 23:34:07 +0000 (23:34 +0000)]
WebCore:

        Reviewed by Darin.

        - Added @property syntax to non-generated headers
          inside #ifndef BUILDING_ON_TIGER.
        - Changed the DOMEventTarget protocol to have have new versions
          of addEventListener and removeEventListener with named parameters.
          These old style methods can be removed once Mail changes to use
          the new methods <rdar://problem/4746649>.

        * WebCorePrefix.h: define BUILDING_ON_TIGER when Tiger is the target
        * bindings/objc/DOM.mm:
        (-[DOMNode addEventListener:listener:useCapture:]):
        (-[DOMNode addEventListener:::]): call the new method
        (-[DOMNode removeEventListener:listener:useCapture:]):
        (-[DOMNode removeEventListener:::]): call the new method
        * bindings/objc/DOMAbstractView.h:
        * bindings/objc/DOMEventTarget.h:
        * bindings/objc/DOMHTMLAppletElement.h:
        * bindings/objc/DOMHTMLEmbedElement.h:
        * bindings/objc/DOMHTMLOptionElement.h:
        * bindings/objc/DOMObject.h:
        * bindings/objc/DOMRGBColor.h:

WebKit:

        Reviewed by Darin.

        Pass all headers through unifdef to filter out BUILDING_ON_TIGER blocks
        if MACOSX_DEPLOYMENT_TARGET is 10.4.

        * MigrateHeaders.make:

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

15 years ago Reviewed by Eric.
weinig [Fri, 22 Sep 2006 23:09:56 +0000 (23:09 +0000)]
    Reviewed by Eric.

        Fix Qt/Linux build and a really stupid mixup in GraphicsContextQt.

        * platform/qt/FrameQt.cpp:
        * platform/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::translate): Make it actually translate, not scale! :-)
        (WebCore::GraphicsContext::origin):
        * platform/qt/PlatformScrollBar.h: Added.
        (WebCore::PlatformScrollBar::isWidget):
        * platform/qt/WidgetQt.cpp:
        (WebCore::Widget::invalidate):
        (WebCore::Widget::invalidateRect):

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

15 years ago Reviewed by Alice.
darin [Fri, 22 Sep 2006 22:02:56 +0000 (22:02 +0000)]
    Reviewed by Alice.

        * wtf/Vector.h: Add an append that takes a pointer and length.
        Generalize the existing Vector append to work on vectors with
        any value for inlineCapacity. Change the append algorithm so
        it doesn't check capacity each time through the loop.

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

15 years agoMinor tweaks to RenderThemeMac's systemFont function.
hyatt [Fri, 22 Sep 2006 21:56:44 +0000 (21:56 +0000)]
Minor tweaks to RenderThemeMac's systemFont function.

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

15 years ago2006-09-22 Steve Falkenburg <sfalken@apple.com>
sfalken [Fri, 22 Sep 2006 21:50:53 +0000 (21:50 +0000)]
2006-09-22  Steve Falkenburg  <sfalken@apple.com>

        Fix release build.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:

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

15 years agoI did not pay enough attention at the time of landing WildFox' crash fix.
rwlbuis [Fri, 22 Sep 2006 20:33:19 +0000 (20:33 +0000)]
I did not pay enough attention at the time of landing WildFox' crash fix.
beidson already fixed the problem in r16499. Reverting the test now.

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

15 years agoMerged my previous checkin with what I was *supposed* to checkin that had been review...
beidson [Fri, 22 Sep 2006 19:27:11 +0000 (19:27 +0000)]
Merged my previous checkin with what I was *supposed* to checkin that had been reviewed by Maciej
Added bug numbers to the ChangeLog

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

15 years ago Reviewed by Brady.
thatcher [Fri, 22 Sep 2006 18:41:43 +0000 (18:41 +0000)]
    Reviewed by Brady.

        Build fix for Xcode 2.3. Convert GraphicsContext::translate() to
        take floats. There was already an implicit conversion to float/double
        when calling CGContextTranslateCTM or cairo_translate.

        * platform/GraphicsContext.h:
        * platform/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::translate):
        * platform/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::translate):

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

15 years ago Reviewed by Sfalken
beidson [Fri, 22 Sep 2006 18:22:20 +0000 (18:22 +0000)]
    Reviewed by Sfalken

        Add redirect and other cleanup to ResourceLoaderWin.cpp

        * WebCore.xcodeproj/project.pbxproj:
        * platform/ResourceLoader.h:
        * platform/win/ResourceLoaderWin.cpp:
        (WebCore::ResourceLoaderWndProc):
        (WebCore::initializeOffScreenResourceLoaderWindow):
        (WebCore::ResourceLoader::onHandleCreated):
        (WebCore::ResourceLoader::onRequestRedirected):
        (WebCore::ResourceLoader::onRequestComplete):
        (WebCore::transferJobStatusCallback):

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

15 years ago Reviewed by Geoff.
ap [Fri, 22 Sep 2006 18:18:03 +0000 (18:18 +0000)]
    Reviewed by Geoff.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10803
        REGRESSION (r15536-r15544): manual-tests/bugzilla-6821.html failing

        * page/FrameView.cpp:
        (WebCore::FrameView::hoverTimerFired): Use the current event.

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

15 years ago Reviewed by Anders.
rwlbuis [Fri, 22 Sep 2006 14:13:12 +0000 (14:13 +0000)]
    Reviewed by Anders.

        Fix (last) svg memory leak.

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

15 years ago2006-09-22 Eric Seidel <eric@eseidel.com>
eseidel [Fri, 22 Sep 2006 13:01:51 +0000 (13:01 +0000)]
2006-09-22  Eric Seidel  <eric@eseidel.com>

        No review necessary, just removing a dead file.

        Remove unused file (added previously by mistake) to make room for real implementation.

        * platform/mac/BitmapImageMac.mm: Removed.

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

15 years agoMac side of scrollbar move
hyatt [Fri, 22 Sep 2006 08:51:27 +0000 (08:51 +0000)]
Mac side of scrollbar move

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

15 years agoMove PlatformScrollBar.h down into platform-specific subdirs.
hyatt [Fri, 22 Sep 2006 08:46:49 +0000 (08:46 +0000)]
Move PlatformScrollBar.h down into platform-specific subdirs.

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

15 years agoAdd invalidation methods to widget.
hyatt [Fri, 22 Sep 2006 08:24:33 +0000 (08:24 +0000)]
Add invalidation methods to widget.

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

15 years ago Reviewed by eseidel.
rwlbuis [Fri, 22 Sep 2006 08:23:26 +0000 (08:23 +0000)]
    Reviewed by eseidel.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10901
        Merge build fixes from unity

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

15 years ago Reviewed by eseidel.
rwlbuis [Fri, 22 Sep 2006 08:07:55 +0000 (08:07 +0000)]
    Reviewed by eseidel.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10977
        SVGDocument does not expose 'rootElement' property

        Enable 'rootElement' property.

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

15 years ago2006-09-21 Steve Falkenburg <sfalken@apple.com>
sfalken [Fri, 22 Sep 2006 04:31:33 +0000 (04:31 +0000)]
2006-09-21  Steve Falkenburg  <sfalken@apple.com>

        Tweak includes.

        * platform/ResourceLoaderInternal.h:

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

15 years ago build fixed. band happy.
ggaren [Fri, 22 Sep 2006 01:29:30 +0000 (01:29 +0000)]
    build fixed. band happy.

        * platform/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::translate):
        * platform/mac/WidgetMac.mm:

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

15 years agoJavaScriptCore:
ggaren [Fri, 22 Sep 2006 00:50:41 +0000 (00:50 +0000)]
JavaScriptCore:

        Reviewed by Maciej.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        Updated to include the right path.
        * wtf/FastMalloc.h: #include Platform.h, since we use Platform macros.

WebCore:

        Reviewed by Maciej.

        Some Widget refactoring.

        * WebCore.vcproj/WebCore/WebCore.vcproj:
        * bridge/mac/FrameMac.mm:
        * bridge/win/FrameWin.cpp:
        (WebCore::FrameWin::runJavaScriptAlert):
        (WebCore::FrameWin::runJavaScriptConfirm):
        * bridge/win/PageWin.cpp:
        (WebCore::Page::Page):
        (WebCore::rootWindowForFrame):
        * html/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::translate):
        * page/FrameView.cpp:
        (WebCore::FrameView::isFrameView):
        * page/Page.h:
        (WebCore::Page::setInstanceHandle):
        (WebCore::Page::instanceHandle):
        * platform/GraphicsContext.h:
        * platform/ScrollView.h:
        * platform/Widget.h:
        * platform/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::translate):
        (WebCore::GraphicsContext::origin):
        * platform/mac/WidgetMac.mm:
        (WebCore::Widget::clearFocus):
        * platform/win/ResourceLoaderWin.cpp:
        (WebCore::initializeOffScreenResourceLoaderWindow):
        * platform/win/ScreenWin.cpp:
        (WebCore::monitorInfo):
        * platform/win/ScrollViewWin.cpp:
        (WebCore::ScrollView::updateContents):
        (WebCore::ScrollView::visibleWidth):
        (WebCore::ScrollView::visibleHeight):
        (WebCore::ScrollView::visibleContentRect):
        (WebCore::ScrollView::viewportToContents):
        (WebCore::ScrollView::contentsToViewport):
        (WebCore::ScrollView::scrollBy):
        (WebCore::ScrollView::updateScrollInfo):
        (WebCore::ScrollView::updateScrollBars):
        * platform/win/SharedTimerWin.cpp:
        (WebCore::initializeOffScreenTimerWindow):
        * platform/win/TemporaryLinkStubs.cpp:
        (FrameView::updateBorder):
        (ScrollView::paint):
        (GraphicsContext::clip):
        * platform/win/WidgetWin.cpp:
        (WebCore::Widget::Widget):
        (WebCore::Widget::parentWindow):
        (WebCore::Widget::setParentWindow):
        (WebCore::Widget::frameGeometry):
        (WebCore::Widget::hasFocus):
        (WebCore::Widget::setFocus):
        (WebCore::Widget::show):
        (WebCore::Widget::hide):
        (WebCore::Widget::setFrameGeometry):

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

15 years ago2006-09-21 Anders Carlsson <acarlsson@apple.com>
andersca [Thu, 21 Sep 2006 23:55:28 +0000 (23:55 +0000)]
2006-09-21  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Tim H.

        * platform/TextEncoding.cpp:
        (WebCore::TextEncoding::backslashAsCurrencySymbol):
        Add comment clarifying why backslashAsCurrencySymbol is needed.

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

15 years ago2006-09-21 Matt Lilek <pewtermoose@gmail.com>
bdash [Thu, 21 Sep 2006 22:36:08 +0000 (22:36 +0000)]
2006-09-21  Matt Lilek  <pewtermoose@gmail.com>

        Reviewed by Eric.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10975
        Update the blog template to valid HTML 4.01 Strict.

        * blog/wp-content/themes/webkit/comments-popup.php:
        * blog/wp-content/themes/webkit/comments.php:
        * blog/wp-content/themes/webkit/footer.php:
        * blog/wp-content/themes/webkit/header.php:
        * blog/wp-content/themes/webkit/style.css: Add missing semi-colon that the validator complained about.

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

15 years ago Adding more calls to layoutTestController.dumpChildFrameScrollPositions()
thatcher [Thu, 21 Sep 2006 22:05:43 +0000 (22:05 +0000)]
    Adding more calls to layoutTestController.dumpChildFrameScrollPositions()
        for tests that need to report child frame scroll positions.

        * http/tests/navigation/anchor-frames.html:
        * http/tests/navigation/anchor-subframeload.html:
        * http/tests/navigation/relativeanchor-frames.html:

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

15 years agoFactored out get/release of HDC from cairo GraphicsContext.
seangies [Thu, 21 Sep 2006 21:58:40 +0000 (21:58 +0000)]
Factored out get/release of HDC from cairo GraphicsContext.

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

15 years ago Reviewed by anders
justing [Thu, 21 Sep 2006 21:42:58 +0000 (21:42 +0000)]
    Reviewed by anders

        <rdar://problem/4426622>
        Plain text paste slow.  Time spent mostly in WebCore::rebalanceWhitespaceInTextNode(...)

        * editing/htmlediting.cpp:
        (WebCore::rebalanceWhitespaceInTextNode): We no longer need to use a RegExp replace because we
        aren't producing complicated sequences here.  Use multiple UChar -> UChar replaces instead for speed.
        Got rid of uses of DepricatedString.

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

15 years agoHmm, forgot to commit kcanvas/ changes as part of linux build fixes.
rwlbuis [Thu, 21 Sep 2006 21:22:14 +0000 (21:22 +0000)]
Hmm, forgot to commit kcanvas/ changes as part of linux build fixes.

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

15 years agoToo tired too do it right :}
rwlbuis [Thu, 21 Sep 2006 21:18:32 +0000 (21:18 +0000)]
Too tired too do it right :}

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

15 years ago Reviewed by eseidel.
rwlbuis [Thu, 21 Sep 2006 21:14:28 +0000 (21:14 +0000)]
    Reviewed by eseidel.

        Don't crash if no IconDatabase is available (ie. on Qt/Gdk)

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