1 2006-09-20 Rob Buis <buis@kde.org>
5 http://bugzilla.opendarwin.org/show_bug.cgi?id=10946
6 new marker code draws end-marker in wrong place
8 Keep track of the start of the subpath so we can handle
9 closeTo/moveTo correctly.
11 * kcanvas/RenderPath.cpp:
12 (WebCore::DrawMarkersData::DrawMarkersData):
13 (WebCore::updateMarkerDataForElement):
15 2006-09-21 David Hyatt <hyatt@apple.com>
17 Wheel scrolling prep for Win32.
19 WARNING: NO TEST CASES ADDED OR CHANGED
21 * platform/PlatformWheelEvent.h:
22 * platform/ScrollBar.h:
23 * platform/ScrollView.h:
24 * platform/mac/ScrollViewMac.mm:
25 (WebCore::ScrollView::wheelEvent):
26 * rendering/RenderLayer.cpp:
28 2006-09-20 Timothy Hatcher <timothy@apple.com>
32 Bug 10917: REGRESSION (r16027): iFrame transparency broken
33 http://bugzilla.opendarwin.org/show_bug.cgi?id=10917
35 Don't paint the base background color if we transparent.
37 * rendering/RenderBox.cpp:
38 (WebCore::RenderBox::paintBackgroundExtended):
40 2006-09-20 Adam Roben <aroben@apple.com>
44 * platform/FileChooser.h: Remove no-longer-necessary namespace std
46 2006-09-20 Eric Seidel <eric@eseidel.com>
50 Cleanup style in KCanvas.
51 Remove extra white-space, unneeded arguments, etc.
53 * WebCore.xcodeproj/project.pbxproj:
54 * kcanvas/KCanvasClipper.cpp:
55 (WebCore::operator<<):
56 (WebCore::KCanvasClipper::externalRepresentation):
57 * kcanvas/KCanvasClipper.h:
58 * kcanvas/KCanvasFilters.cpp:
59 (WebCore::KCanvasFilter::externalRepresentation):
60 (WebCore::operator<<):
61 (WebCore::KCanvasFilterEffect::externalRepresentation):
62 (WebCore::KCPointLightSource::externalRepresentation):
63 (WebCore::KCSpotLightSource::externalRepresentation):
64 (WebCore::KCDistantLightSource::externalRepresentation):
65 (WebCore::KCanvasFEBlend::externalRepresentation):
66 (WebCore::KCanvasFEColorMatrix::externalRepresentation):
67 (WebCore::KCanvasFEComponentTransfer::externalRepresentation):
68 (WebCore::KCanvasFEComposite::externalRepresentation):
69 (WebCore::KCanvasFEConvolveMatrix::externalRepresentation):
70 (WebCore::KCanvasFEDiffuseLighting::externalRepresentation):
71 (WebCore::KCanvasFEDisplacementMap::externalRepresentation):
72 (WebCore::KCanvasFEFlood::externalRepresentation):
73 (WebCore::KCanvasFEGaussianBlur::externalRepresentation):
74 (WebCore::KCanvasFEImage::externalRepresentation):
75 (WebCore::KCanvasFEMerge::externalRepresentation):
76 (WebCore::KCanvasFEMorphology::externalRepresentation):
77 (WebCore::KCanvasFEOffset::externalRepresentation):
78 (WebCore::KCanvasFESpecularLighting::externalRepresentation):
79 (WebCore::KCanvasFETile::externalRepresentation):
80 (WebCore::KCanvasFETurbulence::externalRepresentation):
81 * kcanvas/KCanvasFilters.h:
82 (WebCore::KCanvasFEDiffuseLighting::lightSource):
83 (WebCore::KCanvasFESpecularLighting::lightSource):
84 * kcanvas/KCanvasImage.h:
85 * kcanvas/KCanvasMarker.cpp:
86 (WebCore::KCanvasMarker::externalRepresentation):
87 * kcanvas/KCanvasMarker.h:
88 * kcanvas/KCanvasResource.cpp:
89 (WebCore::operator<<):
90 * kcanvas/KCanvasResource.h:
91 * kcanvas/KCanvasTreeDebug.cpp:
92 (WebCore::operator<<):
93 (WebCore::writeIndent):
94 (WebCore::writeStyle):
96 (WebCore::writeRenderResources):
97 * kcanvas/KCanvasTreeDebug.h:
98 (WebCore::operator<<):
99 * kcanvas/RenderForeignObject.cpp:
100 (WebCore::RenderForeignObject::paint):
101 * kcanvas/RenderPath.cpp:
102 (WebCore::RenderPath::paint):
103 (WebCore::drawStartAndMidMarkers):
104 * kcanvas/RenderSVGContainer.cpp:
105 (WebCore::RenderSVGContainer::paint):
106 * kcanvas/RenderSVGImage.cpp:
107 (WebCore::RenderSVGImage::translateForAttributes):
108 * kcanvas/RenderSVGImage.h:
109 * kcanvas/device/KRenderingDevice.cpp:
110 (WebCore::KRenderingDevice::currentContext):
111 (WebCore::KRenderingDevice::popContext):
112 (WebCore::KRenderingDevice::pushContext):
113 * kcanvas/device/KRenderingDevice.h:
114 * kcanvas/device/KRenderingFillPainter.h:
115 * kcanvas/device/KRenderingPaintServer.h:
116 (WebCore::KRenderingPaintServer::KRenderingPaintServer):
117 (WebCore::KRenderingPaintServer::activeClient):
118 (WebCore::KRenderingPaintServer::setActiveClient):
119 * kcanvas/device/KRenderingPaintServerGradient.cpp:
120 (WebCore::operator<<):
121 (WebCore::KRenderingPaintServerGradient::externalRepresentation):
122 (WebCore::KRenderingPaintServerLinearGradient::externalRepresentation):
123 (WebCore::KRenderingPaintServerGradient::listener):
124 (WebCore::KRenderingPaintServerGradient::setListener):
125 (WebCore::KRenderingPaintServerRadialGradient::externalRepresentation):
126 * kcanvas/device/KRenderingPaintServerGradient.h:
127 * kcanvas/device/KRenderingPaintServerPattern.cpp:
128 (WebCore::KRenderingPaintServerPattern::tile):
129 (WebCore::KRenderingPaintServerPattern::setTile):
130 (WebCore::KRenderingPaintServerPattern::listener):
131 (WebCore::KRenderingPaintServerPattern::setListener):
132 (WebCore::KRenderingPaintServerPattern::externalRepresentation):
133 * kcanvas/device/KRenderingPaintServerPattern.h:
134 * kcanvas/device/KRenderingPaintServerSolid.cpp:
135 (WebCore::KRenderingPaintServerSolid::externalRepresentation):
136 * kcanvas/device/KRenderingPaintServerSolid.h:
137 * kcanvas/device/KRenderingStrokePainter.cpp:
138 (WebCore::KRenderingStrokePainter::strokeMiterLimit):
139 (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
140 * kcanvas/device/KRenderingStrokePainter.h:
141 * kcanvas/device/quartz/KCanvasFilterQuartz.h:
142 * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
143 (WebCore::KCanvasFilterQuartz::prepareFilter):
144 * kcanvas/device/quartz/KCanvasItemQuartz.h: Removed.
145 * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
146 (WebCore::KCanvasMaskerQuartz::applyMask):
147 * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
148 (WebCore::KCanvasImageQuartz::init):
149 * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
150 (WebCore::KCanvasClipperQuartz::applyClip):
151 * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
152 * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
153 (WebCore::KRenderingDeviceQuartz::quartzContext):
154 (WebCore::KRenderingDeviceQuartz::contextForImage):
155 (WebCore::KRenderingDeviceQuartz::createPaintServer):
156 (WebCore::KRenderingDeviceQuartz::createResource):
157 (WebCore::KRenderingDeviceQuartz::createFilterEffect):
158 * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
159 (WebCore::CGShadingRefForLinearGradient):
160 (WebCore::CGShadingRefForRadialGradient):
161 (WebCore::KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
162 (WebCore::KRenderingPaintServerGradientQuartz::teardown):
163 * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
164 * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
165 (WebCore::KRenderingPaintServerQuartzHelper::strokePath):
166 (WebCore::KRenderingPaintServerQuartzHelper::clipToStrokePath):
167 (WebCore::KRenderingPaintServerQuartzHelper::fillPath):
168 (WebCore::KRenderingPaintServerQuartzHelper::clipToFillPath):
169 (WebCore::KRenderingPaintServerSolidQuartz::draw):
170 (WebCore::KRenderingPaintServerSolidQuartz::setup):
171 (WebCore::KRenderingPaintServerSolidQuartz::renderPath):
172 (WebCore::KRenderingPaintServerPatternQuartz::setup):
173 (WebCore::KRenderingPaintServerPatternQuartz::renderPath):
174 (WebCore::KRenderingPaintServerPatternQuartz::teardown):
175 * kcanvas/device/quartz/QuartzSupport.h:
176 * kcanvas/device/quartz/QuartzSupport.mm:
177 (WebCore::applyStrokeStyleToContext):
179 2006-09-20 Anders Carlsson <acarlsson@apple.com>
181 Reviewed by Dave Hyatt.
183 * dom/WheelEvent.cpp:
184 (WebCore::WheelEvent::WheelEvent):
185 Use lroundf instead of lround since deltas are floats.
187 2006-09-20 Julien Palmas <julien.palmas@gmail.com>
189 Reviewed by eseidel. Landed by eseidel.
191 Test: svg/custom/pattern-y-offset.svg
193 * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
194 (WebCore::KRenderingPaintServerPatternQuartz::setup):
196 2006-09-20 David Hyatt <hyatt@apple.com>
198 Add a new wheelEvent method to ScrollView. Platforms that wish
199 to handle the wheel event for the scroll view themselves can then
200 do so there. (Mac lets the underlying NSScrollView do it for now.)
202 * page/FrameView.cpp:
203 (WebCore::FrameView::handleWheelEvent):
204 * platform/ScrollView.h:
205 (WebCore::ScrollView::wheelEvent):
207 2006-09-20 Brady Eidson <beidson@apple.com>
209 Reviewed by Tim Omernick
211 Part of fixing a crash Tim O showed me that I missed in a release build.
212 WebKit should be able to call through the bridge to WebCore no matter what -
213 Replace the _iconDB member with calls to IconDatabase::sharedIconDatabase()
215 * bridge/mac/WebCoreIconDatabaseBridge.h:
216 * bridge/mac/WebCoreIconDatabaseBridge.mm:
217 (-[WebCoreIconDatabaseBridge closeSharedDatabase]):
218 (-[WebCoreIconDatabaseBridge isOpen]):
219 (-[WebCoreIconDatabaseBridge removeAllIcons]):
220 (-[WebCoreIconDatabaseBridge _isEmpty]):
221 (-[WebCoreIconDatabaseBridge isIconExpiredForIconURL:]):
222 (-[WebCoreIconDatabaseBridge setPrivateBrowsingEnabled:]):
223 (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]):
224 (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]):
225 (-[WebCoreIconDatabaseBridge iconURLForPageURL:]):
226 (-[WebCoreIconDatabaseBridge defaultIconWithSize:]):
227 (-[WebCoreIconDatabaseBridge retainIconForURL:]):
228 (-[WebCoreIconDatabaseBridge releaseIconForURL:]):
229 (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]):
230 (-[WebCoreIconDatabaseBridge _setHaveNoIconForIconURL:]):
231 (-[WebCoreIconDatabaseBridge _setIconURL:forPageURL:]):
232 (-[WebCoreIconDatabaseBridge _hasEntryForIconURL:]):
233 (-[WebCoreIconDatabaseBridge _setEnabled:]):
234 (-[WebCoreIconDatabaseBridge _isEnabled]):
236 2006-09-20 Anders Carlsson <acarlsson@apple.com>
240 Add String::split which returns a Vector of Strings and use it instead of
241 DeprecatedStringList.
243 * bindings/js/kjs_events.cpp:
244 (KJS::Clipboard::getValueProperty):
245 * bindings/js/kjs_window.cpp:
246 (KJS::parseModalDialogFeatures):
248 (WebCore::MediaList::setMediaText):
250 * html/HTMLFormElement.cpp:
251 (WebCore::HTMLFormElement::formData):
252 * html/HTMLLinkElement.cpp:
253 (WebCore::HTMLLinkElement::tokenizeRelAttribute):
254 * platform/PlatformString.h:
255 * platform/String.cpp:
256 (WebCore::String::split):
257 * platform/StringImpl.cpp:
258 * platform/StringImpl.h:
259 * platform/mac/ClipboardMac.h:
260 * platform/mac/ClipboardMac.mm:
261 (WebCore::ClipboardMac::types):
263 2006-09-20 Justin Garcia <justin.garcia@apple.com>
267 * css/cssstyleselector.cpp:
268 (WebCore::CSSStyleSelector::adjustRenderStyle): Don't call
269 HTMLElement::isContentEditable just to check the Frame's editability, since
270 it calls updateRenderering, which can get us into infinite recursion.
272 2006-09-20 Brady Eidson <beidson@apple.com>
276 Cleaned up my last patch alot, and made the WebCore icon database disabled by default
278 * loader/icon/IconDatabase.cpp:
279 (WebCore::IconDatabase::IconDatabase): Disabled by default
280 (WebCore::IconDatabase::removeAllIcons): Respect just isOpen() (disabled database will always be closed)
281 (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ditto
282 (WebCore::IconDatabase::iconForPageURL): Ditto
283 (WebCore::IconDatabase::isIconExpiredForIconURL): Ditto
284 (WebCore::IconDatabase::iconURLForPageURL): Ditto
285 (WebCore::IconDatabase::retainIconForPageURL): Ditto
286 (WebCore::IconDatabase::releaseIconForPageURL): Ditto
287 (WebCore::IconDatabase::setIconDataForIconURL): Ditto
288 (WebCore::IconDatabase::setIconURLForPageURL): Ditto
289 (WebCore::IconDatabase::hasEntryForIconURL): Ditto
290 (WebCore::IconDatabase::setEnabled): Fixed a big bug here!
292 2006-09-20 Adam Roben <aroben@apple.com>
296 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
297 REGRESSION: file upload control with direction:rtl or text-align:right
298 draws button on top of filename/icon
300 * rendering/RenderFileUploadControl.cpp:
301 (WebCore::RenderFileUploadControl::setStyle): Force text-align to
303 (WebCore::RenderFileUploadControl::paintObject): Fix positioning of
304 the filename and icon in RTL
306 2006-09-20 Alice Liu <alice.liu@apple.com>
308 Reviewed by Adam Roben.
312 * dom/WheelEvent.cpp:
313 (WebCore::WheelEvent::WheelEvent):
314 changed lrint to lround
316 2006-09-20 Sam Weinig <sam.weinig@gmail.com>
318 Build Fix. Adds isHorizontal attribute back to WheelEvent
319 for the Objective-C bindings. If it is found that isHorizontal
320 is not used, we should remove it again but also remove it's
321 declaration from PublicDOMInterfaces.h
324 (WebCore::WheelEvent::isHorizontal):
325 * dom/WheelEvent.idl:
327 2006-09-20 David Hyatt <hyatt@apple.com>
329 Fix for 10945, WheelEvent should support two dimensions at once, since
330 MacBooks allow for diagonal scrolling. Also enhance the PlatformWheelEvent
331 to allow for diagonal scrolling.
335 * dom/EventTargetNode.cpp:
336 (WebCore::EventTargetNode::dispatchWheelEvent):
337 * dom/WheelEvent.cpp:
338 (WebCore::WheelEvent::WheelEvent):
339 (WebCore::WheelEvent::initWheelEvent):
341 (WebCore::WheelEvent::wheelDelta):
342 (WebCore::WheelEvent::wheelDeltaX):
343 (WebCore::WheelEvent::wheelDeltaY):
344 * dom/WheelEvent.idl:
345 * page/FrameView.cpp:
346 (WebCore::FrameView::handleWheelEvent):
347 * platform/PlatformWheelEvent.h:
348 (WebCore::PlatformWheelEvent::deltaX):
349 (WebCore::PlatformWheelEvent::deltaY):
350 (WebCore::PlatformWheelEvent::normalize):
351 * platform/mac/WheelEventMac.mm:
352 (WebCore::PlatformWheelEvent::PlatformWheelEvent):
354 2006-09-19 Eric Seidel <eric@eseidel.com>
358 Split KCanvasResources.* into multiple files (and some other minor spacing changes).
360 No tests were harmed in the making of this patch.
362 * WebCore.xcodeproj/project.pbxproj:
363 * kcanvas/KCanvasClipper.cpp: Added.
364 (WebCore::operator<<):
365 * kcanvas/KCanvasClipper.h: Added.
366 * kcanvas/KCanvasFilters.h:
367 * kcanvas/KCanvasImage.h:
368 * kcanvas/KCanvasMarker.cpp: Added.
369 * kcanvas/KCanvasMarker.h: Added.
370 * kcanvas/KCanvasMasker.cpp: Added.
371 (WebCore::KCanvasMasker::KCanvasMasker):
372 (WebCore::KCanvasMasker::setMask):
373 (WebCore::KCanvasMasker::externalRepresentation):
374 (WebCore::getMaskerById):
375 * kcanvas/KCanvasMasker.h: Added.
376 * kcanvas/KCanvasResource.cpp: Added.
377 (WebCore::KCanvasResource::invalidate):
378 (WebCore::KCanvasResource::externalRepresentation):
379 (WebCore::getResourceById):
380 (WebCore::getPaintServerById):
381 * kcanvas/KCanvasResource.h: Added.
382 * kcanvas/KCanvasResources.cpp: Removed.
383 * kcanvas/KCanvasResources.h: Removed.
384 * kcanvas/RenderPath.cpp:
385 * kcanvas/RenderSVGContainer.cpp:
386 * kcanvas/RenderSVGImage.cpp:
387 * kcanvas/RenderSVGText.cpp:
388 * kcanvas/device/KRenderingPaintServer.h:
389 * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
390 * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
391 * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
392 * ksvg2/svg/SVGClipPathElement.h:
393 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
394 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
395 * ksvg2/svg/SVGFECompositeElement.cpp:
396 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
397 * ksvg2/svg/SVGFELightElement.cpp:
398 * ksvg2/svg/SVGFEOffsetElement.cpp:
399 * ksvg2/svg/SVGFETurbulenceElement.cpp:
400 * ksvg2/svg/SVGFilterElement.cpp:
401 * ksvg2/svg/SVGLinearGradientElement.cpp:
402 * ksvg2/svg/SVGMarkerElement.h:
403 * ksvg2/svg/SVGMaskElement.h:
405 2006-09-19 Brady Eidson <beidson@apple.com>
407 Reviewed by Sarge Decker
409 <rdar://problem/4739892> and <rdar://problem/4729797>
410 - WebCore::IconDatabase needs to have and respect an enabled() flag
411 - Mail on ToT WebKit crashes in IconDatabase code when mailing a page from Safari
413 * bridge/mac/WebCoreIconDatabaseBridge.h:
414 * bridge/mac/WebCoreIconDatabaseBridge.mm:
415 (-[WebCoreIconDatabaseBridge _setEnabled:]): Added
416 (-[WebCoreIconDatabaseBridge _isEnabled]): Added
417 * loader/icon/IconDatabase.cpp:
418 (WebCore::IconDatabase::IconDatabase):
419 (WebCore::IconDatabase::open): Don't open if disabled
420 (WebCore::IconDatabase::removeAllIcons): Ignore if disabled/closed
421 (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ignore if disabled/closed
422 (WebCore::IconDatabase::iconForPageURL): Default Icon if disabled/closed
423 (WebCore::IconDatabase::isIconExpiredForIconURL): Default return if disabled/closed
424 (WebCore::IconDatabase::iconURLForPageURL): Default return if disabled/closed
425 (WebCore::IconDatabase::retainIconForPageURL): Ignore if disabled/closed
426 (WebCore::IconDatabase::releaseIconForPageURL): Ignore if disabled/closed
427 (WebCore::IconDatabase::releaseIconURL):
428 (WebCore::IconDatabase::setIconDataForIconURL): Ignore if disabled/closed
429 (WebCore::IconDatabase::setIconURLForPageURL): Ignore if disabled/closed
430 (WebCore::IconDatabase::hasEntryForIconURL): Default return if disabled/closed
431 (WebCore::IconDatabase::setEnabled): Added
432 * loader/icon/IconDatabase.h:
433 (WebCore::IconDatabase::enabled): Added
435 (WebCore::Frame::endIfNotLoading): do an IconDatabase::enabled() check before bothering to load the icon
436 * platform/mac/ResourceLoaderMac.mm: Removed extraneous #include
438 2006-09-20 David Hyatt <hyatt@apple.com>
440 Massage mouse wheel handling so that it is more cross-platform. Make
441 all the work happen in handleWheelEvent on the FrameView.
443 Reviewed by bradee-oh
445 * bridge/mac/FrameMac.mm:
446 (WebCore::FrameMac::wheelEvent):
447 * page/FrameView.cpp:
448 (WebCore::FrameView::handleWheelEvent):
449 * platform/PlatformWheelEvent.h:
450 (WebCore::PlatformWheelEvent::platformDelta):
451 (WebCore::PlatformWheelEvent::delta):
452 * platform/mac/WheelEventMac.mm:
453 (WebCore::platformDeltaForEvent):
454 (WebCore::PlatformWheelEvent::PlatformWheelEvent):
455 * rendering/RenderLayer.cpp:
456 (WebCore::RenderLayer::scroll):
457 * rendering/RenderObject.cpp:
458 (WebCore::RenderObject::scroll):
460 2006-09-19 Eric Seidel <eric@eseidel.com>
464 Improve test output for filters with bounding-box relative sizes.
465 http://bugzilla.opendarwin.org/show_bug.cgi?id=8585
467 Many test results updated.
469 * kcanvas/KCanvasFilters.cpp:
470 (WebCore::KCanvasFilter::externalRepresentation):
472 2006-09-19 Eric Seidel <eric@eseidel.com>
476 Markers should clip to their viewport.
477 http://bugzilla.opendarwin.org/show_bug.cgi?id=5967
479 Test: svg/custom/marker-overflow-clip.svg
481 * kcanvas/KCanvasResources.cpp:
482 (WebCore::KCanvasMarker::KCanvasMarker):
483 (WebCore::KCanvasMarker::setMarker):
484 (WebCore::KCanvasMarker::draw):
485 * kcanvas/KCanvasResources.h:
486 (WebCore::KCanvasMasker::mask):
487 * ksvg2/svg/SVGMarkerElement.cpp:
488 (WebCore::SVGMarkerElement::SVGMarkerElement):
489 (WebCore::SVGMarkerElement::parseMappedAttribute):
490 (WebCore::SVGMarkerElement::canvasResource):
491 (WebCore::SVGMarkerElement::createRenderer):
493 2006-09-19 Justin Garcia <justin.garcia@apple.com>
497 Backing out my recent change.
499 * css/cssstyleselector.cpp:
500 (WebCore::CSSStyleSelector::adjustRenderStyle):
502 2006-09-19 Brady Eidson <beidson@apple.com>
504 Reviewed by Kevin McCullough
506 http://bugzilla.opendarwin.org/show_bug.cgi?id=10940
507 Opening a PDF in a new tab/window creates a documentless-frame
508 and we deref the document without checking its validity
511 (WebCore::Frame::iconURL):
513 2006-09-19 Justin Garcia <justin.garcia@apple.com>
517 <rdar://problem/4735272>
518 Can not click into link in programmatically editable content
520 * css/cssstyleselector.cpp:
521 (WebCore::CSSStyleSelector::adjustRenderStyle): We stopped using
522 userModify to implement document wide editability.
524 2006-09-19 MorganL <morlmor@yahoo.com>
526 Reviewed by Darin and landed by Brady
528 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10939
529 Build broken when SVG is not enabled.
531 * dom/XMLTokenizer.cpp:
532 (WebCore::XMLTokenizer::startElementNs):
534 2006-09-19 Justin Garcia <justin.garcia@apple.com>
538 <rdar://problem/4727383> REGRESSION: Pasting plain text with tabs into Blot converts the tabs to single spaces
540 Pasting plain text results in a match style paste, and the insertion
541 position is whitespace normal, which clobbers the whitespace:pre on
542 tab spans. Skip changes to the whitespace mode when computing a style
543 change for tab spans or the text nodes inside tab spans.
545 * editing/ApplyStyleCommand.cpp:
546 (WebCore::StyleChange::init): Don't change the whitespace mode inside
549 2006-09-19 David Hyatt <hyatt@apple.com>
551 Fix for bug 5298, shape=default not supported for image maps. Implement
556 * html/HTMLAreaElement.cpp:
557 (WebCore::HTMLAreaElement::getRegion):
558 * html/HTMLMapElement.cpp:
559 (WebCore::HTMLMapElement::mapMouseEvent):
561 2006-09-19 Adam Roben <aroben@apple.com>
565 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10824
566 "no file selected" placeholder text missing from file upload control
568 * WebCore.xcodeproj/project.pbxproj:
569 * rendering/RenderFileUploadControl.cpp: Remove class
570 RenderFileUploadInnerFileBox, rename defaultFilenameNumChars to
572 (WebCore::RenderFileUploadControl::RenderFileUploadControl): Call
573 RenderBlock constructor instead of RenderFlexibleBox,
574 (WebCore::RenderFileUploadControl::setStyle): Remove references to
576 (WebCore::RenderFileUploadControl::valueChanged): Call repaint()
577 instead of updateIconAndFileName() (which has been removed)
578 (WebCore::RenderFileUploadControl::updateFromElement): Remove
579 references to m_fileBox, don't call updateIconAndFilename()
580 (WebCore::RenderFileUploadControl::maxFilenameWidth): Calculate width
581 without using m_fileBox
582 (WebCore::RenderFileUploadControl::createButtonStyle): Remove
583 now-unnecessary display:box rule.
584 (WebCore::RenderFileUploadControl::paintObject): Remove redundant call
585 to paintingDisabled() now that Icon::paint() does it, and add code to
586 paint the filename directly.
587 (WebCore::RenderFileUploadControl::calcMinMaxWidth): Move this method
588 out of RenderFileUploadInnerFileBox and into RenderFileUploadControl
589 * rendering/RenderFileUploadControl.h: Make RenderFileUploadControl a
590 subclass of RenderBlock instead of RenderFlexibleBox, remove
591 updateIconAndFilename() method, remove m_fileBox instance variable.
593 2006-09-19 Eric Seidel <eric@eseidel.com>
597 Exceptions thrown from <script> tags in XHTML/SVG docs show the wrong line numbers
598 http://bugzilla.opendarwin.org/show_bug.cgi?id=10846
600 No automated test case possible until http://bugzilla.opendarwin.org/show_bug.cgi?id=10905 is resolved.
602 * dom/XMLTokenizer.cpp:
603 (WebCore::XMLTokenizer::XMLTokenizer):
604 (WebCore::XMLTokenizer::startElementNs):
605 (WebCore::XMLTokenizer::endElementNs):
607 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
609 Reviewed by eseidel. Landed by eseidel.
611 Build fix only, no tests affected.
613 * platform/gdk/FontPlatformDataGdk.cpp:
614 (WebCore::FontPlatformData::FontPlatformData):
615 (WebCore::FontPlatformData::~FontPlatformData):
616 * platform/gdk/FrameGdk.h:
617 * platform/gdk/TemporaryLinkStubs.cpp:
618 (FrameGdk::isLoadTypeReload):
619 (FrameGdk::originalRequestURL):
620 (IconDatabase::setIconURLForPageURL):
622 2006-09-19 David Hyatt <hyatt@apple.com>
624 Refine the fix for 9805 to really get all the complex cases right.
628 * rendering/RenderBlock.cpp:
629 (WebCore::RenderBlock::clearFloatsIfNeeded):
630 (WebCore::RenderBlock::handleBottomOfBlock):
632 2006-09-18 David Hyatt <hyatt@apple.com>
634 Fix for 9805, <hr> not positioned properly following a previous empty sibling
635 that had clear:both set on it. Update self-collapsing block clearance
636 behavior to match what is specified in the latest draft of CSS2.1.
640 Added fast/block/margin-collapse/empty-clear-blocks.html
642 * rendering/RenderBlock.cpp:
643 (WebCore::RenderBlock::clearFloatsIfNeeded):
644 (WebCore::RenderBlock::handleBottomOfBlock):
646 2006-09-18 MorganL <morlmor@yahoo.com>
648 Reviewed by Brady, landed by Brady
650 Send receivedResponse callback to ResourceLoaderClient when loading
653 See http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
655 * platform/win/ResourceLoaderWin.cpp:
656 (WebCore::ResourceLoader::fileLoadTimer):
658 2006-09-18 Brady Eidson <beidson@apple.com>
662 <rdar://problem/3028061> - WebKit never updates favicon
663 The WebKit enforced expiration date for icons has worked for some time, but the
664 move to the new Icon Loader broke the "always get the icon if the user refreshes the page"
665 functionality. This patch fixes that up, along with some other architectural improvements,
666 the main one being that WebCore::Document now contains an iconURL for the Frame to query if needed.
668 * bridge/mac/FrameMac.h: Added isLoadTypeReload()
669 * bridge/mac/FrameMac.mm:
670 (WebCore::FrameMac::isLoadTypeReload): Implementation, calls into the bridge
671 * bridge/mac/WebCoreFrameBridge.h: Added isLoadTypeReload:
672 * bridge/win/FrameWin.h: Added isLoadTypeReload() for temporary link stub
673 * dom/Document.h: Added m_iconURL
674 (WebCore::Document::iconURL): Added
675 (WebCore::Document::setIconURL): Ditto
676 * html/HTMLLinkElement.cpp:
677 (WebCore::HTMLLinkElement::process): Sets the iconURL in the Document instead of the Frame
679 (WebCore::Frame::iconURL): Calculates the iconURL based on the document, then the default favicon.ico url
680 (WebCore::Frame::endIfNotLoading): Checks for the load type - always loads icon on Reload
681 * page/Frame.h: Nuked setIconURL(), added isLoadTypeReload()
682 * page/FramePrivate.h: Nuked IconURL
683 * platform/win/TemporaryLinkStubs.cpp:
684 (FrameWin::isLoadTypeReload):
686 2006-09-18 Sam Weinig <sam.weinig@gmail.com>
690 - Re-add private method [DOMRGBColor _color] to DOMPrivate.h as
691 it is it turns out that AppKit uses it.
693 * bindings/objc/DOMPrivate.h:
694 * bindings/objc/DOMRGBColor.mm:
695 (-[DOMRGBColor _color]):
697 2006-09-18 Sam Weinig <sam.weinig@gmail.com>
701 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10903
702 Yet Another Objective-C Bindings Patch
704 - Whitespace cleanup for IDLParser.pm
706 - Split DOMException, DOMRangeException, DOMXPathException, DOMEventsException
707 and DOMAbstractView into their own files.
709 - Remove private method [DOMRGBColor _color] from DOMPrivate.h as
710 it is not used and a public method is available now.
712 - Remove internal method [DOMDocument _ownerElement] from DOMInternal.h
715 - Auto-generate method isContentEditable for DOMNode.
717 - General cleanup of bindings code including removing unneeded #imports
718 and whitespace cleanup
720 * WebCore.xcodeproj/project.pbxproj:
721 * bindings/objc/DOM.mm:
724 (-[DOMNode _initWithNode:WebCore::]):
725 (+[DOMNode _nodeWith:WebCore::]):
726 (-[DOMNode WebCore::]):
727 (-[DOMNode KJS::Bindings::]):
728 (-[DOMNode addEventListener:::]):
729 (-[DOMNode removeEventListener:::]):
730 (-[DOMNode dispatchEvent:]):
731 (-[DOMElement image]):
732 (-[DOMElement _font]):
733 (-[DOMElement _imageTIFFRepresentation]):
734 (-[DOMElement _getURLAttribute:]):
735 (-[DOMElement _NPObject]):
736 (-[DOMElement isFocused]):
737 (-[DOMRange dealloc]):
738 (-[DOMRange finalize]):
739 (-[DOMRange description]):
740 (-[DOMRange startContainer]):
741 (-[DOMRange startOffset]):
742 (-[DOMRange endContainer]):
743 (-[DOMRange endOffset]):
744 (-[DOMRange collapsed]):
745 (-[DOMRange commonAncestorContainer]):
746 (-[DOMRange setStart::]):
747 (-[DOMRange setEnd::]):
748 (-[DOMRange setStartBefore:]):
749 (-[DOMRange setStartAfter:]):
750 (-[DOMRange setEndBefore:]):
751 (-[DOMRange setEndAfter:]):
752 (-[DOMRange collapse:]):
753 (-[DOMRange selectNode:]):
754 (-[DOMRange selectNodeContents:]):
755 (-[DOMRange compareBoundaryPoints::]):
756 (-[DOMRange deleteContents]):
757 (-[DOMRange extractContents]):
758 (-[DOMRange cloneContents]):
759 (-[DOMRange insertNode:]):
760 (-[DOMRange surroundContents:]):
761 (-[DOMRange cloneRange]):
762 (-[DOMRange toString]):
763 (-[DOMRange detach]):
764 (-[DOMRange _initWithRange:WebCore::]):
765 (+[DOMRange _rangeWith:WebCore::]):
766 (-[DOMRange WebCore::]):
767 (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
768 (+[DOMNodeFilter _nodeFilterWith:WebCore::]):
769 (-[DOMNodeFilter WebCore::]):
770 (-[DOMNodeFilter dealloc]):
771 (-[DOMNodeFilter finalize]):
772 (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
773 (-[DOMNodeIterator WebCore::]):
774 (+[DOMNodeIterator _nodeIteratorWith:WebCore::filter:]):
775 (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
776 (-[DOMTreeWalker WebCore::]):
777 (+[DOMTreeWalker _treeWalkerWith:WebCore::filter:]):
778 (ObjCNodeFilterCondition::acceptNode):
779 (-[DOMDocument createNodeIterator::::]):
780 (-[DOMDocument createTreeWalker::::]):
781 (ObjCEventListener::find):
782 (ObjCEventListener::create):
783 (ObjCEventListener::handleEvent):
784 * bindings/objc/DOMAbstractView.h: Added.
785 * bindings/objc/DOMAbstractView.mm: Added.
786 (-[DOMAbstractView document]):
787 (-[DOMAbstractView WebCore::]):
788 (-[DOMAbstractView _initWithAbstractView:WebCore::]):
789 (+[DOMAbstractView _abstractViewWith:WebCore::]):
790 * bindings/objc/DOMCSS.mm:
791 (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
792 (+[DOMStyleSheet _styleSheetWith:WebCore::]):
793 (+[DOMCSSStyleSheet _CSSStyleSheetWith:WebCore::]):
794 (-[DOMCSSRule _initWithRule:WebCore::]):
795 (+[DOMCSSRule _CSSRuleWith:WebCore::]):
796 (-[DOMCSSValue _initWithValue:WebCore::]):
797 (+[DOMCSSValue _CSSValueWith:WebCore::]):
798 (+[DOMCSSPrimitiveValue _CSSPrimitiveValueWith:WebCore::]):
799 (-[DOMDocument getComputedStyle::]):
800 (-[DOMDocument getMatchedCSSRules::]):
801 * bindings/objc/DOMCore.h:
802 * bindings/objc/DOMEventException.h: Added.
803 * bindings/objc/DOMEvents.h:
804 * bindings/objc/DOMEvents.mm:
805 * bindings/objc/DOMException.h: Added.
806 * bindings/objc/DOMHTML.mm:
807 (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]):
809 (-[DOMHTMLInputElement _replaceCharactersInRange:withString:selectingFromIndex:]):
810 (-[DOMHTMLInputElement _selectedRange]):
811 (-[DOMHTMLInputElement _setAutofilled:]):
812 * bindings/objc/DOMInternal.h:
813 * bindings/objc/DOMObject.h:
814 * bindings/objc/DOMPrivate.h:
815 * bindings/objc/DOMRange.h:
816 * bindings/objc/DOMRangeException.h: Added.
817 * bindings/objc/DOMViews.h:
818 * bindings/objc/DOMViews.mm: Removed.
819 * bindings/objc/DOMXPath.h:
820 * bindings/objc/DOMXPathException.h: Added.
821 * bindings/scripts/IDLParser.pm:
824 2006-09-18 Brady Eidson <beidson@apple.com>
828 * platform/win/TemporaryLinkStubs.cpp:
829 (IconDatabase::setIconURLForPageURL):
831 2006-09-18 David Hyatt <hyatt@apple.com>
833 Fix for bug 3969, hr width doesn't update when it clears a float. This
834 was also a problem with tables and overflow sections.
838 Added fast/block/float/width-update-after-clear.html
840 * rendering/RenderBlock.cpp:
841 (WebCore::RenderBlock::collapseMargins):
842 (WebCore::RenderBlock::clearFloatsIfNeeded):
844 2006-09-18 Brady Eidson <beidson@apple.com>
848 http://bugzilla.opendarwin.org/show_bug.cgi?id=10907
849 REGRESSION: New Icon Loaders don't handle certain non-server-root URLs correctly
851 * bridge/mac/FrameMac.h: Changed originalRequestURL() to virtual
852 * bridge/win/FrameWin.h: Added originalRequestURL()
853 * loader/icon/IconLoader.cpp:
854 (IconLoader::receivedAllData): Moved the "pageURL to iconURL mapping logic" to Frame::commitIconURLToIconDatabase()
856 (WebCore::Frame::iconURL): Construct the icon URL from *only* the protocol and host of the frame's url.
857 (WebCore::Frame::endIfNotLoading): Call commitIconURLToIconDatabase() if we're not kicking off an icon load
858 (WebCore::Frame::commitIconURLToIconDatabase): Map the completed doc's pageURL to the iconURL
859 * page/Frame.h: Added pure virtual originalRequestURL()
860 * platform/win/TemporaryLinkStubs.cpp:
861 (FrameWin::originalRequestURL): Added
863 2006-09-18 Rob Buis <buis@kde.org>
867 http://bugzilla.opendarwin.org/show_bug.cgi?id=10807
868 REGRESSION (r16259): Repro crash on manual-tests/svg-repaint-image.svg
870 Make sure the paint method is not exited without popping
871 context and transparency layer.
873 WARNING: NO TEST CASES ADDED OR CHANGED
875 * kcanvas/RenderSVGImage.cpp:
876 (WebCore::RenderSVGImage::paint):
878 2006-09-18 Graham Dennis <graham.dennis@gmail.com>
882 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10896
883 REGRESSION: WebKit can't be built with SVG disabled
885 * bindings/scripts/CodeGeneratorObjC.pm:
886 For each file generated add a #ifdef <something>_SUPPORT / #endif
887 pair if the idl file has a Conditional extended attribute
889 2006-09-17 Eric Seidel <eric@eseidel.com>
893 REGRESSION (r16245): double-clicking on javascript exceptions fails to show source
894 http://bugzilla.opendarwin.org/show_bug.cgi?id=10813
896 * bridge/mac/WebCoreFrameBridge.mm:
897 (+[WebCoreFrameBridge stringWithData:textEncodingName:]):
899 2006-09-17 Alexey Proskuryakov <ap@nypop.com>
903 http://bugzilla.opendarwin.org/show_bug.cgi?id=10779
904 REGRESSION: Animated GIF ignores frame intervals and loops infinitely
908 * platform/Image.cpp:
909 (WebCore::Image::shouldAnimate): Don't check that there is more than one frame,
910 maybe the rest just hasn't been loaded yet.
911 (WebCore::Image::startAnimation): Move the frame count check here - there is no need
912 to start animating before we get at least two frames.
914 2006-09-17 Brady Eidson <beidson@apple.com>
918 IconLoader now gracefully handles the condition where there's no document in the frame
921 * loader/icon/IconLoader.cpp:
922 (IconLoader::startLoading):
924 2006-09-17 David Hyatt <hyatt@apple.com>
926 Fix for bug 10899, rework how CSS keywords work to be smarter about
927 using the correct size when generic families change (e.g., monospace to
928 serif and vice versa).
932 Added fast/text/basic/generic-family-changes.html
934 * css/cssstyleselector.cpp:
935 (WebCore::CSSStyleSelector::applyProperty):
936 (WebCore::CSSStyleSelector::checkForGenericFamilyChange):
937 (WebCore::CSSStyleSelector::fontSizeForKeyword):
938 * css/cssstyleselector.h:
940 (WebCore::Document::recalcStyle):
941 * platform/FontDescription.h:
942 (WebCore::FontDescription::FontDescription):
943 (WebCore::FontDescription::keywordSize):
944 (WebCore::FontDescription::setKeywordSize):
945 (WebCore::FontDescription::operator==):
947 2006-09-17 Alexey Proskuryakov <ap@nypop.com>
951 http://bugzilla.opendarwin.org/show_bug.cgi?id=10852
952 REGRESSION: Reproducible crash in XMLHttpRequest::abort()
954 Test: http/tests/xmlhttprequest/xhr-onunload.html
956 * xml/xmlhttprequest.cpp:
957 (WebCore::XMLHttpRequest::send): Check the return value of ResourceLoader::start().
959 * loader/icon/IconLoader.cpp:
960 (IconLoader::startLoading): Fix a similar latent bug here.
962 2006-09-17 Adam Roben <aroben@apple.com>
966 * loader/icon/IconDatabase.cpp:
968 2006-09-17 Anders Carlsson <acarlsson@apple.com>
972 Add simplifyWhiteSpace and stripWhiteSpace to the String class.
973 Change the XSLT Parameter Map to use Strings instead of StringImpls.
976 * bindings/js/JSXSLTProcessor.cpp:
977 (KJS::XSLTProcessorProtoFunc::callAsFunction):
978 * bindings/js/kjs_events.cpp:
979 (KJS::JSAbstractEventListener::handleEvent):
980 * bindings/js/kjs_window.cpp:
981 (KJS::ScheduledAction::execute):
983 (WebCore::MediaList::setMediaText):
985 (WebCore::Document::processHttpEquiv):
986 * editing/ApplyStyleCommand.cpp:
987 (WebCore::StyleChange::init):
988 * html/HTMLDocument.cpp:
989 (WebCore::parseDocTypeDeclaration):
990 * html/HTMLLinkElement.cpp:
991 (WebCore::HTMLLinkElement::parseMappedAttribute):
992 * html/HTMLObjectElement.cpp:
993 (WebCore::HTMLObjectElement::HTMLObjectElement):
994 (WebCore::HTMLObjectElement::parseMappedAttribute):
995 (WebCore::HTMLObjectElement::attach):
996 (WebCore::HTMLObjectElement::setComplete):
997 (WebCore::HTMLObjectElement::detach):
998 (WebCore::HTMLObjectElement::recalcStyle):
999 (WebCore::HTMLObjectElement::childrenChanged):
1000 (WebCore::HTMLObjectElement::isImageType):
1001 * html/HTMLObjectElement.h:
1002 * html/HTMLOptionElement.cpp:
1003 (WebCore::HTMLOptionElement::value):
1004 * html/HTMLSelectElement.cpp:
1005 (WebCore::HTMLSelectElement::appendFormData):
1006 * html/HTMLTokenizer.cpp:
1007 (WebCore::HTMLTokenizer::parseTag):
1008 * ksvg2/svg/SVGColor.cpp:
1009 (WebCore::SVGColor::setRGBColor):
1010 * ksvg2/svg/SVGDescElement.cpp:
1011 (WebCore::SVGDescElement::description):
1012 * platform/PlatformString.h:
1013 * platform/String.cpp:
1014 (WebCore::String::stripWhiteSpace):
1015 (WebCore::String::simplifyWhiteSpace):
1016 * platform/StringImpl.cpp:
1018 (WebCore::parseLength):
1019 (WebCore::StringImpl::stripWhiteSpace):
1020 (WebCore::StringImpl::simplifyWhiteSpace):
1021 (WebCore::StringImpl::toInt):
1022 * platform/StringImpl.h:
1023 * platform/mac/ClipboardMac.mm:
1024 (WebCore::cocoaTypeFromMIMEType):
1025 * rendering/RenderPartObject.cpp:
1026 (WebCore::RenderPartObject::updateWidget):
1027 * xml/XPathFunctions.cpp:
1028 (WebCore::XPath::FunNormalizeSpace::doEvaluate):
1029 * xml/XPathGrammar.y:
1030 * xml/XPathStep.cpp:
1031 (WebCore::XPath::Step::nodeTestMatches):
1032 * xml/XSLStyleSheet.cpp:
1033 (WebCore::XSLStyleSheet::loadChildSheets):
1034 (WebCore::XSLStyleSheet::locateStylesheetSubResource):
1035 * xml/XSLTProcessor.cpp:
1036 (WebCore::xsltParamArrayFromParameterMap):
1037 (WebCore::XSLTProcessor::setParameter):
1038 (WebCore::XSLTProcessor::getParameter):
1039 (WebCore::XSLTProcessor::removeParameter):
1040 * xml/XSLTProcessor.h:
1041 * xml/xmlhttprequest.cpp:
1042 (WebCore::XMLHttpRequest::getStatusText):
1044 2006-09-17 David Hyatt <hyatt@apple.com>
1046 Fix for bugzilla bugs 10895 and 6336, fieldsets misbehaving when floats
1047 are declared right before the fieldsets. It turns out fieldsets in other
1048 browsers avoid floats (like overflow:auto/hidden/scroll sections do), so
1049 adding that behavior to fieldset fixes the bug.
1051 Made avoidsFloats virtual and did some refactoring to make tables, flexboxes
1052 and fieldsets all subclass.
1056 Added fast/forms/float-before-fieldset.html
1058 * rendering/RenderFieldset.h:
1059 (WebCore::RenderFieldset::avoidsFloats):
1060 * rendering/RenderFlexibleBox.h:
1061 (WebCore::RenderFlexibleBox::avoidsFloats):
1062 * rendering/RenderObject.cpp:
1063 (WebCore::RenderObject::avoidsFloats):
1064 * rendering/RenderObject.h:
1065 * rendering/RenderTable.h:
1066 (WebCore::RenderTable::avoidsFloats):
1068 2006-09-17 David Hyatt <hyatt@apple.com>
1070 Fix for bugzilla bug 3240, implement support for the HTML4 "frame" and
1071 "rules" attributes on tables.
1073 Reviewed by bradee-oh
1075 Well-covered by existing layout tests.
1077 * html/HTMLTableCellElement.cpp:
1078 (WebCore::HTMLTableCellElement::additionalAttributeStyleDecl):
1079 * html/HTMLTableColElement.cpp:
1080 (WebCore::HTMLTableColElement::additionalAttributeStyleDecl):
1081 * html/HTMLTableColElement.h:
1082 * html/HTMLTableElement.cpp:
1083 (WebCore::HTMLTableElement::HTMLTableElement):
1084 (WebCore::HTMLTableElement::~HTMLTableElement):
1085 (WebCore::HTMLTableElement::setCaption):
1086 (WebCore::HTMLTableElement::setTHead):
1087 (WebCore::HTMLTableElement::setTFoot):
1088 (WebCore::HTMLTableElement::setTBody):
1089 (WebCore::HTMLTableElement::createTHead):
1090 (WebCore::HTMLTableElement::deleteTHead):
1091 (WebCore::HTMLTableElement::createTFoot):
1092 (WebCore::HTMLTableElement::deleteTFoot):
1093 (WebCore::HTMLTableElement::createCaption):
1094 (WebCore::HTMLTableElement::deleteCaption):
1095 (WebCore::HTMLTableElement::insertRow):
1096 (WebCore::HTMLTableElement::deleteRow):
1097 (WebCore::HTMLTableElement::addChild):
1098 (WebCore::HTMLTableElement::childrenChanged):
1099 (WebCore::HTMLTableElement::mapToEntry):
1100 (WebCore::HTMLTableElement::parseMappedAttribute):
1101 (WebCore::HTMLTableElement::additionalAttributeStyleDecl):
1102 (WebCore::HTMLTableElement::getSharedCellDecl):
1103 (WebCore::HTMLTableElement::getSharedGroupDecl):
1104 (WebCore::HTMLTableElement::attach):
1105 * html/HTMLTableElement.h:
1106 (WebCore::HTMLTableElement::caption):
1107 (WebCore::HTMLTableElement::tHead):
1108 (WebCore::HTMLTableElement::tFoot):
1109 (WebCore::HTMLTableElement::):
1110 * html/HTMLTableRowElement.h:
1111 * html/HTMLTableSectionElement.cpp:
1112 (WebCore::HTMLTableSectionElement::additionalAttributeStyleDecl):
1113 * html/HTMLTableSectionElement.h:
1115 2006-09-17 David Hyatt <hyatt@apple.com>
1117 Fix for bugzilla bug 4192, font size wrong for <tt> elements that
1118 specify their own new font-family list. Make sure to always
1119 reset the generic family along with the family list when mapping in
1120 new font-family values.
1122 Reviewed by bradee-oh
1124 fast/text/basic/generic-family-reset.html
1126 * css/cssstyleselector.cpp:
1127 (WebCore::CSSStyleSelector::applyProperty):
1129 2006-09-16 Brady Eidson <beidson@apple.com>
1133 Pruning code relating to WebKit's icon loader
1135 * bridge/mac/WebCoreIconDatabaseBridge.h:
1136 * bridge/mac/WebCoreIconDatabaseBridge.mm:
1137 * loader/icon/IconDatabase.h:
1139 (WebCore::Frame::endIfNotLoading): Moved a FIXME in from WebKit's IconLoader to
1142 2006-09-16 Sam Weinig <sam.weinig@gmail.com>
1146 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10885
1147 Auto-generate DOMHTMLDocument for the Objective-C bindings
1149 * DerivedSources.make:
1150 * WebCore.xcodeproj/project.pbxproj:
1151 * bindings/objc/DOMExtensions.h:
1152 * bindings/objc/DOMHTML.mm:
1153 (-[DOMHTMLDocument createDocumentFragmentWithText:]):
1154 * bindings/objc/DOMHTMLDocument.h: Removed.
1155 * bindings/objc/DOMHTMLDocument.mm: Removed.
1156 * bindings/objc/PublicDOMInterfaces.h:
1157 * bindings/scripts/CodeGeneratorObjC.pm:
1158 * html/HTMLDocument.idl:
1159 * platform/DeprecatedString.h:
1160 (WebCore::DeprecatedString::operator NSString*):
1162 2006-09-16 Rob Buis <buis@kde.org>
1166 http://bugzilla.opendarwin.org/show_bug.cgi?id=10866
1167 Code in kcanvas/ should not use Private
1169 Remove Private classes and tweak coding style.
1171 WARNING: NO TEST CASES ADDED OR CHANGED
1173 * kcanvas/RenderPath.cpp:
1174 (WebCore::RenderPath::RenderPath):
1175 (WebCore::RenderPath::~RenderPath):
1176 (WebCore::RenderPath::localTransform):
1177 (WebCore::RenderPath::setLocalTransform):
1178 (WebCore::RenderPath::fillContains):
1179 (WebCore::RenderPath::relativeBBox):
1180 (WebCore::RenderPath::setPath):
1181 (WebCore::RenderPath::path):
1182 (WebCore::RenderPath::layout):
1183 * kcanvas/RenderPath.h:
1184 * kcanvas/RenderSVGContainer.cpp:
1185 (WebCore::RenderSVGContainer::RenderSVGContainer):
1186 (WebCore::RenderSVGContainer::~RenderSVGContainer):
1187 (WebCore::RenderSVGContainer::drawsContents):
1188 (WebCore::RenderSVGContainer::setDrawsContents):
1189 (WebCore::RenderSVGContainer::localTransform):
1190 (WebCore::RenderSVGContainer::setLocalTransform):
1191 (WebCore::RenderSVGContainer::layout):
1192 (WebCore::RenderSVGContainer::paint):
1193 (WebCore::RenderSVGContainer::setViewport):
1194 (WebCore::RenderSVGContainer::viewport):
1195 (WebCore::RenderSVGContainer::setViewBox):
1196 (WebCore::RenderSVGContainer::viewBox):
1197 (WebCore::RenderSVGContainer::setAlign):
1198 (WebCore::RenderSVGContainer::align):
1199 (WebCore::RenderSVGContainer::fillContains):
1200 (WebCore::RenderSVGContainer::strokeContains):
1201 (WebCore::RenderSVGContainer::setSlice):
1202 (WebCore::RenderSVGContainer::slice):
1203 * kcanvas/RenderSVGContainer.h:
1204 * kcanvas/device/KRenderingFillPainter.cpp:
1205 (WebCore::KRenderingFillPainter::KRenderingFillPainter):
1206 (WebCore::KRenderingFillPainter::~KRenderingFillPainter):
1207 (WebCore::KRenderingFillPainter::fillRule):
1208 (WebCore::KRenderingFillPainter::setFillRule):
1209 (WebCore::KRenderingFillPainter::opacity):
1210 (WebCore::KRenderingFillPainter::setOpacity):
1211 * kcanvas/device/KRenderingFillPainter.h:
1212 * kcanvas/device/KRenderingPaintServerGradient.cpp:
1213 (WebCore::KRenderingPaintServerGradient::KRenderingPaintServerGradient):
1214 (WebCore::KRenderingPaintServerGradient::~KRenderingPaintServerGradient):
1215 (WebCore::KRenderingPaintServerGradient::gradientStops):
1216 (WebCore::KRenderingPaintServerGradient::setGradientStops):
1217 (WebCore::KRenderingPaintServerGradient::spreadMethod):
1218 (WebCore::KRenderingPaintServerGradient::setGradientSpreadMethod):
1219 (WebCore::KRenderingPaintServerGradient::boundingBoxMode):
1220 (WebCore::KRenderingPaintServerGradient::setBoundingBoxMode):
1221 (WebCore::KRenderingPaintServerGradient::gradientTransform):
1222 (WebCore::KRenderingPaintServerGradient::setGradientTransform):
1223 (WebCore::KRenderingPaintServerLinearGradient::KRenderingPaintServerLinearGradient):
1224 (WebCore::KRenderingPaintServerLinearGradient::~KRenderingPaintServerLinearGradient):
1225 (WebCore::KRenderingPaintServerLinearGradient::gradientStart):
1226 (WebCore::KRenderingPaintServerLinearGradient::setGradientStart):
1227 (WebCore::KRenderingPaintServerLinearGradient::gradientEnd):
1228 (WebCore::KRenderingPaintServerLinearGradient::setGradientEnd):
1229 (WebCore::KRenderingPaintServerRadialGradient::KRenderingPaintServerRadialGradient):
1230 (WebCore::KRenderingPaintServerRadialGradient::~KRenderingPaintServerRadialGradient):
1231 (WebCore::KRenderingPaintServerRadialGradient::gradientCenter):
1232 (WebCore::KRenderingPaintServerRadialGradient::setGradientCenter):
1233 (WebCore::KRenderingPaintServerRadialGradient::gradientFocal):
1234 (WebCore::KRenderingPaintServerRadialGradient::setGradientFocal):
1235 (WebCore::KRenderingPaintServerRadialGradient::gradientRadius):
1236 (WebCore::KRenderingPaintServerRadialGradient::setGradientRadius):
1237 (WebCore::KRenderingPaintServerGradient::listener):
1238 (WebCore::KRenderingPaintServerGradient::setListener):
1239 * kcanvas/device/KRenderingPaintServerGradient.h:
1240 * kcanvas/device/KRenderingPaintServerPattern.cpp:
1241 (WebCore::KRenderingPaintServerPattern::KRenderingPaintServerPattern):
1242 (WebCore::KRenderingPaintServerPattern::~KRenderingPaintServerPattern):
1243 (WebCore::KRenderingPaintServerPattern::setBbox):
1244 (WebCore::KRenderingPaintServerPattern::bbox):
1245 (WebCore::KRenderingPaintServerPattern::boundingBoxMode):
1246 (WebCore::KRenderingPaintServerPattern::setBoundingBoxMode):
1247 (WebCore::KRenderingPaintServerPattern::tile):
1248 (WebCore::KRenderingPaintServerPattern::setTile):
1249 (WebCore::KRenderingPaintServerPattern::patternTransform):
1250 (WebCore::KRenderingPaintServerPattern::setPatternTransform):
1251 (WebCore::KRenderingPaintServerPattern::listener):
1252 (WebCore::KRenderingPaintServerPattern::setListener):
1253 * kcanvas/device/KRenderingPaintServerPattern.h:
1254 * kcanvas/device/KRenderingPaintServerSolid.cpp:
1255 (WebCore::KRenderingPaintServerSolid::KRenderingPaintServerSolid):
1256 (WebCore::KRenderingPaintServerSolid::~KRenderingPaintServerSolid):
1257 (WebCore::KRenderingPaintServerSolid::color):
1258 (WebCore::KRenderingPaintServerSolid::setColor):
1259 * kcanvas/device/KRenderingPaintServerSolid.h:
1260 * kcanvas/device/KRenderingStrokePainter.cpp:
1261 (WebCore::KRenderingStrokePainter::KRenderingStrokePainter):
1262 (WebCore::KRenderingStrokePainter::~KRenderingStrokePainter):
1263 (WebCore::KRenderingStrokePainter::strokeWidth):
1264 (WebCore::KRenderingStrokePainter::setStrokeWidth):
1265 (WebCore::KRenderingStrokePainter::strokeMiterLimit):
1266 (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
1267 (WebCore::KRenderingStrokePainter::strokeCapStyle):
1268 (WebCore::KRenderingStrokePainter::setStrokeCapStyle):
1269 (WebCore::KRenderingStrokePainter::strokeJoinStyle):
1270 (WebCore::KRenderingStrokePainter::setStrokeJoinStyle):
1271 (WebCore::KRenderingStrokePainter::dashOffset):
1272 (WebCore::KRenderingStrokePainter::setDashOffset):
1273 (WebCore::KRenderingStrokePainter::dashArray):
1274 (WebCore::KRenderingStrokePainter::setDashArray):
1275 (WebCore::KRenderingStrokePainter::opacity):
1276 (WebCore::KRenderingStrokePainter::setOpacity):
1277 (WebCore::KRenderingStrokePainter::dirty):
1278 (WebCore::KRenderingStrokePainter::setDirty):
1279 * kcanvas/device/KRenderingStrokePainter.h:
1281 2006-09-16 Mark Rowe <opendarwin.org@bdash.net.nz>
1285 http://bugzilla.opendarwin.org/show_bug.cgi?id=10887
1288 * bindings/objc/DOMPrivate.h: Remove reference to DOMEventPrivate.h.
1290 2006-09-16 Sam Weinig <sam.weinig@gmail.com>
1294 Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10886
1295 REGRESSION (r16387): Reproducible crash when mousing over HTML document
1297 - Special case method [DOMNode ownerDocument] to call document() instead
1298 or ownerDocument() to return to the old behavior.
1300 * WebCore.xcodeproj/project.pbxproj:
1301 * bindings/scripts/CodeGeneratorObjC.pm:
1303 2006-09-15 Brady Eidson <beidson@apple.com>
1305 Reviewed by Tim Hatcher
1307 <rdar://problem/4730811> - New IconDatabase needs to attempt to create its path.
1308 Otherwise new installs and new user accounts won't have any icons because the icon.db cannot be created
1310 * loader/icon/IconDatabase.cpp: Removed a now obsolete FIXME
1311 (WebCore::makeAllDirectories): Added - candidate to be in a header for "platform neutral file utilities"
1312 (WebCore::IconDatabase::open): Make sure the directory exists
1314 2006-09-15 Timothy Hatcher <timothy@apple.com>
1318 Make new style ObjC methods public API.
1320 * WebCore.xcodeproj/project.pbxproj:
1321 * bindings/objc/DOMPrivate.h:
1322 * bindings/objc/PublicDOMInterfaces.h:
1324 2006-09-15 Sam Weinig <sam.weinig@gmail.com>
1328 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10870
1329 Auto-generate DOMNode for the Objective-C bindings
1331 * DerivedSources.make:
1332 * WebCore.xcodeproj/project.pbxproj:
1333 * bindings/objc/DOM.mm:
1334 (-[DOMNode boundingBox]):
1335 (-[DOMNode lineBoxRects]):
1336 * bindings/objc/DOMEvents.h:
1337 * bindings/objc/DOMExtensions.h:
1338 * bindings/objc/DOMNode.h: Removed.
1339 * bindings/objc/DOMNode.mm: Removed.
1340 * bindings/objc/PublicDOMInterfaces.h:
1341 * bindings/scripts/CodeGeneratorObjC.pm:
1344 2006-09-15 Timothy Hatcher <timothy@apple.com>
1348 Removed alter selection logic from WebCoreFrameBridge and moved to SelectionController.
1350 * bridge/mac/WebCoreFrameBridge.h:
1351 * bridge/mac/WebCoreFrameBridge.mm:
1352 (-[WebCoreFrameBridge centerSelectionInVisibleArea]):
1353 (-[WebCoreFrameBridge rangeByExpandingSelectionWithGranularity:]):
1354 (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:direction:granularity:]):
1355 (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]):
1356 (-[WebCoreFrameBridge alterCurrentSelection:verticalDistance:]):
1357 (-[WebCoreFrameBridge replaceMarkedTextWithText:]):
1358 (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
1359 (-[WebCoreFrameBridge increaseSelectionListLevel]):
1360 (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]):
1361 (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]):
1362 (-[WebCoreFrameBridge decreaseSelectionListLevel]):
1363 (-[WebCoreFrameBridge insertLineBreak]):
1364 (-[WebCoreFrameBridge insertParagraphSeparator]):
1365 (-[WebCoreFrameBridge insertParagraphSeparatorInQuotedContent]):
1366 (-[WebCoreFrameBridge insertText:selectInsertedText:]):
1367 (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:granularity:]):
1368 (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:granularity:]):
1369 (createMouseEventFromDraggingInfo):
1370 * editing/SelectionController.cpp:
1371 (WebCore::SelectionController::moveTo):
1372 (WebCore::SelectionController::setSelection):
1373 (WebCore::SelectionController::modify):
1374 (WebCore::SelectionController::setBase):
1375 (WebCore::SelectionController::setExtent):
1376 * editing/SelectionController.h:
1378 (WebCore::Frame::revealSelection):
1379 (WebCore::Frame::revealCaret):
1382 2006-09-15 Brady Eidson <beidson@apple.com>
1386 Added the ability to get a mutable char* from a CString, which will copy the internal
1387 buffer if the ref count is greater than 1 so your mutable char* won't affect any other
1388 referrer of that buffer.
1390 * platform/CString.cpp:
1391 (WebCore::CString::mutableData):
1392 (WebCore::CString::copyBufferIfNeeded):
1393 * platform/CString.h:
1395 2006-09-15 Justin Garcia <justin.garcia@apple.com>
1397 Reviewed by harrison
1399 <rdar://problem/4674869>
1400 REGRESSION: selecting text to write over results in cursor jumping to middle of next line
1402 * editing/SelectionController.cpp:
1403 (WebCore::SelectionController::modify): Added lineBoundary to test fix.
1404 * editing/visible_units.cpp:
1405 (WebCore::endOfLine): If the last box on the line is a lineBreak, return the
1406 position before it, not after it.
1408 2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1412 http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
1413 Bug 10864: Linux\GDK build fixes
1415 * Projects/gdk/webcore-gdk.bkl:
1416 * WebCoreSources.bkl:
1417 * platform/gdk/FontCacheGdk.cpp:
1418 * platform/gdk/FontDataGdk.cpp:
1419 (WebCore::FontData::platformInit):
1420 * platform/gdk/FontGdk.cpp:
1421 (WebCore::Font::drawGlyphs):
1422 * platform/gdk/FrameGdk.cpp:
1423 (WebCore::FrameGdk::handleGdkEvent):
1424 * platform/gdk/FrameGdk.h:
1425 * platform/gdk/ImageGdk.cpp: Added.
1426 (WebCore::Image::initPlatformData):
1427 (WebCore::Image::invalidatePlatformData):
1428 (WebCore::Image::loadPlatformResource):
1429 (WebCore::Image::supportsType):
1430 * platform/gdk/RenderPopupMenuGdk.cpp:
1431 (WebCore::RenderPopupMenuGdk::hidePopup):
1432 * platform/gdk/RenderPopupMenuGdk.h:
1433 * platform/gdk/ScreenGdk.cpp:
1434 (WebCore::drawableForPage):
1435 (WebCore::screenRect):
1436 (WebCore::screenDepth):
1437 (WebCore::usableScreenRect):
1438 (WebCore::scaleFactor):
1439 * platform/gdk/SystemTimeLinux.cpp:
1440 (WebCore::currentTime):
1441 * platform/gdk/TemporaryLinkStubs.cpp:
1442 (FrameGdk::bindingRootObject):
1443 (FrameGdk::markMisspellings):
1444 (WebCore::screenDepthPerComponent):
1445 (WebCore::screenIsMonochrome):
1446 (WebCore::fileButtonChooseFileLabel):
1447 (WebCore::fileButtonNoFileSelectedLabel):
1448 (FrameGdk::shouldChangeSelection):
1449 (FrameGdk::respondToChangedSelection):
1450 (FrameGdk::respondToChangedContents):
1452 (PlatformScrollBar::PlatformScrollBar):
1453 (PlatformScrollBar::~PlatformScrollBar):
1454 (PlatformScrollBar::width):
1455 (PlatformScrollBar::height):
1456 (PlatformScrollBar::setEnabled):
1457 (PlatformScrollBar::paint):
1458 (PlatformScrollBar::setScrollBarValue):
1459 (PlatformScrollBar::setKnobProportion):
1460 (PlatformScrollBar::setRect):
1461 (ScrollBar::ScrollBar):
1462 (FileChooser::FileChooser):
1463 (FileChooser::~FileChooser):
1464 (FileChooser::openFileChooser):
1465 (FileChooser::basenameForWidth):
1466 (FileChooser::uploadControlDetaching):
1467 (FileChooser::chooseFile):
1470 (Icon::newIconForFile):
1472 (IconLoader::stopLoading):
1473 (IconLoader::startLoading):
1474 (IconLoader::createForFrame):
1475 (IconDatabase::isIconExpiredForIconURL):
1476 (IconDatabase::hasEntryForIconURL):
1477 (IconDatabase::sharedIconDatabase):
1478 * platform/gdk/WidgetGdk.cpp:
1481 2006-09-15 Nikolas Zimmermann <zimmermann@kde.org>
1485 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
1486 Fix svg memory leaks.
1488 Reworked SVGList to deal with RefPtr's for ptr types
1489 which makes manual refcounting unnecessary, and is much safer.
1491 Removing all virtual functions (nullItem) from SVGList, and
1492 also remove SVGListBase. Switch to a similar concept like
1493 Vector/VectorTraits (see new file SVGListTraits.h).
1495 Credits go to Eric/Maciej for the inspiration.
1497 * CMakeLists.txt: Add SVGListTraits.cpp to build
1498 * WebCore.xcodeproj/project.pbxproj: Ditto.
1499 * bindings/scripts/CodeGeneratorJS.pm: Generator changes for SVGTransform/PathSeg/LengthList (now RefPtr based)
1500 * kcanvas/RenderSVGText.cpp: Add some get() methods, as SVGLengthList is RefPtr based now.
1501 (WebCore::RenderSVGText::translationForAttributes):
1502 * ksvg2/svg/SVGAnimateTransformElement.cpp: Add some get() methods, as SVGTransformList is RefPtr based now.
1503 (WebCore::SVGAnimateTransformElement::handleTimerEvent):
1504 * ksvg2/svg/SVGElementInstanceList.cpp: Be RefPtr based.
1505 (WebCore::SVGElementInstanceList::SVGElementInstanceList):
1506 * ksvg2/svg/SVGElementInstanceList.h:
1507 * ksvg2/svg/SVGLengthList.cpp: Ditto.
1508 (WebCore::SVGLengthList::SVGLengthList):
1509 * ksvg2/svg/SVGLengthList.h: Ditto.
1510 * ksvg2/svg/SVGList.h: Rewrote, as described above.
1511 (WebCore::SVGListTypeOperations::nullItem):
1512 (WebCore::SVGList::SVGList):
1513 (WebCore::SVGList::~SVGList):
1514 (WebCore::SVGList::clear):
1515 (WebCore::SVGList::getFirst):
1516 (WebCore::SVGList::getLast):
1517 (WebCore::SVGList::getItem):
1518 (WebCore::SVGList::replaceItem):
1519 (WebCore::SVGList::removeItem):
1520 * ksvg2/svg/SVGListTraits.cpp: Added.
1521 * ksvg2/svg/SVGListTraits.h: Added.
1523 * ksvg2/svg/SVGPathElement.cpp: Add some get() methods, as SVGPathSegList is RefPtr based now.
1524 (WebCore::SVGPathElement::toPathData):
1525 * ksvg2/svg/SVGPathSegList.cpp: Be RefPtr based.
1526 (WebCore::SVGPathSegList::SVGPathSegList):
1527 * ksvg2/svg/SVGPathSegList.h: Ditto.
1528 * ksvg2/svg/SVGTransform.cpp: Style cleanup.
1529 (SVGTransform::SVGTransform):
1530 * ksvg2/svg/SVGTransformList.cpp: Be RefPtr based.
1531 (SVGTransformList::SVGTransformList):
1532 (SVGTransformList::createSVGTransformFromMatrix):
1533 (SVGTransformList::consolidate):
1534 * ksvg2/svg/SVGTransformList.h: Ditto.
1535 * ksvg2/svg/SVGTransformable.cpp: Fix RefPtr usage of SVGTransform.
1536 (SVGTransformable::parseTransformAttribute):
1538 2006-09-15 Nikolas Zimmermann <zimmermann@kde.org>
1540 Reviewed by eseidel. Landed by eseidel.
1542 Fix build on Qt/Linux and implement Frame::addMessageToConsole to
1543 be able to see javascript errors for instance.
1546 * platform/qt/FrameQt.h:
1547 * platform/qt/FrameQt.cpp: Implement addMessageToConsole.
1548 (WebCore::FrameQt::bindingRootObject):
1549 * platform/qt/TemporaryLinkStubs.cp
1550 (WebCore::IconDatabase::hasEntryForIconURL):
1551 (WebCore::IconDatabase::sharedIconDatabase):
1553 2006-09-15 Sam Weinig <sam.weinig@gmail.com>
1557 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10869
1558 Auto-generate the internal methods for the Objective-C bindings
1560 - Auto-generates the internal method (ie. the _fooBar and _fooBarWith methods)
1561 implementations where standard. For cases where a custom implementation was
1562 needed, added a [ObjCNoInternal] extended attribute to the corresponding IDL.
1564 - Some general cleanup of some of the non-generated bindings, to bring them in-
1565 line with what the generated bindings look like.
1567 * bindings/objc/DOM.mm:
1568 (-[DOMNode description]):
1569 * bindings/objc/DOMCSS.mm:
1570 (-[DOMCSSPrimitiveValue WebCore::]):
1571 (-[DOMDocument getComputedStyle::]):
1572 (-[DOMDocument getMatchedCSSRules::]):
1573 * bindings/objc/DOMEvents.mm:
1574 (-[DOMEvent WebCore::]):
1575 * bindings/objc/DOMHTML.mm:
1576 * bindings/objc/DOMHTMLDocument.mm:
1577 (-[DOMHTMLDocument title]):
1578 (-[DOMHTMLDocument setTitle:]):
1579 (-[DOMHTMLDocument referrer]):
1580 (-[DOMHTMLDocument domain]):
1581 (-[DOMHTMLDocument URL]):
1582 (-[DOMHTMLDocument body]):
1583 (-[DOMHTMLDocument setBody:]):
1584 (-[DOMHTMLDocument images]):
1585 (-[DOMHTMLDocument applets]):
1586 (-[DOMHTMLDocument links]):
1587 (-[DOMHTMLDocument forms]):
1588 (-[DOMHTMLDocument anchors]):
1589 (-[DOMHTMLDocument cookie]):
1590 (-[DOMHTMLDocument setCookie:]):
1591 (-[DOMHTMLDocument open]):
1592 (-[DOMHTMLDocument close]):
1593 (-[DOMHTMLDocument write:]):
1594 (-[DOMHTMLDocument writeln:]):
1595 (-[DOMHTMLDocument getElementById:]):
1596 (-[DOMHTMLDocument getElementsByName:]):
1597 (-[DOMHTMLDocument WebCore::]):
1598 (+[DOMHTMLDocument _HTMLDocumentWith:WebCore::]):
1599 * bindings/objc/DOMHTMLOptionElement.mm:
1600 (-[DOMHTMLOptionElement form]):
1601 (-[DOMHTMLOptionElement defaultSelected]):
1602 (-[DOMHTMLOptionElement setDefaultSelected:]):
1603 (-[DOMHTMLOptionElement text]):
1604 (-[DOMHTMLOptionElement index]):
1605 (-[DOMHTMLOptionElement disabled]):
1606 (-[DOMHTMLOptionElement setDisabled:]):
1607 (-[DOMHTMLOptionElement label]):
1608 (-[DOMHTMLOptionElement setLabel:]):
1609 (-[DOMHTMLOptionElement selected]):
1610 (-[DOMHTMLOptionElement setSelected:]):
1611 (-[DOMHTMLOptionElement value]):
1612 (-[DOMHTMLOptionElement setValue:]):
1613 (-[DOMHTMLOptionElement WebCore::]):
1614 (+[DOMHTMLOptionElement _HTMLOptionElementWith:WebCore::]):
1615 * bindings/objc/DOMInternal.h:
1616 * bindings/objc/DOMNode.mm:
1617 (-[DOMNode dealloc]):
1618 (-[DOMNode finalize]):
1619 (-[DOMNode nodeName]):
1620 (-[DOMNode nodeValue]):
1621 (-[DOMNode setNodeValue:]):
1622 (-[DOMNode nodeType]):
1623 (-[DOMNode parentNode]):
1624 (-[DOMNode childNodes]):
1625 (-[DOMNode firstChild]):
1626 (-[DOMNode lastChild]):
1627 (-[DOMNode previousSibling]):
1628 (-[DOMNode nextSibling]):
1629 (-[DOMNode attributes]):
1630 (-[DOMNode ownerDocument]):
1631 (-[DOMNode insertBefore::]):
1632 (-[DOMNode replaceChild::]):
1633 (-[DOMNode removeChild:]):
1634 (-[DOMNode appendChild:]):
1635 (-[DOMNode hasChildNodes]):
1636 (-[DOMNode cloneNode:]):
1637 (-[DOMNode normalize]):
1638 (-[DOMNode isSupported::]):
1639 (-[DOMNode namespaceURI]):
1640 (-[DOMNode prefix]):
1641 (-[DOMNode setPrefix:]):
1642 (-[DOMNode localName]):
1643 (-[DOMNode hasAttributes]):
1644 (-[DOMNode isSameNode:]):
1645 (-[DOMNode isEqualNode:]):
1646 (-[DOMNode isDefaultNamespace:]):
1647 (-[DOMNode lookupPrefix:]):
1648 (-[DOMNode lookupNamespaceURI:]):
1649 (-[DOMNode textContent]):
1650 (-[DOMNode setTextContent:]):
1651 (-[DOMNode boundingBox]):
1652 (-[DOMNode lineBoxRects]):
1653 * bindings/objc/DOMObject.mm:
1654 (-[DOMObject _init]):
1655 * bindings/objc/DOMXPath.mm:
1656 (-[DOMNativeXPathNSResolver dealloc]):
1657 (-[DOMNativeXPathNSResolver finalize]):
1658 (-[DOMNativeXPathNSResolver WebCore::]):
1659 (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
1660 (+[DOMNativeXPathNSResolver _xpathNSResolverWith:WebCore::]):
1661 (-[DOMNativeXPathNSResolver lookupNamespaceURI:]):
1662 * bindings/scripts/CodeGeneratorObjC.pm:
1663 * bridge/mac/WebCoreFrameBridge.mm:
1664 (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
1665 (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]):
1666 * css/CSSCharsetRule.idl:
1667 * css/CSSFontFaceRule.idl:
1668 * css/CSSImportRule.idl:
1669 * css/CSSMediaRule.idl:
1670 * css/CSSPageRule.idl:
1671 * css/CSSPrimitiveValue.idl:
1673 * css/CSSStyleRule.idl:
1674 * css/CSSStyleSheet.idl:
1675 * css/CSSUnknownRule.idl:
1677 * css/CSSValueList.idl:
1678 * css/StyleSheet.idl:
1680 * dom/KeyboardEvent.idl:
1681 * dom/MouseEvent.idl:
1682 * dom/MutationEvent.idl:
1683 * dom/NodeIterator.idl:
1684 * dom/OverflowEvent.idl:
1685 * dom/TreeWalker.idl:
1687 * dom/WheelEvent.idl:
1689 2006-09-15 Adam Roben <aroben@apple.com>
1691 Reviewed by timothy.
1693 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10865
1694 New file upload control should match the width of the old one
1696 Make width of new file upload control match the old one as closely as
1699 * rendering/RenderFileUploadControl.cpp:
1701 2006-09-15 Timothy Hatcher <timothy@apple.com>
1705 Remove the SVG IDL files from the Copy Resources phase.
1707 * WebCore.xcodeproj/project.pbxproj:
1709 2006-09-15 Brady Eidson <beidson@apple.com>
1711 Reviewed by Eric Siedel
1713 Dumped the use of CGColorRef and directly use the floating point data from
1716 This fixes the performance regression found between 16285 and 16286
1718 * platform/mac/FontMac.mm:
1719 (WebCore::Font::drawComplexText):
1720 (WebCore::Font::drawGlyphs):
1722 2006-09-14 Mark Rowe <opendarwin.org@bdash.net.nz>
1726 http://bugzilla.opendarwin.org/show_bug.cgi?id=10838
1727 Bug 10838: REGRESSION: Leaking of WebScriptObjectPrivate
1729 FrameMac relies on its cleanupPluginObjects being called to perform cleanup. The virtual
1730 Frame::cleanupPluginObjects method is called from Frame's destructor, which results
1731 in Frame::cleanupPluginObjects being called rather than FrameMac::cleanupPluginObjects.
1733 * bridge/mac/FrameMac.mm:
1734 (WebCore::FrameMac::~FrameMac): Call cancelAndClear to ensure that FrameMac::cleanupPluginObjects
1735 will be called from Frame::clear
1737 (WebCore::Frame::~Frame): Use cancelAndClear.
1738 (WebCore::Frame::cancelAndClear): Move cancellation and clearing into a separate method that
1742 2006-09-14 Brady Eidson <beidson@apple.com>
1744 Reviewed by Maciej's rubber stamp
1746 Exact same fix I just made, but in the other method I horked up
1747 Also added a reference to the bugzilla in comments
1750 (WebCore::Frame::endIfNotLoading):
1751 (WebCore::Frame::stop):
1753 2006-09-14 Brady Eidson <beidson@apple.com>
1757 Fixed a bad iFrame crash, resolving some of the layout test badness
1760 (WebCore::Frame::endIfNotLoading):
1761 - Added a RefPtr to protect the frame itself to prevent its destruction during this method
1763 2006-09-14 Justin Garcia <justin.garcia@apple.com>
1765 Reviewed by harrison
1767 <rdar://problem/4655880> Up/Down arrows skip over To Do
1769 * bridge/mac/WebCoreFrameBridge.mm:
1770 (-[WebCoreFrameBridge canDeleteRange:]): Added a FIXME.
1771 * dom/Node.cpp: Removed the unused inSameRootEditableElement.
1773 * editing/SelectionController.cpp:
1774 (WebCore::SelectionController::modify): Added documentboundary to granularities in order test a fix.
1775 * editing/visible_units.cpp:
1776 (WebCore::previousLinePosition): Use highestEditableRoot so that this function can move from
1777 editable content into editable content that's embedded in non-editable content.
1778 (WebCore::nextLinePosition): Ditto.
1779 (WebCore::startOfEditableContent): Renamed from startOfEditableRoot and use highestEditableRoot.
1780 This is the behavior that callers desire. This fixes Command + Up/Down.
1781 (WebCore::endOfEditableContent): Ditto.
1782 * editing/visible_units.h:
1784 2006-09-14 Karthik Kumar <karthikkumar@gmail.com>
1786 Reviewed by timothy. Landed by aroben.
1788 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10856
1789 Windows build fixes after r16360
1791 * WebCore.vcproj/WebCore/WebCore.vcproj: Add loader\icon to
1792 AdditionalIncludeDirectories
1793 * platform/win/TemporaryLinkStubs.cpp: Add link stubs for IconLoader,
1795 (IconLoader::stopLoading):
1796 (IconLoader::startLoading):
1797 (IconLoader::createForFrame):
1798 (IconDatabase::isIconExpiredForIconURL):
1799 (IconDatabase::hasEntryForIconURL):
1800 (IconDatabase::sharedIconDatabase):
1802 2006-09-14 Brady Eidson <beidson@apple.com>
1804 Part of a build fix for Windows - rest will be working out a mess of temporary link stubs
1806 * loader/icon/IconLoader.cpp:
1807 (IconLoader::receivedAllData):
1809 * page/FramePrivate.h:
1811 2006-09-14 Graham Dennis <graham.dennis@gmail.com>
1813 Reviewed by Justin Garcia.
1815 - http://bugzilla.opendarwin.org/show_bug.cgi?id=10726
1816 Crash in ApplyStyleCommand::applyRelativeFontStyleChange
1818 * editing/ApplyStyleCommand.cpp:
1819 (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): Prevent a crash by
1820 makeing sure that the 'beyondEnd' node is after the start node.
1822 2006-09-14 MorganL <morlmor@yahoo.com>
1826 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
1827 Various bugs/crashes in ResourceLoaderWin with local files.
1829 * platform/ResourceLoaderInternal.h:
1830 (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
1831 * platform/win/ResourceLoaderWin.cpp:
1832 (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
1833 (WebCore::ResourceLoader::fileLoadTimer):
1835 2006-09-13 Brady Eidson <beidson@apple.com>
1839 Icon loads now take place in WebCore
1841 * WebCore.xcodeproj/project.pbxproj:
1842 * bridge/BrowserExtension.h:
1843 * bridge/mac/BrowserExtensionMac.h:
1844 * bridge/mac/BrowserExtensionMac.mm:
1845 - Moved enforcement of a Mozilla Favicon extension elsewhere
1847 * bridge/mac/FrameMac.h:
1848 * bridge/mac/FrameMac.mm:
1849 (WebCore::FrameMac::originalRequestURL):
1850 - Added accessor to "original request URL"
1852 * bridge/mac/WebCoreFrameBridge.h:
1853 - Removed methods to set the iconURL as all loading is now done in WebCore
1854 - Added call throughs to notify WebKit an Icon is done loading, and a to get the original request URL
1856 * html/HTMLLinkElement.cpp:
1857 (WebCore::HTMLLinkElement::process):
1858 - Moved enforcement of a Mozilla Favicon extension elsewhere
1860 * loader/icon/IconDatabase.cpp:
1861 (WebCore::IconDatabase::setIconURLForPageURL):
1862 - Changed an ASSERT to correctly handle a sketchy (invalid) situation
1864 * loader/icon/IconLoader.h: Added.
1865 * loader/icon/IconLoader.cpp: Added.
1866 (IconLoader::IconLoader):
1867 (IconLoader::createForFrame):
1868 - Static factory method with a private constructor to enforce
1869 "you MUST have a Frame to create an IconLoader" semantics
1870 (IconLoader::~IconLoader):
1871 (IconLoader::startLoading):
1872 (IconLoader::stopLoading):
1873 (IconLoader::receivedData):
1874 - ResourceLoaderClient delegate
1875 (IconLoader::receivedAllData):
1878 * loader/mac/IconLoaderMac.mm: Added.
1879 (IconLoader::receivedResponse):
1880 (IconLoader::notifyIconChanged):
1881 - For now, these are platform specific methods
1882 - One to get the HTTP response code of an icon load
1883 - The other to call through to the app when the icon has changed (loaded)
1887 (WebCore::Frame::iconURL):
1888 (WebCore::Frame::setIconURL):
1889 - Frame objects now have an inherent icon URL and a way to calculate/access it
1890 (WebCore::Frame::endIfNotLoading):
1891 - This is where we actually kick off the IconLoader
1892 (WebCore::Frame::stop):
1893 - Added call to stop loading the icon
1895 * page/FramePrivate.h:
1896 (WebCore::FramePrivate::FramePrivate):
1897 (WebCore::FramePrivate::~FramePrivate):
1898 - Added the icon URL as a private member
1899 - Added the IconLoader as a private member, and clean it up on deletion
1901 * platform/mac/ResourceLoaderMac.mm:
1902 (WebCore::ResourceLoader::start): Added a valuable ASSERT
1904 2006-09-13 David Hyatt <hyatt@apple.com>
1906 Fix for 10841, unable to check checkboxes inside labels.
1908 Reviewed by xenon, bradee-oh
1912 (WebCore::Element::contains):
1914 * html/HTMLLabelElement.cpp:
1915 (WebCore::HTMLLabelElement::defaultEventHandler):
1917 2006-09-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1921 http://bugzilla.opendarwin.org/show_bug.cgi?id=10834
1922 Bug 10834: FileChooser constructor in FileChooserMac appears to overretain m_controller
1924 * platform/mac/FileChooserMac.mm:
1925 (WebCore::FileChooser::FileChooser): Don't over-retain the OpenPanelController.
1927 2006-09-13 Mark Rowe <opendarwin.org@bdash.net.nz>
1931 http://bugzilla.opendarwin.org/show_bug.cgi?id=10836
1932 Bug 10836: REGRESSION: Mac implementation of Font::drawGlyphs leaks a CGColorRef
1934 * platform/mac/FontMac.mm:
1935 (WebCore::Font::drawComplexText): Release CGColorRef after use.
1936 (WebCore::Font::drawGlyphs): Ditto.
1938 2006-09-14 Anders Carlsson <acarlsson@apple.com>
1940 Try fixing the Win32 build.
1942 * bridge/win/FrameWin.h:
1943 * platform/win/TemporaryLinkStubs.cpp:
1944 (FrameWin::bindingRootObject):
1946 2006-09-14 Anders Carlsson <acarlsson@apple.com>
1950 Add USE defines for the generic JavaScriptCore bindings as well as NPAPI bindings.
1952 * bindings/js/kjs_binding.cpp:
1953 (KJS::ScriptInterpreter::createLanguageInstanceForValue):
1954 * bindings/js/kjs_dom.cpp:
1955 (KJS::getRuntimeObject):
1956 * bridge/mac/FrameMac.h:
1958 * html/HTMLAppletElement.cpp:
1959 (WebCore::HTMLAppletElement::~HTMLAppletElement):
1960 (WebCore::HTMLAppletElement::detach):
1961 * html/HTMLAppletElement.h:
1962 * html/HTMLEmbedElement.cpp:
1963 (WebCore::HTMLEmbedElement::~HTMLEmbedElement):
1964 (WebCore::HTMLEmbedElement::detach):
1965 * html/HTMLEmbedElement.h:
1966 * html/HTMLObjectElement.cpp:
1967 (WebCore::HTMLObjectElement::~HTMLObjectElement):
1968 (WebCore::HTMLObjectElement::detach):
1969 * html/HTMLObjectElement.h:
1970 * html/HTMLPlugInElement.cpp:
1971 (WebCore::HTMLPlugInElement::HTMLPlugInElement):
1972 (WebCore::HTMLPlugInElement::~HTMLPlugInElement):
1973 (WebCore::HTMLPlugInElement::createNPObject):
1974 * html/HTMLPlugInElement.h:
1977 2006-09-13 David Hyatt <hyatt@apple.com>
1979 Clean up the XBL and XSLT ifdefs to be consistent with the SVG
1980 and XPath ifdefs. KHTML_NO_XBL is flipped and is now XBL_SUPPORT.
1981 KHTML_XSLT is now XSLT_SUPPORT.
1983 * WebCore.xcodeproj/project.pbxproj:
1984 * bindings/js/JSXSLTProcessor.cpp:
1985 * bindings/js/JSXSLTProcessor.h:
1986 * bindings/js/kjs_window.cpp:
1987 (KJS::Window::getValueProperty):
1989 * css/CSSComputedStyleDeclaration.cpp:
1990 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
1991 * css/cssparser.cpp:
1992 (WebCore::CSSParser::parseValue):
1993 * css/cssstyleselector.cpp:
1994 (WebCore::CSSStyleSelector::applyProperty):
1996 (WebCore::Document::Document):
1997 (WebCore::Document::~Document):
1998 (WebCore::Document::recalcStyleSelector):
2000 (WebCore::Document::bindingManager):
2002 (WebCore::Node::createRendererIfNeeded):
2003 * dom/ProcessingInstruction.cpp:
2004 (WebCore::ProcessingInstruction::ProcessingInstruction):
2005 (WebCore::ProcessingInstruction::checkStyleSheet):
2006 (WebCore::ProcessingInstruction::setStyleSheet):
2007 * dom/ProcessingInstruction.h:
2008 * dom/XMLTokenizer.cpp:
2009 (WebCore::XMLTokenizer::processingInstruction):
2010 (WebCore::XMLTokenizer::insertErrorMessageBlock):
2011 * dom/XMLTokenizer.h:
2013 (WebCore::Cache::getStatistics):
2015 * loader/CachedResource.h:
2016 (WebCore::CachedResource::):
2017 * loader/CachedResourceClient.h:
2018 * loader/CachedXBLDocument.cpp:
2019 * loader/CachedXBLDocument.h:
2020 * loader/CachedXSLStyleSheet.cpp:
2021 * loader/CachedXSLStyleSheet.h:
2022 * loader/DocLoader.cpp:
2023 * loader/DocLoader.h:
2024 * rendering/RenderStyle.cpp:
2025 (WebCore::StyleCSS3NonInheritedData::StyleCSS3NonInheritedData):
2026 (WebCore::StyleCSS3NonInheritedData::~StyleCSS3NonInheritedData):
2027 (WebCore::StyleCSS3NonInheritedData::operator==):
2028 * rendering/RenderStyle.h:
2029 * xml/XSLImportRule.cpp:
2030 * xml/XSLImportRule.h:
2031 * xml/XSLStyleSheet.cpp:
2032 * xml/XSLStyleSheet.h:
2033 * xml/XSLTProcessor.cpp:
2034 * xml/XSLTProcessor.h:
2036 2006-09-13 Nikolas Zimmermann <zimmermann@kde.org>
2038 Reviewed by eseidel. Landed by eseidel.
2040 Fix newly introduced memory leaks in SVG.
2041 http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
2043 * ksvg2/svg/SVGList.h:
2044 (WebCore::SVGListBase::~SVGListBase):
2045 (WebCore::SVGListBase::clearVector):
2046 (WebCore::SVGListBase::clear):
2047 (WebCore::SVGList::clearVector):
2049 * ksvg2/svg/SVGNumberList.cpp: s/float/double/ - forgot that!
2050 (SVGNumberList::SVGNumberList):
2051 * ksvg2/svg/SVGNumberList.h: Ditto.
2053 2006-09-13 MorganL <morlmor@yahoo.com>
2055 Reviewed/landed by aroben.
2057 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10833
2058 Windows build needs fixed after move to engine-rendered file upload widget
2060 * WebCore.vcproj/WebCore/WebCore.vcproj: Add RenderFileUpload files,
2061 remove RenderFileButton files
2062 * platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser, Icon
2063 (FileChooser::FileChooser):
2064 (FileChooser::~FileChooser):
2065 (FileChooser::openFileChooser):
2066 (FileChooser::basenameForWidth):
2067 (FileChooser::uploadControlDetaching):
2068 (FileChooser::chooseFile):
2069 (WebCore::fileButtonChooseFileLabel):
2070 (WebCore::fileButtonNoFileSelectedLabel):
2073 (Icon::newIconForFile):
2076 2006-09-13 MorganL <morlmor@yahoo.com>
2078 Reviewed/landed by aroben.
2080 Fixes http://bugzilla.opendarwin.org/attachment.cgi?id=10537
2081 Webkit WebCore build fails on Windows
2083 * WebCore.vcproj/WebCore/build-generated-files.sh: export SOURCE_ROOT
2086 2006-09-13 Nikolas Zimmermann <zimmermann@kde.org>
2092 * CMakeLists.txt: Change SVGZoomEvent.idl location & add RenderFileUploadControl
2093 * platform/Icon.h: Add wtf/Platform.h include
2094 * platform/qt/FileChooserQt.cpp: Added as stub. Easy to implement though.
2095 (WebCore::FileChooser::FileChooser):
2096 (WebCore::FileChooser::~FileChooser):
2097 (WebCore::FileChooser::openFileChooser):
2098 (WebCore::FileChooser::basenameForWidth):
2099 (WebCore::FileChooser::uploadControlDetaching):
2100 (WebCore::FileChooser::chooseFile):
2101 * platform/qt/IconQt.cpp: Added as stub.
2102 (WebCore::Icon::Icon):
2103 (WebCore::Icon::~Icon):
2104 (WebCore::Icon::newIconForFile):
2105 (WebCore::Icon::paint):
2106 * platform/qt/TemporaryLinkStubs.cpp: Remove old RenderFileButton code & some new *Labels needed
2107 (searchableIndexIntroduction):
2108 (fileButtonChooseFileLabel):
2109 (fileButtonNoFileSelectedLabel):
2111 2006-09-12 Adam Roben <aroben@apple.com>
2113 Reviewed by eseidel.
2115 Switch back to passing relative paths to generate-bindings.pl when
2116 generating JS bindings.
2118 * DerivedSources.make: Pass in relative paths to generate-bindings.pl
2119 * bindings/scripts/CodeGenerator.pm: Make ScanDirectory never call
2120 chdir and always construct absolute paths instead.
2122 2006-09-12 David Hyatt <hyatt@apple.com>
2124 Fix for bug 3244, implement html4 label support.
2126 Reviewed by mjs, aroben
2128 Added fast/events/label-focus.html
2131 * html/HTMLLabelElement.cpp:
2132 (WebCore::HTMLLabelElement::formElement):
2133 (WebCore::HTMLLabelElement::setActive):
2134 (WebCore::HTMLLabelElement::setHovered):
2135 (WebCore::HTMLLabelElement::defaultEventHandler):
2136 * html/HTMLLabelElement.h:
2138 2006-09-12 Julien Palmas <julien.palmas@gmail.com>
2140 Reviewed by darin. Landed by eseidel.
2142 * ksvg2/svg/svgpathparser.cpp:
2143 (WebCore::SVGPolyParser::parsePoints):
2145 2006-09-11 Kevin McCullough <KMcCullough@apple.com>
2147 Reviewed by Andersca, Maciej, Brady.
2149 - Implemented intersectsNode in the Range Class
2150 to be compliant with Mozilla standard
2153 (WebCore::Range::intersectsNode):
2157 2006-09-12 Nikolas Zimmermann <zimmermann@kde.org>
2159 Reviewed by eseidel. Landed by eseidel.
2161 Test: svg/W3C-SVG-1.1/struct-dom-01-b.svg (fixed)
2162 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10826
2164 Also finally fixes some long outstanding bugs:
2165 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9190
2166 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9229
2167 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10413
2169 Enable all JavaScript SVG bindings. Builds on Qt/Linux & OSX.
2172 * DerivedSources.make:
2173 * WebCore.xcodeproj/project.pbxproj:
2174 * bindings/scripts/CodeGenerator.pm:
2175 * bindings/scripts/CodeGeneratorJS.pm:
2176 * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
2177 * ksvg2/svg/SVGAElement.idl: Added.
2178 * ksvg2/svg/SVGAngle.idl:
2179 * ksvg2/svg/SVGAnimateColorElement.idl: Added.
2180 * ksvg2/svg/SVGAnimateElement.idl: Added.
2181 * ksvg2/svg/SVGAnimateTransformElement.idl: Added.
2182 * ksvg2/svg/SVGAnimatedLengthList.idl: Added.
2183 * ksvg2/svg/SVGAnimatedNumberList.idl: Added.
2184 * ksvg2/svg/SVGAnimatedTransformList.idl: Added.
2185 * ksvg2/svg/SVGAnimationElement.idl: Added.
2186 * ksvg2/svg/SVGCircleElement.idl: Added.
2187 * ksvg2/svg/SVGClipPathElement.idl: Added.
2188 * ksvg2/svg/SVGColor.idl:
2189 * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Added.
2190 * ksvg2/svg/SVGCursorElement.idl: Added.
2191 * ksvg2/svg/SVGDefsElement.idl: Added.
2192 * ksvg2/svg/SVGDescElement.idl: Added.
2193 * ksvg2/svg/SVGEllipseElement.idl: Added.
2194 * ksvg2/svg/SVGEvent.idl:
2195 * ksvg2/svg/SVGExternalResourcesRequired.idl: Added.
2196 * ksvg2/svg/SVGFEBlendElement.idl: Added.
2197 * ksvg2/svg/SVGFEColorMatrixElement.idl: Added.
2198 * ksvg2/svg/SVGFEComponentTransferElement.idl: Added.
2199 * ksvg2/svg/SVGFECompositeElement.idl: Added.
2200 * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Added.
2201 * ksvg2/svg/SVGFEDisplacementMapElement.idl: Added.
2202 * ksvg2/svg/SVGFEDistantLightElement.idl: Added.
2203 * ksvg2/svg/SVGFEFloodElement.idl: Added.
2204 * ksvg2/svg/SVGFEFuncAElement.idl: Added.
2205 * ksvg2/svg/SVGFEFuncBElement.idl: Added.
2206 * ksvg2/svg/SVGFEFuncGElement.idl: Added.
2207 * ksvg2/svg/SVGFEFuncRElement.idl: Added.
2208 * ksvg2/svg/SVGFEGaussianBlurElement.idl: Added.
2209 * ksvg2/svg/SVGFEImageElement.idl: Added.
2210 * ksvg2/svg/SVGFEMergeElement.idl: Added.
2211 * ksvg2/svg/SVGFEMergeNodeElement.idl: Added.
2212 * ksvg2/svg/SVGFEOffsetElement.idl: Added.
2213 * ksvg2/svg/SVGFEPointLightElement.idl: Added.
2214 * ksvg2/svg/SVGFESpecularLightingElement.idl: Added.
2215 * ksvg2/svg/SVGFESpotLightElement.idl: Added.
2216 * ksvg2/svg/SVGFETileElement.idl: Added.
2217 * ksvg2/svg/SVGFETurbulenceElement.idl: Added.
2218 * ksvg2/svg/SVGFilterElement.idl: Added.
2219 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
2220 * ksvg2/svg/SVGFitToViewBox.idl: Added.
2221 * ksvg2/svg/SVGForeignObjectElement.idl: Added.
2222 * ksvg2/svg/SVGGElement.idl: Added.
2223 * ksvg2/svg/SVGGradientElement.idl: Added.
2224 * ksvg2/svg/SVGImageElement.idl: Added.
2225 * ksvg2/svg/SVGLangSpace.idl: Added.
2226 * ksvg2/svg/SVGLength.idl:
2227 * ksvg2/svg/SVGLengthList.idl: Added.
2228 * ksvg2/svg/SVGLineElement.idl: Added.
2229 * ksvg2/svg/SVGLinearGradientElement.idl: Added.
2230 * ksvg2/svg/SVGLocatable.idl: Added.
2231 * ksvg2/svg/SVGMarkerElement.idl: Added.
2232 * ksvg2/svg/SVGMaskElement.idl: Added.
2233 * ksvg2/svg/SVGNumberList.idl: Added.
2234 * ksvg2/svg/SVGPaint.idl: Added.
2235 * ksvg2/svg/SVGPathElement.idl:
2236 * ksvg2/svg/SVGPathSeg.idl:
2237 * ksvg2/svg/SVGPatternElement.idl: Added.
2238 * ksvg2/svg/SVGPointList.idl: Added.
2239 * ksvg2/svg/SVGPolygonElement.idl: Added.
2240 * ksvg2/svg/SVGPolylineElement.idl: Added.
2241 * ksvg2/svg/SVGPreserveAspectRatio.idl:
2242 * ksvg2/svg/SVGRadialGradientElement.idl: Added.
2243 * ksvg2/svg/SVGRectElement.idl: Added.
2244 * ksvg2/svg/SVGRenderingIntent.idl: Added.
2245 * ksvg2/svg/SVGSVGElement.idl:
2246 * ksvg2/svg/SVGScriptElement.idl: Added.
2247 * ksvg2/svg/SVGSetElement.idl: Added.
2248 * ksvg2/svg/SVGStopElement.idl: Added.
2249 * ksvg2/svg/SVGStringList.idl: Added.
2250 * ksvg2/svg/SVGStylable.idl: Added.
2251 * ksvg2/svg/SVGStyleElement.idl: Added.
2252 * ksvg2/svg/SVGSwitchElement.idl: Added.
2253 * ksvg2/svg/SVGSymbolElement.idl: Added.
2254 * ksvg2/svg/SVGTRefElement.idl: Added.
2255 * ksvg2/svg/SVGTSpanElement.idl: Added.
2256 * ksvg2/svg/SVGTests.idl: Added.
2257 * ksvg2/svg/SVGTextContentElement.idl: Added.
2258 * ksvg2/svg/SVGTextElement.idl: Added.
2259 * ksvg2/svg/SVGTextPositioningElement.idl: Added.
2260 * ksvg2/svg/SVGTitleElement.idl: Added.
2261 * ksvg2/svg/SVGTransform.idl:
2262 * ksvg2/svg/SVGTransformList.idl: Added.
2263 * ksvg2/svg/SVGTransformable.idl: Added.
2264 * ksvg2/svg/SVGURIReference.idl: Added.
2265 * ksvg2/svg/SVGUnitTypes.idl: Added.
2266 * ksvg2/svg/SVGUseElement.idl: Added.
2267 * ksvg2/svg/SVGViewElement.idl: Added.
2268 * ksvg2/svg/SVGZoomAndPan.idl: Added.
2269 * ksvg2/svg/SVGZoomEvent.idl: Added.
2271 2006-09-12 Adam Roben <aroben@apple.com>
2273 Reviewed by timo, ggaren.
2275 Make Icon ref-counted.
2277 * platform/FileChooser.h: Store m_icon as a RefPtr instead of
2279 * platform/Icon.h: Inherit from Shared<Icon>
2280 * platform/mac/FileChooserMac.mm:
2281 (WebCore::FileChooser::chooseFile): Update m_icon usage
2282 * platform/mac/IconMac.mm:
2283 (WebCore::Icon::newIconForFile): Return a RefPtr instead of an
2286 === Safari-521.26 ===
2288 2006-09-12 Nikolas Zimmermann <zimmermann@kde.org>
2292 Add exception codes to SVGList functions, adjust all code using it.
2294 Move SVGPaintType enums from ksvg.h into SVGPaint (needed for js generation)
2295 Move SVGUnitTypes enums from ksvg.h into it's own file SVGUnitType.h (ditto)
2296 Move SVGRenderingIntent enums from ksvg.h into it's own file SVGRenderingIntent.h (ditto)
2297 Move SVGZoomAndPan enums from ksvg.h into SVGSVGElement (ditto)
2298 Move SVGFE* related enums into their respecitive classes.
2300 Fix JSSVGNumber to operator on doubles, instead of floats.
2302 * ksvg2/bindings/js/JSSVGNumber.cpp:
2303 (WebCore::getJSSVGNumber):
2304 * ksvg2/bindings/js/JSSVGNumber.h:
2305 (WebCore::JSSVGNumber::JSSVGNumber):
2306 * ksvg2/css/SVGCSSParser.cpp:
2307 (WebCore::CSSParser::parseSVGValue):
2308 (WebCore::CSSParser::parseSVGPaint):
2309 * ksvg2/css/SVGRenderStyleDefs.cpp:
2310 (StyleFillData::operator==):
2312 * ksvg2/misc/KCanvasRenderingStyle.cpp:
2313 (WebCore::KSVGPainterFactory::isFilled):
2314 (WebCore::KSVGPainterFactory::fillPaintServer):
2315 (WebCore::KSVGPainterFactory::isStroked):
2316 (WebCore::KSVGPainterFactory::strokePaintServer):
2317 * ksvg2/misc/KSVGTimeScheduler.cpp:
2318 (WebCore::SVGTimer::notifyAll):
2319 * ksvg2/svg/SVGAnimateColorElement.cpp:
2320 (WebCore::SVGAnimateColorElement::handleTimerEvent):
2321 * ksvg2/svg/SVGAnimateTransformElement.cpp:
2322 (WebCore::SVGAnimateTransformElement::SVGAnimateTransformElement):
2323 (WebCore::SVGAnimateTransformElement::parseMappedAttribute):
2324 (WebCore::SVGAnimateTransformElement::handleTimerEvent):
2325 (WebCore::SVGAnimateTransformElement::parseTransformValue):
2326 * ksvg2/svg/SVGAnimateTransformElement.h:
2327 * ksvg2/svg/SVGAnimatedTemplate.h:
2328 * ksvg2/svg/SVGAnimationElement.cpp:
2329 (SVGAnimationElement::getSimpleDuration):
2330 (SVGAnimationElement::parseMappedAttribute):
2331 (SVGAnimationElement::setTargetAttribute):
2332 * ksvg2/svg/SVGAnimationElement.h:
2333 * ksvg2/svg/SVGClipPathElement.cpp:
2334 (SVGClipPathElement::SVGClipPathElement):
2335 (SVGClipPathElement::parseMappedAttribute):
2336 (SVGClipPathElement::canvasResource):
2337 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
2338 (SVGComponentTransferFunctionElement::transferFunction):
2339 * ksvg2/svg/SVGComponentTransferFunctionElement.h:
2340 (WebCore::SVGComponentTransferFunctionElement::):
2341 * ksvg2/svg/SVGDocument.cpp:
2342 (WebCore::SVGDocument::dispatchZoomEvent):
2343 (WebCore::SVGDocument::dispatchScrollEvent):
2344 * ksvg2/svg/SVGFEBlendElement.cpp:
2345 (WebCore::SVGFEBlendElement::parseMappedAttribute):
2346 (WebCore::SVGFEBlendElement::filterEffect):
2347 * ksvg2/svg/SVGFEBlendElement.h:
2348 (WebCore::SVGFEBlendElement::):
2349 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
2350 (SVGFEColorMatrixElement::parseMappedAttribute):
2351 (SVGFEColorMatrixElement::filterEffect):
2352 * ksvg2/svg/SVGFEColorMatrixElement.h:
2353 (WebCore::SVGFEColorMatrixElement::):
2354 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
2355 (WebCore::SVGFEComponentTransferElement::parseMappedAttribute):
2356 (WebCore::SVGFEComponentTransferElement::filterEffect):
2357 * ksvg2/svg/SVGFEComponentTransferElement.h:
2358 * ksvg2/svg/SVGFECompositeElement.cpp:
2359 (SVGFECompositeElement::parseMappedAttribute):
2360 (SVGFECompositeElement::filterEffect):
2361 * ksvg2/svg/SVGFECompositeElement.h:
2362 (WebCore::SVGFECompositeElement::):
2363 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
2364 (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
2365 (WebCore::SVGFEDiffuseLightingElement::filterEffect):
2366 * ksvg2/svg/SVGFEDiffuseLightingElement.h:
2367 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
2368 (SVGFEDisplacementMapElement::parseMappedAttribute):
2369 (SVGFEDisplacementMapElement::filterEffect):
2370 * ksvg2/svg/SVGFEDisplacementMapElement.h:
2371 (WebCore::SVGFEDisplacementMapElement::):
2372 * ksvg2/svg/SVGFEFloodElement.cpp:
2373 (WebCore::SVGFEFloodElement::parseMappedAttribute):
2374 (WebCore::SVGFEFloodElement::filterEffect):
2375 * ksvg2/svg/SVGFEFloodElement.h:
2376 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
2377 (SVGFEGaussianBlurElement::parseMappedAttribute):
2378 (SVGFEGaussianBlurElement::filterEffect):
2379 * ksvg2/svg/SVGFEGaussianBlurElement.h:
2380 * ksvg2/svg/SVGFEMergeElement.cpp:
2381 (SVGFEMergeElement::filterEffect):
2382 * ksvg2/svg/SVGFEMergeNodeElement.cpp:
2383 (SVGFEMergeNodeElement::parseMappedAttribute):
2384 * ksvg2/svg/SVGFEMergeNodeElement.h:
2385 * ksvg2/svg/SVGFEOffsetElement.cpp:
2386 (SVGFEOffsetElement::parseMappedAttribute):
2387 (SVGFEOffsetElement::filterEffect):
2388 * ksvg2/svg/SVGFEOffsetElement.h:
2389 * ksvg2/svg/SVGFESpecularLightingElement.cpp:
2390 (SVGFESpecularLightingElement::parseMappedAttribute):
2391 (SVGFESpecularLightingElement::filterEffect):
2392 * ksvg2/svg/SVGFESpecularLightingElement.h:
2393 * ksvg2/svg/SVGFETileElement.cpp:
2394 (WebCore::SVGFETileElement::parseMappedAttribute):
2395 (WebCore::SVGFETileElement::filterEffect):
2396 * ksvg2/svg/SVGFETileElement.h:
2397 * ksvg2/svg/SVGFETurbulenceElement.h:
2398 (WebCore::SVGFETurbulenceElement::):
2399 * ksvg2/svg/SVGFilterElement.cpp:
2400 (SVGFilterElement::SVGFilterElement):
2401 (SVGFilterElement::parseMappedAttribute):
2402 (SVGFilterElement::canvasResource):
2403 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
2404 (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
2405 * ksvg2/svg/SVGGradientElement.cpp:
2406 (SVGGradientElement::SVGGradientElement):
2407 (SVGGradientElement::parseMappedAttribute):
2408 * ksvg2/svg/SVGGradientElement.h:
2409 (WebCore::SVGGradientElement::):
2410 * ksvg2/svg/SVGHelper.cpp:
2411 (WebCore::SVGHelper::ParseSeperatedList):
2412 * ksvg2/svg/SVGLengthList.cpp:
2413 (WebCore::SVGLengthList::parse):
2414 * ksvg2/svg/SVGLinearGradientElement.cpp:
2415 (SVGLinearGradientElement::buildGradient):
2416 * ksvg2/svg/SVGList.h:
2417 (WebCore::SVGListBase::clear):
2418 (WebCore::SVGListBase::initialize):
2419 (WebCore::SVGListBase::getItem):
2420 (WebCore::SVGListBase::insertItemBefore):
2421 (WebCore::SVGListBase::replaceItem):
2422 (WebCore::SVGListBase::removeItem):
2423 (WebCore::SVGListBase::appendItem):
2424 * ksvg2/svg/SVGLocatable.cpp:
2425 * ksvg2/svg/SVGLocatable.h:
2426 * ksvg2/svg/SVGMarkerElement.h:
2427 (WebCore::SVGMarkerElement::):
2428 * ksvg2/svg/SVGNumberList.cpp:
2429 (SVGNumberList::parse):
2430 * ksvg2/svg/SVGPaint.cpp:
2431 (WebCore::SVGPaint::SVGPaint):
2432 (WebCore::SVGPaint::uri):
2433 (WebCore::SVGPaint::setUri):
2434 (WebCore::SVGPaint::setPaint):
2435 * ksvg2/svg/SVGPaint.h:
2436 (WebCore::SVGPaint::):
2437 * ksvg2/svg/SVGPathElement.cpp:
2438 (WebCore::SVGPathElement::svgMoveTo):
2439 (WebCore::SVGPathElement::svgLineTo):
2440 (WebCore::SVGPathElement::svgLineToHorizontal):
2441 (WebCore::SVGPathElement::svgLineToVertical):
2442 (WebCore::SVGPathElement::svgCurveToCubic):
2443 (WebCore::SVGPathElement::svgCurveToCubicSmooth):
2444 (WebCore::SVGPathElement::svgCurveToQuadratic):
2445 (WebCore::SVGPathElement::svgCurveToQuadraticSmooth):
2446 (WebCore::SVGPathElement::svgArcTo):
2447 (WebCore::SVGPathElement::svgClosePath):
2448 (WebCore::SVGPathElement::parseMappedAttribute):
2449 (WebCore::SVGPathElement::toPathData):
2450 * ksvg2/svg/SVGPatternElement.cpp:
2451 (WebCore::SVGPatternElement::SVGPatternElement):
2452 (WebCore::SVGPatternElement::parseMappedAttribute):
2453 (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
2454 (WebCore::SVGPatternElement::drawPatternContentIntoTile):
2455 * ksvg2/svg/SVGPolyElement.cpp:
2456 (SVGPolyElement::parseMappedAttribute):
2457 (SVGPolyElement::svgPolyTo):
2458 (SVGPolyElement::notifyAttributeChange):
2459 * ksvg2/svg/SVGPolygonElement.cpp:
2460 (SVGPolygonElement::toPathData):
2461 * ksvg2/svg/SVGPolylineElement.cpp:
2462 (SVGPolylineElement::toPathData):
2463 * ksvg2/svg/SVGRadialGradientElement.cpp:
2464 (WebCore::SVGRadialGradientElement::buildGradient):
2465 * ksvg2/svg/SVGRenderingIntent.h: Added.
2466 (WebCore::SVGRenderingIntent::):
2467 (WebCore::SVGRenderingIntent::SVGRenderingIntent):
2468 (WebCore::SVGRenderingIntent::~SVGRenderingIntent):
2469 * ksvg2/svg/SVGSVGElement.h:
2470 (WebCore::SVGSVGElement::):
2471 * ksvg2/svg/SVGScriptElement.cpp:
2472 (WebCore::SVGScriptElement::type):
2473 (WebCore::SVGScriptElement::setType):
2474 (WebCore::SVGScriptElement::parseMappedAttribute):
2475 * ksvg2/svg/SVGScriptElement.h:
2476 * ksvg2/svg/SVGStringList.cpp:
2477 (WebCore::SVGStringList::reset):
2478 * ksvg2/svg/SVGStyledLocatableElement.cpp:
2479 (SVGStyledLocatableElement::getTransformToElement):
2480 * ksvg2/svg/SVGStyledLocatableElement.h:
2481 * ksvg2/svg/SVGStyledTransformableElement.cpp:
2482 (SVGStyledTransformableElement::parseMappedAttribute):
2483 (SVGStyledTransformableElement::getTransformToElement):
2484 * ksvg2/svg/SVGStyledTransformableElement.h:
2485 * ksvg2/svg/SVGTests.cpp:
2486 (WebCore::SVGTests::hasExtension):
2487 (WebCore::SVGTests::isValid):
2488 * ksvg2/svg/SVGTests.h:
2489 * ksvg2/svg/SVGTextContentElement.cpp:
2490 (SVGTextContentElement::getSubStringLength):
2491 (SVGTextContentElement::getStartPositionOfChar):
2492 (SVGTextContentElement::getEndPositionOfChar):
2493 (SVGTextContentElement::getExtentOfChar):
2494 (SVGTextContentElement::getRotationOfChar):
2495 (SVGTextContentElement::selectSubString):
2496 * ksvg2/svg/SVGTextContentElement.h:
2497 (WebCore::SVGTextContentElement::):
2498 * ksvg2/svg/SVGTextElement.cpp:
2499 (WebCore::SVGTextElement::parseMappedAttribute):
2500 * ksvg2/svg/SVGTextElement.h:
2501 (WebCore::SVGTextElement::getTransformToElement):
2502 * ksvg2/svg/SVGTransform.h:
2503 * ksvg2/svg/SVGTransformList.cpp:
2504 (SVGTransformList::consolidate):
2505 (SVGTransformList::concatenate):
2506 * ksvg2/svg/SVGTransformable.cpp:
2507 (SVGTransformable::parseTransformAttribute):
2508 * ksvg2/svg/SVGUnitTypes.h: Added.
2509 (WebCore::SVGUnitTypes::):
2510 (WebCore::SVGUnitTypes::SVGUnitTypes):
2511 (WebCore::SVGUnitTypes::~SVGUnitTypes):
2512 * ksvg2/svg/SVGUseElement.cpp:
2513 (SVGUseElement::closeRenderer):
2514 * ksvg2/svg/SVGViewElement.h:
2515 (WebCore::SVGViewElement::):
2516 * ksvg2/svg/SVGZoomAndPan.cpp:
2517 (WebCore::SVGZoomAndPan::SVGZoomAndPan):
2518 (WebCore::SVGZoomAndPan::parseMappedAttribute):
2520 2006-09-12 John Sullivan <sullivan@apple.com>
2522 Reviewed by Adele Peterson.
2524 * bridge/mac/FrameMac.mm:
2525 (WebCore::FrameMac::doTextFieldCommandFromEvent):
2526 Don't call textField:doCommandBySelector: with a nil selector. This was indirectly causing a
2527 (valid) assertion failure in some Safari code.
2529 2006-09-12 David Harrison <harrison@apple.com>
2531 Reviewed by John Sullivan.
2533 <rdar://problem/4717841> Setting AXFocused to true does not activate the insertion point in text field
2535 * bridge/mac/WebCoreAXObject.mm:
2536 (-[WebCoreAXObject accessibilitySetValue:forAttribute:]):
2537 For AXFocus, use focus() if the node is an element, so that selection is set.
2538 Matches tabbing behavior in text fields and text areas.
2540 2006-09-12 Adam Roben <aroben@apple.com>
2544 Make uploading work with the new file upload control.
2546 * css/html4.css: Remove unnecessary style (this is already done in
2547 RenderFileUpload.cpp)
2548 * html/HTMLInputElement.cpp: Don't get the button text from the value
2549 attribute for file controls.
2550 (WebCore::HTMLInputElement::valueWithDefault):
2551 * platform/mac/FileChooserMac.mm: Call
2552 RenderFileUploadControl::valueChanged when the user selects a file.
2553 (WebCore::FileChooser::chooseFile):
2554 * rendering/RenderFileUploadControl.cpp: Add valueChanged() method to
2555 update the form and fire the onChange event.
2556 (WebCore::RenderFileUploadControl::valueChanged):
2557 (WebCore::RenderFileUploadControl::updateFromElement):
2558 * rendering/RenderFileUploadControl.h: Add valueChanged() declaration.
2560 2006-09-12 Adam Roben <aroben@apple.com>
2562 Adding rules to html4.css to style the button in file upload controls.
2566 2006-09-12 Adam Roben <aroben@apple.com>
2568 Reviewed many times by darin, hyatt.
2570 Switch to new engine-based implementation of <input type="file">
2572 * WebCore.exp: Remove obsolete symbol WebCoreFileButton
2573 * WebCore.xcodeproj/project.pbxproj: Remove files for old widget-based
2574 control, add files for new engine-based control
2575 * css/CSSSelector.cpp: Add support for new
2576 '-webkit-file-upload-button' pseudo element
2577 (WebCore::CSSSelector::extractPseudoType):
2578 * css/CSSSelector.h: Ditto.
2579 (WebCore::CSSSelector::):
2580 * css/cssstyleselector.cpp: Ditto.
2581 (WebCore::CSSStyleSelector::checkOneSelector):
2582 * html/HTMLInputElement.cpp: Send click events to new control
2583 (WebCore::HTMLInputElement::select):
2584 (WebCore::HTMLInputElement::click):
2585 (WebCore::HTMLInputElement::createRenderer):
2586 (WebCore::HTMLInputElement::valueWithDefault):
2587 (WebCore::HTMLInputElement::defaultEventHandler):
2588 * html/HTMLTextFieldInnerElement.h: Add 'virtual' keyword
2589 (WebCore::HTMLTextFieldInnerElement::shadowParentNode):
2590 * platform/FileButton.h: Removed.
2591 * platform/FileChooser.h: Added. This is the replacement for
2593 (WebCore::FileChooser::filename):
2594 (WebCore::FileChooser::icon):
2595 (WebCore::FileChooser::uploadControl):
2596 (WebCore::FileChooser::document):
2597 * platform/Icon.h: Added new platform-specific class representing a
2599 * platform/LocalizedStrings.h:
2600 * platform/mac/FileButtonMac.mm: Removed.
2601 * platform/mac/FileChooserMac.mm: Added. This is the replacement for
2603 (-[OpenPanelController initWithFileChooser:]):
2604 (-[OpenPanelController fileChooserDetachingSoon]):
2605 (-[OpenPanelController beginSheet]):
2606 (-[OpenPanelController chooseFilename:]):
2607 (-[OpenPanelController cancel]):
2608 (WebCore::FileChooser::FileChooser):
2609 (WebCore::FileChooser::~FileChooser):
2610 (WebCore::FileChooser::openFileChooser):
2611 (WebCore::FileChooser::basenameForWidth):
2612 (WebCore::FileChooser::uploadControlDetaching):
2613 (WebCore::FileChooser::chooseFile):
2614 * platform/mac/IconMac.mm: Added.
2615 (WebCore::Icon::Icon):
2616 (WebCore::Icon::~Icon):
2617 (WebCore::Icon::newIconForFile):
2618 (WebCore::Icon::paint):
2619 * platform/mac/LocalizedStringsMac.mm: Call across bridge to get
2621 (WebCore::fileButtonChooseFileLabel):
2622 (WebCore::fileButtonNoFileSelectedLabel):
2623 * rendering/RenderButton.cpp: Extract method setText() from
2625 (WebCore::RenderButton::updateFromElement):
2626 (WebCore::RenderButton::setText):
2627 * rendering/RenderButton.h: Add declaration for new setText method.
2628 * rendering/RenderFileButton.cpp: Removed.
2629 * rendering/RenderFileButton.h: Removed.
2630 * rendering/RenderFileUploadControl.cpp: Added. This is the
2631 replacement for RenderFileButton.cpp.
2632 (WebCore::RenderFileUploadInnerFileBox::renderName):
2633 (WebCore::HTMLFileUploadInnerButtonElement::isShadowNode):
2634 (WebCore::HTMLFileUploadInnerButtonElement::shadowParentNode):
2635 (WebCore::RenderFileUploadControl::RenderFileUploadControl):
2636 (WebCore::RenderFileUploadControl::~RenderFileUploadControl):
2637 (WebCore::RenderFileUploadControl::setStyle):
2638 (WebCore::RenderFileUploadControl::updateIconAndFilename):
2639 (WebCore::RenderFileUploadControl::click):
2640 (WebCore::RenderFileUploadControl::updateFromElement):
2641 (WebCore::RenderFileUploadControl::maxFilenameWidth):
2642 (WebCore::RenderFileUploadControl::createButtonStyle):
2643 (WebCore::RenderFileUploadControl::paintObject):
2644 (WebCore::RenderFileUploadInnerFileBox::RenderFileUploadInnerFileBox):
2645 (WebCore::RenderFileUploadInnerFileBox::setStyle):
2646 (WebCore::RenderFileUploadInnerFileBox::layout):
2647 (WebCore::RenderFileUploadInnerFileBox::setHasIcon):
2648 (WebCore::RenderFileUploadInnerFileBox::setFilename):
2649 (WebCore::RenderFileUploadInnerFileBox::calcMinMaxWidth):
2650 (WebCore::HTMLFileUploadInnerButtonElement::HTMLFileUploadInnerButtonElement):
2651 (WebCore::HTMLFileUploadInnerButtonElement::createRenderer):
2652 * rendering/RenderFileUploadControl.h: Added. This is the replacement
2653 for RenderFileButton.h.
2654 (WebCore::RenderFileUploadControl::renderName):
2655 * rendering/RenderStyle.cpp: Add support for
2656 -webkit-file-upload-button pseudo element.
2658 (WebCore::pseudoBit):
2659 * rendering/RenderStyle.h: Ditto.
2660 (WebCore::RenderStyle::):
2662 2006-09-12 Anders Carlsson <acarlsson@apple.com>
2664 Reviewed by John Sullivan.
2666 Do the plugin object cleanup in Frame::clear instead of setView.
2668 * bridge/mac/FrameMac.h:
2669 * bridge/mac/FrameMac.mm:
2670 (WebCore::FrameMac::setView):
2671 (WebCore::FrameMac::cleanupPluginObjects):
2673 (WebCore::Frame::clear):
2676 2006-09-12 MorganL <morlmor@yahoo.com>
2678 Reviewed/landed by aroben.
2680 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10822
2681 windows build is busted
2683 * WebCore.vcproj/WebCore/WebCore.vcproj: Add missing
2684 JSRangeException.{cpp,h} to project
2686 2006-09-12 David Hyatt <hyatt@apple.com>
2688 Fix fieldsets so that they properly expand to enclose overhanging floats
2689 when the fieldset has auto height. This is a nifty undocumented behavior
2690 of the fieldset element. The bug is 3898.
2694 Added fast/forms/fieldset-with-float.html
2696 * rendering/RenderBlock.cpp:
2697 (WebCore::RenderBlock::layoutBlock):
2698 * rendering/RenderFieldset.h:
2699 (WebCore::RenderFieldset::renderName):
2700 (WebCore::RenderFieldset::expandsToEncloseOverhangingFloats):
2701 * rendering/RenderObject.h:
2702 (WebCore::RenderObject::expandsToEncloseOverhangingFloats):
2703 * rendering/RenderTableCell.h:
2704 (WebCore::RenderTableCell::expandsToEncloseOverhangingFloats):
2706 2006-09-11 Eric Seidel <eric@eseidel.com>
2710 REGRESSION: When dragging a link on a page, the selected link doesn't display it's name or URL
2711 http://bugzilla.opendarwin.org/show_bug.cgi?id=10819
2712 http://bugzilla.opendarwin.org/show_bug.cgi?id=10814
2714 No test cases were harmed in the coding of the patch.
2716 * platform/mac/WebCoreTextRenderer.mm:
2717 (WebCoreDrawTextAtPoint):
2719 2006-09-11 David Hyatt <hyatt@apple.com>
2721 Fix for bug 8126, column widths apply to the border boxes of cells.
2725 * rendering/RenderTableCell.cpp:
2726 (WebCore::RenderTableCell::styleOrColWidth):
2728 2006-09-11 Nikolas Zimmermann <zimmermann@kde.org>
2734 * CMakeLists.txt: Add dom/RangeException.idl to build & fix feature defines.
2736 2006-09-11 Nikolas Zimmermann <zimmermann@kde.org>
2738 Reviewed by eseidel. Landed by eseidel.
2740 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10750
2742 This finally fixes the SVGAnimated* classes JS bindings!
2744 - Move all SVGAnimated*.idl files from ksvg2/bindings/idl/svg to ksvg2/svg
2745 - Adjust XCode/Qt build files to generate the new idl files
2747 - Remove all SVGAnimated* primitives cpp implementations (Angle/Boolean/Color/Enumeration/Integer/Length/
2748 LengthList/Number/NumberList/PreserveAspectRatio/
2749 Rect/String/TransformList)
2751 - Remove unneeded methods from CodeGenerator.pm and add new helper function: IsSVGAnimatedType
2752 - Adjust CodeGeneratorJS.pm to the new SVGAnimated* tear-off concept
2754 - Add two new macros: ANIMATED_PROPERTY_EMPTY_DECLARATIONS / ANIMATED_PROPERTY_FORWARD_DECLARATIONS.
2755 This is used to fix multiple-inheritance issues in SVG with properties,
2756 similar like SVGTests::isValid() was fixed.
2758 - Rewrote SVGList using WTF::Vector, instead of DeprecatedPtrList and killed DOMList.
2759 (SVGAnimated*Lists work again now)
2761 - Adjust macros in SVGElement to create the "*Animated" tear-off classes.
2763 - Adjust all SVG classes which use the ANIMATED macros to include the ClassName as first param in the header.
2766 * DerivedSources.make:
2767 * WebCore.xcodeproj/project.pbxproj:
2768 * bindings/scripts/CodeGenerator.pm:
2769 * bindings/scripts/CodeGeneratorJS.pm:
2770 * kcanvas/RenderSVGImage.cpp:
2771 (WebCore::RenderSVGImage::adjustRectsForAspectRatio):
2772 (WebCore::RenderSVGImage::paint):
2773 * kcanvas/RenderSVGText.cpp:
2774 (WebCore::RenderSVGText::translationForAttributes):
2776 * ksvg2/misc/SVGDocumentExtensions.h:
2777 (WebCore::FloatRect):
2778 * ksvg2/svg/SVGAElement.h:
2779 * ksvg2/svg/SVGAnimateColorElement.cpp:
2780 * ksvg2/svg/SVGAnimateColorElement.h:
2781 * ksvg2/svg/SVGAnimateTransformElement.h:
2782 * ksvg2/svg/SVGAnimatedTemplate.h:
2783 (WebCore::SVGAnimatedTemplate::~SVGAnimatedTemplate):
2784 * ksvg2/svg/SVGAnimationElement.h:
2785 * ksvg2/svg/SVGCircleElement.h:
2786 * ksvg2/svg/SVGClipPathElement.h:
2787 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
2788 (SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement):
2789 (SVGComponentTransferFunctionElement::transferFunction):
2790 * ksvg2/svg/SVGComponentTransferFunctionElement.h:
2791 * ksvg2/svg/SVGCursorElement.h:
2792 * ksvg2/svg/SVGDefsElement.h:
2793 * ksvg2/svg/SVGElement.h:
2794 * ksvg2/svg/SVGElementInstanceList.cpp:
2795 (WebCore::SVGElementInstanceList::SVGElementInstanceList):
2796 * ksvg2/svg/SVGElementInstanceList.h:
2797 * ksvg2/svg/SVGEllipseElement.h:
2798 * ksvg2/svg/SVGExternalResourcesRequired.h:
2799 * ksvg2/svg/SVGFEBlendElement.h:
2800 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
2801 (SVGFEColorMatrixElement::SVGFEColorMatrixElement):
2802 (SVGFEColorMatrixElement::parseMappedAttribute):
2803 (SVGFEColorMatrixElement::filterEffect):
2804 * ksvg2/svg/SVGFEColorMatrixElement.h:
2805 * ksvg2/svg/SVGFEComponentTransferElement.h:
2806 * ksvg2/svg/SVGFECompositeElement.h:
2807 * ksvg2/svg/SVGFEDiffuseLightingElement.h:
2808 * ksvg2/svg/SVGFEDisplacementMapElement.h:
2809 * ksvg2/svg/SVGFEFloodElement.h:
2810 * ksvg2/svg/SVGFEGaussianBlurElement.h:
2811 * ksvg2/svg/SVGFEImageElement.h:
2812 * ksvg2/svg/SVGFELightElement.h:
2813 * ksvg2/svg/SVGFEMergeNodeElement.h:
2814 * ksvg2/svg/SVGFEOffsetElement.h:
2815 * ksvg2/svg/SVGFESpecularLightingElement.h:
2816 * ksvg2/svg/SVGFETileElement.h:
2817 * ksvg2/svg/SVGFETurbulenceElement.h:
2818 * ksvg2/svg/SVGFilterElement.h:
2819 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
2820 * ksvg2/svg/SVGFitToViewBox.cpp:
2821 (WebCore::SVGFitToViewBox::SVGFitToViewBox):
2822 (WebCore::SVGFitToViewBox::parseViewBox):
2823 (WebCore::SVGFitToViewBox::viewBoxToViewTransform):
2824 * ksvg2/svg/SVGFitToViewBox.h:
2825 * ksvg2/svg/SVGForeignObjectElement.h:
2826 * ksvg2/svg/SVGGElement.h:
2827 * ksvg2/svg/SVGGradientElement.cpp:
2828 (SVGGradientElement::SVGGradientElement):
2829 * ksvg2/svg/SVGGradientElement.h:
2830 * ksvg2/svg/SVGHelper.cpp:
2831 (WebCore::SVGHelper::PercentageOfViewport):
2832 * ksvg2/svg/SVGImageElement.h:
2833 * ksvg2/svg/SVGLength.cpp:
2834 * ksvg2/svg/SVGLengthList.cpp:
2835 (WebCore::SVGLengthList::SVGLengthList):
2836 (WebCore::SVGLengthList::parse):
2837 * ksvg2/svg/SVGLengthList.h:
2838 * ksvg2/svg/SVGLineElement.h:
2839 * ksvg2/svg/SVGLinearGradientElement.h:
2840 * ksvg2/svg/SVGList.h:
2841 (WebCore::SVGListBase::SVGListBase):
2842 (WebCore::SVGListBase::~SVGListBase):
2843 (WebCore::SVGListBase::numberOfItems):
2844 (WebCore::SVGListBase::clear):
2845 (WebCore::SVGListBase::initialize):
2846 (WebCore::SVGListBase::getFirst):
2847 (WebCore::SVGListBase::getLast):
2848 (WebCore::SVGListBase::getItem):
2849 (WebCore::SVGListBase::insertItemBefore):
2850 (WebCore::SVGListBase::replaceItem):
2851 (WebCore::SVGListBase::removeItem):
2852 (WebCore::SVGListBase::appendItem):
2853 (WebCore::SVGList::nullItem):
2855 * ksvg2/svg/SVGLocatable.cpp:
2856 * ksvg2/svg/SVGMarkerElement.h:
2857 * ksvg2/svg/SVGMaskElement.h:
2858 * ksvg2/svg/SVGNumberList.cpp:
2859 (SVGNumberList::SVGNumberList):
2860 (SVGNumberList::parse):
2861 * ksvg2/svg/SVGNumberList.h:
2862 * ksvg2/svg/SVGPathElement.cpp:
2863 (WebCore::SVGPathElement::pathSegList):
2864 * ksvg2/svg/SVGPathElement.h:
2865 * ksvg2/svg/SVGPathSegList.cpp:
2866 (WebCore::SVGPathSegList::SVGPathSegList):
2867 * ksvg2/svg/SVGPathSegList.h:
2868 * ksvg2/svg/SVGPatternElement.cpp:
2869 (WebCore::SVGPatternElement::SVGPatternElement):
2870 * ksvg2/svg/SVGPatternElement.h:
2871 * ksvg2/svg/SVGPointList.cpp:
2872 (SVGPointList::SVGPointList):
2873 * ksvg2/svg/SVGPointList.h:
2874 * ksvg2/svg/SVGPolyElement.cpp:
2875 (SVGPolyElement::points):
2876 (SVGPolyElement::svgPolyTo):
2877 (SVGPolyElement::notifyAttributeChange):
2878 * ksvg2/svg/SVGPolyElement.h:
2879 * ksvg2/svg/SVGPolygonElement.cpp:
2880 (SVGPolygonElement::toPathData):
2881 * ksvg2/svg/SVGPolylineElement.cpp:
2882 (SVGPolylineElement::toPathData):
2883 * ksvg2/svg/SVGPreserveAspectRatio.h:
2884 (WebCore::SVGPreserveAspectRatio::):
2885 * ksvg2/svg/SVGRadialGradientElement.h:
2886 * ksvg2/svg/SVGRectElement.h:
2887 * ksvg2/svg/SVGSVGElement.cpp:
2888 (WebCore::SVGSVGElement::SVGSVGElement):
2889 (WebCore::SVGSVGElement::parseMappedAttribute):
2890 (WebCore::SVGSVGElement::createRenderer):
2891 * ksvg2/svg/SVGSVGElement.h:
2892 * ksvg2/svg/SVGScriptElement.h:
2893 * ksvg2/svg/SVGStopElement.h:
2894 * ksvg2/svg/SVGStringList.cpp:
2895 (WebCore::SVGStringList::SVGStringList):
2896 (WebCore::SVGStringList::reset):
2897 * ksvg2/svg/SVGStringList.h:
2898 * ksvg2/svg/SVGStyledElement.h:
2899 * ksvg2/svg/SVGStyledLocatableElement.cpp:
2900 * ksvg2/svg/SVGStyledTransformableElement.cpp:
2901 (SVGStyledTransformableElement::SVGStyledTransformableElement):
2902 * ksvg2/svg/SVGStyledTransformableElement.h:
2903 * ksvg2/svg/SVGSwitchElement.h:
2904 * ksvg2/svg/SVGSymbolElement.h:
2905 * ksvg2/svg/SVGTRefElement.h:
2906 * ksvg2/svg/SVGTests.cpp:
2907 (WebCore::SVGTests::isValid):
2908 * ksvg2/svg/SVGTextContentElement.h:
2909 * ksvg2/svg/SVGTextElement.cpp:
2910 (WebCore::SVGTextElement::SVGTextElement):
2911 * ksvg2/svg/SVGTextElement.h:
2912 * ksvg2/svg/SVGTextPositioningElement.cpp:
2913 (SVGTextPositioningElement::SVGTextPositioningElement):
2914 (SVGTextPositioningElement::parseMappedAttribute):
2915 * ksvg2/svg/SVGTextPositioningElement.h:
2916 * ksvg2/svg/SVGTransformList.cpp:
2917 (SVGTransformList::SVGTransformList):
2918 (SVGTransformList::createSVGTransformFromMatrix):
2919 (SVGTransformList::consolidate):
2920 (SVGTransformList::concatenate):
2921 * ksvg2/svg/SVGTransformList.h:
2922 * ksvg2/svg/SVGURIReference.h:
2923 * ksvg2/svg/SVGUseElement.h:
2924 * ksvg2/svg/SVGViewElement.h:
2926 2006-09-11 Adam Roben <aroben@apple.com>
2928 Rubberstamped by Adele.
2930 Rename LocalGraphicsContext.{h,mm} to
2931 LocalCurrentGraphicsContext.{h,mm} to match the class name.
2933 * WebCore.xcodeproj/project.pbxproj:
2934 * platform/mac/LocalCurrentGraphicsContext.mm: Added.
2935 * platform/mac/LocalCurrentGraphicsContext.h: Added.
2936 * platform/mac/LocalGraphicsContext.h: Removed.
2937 * platform/mac/LocalGraphicsContext.mm: Removed.
2938 * rendering/RenderThemeMac.mm: Fix #include to match renamed file
2940 2006-09-11 Brady Eidson <beidson@apple.com>
2944 * WebCore.xcodeproj/project.pbxproj:
2946 2006-09-11 Kevin McCullough <KMcCullough@apple.com>
2950 - Implements comparePoint on the Range class
2952 - Exposes RangeExceptions in JavaScript
2954 * DerivedSources.make:
2955 * WebCore.xcodeproj/project.pbxproj:
2956 * bindings/js/kjs_binding.cpp:
2957 * bindings/objc/DOMInternal.mm:
2959 (WebCore::Range::comparePoint):
2960 (WebCore::Range::compareNode):
2964 * dom/RangeException.h: Added.
2966 * dom/RangeException.idl: Added.
2967 * page/DOMWindow.idl:
2969 2006-09-11 Adam Roben <aroben@apple.com>
2973 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10812
2974 Move LocalGraphicsContext out of RenderThemeMac
2976 * WebCore.xcodeproj/project.pbxproj:
2977 * platform/mac/LocalGraphicsContext.h: Added.
2978 * platform/mac/LocalGraphicsContext.mm: Added.
2979 (WebCore::LocalCurrentGraphicsContext::LocalCurrentGraphicsContext):
2980 (WebCore::LocalCurrentGraphicsContext::~LocalCurrentGraphicsContext):
2981 * rendering/RenderThemeMac.mm:
2983 2006-09-11 Vladimir Olexa <vladimir.olexa@gmail.com>
2987 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10323
2988 REGRESSION: javascript: URL containing '\\' gets passed as '//'
2990 Test: fast/dom/javascript-backslash.html
2992 * platform/KURL.cpp: (WebCore::KURL::init): Don't do backslash
2993 substitution in JavaScript URLs.
2995 2006-09-11 Sam Weinig <sam.weinig@gmail.com>
2997 Reviewed by Darin and Tim H.
2999 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10792
3000 Remove the [Exclude=LANGUAGE] idiom from IDL's and code generators
3001 for something better
3003 - Replaces [Exclude=LANGUAGE] idiom with preprocessor #if defined(LANGUAGE)
3006 - Assorted whitespace changes to IDL files.
3008 * DerivedSources.make:
3009 * WebCore.xcodeproj/project.pbxproj:
3010 * bindings/objc/DOMEvents.h:
3011 * bindings/scripts/CodeGenerator.pm:
3012 * bindings/scripts/CodeGeneratorJS.pm:
3013 * bindings/scripts/CodeGeneratorObjC.pm:
3015 * css/CSSStyleDeclaration.idl:
3017 * dom/DOMImplementation.idl:
3021 * dom/KeyboardEvent.idl:
3022 * dom/MouseEvent.idl:
3023 * dom/NamedNodeMap.idl:
3024 * dom/NodeFilter.idl:
3026 * dom/WheelEvent.idl:
3027 * html/HTMLAnchorElement.idl:
3028 * html/HTMLAreaElement.idl:
3029 * html/HTMLDocument.idl:
3030 * html/HTMLElement.idl:
3031 * html/HTMLImageElement.idl:
3032 * html/HTMLInputElement.idl:
3033 * html/HTMLLinkElement.idl:
3034 * html/HTMLOptionsCollection.idl:
3036 2006-09-11 David Hyatt <hyatt@apple.com>
3038 Fix an unwitting victim of the kMin->min change. calcBlockMinMaxWidth
3039 was accidentally renamed to calcBlominMaxWidth.
3041 * rendering/RenderBlock.cpp:
3042 (WebCore::RenderBlock::calcMinMaxWidth):
3043 (WebCore::RenderBlock::calcBlockMinMaxWidth):
3044 * rendering/RenderBlock.h:
3046 2006-09-10 David Hyatt <hyatt@apple.com>
3048 Rework the printer font stuff a little bit so that the Font API doesn't
3053 * WebCore.xcodeproj/project.pbxproj:
3054 * bridge/mac/WebCoreStringTruncator.mm:
3056 (+[WebCoreStringTruncator widthOfString:font:]):
3057 * platform/Font.cpp:
3058 (WebCore::Font::drawSimpleText):
3060 * platform/TextStyle.h:
3061 (WebCore::TextStyle::TextStyle):
3062 (WebCore::TextStyle::attemptFontSubstitution):
3063 (WebCore::TextStyle::setRTL):
3064 * platform/mac/FontMac.mm:
3065 (WebCore::m_wordSpacing):
3066 (WebCore::Font::drawGlyphs):
3067 * platform/mac/ListBoxMac.mm:
3069 (groupLabelTextRenderer):
3070 (-[WebCoreTableView drawRow:clipRect:]):
3071 * platform/mac/PopUpButtonMac.mm:
3072 (PopUpButton::sizeHint):
3073 * platform/mac/TextFieldMac.mm:
3074 (-[NSSearchFieldCell _addStringToRecentSearches:]):
3075 * platform/mac/WebCoreTextRenderer.mm:
3076 (WebCoreDrawTextAtPoint):
3077 (WebCoreTextFloatWidth):
3078 * rendering/EllipsisBox.cpp:
3079 (WebCore::EllipsisBox::paint):
3080 * rendering/InlineTextBox.cpp:
3081 (WebCore::InlineTextBox::paint):
3082 * rendering/RenderImage.cpp:
3083 (WebCore::RenderImage::paint):
3084 * rendering/RenderListMarker.cpp:
3085 (WebCore::RenderListMarker::paint):
3087 2006-09-10 Brady Eidson <beidson@apple.com>
3091 Small cleanups + future plans
3093 * loader/icon/IconDatabase.cpp:
3094 (WebCore::IconDatabase::open): path separator cleanup
3097 2006-09-10 Brady Eidson <beidson@apple.com>
3101 Added specialized HashTraits
3103 * platform/IntSizeHash.h:
3105 2006-09-10 Brady Eidson <beidson@apple.com>
3107 Forgetting header #define protection is BAAAAAD
3108 (and re-alphabetized the project file)
3110 * WebCore.xcodeproj/project.pbxproj:
3111 * platform/IntSizeHash.h:
3113 2006-09-10 Brady Eidson <beidson@apple.com>
3117 Moved the custom IntSize hash out of IconDatabase into a more generally useful file
3119 * WebCore.xcodeproj/project.pbxproj:
3120 * loader/icon/IconDatabase.h:
3121 * platform/IntSizeHash.h: Added.
3123 2006-09-10 David Hyatt <hyatt@apple.com>
3125 Fix for bug 10801, form controls that get styled suddenly lose their
3126 intrinsic margins. Move the intrinsic margin addition code into
3127 adjustRenderStyle and get it out of the theme code and the old form control
3132 * css/cssstyleselector.cpp:
3133 (WebCore::addIntrinsicMargins):
3134 (WebCore::CSSStyleSelector::adjustRenderStyle):
3136 * rendering/DeprecatedRenderSelect.h:
3137 (WebCore::DeprecatedRenderSelect::calcReplacedHeight):
3138 * rendering/DeprecatedSlider.h:
3139 * rendering/RenderFormElement.cpp:
3140 (WebCore::RenderFormElement::setStyle):
3141 * rendering/RenderFormElement.h:
3142 * rendering/RenderLayer.cpp:
3143 (WebCore::RenderLayer::resize):
3144 * rendering/RenderThemeMac.h:
3145 * rendering/RenderThemeMac.mm:
3146 (WebCore::RenderThemeMac::adjustButtonStyle):
3147 (WebCore::RenderThemeMac::adjustTextFieldStyle):
3148 (WebCore::RenderThemeMac::adjustTextAreaStyle):
3149 (WebCore::RenderThemeMac::adjustMenuListStyle):
3150 (WebCore::RenderThemeMac::adjustMenuListButtonStyle):
3151 * rendering/RenderThemeWin.cpp:
3152 (WebCore::RenderThemeWin::adjustButtonStyle):
3153 (WebCore::RenderThemeWin::adjustTextFieldStyle):
3154 (WebCore::RenderThemeWin::adjustTextAreaStyle):
3156 2006-09-10 Darin Adler <darin@apple.com>
3158 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10547
3160 * manual-tests/target-test.html: Added.
3161 * manual-tests/targeted.html: Added.
3163 2006-09-10 Eric Seidel <eric@eseidel.com>
3167 Remove a bunch more NSGraphicsContext related code.
3168 Add a LocalCurrentGraphicsContext to simplify methods which need to call up into AppKit controls (and thus depend on the [NSGraphicsContext currentContext] being set correctly)
3169 Add an "isPrinting" flag to many of the text drawing functions in order to avoid the need for a GraphicsContext::isPrinting() function.
3171 No tests were harmed in the making of this patch.
3173 * bridge/mac/WebCoreFrameBridge.mm:
3174 (-[WebCoreFrameBridge drawRect:]):
3175 * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
3176 (WebCore::KRenderingDeviceContextQuartz::cgContext):
3177 (WebCore::KRenderingDeviceQuartz::isBuffered):
3178 * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
3179 (WebCore::KRenderingDeviceContextQuartz::KRenderingDeviceContextQuartz):
3180 (WebCore::KRenderingDeviceContextQuartz::~KRenderingDeviceContextQuartz):
3181 * kcanvas/device/quartz/QuartzSupport.mm:
3182 * platform/Font.cpp:
3183 (WebCore::Font::drawSimpleText):
3184 (WebCore::Font::drawText):
3186 * platform/GraphicsContext.cpp:
3187 (WebCore::GraphicsContext::drawText):
3188 * platform/GraphicsContext.h:
3189 * platform/mac/FileButtonMac.mm:
3190 (-[WebFileChooserButton drawRect:]):
3191 * platform/mac/FontMac.mm:
3192 (WebCore::ATSULayoutParameters::ATSULayoutParameters):
3193 (WebCore::ATSULayoutParameters::initialize):
3194 (WebCore::Font::drawComplexText):
3195 (WebCore::Font::drawGlyphs):
3196 * platform/mac/GraphicsContextMac.mm:
3197 (WebCore::GraphicsContext::drawLineForMisspelling):
3198 * platform/mac/ListBoxMac.mm:
3199 (-[WebCoreTableView drawRow:clipRect:]):
3200 * platform/mac/WebCoreTextRenderer.mm:
3201 (WebCoreDrawTextAtPoint):
3202 * rendering/EllipsisBox.cpp:
3203 (WebCore::EllipsisBox::paint):
3204 * rendering/InlineTextBox.cpp:
3205 (WebCore::InlineTextBox::paint):
3206 * rendering/RenderImage.cpp:
3207 (WebCore::RenderImage::paint):
3208 * rendering/RenderListMarker.cpp:
3209 (WebCore::RenderListMarker::paint):
3210 * rendering/RenderThemeMac.mm:
3211 (WebCore::WebCoreNSGraphicsContextBridge::WebCoreNSGraphicsContextBridge):
3212 (WebCore::WebCoreNSGraphicsContextBridge::~WebCoreNSGraphicsContextBridge):
3213 (WebCore::RenderThemeMac::paintButton):
3214 (WebCore::RenderThemeMac::paintTextField):
3215 (WebCore::RenderThemeMac::paintTextArea):
3217 2006-09-09 Steve Falkenburg <sfalken@apple.com>
3221 Fixes to work with string API changes.
3223 * platform/cf/ResourceLoaderCFNet.cpp:
3224 (WebCore::arrayFromFormData):
3225 (WebCore::ResourceLoader::start):
3226 * platform/cf/StringCF.cpp:
3227 * platform/cf/StringImplCF.cpp:
3229 2006-09-09 David Hyatt <hyatt@apple.com>
3231 Fix for Bugzilla bug 5500, scrollLeft/Top/Width/Height properties not supported
3232 on textarea. Refactored the DOM getters and setters to go through the renderer
3233 instead of right to the layer. The renderer functions are virtual so that the
3234 text control can subclass and forward to its anonymous div.
3236 Fix for Bugzilla bug 10719, When positioned objects are sizing using their
3237 containing block width as a guide, they should not ever use the line width like
3238 non-positioned objects do.
3242 * WebCore.xcodeproj/project.pbxproj:
3244 (WebCore::Element::scrollLeft):
3245 (WebCore::Element::scrollTop):
3246 (WebCore::Element::setScrollLeft):
3247 (WebCore::Element::setScrollTop):
3248 * rendering/RenderBox.cpp:
3249 (WebCore::RenderBox::containingBlockWidthForPositioned):
3250 * rendering/RenderObject.cpp:
3251 (WebCore::RenderObject::clientWidth):
3252 (WebCore::RenderObject::clientHeight):
3253 (WebCore::RenderObject::scrollWidth):
3254 (WebCore::RenderObject::scrollHeight):
3255 (WebCore::RenderObject::scrollLeft):
3256 (WebCore::RenderObject::scrollTop):
3257 (WebCore::RenderObject::setScrollLeft):
3258 (WebCore::RenderObject::setScrollTop):
3259 (WebCore::RenderObject::hasStaticX):
3260 (WebCore::RenderObject::hasStaticY):
3261 * rendering/RenderObject.h:
3262 (WebCore::RenderObject::clientLeft):
3263 (WebCore::RenderObject::clientTop):
3264 * rendering/RenderTextControl.cpp:
3265 (WebCore::RenderTextControl::scrollWidth):
3266 (WebCore::RenderTextControl::scrollHeight):
3267 (WebCore::RenderTextControl::scrollLeft):
3268 (WebCore::RenderTextControl::scrollTop):
3269 (WebCore::RenderTextControl::setScrollLeft):
3270 (WebCore::RenderTextControl::setScrollTop):
3271 * rendering/RenderTextControl.h:
3273 2006-09-09 David Hyatt <hyatt@apple.com>
3275 Implement support for the WinIE clientLeft and clientTop extensions.
3280 (WebCore::Element::clientLeft):
3281 (WebCore::Element::clientTop):
3284 * rendering/RenderObject.h:
3285 (WebCore::RenderObject::clientLeft):
3286 (WebCore::RenderObject::clientTop):
3288 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
3292 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10795
3293 Auto-generate the Objective-C DOM XPath bindings
3295 - Auto-generates DOMXPathExpression, DOMXPathNSResolver and DOMXPathResult.
3297 * DerivedSources.make:
3298 * WebCore.xcodeproj/project.pbxproj:
3299 * bindings/objc/DOMPrivate.h:
3300 * bindings/objc/DOMXPath.h:
3301 * bindings/objc/DOMXPath.mm:
3302 * bindings/objc/PublicDOMInterfaces.h:
3303 * xml/XPathExpression.idl:
3304 * xml/XPathNSResolver.idl:
3305 * xml/XPathResult.idl:
3307 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
3311 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10791
3312 Even More Objective-C DOM auto-generation cleanup
3314 - Auto-generate some remaining extension methods for DOMDocument
3315 and DOMCSSStyleDeclaration.
3317 - Split DOMHTMLEmbedElement into it's own files. It can't be
3318 auto-generated yet because the Objective-C interface is significantly
3319 different from the implementation interface. Since HTMLEmbedElement
3320 is not in the W3C spec, this is somewhat of a gray area.
3322 - Auto-generate DOMEventListener protocol.
3324 - Clean up the IDL files by separating the extensions from the
3325 specified methods and attributes.
3327 * DerivedSources.make:
3328 * WebCore.xcodeproj/project.pbxproj:
3329 * bindings/objc/DOM.mm:
3330 * bindings/objc/DOMCSS.mm:
3331 * bindings/objc/DOMEventListener.h: Removed.
3332 * bindings/objc/DOMExtensions.h:
3333 * bindings/objc/DOMHTML.h:
3334 * bindings/objc/DOMHTML.mm:
3335 * bindings/objc/DOMHTMLEmbedElement.h: Added.
3336 * bindings/objc/DOMHTMLEmbedElement.mm: Added.
3337 (-[DOMHTMLEmbedElement align]):
3338 (-[DOMHTMLEmbedElement setAlign:]):
3339 (-[DOMHTMLEmbedElement height]):
3340 (-[DOMHTMLEmbedElement setHeight:]):
3341 (-[DOMHTMLEmbedElement name]):
3342 (-[DOMHTMLEmbedElement setName:]):
3343 (-[DOMHTMLEmbedElement src]):
3344 (-[DOMHTMLEmbedElement setSrc:]):
3345 (-[DOMHTMLEmbedElement type]):
3346 (-[DOMHTMLEmbedElement setType:]):
3347 (-[DOMHTMLEmbedElement width]):
3348 (-[DOMHTMLEmbedElement setWidth:]):
3349 * bindings/objc/DOMPrivate.h:
3350 * bindings/objc/PublicDOMInterfaces.h:
3351 * css/CSSStyleDeclaration.idl:
3353 * dom/KeyboardEvent.h:
3354 * dom/KeyboardEvent.idl:
3355 * dom/MouseEvent.idl:
3356 * dom/MutationEvent.idl:
3357 * dom/OverflowEvent.idl:
3359 * dom/WheelEvent.idl:
3360 * html/HTMLEmbedElement.idl: Added.
3362 2006-09-09 Eric Seidel <eric@eseidel.com>
3366 Remove DeprecatedString usage and fix style.
3367 http://bugzilla.opendarwin.org/show_bug.cgi?id=10787
3369 No tests were harmed in the making of this patch.
3371 * kcanvas/KCanvasFilters.cpp:
3372 (WebCore::KCanvasFilterEffect::in):
3373 (WebCore::KCanvasFilterEffect::setIn):
3374 (WebCore::KCanvasFilterEffect::result):
3375 (WebCore::KCanvasFilterEffect::setResult):
3376 (WebCore::KCanvasFEMerge::externalRepresentation):
3377 * kcanvas/KCanvasFilters.h:
3378 (WebCore::KCanvasFEBlend::in2):
3379 (WebCore::KCanvasFEBlend::setIn2):
3380 (WebCore::KCanvasFEComposite::in2):
3381 (WebCore::KCanvasFEComposite::setIn2):
3382 (WebCore::KCanvasFEDisplacementMap::in2):
3383 (WebCore::KCanvasFEDisplacementMap::setIn2):
3384 (WebCore::KCanvasFEMerge::mergeInputs):
3385 (WebCore::KCanvasFEMerge::setMergeInputs):
3386 * kcanvas/KCanvasResources.cpp:
3387 (WebCore::KCanvasResource::idInRegistry):
3388 (WebCore::KCanvasResource::setIdInRegistry):
3389 (WebCore::getResourceById):
3390 * kcanvas/KCanvasResources.h:
3391 * kcanvas/RenderPath.cpp:
3392 (WebCore::RenderPath::getAbsoluteRepaintRect):
3393 (WebCore::RenderPath::paint):
3394 (WebCore::RenderPath::drawMarkersIfNeeded):
3395 * kcanvas/RenderSVGContainer.cpp:
3396 (WebCore::RenderSVGContainer::paint):
3397 (WebCore::RenderSVGContainer::getAbsoluteRepaintRect):
3398 * kcanvas/RenderSVGImage.cpp:
3399 (WebCore::RenderSVGImage::paint):
3400 (WebCore::RenderSVGImage::getAbsoluteRepaintRect):
3401 * kcanvas/RenderSVGText.cpp:
3402 (WebCore::RenderSVGText::paint):
3403 * kcanvas/device/KRenderingPaintServer.h:
3404 (WebCore::KRenderingPaintServer::idInRegistry):
3405 (WebCore::KRenderingPaintServer::setIdInRegistry):
3406 * kcanvas/device/quartz/KCanvasFilterQuartz.h:
3407 * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
3408 (WebCore::KCanvasFilterQuartz::imageForName):
3409 (WebCore::KCanvasFilterQuartz::setImageForName):
3410 (WebCore::KCanvasFEMergeQuartz::getCIFilter):
3411 * ksvg2/css/SVGCSSStyleSelector.cpp:
3412 (WebCore::CSSStyleSelector::applySVGProperty):
3413 * ksvg2/css/SVGRenderStyle.cpp:
3414 * ksvg2/css/SVGRenderStyle.h:
3415 * ksvg2/css/SVGRenderStyleDefs.h:
3416 * ksvg2/ecma/GlobalObject.cpp:
3417 (GlobalObject::get):
3418 * ksvg2/misc/KSVGTimeScheduler.cpp:
3419 (WebCore::SVGTimer::notifyAll):
3420 * ksvg2/svg/SVGDescElement.cpp:
3421 (WebCore::SVGDescElement::SVGDescElement):
3422 (WebCore::SVGDescElement::description):
3423 * ksvg2/svg/SVGDescElement.h:
3424 * ksvg2/svg/SVGFEBlendElement.cpp:
3425 (WebCore::SVGFEBlendElement::SVGFEBlendElement):
3426 (WebCore::SVGFEBlendElement::filterEffect):
3427 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
3428 (SVGFEColorMatrixElement::SVGFEColorMatrixElement):
3429 (SVGFEColorMatrixElement::filterEffect):
3430 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
3431 (WebCore::SVGFEComponentTransferElement::SVGFEComponentTransferElement):
3432 (WebCore::SVGFEComponentTransferElement::filterEffect):
3433 * ksvg2/svg/SVGFECompositeElement.cpp:
3434 (SVGFECompositeElement::SVGFECompositeElement):
3435 (SVGFECompositeElement::filterEffect):
3436 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
3437 (WebCore::SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement):
3438 (WebCore::SVGFEDiffuseLightingElement::filterEffect):
3439 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
3440 (SVGFEDisplacementMapElement::SVGFEDisplacementMapElement):
3441 (SVGFEDisplacementMapElement::filterEffect):
3442 * ksvg2/svg/SVGFEFloodElement.cpp:
3443 (WebCore::SVGFEFloodElement::SVGFEFloodElement):
3444 (WebCore::SVGFEFloodElement::filterEffect):
3445 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
3446 (SVGFEGaussianBlurElement::SVGFEGaussianBlurElement):
3447 (SVGFEGaussianBlurElement::filterEffect):
3448 * ksvg2/svg/SVGFELightElement.cpp:
3449 * ksvg2/svg/SVGFEMergeElement.cpp:
3450 (SVGFEMergeElement::filterEffect):
3451 * ksvg2/svg/SVGFEOffsetElement.cpp:
3452 (SVGFEOffsetElement::SVGFEOffsetElement):
3453 (SVGFEOffsetElement::filterEffect):
3454 * ksvg2/svg/SVGFESpecularLightingElement.cpp:
3455 (SVGFESpecularLightingElement::SVGFESpecularLightingElement):
3456 (SVGFESpecularLightingElement::filterEffect):
3457 * ksvg2/svg/SVGFETileElement.cpp:
3458 (WebCore::SVGFETileElement::SVGFETileElement):
3459 (WebCore::SVGFETileElement::filterEffect):
3460 * ksvg2/svg/SVGFETurbulenceElement.cpp:
3461 (SVGFETurbulenceElement::SVGFETurbulenceElement):
3462 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
3463 (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
3464 * ksvg2/svg/SVGFitToViewBox.cpp:
3465 (WebCore::SVGFitToViewBox::parseViewBox):
3466 (WebCore::SVGFitToViewBox::parseMappedAttribute):
3467 * ksvg2/svg/SVGFitToViewBox.h:
3468 * ksvg2/svg/SVGLinearGradientElement.cpp:
3469 (SVGLinearGradientElement::buildGradient):
3470 * ksvg2/svg/SVGPatternElement.cpp:
3471 (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
3472 (WebCore::SVGPatternElement::notifyAttributeChange):
3473 * ksvg2/svg/SVGPreserveAspectRatio.cpp:
3474 (WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio):
3475 (WebCore::SVGPreserveAspectRatio::parsePreserveAspectRatio):
3476 (WebCore::SVGPreserveAspectRatio::getCTM):
3477 * ksvg2/svg/SVGPreserveAspectRatio.h:
3478 * ksvg2/svg/SVGRadialGradientElement.cpp:
3479 (WebCore::SVGRadialGradientElement::buildGradient):
3480 * ksvg2/svg/SVGStyleElement.cpp:
3481 * ksvg2/svg/SVGStyledTransformableElement.cpp:
3482 * ksvg2/svg/SVGViewElement.cpp:
3483 (WebCore::SVGViewElement::SVGViewElement):
3484 (WebCore::SVGViewElement::parseMappedAttribute):
3485 * ksvg2/svg/SVGZoomAndPan.cpp:
3486 (WebCore::SVGZoomAndPan::SVGZoomAndPan):
3488 2006-09-08 Darin Adler <darin@apple.com>
3492 <rdar://problem/4699166> REGRESSION: Background images in Mail stationery do not load
3494 Fixes the quoting logic. The previous logic did not account for the
3495 CSS tokenizer's regex character range between * and ~ as valid in URL types.
3497 * css/CSSPrimitiveValue.cpp:
3498 (WebCore::isCSSTokenizerURL):
3500 2006-09-09 Alexey Proskuryakov <ap@nypop.com>
3504 - http://bugzilla.opendarwin.org/show_bug.cgi?id=10759
3505 fast/AppleScript/array.html test failing
3507 * bridge/mac/WebCoreFrameBridge.mm:
3508 (aeDescFromJSValue): Convert integer values to typeSInt32 AE descriptors.
3510 2006-09-08 Eric Seidel <eric@eseidel.com>
3514 Replace incorrect fooBaseValue() calls with foo() calls instead.
3515 http://bugzilla.opendarwin.org/show_bug.cgi?id=10746
3517 With the previously broken animation system, we had both base and anim values
3518 but they were not automatically connected/disconnected when animation started and stopped.
3519 So the animVals were basically never used (since they were always wrong).
3520 Now, animVal and baseVal are handled correctly.
3522 There are only 3 places in the code where we will ever need to use the BaseValue accessor variants.
3523 1. SVGAnimated* DOM bindings
3525 3. parseMappedAttribute implementations
3527 * kcanvas/RenderForeignObject.cpp:
3528 (WebCore::RenderForeignObject::translationForAttributes):
3529 * kcanvas/RenderSVGImage.cpp:
3530 (WebCore::RenderSVGImage::paint):
3531 (WebCore::RenderSVGImage::relativeBBox):
3532 (WebCore::RenderSVGImage::getAbsoluteRepaintRect):
3533 (WebCore::RenderSVGImage::translationForAttributes):
3534 * kcanvas/RenderSVGText.cpp:
3535 (WebCore::RenderSVGText::translationForAttributes):
3536 * ksvg2/misc/SVGImageLoader.cpp:
3537 (WebCore::SVGImageLoader::updateFromElement):
3538 * ksvg2/svg/SVGAElement.cpp:
3539 (WebCore::SVGAElement::defaultEventHandler):
3540 * ksvg2/svg/SVGCircleElement.cpp:
3541 (SVGCircleElement::parseMappedAttribute):
3542 (SVGCircleElement::toPathData):
3543 (SVGCircleElement::pushAttributeContext):
3544 (SVGCircleElement::hasPercentageValues):
3545 * ksvg2/svg/SVGClipPathElement.cpp:
3546 (SVGClipPathElement::canvasResource):
3547 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
3548 (SVGComponentTransferFunctionElement::transferFunction):
3549 * ksvg2/svg/SVGCursorElement.cpp:
3550 (SVGCursorElement::parseMappedAttribute):
3551 * ksvg2/svg/SVGEllipseElement.cpp:
3552 (WebCore::SVGEllipseElement::parseMappedAttribute):
3553 (WebCore::SVGEllipseElement::toPathData):
3554 (WebCore::SVGEllipseElement::pushAttributeContext):
3555 (WebCore::SVGEllipseElement::hasPercentageValues):
3556 * ksvg2/svg/SVGFEBlendElement.cpp:
3557 (SVGFEBlendElement::filterEffect):
3558 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
3559 (SVGFEColorMatrixElement::filterEffect):
3560 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
3561 (SVGFEComponentTransferElement::filterEffect):
3562 * ksvg2/svg/SVGFECompositeElement.cpp:
3563 (SVGFECompositeElement::filterEffect):
3564 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
3565 (WebCore::SVGFEDiffuseLightingElement::filterEffect):
3566 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
3567 (SVGFEDisplacementMapElement::filterEffect):
3568 * ksvg2/svg/SVGFEDistantLightElement.cpp:
3569 (WebCore::SVGFEDistantLightElement::lightSource):
3570 * ksvg2/svg/SVGFEFloodElement.cpp:
3571 (SVGFEFloodElement::filterEffect):
3572 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
3573 (SVGFEGaussianBlurElement::filterEffect):
3574 * ksvg2/svg/SVGFEImageElement.cpp:
3575 (SVGFEImageElement::parseMappedAttribute):
3576 * ksvg2/svg/SVGFEMergeElement.cpp:
3577 (SVGFEMergeElement::SVGFEMergeElement):
3578 (SVGFEMergeElement::filterEffect):
3579 * ksvg2/svg/SVGFEOffsetElement.cpp:
3580 (SVGFEOffsetElement::filterEffect):
3581 * ksvg2/svg/SVGFEPointLightElement.cpp:
3582 (WebCore::SVGFEPointLightElement::SVGFEPointLightElement):
3583 (WebCore::SVGFEPointLightElement::lightSource):
3584 * ksvg2/svg/SVGFESpecularLightingElement.cpp:
3585 (SVGFESpecularLightingElement::filterEffect):
3586 * ksvg2/svg/SVGFESpotLightElement.cpp:
3587 (WebCore::SVGFESpotLightElement::lightSource):
3588 * ksvg2/svg/SVGFETileElement.cpp:
3589 (SVGFETileElement::filterEffect):
3590 * ksvg2/svg/SVGFETurbulenceElement.cpp:
3591 (SVGFETurbulenceElement::filterEffect):
3592 * ksvg2/svg/SVGFilterElement.cpp: