WebKit-https.git
14 years ago Reviewed by Maciej and Darin.
staikos [Mon, 23 Jan 2006 05:44:33 +0000 (05:44 +0000)]
    Reviewed by Maciej and Darin.

        * kjs/collector.cpp: merge major speedup from KDE on Linux
                             patch by Maks Orlovich, bug #6145
                             Also unify cpu detection
        * kjs/config.h: define simpler CPU macros

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

14 years ago - fix deployment builds
darin [Mon, 23 Jan 2006 05:43:02 +0000 (05:43 +0000)]
    - fix deployment builds

        * rendering/RenderTable.cpp: (WebCore::RenderTable::addChild): Init bool.

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

14 years agoLayoutTests:
darin [Mon, 23 Jan 2006 05:29:14 +0000 (05:29 +0000)]
LayoutTests:

        Reviewed by Maciej.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5731
          Form element as display table-cell hangs Safari (will eventually crash)

        * fast/table/form-with-table-style.html: Added.
        * fast/table/form-with-table-style-expected.txt: Added.
        * fast/table/form-with-table-style-expected.png: Added.
        * fast/table/form-with-table-style-expected.checksum: Added.

WebCore:

        Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5731
          Form element as display table-cell hangs Safari (will eventually crash)

        Test: fast/table/form-with-table-style.html

        Hang was caused by the fact that RenderContainer has code to wrap table
        styled elements in appropriate anonymous table elements, but the table
        elements themselves have a special case for form elements that causes them
        to call through, which led to infinite recursion as RenderContainer kept
        making new tables which kept calling through to RenderContainer::addChild.

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::addChild): Improved logic about wrapping children
        in anonymous table sections in the following ways: (1) Do wrap a form
        properly it has a table display style (such as table-cell or table-row).
        (2) When an item has a particular display style, check that it has the
        right type of render object before casting it to that type. Also
        restructured the code a little to make it slightly more readable.
        (WebCore::RenderTable::layout): Added a FIXME about forms that have a
        display style that makes it a table section, since they will be skipped
        here in the loop to lay children out.
        (WebCore::RenderTable::recalcSections): Added checks similar to the ones
        in addChild above.

        * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::addChild):
        Moved form tag logic inside render object type check so that a table row
        that happens to be a form element won't be affected by the special form
        tag logic. Also added an explicit check for the table-cell style so we
        will wrap it in a row rather than just putting the form at this level.

        * rendering/RenderTableRow.h: Removed removeChildNode and dump functions
        that just called through to the base class.
        * rendering/RenderTableRow.cpp: (WebCore::RenderTableRow::addChild):
        Moved form tag logic inside render object type check so that a table cell
        that happens to be a form element won't be affected by the special form
        tag logic. Removed unnecessary null check of section() at end of function.

        * rendering/RenderTableCol.h: Removed addChild because all it did was
        assert (incorrectly) and then call through to the base class. Changed
        _span to be m_span.
        * rendering/RenderTableCol.cpp: Removed addChild function. Updated for
        change in name of m_span field.

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

14 years ago Reviewed by Maciej.
darin [Mon, 23 Jan 2006 05:07:33 +0000 (05:07 +0000)]
    Reviewed by Maciej.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3518
          REGRESSION (312-412): mojibake left behind when scrolling a clipped <select>

        * kwq/KWQListBox.mm: (QListBox::QListBox): Call setCopiesOnScroll:NO.
        * kwq/KWQTextArea.mm: (-[KWQTextArea initWithFrame:]): Ditto.

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

14 years agoReviewed by Maciej
staikos [Mon, 23 Jan 2006 04:39:36 +0000 (04:39 +0000)]
Reviewed by Maciej
Compile fix for FreeBSD 5.4 from KDE

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

14 years agoAdded a few Radar bug numbers for future searching purposes.
darin [Mon, 23 Jan 2006 02:53:16 +0000 (02:53 +0000)]
Added a few Radar bug numbers for future searching purposes.

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

14 years agoLayoutTests:
darin [Mon, 23 Jan 2006 02:47:57 +0000 (02:47 +0000)]
LayoutTests:

        Reviewed by Maciej.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
        REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
        <rdar://problem/4404335>
        Tests whether white-space mode on buttons is inherited and not forced.

        * fast/forms/button-white-space-expected.checksum: Added.
        * fast/forms/button-white-space-expected.png: Added.
        * fast/forms/button-white-space-expected.txt: Added.
        * fast/forms/button-white-space.html: Added.

WebCore:

        Reviewed by Maciej.

        - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
        REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
        <rdar://problem/4404335>
        Tests whether white-space mode on buttons is inheritied and not forced.
        Originally broken in Subversion revision r10909.

        * css/html4.css: Remove default white-space value for <button> tag to
        allow it to be inherited.
        * rendering/render_theme_mac.mm:
        (khtml::RenderThemeMac::adjustButtonStyle): Fix misleading comment.

        * css/UserAgentStyleSheets.cpp: Touched this file to make the rebuild
        of html4.css work (shouldn't have to do this).

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

14 years ago * css/make-css-file-arrays.pl: Fix typo that was resulting in a bunch
darin [Mon, 23 Jan 2006 02:35:47 +0000 (02:35 +0000)]
    * css/make-css-file-arrays.pl: Fix typo that was resulting in a bunch
        of whitespace that was supposed to go into a derived source file going
        to the console instead.

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

14 years ago2006-01-22 Eric Seidel <eseidel@apple.com>
eseidel [Sun, 22 Jan 2006 23:53:02 +0000 (23:53 +0000)]
2006-01-22  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        SVG needs to support "evt" instead of "event" in event handlers.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5874

        * WebCore.xcodeproj/project.pbxproj: added new classes
        * khtml/ecma/kjs_events.cpp:
        * khtml/ecma/kjs_events.h:
        * khtml/ecma/kjs_proxy.cpp:
        (WebCore::KJSProxyImpl::createHTMLEventHandler): simplified
        (WebCore::KJSProxyImpl::createSVGEventHandler): new
        * khtml/ecma/kjs_proxy.h:
        * khtml/ecma/kjs_window.cpp:
        * khtml/ecma/kjs_window.h:
        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::createHTMLEventListener): simplified
        (WebCore::DocumentImpl::createSVGEventListener): new
        * khtml/xml/DocumentImpl.h:
        * khtml/xml/NodeImpl.cpp:
        (WebCore::NodeImpl::dispatchEvent): use RefPtr
        * ksvg2/events/JSSVGLazyEventListener.cpp: Added.
        (WebCore::JSSVGLazyEventListener::JSSVGLazyEventListener): added.
        (WebCore::JSSVGLazyEventListener::eventParameterName): added.
        * ksvg2/events/JSSVGLazyEventListener.h: Added.
        * ksvg2/svg/SVGElementImpl.cpp:
        (SVGElementImpl::parseMappedAttribute): use new SVG event handler
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        (SVGSVGElementImpl::parseMappedAttribute): use new SVG event handler
        * page/Frame.cpp: updated KJSProxyImpl namespace
        * page/Frame.h: updated KJSProxyImpl namespace
        * page/FramePrivate.h: updated KJSProxyImpl namespace

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

14 years ago Reviewed by Anders Carlsson.
thatcher [Sun, 22 Jan 2006 22:57:46 +0000 (22:57 +0000)]
    Reviewed by Anders Carlsson.

        Makes the Inspector's Style pane take !important into account
        when marking overloaded properties.

        * WebInspector.subproj/webInspector/inspector.js:

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

14 years agoLayoutTests:
darin [Sun, 22 Jan 2006 22:32:35 +0000 (22:32 +0000)]
LayoutTests:

        Reviewed by Maciej.

        - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=3508
          REGRESSION (125-412): problem with negative margin-top and position: absolute (vre.aitg.com)

        * fast/css/position-negative-top-margin.html: Added.
        * fast/css/position-negative-top-margin-expected.txt: Added.
        * fast/css/position-negative-top-margin-expected.png: Added.
        * fast/css/position-negative-top-margin-expected.checksum: Added.

        * fast/box-sizing/box-sizing-expected.txt: Updated, since absolute position box locations changed.
        * fast/box-sizing/box-sizing-expected.png: Ditto.
        * fast/box-sizing/box-sizing-expected.checksum: Ditto.

        - changed a few suitable tests to dump as text (in part to fix a failing pixel test in one)

        * fast/parser/entity-surrogate-pairs.html: Added a call to dumpAsText().
        * fast/parser/entity-surrogate-pairs-expected.txt: Now a plain text file instead of a render tree.
        * fast/parser/entity-surrogate-pairs-expected.png: Removed.
        * fast/parser/entity-surrogate-pairs-expected.checksum: Removed.

        * fast/parser/head-comment.html Added a call to dumpAsText().
        * fast/parser/head-comment-expected.txt: Now a plain text file instead of a render tree.
        * fast/parser/head-comment-expected.png: Removed.
        * fast/parser/head-comment-expected.checksum: Removed.

WebCore:

       Reviewed by Maciej.

       - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3508
         REGRESSION (125-412): problem with negative margin-top and position: absolute (vre.aitg.com)

       Test: fast/css/position-negative-top-margin.html

       * rendering/RenderBlock.cpp: (WebCore::RenderBlock::adjustPositionedBlock):
       Fixed two different problems that contributed to the bug: (1) Added a call to calcVerticalMargins
       otherwise the margin will always be 0. (2) Corrected logic for the negative margin case, which
       was comparing a negative margin-top to a number representing the absolute value of the margin.

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

14 years agoMaciej mentioned he reviewed the change George just landed, so updating the log to...
darin [Sun, 22 Jan 2006 21:27:01 +0000 (21:27 +0000)]
Maciej mentioned he reviewed the change George just landed, so updating the log to reflect that.

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

14 years ago Reviewed by Darin.
ap [Sun, 22 Jan 2006 20:32:36 +0000 (20:32 +0000)]
    Reviewed by Darin.

       - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3702
         Web page is laid out incorrectly after printing with print-specific style sheet.

        Also replaced tabs with spaces in the changed files.

        Test cases:
        * fast/table/append-cells.html
        * fast/table/append-cells2.html
        * fast/table/remove-td-display-none.html

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::recalcSections): Shrink columns and columnPos to the
          actual number of columns.

        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::numColumns): New function.
        (WebCore::RenderTableSection::dump): Use gridRows instead of grid.size() for row count,
          preventing crashes.

        * rendering/RenderTableSection.h: Added numColumns() and a comment about cCol/cRow.

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

14 years ago Reviewed by Anders.
darin [Sun, 22 Jan 2006 20:20:45 +0000 (20:20 +0000)]
    Reviewed by Anders.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=6705
          use PassRefPtr in more of the basic DOM operations

        Once we do the same with cloneNode, I believe we'll fix one of our P1 bugs,
        but cloneNode was a little too much to do without doing this first pass.

        * khtml/xml/NodeImpl.cpp:
        (WebCore::NodeImpl::childNodes): Updated for parameter changes.
        (WebCore::NodeImpl::insertBefore): Ditto.
        (WebCore::NodeImpl::replaceChild): Ditto.
        (WebCore::NodeImpl::removeChild): Ditto.
        (WebCore::NodeImpl::appendChild): Ditto.
        (WebCore::NodeImpl::addChild): Ditto.
        (WebCore::NodeImpl::addEventListener): Ditto.
        (WebCore::NodeImpl::setHTMLEventListener): Ditto.
        (WebCore::NodeImpl::isDefaultNamespace): Updated for changed name of ancestorElement.
        (WebCore::NodeImpl::lookupPrefix): Ditto.
        (WebCore::NodeImpl::lookupNamespaceURI): Ditto.
        (WebCore::NodeImpl::lookupNamespacePrefix): Ditto.
        (WebCore::NodeImpl::ancestorElement): Changed name from getAncestorElement.
        * khtml/xml/NodeImpl.h: Changed most functions where it makes sense to take and return
        PassRefPtr instead of raw pointers. Even non-obvious cases like appendChild, where the
        return value has to be PassRefPtr only because it might be removed when the JavaScript
        triggered by the DOM mutation event runs (normally, there's no need to return an "owning"
        pointer because the tree now owns the newly-inserted node). Made the ancestorElement
        function private.

        * khtml/xml/ContainerNodeImpl.cpp:
        (WebCore::ContainerNodeImpl::ContainerNodeImpl): Updated for changes from
        _first to m_firstChild and _last to m_lastChild.
        (WebCore::ContainerNodeImpl::removeAllChildren): Ditto.
        (WebCore::ContainerNodeImpl::firstChild): Ditto.
        (WebCore::ContainerNodeImpl::lastChild): Ditto.
        (WebCore::ContainerNodeImpl::insertBefore): Updated for parameter changes.
        (WebCore::ContainerNodeImpl::replaceChild): Ditto.
        (WebCore::ContainerNodeImpl::willRemove): Updated for m_lastChild.
        (WebCore::ContainerNodeImpl::removeChild): Updated for parameter changes.
        (WebCore::ContainerNodeImpl::removeChildren): Updated for m_first/lastChild.
        (WebCore::ContainerNodeImpl::appendChild): Updated for parameter changes.
        (WebCore::ContainerNodeImpl::hasChildNodes): Updated for m_firstChild.
        (WebCore::ContainerNodeImpl::addChild): Updated for parameter changes.
        (WebCore::ContainerNodeImpl::attach): Updated for m_firstChild.
        (WebCore::ContainerNodeImpl::detach): Ditto.
        (WebCore::ContainerNodeImpl::insertedIntoDocument): Ditto.
        (WebCore::ContainerNodeImpl::removedFromDocument): Ditto.
        (WebCore::ContainerNodeImpl::insertedIntoTree): Ditto.
        (WebCore::ContainerNodeImpl::removedFromTree): Ditto.
        * khtml/xml/ContainerNodeImpl.h: Removed unused checkSameDocument and checkIsChild.
        Made more things private, updated parameters for NodeImpl functions.

        * khtml/html/HTMLSelectElementImpl.cpp:
        (DOM::HTMLSelectElementImpl::insertBefore): Ditto.
        (DOM::HTMLSelectElementImpl::replaceChild): Ditto.
        (DOM::HTMLSelectElementImpl::removeChild): Ditto.
        (DOM::HTMLSelectElementImpl::appendChild): Ditto.
        (DOM::HTMLSelectElementImpl::addChild): Ditto.
        * khtml/html/HTMLSelectElementImpl.h: Ditto.

        * khtml/html/HTMLOptGroupElementImpl.cpp:
        (WebCore::HTMLOptGroupElementImpl::insertBefore): Updated for parameter type change.
        Also changed to look at return value, not exception code, to check for success.
        (WebCore::HTMLOptGroupElementImpl::replaceChild): Ditto.
        (WebCore::HTMLOptGroupElementImpl::removeChild): Ditto.
        (WebCore::HTMLOptGroupElementImpl::appendChild): Ditto.
        (WebCore::HTMLOptGroupElementImpl::addChild): Ditto.
        * khtml/html/HTMLOptGroupElementImpl.h: Ditto.

        * WebCore+SVG/kdom.h: Renamed enum from ExceptionCode to ExceptionCodes
        to avoid conflict with a typedef ExceptionCode I added.

        * bindings/objc/DOM.mm:
        (-[DOMNode insertBefore::]): Added get() call since return value is a PassRefPtr.
        (-[DOMNode replaceChild::]): Ditto.
        (-[DOMNode removeChild:]): Ditto.
        (-[DOMNode appendChild:]): Ditto.

        * khtml/ecma/kjs_dom.h: Changed getDOMNode to take PassRefPtr.
        * khtml/ecma/kjs_dom.cpp: (KJS::getDOMNode): Changed to take PassRefPtr.

        * khtml/html/HTMLElementImpl.cpp: Added dom2_events.h include, now needed.
        Re-sorted includes.
        * ksvg2/svg/SVGElementImpl.cpp: Ditto.

        * khtml/html/html_documentimpl.cpp: (WebCore::HTMLDocumentImpl::documentElement):
        Changed access to now-private data member _first to equivalent inline function
        fastFirstChild().
        * khtml/xml/DocumentImpl.cpp: (WebCore::DocumentImpl::recalcStyle): Ditto.
        * khtml/xml/dom_elementimpl.cpp: (WebCore::ElementImpl::recalcStyle): Ditto.

        * khtml/html/html_tableimpl.cpp:
        (WebCore::HTMLTableElementImpl::setCaption): Updated to work with new replaceChild
        that returns PassRefPtr.
        (WebCore::HTMLTableElementImpl::setTHead): Ditto.
        (WebCore::HTMLTableElementImpl::setTFoot): Ditto.
        (WebCore::HTMLTableElementImpl::setTBody): Ditto.
        (WebCore::HTMLTableElementImpl::addChild): Updated for parameter type change.
        (WebCore::HTMLTableSectionElementImpl::addChild): Ditto.
        (WebCore::HTMLTableRowElementImpl::addChild): Ditto.
        * khtml/html/html_tableimpl.h: Ditto.

        * khtml/html/htmlparser.cpp: (HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
        Removed an unneeded explicit call to removeChild. appendChild already takes care of
        removing the child from its own location. This avoids the fact that removeChild was
        removing the parent, the only thing keeping the node alive. This is sort of the
        "flip side" of our removeChild leaks -- code that depended on the behavior that
        caused the leaks.

        * khtml/xml/xml_tokenizer.cpp: (WebCore::XMLTokenizer::startElementNs):
        Removed unneeded isHTMLElement() calls from before the "qualified name" change.

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

14 years agoSomehow this file didn't get checked in before (even though it was
darin [Sun, 22 Jan 2006 19:22:19 +0000 (19:22 +0000)]
Somehow this file didn't get checked in before (even though it was
mentioned in the change log).

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

14 years ago Fix by Mark Rowe . Reviewed by Anders.
ap [Sun, 22 Jan 2006 19:18:27 +0000 (19:18 +0000)]
    Fix by Mark Rowe . Reviewed by Anders.

        Build fix.  build-webkit dies with "invalid build action: (empty string)"

        * Scripts/build-webkit:
        Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.

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

14 years ago2006-01-22 Eric Seidel <eseidel@apple.com>
eseidel [Sun, 22 Jan 2006 14:41:30 +0000 (14:41 +0000)]
2006-01-22  Eric Seidel  <eseidel@apple.com>

        Reviewed by anders.

        Fix --no-svg option to use XCode flags instead of gcc flags.

        * Scripts/build-webkit:

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

14 years ago2006-01-22 Eric Seidel <eseidel@apple.com
eseidel [Sun, 22 Jan 2006 14:08:24 +0000 (14:08 +0000)]
2006-01-22  Eric Seidel  <eseidel@apple.com

        Rubber-stamped by anders.

        Remove WebCore-no-SVG target and wrap files in #if SVG_SUPPORT
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6633

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

14 years ago Reviewed by Maciej.
ap [Sun, 22 Jan 2006 10:49:27 +0000 (10:49 +0000)]
    Reviewed by Maciej.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=6642
          Split XMLHttpRequest class into JS binding and implementation

        * WebCore.xcodeproj/project.pbxproj: Adjusted for moved and renamed files.
        New group "xml" to match directory structure.
        * xml: Added.
        * khtml/ecma/JSXMLHttpRequest.cpp: Added.
        * khtml/ecma/JSXMLHttpRequest.h: Added.
        * khtml/ecma/xmlhttprequest.cpp: Removed.
        * khtml/ecma/xmlhttprequest.h: Removed.
        * xml/xmlhttprequest.cpp: Added.
        * xml/xmlhttprequest.h: Added.
        * khtml/ecma/kjs_binding.cpp:
        (KJS::jsStringOrUndefined): Moved from kjs_events.cpp.
        * khtml/ecma/kjs_binding.h: Added prototype for jsStringOrUndefined().
        * khtml/ecma/kjs_events.cpp: Removed jsStringOrUndefined().
        * khtml/ecma/kjs_window.cpp:
        (KJS::Window::getValueProperty): Use new class name for JSXMLHttpRequest.
        * kwq/KWQSlot.cpp: XMLHttpRequestQObject is now in WebCore, not KJS.
        * page/Frame.cpp:
        (Frame::stopLoading): XMLHttpRequest is now in WebCore, not KJS.

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

14 years ago2006-01-22 Alexander Kellett <lypanov@kde.org>
eseidel [Sun, 22 Jan 2006 09:57:32 +0000 (09:57 +0000)]
2006-01-22  Alexander Kellett  <lypanov@kde.org>

        Reviewed by eseidel.

        Add support for custom fill/strokes on text.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6448

        * kcanvas/RenderSVGText.cpp:
        (RenderSVGText::paint): use new painter setup/teardown infrastructure
        * kcanvas/device/KRenderingPaintServer.h:
        (KRenderingPaintServer::KRenderingPaintServer):
        (KRenderingPaintServer::setup):
        (KRenderingPaintServer::render):
        (KRenderingPaintServer::teardown):
        (KRenderingPaintServer::isPaintingText):
        (KRenderingPaintServer::setPaintingText):
        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
        (setupShadingWithStyle):
        (renderShadingWithStyle):
        (teardownShadingWithStyle):
        (KRenderingPaintServerLinearGradientQuartz::draw):
        (KRenderingPaintServerLinearGradientQuartz::setup):
        (KRenderingPaintServerLinearGradientQuartz::render):
        (KRenderingPaintServerLinearGradientQuartz::teardown):
        (KRenderingPaintServerRadialGradientQuartz::draw):
        (KRenderingPaintServerRadialGradientQuartz::setup):
        (KRenderingPaintServerRadialGradientQuartz::render):
        (KRenderingPaintServerRadialGradientQuartz::teardown):
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
        (KRenderingPaintServerPatternQuartz::KRenderingPaintServerPatternQuartz):
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
        (KRenderingPaintServerQuartzHelper::strokePath):
        (KRenderingPaintServerQuartzHelper::clipToStrokePath):
        (KRenderingPaintServerQuartzHelper::fillPath):
        (KRenderingPaintServerQuartzHelper::clipToFillPath):
        (KRenderingPaintServerSolidQuartz::draw):
        (KRenderingPaintServerSolidQuartz::setup):
        (KRenderingPaintServerSolidQuartz::render):
        (KRenderingPaintServerSolidQuartz::teardown):
        (KRenderingPaintServerPatternQuartz::draw):
        (KRenderingPaintServerPatternQuartz::setup):
        (KRenderingPaintServerPatternQuartz::render):
        (KRenderingPaintServerPatternQuartz::teardown):
        * kcanvas/device/quartz/QuartzSupport.h: fix prototype
        * kcanvas/device/quartz/QuartzSupport.mm:
        (applyStrokeStyleToContext):
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (KSVGPainterFactory::fillPaintServer):
        (KSVGPainterFactory::strokePaintServer):
        (KSVGPainterFactory::cssPrimitiveToLength):
        (KSVGPainterFactory::strokePainter):
        (KSVGPainterFactory::fillPainter):
        * ksvg2/misc/KCanvasRenderingStyle.h:

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

14 years agoReviewed by Maciej
staikos [Sun, 22 Jan 2006 06:20:06 +0000 (06:20 +0000)]
Reviewed by Maciej

Merge some build fixes for various Perl and gcc versions from KDE SVN.

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

14 years ago Reviewed by Darin.
darin [Sun, 22 Jan 2006 04:28:19 +0000 (04:28 +0000)]
    Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3509
          REGRESSION(125-412) Portion of nested table is not painted correctly on cafepress site

        * manual-tests/bugzilla-3509.html: Added.
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::layoutBlockChildren): Force repaint if the child didn't move but
        didn't repaint correctly during layout because it was not at its final position then.

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

14 years ago Reviewed by Anders Carlsson.
thatcher [Sun, 22 Jan 2006 00:25:48 +0000 (00:25 +0000)]
    Reviewed by Anders Carlsson.

        Make sure shorthand properties get striked-out if
        all the properties they expand into are overloaded.

        * WebInspector.subproj/webInspector/inspector.js:

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

14 years ago2006-01-20 David Kilzer <ddkilzer@kilzer.net>
eseidel [Sat, 21 Jan 2006 22:11:40 +0000 (22:11 +0000)]
2006-01-20  David Kilzer  <ddkilzer@kilzer.net>

        Reviewed by eseidel.

        - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
        Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest

        * Scripts/build-drawtest: Changed bareword 'true' to 1.
        * Scripts/run-drawtest: Changed bareword 'true' to 1.

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

14 years ago2006-01-21 Anders Carlsson <andersca@mac.com>
andersca [Sat, 21 Jan 2006 21:58:03 +0000 (21:58 +0000)]
2006-01-21  Anders Carlsson  <andersca@mac.com>

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=3869
        Should use HTML Image element instead of JS Image object

        * khtml/ecma/kjs_events.cpp:
        (KJS::ClipboardProtoFunc::callAsFunction):
        Don't check Image object. Instead, if the element passed in
        is an image element which isn't in any document, use its pixmap.

        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLElement::imageGetter):
        Add complete.

        (KJS::ImageConstructorImp::construct):
        Take a QPixmap instead of an Image.

        (KJS::KJS::Context2DFunction::callAsFunction):
        Remove usage of Image and use HTMLImageElementImpl instead.

        * khtml/ecma/kjs_html.h:
        Remove Image class.

        (KJS::HTMLElement::):
        Add ImgComplete.

        * khtml/html/html_imageimpl.cpp:
        (WebCore::HTMLImageElementImpl::width):
        (WebCore::HTMLImageElementImpl::height):
        If the element has no renderer but its image size is known
        return that instead.

        (WebCore::HTMLImageElementImpl::complete):
        New function, returns true if an image has finished loading.

        * khtml/html/html_imageimpl.h:
        Add complete.

        * manual-tests/drag-image.html: Added.

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

14 years ago2006-01-21 Anders Carlsson <andersca@mac.com>
andersca [Sat, 21 Jan 2006 21:20:31 +0000 (21:20 +0000)]
2006-01-21  Anders Carlsson  <andersca@mac.com>

        * editing/editing.js:
        Fix typo which made editing test cases fail.

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

14 years ago2006-01-21 Anders Carlsson <andersca@mac.com>
andersca [Sat, 21 Jan 2006 20:15:17 +0000 (20:15 +0000)]
2006-01-21  Anders Carlsson  <andersca@mac.com>

        Reviewed by Darin.

        - fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=6691
        TinyMCE: strikethrough unimplemented

        * khtml/editing/jsediting.cpp:
        Add support for the "Strikethrough" command.

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

14 years agoLayoutTests:
darin [Sat, 21 Jan 2006 20:02:37 +0000 (20:02 +0000)]
LayoutTests:

        Reviewed by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5983
          REGRESSION: onmouseover-powered navbar at MacNN renders incorrectly

        * fast/dynamic/hovered-detach.html: Added.
        * fast/dynamic/hovered-detach-expected.txt: Added.

WebCore:

        Test: fast/dynamic/hovered-detach.html

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5983
          REGRESSION: onmouseover-powered navbar at MacNN renders incorrectly

        * khtml/xml/NodeImpl.cpp:
        (WebCore::NodeImpl::detach): Set m_hovered to false and set the document's
        hoverNode to an hovered ancestor that still has a renderer.
        * rendering/render_layer.cpp: Changed static method hoverAncestor() into a
        RenderObject instance method.
        (WebCore::commonAncestor):
        (WebCore::RenderLayer::updateHoverActiveState):
        * rendering/render_object.cpp: Ditto.
        (WebCore::RenderObject::hoverAncestor)
        * rendering/render_object.h: Ditto.

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

14 years ago Reviewed by Darin.
thatcher [Sat, 21 Jan 2006 19:22:21 +0000 (19:22 +0000)]
    Reviewed by Darin.

        Adds computed style to the Web Inspector.
        Adds a "mapped style" link to the mapped attributes.

        * WebInspector.subproj/webInspector/inspector.css:
        * WebInspector.subproj/webInspector/inspector.html:
        * WebInspector.subproj/webInspector/inspector.js:

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

14 years ago Fix for bug 6666, pseudo-element rules incorrectly displayed
hyatt [Sat, 21 Jan 2006 03:47:52 +0000 (03:47 +0000)]
    Fix for bug 6666, pseudo-element rules incorrectly displayed
        in Web Inspector.

        Reviewed by darin

        Added fast/inspector/matchedrules.html as test case.

        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::matchRulesForList):

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

14 years agoAdd a test case for Web Inspector style matching bug.
hyatt [Sat, 21 Jan 2006 03:45:31 +0000 (03:45 +0000)]
Add a test case for Web Inspector style matching bug.

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

14 years agoWebCore:
thatcher [Sat, 21 Jan 2006 03:05:26 +0000 (03:05 +0000)]
WebCore:

        Reviewed by John.

        Removes code that is no longer needed with the new Web Inspector.

        * bridge/mac/WebCoreFrameBridge.h: removes the WebCoreDOMTreeCopier protocol.
        * bridge/mac/WebCoreFrameBridge.mm: removes copyDOMNode:copier:

WebKit:

        Reviewed by John, some parts by Darin.

        Removes the old WebDebugDOMNode code, superseded by the ObjC DOM and the Web Inspector.
        Since Safari 2.0 still relies on these classes for the Debug menu's "Show DOM Tree", we remove
        that menu item to prevent a crash.

        * WebKit.exp: adds WebInspector, removes WebDebugDOMNode
        * WebKit.xcodeproj/project.pbxproj: added the REMOVE_SAFARI_DOM_TREE_DEBUG_ITEM define so the new WebView code doesn't build in the Default config
        * WebView.subproj/WebDebugDOMNode.h: Removed.
        * WebView.subproj/WebDebugDOMNode.m: Removed.
        * WebView.subproj/WebView.m:
        (+[WebView initialize]): check if we are in Safari and IncludeDebugMenu is true then observe for NSApplicationDidFinishLaunchingNotification and call _finishedLaunching
        (+[WebView _finishedLaunching]): observe for NSMenuDidAddItemNotification now that the main menu is loaded and wait for the Debug menu to be added
        (+[WebView _removeDOMTreeMenuItem:]): when the debug menu is added remove the "Show DOM Tree" item

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

14 years ago2006-01-21 Anders Carlsson <andersca@mac.com>
andersca [Sat, 21 Jan 2006 01:03:42 +0000 (01:03 +0000)]
2006-01-21  Anders Carlsson  <andersca@mac.com>

        Reviewed by David Hyatt.

        Rename Frame::xmlDocImpl => Frame::document and
        Frame::replaceDocImpl => Frame::setDocument

        * bridge/mac/MacFrame.mm:
        (MacFrame::findString):
        (MacFrame::advanceToNextMisspelling):
        (MacFrame::nextKeyViewInFrame):
        (MacFrame::nextKeyViewInFrameHierarchy):
        (MacFrame::keyEvent):
        (MacFrame::dispatchCPPEvent):
        (MacFrame::setDisplaysWithFocusAttributes):
        (MacFrame::bodyBackgroundColor):
        (MacFrame::markMisspellings):
        (MacFrame::respondToChangedSelection):
        (MacFrame::setMarkedTextRange):
        (MacFrame::dashboardRegionsDictionary):
        (MacFrame::shouldClose):
        * bridge/mac/WebCoreFrameBridge.mm:
        (updateRenderingForBindings):
        (frameHasSelection):
        (-[WebCoreFrameBridge addData:]):
        (-[WebCoreFrameBridge didNotOpenURL:pageCache:]):
        (-[WebCoreFrameBridge saveDocumentState]):
        (-[WebCoreFrameBridge restoreDocumentState]):
        (-[WebCoreFrameBridge saveDocumentToPageCache]):
        (-[WebCoreFrameBridge _documentTypeString]):
        (-[WebCoreFrameBridge deselectAll]):
        (-[WebCoreFrameBridge reapplyStylesForDeviceType:]):
        (nowPrinting):
        (-[WebCoreFrameBridge _setupRootForPrinting:]):
        (-[WebCoreFrameBridge computePageRectsWithPrintWidthScaleFactor:printHeight:]):
        (-[WebCoreFrameBridge copyDOMTree:]):
        (-[WebCoreFrameBridge URLWithAttributeString:]):
        (-[WebCoreFrameBridge unmarkAllMisspellings]):
        (-[WebCoreFrameBridge nextKeyView]):
        (-[WebCoreFrameBridge previousKeyView]):
        (-[WebCoreFrameBridge nextKeyViewInsideWebFrameViews]):
        (-[WebCoreFrameBridge previousKeyViewInsideWebFrameViews]):
        (-[WebCoreFrameBridge DOMDocument]):
        (-[WebCoreFrameBridge baseURL]):
        (-[WebCoreFrameBridge domain]):
        (-[WebCoreFrameBridge numPendingOrLoadingRequests]):
        (-[WebCoreFrameBridge doneProcessingData]):
        (-[WebCoreFrameBridge selectionColor]):
        (-[WebCoreFrameBridge accessibilityTree]):
        (-[WebCoreFrameBridge setSelectedDOMRange:affinity:closeTyping:]):
        (-[WebCoreFrameBridge convertToNSRange:]):
        (-[WebCoreFrameBridge convertToDOMRange:]):
        (-[WebCoreFrameBridge replaceMarkedTextWithText:]):
        (-[WebCoreFrameBridge smartDeleteRangeForProposedRange:]):
        (-[WebCoreFrameBridge documentFragmentWithMarkupString:baseURLString:]):
        (-[WebCoreFrameBridge documentFragmentWithText:]):
        (-[WebCoreFrameBridge documentFragmentWithNodesAsParagraphs:]):
        (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
        (-[WebCoreFrameBridge insertLineBreak]):
        (-[WebCoreFrameBridge insertParagraphSeparator]):
        (-[WebCoreFrameBridge insertParagraphSeparatorInQuotedContent]):
        (-[WebCoreFrameBridge insertText:selectInsertedText:]):
        (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]):
        (-[WebCoreFrameBridge deleteSelectionWithSmartDelete:]):
        (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:]):
        (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:]):
        * khtml/ecma/kjs_html.cpp:
        (KJS::KJS::HTMLDocument::putValueProperty):
        * khtml/ecma/kjs_window.cpp:
        (KJS::createNewWindow):
        (KJS::Window::getValueProperty):
        (KJS::Window::namedItemGetter):
        (KJS::Window::getOwnPropertySlot):
        (KJS::Window::put):
        (KJS::Window::isSafeScript):
        (KJS::Window::setListener):
        (KJS::Window::getListener):
        (KJS::WindowFunc::callAsFunction):
        (KJS::Window::updateLayout):
        (KJS::ScheduledAction::execute):
        (KJS::Location::put):
        (KJS::LocationFunc::callAsFunction):
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequestProtoFunc::callAsFunction):
        * khtml/editing/jsediting.cpp:
        * khtml/html/html_baseimpl.cpp:
        (WebCore::HTMLFrameElementImpl::contentDocument):
        * khtml/html/htmltokenizer.cpp:
        (WebCore::HTMLTokenizer::scriptExecution):
        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::parentDocument):
        * khtml/xsl/xslt_processorimpl.cpp:
        (DOM::XSLTProcessorImpl::createDocumentFromSource):
        * kwq/KWQAccObject.mm:
        (-[KWQAccObject textUnderElement]):
        (-[KWQAccObject doAXTextMarkerForPosition:]):
        (-[KWQAccObject rendererForView:]):
        * kwq/KWQKJavaAppletWidget.mm:
        (KJavaAppletWidget::KJavaAppletWidget):
        * page/Frame.cpp:
        (Frame::document):
        (Frame::setDocument):
        (Frame::setFocusNodeIfNeeded):
        (Frame::isPointInsideSelection):
        (Frame::computeAndSetTypingStyle):
        (Frame::applyStyle):
        (Frame::applyParagraphStyle):
        (Frame::selectionComputedStyle):
        (Frame::selectFrameElementInParentIfFullySelected):
        (Frame::renderer):
        (Frame::scrollOverflow):
        (Frame::paint):
        (Frame::adjustPageHeight):
        (Frame::updatePolicyBaseURL):
        (Frame::setPolicyBaseURL):
        (Frame::forceLayoutWithPageWidthRange):
        (Frame::sendScrollEvent):
        (Frame::clearTimers):
        (Frame::styleForSelectionStart):
        (Frame::setSelectionFromNone):
        (Frame::setWindowHasFocus):
        (Frame::backslashAsCurrencySymbol):
        * page/Frame.h:
        * page/FrameView.cpp:
        (FrameView::~FrameView):
        (FrameView::clear):
        (FrameView::resizeEvent):
        (FrameView::adjustViewSize):
        (FrameView::layout):
        (FrameView::updateDashboardRegions):
        (FrameView::viewportMousePressEvent):
        (FrameView::viewportMouseDoubleClickEvent):
        (FrameView::viewportMouseMoveEvent):
        (FrameView::viewportMouseReleaseEvent):
        (FrameView::keyPressEvent):
        (FrameView::dispatchDragEvent):
        (FrameView::updateDragAndDrop):
        (FrameView::focusNextPrevNode):
        (FrameView::dispatchMouseEvent):
        (FrameView::viewportWheelEvent):
        (FrameView::timerEvent):
        (FrameView::scheduleRelayout):
        (FrameView::unscheduleRelayout):
        * rendering/render_frames.cpp:
        (WebCore::RenderPartObject::updateWidget):

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

14 years ago Reviewed by Hyatt.
thatcher [Fri, 20 Jan 2006 22:54:16 +0000 (22:54 +0000)]
    Reviewed by Hyatt.

        Corrects the cascade order for mapped attributes.
        Shows "inline stylesheet" rather than "null" for rules in <style> tags.

        * WebInspector.subproj/webInspector/inspector.js:

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

14 years ago Reviewed by eseidel.
cpeterse [Fri, 20 Jan 2006 21:48:47 +0000 (21:48 +0000)]
    Reviewed by eseidel.

        Build fix.

        * khtml/xml/DocumentImpl.cpp:

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

14 years ago2006-01-20 Eric Seidel <eseidel@apple.com>
eseidel [Fri, 20 Jan 2006 20:20:45 +0000 (20:20 +0000)]
2006-01-20  Eric Seidel  <eseidel@apple.com>

        Reviewed by beth.

        Unbreak build (partial commit of animation patch)

        * khtml/xml/DocumentImpl.cpp:
        (WebCore::DocumentImpl::implicitClose):
        * khtml/xml/DocumentImpl.h:

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

14 years ago2006-01-20 Eric Seidel <eseidel@apple.com>
eseidel [Fri, 20 Jan 2006 19:30:10 +0000 (19:30 +0000)]
2006-01-20  Eric Seidel  <eseidel@apple.com>

        Reviewed by beth.

        Missed the kcanvas directory in my previous commit.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6683

        * kcanvas/KCanvasContainer.h:
        * kcanvas/RenderForeignObject.h:
        * kcanvas/RenderSVGText.h:

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

14 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Fri, 20 Jan 2006 19:24:53 +0000 (19:24 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by beth.

        Break classes in render_table out into separate files.
        Move render_block to RenderBlock.
        Move render_container to RenderContainer.

        * WebCore.xcodeproj/project.pbxproj:
        * bridge/mac/MacFrame.mm:
        * kcanvas/KCanvasContainer.h:
        * kcanvas/RenderForeignObject.h:
        * kcanvas/RenderSVGText.h:
        * khtml/editing/visible_units.cpp:
        * khtml/html/html_tableimpl.cpp:
        (WebCore::HTMLTableElementImpl::insertRow):
        * khtml/xml/dom2_rangeimpl.cpp:
        * khtml/xml/dom_position.cpp:
        * kwq/KWQRenderTreeDebug.cpp:
        * page/Frame.cpp:
        * rendering/InlineTextBox.cpp:
        * rendering/RenderBlock.cpp: Added.
        * rendering/RenderBlock.h: Added.
        * rendering/RenderContainer.cpp: Added.
        (WebCore::RenderContainer::addChild):
        * rendering/RenderContainer.h: Added.
        * rendering/RenderTable.cpp: Added.
        (WebCore::RenderTable::RenderTable):
        (WebCore::RenderTable::updateFirstLetter):
        * rendering/RenderTable.h: Added.
        * rendering/RenderTableCell.cpp: Added.
        (WebCore::RenderTableCell::RenderTableCell):
        (WebCore::RenderTableCell::updateFromElement):
        * rendering/RenderTableCell.h: Added.
        * rendering/RenderTableCol.cpp: Added.
        (WebCore::RenderTableCol::RenderTableCol):
        (WebCore::RenderTableCol::updateFromElement):
        * rendering/RenderTableCol.h: Added.
        * rendering/RenderTableRow.cpp: Added.
        (WebCore::RenderTableRow::RenderTableRow):
        * rendering/RenderTableRow.h: Added.
        * rendering/RenderTableSection.cpp: Added.
        (WebCore::RenderTableSection::RenderTableSection):
        * rendering/RenderTableSection.h: Added.
        * rendering/RenderText.cpp:
        * rendering/bidi.cpp:
        * rendering/render_block.cpp: Removed.
        * rendering/render_block.h: Removed.
        * rendering/render_box.cpp:
        * rendering/render_canvas.h:
        * rendering/render_container.cpp: Removed.
        * rendering/render_container.h: Removed.
        * rendering/render_flexbox.h:
        * rendering/render_flow.cpp:
        * rendering/render_flow.h:
        * rendering/render_form.h:
        * rendering/render_frames.h:
        * rendering/render_inline.cpp:
        * rendering/render_inline.h:
        * rendering/render_line.cpp:
        * rendering/render_list.h:
        * rendering/render_object.cpp:
        * rendering/render_replaced.h:
        * rendering/render_table.cpp: Removed.
        * rendering/render_table.h: Removed.
        * rendering/table_layout.cpp:

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

14 years ago - added test case for a parsing bug that was fixed in different ways in KJS
mjs [Fri, 20 Jan 2006 19:10:03 +0000 (19:10 +0000)]
    - added test case for a parsing bug that was fixed in different ways in KJS
        and JSC. In older KJS versions, there would have been a parse error.

        * fast/js/parse-backslash-before-newline-expected.txt: Added.
        * fast/js/parse-backslash-before-newline.html: Added.
        * fast/js/resources/parse-backslash-before-newline.js: Added.

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

14 years agoLayoutTests:
adele [Fri, 20 Jan 2006 18:45:08 +0000 (18:45 +0000)]
LayoutTests:

        Reviewed by Darin, committed by Adele.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6673
          Selection highlight doesn't scroll along with an image contained in an overflow:scroll block

        * fast/overflow/image-selection-highlight-expected.checksum: Added.
        * fast/overflow/image-selection-highlight-expected.png: Added.
        * fast/overflow/image-selection-highlight-expected.txt: Added.
        * fast/overflow/image-selection-highlight.html: Added.

WebCore:

        Test: fast/overflow/image-selection-highlight.html

        Reviewed by Darin, committed by Adele.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6673
          Selection highlight doesn't scroll along with an image contained in an overflow:scroll block

        * rendering/render_replaced.cpp:
        (WebCore::RenderReplaced::selectionRect): Subtract the containing block's scroll offset.

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

14 years agoAdd irc://irc.freenode.net/#webkit links.
thatcher [Fri, 20 Jan 2006 17:42:55 +0000 (17:42 +0000)]
Add irc://irc.freenode.net/#webkit links.

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

14 years agoFixes the rest of http://bugzilla.opendarwin.org/show_bug.cgi?id=6535
thatcher [Fri, 20 Jan 2006 17:26:03 +0000 (17:26 +0000)]
Fixes the rest of bugzilla.opendarwin.org/show_bug.cgi?id=6535
add <tt></tt> around an instance of "svn diff".

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

14 years agoReplace all "cvs" references with "svn".
thatcher [Fri, 20 Jan 2006 08:18:01 +0000 (08:18 +0000)]
Replace all "cvs" references with "svn".

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

14 years ago Reviewed by Eric.
thatcher [Fri, 20 Jan 2006 07:45:11 +0000 (07:45 +0000)]
    Reviewed by Eric.

        Adds inline style reporting and mapped attribute support to the Inspector Style pane.
        Cleans up the node attributes area with a more natural attr = "value" look.
        Slight optimization to only update visible scrollbars during a window resize.

        * WebInspector.subproj/webInspector/inspector.css:
        * WebInspector.subproj/webInspector/inspector.js:

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

14 years agoAdd WebKitBuild to the svn:ignore
thatcher [Fri, 20 Jan 2006 06:42:16 +0000 (06:42 +0000)]
Add WebKitBuild to the svn:ignore

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

14 years agoFix a typo that made WebCore build and link UserAgentStyleSheets.cpp every time,...
thatcher [Fri, 20 Jan 2006 06:21:21 +0000 (06:21 +0000)]
Fix a typo that made WebCore build and link UserAgentStyleSheets.cpp every time, even if nothing changed.

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

14 years ago Reviewed by Darin.
thatcher [Fri, 20 Jan 2006 05:10:02 +0000 (05:10 +0000)]
    Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=6631
        Inspector window has inappropriate maximum height

        * WebInspector.subproj/WebInspector.m:
        (-[WebInspector window]): removes the maximum size constraint

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

14 years ago Reviewed by Tim Omernick.
sullivan [Fri, 20 Jan 2006 01:40:28 +0000 (01:40 +0000)]
    Reviewed by Tim Omernick.

        * WebKit.xcodeproj/project.pbxproj:
        made WebNSUserDefaultsExtras.h private (SPI) so its one method can be called from
        Safari, so Safari can stop calling the similar method in Foundation.

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

14 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Fri, 20 Jan 2006 01:22:30 +0000 (01:22 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        <embed> and <object> tags show up blank when going back/forward.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6679

        No test currently possible.

        * page/Frame.cpp:
        (Frame::canCachePage):

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

14 years ago Reviewed by Tim Omernick.
sullivan [Fri, 20 Jan 2006 01:02:49 +0000 (01:02 +0000)]
    Reviewed by Tim Omernick.

        Made _webKit_guessedMIMEType SPI so Safari can use it in order to stop using
        the similar SPI method in Foundation. This involved splitting it out of the file
        it was in, to avoid creating any other new SPI here. Poor svn diff got mighty
        confused in the process.

        * Misc.subproj/WebNSDataExtras.h:
        removed _webkit_guessedMIMEType from here
        * Misc.subproj/WebNSDataExtrasPrivate.h:
        Added. Contains only _webkit_guessedMIMEType. This file is private (SPI), whereas
        WebNSDataExtras.h is project-internal. I could have renamed WebNSDateExtras.h to
        WebNSDateExtrasInternal.h also, but I minimized the gratuitous change level here
        by not doing that.

        * Misc.subproj/WebNSDataExtras.m:
        Despite the great confusion of svn diff, all I actually did here was move
        _webkit_guessedMIMEType and its helper _webkit_guessedMIMETypeForXML into a new
        category. No lines of code were harmed while creating this patch.

        * WebKit.xcodeproj/project.pbxproj:
        updated for new file

        * WebView.subproj/WebView.m:
        Added #import for new file since WebView uses _webkit_guessedMIMEType

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

14 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Thu, 19 Jan 2006 23:50:13 +0000 (23:50 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        Split html_miscimpl.* into separate files and move html_elementimpl
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6670

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        * bindings/objc/DOMHTML.mm:
        * bridge/mac/WebCoreFrameBridge.mm:
        * css/css_valueimpl.cpp:
        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * khtml/ecma/kjs_dom.cpp:
        * khtml/ecma/kjs_html.cpp:
        * khtml/editing/apply_style_command.cpp:
        * khtml/editing/markup.cpp:
        * khtml/editing/replace_selection_command.cpp:
        * khtml/html/HTMLBaseFontElementImpl.cpp: Added.
        * khtml/html/HTMLBaseFontElementImpl.h: Added.
        * khtml/html/HTMLButtonElementImpl.cpp:
        * khtml/html/HTMLCollectionImpl.cpp: Added.
        (WebCore::HTMLCollectionImpl::traverseNextItem):
        * khtml/html/HTMLCollectionImpl.h: Added.
        * khtml/html/HTMLElementImpl.cpp: Added.
        * khtml/html/HTMLElementImpl.h: Added.
        * khtml/html/HTMLFieldSetElementImpl.cpp:
        * khtml/html/HTMLFormCollectionImpl.cpp: Added.
        * khtml/html/HTMLFormCollectionImpl.h: Added.
        * khtml/html/HTMLFormElementImpl.cpp:
        * khtml/html/HTMLFormElementImpl.h:
        * khtml/html/HTMLGenericFormElementImpl.cpp:
        * khtml/html/HTMLGenericFormElementImpl.h:
        * khtml/html/HTMLInputElementImpl.cpp:
        * khtml/html/HTMLIsIndexElementImpl.cpp:
        * khtml/html/HTMLLabelElementImpl.h:
        * khtml/html/HTMLLegendElementImpl.cpp:
        * khtml/html/HTMLNameCollectionImpl.cpp: Added.
        * khtml/html/HTMLNameCollectionImpl.h: Added.
        * khtml/html/HTMLOptGroupElementImpl.cpp:
        * khtml/html/HTMLOptGroupElementImpl.h:
        * khtml/html/HTMLOptionElementImpl.h:
        * khtml/html/HTMLSelectElementImpl.cpp:
        * khtml/html/HTMLTextAreaElementImpl.cpp:
        * khtml/html/html_baseimpl.cpp:
        * khtml/html/html_baseimpl.h:
        * khtml/html/html_blockimpl.cpp:
        * khtml/html/html_blockimpl.h:
        * khtml/html/html_canvasimpl.cpp:
        * khtml/html/html_documentimpl.cpp:
        * khtml/html/html_documentimpl.h:
        * khtml/html/html_elementimpl.cpp: Removed.
        * khtml/html/html_elementimpl.h: Removed.
        * khtml/html/html_headimpl.cpp:
        (WebCore::HTMLLinkElementImpl::setStyleSheet):
        (WebCore::HTMLLinkElementImpl::isLoading):
        * khtml/html/html_headimpl.h:
        * khtml/html/html_imageimpl.cpp:
        * khtml/html/html_inlineimpl.cpp:
        * khtml/html/html_inlineimpl.h:
        * khtml/html/html_listimpl.h:
        * khtml/html/html_miscimpl.cpp: Removed.
        * khtml/html/html_miscimpl.h: Removed.
        * khtml/html/html_objectimpl.cpp:
        * khtml/html/html_tableimpl.h:
        * khtml/html/htmlfactory.cpp:
        * khtml/html/htmlparser.cpp:
        * khtml/html/htmltokenizer.cpp:
        (WebCore::HTMLTokenizer::scriptHandler):
        (WebCore::HTMLTokenizer::scriptExecution):
        * khtml/xml/DocumentImpl.cpp:
        * khtml/xml/dom2_rangeimpl.cpp:
        * khtml/xml/dom_elementimpl.cpp:
        * kwq/KWQAccObject.mm:
        * loader/loader.cpp:
        * page/Frame.cpp:
        (Frame::restoreURL):
        (Frame::stopLoading):
        (Frame::receivedFirstData):
        (Frame::gotoAnchor):
        (Frame::requestObject):
        (Frame::processObjectRequest):
        (Frame::submitForm):
        (Frame::slotParentCompleted):
        (Frame::findFrame):
        (Frame::executeScript):
        * page/FrameView.cpp:
        (FrameView::useSlowRepaints):
        * rendering/render_applet.cpp:
        * rendering/render_applet.h:
        * rendering/render_box.cpp:
        (WebCore::RenderBox::contentWidth):
        (WebCore::RenderBox::paintRootBoxDecorations):
        (WebCore::RenderBox::paintBoxDecorations):
        (WebCore::RenderBox::getClipRect):
        (WebCore::RenderBox::calcWidth):
        (WebCore::RenderBox::calcHeight):
        * rendering/render_canvasimage.cpp:
        * rendering/render_canvasimage.h:
        * rendering/render_frames.cpp:
        * rendering/render_image.cpp:
        * rendering/render_image.h:
        * rendering/render_layer.cpp:

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

14 years ago * Scripts/report-include-statistics: Added a new script.
darin [Thu, 19 Jan 2006 23:08:21 +0000 (23:08 +0000)]
    * Scripts/report-include-statistics: Added a new script.

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

14 years ago Reviewed by Tim O.
sullivan [Thu, 19 Jan 2006 21:42:45 +0000 (21:42 +0000)]
    Reviewed by Tim O.

        * Misc.subproj/WebNSURLExtras.h:
        added declaration of _webkit_rangeOfURLScheme so Safari can call it as a step
        towards weaning Safari from Foundation SPI.

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

14 years ago * Scripts/build-webkit: include JavaScriptGlue in the build
thatcher [Thu, 19 Jan 2006 19:45:30 +0000 (19:45 +0000)]
    * Scripts/build-webkit: include JavaScriptGlue in the build

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

14 years agoBuild JavaScriptGlue.
darin [Thu, 19 Jan 2006 18:57:26 +0000 (18:57 +0000)]
Build JavaScriptGlue.

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

14 years ago2006-01-19 Anders Carlsson <andersca@mac.com>
andersca [Thu, 19 Jan 2006 17:14:33 +0000 (17:14 +0000)]
2006-01-19  Anders Carlsson  <andersca@mac.com>

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6653
        CSSStyleDeclaration returns empty string when trying to access shorthand
        properties using JS accessors.

        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMCSSStyleDeclaration::cssPropertyGetter):
        if getCSSPropertyValue returns 0 (which is true for shorthand properties),
        try getPropertyValue instead.

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

14 years ago Reviewed by Hyatt and Darin.
adele [Thu, 19 Jan 2006 09:35:14 +0000 (09:35 +0000)]
    Reviewed by Hyatt and Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=6665
        Implement NSView-less version of <input type="text">

        Initial implementation of new and improved text fields.
        This will only be turned on if an input element has khtml-appearance: textfield.

        * WebCore.xcodeproj/project.pbxproj: Added RenderTextField.h and RenderTextField.cpp
        * css/cssvalues.in: Fixed omitted button-bevel value.
          This was causing an off-by-one error when getting khtml-appearance value.
        * khtml/html/HTMLInputElementImpl.cpp: Added checks for khtml-appearance to decide
          when to use RenderTextField instead of RenderLineEdit.
        (DOM::HTMLInputElementImpl::selectionStart):
        (DOM::HTMLInputElementImpl::selectionEnd):
        (DOM::HTMLInputElementImpl::setSelectionStart):
        (DOM::HTMLInputElementImpl::setSelectionEnd):
        (DOM::HTMLInputElementImpl::select):
        (DOM::HTMLInputElementImpl::setSelectionRange):
        (DOM::HTMLInputElementImpl::createRenderer):
        (DOM::HTMLInputElementImpl::defaultEventHandler):
        * khtml/html/HTMLInputElementImpl.h:
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::isFocusable): Also allow editable elements with no parent to be focusable.
        * khtml/xml/NodeImpl.h:
        (WebCore::NodeImpl::setAttached): Added to set m_attached without having to call attach().
        * rendering/RenderTextField.cpp: Added.
        (khtml:::RenderBlock):
        (khtml::RenderTextField::~RenderTextField):
        (khtml::RenderTextField::addChild):
        (khtml::RenderTextField::removeChild):
        (khtml::RenderTextField::setStyle):
        (khtml::RenderTextField::getDivStyle):
        (khtml::RenderTextField::updateFromElement):
        (khtml::RenderTextField::selectionStart):
        (khtml::RenderTextField::selectionEnd):
        (khtml::RenderTextField::setSelectionStart):
        (khtml::RenderTextField::setSelectionEnd):
        (khtml::RenderTextField::select):
        (khtml::RenderTextField::setSelectionRange):
        * rendering/RenderTextField.h: Added.
        (khtml::RenderTextField::removeLeftoverAnonymousBoxes):
        (khtml::RenderTextField::renderName):
        * rendering/render_container.cpp:
        (RenderContainer::destroy): use renamed destroyLeftoverChildren.
        (RenderContainer::destroyLeftoverChildren): renamed from destroyLeftoverAnonymousChildren.
        * rendering/render_container.h:
        * rendering/render_flow.cpp:
        (RenderFlow::destroy): use renamed destroyLeftoverChildren.

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

14 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Thu, 19 Jan 2006 09:20:50 +0000 (09:20 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin & anders.

        Fix opacity crasher for <text> and <image>.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6668
        Even though the crash is fixed, opacity still doesn't work.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6669

        * kcanvas/RenderSVGImage.cpp:
        (RenderSVGImage::paint):
        * kcanvas/RenderSVGText.cpp:
        (RenderSVGText::paint):

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

14 years ago * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
darin [Thu, 19 Jan 2006 09:18:30 +0000 (09:18 +0000)]
    * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
        spaces in it by using the form of open that treats each argument as a string
        rather than backtick syntax for reading the output of the nm tool.

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

14 years ago Reviewed by Hyatt.
darin [Thu, 19 Jan 2006 08:59:31 +0000 (08:59 +0000)]
    Reviewed by Hyatt.

        - removed all use of QMap

        * ForwardingHeaders/qmap.h: Removed.
        * WebCore.xcodeproj/project.pbxproj: Removed KWQMap.h, KWQMapImpl.h, KWQMapImpl.cpp.
        * kwq/KWQMap.h: Removed.
        * kwq/KWQMapImpl.cpp: Removed.
        * kwq/KWQMapImpl.h: Removed.

        * bridge/BrowserExtension.h: (WebCore::URLArgs::metaData): Converted from QMap of QString
        to HashMap of DOMString.
        * bridge/mac/BrowserExtensionMac.mm: Ditto.
        * bridge/mac/MacFrame.mm:
        (MacFrame::openURLRequest): Ditto.
        (MacFrame::urlSelected): Ditto.
        (MacFrame::createPart): Ditto.
        * khtml/ecma/kjs_window.cpp:
        (KJS::parseModalDialogFeatures): Ditto.
        (KJS::boolFeature): Ditto.
        (KJS::intFeature): Ditto.
        (KJS::createNewWindow): Ditto.
        (KJS::showModalDialog): Ditto.
        (KJS::WindowFunc::callAsFunction): Ditto.
        * khtml/html/html_objectimpl.cpp: (WebCore::HTMLAppletElementImpl::createRenderer): Ditto.
        * khtml/xml/dom_xmlimpl.cpp: (DOM::ProcessingInstructionImpl::checkStyleSheet): Ditto.
        * khtml/xml/xml_tokenizer.cpp:
        (WebCore::toString): Added. Converts to DOMString instead of QString.
        (WebCore::attributesStartElementNsHandler): Converted from QMap of QString to HashMap of DOMString.
        (WebCore::parseAttributes): Ditto.
        * khtml/xml/xml_tokenizer.h: (WebCore::Tokenizer::setTransformSource): Ditto.
        * ksvg2/misc/KSVGTimeScheduler.cpp: (KSVG::SVGTimer::notifyAll): Ditto.
        * kwq/KWQKJavaAppletWidget.h: Ditto.
        * kwq/KWQKJavaAppletWidget.mm: (KJavaAppletWidget::KJavaAppletWidget): Ditto.
        * kwq/KWQKJobClasses.h: Ditto.
        * kwq/KWQKJobClasses.mm: (KIO::TransferJob::addMetaData): Ditto.
        * page/Frame.cpp:
        (Frame::didOpenURL): Ditto.
        (Frame::changeLocation): Ditto.
        (Frame::mark): Ditto.
        (Frame::setMark): Ditto.
        (Frame::urlSelected): Ditto.
        (Frame::requestObject): Ditto.
        (Frame::processObjectRequest): Ditto.
        (Frame::submitForm): Ditto.
        * rendering/render_applet.cpp:
        (WebCore::RenderApplet::RenderApplet): Ditto.
        (WebCore::RenderApplet::createWidgetIfNecessary): Ditto.
        (WebCore::RenderApplet::layout): Ditto.
        * rendering/render_applet.h:
        (WebCore::RenderApplet::renderName): Ditto.
        (WebCore::RenderApplet::element): Ditto.
        (WebCore::RenderEmptyApplet::renderName): Ditto.

        * khtml/dom/dom_string.h:
        (WebCore::DOMString::createCFString): Added. Not yet implemented or used.
        (WebCore::DOMString::operator NSString*): Updated to call through to DOMStringImpl.
        Added hash functions and hash traits so you can use DOMString in hash tables.
        * khtml/xml/dom_stringimpl.h: Added conversion to and from CFStringRef/NSString.
        * khtml/xml/dom_stringimpl.cpp: Took out an excess "DOM::".

        * bindings/objc/DOMInternal.mm: (DOMStringImpl::operator NSString *): Moved from DOMString
        to DOMStringImpl.

        - changed the mark from a SelectionController to a Selection
          (maybe it can be a Position instead?)

        * page/Frame.h: Changed mark() and setMark() to use a Selection.
        * page/FramePrivate.h: Changed mark to a Selection.

        * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge setMarkDOMRange:]):
        Updated for change from SelectionController to Selection.

        - removed extraneous includes

        * kwq/KWQKHTMLSettings.h: Removed include of "KWQMap.h".
        * kwq/KWQKIOGlobal.h: Ditto.

        * khtml/editing/htmlediting.h: Removed extraneous includes and namespace prefixes.

        * khtml/html/html_canvasimpl.h: Removed extraneous includes and moved into the
        WebCore namespace.
        * khtml/html/html_canvasimpl.cpp: Ditto.
        * khtml/html/htmltokenizer.cpp: Ditto.
        * khtml/html/htmltokenizer.h: Ditto.
        * khtml/xml/DocumentImpl.cpp: Ditto.
        * kwq/KWQEditCommand.mm: Ditto.
        * rendering/render_canvasimage.h: Ditto.
        * rendering/render_image.h: Ditto.

        * khtml/editing/composite_edit_command.cpp: Updated includes because of ones
        that were removed from headers.
        * khtml/editing/htmlediting.cpp: Ditto.
        * khtml/editing/jsediting.cpp: Ditto.
        * khtml/editing/replace_selection_command.cpp: Ditto.
        * rendering/render_canvasimage.cpp: Ditto.
        * rendering/render_image.cpp: Ditto.

        * loader/loader.cpp: (WebCore::Loader::servePendingRequests): Removed code to add the
        cache control string, since that was hardcoded to empty string anyway.

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

14 years ago Reviewed by Hyatt.
darin [Thu, 19 Jan 2006 08:59:03 +0000 (08:59 +0000)]
    Reviewed by Hyatt.

        - hash table fixes needed for my WebCore changes

        * kxmlcore/HashTable.h: (KXMLCore::HashTableConstIterator::operator=):
        Added a missing return statement.

        * kxmlcore/HashTraits.h: Fix traits so they work properly for classes where you
        can't instantiate with a 0 by using traits rather than ? : to select the default
        emtpy value of hash table keys.

        - small cleanup of "runtime" code left over from recent JavaScript crash fix

        * bindings/runtime_root.h:
        (KJS::Bindings::RootObject::RootObject): No explicit initialization of _imp needed
        since it's now a ProtectedPtr.
        (KJS::Bindings::RootObject::setRootObjectImp): Remove old code that relied on the
        fact that _imp was 0 and replaced with use of ProtectedPtr.
        (KJS::Bindings::RootObject::rootObjectImp): Updated since _imp is a ProtectedPtr.

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

14 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Thu, 19 Jan 2006 08:16:38 +0000 (08:16 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        Remove CFDictionary usage from KWQObject.*
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6468

        * kwq/KWQObject.cpp:
        (KWQObjectTimer::KWQObjectTimer):
        (QObject::restartTimer):
        (QObject::timerIntervals):
        (KWQObjectTimer::deleteTimer):
        (QObject::killTimer):
        (QObject::killTimers):
        (sendDeferredTimerEvent):

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

14 years agoRename KHTMLView to FrameView (since it's been moved to a file called FrameView already).
hyatt [Thu, 19 Jan 2006 06:46:53 +0000 (06:46 +0000)]
Rename KHTMLView to FrameView (since it's been moved to a file called FrameView already).

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

14 years ago Adding the license header to all files so we can
thatcher [Thu, 19 Jan 2006 02:40:56 +0000 (02:40 +0000)]
    Adding the license header to all files so we can
        move JavaScriptGlue into the open source repository.

        * LICENSE: Added.
        * JSBase.cpp: license header added.
        * JSBase.h: ditto.
        * JSObject.cpp: ditto.
        * JSObject.h: ditto.
        * JSRun.cpp: ditto.
        * JSRun.h: ditto.
        * JSUtils.cpp: ditto.
        * JSUtils.h: ditto.
        * JSValueWrapper.cpp: ditto.
        * JSValueWrapper.h: ditto.
        * JavaScriptGlue.cpp: ditto.
        * JavaScriptGlue.h: ditto.
        * UserObjectImp.cpp: ditto.
        * UserObjectImp.h: ditto.

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

14 years agotop level:
darin [Wed, 11 Jan 2006 06:34:36 +0000 (06:34 +0000)]
top level:

        * Makefile: Removed some unneeded stray characters.
        * <tons of files>: Updated flags (removed executable, set MIME types, etc.)

Tools:

        * Makefile: Removed some unneeded stray characters.
        * Tools/Scripts/commit-log-editor: Updated to handle paths with spaces.

Tests:

        * performance: Removed.

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

14 years agoThe Internal repository is up and running.
thatcher [Sat, 7 Jan 2006 21:31:41 +0000 (21:31 +0000)]
The Internal repository is up and running.
Removing .cvsignore files, the cvs2svn script adds the svn:ignore property for us but leaves these files.
Modified the svn:ignore on some directories to not ignore Makefile and the automake/configure files that are being removed.
New Makefiles that use the OpenSource tools to know the Xcode configuration and build location.

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

14 years agoJavaScriptGlue:
thatcher [Thu, 22 Dec 2005 01:32:56 +0000 (01:32 +0000)]
JavaScriptGlue:

        * JavaScriptGlue.xcodeproj/project.pbxproj:
          Set tab width to 8, indent width to 4 and uses tabs to false per file.

WebBrowser:

        * WebBrowser.xcodeproj/project.pbxproj:
          Set tab width to 8, indent width to 4 and uses tabs to false per file.

WebKitSystemInterface:

        * WebKitSystemInterface.xcodeproj/project.pbxproj:
          Set tab width to 8, indent width to 4 and uses tabs to false per file.

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

14 years ago Reviewed by Geoff Garen and Eric Seidel.
darin [Mon, 19 Dec 2005 19:51:09 +0000 (19:51 +0000)]
    Reviewed by Geoff Garen and Eric Seidel.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4923
          stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes

        * kxmlcore/AlwaysInline.h: Added.

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

14 years ago Reviewed by Maciej.
darin [Fri, 16 Dec 2005 08:04:58 +0000 (08:04 +0000)]
    Reviewed by Maciej.

        * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.

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

14 years ago Reviewed by Tim Hatcher.
darin [Thu, 15 Dec 2005 20:10:43 +0000 (20:10 +0000)]
    Reviewed by Tim Hatcher.

        * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
        settings, turned off prebinding explicitly for our Development and
        Deployment builds, remove .exp file from sources. All "clean-up".

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

14 years agoAdding release markers.
thatcher [Wed, 14 Dec 2005 01:12:32 +0000 (01:12 +0000)]
Adding release markers.

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

14 years ago - Fixed build after Anders's last checkin to JavaScriptCore.
ggaren [Wed, 14 Dec 2005 01:00:12 +0000 (01:00 +0000)]
- Fixed build after Anders's last checkin to JavaScriptCore.

        Reviewed by darin.

        * UserObjectImp.cpp:
        (UserObjectImp::userObjectGetter): Updated to reflect new argument that
getters take (unused here).
        * UserObjectImp.h:

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

14 years ago Reviewed by Eric.
mjs [Tue, 13 Dec 2005 11:04:16 +0000 (11:04 +0000)]
    Reviewed by Eric.

- added forwarding header for HashCountedSet

        * kxmlcore/HashCountedSet.h: Added.

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

14 years ago Rubber stamped by Maciej.
darin [Sun, 11 Dec 2005 02:03:35 +0000 (02:03 +0000)]
    Rubber stamped by Maciej.

        - updated for KJS class renaming

        * many files and functions

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

14 years ago Reviewed by Maciej.
darin [Sun, 11 Dec 2005 00:35:59 +0000 (00:35 +0000)]
    Reviewed by Maciej.

        - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()

        Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().

        * JSUtils.cpp:
        (JSObjectKJSValue):
        * UserObjectImp.cpp:
        (UserObjectImp::callAsFunction):
        (UserObjectImp::toPrimitive):

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

14 years ago - added new forwarding headers
mjs [Tue, 6 Dec 2005 02:35:54 +0000 (02:35 +0000)]
    - added new forwarding headers

        * kxmlcore/PassRefPtr.h: Added.
        * kxmlcore/RefPtr.h: Added.

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

14 years ago Rubber stamped by Eric.
mjs [Sun, 27 Nov 2005 03:10:03 +0000 (03:10 +0000)]
    Rubber stamped by Eric.

- renamed InterpreterLock to JSLock

        * JSUtils.cpp:
        (CFStringToUString):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectCopyCFValue):
        * JavaScriptGlue.cpp:
        (JSRunCreate):
        (JSCollect):
        (JSLockInterpreter):
        (JSUnlockInterpreter):
        * UserObjectImp.cpp:
        (UserObjectImp::callAsFunction):

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

14 years ago Reviewed by Geoff.
mjs [Wed, 23 Nov 2005 05:40:07 +0000 (05:40 +0000)]
    Reviewed by Geoff.

Updated to use new API to drop all locks.

        * JavaScriptGlue.cpp:
        (JSLockInterpreter):
        (JSUnlockInterpreter):
        * UserObjectImp.cpp:
        (UserObjectImp::callAsFunction):

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

14 years ago Reviewed by mjs.
ggaren [Wed, 16 Nov 2005 01:45:19 +0000 (01:45 +0000)]
    Reviewed by mjs.

        - Part of the fix for <rdar://problem/4342216> Installer crash in
          KJS::ValueImp::marked() when garbage collector runs inside call to
          ConstantValues::init()

        Added locking in JSRunCreate, since JSRun::JSRun constructs an object.

        * JavaScriptGlue.cpp:
        (JSRunCreate):

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

14 years ago Reviewed by Maciej.
ggaren [Fri, 11 Nov 2005 05:15:02 +0000 (05:15 +0000)]
    Reviewed by Maciej.

        - Fixed <rdar://problem/4334445> installer crashed on my
          dual g4 450Mhz after clicking language

        - Reversed backwards NULL check.
        - Inserted guards against NULL fJSUserObject data member.
        - Cleaned up some style.

        * JSUtils.cpp:
        (KJSValueToCFTypeInternal):
        * UserObjectImp.cpp:
        (UserObjectImp::~UserObjectImp):
        (UserObjectImp::callAsFunction):
        (UserObjectImp::userObjectGetter):
        (UserObjectImp::getOwnPropertySlot):
        (UserObjectImp::put):
        (UserObjectImp::mark):

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

14 years ago Reviewed by Darin.
thatcher [Fri, 4 Nov 2005 17:02:05 +0000 (17:02 +0000)]
    Reviewed by Darin.

        * JavaScriptGlue.xcodeproj/project.pbxproj:
          Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
          Frameworks for the Default config.

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

14 years agoTools:
thatcher [Fri, 4 Nov 2005 01:36:35 +0000 (01:36 +0000)]
Tools:

        Reviewed by Darin and Vicki.

        * Scripts/build-root: now builds in a sandbox and wont replace your system WebKit or Safari
          will now also build JavaScriptGlue and WebKitSystemInterface

JavaScriptGlue:

        Reviewed by Darin and Vicki.

        * JavaScriptGlue.xcodeproj/project.pbxproj:
          Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
          $(NEXT_ROOT) in a few spots to make build-root work.

WebBrowser:

        Reviewed by Darin and Vicki.

        * WebBrowser.xcodeproj/project.pbxproj:
          Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
          $(NEXT_ROOT) in a few spots to make build-root work.

WebKitSystemInterface:

        Reviewed by Darin and Vicki.

        * WebKitSystemInterface.xcodeproj/project.pbxproj:
          Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
          $(NEXT_ROOT) in a few spots to make build-root work.

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

14 years agotop level:
mjs [Wed, 2 Nov 2005 00:53:05 +0000 (00:53 +0000)]
top level:

Reviewed by: Eric.

        <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again

        * Makefile.am: re-enable JavaScriptGlue in the build

JavaScriptGlue:

Reviewed by: Eric.

        <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again

- reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet

        * JSUtils.cpp:
        (KJSValueToCFTypeInternal):
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):
        * UserObjectImp.cpp:
        (UserObjectImp::propList):
        * UserObjectImp.h:

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

15 years ago Setup the proper Framework search path for the Default config.
thatcher [Wed, 12 Oct 2005 20:28:43 +0000 (20:28 +0000)]
    Setup the proper Framework search path for the Default config.
        Prepping for a TOT submission and build by B&I.

        * JavaScriptGlue.xcodeproj/project.pbxproj:

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

15 years ago Reviewed by Eric.
darin [Mon, 10 Oct 2005 23:32:34 +0000 (23:32 +0000)]
    Reviewed by Eric.

        - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
          in headers (reserved for compiler/library)

        * Info.plist:
        * JSBase.cpp:
        * JSBase.h:
        * JSObject.cpp:
        * JSObject.h:
        * JSRun.cpp:
        * JSRun.h:
        * JSUtils.cpp:
        * JSUtils.h:
        * JSValueWrapper.cpp:
        * JSValueWrapper.h:
        * JavaScriptGlue.cpp:
        * JavaScriptGlue.h:
        * UserObjectImp.cpp:
        * UserObjectImp.h:

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

15 years ago * .cvsignore: Added. Ignore Makefile.in and Makefile.
darin [Mon, 10 Oct 2005 18:54:37 +0000 (18:54 +0000)]
    * .cvsignore: Added. Ignore Makefile.in and Makefile.

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

15 years ago Reviewed by Maciej.
thatcher [Sat, 8 Oct 2005 00:18:43 +0000 (00:18 +0000)]
    Reviewed by Maciej.

        Build fix, needed to disable RTTI. Upgraded to a native target.

        * JavaScriptGlue.xcodeproj/project.pbxproj:
        * Info.plist

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

15 years agotop level:
mjs [Fri, 7 Oct 2005 04:22:50 +0000 (04:22 +0000)]
top level:

        Reviewed by Eric and Darin.

<rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore

        * Makefile.am:
        * configure.in:

JavaScriptGlue:

        Reviewed by Eric and Darin.

<rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore

        * JSRun.cpp:
        (JSRun::JSRun):
        (JSRun::GlobalObject):
        * JSRun.h:
        (JSInterpreter::JSInterpreter):
        * JSUtils.cpp:
        (KJSValueToJSObject):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        (KJSValueToCFType):
        * JSUtils.h:
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSValueWrapper):
        (JSValueWrapper::GetValue):
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectMark):
        * JSValueWrapper.h:
        * JavaScriptGlue.cpp:
        (JSRunCopyGlobalObject):
        * JavaScriptGlue.xcodeproj/project.pbxproj:
        * Makefile.am: Added.
        * UserObjectImp.cpp:
        (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
        (UserObjectImp::UserObjectImp):
        (UserObjectImp::callAsFunction):
        (UserObjectImp::getPropertyNames):
        (UserObjectImp::userObjectGetter):
        (UserObjectImp::getOwnPropertySlot):
        (UserObjectImp::put):
        (UserObjectImp::toPrimitive):
        (UserObjectImp::mark):
        * UserObjectImp.h:
        * kxmlcore/FastMalloc.h: Added.
        * kxmlcore/HashSet.h: Added.

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

15 years agoForgot to commit this to TOT way back when; will be useful when actually porting...
mjs [Thu, 6 Oct 2005 04:36:04 +0000 (04:36 +0000)]
Forgot to commit this to TOT way back when; will be useful when actually porting JSGlue.

        Reviewed by Geoff.

- fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)

Make sure to lock using the InterpreterLock class in all places that need it
(including anything that uses the collector, the parser, the protect count hash table,
and anything that allocates via fast_malloc).

        * JSUtils.cpp:
        (CFStringToUString):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        * JSUtils.h:
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectCopyCFValue):
        * JavaScriptGlue.cpp:
        (JSCollect):

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

15 years ago Reviewed by Maciej.
adele [Wed, 28 Sep 2005 01:48:47 +0000 (01:48 +0000)]
    Reviewed by Maciej.

        <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15

        * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID

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

15 years ago -upgraded project files to XCode 2.1
ggaren [Wed, 7 Sep 2005 01:21:47 +0000 (01:21 +0000)]
    -upgraded project files to XCode 2.1

        * JavaScriptGlue.pbproj/project.pbxproj: Removed.
        * JavaScriptGlue.xcodeproj/.cvsignore: Added.
        * JavaScriptGlue.xcodeproj/project.pbxproj: Added.

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

15 years ago Rubber stamped by hyatt.
mjs [Tue, 6 Sep 2005 08:10:03 +0000 (08:10 +0000)]
    Rubber stamped by hyatt.

- initial import of JavaScriptGlue into our repository

        * English.lproj/InfoPlist.strings: Added.
        * JSBase.cpp: Added.
        (JSBase::JSBase):
        (JSBase::~JSBase):
        (JSBase::Retain):
        (JSBase::Release):
        (JSBase::RetainCount):
        (JSBase::GetTypeID):
        (JSBase::CopyDescription):
        (JSBase::Equal):
        * JSBase.h: Added.
        * JSObject.cpp: Added.
        (JSUserObject::JSUserObject):
        (JSUserObject::~JSUserObject):
        (JSUserObject::CopyPropertyNames):
        (JSUserObject::CopyProperty):
        (JSUserObject::SetProperty):
        (JSUserObject::ImplementsCall):
        (JSUserObject::CallFunction):
        (JSUserObject::CopyCFValue):
        (JSUserObject::Equal):
        (JSUserObject::Mark):
        (JSUserObject::GetData):
        * JSObject.h: Added.
        (JSUserObject::DataType):
        * JSRun.cpp: Added.
        (JSRun::JSRun):
        (JSRun::~JSRun):
        (JSRun::Flags):
        (JSRun::GetSource):
        (JSRun::GlobalObject):
        (JSRun::GetInterpreter):
        (JSRun::Evaluate):
        (JSRun::CheckSyntax):
        * JSRun.h: Added.
        (JSInterpreter::JSInterpreter):
        (JSInterpreter::JSInterpreter::~JSInterpreter):
        (JSInterpreter::Flags):
        * JSUtils.cpp: Added.
        (CFStringToUString):
        (UStringToCFString):
        (CFStringToIdentifier):
        (IdentifierToCFString):
        (KJSValueToJSObject):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        (KJSValueToCFType):
        (GetCFNull):
        * JSUtils.h: Added.
        (RetainCFType):
        (ReleaseCFType):
        * JSValueWrapper.cpp: Added.
        (JSValueWrapper::JSValueWrapper):
        (JSValueWrapper::~JSValueWrapper):
        (JSValueWrapper::GetValue):
        (JSValueWrapper::GetExecState):
        (JSValueWrapper::GetJSObectCallBacks):
        (JSValueWrapper::JSObjectDispose):
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectCopyCFValue):
        (JSValueWrapper::JSObjectMark):
        * JSValueWrapper.h: Added.
        * JavaScriptGlue.cpp: Added.
        (JSSetCFNull):
        (JSGetCFNull):
        (JSRetain):
        (JSRelease):
        (JSCopyDescription):
        (JSEqual):
        (JSGetTypeID):
        (JSGetRetainCount):
        (JSObjectCreate):
        (JSObjectCreateInternal):
        (JSObjectCopyCFValue):
        (JSObjectGetData):
        (JSObjectCopyProperty):
        (JSObjectSetProperty):
        (JSObjectCallFunction):
        (JSRunCreate):
        (JSRunCopySource):
        (JSRunCopyGlobalObject):
        (JSRunEvaluate):
        (JSRunCheckSyntax):
        (JSCollect):
        (JSTypeGetCFArrayCallBacks):
        (JSCFRetain):
        (JSCFRelease):
        (JSObjectCreateWithCFType):
        (CFJSObjectDispose):
        (JSObjectCopyPropertyNames):
        (CFJSObjectCopyProperty):
        (CFJSObjectSetProperty):
        (CFJSObjectCopyCFValue):
        (CFJSObjectEqual):
        (CFJSObjectCopyPropertyNames):
        (JSCreateCFArrayFromJSArray):
        (JSCreateJSArrayFromCFArray):
        (JSLockInterpreter):
        (JSUnlockInterpreter):
        * JavaScriptGlue.exp: Added.
        * JavaScriptGlue.h: Added.
        * JavaScriptGlue.pbproj/project.pbxproj: Added.
        * UserObjectImp.cpp: Added.
        (UserObjectPrototypeImp::UserObjectPrototypeImp):
        (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
        (UserObjectImp::UserObjectImp):
        (UserObjectImp::~UserObjectImp):
        (UserObjectImp::classInfo):
        (UserObjectImp::implementsCall):
        (UserObjectImp::call):
        (UserObjectImp::propList):
        (UserObjectImp::hasProperty):
        (UserObjectImp::get):
        (UserObjectImp::put):
        (UserObjectImp::GetJSUserObject):
        (UserObjectImp::toPrimitive):
        (UserObjectImp::toBoolean):
        (UserObjectImp::toNumber):
        (UserObjectImp::toString):
        (UserObjectImp::mark):
        * UserObjectImp.h: Added.

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

14 years agoIt's called pure virtual for a reason. (Fingers crossed.)
hyatt [Thu, 19 Jan 2006 00:59:35 +0000 (00:59 +0000)]
It's called pure virtual for a reason. (Fingers crossed.)

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

14 years agoUmm. Yeah. Let's try making BrowserExtensionMac actually declare and use a class...
hyatt [Thu, 19 Jan 2006 00:51:18 +0000 (00:51 +0000)]
Umm. Yeah.  Let's try making BrowserExtensionMac actually declare and use a class called BrowserExtensionMac.

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

14 years agoRemove KParts using from WebCoreFrameBridge.mm (yes, more bustage).
hyatt [Thu, 19 Jan 2006 00:43:27 +0000 (00:43 +0000)]
Remove KParts using from WebCoreFrameBridge.mm (yes, more bustage).

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

14 years agoMake sure FrameView includes MacFrame.h on mac only.
hyatt [Thu, 19 Jan 2006 00:39:28 +0000 (00:39 +0000)]
Make sure FrameView includes MacFrame.h on mac only.

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

14 years agoMore Mac build bustage. Fix the dashboard region call to still cast to MacFrame.
hyatt [Thu, 19 Jan 2006 00:30:54 +0000 (00:30 +0000)]
More Mac build bustage. Fix the dashboard region call to still cast to MacFrame.

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

14 years agoOMG I BROKE THE MAC. (Fixed)
hyatt [Thu, 19 Jan 2006 00:15:35 +0000 (00:15 +0000)]
OMG I BROKE THE MAC. (Fixed)

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

14 years agoEliminate uses of MacFrame in cross-platform code.
hyatt [Wed, 18 Jan 2006 23:59:23 +0000 (23:59 +0000)]
Eliminate uses of MacFrame in cross-platform code.

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

14 years agoMake the signals/stubs/slots compile on Win32 by removing #imports.
hyatt [Wed, 18 Jan 2006 21:14:52 +0000 (21:14 +0000)]
Make the signals/stubs/slots compile on Win32 by removing #imports.

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