WebKit-https.git
16 years agoSince there's OOPS in ChangeLog this should fail.
darin [Thu, 9 Feb 2006 06:31:16 +0000 (06:31 +0000)]
Since there's OOPS in ChangeLog this should fail.

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

16 years agoTesting new OOPS pre-commit action.
darin [Thu, 9 Feb 2006 06:27:48 +0000 (06:27 +0000)]
Testing new OOPS pre-commit action.

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

16 years agoAdded mention of test for the last check-in.
darin [Thu, 9 Feb 2006 06:20:16 +0000 (06:20 +0000)]
Added mention of test for the last check-in.

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

16 years ago Reviewed and tweaked by Darin.
darin [Thu, 9 Feb 2006 06:16:58 +0000 (06:16 +0000)]
    Reviewed and tweaked by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6648
          Safari strips namespace prefix when using setAttribute(), but should treat it as part of name

        * fast/dom/Element: Added.
        * fast/dom/Element/setAttribute-with-colon.html: Added.
        * fast/dom/Element/setAttribute-with-colon-expected.txt: Added.

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

16 years ago Reviewed and tweaked by Darin.
darin [Thu, 9 Feb 2006 06:16:02 +0000 (06:16 +0000)]
    Reviewed and tweaked by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6648
          Safari strips namespace prefix when using setAttribute(), but should treat it as part of name

        * khtml/xml/dom_elementimpl.h: (ElementImpl::setAttribute): Removed body
        * khtml/xml/dom_elementimpl.cpp: (ElementImpl::setAttribute): Changed code so that
        attribute is not parsed into prefix and local name.

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

16 years agoFix win32 build bustage. Added libjpeg prematurely to the project.
hyatt [Thu, 9 Feb 2006 05:51:46 +0000 (05:51 +0000)]
Fix win32 build bustage.  Added libjpeg prematurely to the project.

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

16 years ago Reviewed by thatcher
justing [Thu, 9 Feb 2006 05:25:45 +0000 (05:25 +0000)]
    Reviewed by thatcher

        Changes to test fix for:
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
        webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate

        * DumpRenderTree/DumpRenderTree.m:
        (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
        (+[LayoutTestController isSelectorExcludedFromWebScript:]):
        (+[LayoutTestController webScriptNameForSelector:]):
        (-[LayoutTestController setWindowHasFocus:]):
        (-[LayoutTestController setDisplaysWithFocusAttributes:]):

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

16 years ago Original patch by Graham Dennis, reviewed by me:
justing [Thu, 9 Feb 2006 05:23:38 +0000 (05:23 +0000)]
    Original patch by Graham Dennis, reviewed by me:

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
        webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate

        Changes made by me, reviewed by thatcher:

        Made _setWindowHasFocus: and _setDisplaysWithFocusAttributes: into private SPI to allow
        for the testing of window.onFocus, window.onBlur, caret and focus halo painting, and
        the focusing of content editable regions that happens as side effect of setting a selection,
        but only if the window has focus (7128).

        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge didBeginEditing]):
        (-[WebFrameBridge didEndEditing]):
        * WebView/WebHTMLView.m:
        (-[WebHTMLView updateFocusState]):
        (-[WebHTMLView _setWindowHasFocus:]):
        (-[WebHTMLView _setDisplaysWithFocusAttributes:]):
        * WebView/WebHTMLViewPrivate.h:

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

16 years ago Original patch by Graham Dennis, reviewed by me
justing [Thu, 9 Feb 2006 05:18:20 +0000 (05:18 +0000)]
    Original patch by Graham Dennis, reviewed by me
        Changes made by me, reviewed by thatcher

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
        webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate

        * bridge/mac/MacFrame.h:
        * bridge/mac/MacFrame.mm:
        (WebCore::MacFrame::didBeginEditing):
        (WebCore::MacFrame::didEndEditing):
        * bridge/mac/WebCoreFrameBridge.h:
        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::didBeginEditing):
        (WebCore::DocumentImpl::didEndEditing):
        (WebCore::DocumentImpl::setFocusNode):
        * khtml/xml/DocumentImpl.h:
        * khtml/xml/dom_elementimpl.cpp:
        (WebCore::ElementImpl::focus):
        * page/Frame.h:
        (WebCore::Frame::didBeginEditing):
        (WebCore::Frame::didEndEditing):

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

16 years ago Reviewed by Hyatt.
darin [Thu, 9 Feb 2006 04:44:31 +0000 (04:44 +0000)]
    Reviewed by Hyatt.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7095
          Removing positioning from an element does not relayout properly

        * fast/block/positioning/relayout-on-position-change-expected.checksum: Added.
        * fast/block/positioning/relayout-on-position-change-expected.png: Added.
        * fast/block/positioning/relayout-on-position-change-expected.txt: Added.
        * fast/block/positioning/relayout-on-position-change.html: Added.

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

16 years ago Test: fast/block/positioning/relayout-on-position-change.html
darin [Thu, 9 Feb 2006 04:42:09 +0000 (04:42 +0000)]
    Test: fast/block/positioning/relayout-on-position-change.html

        Reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7095
          Removing positioning from an element does not relayout properly

        * rendering/render_object.cpp:
        (WebCore::RenderObject::setStyle): The second call to setNeedsLayoutAndMinMaxRecalc
        did not mark containing blocks for relayout based on the new position value since
        the object itself was already marked as needing layout. Changed the first call to
        only mark the containing blocks (based on the old position value) and not the
        object itself.

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

16 years agohttp://bugzilla.opendarwin.org/show_bug.cgi?id=4914
darin [Thu, 9 Feb 2006 04:09:04 +0000 (04:09 +0000)]
bugzilla.opendarwin.org/show_bug.cgi?id=4914
http://bugzilla.opendarwin.org/show_bug.cgi?id=4282

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

16 years ago Reviewed by Darin.
darin [Thu, 9 Feb 2006 04:05:15 +0000 (04:05 +0000)]
    Reviewed by Darin.

        - Fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3527
        Allow Safari to open postscript files in browser windows as well

        * WebView/WebPDFRepresentation.m:
        (+[WebPDFRepresentation postScriptMIMETypes]): Added.
        (+[WebPDFRepresentation supportedMIMETypes]): Include PostScript MIME types.
        (-[WebPDFRepresentation convertPostScriptDataSourceToPDF:]): Added.
        (-[WebPDFRepresentation finishedLoadingWithDataSource:]):
        Handle PostScript conversion using new convertPostScriptDataSourceToPDF method.

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

16 years ago - added SVG path hit testing test
mjs [Thu, 9 Feb 2006 03:50:06 +0000 (03:50 +0000)]
    - added SVG path hit testing test

        * svg/custom/hit-test-path-expected.checksum: Added.
        * svg/custom/hit-test-path-expected.png: Added.
        * svg/custom/hit-test-path-expected.txt: Added.
        * svg/custom/hit-test-path.svg: Added.

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

16 years ago Reviewed by Eric.
mjs [Thu, 9 Feb 2006 03:02:38 +0000 (03:02 +0000)]
    Reviewed by Eric.

        RenderPath refactoring:

        - Rename the files to RenderPath
        - Push the portable code from KCanvasItemQuartz down to RenderPath
        - Move most of the unportable code from KCanvasItemQuartz to KCanvasPathQuartz

        The only thing left in KCanvasItemQuartz is marker support. That should be factored to separate
        iterating the path elements (KCanvasPathQuartz needs to provide that) and drawing the markers
        (which should be done in portable code).

        * ForwardingHeaders/kcanvas/RenderPath.h: Removed.
        * WebCore.xcodeproj/project.pbxproj:
        * kcanvas/KCanvasItem.cpp: Removed.
        * kcanvas/KCanvasItem.h: Removed.
        * kcanvas/KCanvasPath.h:
        * kcanvas/RenderPath.cpp: Added.
        (RenderPath::mapAbsolutePointToLocal):
        (RenderPath::fillContains):
        (RenderPath::strokeContains):
        (RenderPath::strokeBBox):
        (RenderPath::relativeBBox):
        (RenderPath::setPath):
        (RenderPath::layout):
        (RenderPath::getAbsoluteRepaintRect):
        (RenderPath::requiresLayer):
        (RenderPath::lineHeight):
        (RenderPath::baselinePosition):
        (RenderPath::paint):
        (RenderPath::nodeAtPoint):
        * kcanvas/RenderPath.h: Added.
        * kcanvas/device/quartz/KCanvasItemQuartz.h:
        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        * kcanvas/device/quartz/KCanvasPathQuartz.h:
        * kcanvas/device/quartz/KCanvasPathQuartz.mm:
        (KCanvasPathQuartz::boundingBox):
        (scratchContext):
        (KCanvasPathQuartz::strokeBoundingBox):
        (pathContainsPoint):
        (KCanvasPathQuartz::containsPoint):
        (KCanvasPathQuartz::strokeContainsPoint):
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
        (KRenderingDeviceQuartz::createItem):
        * kcanvas/device/quartz/QuartzSupport.h:
        * kcanvas/device/quartz/QuartzSupport.mm:
        (applyStrokeStyleToContext):
        * ksvg2/svg/SVGStyledElementImpl.cpp:
        (SVGStyledElementImpl::updateCanvasItem):
        (SVGStyledElementImpl::pushAttributeContext):
        * ksvg2/svg/SVGStyledLocatableElementImpl.cpp:
        * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
        * kwq/KWQRenderTreeDebug.cpp:

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

16 years ago Fix broken layout tests.
adele [Thu, 9 Feb 2006 02:32:04 +0000 (02:32 +0000)]
    Fix broken layout tests.

        * khtml/xml/NodeImpl.cpp:
        (WebCore::NodeImpl::dispatchGenericEvent): iterator is null, so we have to reset it to the first node in the chain.

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

16 years agoLayoutTests:
adele [Thu, 9 Feb 2006 01:41:21 +0000 (01:41 +0000)]
LayoutTests:

        Reviewed by Maciej.

        - test for
        <rdar://problem/4325160> REGRESSION(416.12-420+): window events not stopped by stopPropagation (affects macnn forums)

        * fast/events/window-events-bubble-expected.txt: Added.
        * fast/events/window-events-bubble.html: Added.
        * fast/events/window-events-bubble2-expected.txt: Added.
        * fast/events/window-events-bubble2.html: Added.
        * fast/events/window-events-capture-expected.txt: Added.
        * fast/events/window-events-capture.html: Added.

WebCore:

        Reviewed by Maciej.

        - Fixed <rdar://problem/4325160>
          REGRESSION(416.12-420+): window events not stopped by stopPropagation (affects macnn forums)

        Tests:
        * fast/events/window-events-bubble.html
        * fast/events/window-events-bubble2.html
        * fast/events/window-events-capture.html

        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::handleWindowEvent): Added to send events directly to the window.  This code used to be in defaultEventHandler, but that wasn't sending them at the right time.
        (WebCore::DocumentImpl::defaultEventHandler): Moved code to send window events to handleWindowEvent.
        * khtml/xml/DocumentImpl.h: Added handleWindowEvent.
        * khtml/xml/NodeImpl.cpp:
        (WebCore::NodeImpl::dispatchGenericEvent): fire window events in capture and bubble phases.
        (WebCore::NodeImpl::dispatchWindowEvent): call handleWindowEvent.

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

16 years agoBuild fix to not use echo -e. This failed to build with sh 3.1.
thatcher [Thu, 9 Feb 2006 01:27:52 +0000 (01:27 +0000)]
Build fix to not use echo -e. This failed to build with sh 3.1.

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

16 years agoUndo my checking of red painting that I landed by accident.
hyatt [Wed, 8 Feb 2006 23:49:08 +0000 (23:49 +0000)]
Undo my checking of red painting that I landed by accident.

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

16 years agoImproved Cairo image rendering by only building the surface from the portion of the...
hyatt [Wed, 8 Feb 2006 22:46:43 +0000 (22:46 +0000)]
Improved Cairo image rendering by only building the surface from the portion of the buffer that has been decoded so far.

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

16 years ago2006-02-08 Anders Carlsson <andersca@mac.com>
andersca [Wed, 8 Feb 2006 11:53:23 +0000 (11:53 +0000)]
2006-02-08  Anders Carlsson  <andersca@mac.com>

        Rubber stamped by Maciej.

        Move JSCore.cpp to bindings/js/JSDOMCore.cpp and
        rename JSEvents.cpp to JSDOMEvents.cpp

        * JSCore.cpp: Removed.
        * WebCore.vcproj/WebCore/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSDOMCore.cpp: Added.
        * bindings/js/JSDOMEvents.cpp: Added.
        * bindings/js/JSEvents.cpp: Removed.

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

16 years ago2006-02-06 Anders Carlsson <andersca@mac.com>
andersca [Wed, 8 Feb 2006 11:48:10 +0000 (11:48 +0000)]
2006-02-06  Anders Carlsson  <andersca@mac.com>

        Reviewed by Maciej.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=7108
        Autogenerate most of Element

        * JSCore.cpp:
        Add JSElement.cpp.

        * bindings/scripts/CodeGeneratorJS.pm:
        Handle a bunch of new types.

        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMElement::getValueProperty):
        (KJS::DOMElementProtoFunc::callAsFunction):
        Remove code that is autogenerated now.

        (KJS::getDOMNode):
        Create a JSElement instead of a DOMElement.

        (KJS::getDOMNodeList):
        Take a PassRefPtr like some of the other get methods.

        * khtml/ecma/kjs_dom.h:
        (KJS::DOMElement::):
        Remove the now unused enums.

        * khtml/ecma/kjs_html.cpp:
        (KJS::):
        (KJS::HTMLElement::HTMLElement):
        (KJS::HTMLElement::getOwnPropertySlot):
        (KJS::KJS::HTMLElement::toString):
        (KJS::KJS::HTMLElement::put):
        * khtml/ecma/kjs_html.h:
        Have HTMLElement inherit from JSElement.

        * khtml/xml/Element.idl: Added.

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

16 years agoI jumped the gun adding QString.cpp to the Win32 build. Still has some compile issue...
hyatt [Wed, 8 Feb 2006 11:46:27 +0000 (11:46 +0000)]
I jumped the gun adding QString.cpp to the Win32 build.  Still has some compile issues to work out.  Removing it for now.

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

16 years agoRemove qstring.h forwarding header.
hyatt [Wed, 8 Feb 2006 11:36:15 +0000 (11:36 +0000)]
Remove qstring.h forwarding header.

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

16 years agoGet the new string files added, but Win32 is still busted from the infinite include...
hyatt [Wed, 8 Feb 2006 11:33:38 +0000 (11:33 +0000)]
Get the new string files added, but Win32 is still busted from the infinite include of qstring.h

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

16 years agoLand complete PNG support for Win32 (yay).
hyatt [Wed, 8 Feb 2006 10:50:52 +0000 (10:50 +0000)]
Land complete PNG support for Win32 (yay).

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

16 years ago Rubber stamped by Hyatt.
mjs [Wed, 8 Feb 2006 05:31:04 +0000 (05:31 +0000)]
    Rubber stamped by Hyatt.

        - move kwq/KWQString.mm to platform/QString.cpp, split out nonportable parts, speculative
        port of one remaining nonportable bit to windows.

        * ForwardingHeaders/qstring.h:
        * WebCore+SVG/KDOMSettings.h:
        * WebCore+SVG/kdom.h:
        * WebCore.xcodeproj/project.pbxproj:
        * css/cssparser.h:
        * css/cssstyleselector.cpp:
        * kcanvas/KCanvasResources.h:
        * kcanvas/KCanvasTreeDebug.h:
        * khtml/ecma/kjs_window.h:
        * khtml/editing/html_interchange.cpp:
        * khtml/editing/visible_position.h:
        * khtml/editing/visible_text.h:
        * khtml/editing/visible_units.cpp:
        * khtml/html/FormDataList.h:
        * khtml/html/html_objectimpl.cpp:
        * khtml/html/htmltokenizer.h:
        * khtml/misc/decoder.h:
        * khtml/misc/formdata.h:
        * khtml/xbl/xbl_protohandler.cpp:
        * khtml/xml/dom_position.cpp:
        * khtml/xsl/xslt_processorimpl.h:
        * ksvg2/svg/SVGHelper.h:
        * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
        * ksvg2/svg/SVGStyleElementImpl.cpp:
        * ksvg2/svg/SVGURIReferenceImpl.h:
        * ksvg2/svg/svgpathparser.cpp:
        * kwq/KWQAccObjectCache.mm:
        * kwq/KWQBuffer.h:
        * kwq/KWQEvent.h:
        * kwq/KWQFont.mm:
        * kwq/KWQFontFamily.h:
        * kwq/KWQFontMetrics.h:
        * kwq/KWQKConfigBase.h:
        * kwq/KWQKDebug.h:
        * kwq/KWQKHTMLSettings.h:
        * kwq/KWQKJobClasses.h:
        * kwq/KWQKJobClasses.mm:
        * kwq/KWQKLocale.mm:
        * kwq/KWQKSSLKeyGen.mm:
        * kwq/KWQKURL.h:
        * kwq/KWQLineEdit.h:
        * kwq/KWQRegExp.h:
        * kwq/KWQRenderTreeDebug.h:
        * kwq/KWQString.h: Removed.
        * kwq/KWQString.mm: Removed.
        * kwq/KWQStringList.h:
        * kwq/KWQTextCodec.h:
        * kwq/KWQTextStream.h:
        * kwq/KWQTextUtilities.mm:
        * kwq/WebCoreScriptDebugger.mm:
        * loader/Cache.h:
        * platform/Color.cpp:
        * platform/Color.h:
        * platform/QString.cpp: Added.
        (allocateHandle):
        (KWQStringData::KWQStringData):
        (QString::QString):
        (QString::insert):
        (QString::detach):
        (QString::remove):
        (QString::setLength):
        (QString::fill):
        (initializeHandleNodeBlock):
        (allocateNode):
        (freeHandle):
        * platform/QString.h: Added.
        * platform/SegmentedString.h:
        * platform/StringImpl.h:
        * platform/mac/Image.mm:
        * platform/mac/QString.mm: Added.
        (QString::setBufferFromCFString):
        (QString::fromCFString):
        (QString::fromNSString):
        (QString::getNSString):
        (QString::utf8):
        (QString::fromUtf8):
        * rendering/bidi.h:
        * rendering/break_lines.cpp:

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

16 years agoUpdate page directory in Win32 project to match what's there now.
hyatt [Wed, 8 Feb 2006 03:05:31 +0000 (03:05 +0000)]
Update page directory in Win32 project to match what's there now.

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

16 years ago Reviewed by Adele.
mjs [Wed, 8 Feb 2006 03:01:16 +0000 (03:01 +0000)]
    Reviewed by Adele.

        - remove all remains of old-style frame tree, ChildFrame, ObjectContents and FrameList are all gone

        * WebCore.xcodeproj/project.pbxproj:
        * bridge/BrowserExtension.h:
        * bridge/mac/BrowserExtensionMac.h:
        * bridge/mac/BrowserExtensionMac.mm:
        (WebCore::BrowserExtensionMac::createNewWindow):
        * khtml/ecma/kjs_window.cpp:
        (KJS::createNewWindow):
        (KJS::Window::indexGetter):
        (KJS::Window::getOwnPropertySlot):
        (KJS::WindowFunc::callAsFunction):
        (KJS::FrameArray::getValueProperty):
        (KJS::FrameArray::indexGetter):
        (KJS::FrameArray::nameGetter):
        (KJS::FrameArray::getOwnPropertySlot):
        * kwq/KWQFrame.mm:
        (QFrame::setFrameStyle):
        * page/Frame.cpp:
        (WebCore::Frame::Frame):
        (WebCore::Frame::stopLoading):
        (WebCore::Frame::clear):
        (WebCore::Frame::stopAnimations):
        (WebCore::Frame::checkCompleted):
        (WebCore::Frame::checkEmitLoadEvent):
        (WebCore::Frame::requestFrame):
        (WebCore::Frame::requestObject):
        (WebCore::Frame::loadSubframe):
        (WebCore::Frame::findFrame):
        (WebCore::Frame::frameExists):
        (WebCore::Frame::setZoomFactor):
        (WebCore::Frame::frameNames):
        (WebCore::Frame::frames):
        (WebCore::Frame::childFrameNamed):
        (WebCore::Frame::slotPartRemoved):
        (WebCore::Frame::connectChild):
        (WebCore::Frame::disconnectChild):
        (WebCore::Frame::canCachePage):
        (WebCore::Frame::setPolicyBaseURL):
        (WebCore::Frame::treeNode):
        (WebCore::Frame::frameDetached):
        * page/Frame.h:
        * page/FramePrivate.h:
        * page/FrameTreeNode.h:
        (WebCore::FrameTreeNode::name):
        (WebCore::FrameTreeNode::parent):
        (WebCore::FrameTreeNode::nextSibling):
        (WebCore::FrameTreeNode::previousSibling):
        (WebCore::FrameTreeNode::firstChild):
        (WebCore::FrameTreeNode::lastChild):
        (WebCore::FrameTreeNode::childCount):
        * page/ObjectContents.h: Removed.
        * page/Plugin.h:
        (WebCore::Plugin::view):

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

16 years agoLayoutTests:
adele [Wed, 8 Feb 2006 02:39:22 +0000 (02:39 +0000)]
LayoutTests:

       - test for
        <rdar://problem/3727939> Safari strips \0 characters from HTML tags making them valid

        * fast/encoding/decoder-allow-null-chars.html
        * fast/encoding/decoder-allow-null-chars-expected.txt

WebCore:

        Reviewed by Maciej.

        - Fixed <rdar://problem/3727939> Safari strips \0 characters from HTML tags making them valid

        Test: fast/encoding/decoder-allow-null-chars.html

        * kwq/KWQTextCodec.cpp:
        (KWQTextDecoder::convertLatin1): Removed stripping of null characters
        (unwanted): ditto.

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

16 years agoLand the skeleton of a PNG decoder for Win32.
hyatt [Wed, 8 Feb 2006 00:46:43 +0000 (00:46 +0000)]
Land the skeleton of a PNG decoder for Win32.

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

16 years agoAdd bindings/js/JSEvents.cpp to the win32 build.
hyatt [Wed, 8 Feb 2006 00:14:28 +0000 (00:14 +0000)]
Add bindings/js/JSEvents.cpp to the win32 build.

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

16 years ago2006-02-07 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 7 Feb 2006 23:08:50 +0000 (23:08 +0000)]
2006-02-07  Eric Seidel  <eseidel@apple.com>

        Reviewed by hyatt.

        Removed ImageSubset, making ImageViewer link directly to WebCore.

        * Viewer.vcproj:
        * WebCore.vcproj/ImageSubset: Removed.
        * WebCore.vcproj/ImageSubset/ImageSubset.vcproj: Removed.
        * WebCore.vcproj/WebCore.sln:
        * WebCore.vcproj/WebCore/WebCore.vcproj:

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

16 years agoAdd Image Subset of WebCore as a project to the win32 build for the Image Viewer...
hyatt [Tue, 7 Feb 2006 21:36:25 +0000 (21:36 +0000)]
Add Image Subset of WebCore as a project to the win32 build for the Image Viewer app to link against.

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

16 years ago Reviewed by darin.
ggaren [Tue, 7 Feb 2006 21:32:55 +0000 (21:32 +0000)]
    Reviewed by darin.

        - Fixed <rdar://problem/4425269> REGRESSION: wrong size pop-up when
        downloading attachment at webmail.mac.com (6882)

        The bug was that the feature string parser didn't always initialize the
        *Set variables, so WebCore assumed a height was set when it wasn't,
        and used a garbage height variable.

        While there, I fixed two other bugs: (1) The parser wasn't chewing up
        as many characters as I thought it was. (Chewing up extra characters
        is necessary to match Win IE.) (2) We considered \t and \f to be
        whitespace, but Win IE doesn't.

        * manual-tests/window-open-features-parsing.html: Added these cases,
        fixed up comments.

        * bridge/BrowserExtension.h: Cleaned up declaration order a bit.
        * khtml/ecma/kjs_window.cpp:
        (KJS::isSeparator): New function, tells you if a character is a
        separator
        (KJS::parseWindowFeatures): Always initialize *Set to false. Drive
        parsing based on invalid characters ('separators') rather than valid
        ones, to match Win IE.

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

16 years agoSet more MIME types.
darin [Tue, 7 Feb 2006 21:27:04 +0000 (21:27 +0000)]
Set more MIME types.

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

16 years agoSet a bunch of MIME types.
darin [Tue, 7 Feb 2006 21:17:48 +0000 (21:17 +0000)]
Set a bunch of MIME types.

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

16 years ago2006-02-07 Alexey Proskuryakov <ap@nypop.com>
ap [Tue, 7 Feb 2006 17:01:42 +0000 (17:01 +0000)]
2006-02-07  Alexey Proskuryakov  <ap@nypop.com>

        Reviewed by Timothy.

        Convert JavaScript objects to appropriate AppleScript types, instead of only strings
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7012

WebKit:
        * WebView/WebView.m:
        (-[WebView aeDescByEvaluatingJavaScriptFromString:]): Added.
        * WebView/WebViewPrivate.h:

WebCore:
        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        (aeDescFromJSValue): Added.
        (-[WebCoreFrameBridge aeDescByEvaluatingJavaScriptFromString:]): Added.

WebKitTools:
        * DumpRenderTree/AppleScriptController.h: Added.
        * DumpRenderTree/AppleScriptController.m: Added.
        * DumpRenderTree/DumpRenderTree.m:
        (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:

LayoutTests:
        * fast/AppleScript: Added.
        * fast/AppleScript/001-expected.txt: Added.
        * fast/AppleScript/001.html: Added.
        * fast/AppleScript/array-expected.txt: Added.
        * fast/AppleScript/array.html: Added.
        * fast/AppleScript/date-expected.txt: Added.
        * fast/AppleScript/date.html: Added.

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

16 years agoAdd libpng and the zlib supporting library in preparation for iplementing PNG decoding.
hyatt [Tue, 7 Feb 2006 11:31:51 +0000 (11:31 +0000)]
Add libpng and the zlib supporting library in preparation for iplementing PNG decoding.

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

16 years agoFInal image renaming for Win32 gif stuff.
hyatt [Tue, 7 Feb 2006 11:07:43 +0000 (11:07 +0000)]
FInal image renaming for Win32 gif stuff.

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

16 years ago Rename ImageDecoder to ImageSource.
hyatt [Tue, 7 Feb 2006 10:47:39 +0000 (10:47 +0000)]
    Rename ImageDecoder to ImageSource.

        Reviewed by mjs

        * WebCore.xcodeproj/project.pbxproj:
        * platform/Image.cpp:
        (WebCore::Image::cacheFrame):
        (WebCore::Image::size):
        (WebCore::Image::setNativeData):
        (WebCore::Image::frameCount):
        (WebCore::Image::isSizeAvailable):
        * platform/Image.h:
        * platform/ImageDecoder.h: Removed.
        * platform/ImageSource.h: Added.
        * platform/cairo/ImageCairo.cpp:
        (WebCore::Image::drawInRect):
        * platform/cairo/ImageDecoderCairo.cpp: Removed.
        * platform/cairo/ImageSourceCairo.cpp: Added.
        (WebCore::createDecoderPlugin):
        (WebCore::ImageSource::ImageSource):
        (WebCore::ImageSource::~ImageSource):
        (WebCore::ImageSource::initialized):
        (WebCore::ImageSource::setData):
        (WebCore::ImageSource::isSizeAvailable):
        (WebCore::ImageSource::size):
        (WebCore::ImageSource::repetitionCount):
        (WebCore::ImageSource::frameCount):
        (WebCore::ImageSource::createFrameAtIndex):
        (WebCore::ImageSource::frameDurationAtIndex):
        * platform/mac/Image.mm:
        (WebCore::Image::drawInRect):
        * platform/mac/ImageData.mm: Removed.
        * platform/mac/ImageDecoder.cpp: Removed.
        * platform/mac/ImageSource.cpp: Added.
        (WebCore::ImageSource::ImageSource):
        (WebCore::ImageSource::~ImageSource):
        (WebCore::ImageSource::initialized):
        (WebCore::ImageSource::setData):
        (WebCore::ImageSource::isSizeAvailable):
        (WebCore::ImageSource::size):
        (WebCore::ImageSource::repetitionCount):
        (WebCore::ImageSource::frameCount):
        (WebCore::ImageSource::createFrameAtIndex):
        (WebCore::ImageSource::frameDurationAtIndex):

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

16 years ago Combine ImageData and Image (the result ends up in Image).
hyatt [Tue, 7 Feb 2006 10:17:52 +0000 (10:17 +0000)]
    Combine ImageData and Image (the result ends up in Image).

        Reviewed by mjs

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        (-[DOMElement _image]):
        (-[DOMElement _imageTIFFRepresentation]):
        * bridge/mac/MacFrame.mm:
        (WebCore::MacFrame::fileWrapperForElement):
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (KCanvasFEImageQuartz::getCIFilter):
        * khtml/ecma/kjs_html.cpp:
        (KJS::KJS::Context2DFunction::callAsFunction):
        (KJS::drawPattern):
        (KJS::_rh):
        (KJS::ImagePattern::createPattern):
        * kwq/KWQClipboard.mm:
        (WebCore::KWQClipboard::dragNSImage):
        * kwq/KWQCursor.h:
        * kwq/KWQCursor.mm:
        (WebCore::createCustomCursor):
        (WebCore::QCursor::QCursor):
        * kwq/KWQPainter.h:
        * kwq/KWQPainter.mm:
        (WebCore::QPainter::drawImageAtPoint):
        (WebCore::QPainter::drawImageInRect):
        (WebCore::QPainter::drawImage):
        (WebCore::QPainter::drawFloatImage):
        (WebCore::QPainter::drawTiledImage):
        (WebCore::QPainter::drawScaledAndTiledImage):
        * loader/CachedImage.cpp:
        (WebCore::CachedImage::image):
        * loader/CachedImage.h:
        * page/FrameView.cpp:
        (WebCore::selectCursor):
        * platform/Image.cpp:
        (WebCore::Image::Image):
        (WebCore::Image::~Image):
        (WebCore::Image::invalidateData):
        (WebCore::Image::cacheFrame):
        (WebCore::Image::isNull):
        (WebCore::Image::size):
        (WebCore::Image::setData):
        (WebCore::Image::setNativeData):
        (WebCore::Image::frameCount):
        (WebCore::Image::isSizeAvailable):
        (WebCore::Image::frameAtIndex):
        (WebCore::Image::frameDurationAtIndex):
        (WebCore::Image::shouldAnimate):
        (WebCore::Image::startAnimation):
        (WebCore::Image::stopAnimation):
        (WebCore::Image::resetAnimation):
        (WebCore::Image::advanceAnimation):
        (WebCore::Image::rect):
        * platform/Image.h:
        (KXMLCore::):
        (WebCore::FrameData::m_duration):
        (WebCore::FrameData::~FrameData):
        (WebCore::Image::currentFrame):
        (WebCore::Image::animationObserver):
        (WebCore::Image::setIsPDF):
        * platform/ImageData.cpp: Removed.
        * platform/ImageData.h: Removed.
        * platform/cairo/ImageCairo.cpp:
        (WebCore::FrameData::clear):
        (WebCore::Image::initNativeData):
        (WebCore::Image::destroyNativeData):
        (WebCore::Image::invalidateNativeData):
        (WebCore::Image::drawInRect):
        (WebCore::Image::tileInRect):
        (WebCore::Image::scaleAndTileInRect):
        * platform/mac/Image.mm:
        (WebCore::FrameData::clear):
        (WebCore::Image::initNativeData):
        (WebCore::Image::destroyNativeData):
        (WebCore::Image::invalidateNativeData):
        (WebCore::Image::loadResource):
        (WebCore::Image::supportsType):
        (WebCore::Image::checkForSolidColor):
        (WebCore::Image::getTIFFRepresentation):
        (WebCore::Image::getNSImage):
        (WebCore::Image::getCGImageRef):
        (WebCore::Image::drawInRect):
        (WebCore::drawPattern):
        (WebCore::Image::tileInRect):
        (WebCore::Image::scaleAndTileInRect):
        * rendering/render_image.cpp:
        (WebCore::RenderImage::imageChanged):
        (WebCore::RenderImage::resetAnimation):
        (WebCore::RenderImage::paint):
        (WebCore::RenderImage::nullImage):
        * rendering/render_image.h:
        (WebCore::RenderImage::image):
        * rendering/render_list.cpp:
        (RenderListItem::getAbsoluteRepaintRect):
        (RenderListMarker::paint):
        (RenderListMarker::calcMinMaxWidth):
        * rendering/render_object.cpp:
        (WebCore::RenderObject::paintBorderImage):

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

16 years ago Reviewed by Darin. Landed by Maciej.
mjs [Tue, 7 Feb 2006 09:29:20 +0000 (09:29 +0000)]
    Reviewed by Darin. Landed by Maciej.

        - Several fixes to the site
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7105

        * blog/wp-content/themes/webkit/style.css:
        * index.html:
        * quality/bugwriting.html:
        * quality/reduction.html:
        * webkitdev.css:

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

16 years agoLayoutTests:
mjs [Tue, 7 Feb 2006 09:21:00 +0000 (09:21 +0000)]
LayoutTests:

        Reviewed by Eric.

        - test case that verifies that <object> containing html is treated
          like <iframe> in various respects
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7125

        * fast/dom/HTMLObjectElement/object-as-frame-expected.txt: Added.
        * fast/dom/HTMLObjectElement/object-as-frame.html: Added.

        - updated this test to reflect that the onload event now fires for iframes,
          including ones with empty src
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3609

        * fast/events/event-targets-expected.checksum: Removed.
        * fast/events/event-targets-expected.png: Removed.
        * fast/events/event-targets-expected.txt:
        * fast/events/event-targets.html:

WebCore:

        Reviewed by Eric.

        - fixed "remove frame, renderer and completed flag from ChildFrame, make Frame track these"
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7125

        - fixed "onload event never called for iframe element with emtpy or about:blank src"
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3609

        * bridge/mac/MacFrame.h:
        * bridge/mac/MacFrame.mm:
        (WebCore::MacFrame::MacFrame): pass along renderer
        (WebCore::MacFrame::nextKeyViewInFrameHierarchy): get owner element in newfangled way
        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        (-[WebCoreFrameBridge removeChild:]): don't mess with renderer
        (-[WebCoreFrameBridge init]): call new designated initializer
        (-[WebCoreFrameBridge initWithRenderer:]): new designated initializer
        (-[WebCoreFrameBridge dealloc]): don't mess with renderer
        (-[WebCoreFrameBridge finalize]): ditto
        (-[WebCoreFrameBridge installInFrame:]): ditto
        * page/Frame.cpp:
        (WebCore::FrameList::find): get name from frame not ChildFrame
        (WebCore::Frame::init): take renderer parameter
        (WebCore::Frame::clear): clear m_plugins, not m_objects
        (WebCore::Frame::childBegin): updated comment
        (WebCore::Frame::stop): add check-completed for documentless case here
        (WebCore::Frame::checkCompleted): don't track separate completed flag
        in ChildFrame, use the sub Frame object's own
        (WebCore::Frame::checkEmitLoadEvent): ditto
        (WebCore::Frame::requestFrame): don't store renderer and name in ChildFrame,
        instead pass them along
        (WebCore::Frame::requestObject): ditto above
        (WebCore::Frame::loadPlugin): expect renderer parameter
        (WebCore::Frame::loadSubframe): expect renderer and name parameters
        (WebCore::Frame::slotChildStarted): don't mess with ChildFrame
        (WebCore::Frame::slotChildCompleted): ditto
        (WebCore::Frame::childFrame): don't check m_objects
        (WebCore::Frame::frameExists): fix spacing, remove obsolete check and comment
        (WebCore::Frame::frameNames): get name from frame
        (WebCore::Frame::ownerElement): simplify a lot since the Frame knows its owner
        renderer now
        (WebCore::Frame::ownerRenderer): added
        (WebCore::Frame::canCachePage): check m_plugins not m_objects
        * page/Frame.h:
        * page/FramePrivate.h:
        (WebCore::ChildFrame): Remove constructor, most fields.
        (WebCore::FramePrivate::FramePrivate): Pass ownerRenderer
        * rendering/render_frames.cpp:
        (WebCore::RenderPartObject::updateWidget): Make sure to pass name attr
        to requestObject.

WebKit:

        Reviewed by Eric.

        - fixed "remove frame, renderer and completed flag from ChildFrame, make Frame track these"
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7125

        - fixed "onload event never called for iframe element with emtpy or about:blank src"
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3609

        * WebCoreSupport/WebFrameBridge.h:
        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge initWithPage:webView:renderer:frameName:view:]): Pass along renderer.
        (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]): Pass along renderer.
        * WebCoreSupport/WebPageBridge.m:
        (-[WebPageBridge initWithMainFrameName:webView:frameView:]): Pass null for renderer.
        * WebView/WebView.m:
        * WebView/WebViewPrivate.h:

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

16 years agoLayoutTests:
adele [Tue, 7 Feb 2006 07:48:41 +0000 (07:48 +0000)]
LayoutTests:

        Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6944
          REGRESSION: crash when loading page w/ <link> that has a DOMSubtreeModified event listener

        * fast/events/event-listener-on-link.html: Added.
        * fast/events/event-listener-on-link-expected.txt: Added.
        * fast/events/event-listener-on-link-expected.png: Added.
        * fast/events/event-listener-on-link-expected.checksum: Added.

WebCore:

        Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6944
          REGRESSION: crash when loading page w/ <link> that has a DOMSubtreeModified event listener

        Test: fast/events/event-listener-on-link.html

        * khtml/xml/dom_elementimpl.h: Added createAttrImplIfNeeded, removed allocateImpl,
         changed AttrImpl contructor to remove createTextChild bool, added createTextChild method,
         changed getAttributeNode, getAttributeNodeNS, getNamedItem, getNamedItemNS, and item to return PassRefPtrs.
        (DOM::ElementImpl::getAttributeNode):
        * khtml/xml/dom_elementimpl.cpp:
        (WebCore::AttributeImpl::createAttrImplIfNeeded): New method to replace allocateImpl.
         This will use a RefPtr for the AttrImpl, check for an existing AttrImpl, create one if there isn't one,
         and will call the new createTextChild.
        (WebCore::AttrImpl::AttrImpl):  Moved creation of text child to new createTextChild method.
         If done in the constructor, the ref count is still 0, and the act of appending the text node
         could cause the AttrImpl to be destroyed.
        (WebCore::AttrImpl::createTextChild): Moved code from AttrImpl contructor.
         Also, I've added an assert to make sure that any callers of this have ref'd the AttrImpl.
        (WebCore::AttrImpl::cloneNode): Used RefPtr instead of PassRefPtr, and then called release() on it before returning.
        (WebCore::ElementImpl::cloneNode): ditto.
        (WebCore::ElementImpl::getAttributeNodeNS): Changed return type to PassRefPtr.
        (WebCore::NamedAttrMapImpl::getNamedItemNS): ditto.
        (WebCore::NamedAttrMapImpl::getNamedItem): ditto. Changed use of allocateImpl to createAttrImplIfNeeded
        (WebCore::NamedAttrMapImpl::setNamedItem): ditto.
        (WebCore::NamedAttrMapImpl::removeNamedItem): ditto.
        (WebCore::NamedAttrMapImpl::item): ditto.
        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::createAttributeNS): Changed return type to PassRefPtr and removed bool from AttrImpl contructor call.
        * khtml/xml/DocumentImpl.h: Now returns a PassRefPtr for createAttribute and createAttributeNS.
        (WebCore::DocumentImpl::createAttribute):
        * khtml/xml/NamedNodeMapImpl.h: Now returns a PassRefPtr for getNamedItem, getNamedItemNS, and item.
        (WebCore::NamedNodeMapImpl::getNamedItem):
        * bindings/objc/DOM.mm:
        (-[DOMNamedNodeMap getNamedItem:]): Call get() since the methods discussed above now return PassRefPtrs.
        (-[DOMNamedNodeMap item:]): ditto.
        (-[DOMNamedNodeMap getNamedItemNS::]): ditto.
        (-[DOMDocument createAttribute:]): ditto.
        (-[DOMDocument createAttributeNS::]): ditto.
        (-[DOMElement getAttributeNode:]): ditto.
        (-[DOMElement getAttributeNodeNS::]): ditto.

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

16 years ago Reviewed by Darin.
mjs [Tue, 7 Feb 2006 07:37:04 +0000 (07:37 +0000)]
    Reviewed by Darin.

        - fixed 7094: onfocus/onblur on non-form-controls bubble
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7094

        * khtml/html/HTMLElementImpl.cpp:
        (WebCore::HTMLElementImpl::parseMappedAttribute): connect onfocus/onblur to
        focus/blur, not DOMFocusIn/DOMFocusOut

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

16 years ago Reviewed by Darin.
mjs [Tue, 7 Feb 2006 07:14:16 +0000 (07:14 +0000)]
    Reviewed by Darin.

        - test for 7094: onfocus/onblur on non-form-controls bubble
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7094

        * fast/events/div-focus-expected.txt: Added.
        * fast/events/div-focus.html: Added.

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

16 years agoFix build bustage on Mac.
hyatt [Tue, 7 Feb 2006 07:07:37 +0000 (07:07 +0000)]
Fix build bustage on Mac.

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

16 years agoFix build bustage on Mac.
hyatt [Tue, 7 Feb 2006 07:06:00 +0000 (07:06 +0000)]
Fix build bustage on Mac.

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

16 years ago2006-02-06 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 7 Feb 2006 06:57:35 +0000 (06:57 +0000)]
2006-02-06  Eric Seidel  <eseidel@apple.com>

        Add svn:ignore properties for visual studio internals.

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

16 years ago2006-02-06 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 7 Feb 2006 06:56:03 +0000 (06:56 +0000)]
2006-02-06  Eric Seidel  <eseidel@apple.com>

        Add svn:ignore properties for visual studio internals.

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

16 years ago2006-02-06 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 7 Feb 2006 06:52:55 +0000 (06:52 +0000)]
2006-02-06  Eric Seidel  <eseidel@apple.com>

        Reviewed by hyatt.

        Fix build-webkit for use on win32 (unblocks buildbot usage).
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7122

        * Scripts/build-webkit: use ifCygwin() to conditionalize builds
        * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()

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

16 years agoRename SystemTime.cpp to SystemTimeWin.cpp
hyatt [Tue, 7 Feb 2006 06:30:34 +0000 (06:30 +0000)]
Rename SystemTime.cpp to SystemTimeWin.cpp

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

16 years agoRename SystemTime.cpp to SystemTimeWin.cpp
hyatt [Tue, 7 Feb 2006 06:29:41 +0000 (06:29 +0000)]
Rename SystemTime.cpp to SystemTimeWin.cpp

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

16 years agoRemove accidentally committed file.
hyatt [Tue, 7 Feb 2006 06:28:01 +0000 (06:28 +0000)]
Remove accidentally committed file.

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

16 years agoFix more build bustage.
hyatt [Tue, 7 Feb 2006 06:15:06 +0000 (06:15 +0000)]
Fix more build bustage.

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

16 years agoLand image viewer test app.
hyatt [Tue, 7 Feb 2006 06:13:12 +0000 (06:13 +0000)]
Land image viewer test app.

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

16 years ago Reviewed by Darin.
ap [Tue, 7 Feb 2006 06:11:17 +0000 (06:11 +0000)]
    Reviewed by Darin.

        - Refactor DateInstance to provide direct access to data. Several WIN32 modifications.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7107

        - No tests added - only changed functionality on WIN32, which should be covered by
        existing tests.

        * kjs/date_object.cpp:
        (gmtoffset): On WIN32, use the recommended global (_timezone rather than timezone).
        Updated comments.
        (KJS::timeZoneOffset): Removed, was basically the same as the above.
        (KJS::formatTime): Pass an UTC flag - UTC/local cannot be correctly selected on
        Windows based on struct tm itself.
        (KJS::DateInstance::getTime): Added.
        (KJS::DateInstance::getUTCTime): Added.
        (KJS::millisecondsToTM): Factored out from DateProtoFunc::callAsFunction().
        (KJS::DateObjectImp::callAsFunction): Use the new parameter to formatTime().
        (KJS::DateProtoFunc::callAsFunction): Updated for the other changes. The code for
        GetTimezoneOffset was incorrect on WIN32 - _daylight global has nothing to do
        with daylight savings time being in effect.

        * kjs/date_object.h: Added prototypes for new functions.

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

16 years agoRemove stray .cvsignore file accidentally committed.
hyatt [Tue, 7 Feb 2006 05:55:20 +0000 (05:55 +0000)]
Remove stray .cvsignore file accidentally committed.

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

16 years agoFix build bustage. Missed a file.
hyatt [Tue, 7 Feb 2006 05:51:39 +0000 (05:51 +0000)]
Fix build bustage. Missed a file.

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

16 years agoLand new image code (excluding the test app, work to do there still)
hyatt [Tue, 7 Feb 2006 05:37:19 +0000 (05:37 +0000)]
Land new image code (excluding the test app, work to do there still)

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

16 years agoCommit remaining Cairo files.
hyatt [Tue, 7 Feb 2006 05:30:22 +0000 (05:30 +0000)]
Commit remaining Cairo files.

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

16 years agoLand Cairo itself.
hyatt [Tue, 7 Feb 2006 05:13:31 +0000 (05:13 +0000)]
Land Cairo itself.

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

16 years agoLand pixman portion of Cairo.
hyatt [Tue, 7 Feb 2006 05:10:21 +0000 (05:10 +0000)]
Land pixman portion of Cairo.

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

16 years agoLand pixman portion of Cairo.
hyatt [Tue, 7 Feb 2006 05:04:08 +0000 (05:04 +0000)]
Land pixman portion of Cairo.

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

16 years agoCommit cairo. Having to do this in pieces since the commit hangs otherwise.
hyatt [Tue, 7 Feb 2006 04:51:09 +0000 (04:51 +0000)]
Commit cairo. Having to do this in pieces since the commit hangs otherwise.

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

16 years agoCommit cairo. Having to do this in pieces since the commit hangs otherwise.
hyatt [Tue, 7 Feb 2006 04:51:01 +0000 (04:51 +0000)]
Commit cairo. Having to do this in pieces since the commit hangs otherwise.

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

16 years agoCommit cairo. Having to do this in pieces since the commit hangs otherwise.
hyatt [Tue, 7 Feb 2006 04:50:42 +0000 (04:50 +0000)]
Commit cairo. Having to do this in pieces since the commit hangs otherwise.

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

16 years agoCommit cairo. Having to do this in pieces since the commit hangs otherwise.
hyatt [Tue, 7 Feb 2006 04:50:28 +0000 (04:50 +0000)]
Commit cairo. Having to do this in pieces since the commit hangs otherwise.

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

16 years agoCommit cairo. Having to do this in pieces since the commit hangs otherwise.
hyatt [Tue, 7 Feb 2006 04:48:45 +0000 (04:48 +0000)]
Commit cairo. Having to do this in pieces since the commit hangs otherwise.

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

16 years agoCommit cairo. Having to do this in pieces since the commit hangs otherwise.
hyatt [Tue, 7 Feb 2006 04:48:03 +0000 (04:48 +0000)]
Commit cairo. Having to do this in pieces since the commit hangs otherwise.

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

16 years ago Reviewed by Darin and Eric.
vicki [Tue, 7 Feb 2006 03:39:54 +0000 (03:39 +0000)]
    Reviewed by Darin and Eric.

        - fix <rdar://problem/4414918> REGRESSION: images dragged into contenteditable area
        end up outside of editable area (6525)

        * bridge/mac/WebCoreFrameBridge.mm:
        (-[WebCoreFrameBridge RenderObject::nodeInfoAtPoint:]): Moved code from
        elementAtPoint to this new method.  This method takes a point and returns a NodeInfo
        for the deepest node at that point.
        (-[WebCoreFrameBridge elementAtPoint:]): Use new nodeInfoAtPoint method.
        (-[WebCoreFrameBridge _visiblePositionForPoint:]): Ditto.

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

16 years ago2006-02-06 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 7 Feb 2006 03:16:28 +0000 (03:16 +0000)]
2006-02-06  Eric Seidel  <eseidel@apple.com>

        Rubber-stamped by darin & mjs.

        Added new support directory for build slave scripts.
        Committing the first script, for use by the PLT's build slave.
        This script is used to kick of the PLT (Page Load Test) slave.

        * BuildSlaveSupport: Added.
        * BuildSlaveSupport/run-performance-tests: Added.

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

16 years ago Reviewed by NOBODY (OOPS!).
darin [Tue, 7 Feb 2006 02:47:46 +0000 (02:47 +0000)]
    Reviewed by NOBODY (OOPS!).

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7071
          REGRESSION: Jumping to an anchor identifier makes page scroll horizontally

        * fast/overflow/scroll-vertical-not-horizontal.html: Added.
        * fast/overflow/scroll-vectical-not-horizontal-expected.txt: Added.

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

16 years ago Reviewed by NOBODY (OOPS!).
darin [Tue, 7 Feb 2006 02:47:38 +0000 (02:47 +0000)]
    Reviewed by NOBODY (OOPS!).

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7071
          REGRESSION: Jumping to an anchor identifier makes page scroll horizontally

        Test: fast/overflow/scroll-vertical-not-horizontal.html

        * rendering/render_layer.cpp: (WebCore::RenderLayer::getRectToExpose):
        Fixed rectangle intersections so that the X and Y dimensions are independent,
        to fix the bug. Also restructured the function a bit so it's even easier to
        read and understand.

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

16 years ago * WebKitSystemInterface.h:
sullivan [Tue, 7 Feb 2006 01:16:06 +0000 (01:16 +0000)]
    * WebKitSystemInterface.h:
        * libWebKitSystemInterface.a:
        removed WKExecutableLinkedInTigerOrEarlier

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

16 years ago Suggested by Darin.
harrison [Tue, 7 Feb 2006 01:15:34 +0000 (01:15 +0000)]
    Suggested by Darin.

        * khtml/html/HTMLElementImpl.cpp:
        (WebCore::HTMLElementImpl::createContextualFragment):
        - make nextChild a RefPtr to survive possible DOM changes

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

16 years ago Reviewed by Maciej Stachowiak.
sullivan [Tue, 7 Feb 2006 01:10:19 +0000 (01:10 +0000)]
    Reviewed by Maciej Stachowiak.

        * WebView/WebPDFView.m:
        (-[WebPDFView menuForEvent:]):
        Removed use of WKExecutableLinkedInTigerOrEarlier() by modifying backward-compatibility
        hack involving PDF view context menus. Now we only bother to make sure that the PDFKit-
        supplied context menu items are present in Safari, for the benefit of the open source
        folks using tip of tree WebKit but older released Safari; it's possible that some other
        existing WebKit apps won't show all the PDF view context menu items.

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

16 years ago2006-02-06 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 7 Feb 2006 00:57:21 +0000 (00:57 +0000)]
2006-02-06  Eric Seidel  <eseidel@apple.com>

        Rubber-stamped by darin.

        Adding setSourceDir for scripts stored in non-standard locations.

        * Scripts/webkitdirs.pm:

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

16 years ago Reviewed by John and Adele
bdakin [Mon, 6 Feb 2006 23:35:09 +0000 (23:35 +0000)]
    Reviewed by John and Adele

        Fix for <rdar://problem/4323167> REGRESSION (TOT): Crash in
        RenderTable::colToEffCol entering text into text input field

        Some of the autofill code assumes that the form's label is in a
        table cell, but this is not necessarily the case. This fix checks
        that the renderer is actually a table cell before treating it as
        such.

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

16 years ago Reviewed by John.
darin [Mon, 6 Feb 2006 19:56:29 +0000 (19:56 +0000)]
    Reviewed by John.

        - fix <rdar://problem/4432562> REGRESSION (TOT):
          Safari's "stop loading" active, "view source" inactive after page load [7058]
          http://bugzilla.opendarwin.org/show_bug.cgi?id=7058

        * page/Frame.h: Make redirectionTimerFired virtual.
        * bridge/mac/MacFrame.h: Override redirectionTimerFired.
        * bridge/mac/MacFrame.mm: (WebCore::MacFrame::redirectionTimerFired):
        Send the redirectionTimerCancelled callback here, even though it has
        fired rather than being cancelled.

        * manual-tests/redirect.html: Added.
        * manual-tests/redirection-target.html: Added.

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

16 years ago Reviewed by John.
harrison [Mon, 6 Feb 2006 18:29:20 +0000 (18:29 +0000)]
    Reviewed by John.

        Fix TOT regression where Mail.app replies were getting truncated.
        Was caused by 1/26/2006 checkin for http://bugzilla.opendarwin.org/show_bug.cgi?id=6754

        No layout test because this code cannot be reached via JS operations.

        * khtml/html/HTMLElementImpl.cpp:
        (WebCore::HTMLElementImpl::createContextualFragment):
        - restore code that sampled nextSibling() before node is removed
        - also, add asserts that the DOM mutation methods yield a 0 exception code, so problems
          can be caught closer to the cause.

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

16 years ago Remove remaining .subproj references to fix release build.
mjs [Mon, 6 Feb 2006 09:35:50 +0000 (09:35 +0000)]
    Remove remaining .subproj references to fix release build.

        * WebKit.xcodeproj/project.pbxproj:

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

16 years ago Rubber stamped by Hyatt.
mjs [Mon, 6 Feb 2006 08:58:05 +0000 (08:58 +0000)]
    Rubber stamped by Hyatt.

        - renamed subproject directories to not end with .subproj

        * Carbon: renamed from Carbon.subproj
        * DOM: renamed from DOM.subproj
        * History: renamed from History.subproj
        * Misc: renamed from Misc.subproj
        * Panels: renamed from Panels.subproj
        * Plugins: renamed from Plugins.subproj
        * WebCoreSupport: renamed from WebCoreSupport.subproj
        * WebInspector: renamed from WebInspector.subproj
        * WebView: renamed from WebView.subproj

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

16 years ago Ooops, I made a last-minute change to my last patch that broke the build...
mjs [Mon, 6 Feb 2006 08:10:25 +0000 (08:10 +0000)]
    Ooops, I made a last-minute change to my last patch that broke the build - fixed.

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _closeOldDataSources]):
        (-[WebFrame _detachFromParent]):
        (-[WebFrame _transitionToCommitted:]):
        (-[WebFrame _checkLoadCompleteForThisFrame]):
        (-[WebFrame _handledOnloadEvents]):
        (-[WebFrame _loadItem:withLoadType:]):
        (-[WebFrame _goToItem:withLoadType:]):
        (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:formState:]):
        (-[WebFrame _clientRedirectedTo:delay:fireDate:lockHistory:isJavaScriptFormAction:]):
        (-[WebFrame _clientRedirectCancelled:]):
        * WebView.subproj/WebFramePrivate.h:

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

16 years ago Reviewed by Anders.
mjs [Mon, 6 Feb 2006 07:49:05 +0000 (07:49 +0000)]
    Reviewed by Anders.

        - fixed ~1100 KJS::Node leaked on layout tests
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7097

        * kjs/internal.cpp:
        (KJS::Parser::noteNodeCycle):
        (KJS::Parser::removeNodeCycle):
        (KJS::clearNewNodes):
        * kjs/internal.h:
        * kjs/nodes.cpp:
        (ElementNode::breakCycle):
        (PropertyListNode::breakCycle):
        (ArgumentListNode::breakCycle):
        (StatListNode::StatListNode):
        (StatListNode::breakCycle):
        (VarDeclListNode::breakCycle):
        (BlockNode::BlockNode):
        (ClauseListNode::breakCycle):
        (CaseBlockNode::CaseBlockNode):
        (ParameterNode::breakCycle):
        (SourceElementsNode::SourceElementsNode):
        (SourceElementsNode::breakCycle):
        * kjs/nodes.h:
        (KJS::Node::breakCycle):
        (KJS::ElementNode::ElementNode):
        (KJS::ArrayNode::ArrayNode):
        (KJS::PropertyListNode::PropertyListNode):
        (KJS::ObjectLiteralNode::ObjectLiteralNode):
        (KJS::ArgumentListNode::ArgumentListNode):
        (KJS::ArgumentsNode::ArgumentsNode):
        (KJS::VarDeclListNode::VarDeclListNode):
        (KJS::VarStatementNode::VarStatementNode):
        (KJS::ForNode::ForNode):
        (KJS::CaseClauseNode::CaseClauseNode):
        (KJS::ClauseListNode::ClauseListNode):
        (KJS::ParameterNode::ParameterNode):
        (KJS::FuncExprNode::FuncExprNode):
        (KJS::FuncDeclNode::FuncDeclNode):

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

16 years ago Reviewed by Darin.
mjs [Mon, 6 Feb 2006 07:25:36 +0000 (07:25 +0000)]
    Reviewed by Darin.

        - shuffle things around so that WebFrame no longer has a WebView backpointer, the backpointer is
        at the bridge level.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7093

        * WebCoreSupport.subproj/WebFrameBridge.h:
        * WebCoreSupport.subproj/WebFrameBridge.m:
        (-[WebFrameBridge initWithPage:webView:frameName:view:]):
        (-[WebFrameBridge page]):
        (-[WebFrameBridge mainFrame]):
        (-[WebFrameBridge webView]):
        (-[WebFrameBridge createWindowWithURL:frameName:]):
        (-[WebFrameBridge showWindow]):
        (-[WebFrameBridge areToolbarsVisible]):
        (-[WebFrameBridge setToolbarsVisible:]):
        (-[WebFrameBridge isStatusbarVisible]):
        (-[WebFrameBridge setStatusbarVisible:]):
        (-[WebFrameBridge setWindowFrame:]):
        (-[WebFrameBridge windowFrame]):
        (-[WebFrameBridge setWindowContentRect:]):
        (-[WebFrameBridge windowContentRect]):
        (-[WebFrameBridge setWindowIsResizable:]):
        (-[WebFrameBridge windowIsResizable]):
        (-[WebFrameBridge firstResponder]):
        (-[WebFrameBridge makeFirstResponder:]):
        (-[WebFrameBridge closeWindowSoon]):
        (-[WebFrameBridge runJavaScriptAlertPanelWithMessage:]):
        (-[WebFrameBridge runJavaScriptConfirmPanelWithMessage:]):
        (-[WebFrameBridge canRunBeforeUnloadConfirmPanel]):
        (-[WebFrameBridge runBeforeUnloadConfirmPanelWithMessage:]):
        (-[WebFrameBridge runJavaScriptTextInputPanelWithPrompt:defaultText:returningText:]):
        (-[WebFrameBridge addMessageToConsole:]):
        (-[WebFrameBridge runOpenPanelForFileButtonWithResultListener:]):
        (-[WebFrameBridge setStatusText:]):
        (-[WebFrameBridge startLoadingResource:withURL:customHeaders:]):
        (-[WebFrameBridge startLoadingResource:withURL:customHeaders:postData:]):
        (-[WebFrameBridge syncLoadResourceWithURL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
        (-[WebFrameBridge focusWindow]):
        (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
        (-[WebFrameBridge userAgentForURL:]):
        (-[WebFrameBridge _nextKeyViewOutsideWebFrameViewsWithValidityCheck:]):
        (-[WebFrameBridge previousKeyViewOutsideWebFrameViews]):
        (-[WebFrameBridge defersLoading]):
        (-[WebFrameBridge setDefersLoading:]):
        (-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:]):
        (-[WebFrameBridge _preferences]):
        (-[WebFrameBridge selectWordBeforeMenuEvent]):
        (-[WebFrameBridge historyLength]):
        (-[WebFrameBridge canGoBackOrForward:]):
        (-[WebFrameBridge goBackOrForward:]):
        (-[WebFrameBridge print]):
        (-[WebFrameBridge pollForAppletInView:]):
        (-[WebFrameBridge respondToChangedContents]):
        (-[WebFrameBridge respondToChangedSelection]):
        (-[WebFrameBridge undoManager]):
        (-[WebFrameBridge issueCutCommand]):
        (-[WebFrameBridge issueCopyCommand]):
        (-[WebFrameBridge issuePasteCommand]):
        (-[WebFrameBridge issuePasteAndMatchStyleCommand]):
        (-[WebFrameBridge canPaste]):
        (-[WebFrameBridge overrideMediaType]):
        (-[WebFrameBridge isEditable]):
        (-[WebFrameBridge shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
        (-[WebFrameBridge shouldBeginEditing:]):
        (-[WebFrameBridge shouldEndEditing:]):
        (-[WebFrameBridge windowObjectCleared]):
        (-[WebFrameBridge spellCheckerDocumentTag]):
        (-[WebFrameBridge isContinuousSpellCheckingEnabled]):
        (-[WebFrameBridge didFirstLayout]):
        (-[WebFrameBridge dashboardRegionsChanged:]):
        (-[WebFrameBridge createModalDialogWithURL:]):
        (-[WebFrameBridge canRunModal]):
        (-[WebFrameBridge runModal]):
        * WebCoreSupport.subproj/WebPageBridge.h:
        * WebCoreSupport.subproj/WebPageBridge.m:
        (-[WebPageBridge initWithMainFrameName:webView:frameView:]):
        (-[WebPageBridge webView]):
        * WebView.subproj/WebDataSource.m:
        (-[WebDataSource _fileWrapperForURL:]):
        (-[WebDataSource _webView]):
        (-[WebDataSource _setLoading:]):
        (-[WebDataSource _startLoading:]):
        (-[WebDataSource _setTitle:]):
        (-[WebDataSource _setRequest:]):
        (-[WebDataSource _updateIconDatabaseWithURL:]):
        (-[WebDataSource _defersCallbacksChanged]):
        (-[WebDataSource _setWebFrame:]):
        * WebView.subproj/WebDataSourcePrivate.h:
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _traverseNextFrameStayWithin::]):
        (-[WebFrame _detachFromParent]):
        (-[WebFrame _setDataSource:]):
        (-[WebFrame _loadDataSource:withLoadType:formState:]):
        (-[WebFrame _initWithWebFrameView:webView:bridge:]):
        (-[WebFrame dealloc]):
        (-[WebFrame finalize]):
        (-[WebFrame webView]):
        * WebView.subproj/WebFrameView.m:
        (-[WebFrameView _webView]):
        (-[WebFrameView _goBack]):
        (-[WebFrameView _goForward]):
        * WebView.subproj/WebFrameViewInternal.h:
        * WebView.subproj/WebView.m:
        (-[WebView _createFrameNamed:inParent:allowsScrolling:]):
        (-[WebView _commonInitializationWithFrameName:groupName:]):

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

16 years ago2006-02-05 Anders Carlsson <andersca@mac.com>
andersca [Mon, 6 Feb 2006 07:06:43 +0000 (07:06 +0000)]
2006-02-05  Anders Carlsson  <andersca@mac.com>

        Reviewed by Maciej.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=7091
        Autogenerate even more.

        * JSCore.cpp:
        Add new generated files.

        * bindings/scripts/CodeGeneratorJS.pm:
        Add "IsIndex" extended attribute for parameters. Any parameter that is "unsigned long"
        and has this attribute will be checked to make sure that it's not < 0. If it is, an index size error
        exception will be thrown.

        * khtml/ecma/kjs_dom.cpp:
        (KJS::toAttr):
        Use JSAttr::info.

        (KJS::getDOMNode):
        Use new constructors.

        * khtml/ecma/kjs_dom.h:
        Remove classes that are generated now.

        * khtml/xml/Attr.idl: Added.
        * khtml/xml/CharacterData.idl: Added.
        * khtml/xml/Entity.idl: Added.
        * khtml/xml/Notation.idl: Added.
        * khtml/xml/ProcessingInstruction.idl: Added.
        * khtml/xml/Text.idl: Added.

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

16 years ago2006-02-05 Eric Seidel <eseidel@apple.com>
eseidel [Mon, 6 Feb 2006 05:57:30 +0000 (05:57 +0000)]
2006-02-05  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        General update to SVG project page, also link to status page.

        * projects/svg/index.html:

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

16 years ago2006-02-05 Eric Seidel <eseidel@apple.com>
eseidel [Mon, 6 Feb 2006 05:36:19 +0000 (05:36 +0000)]
2006-02-05  Eric Seidel  <eseidel@apple.com>

        Rubber stamped by darin.

        * projects/svg/status.xml: Added.
        * projects/svg/svg-status.css: Added.
        * projects/svg/svg-status.xsl: Added.

2006-02-05  Eric Seidel  <eseidel@apple.com>

        Adding ChangeLog :)

        * ChangeLog: Added.

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

16 years ago - converted three more files from UTF-16 to ASCII that had no reason to be...
darin [Mon, 6 Feb 2006 02:36:46 +0000 (02:36 +0000)]
    - converted three more files from UTF-16 to ASCII that had no reason to be UTF-16

        * fast/dom/resources/top.html: Just straight conversion to ASCII.
        * fast/events/updateLayoutForHitTest.html: Converted one character to an entity,
        and reformatted the file a bit.
        * fast/text/line-breaks.html: Just straight conversion to ASCII.

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

16 years agoLayoutTests:
mjs [Sun, 5 Feb 2006 23:07:54 +0000 (23:07 +0000)]
LayoutTests:

        Reviewed by Darin.

        Re-landing test case for:
        - various event cleanup, including fixing of the load event for iframes
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7079

        * fast/events/iframe-object-onload-expected.txt: Added.
        * fast/events/iframe-object-onload.html: Added.

        - changed expected results and description for this test, unload should
        not fire in this case:

        * fast/events/onunload-body-property-expected.txt:
        * fast/events/onunload-body-property.html:

        - changed from UTF-16 to ASCII, there was no reason for this to be UTF-16.

        * fast/dom/attr_dead_doc.html:

WebCore:

        Reviewed by Darin.

        Re-landed the following with more fixes so it does not break tests:

        - various event cleanup, including fixing of the load event for iframes
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7079

        Specific changes:

        - don't bother to nil-check the document, a node can never have a null document now
        - move temp event forgetting from dispatchEvent to dispatchGenericEvent
        - pass event down using RefPtr::release() to avoid ref thrashing
        - support default handlers even for non-bubbling events (only on
          target node) and skip calling default event handler explicitly in
          callers
        - dispatch a whole separate load event to a frame document's containing frame
        - don't let propagationStopped prevent this new event
        - remove bogus security check for iframe onload
        - dispatch window events on the document, not the body, and also for non-html
        - set onload, onunload, onbeforeunload from frameset tags on the window object
        - don't restrict load/unload events to HTML
        - send default handler to the dispatch object as previously

        * bridge/mac/MacFrame.mm:
        (WebCore::MacFrame::shouldClose):
        * khtml/html/html_baseimpl.cpp:
        (WebCore::HTMLFrameElementImpl::parseMappedAttribute):
        (WebCore::HTMLFrameSetElementImpl::parseMappedAttribute):
        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::implicitClose):
        * khtml/xml/NodeImpl.cpp:
        (WebCore::NodeImpl::dispatchEvent):
        (WebCore::NodeImpl::dispatchGenericEvent):
        (WebCore::NodeImpl::dispatchWindowEvent):
        * khtml/xml/NodeImpl.h:
        * page/Frame.cpp:
        (WebCore::Frame::stopLoading):
        (WebCore::Frame::setWindowHasFocus):

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

16 years ago Reviewed by Geoff.
darin [Sun, 5 Feb 2006 20:31:03 +0000 (20:31 +0000)]
    Reviewed by Geoff.

        - fix <rdar://problem/4197997> -[DOMHTMLSelectElement options] always returns an empty list

        * khtml/html/HTMLOptionsCollectionImpl.h: Changed to be a subclass of HTMLCollectionImpl.
        * khtml/html/HTMLOptionsCollectionImpl.cpp: Added.

        * WebCore.vcproj/WebCore/WebCore.vcproj: Added new source file.
        * WebCore.xcodeproj/project.pbxproj: Ditto.

        * bindings/objc/DOMHTML.mm:
        (-[DOMHTMLOptionsCollection setLength:]): Handle possible exception.
        (-[DOMHTMLSelectElement options]): Add get() since this is now a PassRefPtr.

        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLElement::selectIndexGetter): Call options() instead of optionsHTMLCollection().
        (KJS::HTMLElement::selectGetter): Ditto.
        (KJS::KJS::HTMLElement::put): Ditto.
        (KJS::HTMLElement::selectSetter): Ditto.
        (KJS::KJS::HTMLSelectCollection::put): Ditto.

        * khtml/html/HTMLSelectElementImpl.h: Tweaked formatting. Eliminated m_options.
        Changed m_minwidth and m_size to int instead of short. Removed optionsHTMLCollection().
        Changed options() to return a PassRefPtr.
        * khtml/html/HTMLSelectElementImpl.cpp:
        (WebCore::HTMLSelectElementImpl::~HTMLSelectElementImpl): Get rid of code to drop m_options.
        (WebCore::HTMLSelectElementImpl::remove): Remove unnecesssary RefPtr use, since that's
        handled fine by removeChild.
        (WebCore::HTMLSelectElementImpl::options): Change to create a new HTMLOptionsCollectionImpl
        each time, like other collection calls. Maybe we should change this eventually to use a
        HashMap so we can pass out the same collection over and over again, or could have a pointer
        stored in the select element that's managed by the collection itself.

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

16 years ago Reviewed by Maciej.
darin [Sun, 5 Feb 2006 19:34:01 +0000 (19:34 +0000)]
    Reviewed by Maciej.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6908
          REGRESSION: Replacing existing <option> shuffles it to the end of the list

        * fast/forms/select-replace-option.html: Added.
        * fast/forms/select-replace-option-expected.txt: Added.

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

16 years agoForgot to put reviewer name in.
darin [Sun, 5 Feb 2006 19:33:44 +0000 (19:33 +0000)]
Forgot to put reviewer name in.

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

16 years ago Reviewed by NOBODY (OOPS!).
darin [Sun, 5 Feb 2006 19:33:14 +0000 (19:33 +0000)]
    Reviewed by NOBODY (OOPS!).

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6908
          REGRESSION: Replacing existing <option> shuffles it to the end of the list

        Test: fast/forms/select-replace-option.html

        * khtml/ecma/kjs_html.cpp: (KJS::KJS::HTMLSelectCollection::put):
        Use optionsHTMLCollection, because options isn't really implemented yet.

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

16 years ago Reviewed by Maciej.
darin [Sun, 5 Feb 2006 19:18:40 +0000 (19:18 +0000)]
    Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6941
          Assertion failure in MacFrame::bridgeForWidget() on manual-tests/textfield-onblur.html

        * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]):
        Add check for nil in case the blur event causes the KWQLineEdit to be
        destroyed.

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

16 years ago Reviewed by Maciej.
darin [Sun, 5 Feb 2006 19:17:14 +0000 (19:17 +0000)]
    Reviewed by Maciej.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6962
          REGRESSION: www.usa.phillips.com crashes due to <param> with no name

        * fast/replaced/object-param-no-name.html: Added.
        * fast/replaced/object-param-no-name-expected.txt: Added.

        - fixed test that I landed incorrectly earlier

        * fast/overflow/onscroll-layer-self-destruct.html: Removed Subversion property junk.
        * fast/overflow/onscroll-layer-self-destruct-expected.txt: Ditto.

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

16 years ago Reviewed by Maciej.
darin [Sun, 5 Feb 2006 19:16:48 +0000 (19:16 +0000)]
    Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6962
          REGRESSION: www.usa.phillips.com crashes due to <param> with no name

        Test: fast/replaced/object-param-no-name.html

        * rendering/render_frames.cpp: (WebCore::RenderPartObject::updateWidget):
        Check for empty name, and skip processing the name/value of that <param> element.

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

16 years ago - rolled out Maciej's event cleanup patch, which is causing problems
darin [Sun, 5 Feb 2006 19:00:52 +0000 (19:00 +0000)]
    - rolled out Maciej's event cleanup patch, which is causing problems

        I believe he has a fix, and he'll re-land the patch with the fix later.

        Original fix was <http://bugzilla.opendarwin.org/show_bug.cgi?id=7079>.
        Problems described in <http://bugzilla.opendarwin.org/show_bug.cgi?id=7084>.

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