Timeline



Jan 22, 2006:

11:23 PM Changeset in webkit [12306] by darin
  • 2 edits
    1 delete in trunk/WebCore
  • Info.plist: Updated Apple copyright date. Need to update others too at some point.
  • WebCore-svg.exp: Removed unused empty file.
11:20 PM Changeset in webkit [12305] by staikos
  • 6 edits in trunk/JavaScriptCore

Reviewed by Maciej and Darin.

  • kxmlcore/Assertions.h: This file only works with APPLE right now
  • kjs/interpreter.cpp: ditto
  • kjs/simple_number.h: Add assert.h and remove from config.h
  • kjs/array_object.cpp: Use relative paths for kxmlcore includes
  • kjs/testkjs.cpp: Use relative paths for kxmlcore includes
11:01 PM Changeset in webkit [12304] by staikos
  • 2 edits in trunk/JavaScriptCore

Rubber stamp from Maciej:

  • Assertions is only valid in APPLE right now
11:00 PM Changeset in webkit [12303] by eseidel
  • 24 edits
    2 adds in trunk/WebCore

2006-01-22 Eric Seidel <eseidel@apple.com>

Reviewed by darin.

Make <animateColor> work again (broke during DOM merger).
http://bugzilla.opendarwin.org/show_bug.cgi?id=5964

  • WebCore.xcodeproj/project.pbxproj:
  • kcanvas/device/quartz/KCanvasItemQuartz.h:
  • kcanvas/device/quartz/KCanvasItemQuartz.mm: (KCanvasItemQuartz::getAbsoluteRepaintRect): moved to .cpp file
  • khtml/xml/DocumentImpl.cpp: (WebCore::DocumentImpl::implicitClose): start svg animations (WebCore::DocumentImpl::svgExtensions): svg document extensions (WebCore::DocumentImpl::accessSVGExtensions): svg doc extensions
  • khtml/xml/DocumentImpl.h:
  • ksvg2/css/SVGCSSStyleSelector.cpp: (KDOM::CSSStyleSelector::applySVGProperty):
  • ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::defaultEventHandler): cleanup
  • ksvg2/svg/SVGAnimateColorElementImpl.cpp: (SVGAnimateColorElementImpl::handleTimerEvent): update css lookup
  • ksvg2/svg/SVGAnimateElementImpl.cpp: (SVGAnimateElementImpl::handleTimerEvent): fix css property lookup
  • ksvg2/svg/SVGAnimateTransformElementImpl.cpp: (SVGAnimateTransformElementImpl::handleTimerEvent):
  • ksvg2/svg/SVGAnimationElementImpl.cpp: (SVGAnimationElementImpl::closeRenderer): use doc extensions (SVGAnimationElementImpl::targetAttribute): fix css properties (SVGAnimationElementImpl::setTargetAttribute): fix css properties
  • ksvg2/svg/SVGDocumentImpl.cpp: (SVGDocumentImpl::svgView): remove unnecessary static cast (SVGDocumentImpl::executeScripts):
  • ksvg2/svg/SVGDocumentImpl.h:
  • ksvg2/svg/SVGElementImpl.cpp: (WebCore::SVGElementImpl::addSVGEventListener): helper function (WebCore::SVGElementImpl::parseMappedAttribute): use helper
  • ksvg2/svg/SVGElementImpl.h:
  • ksvg2/svg/SVGGElementImpl.cpp:
  • ksvg2/svg/SVGGElementImpl.h:
  • ksvg2/svg/SVGSVGElementImpl.cpp: (WebCore::SVGSVGElementImpl::SVGSVGElementImpl): (WebCore::SVGSVGElementImpl::~SVGSVGElementImpl): (WebCore::SVGSVGElementImpl::addSVGWindowEventListner): helper (WebCore::SVGSVGElementImpl::parseMappedAttribute): use helper
  • ksvg2/svg/SVGSVGElementImpl.h:
  • ksvg2/svg/SVGSetElementImpl.cpp: (SVGSetElementImpl::handleTimerEvent): use doc extensions
  • ksvg2/svg/SVGStyledElementImpl.h:
  • page/Frame.cpp: (Frame::pauseTimeouts): pause svg animation (Frame::resumeTimeouts): resume svg animation
  • rendering/render_canvas.h:
10:55 PM Changeset in webkit [12302] by staikos
  • 2 edits in trunk/JavaScriptCore

unbreak preprocessor change
Reviewed by Maciej

10:10 PM Changeset in webkit [12301] by staikos
  • 17 edits in trunk/JavaScriptCore

Approved by Maciej and Darin.

  • kjs/:
  • kxmlcore/:

Update FSF address in license to make merging easier

9:44 PM Changeset in webkit [12300] by staikos
  • 3 edits in trunk/JavaScriptCore

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
9:43 PM Changeset in webkit [12299] by darin
  • 2 edits in trunk/WebCore
  • fix deployment builds
  • rendering/RenderTable.cpp: (WebCore::RenderTable::addChild): Init bool.
9:29 PM Changeset in webkit [12298] by darin
  • 8 edits
    4 adds in trunk

LayoutTests:

Reviewed by Maciej.

  • 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.

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.
9:07 PM Changeset in webkit [12297] by darin
  • 3 edits in trunk/WebCore

Reviewed by Maciej.

  • kwq/KWQListBox.mm: (QListBox::QListBox): Call setCopiesOnScroll:NO.
  • kwq/KWQTextArea.mm: (-[KWQTextArea initWithFrame:]): Ditto.
8:39 PM Changeset in webkit [12296] by staikos
  • 2 edits in trunk/JavaScriptCore

Reviewed by Maciej
Compile fix for FreeBSD 5.4 from KDE

6:53 PM Changeset in webkit [12295] by darin
  • 1 edit in trunk/WebCore/ChangeLog

Added a few Radar bug numbers for future searching purposes.

6:47 PM Changeset in webkit [12294] by darin
  • 5 edits
    4 adds in trunk

LayoutTests:

Reviewed by Maciej.

  • 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.

  • 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).
6:35 PM Changeset in webkit [12293] by darin
  • 2 edits in trunk/WebCore
  • 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.
3:53 PM Changeset in webkit [12292] by eseidel
  • 17 edits
    6 adds in trunk

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
2:57 PM Changeset in webkit [12291] by thatcher
  • 2 edits in trunk/WebKit

Reviewed by Anders Carlsson.


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

2:32 PM Changeset in webkit [12290] by darin
  • 11 edits
    4 adds in trunk

LayoutTests:

Reviewed by Maciej.

  • 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.

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.
1:27 PM Changeset in webkit [12289] by darin
  • 1 edit in trunk/JavaScriptCore/ChangeLog

Maciej mentioned he reviewed the change George just landed, so updating the log to reflect that.

12:32 PM Changeset in webkit [12288] by ap
  • 5 edits
    12 adds in trunk

Reviewed by Darin.

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.
12:20 PM Changeset in webkit [12287] by darin
  • 22 edits in trunk/WebCore

Reviewed by Anders.

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.
11:22 AM Changeset in webkit [12286] by darin
  • 1 add in trunk/WebCore/manual-tests/bugzilla-3509.html

Somehow this file didn't get checked in before (even though it was
mentioned in the change log).

11:18 AM Changeset in webkit [12285] by ap
  • 2 edits in trunk/WebKitTools

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.
6:41 AM Changeset in webkit [12284] by eseidel
  • 2 edits in trunk/WebKitTools

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:
6:08 AM Changeset in webkit [12283] by eseidel
  • 341 edits in trunk

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

2:49 AM Changeset in webkit [12282] by ap
  • 8 edits
    2 copies
    2 moves
    1 add in trunk/WebCore

Reviewed by Maciej.

  • 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.
1:57 AM Changeset in webkit [12281] by eseidel
  • 119 edits
    1 delete in trunk

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:

Jan 21, 2006:

10:20 PM Changeset in webkit [12280] by staikos
  • 5 edits in trunk/JavaScriptCore

Reviewed by Maciej

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

8:28 PM Changeset in webkit [12279] by darin
  • 2 edits in trunk/WebCore

Reviewed by Darin.


  • 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.
4:25 PM Changeset in webkit [12278] by thatcher
  • 2 edits in trunk/WebKit

Reviewed by Anders Carlsson.

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

2:11 PM Changeset in webkit [12277] by eseidel
  • 4 edits in trunk/WebKitTools

2006-01-20 David Kilzer <ddkilzer@kilzer.net>

Reviewed by eseidel.

  • Scripts/build-drawtest: Changed bareword 'true' to 1.
  • Scripts/run-drawtest: Changed bareword 'true' to 1.
1:58 PM Changeset in webkit [12276] by andersca
  • 7 edits
    7 adds in trunk

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.
1:20 PM Changeset in webkit [12275] by andersca
  • 2 edits in trunk/LayoutTests

2006-01-21 Anders Carlsson <andersca@mac.com>

  • editing/editing.js: Fix typo which made editing test cases fail.
12:15 PM Changeset in webkit [12274] by andersca
  • 4 edits
    4 adds in trunk

2006-01-21 Anders Carlsson <andersca@mac.com>

Reviewed by Darin.


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


12:02 PM Changeset in webkit [12273] by darin
  • 6 edits
    4 adds in trunk

LayoutTests:

Reviewed by Darin.

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

WebCore:

Test: fast/dynamic/hovered-detach.html

Reviewed by Darin.

  • 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.
11:22 AM Changeset in webkit [12272] by thatcher
  • 4 edits in trunk/WebKit

Reviewed by Darin.

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

Jan 20, 2006:

7:47 PM Changeset in webkit [12271] by hyatt
  • 2 edits in trunk/WebCore

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):
7:45 PM Changeset in webkit [12270] by hyatt
  • 2 adds in trunk/LayoutTests/fast/inspector

Add a test case for Web Inspector style matching bug.

7:05 PM Changeset in webkit [12269] by thatcher
  • 7 edits
    2 deletes in trunk

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
5:03 PM Changeset in webkit [12268] by andersca
  • 17 edits in trunk/WebCore

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):
2:54 PM Changeset in webkit [12267] by thatcher
  • 2 edits in trunk/WebKit

Reviewed by Hyatt.

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

1:48 PM Changeset in webkit [12266] by cpeterse
  • 2 edits in trunk/WebCore

Reviewed by eseidel.

Build fix.

  • khtml/xml/DocumentImpl.cpp:
12:20 PM Changeset in webkit [12265] by eseidel
  • 3 edits in trunk/WebCore

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:
11:30 AM Changeset in webkit [12264] by eseidel
  • 4 edits in trunk/WebCore

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:
11:24 AM Changeset in webkit [12263] by eseidel
  • 28 edits
    8 copies
    6 moves in trunk/WebCore

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:
11:10 AM Changeset in webkit [12262] by mjs
  • 1 edit
    3 adds in trunk/LayoutTests
  • 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.
10:45 AM Changeset in webkit [12261] by adele
  • 3 edits
    4 adds in trunk

LayoutTests:

Reviewed by Darin, committed by Adele.

  • 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.


  • rendering/render_replaced.cpp: (WebCore::RenderReplaced::selectionRect): Subtract the containing block's scroll offset.
10:13 AM Changeset in webkit [12260] by thatcher
  • 5 copies in tags/Safari-521.6

Final Safari-521.6 tag. Ignore the diffs, they are wrong!

10:11 AM Changeset in webkit [12259] by thatcher
  • 1 delete in tags/Safari-521.6

This tag needs updated.

9:42 AM Changeset in webkit [12258] by thatcher
  • 1 edit in trunk/WebKitSite/contact.html

Add irc://irc.freenode.net/#webkit links.

9:26 AM Changeset in webkit [12257] by thatcher
  • 1 edit in trunk/WebKitSite/coding/contributing.html

Fixes the rest of http://bugzilla.opendarwin.org/show_bug.cgi?id=6535
add <tt></tt> around an instance of "svn diff".

12:18 AM Changeset in webkit [12256] by thatcher
  • 2 edits in trunk/WebKitSite

Replace all "cvs" references with "svn".

Jan 19, 2006:

11:45 PM Changeset in webkit [12255] by thatcher
  • 3 edits in trunk/WebKit

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.

10:42 PM Changeset in webkit [12254] by thatcher
  • 1 edit in trunk

Add WebKitBuild to the svn:ignore

10:21 PM Changeset in webkit [12253] by thatcher
  • 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj

Fix a typo that made WebCore build and link UserAgentStyleSheets.cpp every time, even if nothing changed.

9:10 PM Changeset in webkit [12252] by thatcher
  • 2 edits in trunk/WebKit

Reviewed by Darin.


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

5:40 PM Changeset in webkit [12251] by sullivan
  • 2 edits in trunk/WebKit

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.
5:22 PM Changeset in webkit [12250] by eseidel
  • 2 edits in trunk/WebCore

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):
5:02 PM Changeset in webkit [12249] by sullivan
  • 5 edits
    1 add in trunk/WebKit

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
4:29 PM Changeset in webkit [12248] by thatcher
  • 5 copies in tags/Safari-521.6

Trying the Safari-521.6 tag again

4:26 PM Changeset in webkit [12247] by thatcher
  • 1 delete in tags/Safari-521.6

Bad tag, not sure what happened.

4:22 PM Changeset in webkit [12246] by thatcher
  • 5 copies in tags/Safari-521.6

Tagging Safari-521.6

3:57 PM Changeset in webkit [12245] by thatcher
  • 8 adds in branches/Safari-Leo-branch

Versioning to 521.6

3:50 PM Changeset in webkit [12244] by thatcher
  • 1 add in branches/Safari-Leo-branch
3:50 PM Changeset in webkit [12243] by eseidel
  • 64 edits
    6 copies
    4 moves in trunk/WebCore

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:
3:44 PM Changeset in webkit [12242] by thatcher
  • 1 delete in branches/Safari-Leo-branch

Redoing this branch so we only include Info.plists

3:08 PM Changeset in webkit [12241] by darin
  • 1 edit
    1 add in trunk/WebKitTools
  • Scripts/report-include-statistics: Added a new script.
1:42 PM Changeset in webkit [12240] by sullivan
  • 2 edits in trunk/WebKit

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.
11:45 AM Changeset in webkit [12239] by thatcher
  • 2 edits in trunk/WebKitTools
  • Scripts/build-webkit: include JavaScriptGlue in the build
10:57 AM Changeset in webkit [12238] by darin
  • 1 edit in trunk/Makefile

Build JavaScriptGlue.

9:14 AM Changeset in webkit [12237] by andersca
  • 7 edits in trunk

2006-01-19 Anders Carlsson <andersca@mac.com>

Reviewed by Darin.


  • khtml/ecma/kjs_css.cpp: (KJS::DOMCSSStyleDeclaration::cssPropertyGetter): if getCSSPropertyValue returns 0 (which is true for shorthand properties), try getPropertyValue instead.
1:35 AM Changeset in webkit [12236] by adele
  • 10 edits
    2 adds in trunk/WebCore

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.
1:20 AM Changeset in webkit [12235] by eseidel
  • 5 edits
    4 adds in trunk

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):
1:18 AM Changeset in webkit [12234] by darin
  • 21 edits in trunk/WebKitTools
  • 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.
12:59 AM Changeset in webkit [12233] by darin
  • 43 edits
    4 deletes in trunk/WebCore

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.
12:59 AM Changeset in webkit [12232] by darin
  • 4 edits in trunk/JavaScriptCore

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.
12:16 AM Changeset in webkit [12231] by eseidel
  • 2 edits in trunk/WebCore

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):

Jan 18, 2006:

10:46 PM Changeset in webkit [12230] by hyatt
  • 56 edits in trunk

Rename KHTMLView to FrameView (since it's been moved to a file called FrameView already).

6:40 PM Changeset in webkit [12229] by thatcher
  • 15 edits
    1 add in trunk/JavaScriptGlue

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.
5:59 PM Changeset in webkit [12190] by thatcher
  • 1 move in tags/WebCore-417.19

Fix a typo.

5:54 PM Changeset in webkit [12189] by thatcher
  • 1 copy in tags/WebCore-417.9/WebCore

Tag for WebCore-417.9

5:53 PM Changeset in webkit [12188] by thatcher
  • 1 add in tags/WebCore-417.9

Tag directory for WebCore-417.9

5:43 PM Changeset in webkit [12187] by thatcher
  • 2 edits in branches/Safari-2-0-branch/WebCore

Versioning to 417.19.

5:34 PM Changeset in webkit [12186] by thatcher
  • 2 edits
    5 adds
    16 deletes in branches/Safari-2-0-branch
  • Removing the .cvsignore on the branch.
  • Added the new Makefiles.
5:30 PM Changeset in webkit [12185] by thatcher
  • 8 edits in branches/Safari-2-0-branch/WebCore

Merged fix from TOT to Safari-2-0-branch

2006-01-17 Beth Dakin <Beth Dakin>

Reviewed by Hyatt and Darin

Fix for <rdar://problem/4405836> REGRESSION: crash at webmail.aol.com
when deleting mail in khtml::RenderTableCell::collapsedBottomBorder() const
+ 232

RenderTableCell::collapsedBottomBorder() gets nextCell by calling
table()->cellBelow(this). In the case of the crash, cellBelow() returns
a pointer to a table cell that was already destroyed. cellBelow() thinks
that the pointer is still good because the grid of cells has not been updated
because all of this code is called through the hitTest and the hitTest does
not update the layout. The fix that I have is simply it have the hitTest call
updateLayout(). This is the only change in behavior. The rest of the patch
preserves behavior for simulated clicks. fast/events/stopPropagation-submit
caught this problem that arose from calling updateLayout() in the hitTest;
we should always have an x and y position of 0 for simulated clicks. This
preserves that behavior by keeping track of whether a click is simulated or not.

  • khtml/html/HTMLInputElementImpl.cpp: (DOM::HTMLInputElementImpl::defaultEventHandler): If the click is simulated, set xPos and yPos to 0.
  • khtml/html/html_elementimpl.cpp: (HTMLElementImpl::setContentEditable): Fix spacing. (HTMLElementImpl::click): It isn't necessary to check if there is a renderer.
  • khtml/rendering/render_layer.cpp: (khtml::RenderLayer::hitTest): Call updateLayout().
  • khtml/xml/NodeImpl.cpp: (WebCore::NodeImpl::dispatchSimulatedMouseEvent): Set isSimulated to true. (WebCore::NodeImpl::dispatchMouseEvent): Keep track of isSimulated.
  • khtml/xml/NodeImpl.h: Same.
  • khtml/xml/dom2_eventsimpl.cpp: (DOM::MouseRelatedEventImpl::MouseRelatedEventImpl): Add isSimulated to MouseRelatedEventImpl(). (DOM::MouseRelatedEventImpl::computePositions): Only change the offsets if it's not simulated. (DOM::MouseEventImpl::MouseEventImpl): Add isSimulated to MouseEventImpl()
  • khtml/xml/dom2_eventsimpl.h: (DOM::MouseRelatedEventImpl::isSimulated): Declarations of isSimulated (DOM::MouseEventImpl::isSimulated): Same.
4:59 PM Changeset in webkit [12184] by hyatt
  • 1 edit in trunk/WebCore/page/Frame.h

It's called pure virtual for a reason. (Fingers crossed.)

4:51 PM Changeset in webkit [12183] by hyatt
  • 2 edits in trunk/WebCore

Umm. Yeah. Let's try making BrowserExtensionMac actually declare and use a class called BrowserExtensionMac.

4:43 PM Changeset in webkit [12182] by hyatt
  • 1 edit in trunk/WebCore/bridge/mac/WebCoreFrameBridge.mm

Remove KParts using from WebCoreFrameBridge.mm (yes, more bustage).

4:39 PM Changeset in webkit [12181] by hyatt
  • 1 edit in trunk/WebCore/page/FrameView.cpp

Make sure FrameView includes MacFrame.h on mac only.

4:30 PM Changeset in webkit [12180] by hyatt
  • 1 edit in trunk/WebCore/page/FrameView.cpp

More Mac build bustage. Fix the dashboard region call to still cast to MacFrame.

4:15 PM Changeset in webkit [12179] by hyatt
  • 3 edits in trunk/WebCore

OMG I BROKE THE MAC. (Fixed)

3:59 PM Changeset in webkit [12178] by hyatt
  • 30 edits
    3 moves
    2 deletes in trunk/WebCore

Eliminate uses of MacFrame in cross-platform code.

1:14 PM Changeset in webkit [12177] by hyatt
  • 3 edits in trunk/WebCore/kwq

Make the signals/stubs/slots compile on Win32 by removing #imports.

1:12 PM Changeset in webkit [12176] by darin
  • 2 edits in trunk/WebCore

Reviewed by Hyatt.

  • change KWQList to use qsort instead of CFArraySort
  • kwq/KWQListImpl.cpp: (compareFuncWrapper): Wrapper that uses global variables to overcome the lack of a "data" pointer in qsort. Could have used qsort_r but that would be less portable. (KWQListImpl::sort): Use qsort instead of CFArraySortValues.
12:19 PM Changeset in webkit [12175] by darin
  • 4 edits
    3 moves in trunk/WebCore

Reviewed by Beth.

  • changed the three signal/slot related files from ObjC++ to C++ files
  • WebCore.xcodeproj/project.pbxproj:
  • kwq/KWQSignal.cpp: Added.
  • kwq/KWQSignal.mm: Removed.
  • kwq/KWQSignalStubs.cpp: Added.
  • kwq/KWQSignalStubs.mm: Removed.
  • kwq/KWQSlot.cpp: Added.
  • kwq/KWQSlot.mm: Removed.
11:48 AM Changeset in webkit [12174] by hyatt
  • 2 edits in trunk/WebCore

Add KWQListImpl.cpp to Win32 but ifdef out all the LAME LAME LAME CF dependencies.

11:41 AM Changeset in webkit [12173] by thatcher
  • 11 edits
    2 adds in branches/Safari-2-0-branch/LayoutTests

Fix for binary files.

11:31 AM Changeset in webkit [12172] by hyatt
  • 3 edits in trunk/JavaScriptCore

Make testkjs.exe compile without warnings.

11:31 AM Changeset in webkit [12171] by hyatt
  • 5 edits in trunk/WebCore

Make Win32 WebCore build again.

9:19 AM Changeset in webkit [12170] by darin
  • 3 edits
    4 adds in trunk

LayoutTests:

Reviewed by Hyatt.

  • fast/overflow/overflow-rtl-inline-scrollbar-expected.checksum: Added.
  • fast/overflow/overflow-rtl-inline-scrollbar-expected.png: Added.
  • fast/overflow/overflow-rtl-inline-scrollbar-expected.txt: Added.
  • fast/overflow/overflow-rtl-inline-scrollbar.html: Added.

WebCore:

Test: fast/overflow/overflow-rtl-inline-scrollbar.html

Reviewed by Hyatt.



Inline flows were always returning 0 for leftmostPosition(). Their real leftmost
edges are determined by their inline boxes, which
RenderBlock::leftmostPosition already takes into account.

  • khtml/rendering/render_flow.cpp: (RenderFlow::lowestPosition): Don't descend into inline flows. (RenderFlow::rightmostPosition): Ditto. (RenderFlow::leftmostPosition): Ditto.
8:51 AM Changeset in webkit [12169] by andersca
  • 3 edits in trunk/WebCore

2006-01-18 Anders Carlsson <andersca@mac.com>

Fix build.


  • khtml/ecma/kjs_navigator.cpp:
  • page/FrameView.cpp: Remove kstandarddirs.h includes.
12:57 AM Changeset in webkit [12168] by darin
  • 1 edit in trunk/WebCore/ChangeLog

Fixed change log.

12:56 AM Changeset in webkit [12167] by darin
  • 8 edits
    1 move
    2 adds
    6 deletes in trunk/WebCore

Reviewed by Hyatt.

  • WebCore.vcproj/WebCore/WebCore.vcproj:
  • WebCore.vcproj/WebCore/build-generated-files.sh:
  • css/make-css-file-arrays.pl: Added. Used to generate C array forms of the ".css" files.
  • css/UserAgentStyleSheets.cpp: Added. Used to indirectly compile the generated file.
  • WebCore.xcodeproj/project.pbxproj: Added new source files. Added a build phase to invoke the make-css-file-arrays.pl script. Removed the .css files, which no longer need to be installed as part of the final package.
  • css/cssstyleselector.cpp: (WebCore::parseUASheet): Removed code to read user agent sheets from disk. Replaced with code that gets them from compiled-in arrays instead. Uses a pretty lame DOMString hack that could be reworked some day. (WebCore::CSSStyleSelector::loadDefaultStyle): Change to load from arrays intead of disk.
  • css/html4.css: Added missing license header, tweaked format a bit.
  • css/quirks.css: Added missing license header, tweaked format.
  • css/svg.css: Moved from ksvg2/css directory.
  • ksvg2/css/svg.css: Moved to top level css directory.
  • page/Frame.cpp: Removed includes of qfile.h and kstandarddirs.h.
  • ForwardingHeaders/kstandarddirs.h: Removed.
  • ForwardingHeaders/qfile.h: Removed.
  • kwq/KWQFile.h: Removed.
  • kwq/KWQFile.mm: Removed.
  • kwq/KWQKStandardDirs.h: Removed.
  • kwq/KWQKStandardDirs.mm: Removed.
Note: See TracTimeline for information about the timeline view.