Timeline
Nov 29, 2005:
- 7:12 PM Changeset in webkit [11360] by
-
- 1 edit16 adds in trunk/LayoutTests
Bug #: 4403
Submitted by: mitz
Reviewed by: darin
Test for: http://bugzilla.opendarwin.org/show_bug.cgi?id=4403
Script element doesn't load if on set src if already in document
- fast/dom/HTMLScriptElement/resources/script-set-src-p1fail.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p2fail.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p3pass.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p4pass.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p5fail.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p5pass.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p6pass.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p7pass.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p8pass.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p9failAfter.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p9failBefore.js: Added.
- fast/dom/HTMLScriptElement/resources/script-set-src-p9pass.js: Added.
- fast/dom/HTMLScriptElement/script-set-src-expected.txt: Added.
- fast/dom/HTMLScriptElement/script-set-src.html: Added.
- 7:12 PM Changeset in webkit [11359] by
-
- 3 edits in trunk/WebCore
Bug #: 4403
Submitted by: mitz
Reviewed by: darin
Test: fast/dom/HTMLScriptElement/script-set-src.html
Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=4403
Script element doesn't load if on set src if already in document
- khtml/html/html_headimpl.cpp: (HTMLScriptElementImpl::parseMappedAttribute): (HTMLScriptElementImpl::closeRenderer):
- khtml/html/html_headimpl.h:
- 6:55 PM Changeset in webkit [11358] by
-
- 1 edit4 adds in trunk/LayoutTests
Bug #: 5820
Submitted by: mitz
Reviewed by: darin
Test for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5820
- fast/table/cell-width-auto-expected.checksum: Added.
- fast/table/cell-width-auto-expected.png: Added.
- fast/table/cell-width-auto-expected.txt: Added.
- fast/table/cell-width-auto.html: Added.
- 6:51 PM Changeset in webkit [11357] by
-
- 5 edits in trunk/WebCore
Bug #: 5820
Submitted by: mitz
Reviewed by: darin
Test: fast/table/cell-width-auto.html
Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5820
Table cells with width:auto should use width from their <col>
- khtml/rendering/render_block.cpp: (khtml::RenderBlock::calcMinMaxWidth):
- khtml/rendering/render_table.cpp: (RenderTableCell::styleOrColWidth): (RenderTableCell::calcMinMaxWidth):
- khtml/rendering/render_table.h:
- khtml/rendering/table_layout.cpp: (FixedTableLayout::calcWidthArray): (AutoTableLayout::recalcColumn): (AutoTableLayout::calcEffectiveWidth):
- 6:42 PM Changeset in webkit [11356] by
-
- 4 edits4 adds in trunk/LayoutTests
Bug #: 4695
Submitted by: mitz
Reviewed by: hyatt
Updated results for word space fix:
http://bugzilla.opendarwin.org/show_bug.cgi?id=4695
- fast/css/word-space-extra-expected.checksum:
- fast/css/word-space-extra-expected.png:
- fast/css/word-space-extra-expected.txt:
- fast/text/whitespace/span-in-word-space-causes-overflow-expected.checksum: Added.
- fast/text/whitespace/span-in-word-space-causes-overflow-expected.png: Added.
- fast/text/whitespace/span-in-word-space-causes-overflow-expected.txt: Added.
- fast/text/whitespace/span-in-word-space-causes-overflow.html: Added.
- 6:40 PM Changeset in webkit [11355] by
-
- 2 edits in trunk/WebCore
Bug #: 4695
Submitted by: mitz
Reviewed by: hyatt
Test: fast/text/span-in-word-space-causes-overflow.html
Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=4695
<span> in word-spaced text breaks width calc, causes overflow
- khtml/rendering/bidi.cpp: (khtml::RenderBlock::findNextLineBreak):
- 6:07 PM Changeset in webkit [11354] by
-
- 2 edits in trunk/WebKit
Bug #: 4726
Submitted by: Andrew Wellington <proton@wiretapped.net>
Reviewed by: darin
Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=4726
Drop of multiple non-image file URLs only yields one item
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView _documentFragmentWithPaths:]):
- 6:06 PM Changeset in webkit [11353] by
-
- 5 edits in trunk/WebCore
Bug #: 4726
Submitted by: Andrew Wellington <proton@wiretapped.net>
Reviewed by: darin
No automated test possible.
Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=4726
Drop of multiple non-image file URLs only yields one item
- khtml/editing/markup.cpp: (khtml::createFragmentFromNodeList):
- khtml/editing/markup.h:
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge documentFragmentWithNodesAsParagraphs:]):
- 5:58 PM Changeset in webkit [11352] by
-
- 2 edits in trunk/WebCore
Bug #: 5800
Submitted by: mitz
Reviewed by: eseidel
Test case: fast/css/absolute-poition-in-rtl-parent.html
Fix for bug: http://bugzilla.opendarwin.org/show_bug.cgi?id=5800
- khtml/rendering/render_box.cpp: (RenderBox::calcAbsoluteHorizontal):
- 5:53 PM Changeset in webkit [11351] by
-
- 1 edit6 adds in trunk/LayoutTests
Bug #: 5800
Submitted by: mitz
Reviewed by: darin
Test cases for http://bugzilla.opendarwin.org/show_bug.cgi?id=5800
- fast/css/absolute-poition-in-rtl-parent-expected.checksum: Added.
- fast/css/absolute-poition-in-rtl-parent-expected.png: Added.
- fast/css/absolute-poition-in-rtl-parent-expected.txt: Added.
- fast/css/absolute-poition-in-rtl-parent.html: Added.
- 4:57 PM Changeset in webkit [11350] by
-
- 2 edits in trunk/WebCore
Bug #:
Submitted by:
Reviewed by:
- 4:29 PM Changeset in webkit [11349] by
-
- 2 edits in trunk/WebCore
Bug #: 5879
Submitted by: mitz
Reviewed by: eseidel
Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5879
REGRESSION: Buttons go into pushed state when moused over when text field has focus
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::NodeImpl): Initialize m_inActiveChain to false.
- 4:11 PM Changeset in webkit [11348] by
-
- 3 edits in trunk/WebCore
Bug #: 5873
Submitted by: eseidel
Reviewed by: darin
Fixes W3C events tests, no additional tests necessary.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5876
- ksvg2/css/svg.css: added namespace declaration
- ksvg2/svg/SVGElementImpl.cpp: (SVGElementImpl::parseMappedAttribute): added support of on* attrs
- 4:03 PM Changeset in webkit [11347] by
-
- 6 edits1 delete in trunk/WebKitTools
Bug #: 5873
Submitted by: eseidel
Reviewed by: darin
Update scripts to run SVG tests automatically (w/o --svg) if
WebCore is built with SVG support.
- Scripts/build-drawtest: SVG support required
- Scripts/build-dumpkcanvastree: Removed.
- Scripts/run-drawtest: SVG support required to run
- Scripts/run-webkit-tests: pass *.svg files if WebCore has support
- Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
- 2:34 PM Changeset in webkit [11346] by
-
- 2 edits in trunk/WebKit
Reviewed by John Sullivan, Eric Seidel
<rdar://problem/4340787> Safari sometimes creates 2 instances of plug-ins
- WebView.subproj/WebFrameView.m: (-[WebFrameView _makeDocumentViewForDataSource:]): Instead of creating a new WebDocumentView, use the WebDataSource's representation if it is a WebDocumentView of the appropriate class. Right now, this can only happen when the loading document is a standalone WebKit plugin, because WebPluginDocumentView is both the WebDocumentView and the WebDocumentRepresentation for that kind of page load.
I have verified that this does not affect other kinds of page loads; in all other cases, the representation
class is distinct from the document view class.
I talked with Chris Blumenberg about this change (he knows this code), and he agreed that this is the right
approach.
- 2:14 PM Changeset in webkit [11345] by
-
- 2 edits in trunk/WebCore
Reviewed by John Sullivan.
Test cases added: None. Manual testing is way to awkward, and automated testing
is not possible. See following bug...
<rdar://problem/4256882> Need automated testing support for accessibility APIs
- khtml/html/html_formimpl.cpp: (DOM::HTMLGenericFormElementImpl::removedFromTree): Replace tab with spaces. Remove braces from one line "if".
- kwq/KWQAccObject.mm: (-[KWQAccObject detach]): Send unregisterUniqueIdForUIElement unconditionally, for safety. (-[KWQAccObject dealloc]): New. Send [self detach] so KWQObject gets unregistered and other cleanup happens as well. (CreateCGColorIfDifferent): Replace tab with spaces. (-[KWQAccObject removeAccObjectID]): Early to prevent a crash if called on a detached KWQAccObject (i.e. m_renderer == 0).
- 11:55 AM Changeset in webkit [11344] by
-
- 1 edit in trunk/WebCore/ChangeLog-2005-12-19
fixed a typo in the Changelog
- 11:49 AM Changeset in webkit [11343] by
-
- 2 edits1 add in trunk/WebCore
Changes by Mitz Pettel, reviewed by Maciej.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5829 (REGRESSION: cursor tracking and hit testing in scrollable block don't take borders into account)
- khtml/rendering/render_layer.cpp: (khtml::RenderLayer::hitTestLayer): don't add left and bottom borders when hit testing
- manual-tests/scrollbar-hittest.html: Added.
- 9:52 AM Changeset in webkit [11342] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?5683 add code so we can use CFURL instead of NSURL for speed
- kwq/KWQKURL.h: Added declaration of createCFURL function.
- kwq/KWQKURL.mm: (KURL::createCFURL): Moved body of getNSURL in here. (KURL::getNSURL): Changed to createCFURL.
- 9:44 AM Changeset in webkit [11341] by
-
- 2 edits in trunk/WebCore
- fixed broken tree (from my last check-in)
- kwq/DOM-CSS.mm: Added "using namespace DOM" and an import of "dom_docimpl.h".
- 9:28 AM Changeset in webkit [11340] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
- fixed <rdar://problem/4089752> Duplicate method implementation for -[DOMDocument getComputedStyle::] also http://bugzilla.opendarwin.org/show_bug.cgi?5682
- kwq/DOM.mm: Removed extra implementation of -[DOMDocument getComputedStyle::].
- kwq/DOM-CSS.mm: (-[DOMDocument getComputedStyle::]): Copied slightly better implementation from DOM.mm in here.
- 9:22 AM Changeset in webkit [11339] by
-
- 3 edits in trunk/WebCore
Reviewed by Eric.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5681 font family management can be faster by avoiding NSString/autorelease
- kwq/KWQFontFamily.h: Replace _NSFamily with _CFFamily.
- kwq/KWQFontFamily.mm: (KWQFontFamily::KWQFontFamily): Ditto. (KWQFontFamily::operator=): Ditto. (KWQFontFamily::getNSFamily): More of the same. (KWQFontFamily::setFamily): Ditto.
- 9:17 AM Changeset in webkit [11338] by
-
- 2 edits in trunk/WebCore
Reviewed by Geoff.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5679 speed up QTime by removing unnecessary CFAbsoluteTimeGetGregorianDate
- kwq/KWQDateTime.mm: (QTime::msec): Just multiply and mod the time in seconds, don't bother converting to a Gregorian date first, since that won't affect fractional seconds. (QTime::addMSecs): Multiply by 1/1000 instead of dividing by 1000.
- 9:14 AM Changeset in webkit [11337] by
-
- 2 edits1 add in trunk/WebCore
Reviewed by Geoff.
- fixed <rdar://problem/4300202> JavaScript event keyCode/charCode/which is 25 for shift+tab, should be 9 (5678) also http://bugzilla.opendarwin.org/show_bug.cgi?id=5678
- kwq/KWQEvent.mm: (WindowsKeyCodeForKeyEvent): Add case for tab key. (QKeyEvent::QKeyEvent): Force use of character code 9 for tab key regardless of what AppKit returns.
- manual-tests/log-keypress-events.html: Added.
- 9:03 AM Changeset in webkit [11336] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4925 HTMLMapElementImpl::mapMouseEvent can be implemented without a stack
- did some other cleanup in this file
- khtml/html/html_imageimpl.h: Removed unused currentImage function.
- khtml/html/html_imageimpl.cpp: Bits of cleanup in many functins, and: (DOM::HTMLMapElementImpl::mapMouseEvent): Simplified by using traverseNextNode. (DOM::HTMLMapElementImpl::parseMappedAttribute): Fixed bug where parsing a name or attribute value with a "#" prefix would actually modify the value itself by changing the DOMString. Changed the code to make a copy in this case. (DOM::HTMLAreaElementImpl::getRegion): Rearranged to be more readable.
- 8:35 AM Changeset in webkit [11335] by
-
- 2 edits in trunk/LayoutTests
- dom/xhtml/level3/core/documentgetinputencoding01-expected.txt: Updated result to reflect the fact that this test now succeeds due to the fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5715>.
- 8:15 AM Changeset in webkit [11334] by
-
- 2 edits in trunk/WebCore
- fixed deployment builds
- khtml/ecma/kjs_dom.cpp: (KJS::DOMDocument::getValueProperty): Put decoder local variable inside if statement.
- 3:20 AM Changeset in webkit [11333] by
-
- 51 edits12 adds in trunk
Bug #: 5842
Submitted by: eseidel
Reviewed by: mjs
3 test cases added to cover CSS updates and CDF support.
Updated all test results for absolute bbox change.
Fixed in this patch:
- CSS dynamic updates
- dynamic path data updates
- first pass at CDF support http://bugzilla.opendarwin.org/show_bug.cgi?id=5842
- kcanvas/KCanvasContainer.cpp: (KCanvasContainer::KCanvasContainer): make "replaced" element
- kcanvas/device/quartz/KCanvasItemQuartz.mm: (KCanvasItemQuartz::paint): added parent offset ASSERT
- kcanvas/device/quartz/KCanvasResourcesQuartz.mm: (KCanvasContainerQuartz::paint): account for parent offset (KCanvasContainerQuartz::absoluteTransform): reflect viewport
- khtml/css/css_valueimpl.cpp: remove HTML special case (DOM::CSSMutableStyleDeclarationImpl::setChanged):
- khtml/css/cssstyleselector.cpp: remove HTML special case (khtml::CSSStyleSelector::locateCousinList):
- khtml/rendering/render_object.cpp: (RenderObject::containingBlock): special case KCanvasContainer
- khtml/rendering/render_style.cpp: (RenderStyle::operator==): fix call into SVGRenderStyle (RenderStyle::inheritedNotEqual): calls into SVGRenderStyle (RenderStyle::diff): calls into SVGRenderStyle
- ksvg2/css/SVGRenderStyle.cpp: (SVGRenderStyle::equals): include flags in comparison (SVGRenderStyle::inheritedNotEqual): added
- ksvg2/css/SVGRenderStyle.h:
- ksvg2/svg/SVGPathElementImpl.cpp: (KSVG::SVGPathElementImpl::parseMappedAttribute): clear path first
- ksvg2/svg/SVGStyledElementImpl.cpp: (SVGStyledElementImpl::attributeChanged): map to ksvg2 attributes
- ksvg2/svg/SVGStyledElementImpl.h:
- 2:36 AM Changeset in webkit [11332] by
-
- 1 edit2 adds in trunk/LayoutTests
Bug #: 5514
Submitted by: mitz
Reviewed by: ggaren
Tests for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5514
- fast/js/date-DST-pre-1970-expected.txt: Added.
- fast/js/date-DST-pre-1970.html: Added.
- 2:33 AM Changeset in webkit [11331] by
-
- 2 edits in trunk/JavaScriptCore
Bug #: 5514
Submitted by: mitz
Reviewed by: ggaren
Date conversion to local time gets the DST flag wrong sometimes
http://bugzilla.opendarwin.org/show_bug.cgi?id=5514
- kjs/date_object.cpp: (KJS::isTime_tSigned): (KJS::DateProtoFuncImp::callAsFunction):
- 2:11 AM Changeset in webkit [11330] by
-
- 3 edits in trunk/WebCore
Bug #: 5310
Submitted by: mitz
Reviewed by: hyatt
Not possible to test (functionality shouldn't change).
Switch QRegion from using NSBezierPath to CGPath
http://bugzilla.opendarwin.org/show_bug.cgi?id=5310
- kwq/KWQRegion.h:
- kwq/KWQRegion.mm: (QRegion::QRegion): (QRegion::~QRegion): (QRegion::operator=): (QRegion::contains): (QRegion::translate): (QRegion::boundingRect):
- 1:55 AM Changeset in webkit [11329] by
-
- 2 edits2 adds1 delete in trunk/LayoutTests
Bug #: 5316
Submitted by: darin
Reviewed by: eseidel
Re-enabling hc_noderemovechild.xhtml and fixing bug (hang).
http://bugzilla.opendarwin.org/show_bug.cgi?id=5316
- dom/xhtml/level1/core/hc_noderemovechild-expected.txt: Added.
- dom/xhtml/level1/core/hc_noderemovechild.js: hang workaround.
- dom/xhtml/level1/core/hc_noderemovechild.xhtml: Added.
- dom/xhtml/level1/core/hc_noderemovechild.xhtml-disabled: Removed.
- 1:07 AM Changeset in webkit [11328] by
-
- 4 edits3 adds in trunk
LayoutTests:
Reviewed by Darin. Commited by Maciej.
- test case for http://bugzilla.opendarwin.org/show_bug.cgi?id=5715 (document.charset, document.defaultCharset, and document.characterSet are not supported)
- fast/dom/Document/document-charset-expected.txt: Added.
- fast/dom/Document/document-charset.html: Added.
WebCore:
Reviewed by Darin. Commited by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5715 (document.charset, document.defaultCharset, and document.characterSet are not supported)
- khtml/ecma/kjs_dom.cpp: (KJS::DOMDocument::getValueProperty): (KJS::DOMDocument::putValueProperty):
- khtml/ecma/kjs_dom.h: (KJS::DOMDocument::):
Nov 28, 2005:
- 6:11 PM Changeset in webkit [11327] by
-
- 1 edit in trunk/WebCore/ChangeLog-2005-12-19
Bug #: none
Submitted by: eseidel
Reviewed by: none
- ChangeLog: added bug numbers for last two commits.
- 6:03 PM Changeset in webkit [11326] by
-
- 9 edits in trunk/WebCore
Bug #: 5359
Submitted by: Julien Palmas <julien.palmas@gmail.com>
Reviewed by: eseidel
Fixes 2 marker test cases.
This patch makes WebCore+SVG's marker support 90% complete
This fixes marker drawing as well as auto-orientation & scaling.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5359
- kcanvas/KCanvasResources.cpp: (KCanvasMarker::setRef): combined setRefX and setRefY (KCanvasMarker::setScale): combined setScaleX and setScaleY (KCanvasMarker::draw): updated post-merger
- kcanvas/KCanvasResources.h:
- kcanvas/device/quartz/KCanvasItemQuartz.h:
- kcanvas/device/quartz/KCanvasItemQuartz.mm: (DrawMarkersData::DrawMarkersData): new struct (drawMarkerWithData): added, draws one marker (updateMarkerDataForElement): added, helper function during draw (DrawStartAndMidMarkers): added, CGPathApply helper function (KCanvasItemQuartz::drawMarkersIfNeeded): updated (KCanvasItemQuartz::paint): updated.
- kcanvas/device/quartz/QuartzSupport.h: (CGPointSubtractPoints): added
- ksvg2/misc/KCanvasRenderingStyle.cpp: (KCanvasRenderingStyle::updateStroke): updated to use static method (KCanvasRenderingStyle::cssPrimitiveToLength): now static
- ksvg2/misc/KCanvasRenderingStyle.h:
- ksvg2/svg/SVGMarkerElementImpl.cpp: (SVGMarkerElementImpl::parseMappedAttribute): updated (SVGMarkerElementImpl::canvasResource): fixed
- 5:43 PM Changeset in webkit [11325] by
-
- 2 edits in trunk/WebCore
Reviewed by Justin.
- <rdar://problem/4356593> Regression: Crash in scrollRectToVisible
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::setFocusNode): Make sure there's still a renderer after updating the layout.
- 5:35 PM Changeset in webkit [11324] by
-
- 7 edits4 adds in trunk/LayoutTests
Fixed/added layout tests for:
<http://bugzilla.opendarwin.org/show_bug.cgi?id=5354>
Corner case where you can select outside the bounds of an editable block.
Reviewed by darin
- editing/inserting/insert-div-023-expected.txt:
- editing/pasteboard/paste-4035648-fix-expected.txt:
- editing/selection/3690719-expected.checksum:
- editing/selection/3690719-expected.png:
- editing/selection/3690719-expected.txt:
- editing/selection/leave-requested-block-expected.checksum: Added.
- editing/selection/leave-requested-block-expected.png: Added.
- editing/selection/leave-requested-block-expected.txt: Added.
- editing/selection/leave-requested-block.html: Added.
- editing/style/block-style-004-expected.txt:
- 5:35 PM Changeset in webkit [11323] by
-
- 3 edits in trunk/WebCore
<http://bugzilla.opendarwin.org/show_bug.cgi?id=5354>
Corner case where you can select outside the bounds of an editable block.
Reviewed by darin
Updated/added editing test cases to reflect fix.
- khtml/editing/visible_position.cpp: (khtml::VisiblePosition::init): It's ok to do some hunting to find a valid VisblePosition given a position that is not somewhere visible, like inside an empty div, but only leave the block containing the position used to construct the VisiblePosition if we can't find a VisiblePosition inside that block. We weren't using the equivalentDeepPosition of the input position to make the initUpstream/initDownstream decision, so we were sometimes moving past [br, 0], which is what having initUpstream around is supposed to prevent. I got rid of initUpstream and included the check to prevent moving past [br, 0] inside the now generalized init().
- khtml/editing/visible_units.cpp: (khtml::endOfParagraph): After the changes to VisiblePosition::init(), asking for the visible position at [br, 1] isn't the right way to include a line break.
- 4:17 PM Changeset in webkit [11322] by
-
- 3 edits in branches/Safari-1-3-branch/WebCore/khtml/ecma
Build fix, missing generated files.
- 3:57 PM Changeset in webkit [11321] by
-
- 2 edits in trunk/WebCore
Bug #: none
Submitted by: eseidel
Reviewed by: none, WebCore+SVG build fix only.
Corrected typo in last commit causing WebKit+SVG build failure.
- kcanvas/KCanvasFilters.h: (QSizeF::QSizeF): fixed typo.
- 3:34 PM Changeset in webkit [11320] by
-
- 12 edits36 adds in trunk/WebCore
Bug #: 5192
Submitted by: oliver hunt
Reviewed by: eseidel
Fixes 2 lighting test cases.
First-pass lighting filter implementation from Oliver.
Also incomplete first-pass feConvolveMatrix
Adding temporary QPointF, QSizeF for filter use.
- WebCore.xcodeproj/project.pbxproj: added lighting classes
- kcanvas/KCanvasFilters.cpp: (KCanvasPoint3F::normalize): added (operator<<): (KCPointLightSource::externalRepresentation): added (KCSpotLightSource::externalRepresentation): added (KCDistantLightSource::externalRepresentation): added (KCanvasFEConvolveMatrix::externalRepresentation): added (KCanvasFEDiffuseLighting::externalRepresentation): added
- kcanvas/KCanvasFilters.h: (KCanvasPoint3F::KCanvasPoint3F): added (KCanvasPoint3F::x): added (KCanvasPoint3F::setX): added (KCanvasPoint3F::y): added (KCanvasPoint3F::setY): added (KCanvasPoint3F::z): added (KCanvasPoint3F::setZ): added (QPointF::QPointF): added (QPointF::x): added (QPointF::setX): added (QPointF::y): added (QPointF::setY): added (QSizeF::QPointF): added (QSizeF::width): added (QSizeF::setWidth): added (QSizeF::height): added (QSizeF::setHeight): added (KCanvasFEConvolveMatrix::kernelSize): added (KCanvasFEConvolveMatrix::setKernelSize): added (KCanvasFEConvolveMatrix::kernel): added (KCanvasFEConvolveMatrix::setKernel): added (KCanvasFEConvolveMatrix::divisor): added (KCanvasFEConvolveMatrix::setDivisor): added (KCanvasFEConvolveMatrix::bias): added (KCanvasFEConvolveMatrix::setBias): added (KCanvasFEConvolveMatrix::targetOffset): added (KCanvasFEConvolveMatrix::setTargetOffset): added (KCanvasFEConvolveMatrix::edgeMode): added (KCanvasFEConvolveMatrix::setEdgeMode): added (KCanvasFEConvolveMatrix::kernelUnitLength): added (KCanvasFEConvolveMatrix::setKernelUnitLength): added (KCanvasFEConvolveMatrix::preserveAlpha): added (KCanvasFEConvolveMatrix::setPreserveAlpha): added (KCLightSource::KCLightSource): added (KCLightSource::~KCLightSource): added (KCLightSource::type): added (KCDistantLightSource::KCDistantLightSource): added (KCDistantLightSource::azimuth): added (KCDistantLightSource::elevation): added (KCPointLightSource::KCPointLightSource) added: (KCPointLightSource::position): added (KCSpotLightSource::KCSpotLightSource): added (KCSpotLightSource::position): added (KCSpotLightSource::direction): added (KCSpotLightSource::specularExponent): added (KCSpotLightSource::limitingConeAngle): added (KCanvasFEDiffuseLighting::lightingColor): added (KCanvasFEDiffuseLighting::setLightingColor): added (KCanvasFEDiffuseLighting::surfaceScale): added (KCanvasFEDiffuseLighting::setSurfaceScale): added (KCanvasFEDiffuseLighting::diffuseConstant): added (KCanvasFEDiffuseLighting::setDiffuseConstant): added (KCanvasFEDiffuseLighting::kernelUnitLengthX): added (KCanvasFEDiffuseLighting::setKernelUnitLengthX): added (KCanvasFEDiffuseLighting::kernelUnitLengthY): added (KCanvasFEDiffuseLighting::setKernelUnitLengthY): added (KCanvasFEDiffuseLighting::lightSource): added (KCanvasFEDiffuseLighting::setLightSource): added (KCanvasFESpecularLighting::lightingColor): added (KCanvasFESpecularLighting::setLightingColor): added (KCanvasFESpecularLighting::surfaceScale): added (KCanvasFESpecularLighting::setSurfaceScale): added (KCanvasFESpecularLighting::specularConstant): added (KCanvasFESpecularLighting::setSpecularConstant): added (KCanvasFESpecularLighting::specularExponent): added (KCanvasFESpecularLighting::setSpecularExponent): added (KCanvasFESpecularLighting::kernelUnitLengthX): added (KCanvasFESpecularLighting::setKernelUnitLengthX): added (KCanvasFESpecularLighting::kernelUnitLengthY): added (KCanvasFESpecularLighting::setKernelUnitLengthY): added (KCanvasFESpecularLighting::lightSource): added (KCanvasFESpecularLighting::setLightSource): added
- kcanvas/KCanvasTreeDebug.cpp:
- kcanvas/device/quartz/KCanvasFilterQuartz.h:
- kcanvas/device/quartz/KCanvasFilterQuartz.mm: (ciColor): uncommented (ciVector): added (KCanvasFECompositeQuartz::getCIFilter): spacing fix (getPointLightVectors): added (getLightVectors): added (getNormalMap): added (KCanvasFEDiffuseLightingQuartz::getCIFilter): added (KCanvasFEGaussianBlurQuartz::getCIFilter): changed CI filter (KCanvasFESpecularLightingQuartz::getCIFilter): added
- kcanvas/device/quartz/KRenderingDeviceQuartz.mm: (KRenderingDeviceQuartz::createFilterEffect): added lighting
- kcanvas/device/quartz/filters/WKArithmeticFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKArithmeticFilter.h: Added.
- kcanvas/device/quartz/filters/WKArithmeticFilter.m: Added. (+[WKArithmeticFilter initialize]): added (+[WKArithmeticFilter filterWithName:]): added (-[WKArithmeticFilter init]): added (-[WKArithmeticFilter outputImage]): added
- kcanvas/device/quartz/filters/WKDiffuseLightingFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKDiffuseLightingFilter.h: Added.
- kcanvas/device/quartz/filters/WKDiffuseLightingFilter.m: Added. (+[WKDiffuseLightingFilter initialize]): added (+[WKDiffuseLightingFilter filterWithName:]): added (-[WKDiffuseLightingFilter init]): added (-[WKDiffuseLightingFilter outputImage]): added
- kcanvas/device/quartz/filters/WKDistantLightFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKDistantLightFilter.h: Added.
- kcanvas/device/quartz/filters/WKDistantLightFilter.m: Added. (+[WKDistantLightFilter initialize]): added (+[WKDistantLightFilter filterWithName:]): added (-[WKDistantLightFilter init]): added (-[WKDistantLightFilter outputImage]): added
- kcanvas/device/quartz/filters/WKNormalMapFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKNormalMapFilter.h: Added.
- kcanvas/device/quartz/filters/WKNormalMapFilter.m: Added. (+[WKNormalMapFilter initialize]): added (+[WKNormalMapFilter filterWithName:]): added (-[WKNormalMapFilter init]): added (-[WKNormalMapFilter xConvolveArgsWithBumpMap:]): added (-[WKNormalMapFilter yConvolveArgsWithBumpMap:]): added (-[WKNormalMapFilter outputImage]): added
- kcanvas/device/quartz/filters/WKPointLightFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKPointLightFilter.h: Added.
- kcanvas/device/quartz/filters/WKPointLightFilter.m: Added. (+[WKPointLightFilter initialize]): added (+[WKPointLightFilter filterWithName:]): added (-[WKPointLightFilter init]): added (-[WKPointLightFilter outputImage]): added
- kcanvas/device/quartz/filters/WKSpecularLightingFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKSpecularLightingFilter.h: Added.
- kcanvas/device/quartz/filters/WKSpecularLightingFilter.m: Added. (+[WKSpecularLightingFilter initialize]): added (+[WKSpecularLightingFilter filterWithName:]): added (-[WKSpecularLightingFilter init]): added (-[WKSpecularLightingFilter outputImage]): added
- kcanvas/device/quartz/filters/WKSpotLightFilter.cikernel: Added.
- kcanvas/device/quartz/filters/WKSpotLightFilter.h: Added.
- kcanvas/device/quartz/filters/WKSpotLightFilter.m: Added. (+[WKSpotLightFilter initialize]): added (+[WKSpotLightFilter filterWithName:]): added (-[WKSpotLightFilter init]): added (-[WKSpotLightFilter outputImage]): added
- ksvg2/scripts/make_names.pl: now creates lighting elements
- ksvg2/svg/SVGAnimatedColorImpl.cpp: Added. (SVGAnimatedColorImpl::SVGAnimatedColorImpl): added (SVGAnimatedColorImpl::~SVGAnimatedColorImpl): added (SVGAnimatedColorImpl::create): added (SVGAnimatedColorImpl::assign): added
- ksvg2/svg/SVGAnimatedColorImpl.h: Added.
- ksvg2/svg/SVGElementImpl.cpp: HTMLNames -> htmlnames
- ksvg2/svg/SVGFECompositeElementImpl.cpp: (SVGFECompositeElementImpl::parseMappedAttribute): spelling fix
- ksvg2/svg/SVGFEDiffuseLightingElementImpl.cpp: Added. (SVGFEDiffuseLightingElementImpl::SVGFEDiffuseLightingElementImpl): (SVGFEDiffuseLightingElementImpl::~SVGFEDiffuseLightingElementImpl): (SVGFEDiffuseLightingElementImpl::in1): added (SVGFEDiffuseLightingElementImpl::diffuseConstant): added (SVGFEDiffuseLightingElementImpl::surfaceScale): added (SVGFEDiffuseLightingElementImpl::kernelUnitLengthX): added (SVGFEDiffuseLightingElementImpl::kernelUnitLengthY): added (SVGFEDiffuseLightingElementImpl::lightingColor): added (SVGFEDiffuseLightingElementImpl::parseMappedAttribute): added (SVGFEDiffuseLightingElementImpl::filterEffect): added (SVGFEDiffuseLightingElementImpl::updateLights): added
- ksvg2/svg/SVGFEDiffuseLightingElementImpl.h: Added.
- ksvg2/svg/SVGFEDistantLightElementImpl.cpp: Added. (SVGFEDistantLightElementImpl::SVGFEDistantLightElementImpl): (SVGFEDistantLightElementImpl::~SVGFEDistantLightElementImpl): (SVGFEDistantLightElementImpl::lightSource): added
- ksvg2/svg/SVGFEDistantLightElementImpl.h: Added.
- ksvg2/svg/SVGFELightElementImpl.cpp: Added. (SVGFELightElementImpl::SVGFELightElementImpl): added (SVGFELightElementImpl::~SVGFELightElementImpl): added (SVGFELightElementImpl::azimuth): added (SVGFELightElementImpl::elevation): added (SVGFELightElementImpl::x): added (SVGFELightElementImpl::y): added (SVGFELightElementImpl::z): added (SVGFELightElementImpl::pointsAtX): added (SVGFELightElementImpl::pointsAtY): added (SVGFELightElementImpl::pointsAtZ): added (SVGFELightElementImpl::specularExponent): added (SVGFELightElementImpl::limitingConeAngle): added (SVGFELightElementImpl::parseMappedAttribute): added
- ksvg2/svg/SVGFELightElementImpl.h: Added.
- ksvg2/svg/SVGFEPointLightElementImpl.cpp: Added. (SVGFEPointLightElementImpl::SVGFEPointLightElementImpl): added (SVGFEPointLightElementImpl::~SVGFEPointLightElementImpl): added (SVGFEPointLightElementImpl::lightSource): added
- ksvg2/svg/SVGFEPointLightElementImpl.h: Added.
- ksvg2/svg/SVGFESpecularLightingElementImpl.cpp: Added. (SVGFESpecularLightingElementImpl::SVGFESpecularLightingElementImpl): (SVGFESpecularLightingElementImpl::~SVGFESpecularLightingElementImpl): (SVGFESpecularLightingElementImpl::in1): added (SVGFESpecularLightingElementImpl::specularConstant): added (SVGFESpecularLightingElementImpl::specularExponent): added (SVGFESpecularLightingElementImpl::surfaceScale): added (SVGFESpecularLightingElementImpl::kernelUnitLengthX): added (SVGFESpecularLightingElementImpl::kernelUnitLengthY): added (SVGFESpecularLightingElementImpl::lightingColor): added (SVGFESpecularLightingElementImpl::parseMappedAttribute): added (SVGFESpecularLightingElementImpl::filterEffect): added (SVGFESpecularLightingElementImpl::updateLights): added
- ksvg2/svg/SVGFESpecularLightingElementImpl.h: Added.
- ksvg2/svg/SVGFESpotLightElementImpl.cpp: Added. (SVGFESpotLightElementImpl::SVGFESpotLightElementImpl): added (SVGFESpotLightElementImpl::~SVGFESpotLightElementImpl): added (SVGFESpotLightElementImpl::lightSource): added
- ksvg2/svg/SVGFESpotLightElementImpl.h: Added.
- ksvg2/svg/SVGSVGElementImpl.cpp: HTMLNames -> htmlnames
- 2:39 PM Changeset in webkit [11319] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin. Committed by Maciej.
- fixed "Word completion doesn't work at end of word (unless last word)" (http://bugzilla.opendarwin.org/show_bug.cgi?id=4062)
- WebView.subproj/WebHTMLView.m: (-[WebTextCompleteController doCompletion]):
- 2:16 PM Changeset in webkit [11318] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Darin. Committed by Maciej.
- fixed "DumpRenderTree should test for Ahem before doing anything else" (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
- DumpRenderTree/DumpRenderTree.m: (main):
- 2:13 PM Changeset in webkit [11317] by
-
- 2 edits in branches/Safari-1-3-branch/WebCore/khtml/css
Checking in generated files for build fix.
- 2:01 PM Changeset in webkit [11316] by
-
- 4 edits in branches/Safari-1-3-branch/WebCore/khtml
Build fix and new generated files.
- 12:24 PM Changeset in webkit [11315] by
-
- 3 edits in trunk/WebKit
Reviewed by Tim Omernick.
Probable fix for <rdar://problem/4356060> crash in -[WebHistoryItem _mergeAutoCompleteHints:]
- History.subproj/WebHistory.m: (-[WebHistoryPrivate addItem:]): retain/release oldEntry until we're done with it, since removing it from dictionary might cause it to be dealloc'ed otherwise.
- History.subproj/WebHistoryItem.m: (-[WebHistoryItem _mergeAutoCompleteHints:]): added an assert
- 12:04 PM Changeset in webkit [11314] by
-
- 2 edits in trunk/LayoutTests
I overlooked this layout test when fixing 4108909.
- fast/forms/attributed-strings-expected.txt:
- 11:44 AM Changeset in webkit [11313] by
-
- 2 edits in branches/Safari-1-3-branch/JavaScriptCore
Fix by Darin, reviewed by me.
fix for <rdar://problem/3885811> Some values used with setAttribute() cause the attribute to be removed (null strings vs. empty strings) (4059)
Changed the constructors to return the emtpy string if the string is null.
- kjs/value.cpp: (String::String):
- 10:50 AM Changeset in webkit [11312] by
-
- 19 edits in branches/Safari-1-3-branch
WebCore:
Merged fix from TOT to Safari-1-3-branch
2005-11-18 Vicki Murley <vicki@apple.com>
Changes by Darin, reviewed by Beth and Vicki.
- fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)
- khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
- khtml/ecma/kjs_window.cpp: (KJS::Window::getValueProperty): (KJS::Window::put):
- khtml/ecma/kjs_window.h: (KJS::Window::):
- khtml/html/html_baseimpl.cpp: (HTMLBodyElementImpl::parseMappedAttribute): (HTMLFrameElementImpl::parseMappedAttribute): (HTMLFrameSetElementImpl::parseMappedAttribute):
- khtml/html/htmlnames.h:
- khtml/xml/EventNames.h:
- khtml/xml/dom2_eventsimpl.cpp: (DOM::EventImpl::storesResultAsString): (DOM::EventImpl::storeResult): (DOM::BeforeUnloadEventImpl::BeforeUnloadEventImpl): (DOM::BeforeUnloadEventImpl::storesResultAsString): (DOM::BeforeUnloadEventImpl::storeResult):
- khtml/xml/dom2_eventsimpl.h: (DOM::BeforeUnloadEventImpl::result):
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::shouldClose):
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge shouldClose]):
WebKit:
Merged fix from TOT to Safari-1-3-branch
2005-11-18 Vicki Murley <vicki@apple.com>
Changes by Darin, reviewed by Beth and Vicki.
- fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canRunBeforeUnloadConfirmPanel]): (-[WebBridge runBeforeUnloadConfirmPanelWithMessage:]):
- WebView.subproj/WebFrame.m: (-[WebFrame _checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]): (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]):
- WebView.subproj/WebUIDelegatePrivate.h:
- WebView.subproj/WebView.m: (-[WebView shouldClose]):
- WebView.subproj/WebViewPrivate.h:
- 10:32 AM Changeset in webkit [11311] by
-
- 2 edits in trunk/WebKitTools
Bug #: none
Submitted by: eseidel
Reviewed by: sullivan and GGAREN
Minor additions to make error messages more clear from cvs-apply.
- Scripts/cvs-apply: make errors more clear
- 10:23 AM Changeset in webkit [11310] by
-
- 2 edits in trunk/WebCore
Bug #:
Submitted by:
Reviewed by: