2006-09-27 Eric Seidel <eric@eseidel.com>
[WebKit-https.git] / WebCore / ChangeLog
1 2006-09-27  Eric Seidel  <eric@eseidel.com>
2
3         Reviewed by mitz.
4
5         paths with no fill specified default to black but do not recieve paint-related mouse events
6         http://bugzilla.opendarwin.org/show_bug.cgi?id=11069
7         The default fill was being applied at the wrong place in the rendering chain, causing this problem.
8
9         Test: svg/custom/hover-default-fill.svg
10
11         * kcanvas/RenderPath.cpp:
12         (WebCore::RenderPath::nodeAtPoint): use isFilled and isStroked
13         * ksvg2/css/SVGRenderStyle.h: use defaultFill() and defaultStroke()
14         * ksvg2/misc/KCanvasRenderingStyle.cpp:
15         (WebCore::KSVGPainterFactory::isFilled): remove null check
16         (WebCore::KSVGPainterFactory::fillPaintServer): remove null check
17         (WebCore::KSVGPainterFactory::isStroked): remove null check
18         (WebCore::KSVGPainterFactory::strokePaintServer): remove null check
19         * ksvg2/svg/SVGPaint.cpp:
20         (WebCore::SVGPaint::defaultFill): added.
21         (WebCore::SVGPaint::defaultStroke): added.
22         * ksvg2/svg/SVGPaint.h:
23
24 2006-09-27  Rob Buis  <buis@kde.org>
25
26         Reviewed by eseidel.
27
28         http://bugzilla.opendarwin.org/show_bug.cgi?id=11015
29         SVG handles em units incorrectly
30
31         Calculate viewport coordinates at layout time, since
32         at this point the font size is known and lengths depending
33         on font sizes can be calculated correctly.
34
35         * kcanvas/RenderSVGContainer.cpp:
36         (WebCore::RenderSVGContainer::layout):
37         (WebCore::RenderSVGContainer::viewport):
38         (WebCore::RenderSVGContainer::calcViewport):
39         * kcanvas/RenderSVGContainer.h:
40         * ksvg2/svg/SVGLength.cpp:
41         (WebCore::SVGLength::updateValue):
42         * ksvg2/svg/SVGMarkerElement.cpp:
43         (WebCore::SVGMarkerElement::createRenderer):
44         * ksvg2/svg/SVGSVGElement.cpp:
45         (WebCore::SVGSVGElement::createRenderer):
46         (WebCore::SVGSVGElement::attributeChanged):
47         * ksvg2/svg/SVGSVGElement.h:
48
49 2006-09-27  Eric Seidel  <eric@eseidel.com>
50
51         Reviewed by darin.
52
53         Change our invalid-fill error behavior to match Opera (and soon Firefox)
54         http://bugzilla.opendarwin.org/show_bug.cgi?id=11017
55
56         * ksvg2/misc/KCanvasRenderingStyle.cpp:
57         (WebCore::KSVGPainterFactory::isFilled):
58         (WebCore::KSVGPainterFactory::fillPaintServer):
59         (WebCore::KSVGPainterFactory::isStroked):
60         (WebCore::KSVGPainterFactory::strokePaintServer):
61
62 2006-09-27  Brady Eidson  <beidson@apple.com>
63
64         Build fix
65
66         * loader/icon/IconDatabase.cpp:
67         (WebCore::readySQLStatement):
68
69 2006-09-27  Brady Eidson  <beidson@apple.com>
70
71         Reviewed by Adam
72
73         In very specific circumstances, prepared SQLStatements can become invalid without
74         any warning.  This checks for that state and re-prepares the statement and also
75         adds more aggressive error-checking everywhere these statements are used.
76
77         * loader/icon/IconDatabase.cpp:
78         (WebCore::readySQLStatement): Check if the statement is expired - reprepare it
79         (WebCore::IconDatabase::imageDataForIconURLQuery): More thoroughly catch error cases
80         (WebCore::IconDatabase::timeStampForIconURLQuery): Ditto
81         (WebCore::IconDatabase::iconURLForPageURLQuery): Ditto
82         (WebCore::IconDatabase::forgetPageURLQuery): Ditto
83         (WebCore::IconDatabase::setIconIDForPageURLQuery): Ditto
84         (WebCore::IconDatabase::getIconIDForIconURLQuery): Ditto
85         (WebCore::IconDatabase::addIconForIconURLQuery): Ditto
86         (WebCore::IconDatabase::hasIconForIconURLQuery): Ditto
87         * loader/icon/SQLStatement.cpp:
88         (WebCore::SQLStatement::isExpired): Added (accessor to sqlite3_expired())
89         * loader/icon/SQLStatement.h:
90
91 2006-09-26  Darin Adler  <darin@apple.com>
92
93         Reviewed by Steve.
94
95         - clean up options for font code path
96
97         * platform/Font.h:
98         * platform/Font.cpp:
99         (WebCore::Font::setCodePath): Added. Replaces boolean version.
100         (WebCore::Font::canUseGlyphCache): Update to handle "never use complex" case too.
101
102         * platform/mac/WebCoreTextRenderer.mm:
103         (WebCoreSetAlwaysUseATSU): Change to call setCodePath.
104
105 2006-09-26  John Sullivan  <sullivan@apple.com>
106
107         Reviewed by Darin
108
109         * bridge/mac/WebCoreFrameBridge.h:
110         * bridge/mac/WebCoreFrameBridge.mm:
111         (-[WebCoreFrameBridge markAllMatchesForText:caseSensitive:limit:]):
112         Added limit parameter, passed down to Frame
113         
114         * page/Frame.h:
115         * page/Frame.cpp:
116         (WebCore::Frame::markAllMatchesForText):
117         Added limit parameter. Stop the search if it hits limit.
118
119 2006-09-26  Sean Gies  <seangies@apple.com>
120
121         Reviewed by Brady Eidson.
122
123         * platform/cg/ImageCG.cpp: Removed #if's -- Darin said we don't need these.
124
125 2006-09-26  Justin Garcia  <justin.garcia@apple.com>
126
127         Reviewed by john
128         
129         <rdar://problem/4747695> 
130         Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
131         
132         * editing/DeleteSelectionCommand.cpp:
133         (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
134         to select special elements that are fully selected after expansion
135         moves to positions that are visually distinct from the originals.
136         * editing/InsertListCommand.cpp:
137         (WebCore::InsertListCommand::doApply): If the content of the list 
138         item will be moved into another list, put it in a list item.
139
140 2006-09-26  Geoffrey Garen <ggaren@apple.com>
141
142         Reviewed by Darin.
143         
144         Temporary work-around for frame lifetime issue.
145
146         * page/Frame.cpp:
147         (WebCore::Frame::clear):
148         (WebCore::Frame::disconnectOwnerElement):
149
150 2006-09-26  Sam Weinig  <sam.weinig@gmail.com>
151
152         Reviewed by Tim H.
153
154         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11038
155         Auto-generate DOMSVGElement for the Objective-C bindings
156
157         - Auto-generates DOMSVGElement.
158
159         - Make SVGExceptions work like all the other ExceptionCode
160           extensions (Range, XPath, etc.) by adding SVGExceptionOffset
161           and SVGExceptionMax.
162
163         * DerivedSources.make:
164         * WebCore.xcodeproj/project.pbxproj:
165         * bindings/js/kjs_binding.cpp:
166         (KJS::):
167         (KJS::setDOMException):
168         * bindings/objc/DOMInternal.h:
169         * bindings/objc/DOMInternal.mm:
170         (raiseDOMException):
171         * bindings/objc/DOMSVG.h:
172         * bindings/objc/DOMSVGExecption.h: Added.
173         * ksvg2/ksvg.h:
174         * ksvg2/svg/SVGElement.cpp:
175         (WebCore::SVGElement::setId):
176         (WebCore::SVGElement::setXmlbase):
177         * ksvg2/svg/SVGElement.h:
178         * ksvg2/svg/SVGElement.idl:
179         * ksvg2/svg/SVGException.h: Added.
180         (WebCore::):
181
182 2006-09-26  Eric Seidel  <eric@eseidel.com>
183
184         Reviewed by Tim H.
185         
186         viewbox parser does not allow <tab> as a delimiter
187         http://bugzilla.opendarwin.org/show_bug.cgi?id=11014
188
189         Test: svg/hixie/viewbox/003.xml
190
191         * ksvg2/svg/svgpathparser.cpp:
192         (WebCore::isWhitespace): new function
193         (WebCore::skipOptionalSpaces):
194         (WebCore::skipOptionalSpacesOrComma):
195
196 2006-09-26  Eric Seidel  <eric@eseidel.com>
197
198         Reviewed by Tim H.
199
200         SVGDocument::createElement does not create elements in the SVG namespace
201         http://bugzilla.opendarwin.org/show_bug.cgi?id=10932
202         
203         Test: svg/custom/createelement.svg
204
205         * ksvg2/svg/SVGDocument.cpp:
206         (WebCore::SVGDocument::createElement):
207         * ksvg2/svg/SVGDocument.h:
208
209 2006-09-26  Eric Seidel  <eric@eseidel.com>
210
211         Reviewed by Tim H.
212         
213         RenderPath::nodeAtPoint does not respect stroke width
214         http://bugzilla.opendarwin.org/show_bug.cgi?id=10829
215
216         Test: svg/custom/stroke-width-click.svg
217
218         * kcanvas/device/quartz/KCanvasItemQuartz.mm:
219         (WebCore::RenderPath::strokeContains):
220         * kcanvas/device/quartz/QuartzSupport.h:
221         * kcanvas/device/quartz/QuartzSupport.mm:
222
223 2006-09-26  Eric Seidel  <eric@eseidel.com>
224
225         Reviewed by mitz.
226
227         Bring animation back to life
228         http://bugzilla.opendarwin.org/show_bug.cgi?id=11021
229         
230         Register/unregister SVGSVGElements as time containers on insertion/removal.
231         Replace uses of DeprecatedString with String in SVGAnimationElement
232         Various whitespace clean-up.
233
234         * ksvg2/misc/KSVGTimeScheduler.cpp:
235         (WebCore::SVGTimer::notifyAll):
236         * ksvg2/misc/SVGDocumentExtensions.cpp:
237         (WebCore::SVGDocumentExtensions::startAnimations):
238         (WebCore::SVGDocumentExtensions::pauseAnimations):
239         (WebCore::SVGDocumentExtensions::unpauseAnimations):
240         * ksvg2/svg/SVGAnimateTransformElement.cpp:
241         (WebCore::SVGAnimateTransformElement::handleTimerEvent):
242         (WebCore::SVGAnimateTransformElement::parseTransformValue):
243         * ksvg2/svg/SVGAnimateTransformElement.h:
244         * ksvg2/svg/SVGAnimationElement.cpp:
245         (WebCore::SVGAnimationElement::SVGAnimationElement):
246         (WebCore::SVGAnimationElement::parseMappedAttribute):
247         (WebCore::SVGAnimationElement::parseClockValue):
248         (WebCore::SVGAnimationElement::targetAttribute):
249         (WebCore::SVGAnimationElement::setTargetAttribute):
250         (WebCore::SVGAnimationElement::attributeName):
251         * ksvg2/svg/SVGAnimationElement.h:
252         (WebCore::SVGAnimationElement::rendererIsNeeded):
253         * ksvg2/svg/SVGSVGElement.cpp:
254         (WebCore::SVGSVGElement::getScreenCTM):
255         (WebCore::SVGSVGElement::createRenderer):
256         (WebCore::SVGSVGElement::insertedIntoDocument): added, calls addTimeContainer(this)
257         (WebCore::SVGSVGElement::removedFromDocument): added, calls removeTimeContainer(this)
258         * ksvg2/svg/SVGSVGElement.h:
259         * ksvg2/svg/SVGSetElement.cpp:
260         (WebCore::SVGSetElement::handleTimerEvent):
261         * ksvg2/svg/SVGURIReference.cpp:
262         (WebCore::SVGURIReference::getTarget):
263         * ksvg2/svg/SVGURIReference.h:
264
265 2006-09-26  Graham Dennis  <graham.dennis@gmail.com>
266
267         Reviewed by mitzpettel.
268
269         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=11020
270         No-SVG build broken since r16549
271         
272         Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT
273
274         * css/cssparser.cpp:
275         (WebCore::CSSParser::parseValue):
276         * css/cssstyleselector.cpp:
277         (WebCore::CSSStyleSelector::applyProperty):
278         * page/FrameView.cpp:
279         (WebCore::selectCursor):
280         * platform/qt/GraphicsContextQt.cpp:
281
282 2006-09-26  Anders Carlsson  <acarlsson@apple.com>
283
284         Reviewed by Maciej.
285
286         http://bugzilla.opendarwin.org/show_bug.cgi?id=10820
287         Add StringImpl::toDouble() and remove uses of .deprecatedString().toDouble()
288         
289         (Originally written by Eric Seidel).
290         
291         * bindings/js/kjs_window.cpp:
292         (KJS::floatFeature):
293         * ksvg2/svg/SVGAngle.cpp:
294         (SVGAngle::setValueAsString):
295         * ksvg2/svg/SVGAnimationElement.cpp:
296         (SVGAnimationElement::parseMappedAttribute):
297         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
298         (SVGComponentTransferFunctionElement::parseMappedAttribute):
299         * ksvg2/svg/SVGFECompositeElement.cpp:
300         (WebCore::SVGFECompositeElement::parseMappedAttribute):
301         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
302         (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
303         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
304         (SVGFEDisplacementMapElement::parseMappedAttribute):
305         * ksvg2/svg/SVGFELightElement.cpp:
306         (SVGFELightElement::parseMappedAttribute):
307         * ksvg2/svg/SVGFEOffsetElement.cpp:
308         (WebCore::SVGFEOffsetElement::parseMappedAttribute):
309         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
310         (SVGFESpecularLightingElement::parseMappedAttribute):
311         * ksvg2/svg/SVGFETurbulenceElement.cpp:
312         (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
313         * ksvg2/svg/SVGStopElement.cpp:
314         (SVGStopElement::parseMappedAttribute):
315         * platform/AtomicString.h:
316         (WebCore::AtomicString::toDouble):
317         * platform/PlatformString.h:
318         * platform/String.cpp:
319         (WebCore::String::toDouble):
320         * platform/StringImpl.cpp:
321         (WebCore::StringImpl::toDouble):
322         * platform/StringImpl.h:
323         * rendering/DeprecatedSlider.cpp:
324         (WebCore::DeprecatedSlider::updateFromElement):
325         * xml/XPathGrammar.y:
326
327 2006-09-25  David Harrison  <harrison@apple.com>
328
329         Reviewed by Tim Omernick and Tim Hatcher.
330
331         <rdar://problem/4717965> Text Field text parameterized attributes should work
332         <rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements
333
334         * bridge/mac/WebCoreAXObject.mm:
335         (-[WebCoreAXObject accessibilityAttributeValue:]):
336         Use new line number support to implement NSAccessibilityInsertionPointLineNumberAttribute.
337         
338         (-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
339         Cleaned up. Added text field and text area parameterzed attributes.
340         
341         (-[WebCoreAXObject doAXLineForTextMarker:]):
342         Fixed to be zero-based and to deal with the first position properly.
343         
344         (-[WebCoreAXObject doAXTextMarkerRangeForLine:]):
345         Minor formatting.
346         
347         (-[WebCoreAXObject textMarkerForIndex:lastIndexOK:]):
348         (-[WebCoreAXObject indexForTextMarker:]):
349         (-[WebCoreAXObject textMarkerRangeForRange:]):
350         (-[WebCoreAXObject rangeForTextMarkerRange:]):
351         New utility methods.
352         
353         (-[WebCoreAXObject doAXLineForIndex:]):
354         (-[WebCoreAXObject doAXRangeForLine:]):
355         (-[WebCoreAXObject doAXStringForRange:]):
356         (-[WebCoreAXObject doAXRangeForPosition:]):
357         (-[WebCoreAXObject doAXRangeForIndex:]):
358         (-[WebCoreAXObject doAXBoundsForRange:]):
359         (-[WebCoreAXObject doAXAttributedStringForRange:]):
360         (-[WebCoreAXObject doAXRTFForRange:]):
361         (-[WebCoreAXObject doAXStyleRangeForIndex:]):
362         Implement text field and text area parameterized attributes.
363          
364         (-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
365         Added text field and text area parameterzed attributes.
366
367         * rendering/RenderTextControl.h:
368         Made indexForVisiblePosition() and visiblePositionForIndex() public.
369
370 2006-09-25  Adam Roben  <aroben@apple.com>
371
372         Reviewed by Brady.
373
374         Build fixes.
375
376         * WebCore.vcproj/WebCore/WebCore.vcproj: Fix malformed XML.
377         * platform/ResourceLoader.h: Store whether a particular job
378         has received a response within the ResourceLoader object itself, since
379         it's possible that we will enter the InternetReadFileExA while loop
380         twice for the same job.
381         * platform/ResourceLoaderInternal.h: Add private instance variable to
382         store whether we've received a response.
383         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
384         * platform/win/GraphicsContextWin.cpp: Fix order of preprocessor
385         directives.
386         * platform/win/ResourceLoaderWin.cpp: 
387         (WebCore::ResourceLoader::onRequestComplete): Ask the ResourceLoader
388         whether it has received a response instead of assuming it hasn't.
389         (WebCore::ResourceLoader::setHasReceivedResponse): Added.
390         (WebCore::ResourceLoader::hasReceivedResponse): Added.
391         * platform/win/TemporaryLinkStubs.cpp: Rename setKnobProportion to
392         setProportion
393         (ScrollBar::setProportion):
394
395 2006-09-25  Brady Eidson  <beidson@apple.com>
396
397         Requested by ggaren
398
399         Disabled IconDatabase logging by default
400
401         * platform/Logging.cpp:
402         (WebCore::):
403
404 2006-09-25  Steve Falkenburg  <sfalken@apple.com>
405
406         Build fix
407
408         * platform/cf/ResourceLoaderCFNet.cpp:
409         (WebCore::willCacheResponse):
410
411 2006-09-25  Justin Garcia  <justin.garcia@apple.com>
412
413         Reviewed by john
414         
415         <http://bugzilla.opendarwin.org/show_bug.cgi?id=11002>
416         Gmail Editor: Crash at WebCore::SplitElementCommand::doApply() when attempting to indent in a new message
417         
418         * editing/IndentOutdentCommand.cpp:
419         (WebCore::IndentOutdentCommand::indentRegion): Special case
420         an empty root editable element.
421
422 2006-09-25  Brady Eidson  <beidson@apple.com>
423
424         Reviewed by Steve
425
426         Math error in SystemTimeWin
427
428         * platform/win/SystemTimeWin.cpp:
429         (WebCore::currentTime):
430
431 2006-09-25  Alexey Proskuryakov  <ap@nypop.com>
432
433         Reviewed by Eric.
434
435         Whitespace cleanup; rename *job variables to *loader.
436
437         * bindings/js/JSXMLHttpRequest.cpp:
438         (KJS::JSXMLHttpRequestConstructorImp::JSXMLHttpRequestConstructorImp):
439         (KJS::JSXMLHttpRequestConstructorImp::implementsConstruct):
440         (KJS::JSXMLHttpRequestConstructorImp::construct):
441         (KJS::JSXMLHttpRequest::getOwnPropertySlot):
442         (KJS::JSXMLHttpRequest::getValueProperty):
443         (KJS::JSXMLHttpRequest::put):
444         (KJS::JSXMLHttpRequest::putValueProperty):
445         (KJS::JSXMLHttpRequest::mark):
446         (KJS::JSXMLHttpRequest::JSXMLHttpRequest):
447         (KJS::JSXMLHttpRequest::~JSXMLHttpRequest):
448         (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
449         * bindings/js/JSXMLHttpRequest.h:
450         (KJS::JSXMLHttpRequest::toBoolean):
451         * xml/xmlhttprequest.cpp:
452         (WebCore::XMLHttpRequest::XMLHttpRequest):
453         (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
454         (WebCore::XMLHttpRequest::send):
455         (WebCore::XMLHttpRequest::abort):
456         (WebCore::XMLHttpRequest::receivedAllData):
457         (WebCore::XMLHttpRequest::receivedData):
458         * xml/xmlhttprequest.h:
459         (WebCore::):
460
461 2006-09-25  Timothy Hatcher  <timothy@apple.com>
462
463         Reviewed by Brady.
464
465         - Deprecate the rest of the old-style methods that are not generated.
466         - Add @property syntax to DOMRange.
467
468         * WebCore.xcodeproj/project.pbxproj:
469         * bindings/objc/DOM.mm:
470         (-[DOMRange setStart:offset:]):
471         (-[DOMRange setEnd:offset:]):
472         (-[DOMRange compareBoundaryPoints:sourceRange:]):
473         (-[DOMRange setStart::]):
474         (-[DOMRange setEnd::]):
475         (-[DOMRange compareBoundaryPoints::]):
476         (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
477         (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
478         (-[DOMDocument createNodeIterator::::]):
479         (-[DOMDocument createTreeWalker::::]):
480         * bindings/objc/DOMCSS.h:
481         * bindings/objc/DOMCSS.mm:
482         (-[DOMDocument getComputedStyle:pseudoElement:]):
483         (-[DOMDocument getComputedStyle::]):
484         (-[DOMDocument getMatchedCSSRules:pseudoElement:]):
485         * bindings/objc/DOMExtensions.h:
486         * bindings/objc/DOMHTML.h:
487         * bindings/objc/DOMRange.h:
488         * bindings/objc/DOMTraversal.h:
489
490 2006-09-25  Eric Seidel  <eric@eseidel.com>
491
492         Reviewed by mjs.
493         
494         Outermost <svg> element should clip to viewport
495         http://bugzilla.opendarwin.org/show_bug.cgi?id=11007
496
497         Test: svg/custom/viewport-clip.svg
498
499         * css/svg.css: change svg:root overflow: from 'visible' to 'hidden'
500
501 2006-09-25  Anders Carlsson  <acarlsson@apple.com>
502
503         Reviewed by Maciej.
504
505         * css/MediaList.cpp:
506         Remove unused header.
507         
508         * dom/Document.cpp:
509         (WebCore::Document::clear):
510         Use clear instead of iterating through the list of event listeners, removing each one.
511         (Doing that causes a crash when running the layout tests with GuardMalloc turned on)
512         
513         * html/HTMLKeygenElement.cpp:
514         (WebCore::HTMLKeygenElement::HTMLKeygenElement):
515         (WebCore::HTMLKeygenElement::appendFormData):
516         Update due to changes in the SSL key generator.
517         
518         * ksvg2/svg/SVGAngle.cpp:
519         Remove unused header.
520         
521         * ksvg2/svg/SVGAnimationElement.cpp:
522         (SVGAnimationElement::parseMappedAttribute):
523         Rename methods and pass Strings instead of DeprecatedStrings to
524         parseSeparatedList.
525         
526         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
527         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
528         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
529         * ksvg2/svg/SVGFEMergeElement.cpp:
530         * ksvg2/svg/SVGFEOffsetElement.cpp:
531         Remove unused headers.
532         
533         * ksvg2/svg/SVGHelper.cpp:
534         (WebCore::SVGHelper::parseSeparatedList):
535         * ksvg2/svg/SVGHelper.h:
536         Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a 
537         DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.
538         
539         * ksvg2/svg/SVGLengthList.cpp:
540         (WebCore::SVGLengthList::parse):
541         * ksvg2/svg/SVGLengthList.h:
542         Use Vector<String> instead of DeprecatedStringList.
543         
544         * loader/Cache.cpp:
545         (WebCore::Cache::requestImage):
546         (WebCore::Cache::requestStyleSheet):
547         (WebCore::Cache::requestScript):
548         (WebCore::Cache::requestXSLStyleSheet):
549         (WebCore::Cache::requestXBLDocument):
550         (WebCore::Cache::remove):
551         (WebCore::Cache::get):
552         Use a String as the key in the cache set instead of a RefPtr<StringImpl>.
553         
554         * loader/DocLoader.cpp:
555         (WebCore::DocLoader::needReload):
556         * loader/DocLoader.h:
557         Use a HashSet instead of DeprecatedStringList.
558         
559         * page/FrameView.h:
560         Remove declarations that have no functions.
561         
562         * platform/SSLKeyGenerator.h:
563         * platform/mac/SSLKeyGeneratorMac.mm:
564         (WebCore::supportedKeySizes):
565         (WebCore::signedPublicKeyAndChallengeString):
566         Convert to use Vector<String> instead of DeprecatedStringList, and String instead of
567         DeprecatedString.
568
569 2006-09-25  Dave Hyatt  <hyatt@apple.com>
570
571         Shunt the RenderTheme world transform adoption between
572         Cairo and Windows into getWindowsContext and move the method
573         out of GraphicsContextCairo and into GraphicsContextWin.
574
575         * ChangeLog:
576         * WebCore.vcproj/WebCore/WebCore.vcproj:
577         * platform/cairo/GraphicsContextCairo.cpp:
578         * platform/win/GraphicsContextWin.cpp: Added.
579         (WebCore::GraphicsContext::getWindowsContext):
580         (WebCore::GraphicsContext::releaseWindowsContext):
581         * rendering/RenderThemeWin.cpp:
582         (WebCore::prepareForDrawing):
583
584 2006-09-24  Eric Seidel  <eric@eseidel.com>
585
586         Reviewed by hyatt.
587
588         <svg:a> cannot be styled with a:hover
589         http://bugzilla.opendarwin.org/show_bug.cgi?id=11005
590         
591         Test: svg/hixie/cascade/002.xml
592
593         * css/cssstyleselector.cpp:
594         (WebCore::checkPseudoState):
595
596 2006-09-24  Sam Weinig  <sam.weinig@gmail.com>
597
598         Reviewed by Tim H.
599
600         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10882
601         SVG needs Obj-C DOM bindings
602
603         - Auto-generate the first 8 Objective-C SVG DOM bindings.  The 
604           auto-generated classes are DOMSVGAngle, DOMSVGLength, DOMSVGLengthList,
605           DOMSVGMatrix, DOMSVGPathSeg, DOMSVGPathSegList, DOMSVGTransform, and 
606           DOMSVGTransformList.
607
608         * DerivedSources.make:
609         * WebCore.xcodeproj/project.pbxproj:
610         * bindings/objc/DOMInternal.h:
611         * bindings/objc/DOMSVG.h: Added.
612         * ksvg2/svg/SVGAngle.idl:
613         * ksvg2/svg/SVGLength.idl:
614         * ksvg2/svg/SVGLengthList.idl:
615         * ksvg2/svg/SVGMatrix.idl:
616         * ksvg2/svg/SVGPathSeg.idl:
617         * ksvg2/svg/SVGPathSegList.idl:
618         * ksvg2/svg/SVGTransform.idl:
619         * ksvg2/svg/SVGTransformList.idl:
620
621 2006-09-24  Rob Buis  <buis@kde.org>
622
623         Reviewed by eseidel.
624
625         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6001
626         WebKit does not handle fallback custom cursors
627         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6002
628         WebKit does not properly handle SVG <cursor> element
629
630         Add support for svg cursor images. Also make sure hotspot
631         settings are handled correctly. Add tests for handling of css3
632         cursor syntax with hotspots in strict and quirks mode. Finally
633         implement fallback.
634
635         * WebCore.xcodeproj/project.pbxproj:
636         * css/CSSComputedStyleDeclaration.cpp:
637         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
638         * css/CSSCursorImageValue.cpp: Added.
639         (WebCore::CSSCursorImageValue::CSSCursorImageValue):
640         (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
641         * css/CSSCursorImageValue.h: Added.
642         (WebCore::CSSCursorImageValue::hotspot):
643         * css/cssparser.cpp:
644         (WebCore::CSSParser::parseValue):
645         * css/cssstyleselector.cpp:
646         (WebCore::CSSStyleSelector::applyProperty):
647         * ksvg2/svg/SVGCursorElement.cpp:
648         * manual-tests/css3-cursor-fallback-quirks.html: Added.
649         * manual-tests/css3-cursor-fallback-strict.html: Added.
650         * manual-tests/cursorfallback.xml: Added.
651         * page/FrameView.cpp:
652         (WebCore::selectCursor):
653         * platform/Cursor.h:
654         * platform/mac/CursorMac.mm:
655         (WebCore::createCustomCursor):
656         (WebCore::Cursor::Cursor):
657         * platform/qt/CursorQt.cpp:
658         (WebCore::Cursor::Cursor):
659         * rendering/RenderStyle.cpp:
660         (WebCore::StyleInheritedData::StyleInheritedData):
661         (WebCore::StyleInheritedData::operator==):
662         (WebCore::RenderStyle::diff):
663         (WebCore::RenderStyle::addCursor):
664         (WebCore::RenderStyle::addSVGCursor):
665         (WebCore::RenderStyle::setCursorList):
666         (WebCore::RenderStyle::clearCursorList):
667         * rendering/RenderStyle.h:
668         (WebCore::CursorData::CursorData):
669         (WebCore::CursorList::operator[]):
670         (WebCore::CursorList::size):
671         (WebCore::CursorList::append):
672         (WebCore::RenderStyle::cursors):
673
674 2006-09-24  Sam Weinig  <sam.weinig@gmail.com>
675
676         Reviewed by Tim H.
677
678         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11009
679         Auto-generate the internal methods interfaces for the Objective-C bindings
680
681         - Auto-generate the internal method declarations into their own files
682           named in the form DOMFooBarInternal.h for class DOMFooBar.
683
684         - Remove all use of DOM_cast from code.
685
686         - Assorted cleanups.
687
688         * WebCore.xcodeproj/project.pbxproj:
689         * bindings/objc/DOM.mm:
690         (-[DOMNode _initWithNode:WebCore::]):
691         (-[DOMNode WebCore::]):
692         (-[DOMRange dealloc]):
693         (-[DOMRange finalize]):
694         (-[DOMRange _initWithRange:WebCore::]):
695         (-[DOMRange WebCore::]):
696         (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
697         (-[DOMNodeFilter WebCore::]):
698         (-[DOMNodeFilter dealloc]):
699         (-[DOMNodeFilter finalize]):
700         (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
701         (-[DOMNodeIterator WebCore::]):
702         (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
703         (-[DOMTreeWalker WebCore::]):
704         * bindings/objc/DOMAbstractView.mm:
705         (-[DOMAbstractView _initWithAbstractView:WebCore::]):
706         * bindings/objc/DOMCSS.mm:
707         (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
708         (-[DOMCSSRule _initWithRule:WebCore::]):
709         (-[DOMCSSValue _initWithValue:WebCore::]):
710         * bindings/objc/DOMEvents.mm:
711         (-[DOMEvent _initWithEvent:WebCore::]):
712         * bindings/objc/DOMHTMLAppletElement.mm:
713         (-[DOMHTMLAppletElement align]):
714         (-[DOMHTMLAppletElement setAlign:]):
715         (-[DOMHTMLAppletElement alt]):
716         (-[DOMHTMLAppletElement setAlt:]):
717         (-[DOMHTMLAppletElement archive]):
718         (-[DOMHTMLAppletElement setArchive:]):
719         (-[DOMHTMLAppletElement code]):
720         (-[DOMHTMLAppletElement setCode:]):
721         (-[DOMHTMLAppletElement codeBase]):
722         (-[DOMHTMLAppletElement setCodeBase:]):
723         (-[DOMHTMLAppletElement height]):
724         (-[DOMHTMLAppletElement setHeight:]):
725         (-[DOMHTMLAppletElement hspace]):
726         (-[DOMHTMLAppletElement setHspace:]):
727         (-[DOMHTMLAppletElement name]):
728         (-[DOMHTMLAppletElement setName:]):
729         (-[DOMHTMLAppletElement object]):
730         (-[DOMHTMLAppletElement setObject:]):
731         (-[DOMHTMLAppletElement vspace]):
732         (-[DOMHTMLAppletElement setVspace:]):
733         (-[DOMHTMLAppletElement width]):
734         (-[DOMHTMLAppletElement setWidth:]):
735         * bindings/objc/DOMInternal.h:
736         (getDOMWrapper):
737         (addDOMWrapper):
738         (raiseOnDOMError):
739         * bindings/objc/DOMXPath.mm:
740         (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
741         * bindings/scripts/CodeGeneratorObjC.pm:
742
743 2006-09-24  Nikolas Zimmermann  <zimmermann@kde.org>
744
745         Reviewed by eseidel.
746
747         Fix Qt/Linux build after Dave's Scrollbar changes.
748
749         * platform/qt/PlatformScrollBar.h: (Somehow this contained the file twice! Removed one instance!)
750         * platform/qt/TemporaryLinkStubs.cpp:
751         (WebCore::ScrollBar::setProportion):
752         (WebCore::PlatformScrollBar::updateThumbPosition):
753         (WebCore::PlatformScrollBar::updateThumbProportion):
754
755 2006-09-24  Nikolas Zimmermann  <zimmermann@kde.org>
756
757         Reviewed by eseidel.
758
759         Qt/Linux build system changes: enable xpath/xslt by default.
760         Offer possibility to change all of these using 'ccmake'.
761
762         * CMakeLists.txt:
763
764 2006-09-24  Dave Hyatt  <hyatt@apple.com>
765
766         Cleanup of Scrollbar APIs.  Rename setKnobProportion to setProportion.  Rename setScrollbarValue to updateThumbPosition.
767         Give setProportion a base class implementation and implement it using the same pattern as setValue/updateThumbPosition (so that
768         the base calls a protected virtual function, updateThumbProportion, implemented by the derived class to update the actual scrollbar itself).
769
770         * platform/ScrollBar.cpp:
771         (WebCore::ScrollBar::setValue):
772         (WebCore::ScrollBar::setProportion):
773         * platform/ScrollBar.h:
774         (WebCore::ScrollBar::value):
775         * platform/mac/PlatformScrollBar.h:
776         * platform/mac/PlatformScrollBarMac.mm:
777         (WebCore::PlatformScrollBar::updateThumbPosition):
778         (WebCore::PlatformScrollBar::updateThumbProportion):
779         * platform/win/PlatformScrollBar.h:
780         * platform/win/TemporaryLinkStubs.cpp:
781         (PlatformScrollBar::updateThumbPosition):
782         (PlatformScrollBar::updateThumbProportion):
783         * rendering/RenderLayer.cpp:
784         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
785
786 2006-09-23  Alexey Proskuryakov  <ap@nypop.com>
787
788         Reviewed by Eric.
789
790         http://bugzilla.opendarwin.org/show_bug.cgi?id=4872
791         XMLHttpRequest fails to throw an exception when there is a security violation
792         (mismatching domains)
793
794         Raise an exception if there is a security violation, and also in cases required by
795         the current draft of XHR specification.
796
797         * bindings/js/JSXMLHttpRequest.cpp:
798         (KJS::JSXMLHttpRequest::getValueProperty): Raise an exception if a DOM method reports one.
799         (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Raise an exception if a DOM method
800         reports one, and also if there were too few arguments passed. 
801
802         * bindings/js/kjs_binding.cpp:
803         (KJS::setDOMException): Added support for custom XHR exceptions.
804
805         * xml/xmlhttprequest.h: Changed state names to match the current spec. Defined an
806         exception code range for XHR exceptions.
807
808         * xml/xmlhttprequest.cpp:
809         (WebCore::XMLHttpRequest::open): Removed a check for m_aborted that could never succeed.
810         (WebCore::XMLHttpRequest::send):
811         (WebCore::XMLHttpRequest::setRequestHeader):
812         (WebCore::XMLHttpRequest::getStatus):
813         (WebCore::XMLHttpRequest::getStatusText):
814         (WebCore::XMLHttpRequest::processSyncLoadResults):
815         (WebCore::XMLHttpRequest::receivedAllData):
816         (WebCore::XMLHttpRequest::receivedData):
817
818 2006-09-22  Steve Falkenburg  <sfalken@apple.com>
819
820         Reviewed by Jeff Jenkins.
821
822         Tweak CF types.
823
824         * platform/cf/ResourceLoaderCFNet.cpp:
825         (WebCore::willCacheResponse):
826
827 2006-09-22  Justin Garcia  <justin.garcia@apple.com>
828
829         Reviewed by darin
830
831         <http://bugzilla.opendarwin.org/show_bug.cgi?id=8029>
832         Rename Node::isAncestor and RenderObject::hasAncestor to isDescendantOf
833
834         * dom/Document.cpp:
835         (WebCore::Document::clearSelectionIfNeeded):
836         * dom/Element.cpp:
837         (WebCore::Element::contains):
838         * dom/Node.cpp:
839         (WebCore::Node::traverseNextNode):
840         (WebCore::Node::traverseNextSibling):
841         (WebCore::Node::traversePreviousNodePostOrder):
842         (WebCore::Node::checkAddChild):
843         (WebCore::Node::isDescendantOf):
844         * dom/Node.h:
845         * dom/NodeIterator.cpp:
846         (WebCore::NodeIterator::notifyBeforeNodeRemoval):
847         * editing/ApplyStyleCommand.cpp:
848         (WebCore::ApplyStyleCommand::applyBlockStyle):
849         (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
850         (WebCore::ApplyStyleCommand::applyInlineStyle):
851         (WebCore::ApplyStyleCommand::pushDownTextDecorationStyleAroundNode):
852         * editing/CompositeEditCommand.cpp:
853         (WebCore::CompositeEditCommand::mergeIdenticalElements):
854         (WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
855         * editing/DeleteSelectionCommand.cpp:
856         (WebCore::updatePositionForNodeRemoval):
857         (WebCore::DeleteSelectionCommand::handleGeneralDelete):
858         (WebCore::DeleteSelectionCommand::mergeParagraphs):
859         * editing/FormatBlockCommand.cpp:
860         (WebCore::FormatBlockCommand::doApply):
861         * editing/IndentOutdentCommand.cpp:
862         (WebCore::enclosingListOrBlockquote):
863         * editing/Selection.cpp:
864         (WebCore::Selection::validate):
865         * editing/SelectionController.cpp:
866         (WebCore::SelectionController::nodeWillBeRemoved):
867         * editing/TextIterator.cpp:
868         (WebCore::SimplifiedBackwardsTextIterator::advance):
869         * editing/VisiblePosition.cpp:
870         (WebCore::VisiblePosition::next):
871         (WebCore::VisiblePosition::previous):
872         (WebCore::VisiblePosition::canonicalPosition):
873         (WebCore::isFirstVisiblePositionInNode):
874         (WebCore::isLastVisiblePositionInNode):
875         * editing/htmlediting.cpp:
876         (WebCore::firstEditablePositionAfterPositionInRoot):
877         (WebCore::lastEditablePositionBeforePositionInRoot):
878         (WebCore::enclosingNodeWithTag):
879         (WebCore::enclosingList):
880         (WebCore::enclosingListChild):
881         * editing/markup.cpp:
882         (WebCore::createMarkup):
883
884 2006-09-22  Timothy Hatcher  <timothy@apple.com>
885
886         Reviewed by Darin.
887
888         - Added @property syntax to non-generated headers
889           inside #ifndef BUILDING_ON_TIGER.
890         - Changed the DOMEventTarget protocol to have have new versions
891           of addEventListener and removeEventListener with named parameters.
892           These old style methods can be removed once Mail changes to use
893           the new methods <rdar://problem/4746649>.
894
895         * WebCorePrefix.h: define BUILDING_ON_TIGER when Tiger is the target
896         * bindings/objc/DOM.mm:
897         (-[DOMNode addEventListener:listener:useCapture:]):
898         (-[DOMNode addEventListener:::]): call the new method
899         (-[DOMNode removeEventListener:listener:useCapture:]):
900         (-[DOMNode removeEventListener:::]): call the new method
901         * bindings/objc/DOMAbstractView.h:
902         * bindings/objc/DOMEventTarget.h:
903         * bindings/objc/DOMHTMLAppletElement.h:
904         * bindings/objc/DOMHTMLEmbedElement.h:
905         * bindings/objc/DOMHTMLOptionElement.h:
906         * bindings/objc/DOMObject.h:
907         * bindings/objc/DOMRGBColor.h:
908
909 2006-09-22  Nikolas Zimmermann  <zimmermann@kde.org>
910
911         Reviewed by Eric.
912
913         Fix Qt/Linux build and a really stupid mixup in GraphicsContextQt.
914
915         * platform/qt/FrameQt.cpp:
916         * platform/qt/GraphicsContextQt.cpp:
917         (WebCore::GraphicsContext::translate): Make it actually translate, not scale! :-)
918         (WebCore::GraphicsContext::origin):
919         * platform/qt/PlatformScrollBar.h: Added.
920         (WebCore::PlatformScrollBar::isWidget):
921         * platform/qt/WidgetQt.cpp:
922         (WebCore::Widget::invalidate):
923         (WebCore::Widget::invalidateRect):
924
925 2006-09-22  Dave Hyatt <hyatt@apple.com>
926
927         Super-minor tweaks to the systemFont function on Mac.
928         Set the generic family to None rather than to Serif, and
929         don't waste time setting the computed size, since that is
930         set from the specified size over in CSSStyleSelector anyway.
931
932         * rendering/RenderThemeMac.mm:
933         (WebCore::RenderThemeMac::systemFont):
934
935 2006-09-22  Timothy Hatcher  <timothy@apple.com>
936
937         Reviewed by Brady.
938
939         Build fix for Xcode 2.3. Convert GraphicsContext::translate() to
940         take floats. There was already an implicit conversion to float/double
941         when calling CGContextTranslateCTM or cairo_translate.
942
943         * platform/GraphicsContext.h:
944         * platform/cairo/GraphicsContextCairo.cpp:
945         (WebCore::GraphicsContext::translate):
946         * platform/cg/GraphicsContextCG.cpp:
947         (WebCore::GraphicsContext::translate):
948
949 2006-09-22  Brady Eidson  <beidson@apple.com>
950
951         Reviewed by Sfalken
952
953         Add redirect and other cleanup to ResourceLoaderWin.cpp
954         Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=10927
955         Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=10744
956
957         * WebCore.xcodeproj/project.pbxproj:
958         * platform/ResourceLoader.h:
959         * platform/win/ResourceLoaderWin.cpp:
960         (WebCore::ResourceLoaderWndProc):
961         (WebCore::initializeOffScreenResourceLoaderWindow):
962         (WebCore::ResourceLoader::onHandleCreated):
963         (WebCore::ResourceLoader::onRequestRedirected):
964         (WebCore::ResourceLoader::onRequestComplete):
965         (WebCore::transferJobStatusCallback):
966
967 2006-09-22  Alexey Proskuryakov  <ap@nypop.com>
968
969         Reviewed by Geoff.
970
971         http://bugzilla.opendarwin.org/show_bug.cgi?id=10803
972         REGRESSION (r15536-r15544): manual-tests/bugzilla-6821.html failing
973
974         * page/FrameView.cpp:
975         (WebCore::FrameView::hoverTimerFired): Use the current event.
976
977 2006-09-22  Nikolas Zimmermann  <zimmermann@kde.org>
978
979         Reviewed by Anders.
980
981         Fix (last) svg memory leak.
982
983         * ksvg2/svg/SVGTransformable.cpp: delete 't' in error case.
984         (SVGTransformable::parseTransformAttribute):
985
986 2006-09-22  Eric Seidel  <eric@eseidel.com>
987
988         No review necessary, just removing a dead file.
989
990         Remove unused file (added previously by mistake) to make room for real implementation.
991
992         * platform/mac/BitmapImageMac.mm: Removed.
993
994 2006-09-22  Dave Hyatt <hyatt@apple.com>
995
996         Move PlatformScrollBar.h down into the platforms.
997         
998         Reviewed by andersca
999
1000         * platform/PlatformScrollBar.h: Removed.
1001         * platform/win/PlatformScrollBar.h: Added.
1002         * platform/mac/PlatformScrollBar.h: Added.
1003
1004 2006-09-22   Dave Hyatt  <hyatt@apple.com>
1005
1006         Add support for invalidation of widgets.  This will be needed for the Win32 widget subsystem (and for
1007         any widget subsystems that don't have any underlying native objects backing the widgets.
1008
1009         Reviewed by anders
1010
1011         * platform/Widget.h:
1012         * platform/mac/WidgetMac.mm:
1013         (WebCore::Widget::invalidate):
1014         (WebCore::Widget::invalidateRect):
1015         * platform/win/TemporaryLinkStubs.cpp:
1016         (Widget::invalidate):
1017         (Widget::invalidateRect):
1018
1019 2006-09-22  Rob Buis  <buis@kd.org>
1020
1021         Reviewed by eseidel.
1022
1023         http://bugzilla.opendarwin.org/show_bug.cgi?id=10901
1024         Merge build fixes from unity
1025
1026         * CMakeLists.txt:
1027
1028 2006-09-21  Nikolas Zimmermann  <zimmermann@kde.org>
1029
1030         Reviewed by eseidel.
1031
1032         http://bugzilla.opendarwin.org/show_bug.cgi?id=10977
1033         SVGDocument does not expose 'rootElement' property
1034
1035         Enable 'rootElement' property.
1036
1037         * ksvg2/svg/SVGDocument.idl:
1038
1039 2006-09-21  Steve Falkenburg  <sfalken@apple.com>
1040
1041         Tweak includes.
1042
1043         * platform/ResourceLoaderInternal.h:
1044
1045 2006-09-21  Geoffrey Garen  <ggaren@apple.com>
1046
1047         build fixed. band happy.
1048         
1049         * platform/cg/GraphicsContextCG.cpp:
1050         (WebCore::GraphicsContext::translate):
1051         * platform/mac/WidgetMac.mm:
1052
1053 2006-09-21  Geoffrey Garen  <ggaren@apple.com>
1054
1055         Reviewed by Maciej.
1056         
1057         Some Widget refactoring.
1058
1059         * WebCore.vcproj/WebCore/WebCore.vcproj:
1060         * bridge/mac/FrameMac.mm:
1061         * bridge/win/FrameWin.cpp:
1062         (WebCore::FrameWin::runJavaScriptAlert):
1063         (WebCore::FrameWin::runJavaScriptConfirm):
1064         * bridge/win/PageWin.cpp:
1065         (WebCore::Page::Page):
1066         (WebCore::rootWindowForFrame):
1067         * html/CanvasRenderingContext2D.cpp:
1068         (WebCore::CanvasRenderingContext2D::translate):
1069         * page/FrameView.cpp:
1070         (WebCore::FrameView::isFrameView):
1071         * page/Page.h:
1072         (WebCore::Page::setInstanceHandle):
1073         (WebCore::Page::instanceHandle):
1074         * platform/GraphicsContext.h:
1075         * platform/ScrollView.h:
1076         * platform/Widget.h:
1077         * platform/cairo/GraphicsContextCairo.cpp:
1078         (WebCore::GraphicsContext::translate):
1079         (WebCore::GraphicsContext::origin):
1080         * platform/mac/WidgetMac.mm:
1081         (WebCore::Widget::clearFocus):
1082         * platform/win/ResourceLoaderWin.cpp:
1083         (WebCore::initializeOffScreenResourceLoaderWindow):
1084         * platform/win/ScreenWin.cpp:
1085         (WebCore::monitorInfo):
1086         * platform/win/ScrollViewWin.cpp:
1087         (WebCore::ScrollView::updateContents):
1088         (WebCore::ScrollView::visibleWidth):
1089         (WebCore::ScrollView::visibleHeight):
1090         (WebCore::ScrollView::visibleContentRect):
1091         (WebCore::ScrollView::viewportToContents):
1092         (WebCore::ScrollView::contentsToViewport):
1093         (WebCore::ScrollView::scrollBy):
1094         (WebCore::ScrollView::updateScrollInfo):
1095         (WebCore::ScrollView::updateScrollBars):
1096         * platform/win/SharedTimerWin.cpp:
1097         (WebCore::initializeOffScreenTimerWindow):
1098         * platform/win/TemporaryLinkStubs.cpp:
1099         (FrameView::updateBorder):
1100         (ScrollView::paint):
1101         (GraphicsContext::clip):
1102         * platform/win/WidgetWin.cpp:
1103         (WebCore::Widget::Widget):
1104         (WebCore::Widget::parentWindow):
1105         (WebCore::Widget::setParentWindow):
1106         (WebCore::Widget::frameGeometry):
1107         (WebCore::Widget::hasFocus):
1108         (WebCore::Widget::setFocus):
1109         (WebCore::Widget::show):
1110         (WebCore::Widget::hide):
1111         (WebCore::Widget::setFrameGeometry):
1112
1113 2006-09-22  Anders Carlsson  <acarlsson@apple.com>
1114
1115         Reviewed by Tim H.
1116
1117         * platform/TextEncoding.cpp:
1118         (WebCore::TextEncoding::backslashAsCurrencySymbol):
1119         Add comment clarifying why backslashAsCurrencySymbol is needed.
1120
1121 2006-09-21  Sean Gies  <seangies@apple.com>
1122
1123         Reviewed by Adam Roben.
1124
1125         Add utility functions to get and release HDC from GraphicsContext.
1126
1127         * platform/GraphicsContext.h: Add utilities to get and release HDC.
1128         * platform/cairo/GraphicsContextCairo.cpp: Implement new utilities.
1129         * rendering/RenderThemeWin.cpp: Switch to new utilities.
1130
1131 2006-09-21  Justin Garcia  <justin.garcia@apple.com>
1132
1133         Reviewed by anders
1134         
1135         <rdar://problem/4426622>
1136         Plain text paste slow.  Time spent mostly in WebCore::rebalanceWhitespaceInTextNode(...)
1137
1138         * editing/htmlediting.cpp:
1139         (WebCore::rebalanceWhitespaceInTextNode): We no longer need to use a RegExp replace because we
1140         aren't producing complicated sequences here.  Use multiple UChar -> UChar replaces instead for speed.
1141         Got rid of uses of DepricatedString.
1142
1143 2006-09-21  Nikolas Zimmermann  <zimmermann@kde.org>
1144
1145         Reviewed by eseidel.
1146
1147         Don't crash if no IconDatabase is available (ie. on Qt/Gdk)
1148
1149         * page/Frame.cpp:
1150         (WebCore::Frame::endIfNotLoading):
1151
1152 2006-09-21  Nikolas Zimmermann  <zimmermann@kde.org>
1153
1154         Reviewed by eseidel.
1155
1156         Fix Qt/Linux build.
1157
1158         * CMakeLists.txt:
1159         * kcanvas/device/qt/KCanvasClipperQt.h:
1160         * kcanvas/device/qt/KRenderingDeviceQt.cpp:
1161         * platform/qt/FrameQt.cpp:
1162         (WebCore::FrameQt::isLoadTypeReload):
1163         (WebCore::FrameQt::originalRequestURL):
1164         * platform/qt/FrameQt.h:
1165         * platform/qt/GraphicsContextQt.cpp:
1166         (WebCore::GraphicsContext::concatCTM):
1167         * platform/qt/ScrollViewQt.cpp:
1168         (WebCore::ScrollView::wheelEvent):
1169         * platform/qt/TemporaryLinkStubs.cpp:
1170         (WebCore::IconDatabase::setIconURLForPageURL):
1171
1172 2006-09-20  Justin Garcia  <justin.garcia@apple.com>
1173
1174         Reviewed by john
1175         
1176         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7165>
1177         TinyMCE: Dragging & dropping content always leaves a copy when editing inside a subframe
1178
1179         * editing/MoveSelectionCommand.cpp:
1180         (WebCore::MoveSelectionCommand::MoveSelectionCommand): Set the document
1181         to the position-to-move-to's document, not the fragment's document.  The 
1182         fragment's document is the document used to create the fragment and is irrelavant.
1183
1184 === Safari-521.27 ===
1185
1186 2006-09-21  Brady Eidson  <beidson@apple.com>
1187
1188         Reviewed by Anders
1189
1190         When your assumption is "IconDatabase::sharedIconDatabase()" will never fail but it does, you're in trouble
1191         This fixes Spinneret so it won't crash on its first load!
1192
1193         * page/Frame.cpp:
1194         (WebCore::Frame::endIfNotLoading):
1195
1196 2006-09-21  Brady Eidson  <beidson@apple.com>
1197
1198         Build fix
1199
1200         * platform/win/TemporaryLinkStubs.cpp:
1201         (ScrollView::wheelEvent):
1202
1203 2006-09-20  Rob Buis  <buis@kde.org>
1204
1205         Reviewed by eseidel.
1206
1207         http://bugzilla.opendarwin.org/show_bug.cgi?id=10946
1208         new marker code draws end-marker in wrong place
1209
1210         Keep track of the start of the subpath so we can handle
1211         closeTo/moveTo correctly.
1212
1213         * kcanvas/RenderPath.cpp:
1214         (WebCore::DrawMarkersData::DrawMarkersData):
1215         (WebCore::updateMarkerDataForElement):
1216
1217 2006-09-21  David Hyatt <hyatt@apple.com>
1218
1219         Wheel scrolling prep for Win32.
1220
1221         WARNING: NO TEST CASES ADDED OR CHANGED
1222
1223         * platform/PlatformWheelEvent.h:
1224         * platform/ScrollBar.h:
1225         * platform/ScrollView.h:
1226         * platform/mac/ScrollViewMac.mm:
1227         (WebCore::ScrollView::wheelEvent):
1228         * rendering/RenderLayer.cpp:
1229
1230 2006-09-20  Timothy Hatcher  <timothy@apple.com>
1231
1232         Reviewed by Hyatt.
1233
1234         Bug 10917: REGRESSION (r16027): iFrame transparency broken
1235         http://bugzilla.opendarwin.org/show_bug.cgi?id=10917
1236
1237         Don't paint the base background color if we transparent.
1238
1239         * rendering/RenderBox.cpp:
1240         (WebCore::RenderBox::paintBackgroundExtended):
1241
1242 2006-09-20  Adam Roben  <aroben@apple.com>
1243
1244         Reviewed by andersca.
1245
1246         * platform/FileChooser.h: Remove no-longer-necessary namespace std
1247
1248 2006-09-20  Eric Seidel  <eric@eseidel.com>
1249
1250         Reviewed by beth.
1251
1252         Cleanup style in KCanvas.
1253         Remove extra white-space, unneeded arguments, etc.
1254
1255         * WebCore.xcodeproj/project.pbxproj:
1256         * kcanvas/KCanvasClipper.cpp:
1257         (WebCore::operator<<):
1258         (WebCore::KCanvasClipper::externalRepresentation):
1259         * kcanvas/KCanvasClipper.h:
1260         * kcanvas/KCanvasFilters.cpp:
1261         (WebCore::KCanvasFilter::externalRepresentation):
1262         (WebCore::operator<<):
1263         (WebCore::KCanvasFilterEffect::externalRepresentation):
1264         (WebCore::KCPointLightSource::externalRepresentation):
1265         (WebCore::KCSpotLightSource::externalRepresentation):
1266         (WebCore::KCDistantLightSource::externalRepresentation):
1267         (WebCore::KCanvasFEBlend::externalRepresentation):
1268         (WebCore::KCanvasFEColorMatrix::externalRepresentation):
1269         (WebCore::KCanvasFEComponentTransfer::externalRepresentation):
1270         (WebCore::KCanvasFEComposite::externalRepresentation):
1271         (WebCore::KCanvasFEConvolveMatrix::externalRepresentation):
1272         (WebCore::KCanvasFEDiffuseLighting::externalRepresentation):
1273         (WebCore::KCanvasFEDisplacementMap::externalRepresentation):
1274         (WebCore::KCanvasFEFlood::externalRepresentation):
1275         (WebCore::KCanvasFEGaussianBlur::externalRepresentation):
1276         (WebCore::KCanvasFEImage::externalRepresentation):
1277         (WebCore::KCanvasFEMerge::externalRepresentation):
1278         (WebCore::KCanvasFEMorphology::externalRepresentation):
1279         (WebCore::KCanvasFEOffset::externalRepresentation):
1280         (WebCore::KCanvasFESpecularLighting::externalRepresentation):
1281         (WebCore::KCanvasFETile::externalRepresentation):
1282         (WebCore::KCanvasFETurbulence::externalRepresentation):
1283         * kcanvas/KCanvasFilters.h:
1284         (WebCore::KCanvasFEDiffuseLighting::lightSource):
1285         (WebCore::KCanvasFESpecularLighting::lightSource):
1286         * kcanvas/KCanvasImage.h:
1287         * kcanvas/KCanvasMarker.cpp:
1288         (WebCore::KCanvasMarker::externalRepresentation):
1289         * kcanvas/KCanvasMarker.h:
1290         * kcanvas/KCanvasResource.cpp:
1291         (WebCore::operator<<):
1292         * kcanvas/KCanvasResource.h:
1293         * kcanvas/KCanvasTreeDebug.cpp:
1294         (WebCore::operator<<):
1295         (WebCore::writeIndent):
1296         (WebCore::writeStyle):
1297         (WebCore::write):
1298         (WebCore::writeRenderResources):
1299         * kcanvas/KCanvasTreeDebug.h:
1300         (WebCore::operator<<):
1301         * kcanvas/RenderForeignObject.cpp:
1302         (WebCore::RenderForeignObject::paint):
1303         * kcanvas/RenderPath.cpp:
1304         (WebCore::RenderPath::paint):
1305         (WebCore::drawStartAndMidMarkers):
1306         * kcanvas/RenderSVGContainer.cpp:
1307         (WebCore::RenderSVGContainer::paint):
1308         * kcanvas/RenderSVGImage.cpp:
1309         (WebCore::RenderSVGImage::translateForAttributes):
1310         * kcanvas/RenderSVGImage.h:
1311         * kcanvas/device/KRenderingDevice.cpp:
1312         (WebCore::KRenderingDevice::currentContext):
1313         (WebCore::KRenderingDevice::popContext):
1314         (WebCore::KRenderingDevice::pushContext):
1315         * kcanvas/device/KRenderingDevice.h:
1316         * kcanvas/device/KRenderingFillPainter.h:
1317         * kcanvas/device/KRenderingPaintServer.h:
1318         (WebCore::KRenderingPaintServer::KRenderingPaintServer):
1319         (WebCore::KRenderingPaintServer::activeClient):
1320         (WebCore::KRenderingPaintServer::setActiveClient):
1321         * kcanvas/device/KRenderingPaintServerGradient.cpp:
1322         (WebCore::operator<<):
1323         (WebCore::KRenderingPaintServerGradient::externalRepresentation):
1324         (WebCore::KRenderingPaintServerLinearGradient::externalRepresentation):
1325         (WebCore::KRenderingPaintServerGradient::listener):
1326         (WebCore::KRenderingPaintServerGradient::setListener):
1327         (WebCore::KRenderingPaintServerRadialGradient::externalRepresentation):
1328         * kcanvas/device/KRenderingPaintServerGradient.h:
1329         * kcanvas/device/KRenderingPaintServerPattern.cpp:
1330         (WebCore::KRenderingPaintServerPattern::tile):
1331         (WebCore::KRenderingPaintServerPattern::setTile):
1332         (WebCore::KRenderingPaintServerPattern::listener):
1333         (WebCore::KRenderingPaintServerPattern::setListener):
1334         (WebCore::KRenderingPaintServerPattern::externalRepresentation):
1335         * kcanvas/device/KRenderingPaintServerPattern.h:
1336         * kcanvas/device/KRenderingPaintServerSolid.cpp:
1337         (WebCore::KRenderingPaintServerSolid::externalRepresentation):
1338         * kcanvas/device/KRenderingPaintServerSolid.h:
1339         * kcanvas/device/KRenderingStrokePainter.cpp:
1340         (WebCore::KRenderingStrokePainter::strokeMiterLimit):
1341         (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
1342         * kcanvas/device/KRenderingStrokePainter.h:
1343         * kcanvas/device/quartz/KCanvasFilterQuartz.h:
1344         * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
1345         (WebCore::KCanvasFilterQuartz::prepareFilter):
1346         * kcanvas/device/quartz/KCanvasItemQuartz.h: Removed.
1347         * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
1348         (WebCore::KCanvasMaskerQuartz::applyMask):
1349         * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
1350         (WebCore::KCanvasImageQuartz::init):
1351         * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
1352         (WebCore::KCanvasClipperQuartz::applyClip):
1353         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
1354         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
1355         (WebCore::KRenderingDeviceQuartz::quartzContext):
1356         (WebCore::KRenderingDeviceQuartz::contextForImage):
1357         (WebCore::KRenderingDeviceQuartz::createPaintServer):
1358         (WebCore::KRenderingDeviceQuartz::createResource):
1359         (WebCore::KRenderingDeviceQuartz::createFilterEffect):
1360         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
1361         (WebCore::CGShadingRefForLinearGradient):
1362         (WebCore::CGShadingRefForRadialGradient):
1363         (WebCore::KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
1364         (WebCore::KRenderingPaintServerGradientQuartz::teardown):
1365         * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
1366         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
1367         (WebCore::KRenderingPaintServerQuartzHelper::strokePath):
1368         (WebCore::KRenderingPaintServerQuartzHelper::clipToStrokePath):
1369         (WebCore::KRenderingPaintServerQuartzHelper::fillPath):
1370         (WebCore::KRenderingPaintServerQuartzHelper::clipToFillPath):
1371         (WebCore::KRenderingPaintServerSolidQuartz::draw):
1372         (WebCore::KRenderingPaintServerSolidQuartz::setup):
1373         (WebCore::KRenderingPaintServerSolidQuartz::renderPath):
1374         (WebCore::KRenderingPaintServerPatternQuartz::setup):
1375         (WebCore::KRenderingPaintServerPatternQuartz::renderPath):
1376         (WebCore::KRenderingPaintServerPatternQuartz::teardown):
1377         * kcanvas/device/quartz/QuartzSupport.h:
1378         * kcanvas/device/quartz/QuartzSupport.mm:
1379         (WebCore::applyStrokeStyleToContext):
1380
1381 2006-09-20  Anders Carlsson  <acarlsson@apple.com>
1382
1383         Reviewed by Dave Hyatt.
1384
1385         * dom/WheelEvent.cpp:
1386         (WebCore::WheelEvent::WheelEvent):
1387         Use lroundf instead of lround since deltas are floats.
1388
1389 2006-09-20  Julien Palmas  <julien.palmas@gmail.com>
1390
1391         Reviewed by eseidel.  Landed by eseidel.
1392
1393         Test: svg/custom/pattern-y-offset.svg
1394
1395         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
1396         (WebCore::KRenderingPaintServerPatternQuartz::setup):
1397
1398 2006-09-20  David Hyatt  <hyatt@apple.com>
1399
1400         Add a new wheelEvent method to ScrollView.  Platforms that wish
1401         to handle the wheel event for the scroll view themselves can then
1402         do so there.  (Mac lets the underlying NSScrollView do it for now.)
1403
1404         * page/FrameView.cpp:
1405         (WebCore::FrameView::handleWheelEvent):
1406         * platform/ScrollView.h:
1407         (WebCore::ScrollView::wheelEvent):
1408
1409 2006-09-20  Brady Eidson  <beidson@apple.com>
1410
1411         Reviewed by Tim Omernick
1412
1413         Part of fixing a crash Tim O showed me that I missed in a release build.
1414         WebKit should be able to call through the bridge to WebCore no matter what -
1415         Replace the _iconDB member with calls to IconDatabase::sharedIconDatabase()
1416
1417         * bridge/mac/WebCoreIconDatabaseBridge.h:
1418         * bridge/mac/WebCoreIconDatabaseBridge.mm:
1419         (-[WebCoreIconDatabaseBridge closeSharedDatabase]):
1420         (-[WebCoreIconDatabaseBridge isOpen]):
1421         (-[WebCoreIconDatabaseBridge removeAllIcons]):
1422         (-[WebCoreIconDatabaseBridge _isEmpty]):
1423         (-[WebCoreIconDatabaseBridge isIconExpiredForIconURL:]):
1424         (-[WebCoreIconDatabaseBridge setPrivateBrowsingEnabled:]):
1425         (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]):
1426         (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]):
1427         (-[WebCoreIconDatabaseBridge iconURLForPageURL:]):
1428         (-[WebCoreIconDatabaseBridge defaultIconWithSize:]):
1429         (-[WebCoreIconDatabaseBridge retainIconForURL:]):
1430         (-[WebCoreIconDatabaseBridge releaseIconForURL:]):
1431         (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]):
1432         (-[WebCoreIconDatabaseBridge _setHaveNoIconForIconURL:]):
1433         (-[WebCoreIconDatabaseBridge _setIconURL:forPageURL:]):
1434         (-[WebCoreIconDatabaseBridge _hasEntryForIconURL:]):
1435         (-[WebCoreIconDatabaseBridge _setEnabled:]):
1436         (-[WebCoreIconDatabaseBridge _isEnabled]):
1437
1438 2006-09-20  Anders Carlsson  <acarlsson@apple.com>
1439
1440         Reviewed by Darin.
1441
1442         Add String::split which returns a Vector of Strings and use it instead of 
1443         DeprecatedStringList.
1444         
1445         * bindings/js/kjs_events.cpp:
1446         (KJS::Clipboard::getValueProperty):
1447         * bindings/js/kjs_window.cpp:
1448         (KJS::parseModalDialogFeatures):
1449         * css/MediaList.cpp:
1450         (WebCore::MediaList::setMediaText):
1451         * dom/Clipboard.h:
1452         * html/HTMLFormElement.cpp:
1453         (WebCore::HTMLFormElement::formData):
1454         * html/HTMLLinkElement.cpp:
1455         (WebCore::HTMLLinkElement::tokenizeRelAttribute):
1456         * platform/PlatformString.h:
1457         * platform/String.cpp:
1458         (WebCore::String::split):
1459         * platform/StringImpl.cpp:
1460         * platform/StringImpl.h:
1461         * platform/mac/ClipboardMac.h:
1462         * platform/mac/ClipboardMac.mm:
1463         (WebCore::ClipboardMac::types):
1464
1465 2006-09-20  Justin Garcia  <justin.garcia@apple.com>
1466
1467         Reviewed by harrison
1468
1469         * css/cssstyleselector.cpp:
1470         (WebCore::CSSStyleSelector::adjustRenderStyle): Don't call 
1471         HTMLElement::isContentEditable just to check the Frame's editability, since
1472         it calls updateRenderering, which can get us into infinite recursion.
1473
1474 2006-09-20  Brady Eidson  <beidson@apple.com>
1475
1476         Reviewed by Darin
1477
1478         Cleaned up my last patch alot, and made the WebCore icon database disabled by default
1479
1480         * loader/icon/IconDatabase.cpp:
1481         (WebCore::IconDatabase::IconDatabase): Disabled by default
1482         (WebCore::IconDatabase::removeAllIcons): Respect just isOpen() (disabled database will always be closed)
1483         (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ditto
1484         (WebCore::IconDatabase::iconForPageURL): Ditto
1485         (WebCore::IconDatabase::isIconExpiredForIconURL): Ditto
1486         (WebCore::IconDatabase::iconURLForPageURL): Ditto
1487         (WebCore::IconDatabase::retainIconForPageURL): Ditto
1488         (WebCore::IconDatabase::releaseIconForPageURL): Ditto
1489         (WebCore::IconDatabase::setIconDataForIconURL): Ditto
1490         (WebCore::IconDatabase::setIconURLForPageURL): Ditto
1491         (WebCore::IconDatabase::hasEntryForIconURL): Ditto
1492         (WebCore::IconDatabase::setEnabled): Fixed a big bug here!
1493
1494 2006-09-20  Adam Roben  <aroben@apple.com>
1495
1496         Reviewed by Adele.
1497
1498         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
1499         REGRESSION: file upload control with direction:rtl or text-align:right
1500         draws button on top of filename/icon
1501
1502         * rendering/RenderFileUploadControl.cpp:
1503         (WebCore::RenderFileUploadControl::setStyle): Force text-align to
1504         match direction
1505         (WebCore::RenderFileUploadControl::paintObject): Fix positioning of
1506         the filename and icon in RTL
1507
1508 2006-09-20  Alice Liu  <alice.liu@apple.com>
1509
1510         Reviewed by Adam Roben.
1511
1512         fixed windows build
1513
1514         * dom/WheelEvent.cpp:
1515         (WebCore::WheelEvent::WheelEvent):
1516         changed lrint to lround
1517
1518 2006-09-20  Sam Weinig  <sam.weinig@gmail.com>
1519
1520         Build Fix.  Adds isHorizontal attribute back to WheelEvent
1521         for the Objective-C bindings.  If it is found that isHorizontal
1522         is not used, we should remove it again but also remove it's
1523         declaration from PublicDOMInterfaces.h
1524
1525         * dom/WheelEvent.h:
1526         (WebCore::WheelEvent::isHorizontal):
1527         * dom/WheelEvent.idl:
1528
1529 2006-09-20  David Hyatt  <hyatt@apple.com>
1530
1531         Fix for 10945, WheelEvent should support two dimensions at once, since
1532         MacBooks allow for diagonal scrolling.  Also enhance the PlatformWheelEvent
1533         to allow for diagonal scrolling.
1534
1535         Reviewed by Eric
1536
1537         * dom/EventTargetNode.cpp:
1538         (WebCore::EventTargetNode::dispatchWheelEvent):
1539         * dom/WheelEvent.cpp:
1540         (WebCore::WheelEvent::WheelEvent):
1541         (WebCore::WheelEvent::initWheelEvent):
1542         * dom/WheelEvent.h:
1543         (WebCore::WheelEvent::wheelDelta):
1544         (WebCore::WheelEvent::wheelDeltaX):
1545         (WebCore::WheelEvent::wheelDeltaY):
1546         * dom/WheelEvent.idl:
1547         * page/FrameView.cpp:
1548         (WebCore::FrameView::handleWheelEvent):
1549         * platform/PlatformWheelEvent.h:
1550         (WebCore::PlatformWheelEvent::deltaX):
1551         (WebCore::PlatformWheelEvent::deltaY):
1552         (WebCore::PlatformWheelEvent::normalize):
1553         * platform/mac/WheelEventMac.mm:
1554         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
1555
1556 2006-09-19  Eric Seidel  <eric@eseidel.com>
1557
1558         Reviewed by hyatt.
1559
1560         Split KCanvasResources.* into multiple files (and some other minor spacing changes).
1561         
1562         No tests were harmed in the making of this patch.
1563
1564         * WebCore.xcodeproj/project.pbxproj:
1565         * kcanvas/KCanvasClipper.cpp: Added.
1566         (WebCore::operator<<):
1567         * kcanvas/KCanvasClipper.h: Added.
1568         * kcanvas/KCanvasFilters.h:
1569         * kcanvas/KCanvasImage.h:
1570         * kcanvas/KCanvasMarker.cpp: Added.
1571         * kcanvas/KCanvasMarker.h: Added.
1572         * kcanvas/KCanvasMasker.cpp: Added.
1573         (WebCore::KCanvasMasker::KCanvasMasker):
1574         (WebCore::KCanvasMasker::setMask):
1575         (WebCore::KCanvasMasker::externalRepresentation):
1576         (WebCore::getMaskerById):
1577         * kcanvas/KCanvasMasker.h: Added.
1578         * kcanvas/KCanvasResource.cpp: Added.
1579         (WebCore::KCanvasResource::invalidate):
1580         (WebCore::KCanvasResource::externalRepresentation):
1581         (WebCore::getResourceById):
1582         (WebCore::getPaintServerById):
1583         * kcanvas/KCanvasResource.h: Added.
1584         * kcanvas/KCanvasResources.cpp: Removed.
1585         * kcanvas/KCanvasResources.h: Removed.
1586         * kcanvas/RenderPath.cpp:
1587         * kcanvas/RenderSVGContainer.cpp:
1588         * kcanvas/RenderSVGImage.cpp:
1589         * kcanvas/RenderSVGText.cpp:
1590         * kcanvas/device/KRenderingPaintServer.h:
1591         * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
1592         * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
1593         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
1594         * ksvg2/svg/SVGClipPathElement.h:
1595         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
1596         * ksvg2/svg/SVGFEComponentTransferElement.cpp:
1597         * ksvg2/svg/SVGFECompositeElement.cpp:
1598         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
1599         * ksvg2/svg/SVGFELightElement.cpp:
1600         * ksvg2/svg/SVGFEOffsetElement.cpp:
1601         * ksvg2/svg/SVGFETurbulenceElement.cpp:
1602         * ksvg2/svg/SVGFilterElement.cpp:
1603         * ksvg2/svg/SVGLinearGradientElement.cpp:
1604         * ksvg2/svg/SVGMarkerElement.h:
1605         * ksvg2/svg/SVGMaskElement.h:
1606
1607 2006-09-19  Brady Eidson <beidson@apple.com>
1608
1609         Reviewed by Sarge Decker
1610
1611         <rdar://problem/4739892> and <rdar://problem/4729797>
1612         - WebCore::IconDatabase needs to have and respect an enabled() flag
1613         - Mail on ToT WebKit crashes in IconDatabase code when mailing a page from Safari
1614
1615         * bridge/mac/WebCoreIconDatabaseBridge.h:
1616         * bridge/mac/WebCoreIconDatabaseBridge.mm:
1617         (-[WebCoreIconDatabaseBridge _setEnabled:]): Added
1618         (-[WebCoreIconDatabaseBridge _isEnabled]): Added
1619         * loader/icon/IconDatabase.cpp:
1620         (WebCore::IconDatabase::IconDatabase):
1621         (WebCore::IconDatabase::open): Don't open if disabled
1622         (WebCore::IconDatabase::removeAllIcons): Ignore if disabled/closed
1623         (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ignore if disabled/closed
1624         (WebCore::IconDatabase::iconForPageURL): Default Icon if disabled/closed
1625         (WebCore::IconDatabase::isIconExpiredForIconURL): Default return if disabled/closed
1626         (WebCore::IconDatabase::iconURLForPageURL): Default return if disabled/closed
1627         (WebCore::IconDatabase::retainIconForPageURL): Ignore if disabled/closed
1628         (WebCore::IconDatabase::releaseIconForPageURL): Ignore if disabled/closed
1629         (WebCore::IconDatabase::releaseIconURL):
1630         (WebCore::IconDatabase::setIconDataForIconURL): Ignore if disabled/closed
1631         (WebCore::IconDatabase::setIconURLForPageURL): Ignore if disabled/closed
1632         (WebCore::IconDatabase::hasEntryForIconURL): Default return if disabled/closed
1633         (WebCore::IconDatabase::setEnabled): Added
1634         * loader/icon/IconDatabase.h:
1635         (WebCore::IconDatabase::enabled): Added
1636         * page/Frame.cpp:
1637         (WebCore::Frame::endIfNotLoading): do an IconDatabase::enabled() check before bothering to load the icon
1638         * platform/mac/ResourceLoaderMac.mm: Removed extraneous #include
1639
1640 2006-09-20  David Hyatt  <hyatt@apple.com>
1641
1642         Massage mouse wheel handling so that it is more cross-platform.  Make
1643         all the work happen in handleWheelEvent on the FrameView.
1644
1645         Reviewed by bradee-oh
1646
1647         * bridge/mac/FrameMac.mm:
1648         (WebCore::FrameMac::wheelEvent):
1649         * page/FrameView.cpp:
1650         (WebCore::FrameView::handleWheelEvent):
1651         * platform/PlatformWheelEvent.h:
1652         (WebCore::PlatformWheelEvent::platformDelta):
1653         (WebCore::PlatformWheelEvent::delta):
1654         * platform/mac/WheelEventMac.mm:
1655         (WebCore::platformDeltaForEvent):
1656         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
1657         * rendering/RenderLayer.cpp:
1658         (WebCore::RenderLayer::scroll):
1659         * rendering/RenderObject.cpp:
1660         (WebCore::RenderObject::scroll):
1661
1662 2006-09-19  Eric Seidel  <eric@eseidel.com>
1663
1664         Reviewed by adele.
1665
1666         Improve test output for filters with bounding-box relative sizes.
1667         http://bugzilla.opendarwin.org/show_bug.cgi?id=8585
1668
1669         Many test results updated.
1670
1671         * kcanvas/KCanvasFilters.cpp:
1672         (WebCore::KCanvasFilter::externalRepresentation):
1673
1674 2006-09-19  Eric Seidel  <eric@eseidel.com>
1675
1676         Reviewed by adele.
1677         
1678         Markers should clip to their viewport.
1679         http://bugzilla.opendarwin.org/show_bug.cgi?id=5967
1680
1681         Test: svg/custom/marker-overflow-clip.svg
1682
1683         * kcanvas/KCanvasResources.cpp:
1684         (WebCore::KCanvasMarker::KCanvasMarker):
1685         (WebCore::KCanvasMarker::setMarker):
1686         (WebCore::KCanvasMarker::draw):
1687         * kcanvas/KCanvasResources.h:
1688         (WebCore::KCanvasMasker::mask):
1689         * ksvg2/svg/SVGMarkerElement.cpp:
1690         (WebCore::SVGMarkerElement::SVGMarkerElement):
1691         (WebCore::SVGMarkerElement::parseMappedAttribute):
1692         (WebCore::SVGMarkerElement::canvasResource):
1693         (WebCore::SVGMarkerElement::createRenderer):
1694
1695 2006-09-19  Justin Garcia  <justin.garcia@apple.com>
1696
1697         Reviewed by eseidel
1698
1699         Backing out my recent change.
1700
1701         * css/cssstyleselector.cpp:
1702         (WebCore::CSSStyleSelector::adjustRenderStyle): 
1703
1704 2006-09-19  Brady Eidson  <beidson@apple.com>
1705
1706         Reviewed by Kevin McCullough
1707
1708         http://bugzilla.opendarwin.org/show_bug.cgi?id=10940
1709         Opening a PDF in a new tab/window creates a documentless-frame
1710         and we deref the document without checking its validity
1711
1712         * page/Frame.cpp:
1713         (WebCore::Frame::iconURL):
1714
1715 2006-09-19  Justin Garcia  <justin.garcia@apple.com>
1716
1717         Reviewed by harrison
1718         
1719         <rdar://problem/4735272>
1720         Can not click into link in programmatically editable content
1721
1722         * css/cssstyleselector.cpp:
1723         (WebCore::CSSStyleSelector::adjustRenderStyle): We stopped using
1724         userModify to implement document wide editability.
1725
1726 2006-09-19  MorganL  <morlmor@yahoo.com>
1727
1728         Reviewed by Darin and landed by Brady
1729
1730         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10939
1731         Build broken when SVG is not enabled.
1732
1733         * dom/XMLTokenizer.cpp:
1734         (WebCore::XMLTokenizer::startElementNs):
1735
1736 2006-09-19  Justin Garcia  <justin.garcia@apple.com>
1737
1738         Reviewed by harrison
1739         
1740         <rdar://problem/4727383> REGRESSION: Pasting plain text with tabs into Blot converts the tabs to single spaces
1741
1742         Pasting plain text results in a match style paste, and the insertion
1743         position is whitespace normal, which clobbers the whitespace:pre on 
1744         tab spans.  Skip changes to the whitespace mode when computing a style
1745         change for tab spans or the text nodes inside tab spans.
1746
1747         * editing/ApplyStyleCommand.cpp:
1748         (WebCore::StyleChange::init): Don't change the whitespace mode inside
1749         tab spans.
1750
1751 2006-09-19  David Hyatt  <hyatt@apple.com>
1752
1753         Fix for bug 5298, shape=default not supported for image maps.  Implement
1754         support for it.
1755
1756         Reviewed by timo
1757
1758         * html/HTMLAreaElement.cpp:
1759         (WebCore::HTMLAreaElement::getRegion):
1760         * html/HTMLMapElement.cpp:
1761         (WebCore::HTMLMapElement::mapMouseEvent):
1762
1763 2006-09-19  Adam Roben  <aroben@apple.com>
1764
1765         Reviewed by Adele.
1766
1767         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10824
1768         "no file selected" placeholder text missing from file upload control
1769
1770         * WebCore.xcodeproj/project.pbxproj:
1771         * rendering/RenderFileUploadControl.cpp: Remove class
1772         RenderFileUploadInnerFileBox, rename defaultFilenameNumChars to
1773         defaultWidthNumChars
1774         (WebCore::RenderFileUploadControl::RenderFileUploadControl): Call
1775         RenderBlock constructor instead of RenderFlexibleBox, 
1776         (WebCore::RenderFileUploadControl::setStyle): Remove references to
1777         m_fileBox.
1778         (WebCore::RenderFileUploadControl::valueChanged): Call repaint()
1779         instead of updateIconAndFileName() (which has been removed)
1780         (WebCore::RenderFileUploadControl::updateFromElement): Remove
1781         references to m_fileBox, don't call updateIconAndFilename()
1782         (WebCore::RenderFileUploadControl::maxFilenameWidth): Calculate width
1783         without using m_fileBox
1784         (WebCore::RenderFileUploadControl::createButtonStyle): Remove
1785         now-unnecessary display:box rule.
1786         (WebCore::RenderFileUploadControl::paintObject): Remove redundant call
1787         to paintingDisabled() now that Icon::paint() does it, and add code to
1788         paint the filename directly.
1789         (WebCore::RenderFileUploadControl::calcMinMaxWidth): Move this method
1790         out of RenderFileUploadInnerFileBox and into RenderFileUploadControl
1791         * rendering/RenderFileUploadControl.h: Make RenderFileUploadControl a
1792         subclass of RenderBlock instead of RenderFlexibleBox, remove
1793         updateIconAndFilename() method, remove m_fileBox instance variable.
1794
1795 2006-09-19  Eric Seidel  <eric@eseidel.com>
1796
1797         Reviewed by hyatt.
1798
1799         Exceptions thrown from <script> tags in XHTML/SVG docs show the wrong line numbers
1800         http://bugzilla.opendarwin.org/show_bug.cgi?id=10846
1801         
1802         No automated test case possible until http://bugzilla.opendarwin.org/show_bug.cgi?id=10905 is resolved.
1803
1804         * dom/XMLTokenizer.cpp:
1805         (WebCore::XMLTokenizer::XMLTokenizer):
1806         (WebCore::XMLTokenizer::startElementNs):
1807         (WebCore::XMLTokenizer::endElementNs):
1808
1809 2006-09-19  Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1810
1811         Reviewed by eseidel.  Landed by eseidel.
1812         
1813         Build fix only, no tests affected.
1814
1815         * platform/gdk/FontPlatformDataGdk.cpp:
1816         (WebCore::FontPlatformData::FontPlatformData):
1817         (WebCore::FontPlatformData::~FontPlatformData):
1818         * platform/gdk/FrameGdk.h:
1819         * platform/gdk/TemporaryLinkStubs.cpp:
1820         (FrameGdk::isLoadTypeReload):
1821         (FrameGdk::originalRequestURL):
1822         (IconDatabase::setIconURLForPageURL):
1823
1824 2006-09-19  David Hyatt  <hyatt@apple.com>
1825
1826         Refine the fix for 9805 to really get all the complex cases right.
1827
1828         Reviewed by Eric
1829
1830         * rendering/RenderBlock.cpp:
1831         (WebCore::RenderBlock::clearFloatsIfNeeded):
1832         (WebCore::RenderBlock::handleBottomOfBlock):
1833
1834 2006-09-18  David Hyatt  <hyatt@apple.com>
1835
1836         Fix for 9805, <hr> not positioned properly following a previous empty sibling
1837         that had clear:both set on it.  Update self-collapsing block clearance
1838         behavior to match what is specified in the latest draft of CSS2.1.
1839
1840         Reviewed by Eric
1841
1842         Added fast/block/margin-collapse/empty-clear-blocks.html
1843
1844         * rendering/RenderBlock.cpp:
1845         (WebCore::RenderBlock::clearFloatsIfNeeded):
1846         (WebCore::RenderBlock::handleBottomOfBlock):
1847
1848 2006-09-18  MorganL  <morlmor@yahoo.com>
1849
1850         Reviewed by Brady, landed by Brady
1851
1852         Send receivedResponse callback to ResourceLoaderClient when loading
1853         file URLs.
1854
1855         See http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
1856
1857         * platform/win/ResourceLoaderWin.cpp:
1858         (WebCore::ResourceLoader::fileLoadTimer):
1859
1860 2006-09-18  Brady Eidson  <beidson@apple.com>
1861
1862         Reviewed by Anders
1863
1864         <rdar://problem/3028061> - WebKit never updates favicon
1865         The WebKit enforced expiration date for icons has worked for some time, but the
1866         move to the new Icon Loader broke the "always get the icon if the user refreshes the page" 
1867         functionality.  This patch fixes that up, along with some other architectural improvements,
1868         the main one being that WebCore::Document now contains an iconURL for the Frame to query if needed.
1869
1870         * bridge/mac/FrameMac.h: Added isLoadTypeReload()
1871         * bridge/mac/FrameMac.mm:
1872         (WebCore::FrameMac::isLoadTypeReload): Implementation, calls into the bridge
1873         * bridge/mac/WebCoreFrameBridge.h: Added isLoadTypeReload:
1874         * bridge/win/FrameWin.h: Added isLoadTypeReload() for temporary link stub
1875         * dom/Document.h: Added m_iconURL
1876         (WebCore::Document::iconURL): Added
1877         (WebCore::Document::setIconURL): Ditto
1878         * html/HTMLLinkElement.cpp:
1879         (WebCore::HTMLLinkElement::process): Sets the iconURL in the Document instead of the Frame
1880         * page/Frame.cpp:
1881         (WebCore::Frame::iconURL): Calculates the iconURL based on the document, then the default favicon.ico url
1882         (WebCore::Frame::endIfNotLoading): Checks for the load type - always loads icon on Reload
1883         * page/Frame.h: Nuked setIconURL(), added isLoadTypeReload()
1884         * page/FramePrivate.h: Nuked IconURL
1885         * platform/win/TemporaryLinkStubs.cpp:
1886         (FrameWin::isLoadTypeReload):
1887
1888 2006-09-18  Sam Weinig  <sam.weinig@gmail.com>
1889
1890         Reviewed by Tim H.
1891
1892         - Re-add private method [DOMRGBColor _color] to DOMPrivate.h as
1893           it is it turns out that AppKit uses it.
1894
1895         * bindings/objc/DOMPrivate.h:
1896         * bindings/objc/DOMRGBColor.mm:
1897         (-[DOMRGBColor _color]):
1898
1899 2006-09-18  Sam Weinig  <sam.weinig@gmail.com>
1900
1901         Reviewed by Tim H.
1902
1903         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10903
1904         Yet Another Objective-C Bindings Patch
1905
1906         - Whitespace cleanup for IDLParser.pm
1907
1908         - Split DOMException, DOMRangeException, DOMXPathException, DOMEventsException
1909           and DOMAbstractView into their own files.
1910
1911         - Remove private method [DOMRGBColor _color] from DOMPrivate.h as
1912           it is not used and a public method is available now.
1913
1914         - Remove internal method [DOMDocument _ownerElement] from DOMInternal.h
1915           as it not used.
1916
1917         - Auto-generate method isContentEditable for DOMNode.
1918
1919         - General cleanup of bindings code including removing unneeded #imports
1920           and whitespace cleanup
1921
1922         * WebCore.xcodeproj/project.pbxproj:
1923         * bindings/objc/DOM.mm:
1924         (addElementClass):
1925         (elementClass):
1926         (-[DOMNode _initWithNode:WebCore::]):
1927         (+[DOMNode _nodeWith:WebCore::]):
1928         (-[DOMNode WebCore::]):
1929         (-[DOMNode KJS::Bindings::]):
1930         (-[DOMNode addEventListener:::]):
1931         (-[DOMNode removeEventListener:::]):
1932         (-[DOMNode dispatchEvent:]):
1933         (-[DOMElement image]):
1934         (-[DOMElement _font]):
1935         (-[DOMElement _imageTIFFRepresentation]):
1936         (-[DOMElement _getURLAttribute:]):
1937         (-[DOMElement _NPObject]):
1938         (-[DOMElement isFocused]):
1939         (-[DOMRange dealloc]):
1940         (-[DOMRange finalize]):
1941         (-[DOMRange description]):
1942         (-[DOMRange startContainer]):
1943         (-[DOMRange startOffset]):
1944         (-[DOMRange endContainer]):
1945         (-[DOMRange endOffset]):
1946         (-[DOMRange collapsed]):
1947         (-[DOMRange commonAncestorContainer]):
1948         (-[DOMRange setStart::]):
1949         (-[DOMRange setEnd::]):
1950         (-[DOMRange setStartBefore:]):
1951         (-[DOMRange setStartAfter:]):
1952         (-[DOMRange setEndBefore:]):
1953         (-[DOMRange setEndAfter:]):
1954         (-[DOMRange collapse:]):
1955         (-[DOMRange selectNode:]):
1956         (-[DOMRange selectNodeContents:]):
1957         (-[DOMRange compareBoundaryPoints::]):
1958         (-[DOMRange deleteContents]):
1959         (-[DOMRange extractContents]):
1960         (-[DOMRange cloneContents]):
1961         (-[DOMRange insertNode:]):
1962         (-[DOMRange surroundContents:]):
1963         (-[DOMRange cloneRange]):
1964         (-[DOMRange toString]):
1965         (-[DOMRange detach]):
1966         (-[DOMRange _initWithRange:WebCore::]):
1967         (+[DOMRange _rangeWith:WebCore::]):
1968         (-[DOMRange WebCore::]):
1969         (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
1970         (+[DOMNodeFilter _nodeFilterWith:WebCore::]):
1971         (-[DOMNodeFilter WebCore::]):
1972         (-[DOMNodeFilter dealloc]):
1973         (-[DOMNodeFilter finalize]):
1974         (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
1975         (-[DOMNodeIterator WebCore::]):
1976         (+[DOMNodeIterator _nodeIteratorWith:WebCore::filter:]):
1977         (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
1978         (-[DOMTreeWalker WebCore::]):
1979         (+[DOMTreeWalker _treeWalkerWith:WebCore::filter:]):
1980         (ObjCNodeFilterCondition::acceptNode):
1981         (-[DOMDocument createNodeIterator::::]):
1982         (-[DOMDocument createTreeWalker::::]):
1983         (ObjCEventListener::find):
1984         (ObjCEventListener::create):
1985         (ObjCEventListener::handleEvent):
1986         * bindings/objc/DOMAbstractView.h: Added.
1987         * bindings/objc/DOMAbstractView.mm: Added.
1988         (-[DOMAbstractView document]):
1989         (-[DOMAbstractView WebCore::]):
1990         (-[DOMAbstractView _initWithAbstractView:WebCore::]):
1991         (+[DOMAbstractView _abstractViewWith:WebCore::]):
1992         * bindings/objc/DOMCSS.mm:
1993         (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
1994         (+[DOMStyleSheet _styleSheetWith:WebCore::]):
1995         (+[DOMCSSStyleSheet _CSSStyleSheetWith:WebCore::]):
1996         (-[DOMCSSRule _initWithRule:WebCore::]):
1997         (+[DOMCSSRule _CSSRuleWith:WebCore::]):
1998         (-[DOMCSSValue _initWithValue:WebCore::]):
1999         (+[DOMCSSValue _CSSValueWith:WebCore::]):
2000         (+[DOMCSSPrimitiveValue _CSSPrimitiveValueWith:WebCore::]):
2001         (-[DOMDocument getComputedStyle::]):
2002         (-[DOMDocument getMatchedCSSRules::]):
2003         * bindings/objc/DOMCore.h:
2004         * bindings/objc/DOMEventException.h: Added.
2005         * bindings/objc/DOMEvents.h:
2006         * bindings/objc/DOMEvents.mm:
2007         * bindings/objc/DOMException.h: Added.
2008         * bindings/objc/DOMHTML.mm:
2009         (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]):
2010         (viewForElement):
2011         (-[DOMHTMLInputElement _replaceCharactersInRange:withString:selectingFromIndex:]):
2012         (-[DOMHTMLInputElement _selectedRange]):
2013         (-[DOMHTMLInputElement _setAutofilled:]):
2014         * bindings/objc/DOMInternal.h:
2015         * bindings/objc/DOMObject.h:
2016         * bindings/objc/DOMPrivate.h:
2017         * bindings/objc/DOMRange.h:
2018         * bindings/objc/DOMRangeException.h: Added.
2019         * bindings/objc/DOMViews.h:
2020         * bindings/objc/DOMViews.mm: Removed.
2021         * bindings/objc/DOMXPath.h:
2022         * bindings/objc/DOMXPathException.h: Added.
2023         * bindings/scripts/IDLParser.pm:
2024         * dom/Node.idl:
2025
2026 2006-09-18  Brady Eidson  <beidson@apple.com>
2027
2028         Windows build fix
2029
2030         * platform/win/TemporaryLinkStubs.cpp:
2031         (IconDatabase::setIconURLForPageURL):
2032
2033 2006-09-18  David Hyatt  <hyatt@apple.com>
2034
2035         Fix for bug 3969, hr width doesn't update when it clears a float.  This
2036         was also a problem with tables and overflow sections.
2037
2038         Reviewed by Eric
2039
2040         Added fast/block/float/width-update-after-clear.html
2041
2042         * rendering/RenderBlock.cpp:
2043         (WebCore::RenderBlock::collapseMargins):
2044         (WebCore::RenderBlock::clearFloatsIfNeeded):
2045
2046 2006-09-18  Brady Eidson  <beidson@apple.com>
2047
2048         Reviewed by John
2049
2050         http://bugzilla.opendarwin.org/show_bug.cgi?id=10907
2051         REGRESSION: New Icon Loaders don't handle certain non-server-root URLs correctly
2052
2053         * bridge/mac/FrameMac.h: Changed originalRequestURL() to virtual
2054         * bridge/win/FrameWin.h: Added originalRequestURL()
2055         * loader/icon/IconLoader.cpp:
2056         (IconLoader::receivedAllData): Moved the "pageURL to iconURL mapping logic" to Frame::commitIconURLToIconDatabase()
2057         * page/Frame.cpp:
2058         (WebCore::Frame::iconURL): Construct the icon URL from *only* the protocol and host of the frame's url.
2059         (WebCore::Frame::endIfNotLoading): Call commitIconURLToIconDatabase() if we're not kicking off an icon load
2060         (WebCore::Frame::commitIconURLToIconDatabase): Map the completed doc's pageURL to the iconURL
2061         * page/Frame.h: Added pure virtual originalRequestURL()
2062         * platform/win/TemporaryLinkStubs.cpp:
2063         (FrameWin::originalRequestURL): Added
2064
2065 2006-09-18  Rob Buis  <buis@kde.org>
2066
2067         Reviewed by Maciej.
2068
2069         http://bugzilla.opendarwin.org/show_bug.cgi?id=10807
2070         REGRESSION (r16259): Repro crash on manual-tests/svg-repaint-image.svg
2071
2072         Make sure the paint method is not exited without popping
2073         context and transparency layer.
2074
2075         WARNING: NO TEST CASES ADDED OR CHANGED
2076
2077         * kcanvas/RenderSVGImage.cpp:
2078         (WebCore::RenderSVGImage::paint):
2079
2080 2006-09-18  Graham Dennis  <graham.dennis@gmail.com>
2081
2082         Reviewed by Eric.
2083         
2084         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10896
2085         REGRESSION: WebKit can't be built with SVG disabled
2086         
2087         * bindings/scripts/CodeGeneratorObjC.pm:
2088         For each file generated add a #ifdef <something>_SUPPORT / #endif
2089         pair if the idl file has a Conditional extended attribute
2090
2091 2006-09-17  Eric Seidel  <eric@eseidel.com>
2092
2093         Reviewed by ap.
2094         
2095         REGRESSION (r16245): double-clicking on javascript exceptions fails to show source
2096         http://bugzilla.opendarwin.org/show_bug.cgi?id=10813
2097
2098         * bridge/mac/WebCoreFrameBridge.mm:
2099         (+[WebCoreFrameBridge stringWithData:textEncodingName:]):
2100
2101 2006-09-17  Alexey Proskuryakov  <ap@nypop.com>
2102
2103         Reviewed by Hyatt.
2104
2105         http://bugzilla.opendarwin.org/show_bug.cgi?id=10779
2106         REGRESSION: Animated GIF ignores frame intervals and loops infinitely
2107
2108         No test possible.
2109
2110         * platform/Image.cpp:
2111         (WebCore::Image::shouldAnimate): Don't check that there is more than one frame,
2112         maybe the rest just hasn't been loaded yet.
2113         (WebCore::Image::startAnimation): Move the frame count check here - there is no need
2114         to start animating before we get at least two frames.
2115
2116 2006-09-17  Brady Eidson <beidson@apple.com>
2117
2118         Reviewed by Sarge
2119
2120         IconLoader now gracefully handles the condition where there's no document in the frame
2121         (ie. PDFs)
2122
2123         * loader/icon/IconLoader.cpp:
2124         (IconLoader::startLoading):
2125
2126 2006-09-17  David Hyatt  <hyatt@apple.com>
2127
2128         Fix for bug 10899, rework how CSS keywords work to be smarter about
2129         using the correct size when generic families change (e.g., monospace to
2130         serif and vice versa).
2131
2132         Reviewed by aroben
2133
2134         Added fast/text/basic/generic-family-changes.html
2135
2136         * css/cssstyleselector.cpp:
2137         (WebCore::CSSStyleSelector::applyProperty):
2138         (WebCore::CSSStyleSelector::checkForGenericFamilyChange):
2139         (WebCore::CSSStyleSelector::fontSizeForKeyword):
2140         * css/cssstyleselector.h:
2141         * dom/Document.cpp:
2142         (WebCore::Document::recalcStyle):
2143         * platform/FontDescription.h:
2144         (WebCore::FontDescription::FontDescription):
2145         (WebCore::FontDescription::keywordSize):
2146         (WebCore::FontDescription::setKeywordSize):
2147         (WebCore::FontDescription::operator==):
2148
2149 2006-09-17  Alexey Proskuryakov  <ap@nypop.com>
2150
2151         Reviewed by Brady.
2152
2153         http://bugzilla.opendarwin.org/show_bug.cgi?id=10852
2154         REGRESSION: Reproducible crash in XMLHttpRequest::abort()
2155
2156         Test: http/tests/xmlhttprequest/xhr-onunload.html
2157
2158         * xml/xmlhttprequest.cpp:
2159         (WebCore::XMLHttpRequest::send): Check the return value of ResourceLoader::start().
2160
2161         * loader/icon/IconLoader.cpp:
2162         (IconLoader::startLoading): Fix a similar latent bug here.
2163
2164 2006-09-17  Adam Roben  <aroben@apple.com>
2165
2166         Build fix.
2167
2168         * loader/icon/IconDatabase.cpp:
2169
2170 2006-09-17  Anders Carlsson  <acarlsson@apple.com>
2171
2172         Reviewed by Brady.
2173
2174         Add simplifyWhiteSpace and stripWhiteSpace to the String class. 
2175         Change the XSLT Parameter Map to use Strings instead of StringImpls.
2176         General cleanup.
2177
2178         * bindings/js/JSXSLTProcessor.cpp:
2179         (KJS::XSLTProcessorProtoFunc::callAsFunction):
2180         * bindings/js/kjs_events.cpp:
2181         (KJS::JSAbstractEventListener::handleEvent):
2182         * bindings/js/kjs_window.cpp:
2183         (KJS::ScheduledAction::execute):
2184         * css/MediaList.cpp:
2185         (WebCore::MediaList::setMediaText):
2186         * dom/Document.cpp:
2187         (WebCore::Document::processHttpEquiv):
2188         * editing/ApplyStyleCommand.cpp:
2189         (WebCore::StyleChange::init):
2190         * html/HTMLDocument.cpp:
2191         (WebCore::parseDocTypeDeclaration):
2192         * html/HTMLLinkElement.cpp:
2193         (WebCore::HTMLLinkElement::parseMappedAttribute):
2194         * html/HTMLObjectElement.cpp:
2195         (WebCore::HTMLObjectElement::HTMLObjectElement):
2196         (WebCore::HTMLObjectElement::parseMappedAttribute):
2197         (WebCore::HTMLObjectElement::attach):
2198         (WebCore::HTMLObjectElement::setComplete):
2199         (WebCore::HTMLObjectElement::detach):
2200         (WebCore::HTMLObjectElement::recalcStyle):
2201         (WebCore::HTMLObjectElement::childrenChanged):
2202         (WebCore::HTMLObjectElement::isImageType):
2203         * html/HTMLObjectElement.h:
2204         * html/HTMLOptionElement.cpp:
2205         (WebCore::HTMLOptionElement::value):
2206         * html/HTMLSelectElement.cpp:
2207         (WebCore::HTMLSelectElement::appendFormData):
2208         * html/HTMLTokenizer.cpp:
2209         (WebCore::HTMLTokenizer::parseTag):
2210         * ksvg2/svg/SVGColor.cpp:
2211         (WebCore::SVGColor::setRGBColor):
2212         * ksvg2/svg/SVGDescElement.cpp:
2213         (WebCore::SVGDescElement::description):
2214         * platform/PlatformString.h:
2215         * platform/String.cpp:
2216         (WebCore::String::stripWhiteSpace):
2217         (WebCore::String::simplifyWhiteSpace):
2218         * platform/StringImpl.cpp:
2219         (WebCore::isSpace):
2220         (WebCore::parseLength):
2221         (WebCore::StringImpl::stripWhiteSpace):
2222         (WebCore::StringImpl::simplifyWhiteSpace):
2223         (WebCore::StringImpl::toInt):
2224         * platform/StringImpl.h:
2225         * platform/mac/ClipboardMac.mm:
2226         (WebCore::cocoaTypeFromMIMEType):
2227         * rendering/RenderPartObject.cpp:
2228         (WebCore::RenderPartObject::updateWidget):
2229         * xml/XPathFunctions.cpp:
2230         (WebCore::XPath::FunNormalizeSpace::doEvaluate):
2231         * xml/XPathGrammar.y:
2232         * xml/XPathStep.cpp:
2233         (WebCore::XPath::Step::nodeTestMatches):
2234         * xml/XSLStyleSheet.cpp:
2235         (WebCore::XSLStyleSheet::loadChildSheets):
2236         (WebCore::XSLStyleSheet::locateStylesheetSubResource):
2237         * xml/XSLTProcessor.cpp:
2238         (WebCore::xsltParamArrayFromParameterMap):
2239         (WebCore::XSLTProcessor::setParameter):
2240         (WebCore::XSLTProcessor::getParameter):
2241         (WebCore::XSLTProcessor::removeParameter):
2242         * xml/XSLTProcessor.h:
2243         * xml/xmlhttprequest.cpp:
2244         (WebCore::XMLHttpRequest::getStatusText):
2245
2246 2006-09-17  David Hyatt  <hyatt@apple.com>
2247
2248         Fix for bugzilla bugs 10895 and 6336, fieldsets misbehaving when floats
2249         are declared right before the fieldsets.  It turns out fieldsets in other
2250         browsers avoid floats (like overflow:auto/hidden/scroll sections do), so
2251         adding that behavior to fieldset fixes the bug.
2252
2253         Made avoidsFloats virtual and did some refactoring to make tables, flexboxes
2254         and fieldsets all subclass.
2255
2256         Reviewed by anders
2257
2258         Added fast/forms/float-before-fieldset.html
2259
2260         * rendering/RenderFieldset.h:
2261         (WebCore::RenderFieldset::avoidsFloats):
2262         * rendering/RenderFlexibleBox.h:
2263         (WebCore::RenderFlexibleBox::avoidsFloats):
2264         * rendering/RenderObject.cpp:
2265         (WebCore::RenderObject::avoidsFloats):
2266         * rendering/RenderObject.h:
2267         * rendering/RenderTable.h:
2268         (WebCore::RenderTable::avoidsFloats):
2269
2270 2006-09-17  David Hyatt  <hyatt@apple.com>
2271
2272         Fix for bugzilla bug 3240, implement support for the HTML4 "frame" and
2273         "rules" attributes on tables.
2274
2275         Reviewed by bradee-oh
2276
2277         Well-covered by existing layout tests.
2278
2279         * html/HTMLTableCellElement.cpp:
2280         (WebCore::HTMLTableCellElement::additionalAttributeStyleDecl):
2281         * html/HTMLTableColElement.cpp:
2282         (WebCore::HTMLTableColElement::additionalAttributeStyleDecl):
2283         * html/HTMLTableColElement.h:
2284         * html/HTMLTableElement.cpp:
2285         (WebCore::HTMLTableElement::HTMLTableElement):
2286         (WebCore::HTMLTableElement::~HTMLTableElement):
2287         (WebCore::HTMLTableElement::setCaption):
2288         (WebCore::HTMLTableElement::setTHead):
2289         (WebCore::HTMLTableElement::setTFoot):
2290         (WebCore::HTMLTableElement::setTBody):
2291         (WebCore::HTMLTableElement::createTHead):
2292         (WebCore::HTMLTableElement::deleteTHead):
2293         (WebCore::HTMLTableElement::createTFoot):
2294         (WebCore::HTMLTableElement::deleteTFoot):
2295         (WebCore::HTMLTableElement::createCaption):
2296         (WebCore::HTMLTableElement::deleteCaption):
2297         (WebCore::HTMLTableElement::insertRow):
2298         (WebCore::HTMLTableElement::deleteRow):
2299         (WebCore::HTMLTableElement::addChild):
2300         (WebCore::HTMLTableElement::childrenChanged):
2301         (WebCore::HTMLTableElement::mapToEntry):
2302         (WebCore::HTMLTableElement::parseMappedAttribute):
2303         (WebCore::HTMLTableElement::additionalAttributeStyleDecl):
2304         (WebCore::HTMLTableElement::getSharedCellDecl):
2305         (WebCore::HTMLTableElement::getSharedGroupDecl):
2306         (WebCore::HTMLTableElement::attach):
2307         * html/HTMLTableElement.h:
2308         (WebCore::HTMLTableElement::caption):
2309         (WebCore::HTMLTableElement::tHead):
2310         (WebCore::HTMLTableElement::tFoot):
2311         (WebCore::HTMLTableElement::):
2312         * html/HTMLTableRowElement.h:
2313         * html/HTMLTableSectionElement.cpp:
2314         (WebCore::HTMLTableSectionElement::additionalAttributeStyleDecl):
2315         * html/HTMLTableSectionElement.h:
2316
2317 2006-09-17  David Hyatt  <hyatt@apple.com>
2318
2319         Fix for bugzilla bug 4192, font size wrong for <tt> elements that
2320         specify their own new font-family list.  Make sure to always
2321         reset the generic family along with the family list when mapping in
2322         new font-family values.
2323
2324         Reviewed by bradee-oh
2325
2326         fast/text/basic/generic-family-reset.html
2327
2328         * css/cssstyleselector.cpp:
2329         (WebCore::CSSStyleSelector::applyProperty):
2330
2331 2006-09-16  Brady Eidson <beidson@apple.com>
2332
2333         Reviewed by Hyatt
2334
2335         Pruning code relating to WebKit's icon loader
2336
2337         * bridge/mac/WebCoreIconDatabaseBridge.h:
2338         * bridge/mac/WebCoreIconDatabaseBridge.mm:
2339         * loader/icon/IconDatabase.h:
2340         * page/Frame.cpp:
2341         (WebCore::Frame::endIfNotLoading): Moved a FIXME in from WebKit's IconLoader to 
2342         its new home
2343
2344 2006-09-16  Sam Weinig  <sam.weinig@gmail.com>
2345
2346         Reviewed by Tim H.
2347
2348         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10885
2349         Auto-generate DOMHTMLDocument for the Objective-C bindings
2350
2351         * DerivedSources.make:
2352         * WebCore.xcodeproj/project.pbxproj:
2353         * bindings/objc/DOMExtensions.h:
2354         * bindings/objc/DOMHTML.mm:
2355         (-[DOMHTMLDocument createDocumentFragmentWithText:]):
2356         * bindings/objc/DOMHTMLDocument.h: Removed.
2357         * bindings/objc/DOMHTMLDocument.mm: Removed.
2358         * bindings/objc/PublicDOMInterfaces.h:
2359         * bindings/scripts/CodeGeneratorObjC.pm:
2360         * html/HTMLDocument.idl:
2361         * platform/DeprecatedString.h:
2362         (WebCore::DeprecatedString::operator NSString*):
2363
2364 2006-09-16  Rob Buis  <buis@kde.org>
2365
2366         Reviewed by Eric.
2367
2368         http://bugzilla.opendarwin.org/show_bug.cgi?id=10866
2369         Code in kcanvas/ should not use Private
2370
2371         Remove Private classes and tweak coding style.
2372
2373         WARNING: NO TEST CASES ADDED OR CHANGED
2374
2375         * kcanvas/RenderPath.cpp:
2376         (WebCore::RenderPath::RenderPath):
2377         (WebCore::RenderPath::~RenderPath):
2378         (WebCore::RenderPath::localTransform):
2379         (WebCore::RenderPath::setLocalTransform):
2380         (WebCore::RenderPath::fillContains):
2381         (WebCore::RenderPath::relativeBBox):
2382         (WebCore::RenderPath::setPath):
2383         (WebCore::RenderPath::path):
2384         (WebCore::RenderPath::layout):
2385         * kcanvas/RenderPath.h:
2386         * kcanvas/RenderSVGContainer.cpp:
2387         (WebCore::RenderSVGContainer::RenderSVGContainer):
2388         (WebCore::RenderSVGContainer::~RenderSVGContainer):
2389         (WebCore::RenderSVGContainer::drawsContents):
2390         (WebCore::RenderSVGContainer::setDrawsContents):
2391         (WebCore::RenderSVGContainer::localTransform):
2392         (WebCore::RenderSVGContainer::setLocalTransform):
2393         (WebCore::RenderSVGContainer::layout):
2394         (WebCore::RenderSVGContainer::paint):
2395         (WebCore::RenderSVGContainer::setViewport):
2396         (WebCore::RenderSVGContainer::viewport):
2397         (WebCore::RenderSVGContainer::setViewBox):
2398         (WebCore::RenderSVGContainer::viewBox):
2399         (WebCore::RenderSVGContainer::setAlign):
2400         (WebCore::RenderSVGContainer::align):
2401         (WebCore::RenderSVGContainer::fillContains):
2402         (WebCore::RenderSVGContainer::strokeContains):
2403         (WebCore::RenderSVGContainer::setSlice):
2404         (WebCore::RenderSVGContainer::slice):
2405         * kcanvas/RenderSVGContainer.h:
2406         * kcanvas/device/KRenderingFillPainter.cpp:
2407         (WebCore::KRenderingFillPainter::KRenderingFillPainter):
2408         (WebCore::KRenderingFillPainter::~KRenderingFillPainter):
2409         (WebCore::KRenderingFillPainter::fillRule):
2410         (WebCore::KRenderingFillPainter::setFillRule):
2411         (WebCore::KRenderingFillPainter::opacity):
2412         (WebCore::KRenderingFillPainter::setOpacity):
2413         * kcanvas/device/KRenderingFillPainter.h:
2414         * kcanvas/device/KRenderingPaintServerGradient.cpp:
2415         (WebCore::KRenderingPaintServerGradient::KRenderingPaintServerGradient):
2416         (WebCore::KRenderingPaintServerGradient::~KRenderingPaintServerGradient):
2417         (WebCore::KRenderingPaintServerGradient::gradientStops):
2418         (WebCore::KRenderingPaintServerGradient::setGradientStops):
2419         (WebCore::KRenderingPaintServerGradient::spreadMethod):
2420         (WebCore::KRenderingPaintServerGradient::setGradientSpreadMethod):
2421         (WebCore::KRenderingPaintServerGradient::boundingBoxMode):
2422         (WebCore::KRenderingPaintServerGradient::setBoundingBoxMode):
2423         (WebCore::KRenderingPaintServerGradient::gradientTransform):
2424         (WebCore::KRenderingPaintServerGradient::setGradientTransform):
2425         (WebCore::KRenderingPaintServerLinearGradient::KRenderingPaintServerLinearGradient):
2426         (WebCore::KRenderingPaintServerLinearGradient::~KRenderingPaintServerLinearGradient):
2427         (WebCore::KRenderingPaintServerLinearGradient::gradientStart):
2428         (WebCore::KRenderingPaintServerLinearGradient::setGradientStart):
2429         (WebCore::KRenderingPaintServerLinearGradient::gradientEnd):
2430         (WebCore::KRenderingPaintServerLinearGradient::setGradientEnd):
2431         (WebCore::KRenderingPaintServerRadialGradient::KRenderingPaintServerRadialGradient):
2432         (WebCore::KRenderingPaintServerRadialGradient::~KRenderingPaintServerRadialGradient):
2433         (WebCore::KRenderingPaintServerRadialGradient::gradientCenter):
2434         (WebCore::KRenderingPaintServerRadialGradient::setGradientCenter):
2435         (WebCore::KRenderingPaintServerRadialGradient::gradientFocal):
2436         (WebCore::KRenderingPaintServerRadialGradient::setGradientFocal):
2437         (WebCore::KRenderingPaintServerRadialGradient::gradientRadius):
2438         (WebCore::KRenderingPaintServerRadialGradient::setGradientRadius):
2439         (WebCore::KRenderingPaintServerGradient::listener):
2440         (WebCore::KRenderingPaintServerGradient::setListener):
2441         * kcanvas/device/KRenderingPaintServerGradient.h:
2442         * kcanvas/device/KRenderingPaintServerPattern.cpp:
2443         (WebCore::KRenderingPaintServerPattern::KRenderingPaintServerPattern):
2444         (WebCore::KRenderingPaintServerPattern::~KRenderingPaintServerPattern):
2445         (WebCore::KRenderingPaintServerPattern::setBbox):
2446         (WebCore::KRenderingPaintServerPattern::bbox):
2447         (WebCore::KRenderingPaintServerPattern::boundingBoxMode):
2448         (WebCore::KRenderingPaintServerPattern::setBoundingBoxMode):
2449         (WebCore::KRenderingPaintServerPattern::tile):
2450         (WebCore::KRenderingPaintServerPattern::setTile):
2451         (WebCore::KRenderingPaintServerPattern::patternTransform):
2452         (WebCore::KRenderingPaintServerPattern::setPatternTransform):
2453         (WebCore::KRenderingPaintServerPattern::listener):
2454         (WebCore::KRenderingPaintServerPattern::setListener):
2455         * kcanvas/device/KRenderingPaintServerPattern.h:
2456         * kcanvas/device/KRenderingPaintServerSolid.cpp:
2457         (WebCore::KRenderingPaintServerSolid::KRenderingPaintServerSolid):
2458         (WebCore::KRenderingPaintServerSolid::~KRenderingPaintServerSolid):
2459         (WebCore::KRenderingPaintServerSolid::color):
2460         (WebCore::KRenderingPaintServerSolid::setColor):
2461         * kcanvas/device/KRenderingPaintServerSolid.h:
2462         * kcanvas/device/KRenderingStrokePainter.cpp:
2463         (WebCore::KRenderingStrokePainter::KRenderingStrokePainter):
2464         (WebCore::KRenderingStrokePainter::~KRenderingStrokePainter):
2465         (WebCore::KRenderingStrokePainter::strokeWidth):
2466         (WebCore::KRenderingStrokePainter::setStrokeWidth):
2467         (WebCore::KRenderingStrokePainter::strokeMiterLimit):
2468         (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
2469         (WebCore::KRenderingStrokePainter::strokeCapStyle):
2470         (WebCore::KRenderingStrokePainter::setStrokeCapStyle):
2471         (WebCore::KRenderingStrokePainter::strokeJoinStyle):
2472         (WebCore::KRenderingStrokePainter::setStrokeJoinStyle):
2473         (WebCore::KRenderingStrokePainter::dashOffset):
2474         (WebCore::KRenderingStrokePainter::setDashOffset):
2475         (WebCore::KRenderingStrokePainter::dashArray):
2476         (WebCore::KRenderingStrokePainter::setDashArray):
2477         (WebCore::KRenderingStrokePainter::opacity):
2478         (WebCore::KRenderingStrokePainter::setOpacity):
2479         (WebCore::KRenderingStrokePainter::dirty):
2480         (WebCore::KRenderingStrokePainter::setDirty):
2481         * kcanvas/device/KRenderingStrokePainter.h:
2482
2483 2006-09-16  Mark Rowe  <opendarwin.org@bdash.net.nz>
2484
2485         Reviewed by Anders.
2486
2487         http://bugzilla.opendarwin.org/show_bug.cgi?id=10887
2488         Fix build error
2489
2490         * bindings/objc/DOMPrivate.h: Remove reference to DOMEventPrivate.h.
2491
2492 2006-09-16  Sam Weinig  <sam.weinig@gmail.com>
2493
2494         Reviewed by Anders.
2495
2496         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10886
2497         REGRESSION (r16387): Reproducible crash when mousing over HTML document
2498
2499         - Special case method [DOMNode ownerDocument] to call document() instead
2500           or ownerDocument() to return to the old behavior. 
2501
2502         * WebCore.xcodeproj/project.pbxproj:
2503         * bindings/scripts/CodeGeneratorObjC.pm:
2504
2505 2006-09-15  Brady Eidson  <beidson@apple.com>
2506
2507         Reviewed by Tim Hatcher
2508
2509         <rdar://problem/4730811> - New IconDatabase needs to attempt to create its path.
2510         Otherwise new installs and new user accounts won't have any icons because the icon.db cannot be created
2511
2512         * loader/icon/IconDatabase.cpp: Removed a now obsolete FIXME
2513         (WebCore::makeAllDirectories): Added - candidate to be in a header for "platform neutral file utilities"
2514         (WebCore::IconDatabase::open): Make sure the directory exists
2515
2516 2006-09-15  Timothy Hatcher  <timothy@apple.com>
2517
2518         Reviewed by Brady.
2519
2520         Make new style ObjC methods public API.
2521
2522         * WebCore.xcodeproj/project.pbxproj:
2523         * bindings/objc/DOMPrivate.h:
2524         * bindings/objc/PublicDOMInterfaces.h:
2525
2526 2006-09-15  Sam Weinig  <sam.weinig@gmail.com>
2527
2528         Reviewed by Tim H.
2529
2530         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10870
2531         Auto-generate DOMNode for the Objective-C bindings
2532
2533         * DerivedSources.make:
2534         * WebCore.xcodeproj/project.pbxproj:
2535         * bindings/objc/DOM.mm:
2536         (-[DOMNode boundingBox]):
2537         (-[DOMNode lineBoxRects]):
2538         * bindings/objc/DOMEvents.h:
2539         * bindings/objc/DOMExtensions.h:
2540         * bindings/objc/DOMNode.h: Removed.
2541         * bindings/objc/DOMNode.mm: Removed.
2542         * bindings/objc/PublicDOMInterfaces.h:
2543         * bindings/scripts/CodeGeneratorObjC.pm:
2544         * dom/Node.idl:
2545
2546 2006-09-15  Timothy Hatcher  <timothy@apple.com>
2547
2548         Reviewed by Justin.
2549
2550         Removed alter selection logic from WebCoreFrameBridge and moved to SelectionController.
2551
2552         * bridge/mac/WebCoreFrameBridge.h:
2553         * bridge/mac/WebCoreFrameBridge.mm:
2554         (-[WebCoreFrameBridge centerSelectionInVisibleArea]):
2555         (-[WebCoreFrameBridge rangeByExpandingSelectionWithGranularity:]):
2556         (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:direction:granularity:]):
2557         (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]):
2558         (-[WebCoreFrameBridge alterCurrentSelection:verticalDistance:]):
2559         (-[WebCoreFrameBridge replaceMarkedTextWithText:]):
2560         (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
2561         (-[WebCoreFrameBridge increaseSelectionListLevel]):
2562         (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]):
2563         (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]):
2564         (-[WebCoreFrameBridge decreaseSelectionListLevel]):
2565         (-[WebCoreFrameBridge insertLineBreak]):
2566         (-[WebCoreFrameBridge insertParagraphSeparator]):
2567         (-[WebCoreFrameBridge insertParagraphSeparatorInQuotedContent]):
2568         (-[WebCoreFrameBridge insertText:selectInsertedText:]):
2569         (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:granularity:]):
2570         (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:granularity:]):
2571         (createMouseEventFromDraggingInfo):
2572         * editing/SelectionController.cpp:
2573         (WebCore::SelectionController::moveTo):
2574         (WebCore::SelectionController::setSelection):
2575         (WebCore::SelectionController::modify):
2576         (WebCore::SelectionController::setBase):
2577         (WebCore::SelectionController::setExtent):
2578         * editing/SelectionController.h:
2579         * page/Frame.cpp:
2580         (WebCore::Frame::revealSelection):
2581         (WebCore::Frame::revealCaret):
2582         * page/Frame.h:
2583
2584 2006-09-15  Brady Eidson  <beidson@apple.com>
2585
2586         Reviewed by Anders
2587
2588         Added the ability to get a mutable char* from a CString, which will copy the internal
2589         buffer if the ref count is greater than 1 so your mutable char* won't affect any other
2590         referrer of that buffer.
2591
2592         * platform/CString.cpp:
2593         (WebCore::CString::mutableData):
2594         (WebCore::CString::copyBufferIfNeeded):
2595         * platform/CString.h:
2596
2597 2006-09-15  Justin Garcia  <justin.garcia@apple.com>
2598
2599         Reviewed by harrison
2600         
2601         <rdar://problem/4674869>
2602         REGRESSION: selecting text to write over results in cursor jumping to middle of next line
2603
2604         * editing/SelectionController.cpp:
2605         (WebCore::SelectionController::modify): Added lineBoundary to test fix.
2606         * editing/visible_units.cpp:
2607         (WebCore::endOfLine): If the last box on the line is a lineBreak, return the
2608         position before it, not after it.
2609
2610 2006-09-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2611
2612         Reviewed by Adam.
2613
2614         http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
2615         Bug 10864: Linux\GDK build fixes
2616
2617         * Projects/gdk/webcore-gdk.bkl:
2618         * WebCoreSources.bkl:
2619         * platform/gdk/FontCacheGdk.cpp:
2620         * platform/gdk/FontDataGdk.cpp:
2621         (WebCore::FontData::platformInit):
2622         * platform/gdk/FontGdk.cpp:
2623         (WebCore::Font::drawGlyphs):
2624         * platform/gdk/FrameGdk.cpp:
2625         (WebCore::FrameGdk::handleGdkEvent):
2626         * platform/gdk/FrameGdk.h:
2627         * platform/gdk/ImageGdk.cpp: Added.
2628         (WebCore::Image::initPlatformData):
2629         (WebCore::Image::invalidatePlatformData):
2630         (WebCore::Image::loadPlatformResource):
2631         (WebCore::Image::supportsType):
2632         * platform/gdk/RenderPopupMenuGdk.cpp:
2633         (WebCore::RenderPopupMenuGdk::hidePopup):
2634         * platform/gdk/RenderPopupMenuGdk.h:
2635         * platform/gdk/ScreenGdk.cpp:
2636         (WebCore::drawableForPage):
2637         (WebCore::screenRect):
2638         (WebCore::screenDepth):
2639         (WebCore::usableScreenRect):
2640         (WebCore::scaleFactor):
2641         * platform/gdk/SystemTimeLinux.cpp:
2642         (WebCore::currentTime):
2643         * platform/gdk/TemporaryLinkStubs.cpp:
2644         (FrameGdk::bindingRootObject):
2645         (FrameGdk::markMisspellings):
2646         (WebCore::screenDepthPerComponent):
2647         (WebCore::screenIsMonochrome):
2648         (WebCore::fileButtonChooseFileLabel):
2649         (WebCore::fileButtonNoFileSelectedLabel):
2650         (FrameGdk::shouldChangeSelection):
2651         (FrameGdk::respondToChangedSelection):
2652         (FrameGdk::respondToChangedContents):
2653         (Path::contains):
2654         (PlatformScrollBar::PlatformScrollBar):
2655         (PlatformScrollBar::~PlatformScrollBar):
2656         (PlatformScrollBar::width):
2657         (PlatformScrollBar::height):
2658         (PlatformScrollBar::setEnabled):
2659         (PlatformScrollBar::paint):
2660         (PlatformScrollBar::setScrollBarValue):
2661         (PlatformScrollBar::setKnobProportion):
2662         (PlatformScrollBar::setRect):
2663         (ScrollBar::ScrollBar):
2664         (FileChooser::FileChooser):
2665         (FileChooser::~FileChooser):
2666         (FileChooser::openFileChooser):
2667         (FileChooser::basenameForWidth):
2668         (FileChooser::uploadControlDetaching):
2669         (FileChooser::chooseFile):
2670         (Icon::Icon):
2671         (Icon::~Icon):
2672         (Icon::newIconForFile):
2673         (Icon::paint):
2674         (IconLoader::stopLoading):
2675         (IconLoader::startLoading):
2676         (IconLoader::createForFrame):
2677         (IconDatabase::isIconExpiredForIconURL):
2678         (IconDatabase::hasEntryForIconURL):
2679         (IconDatabase::sharedIconDatabase):
2680         * platform/gdk/WidgetGdk.cpp:
2681         * webcore-base.bkl:
2682
2683 2006-09-15  Nikolas Zimmermann  <zimmermann@kde.org>
2684
2685         Reviewed by Eric.
2686
2687         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
2688         Fix svg memory leaks.
2689
2690         Reworked SVGList to deal with RefPtr's for ptr types
2691         which makes manual refcounting unnecessary, and is much safer.
2692
2693         Removing all virtual functions (nullItem) from SVGList, and
2694         also remove SVGListBase. Switch to a similar concept like
2695         Vector/VectorTraits (see new file SVGListTraits.h).
2696
2697         Credits go to Eric/Maciej for the inspiration.
2698
2699         * CMakeLists.txt: Add SVGListTraits.cpp to build
2700         * WebCore.xcodeproj/project.pbxproj: Ditto.
2701         * bindings/scripts/CodeGeneratorJS.pm: Generator changes for SVGTransform/PathSeg/LengthList (now RefPtr based)
2702         * kcanvas/RenderSVGText.cpp: Add some get() methods, as SVGLengthList is RefPtr based now.
2703         (WebCore::RenderSVGText::translationForAttributes):
2704         * ksvg2/svg/SVGAnimateTransformElement.cpp: Add some get() methods, as SVGTransformList is RefPtr based now.
2705         (WebCore::SVGAnimateTransformElement::handleTimerEvent):
2706         * ksvg2/svg/SVGElementInstanceList.cpp: Be RefPtr based.
2707         (WebCore::SVGElementInstanceList::SVGElementInstanceList):
2708         * ksvg2/svg/SVGElementInstanceList.h:
2709         * ksvg2/svg/SVGLengthList.cpp: Ditto.
2710         (WebCore::SVGLengthList::SVGLengthList):
2711         * ksvg2/svg/SVGLengthList.h: Ditto.
2712         * ksvg2/svg/SVGList.h: Rewrote, as described above.
2713         (WebCore::SVGListTypeOperations::nullItem):
2714         (WebCore::SVGList::SVGList):
2715         (WebCore::SVGList::~SVGList):
2716         (WebCore::SVGList::clear):
2717         (WebCore::SVGList::getFirst):
2718         (WebCore::SVGList::getLast):
2719         (WebCore::SVGList::getItem):
2720         (WebCore::SVGList::replaceItem):
2721         (WebCore::SVGList::removeItem):
2722         * ksvg2/svg/SVGListTraits.cpp: Added.
2723         * ksvg2/svg/SVGListTraits.h: Added.
2724         (WebCore::):
2725         * ksvg2/svg/SVGPathElement.cpp: Add some get() methods, as SVGPathSegList is RefPtr based now.
2726         (WebCore::SVGPathElement::toPathData):
2727         * ksvg2/svg/SVGPathSegList.cpp: Be RefPtr based.
2728         (WebCore::SVGPathSegList::SVGPathSegList):
2729         * ksvg2/svg/SVGPathSegList.h: Ditto.
2730         * ksvg2/svg/SVGTransform.cpp: Style cleanup.
2731         (SVGTransform::SVGTransform):
2732         * ksvg2/svg/SVGTransformList.cpp: Be RefPtr based.
2733         (SVGTransformList::SVGTransformList):
2734         (SVGTransformList::createSVGTransformFromMatrix):
2735         (SVGTransformList::consolidate):
2736         * ksvg2/svg/SVGTransformList.h: Ditto.
2737         * ksvg2/svg/SVGTransformable.cpp: Fix RefPtr usage of SVGTransform.
2738         (SVGTransformable::parseTransformAttribute):
2739
2740 2006-09-15  Nikolas Zimmermann  <zimmermann@kde.org>
2741
2742         Reviewed by eseidel.  Landed by eseidel.
2743
2744         Fix build on Qt/Linux and implement Frame::addMessageToConsole to
2745         be able to see javascript errors for instance.
2746
2747         * CMakeLists.txt:
2748         * platform/qt/FrameQt.h:
2749         * platform/qt/FrameQt.cpp: Implement addMessageToConsole.
2750         (WebCore::FrameQt::bindingRootObject):
2751         * platform/qt/TemporaryLinkStubs.cp
2752         (WebCore::IconDatabase::hasEntryForIconURL):
2753         (WebCore::IconDatabase::sharedIconDatabase):
2754
2755 2006-09-15  Sam Weinig  <sam.weinig@gmail.com>
2756
2757         Reviewed by Tim H.
2758
2759         Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10869
2760         Auto-generate the internal methods for the Objective-C bindings
2761
2762         - Auto-generates the internal method (ie. the _fooBar and _fooBarWith methods)
2763           implementations where standard.  For cases where a custom implementation was
2764           needed, added a [ObjCNoInternal] extended attribute to the corresponding IDL.
2765
2766         - Some general cleanup of some of the non-generated bindings, to bring them in-
2767           line with what the generated bindings look like.
2768
2769         * bindings/objc/DOM.mm:
2770         (-[DOMNode description]):
2771         * bindings/objc/DOMCSS.mm:
2772         (-[DOMCSSPrimitiveValue WebCore::]):
2773         (-[DOMDocument getComputedStyle::]):
2774         (-[DOMDocument getMatchedCSSRules::]):
2775         * bindings/objc/DOMEvents.mm:
2776         (-[DOMEvent WebCore::]):
2777         * bindings/objc/DOMHTML.mm:
2778         * bindings/objc/DOMHTMLDocument.mm:
2779         (-[DOMHTMLDocument title]):
2780         (-[DOMHTMLDocument setTitle:]):
2781         (-[DOMHTMLDocument referrer]):
2782         (-[DOMHTMLDocument domain]):
2783         (-[DOMHTMLDocument URL]):
2784         (-[DOMHTMLDocument body]):
2785         (-[DOMHTMLDocument setBody:]):
2786         (-[DOMHTMLDocument images]):
2787         (-[DOMHTMLDocument applets]):
2788         (-[DOMHTMLDocument links]):
2789         (-[DOMHTMLDocument forms]):
2790         (-[DOMHTMLDocument anchors]):
2791         (-[DOMHTMLDocument cookie]):
2792         (-[DOMHTMLDocument setCookie:]):
2793         (-[DOMHTMLDocument open]):
2794         (-[DOMHTMLDocument close]):
2795         (-[DOMHTMLDocument write:]):
2796         (-[DOMHTMLDocument writeln:]):
2797         (-[DOMHTMLDocument getElementById:]):
2798         (-[DOMHTMLDocument getElementsByName:]):
2799         (-[DOMHTMLDocument WebCore::]):
2800         (+[DOMHTMLDocument _HTMLDocumentWith:WebCore::]):
2801         * bindings/objc/DOMHTMLOptionElement.mm:
2802         (-[DOMHTMLOptionElement form]):
2803         (-[DOMHTMLOptionElement defaultSelected]):
2804         (-[DOMHTMLOptionElement setDefaultSelected:]):
2805         (-[DOMHTMLOptionElement text]):
2806         (-[DOMHTMLOptionElement index]):
2807         (-[DOMHTMLOptionElement disabled]):
2808         (-[DOMHTMLOptionElement setDisabled:]):
2809         (-[DOMHTMLOptionElement label]):
2810         (-[DOMHTMLOptionElement setLabel:]):
2811         (-[DOMHTMLOptionElement selected]):
2812         (-[DOMHTMLOptionElement setSelected:]):
2813         (-[DOMHTMLOptionElement value]):
2814         (-[DOMHTMLOptionElement setValue:]):
2815         (-[DOMHTMLOptionElement WebCore::]):
2816         (+[DOMHTMLOptionElement _HTMLOptionElementWith:WebCore::]):
2817         * bindings/objc/DOMInternal.h:
2818         * bindings/objc/DOMNode.mm:
2819         (-[DOMNode dealloc]):
2820         (-[DOMNode finalize]):
2821         (-[DOMNode nodeName]):
2822         (-[DOMNode nodeValue]):
2823         (-[DOMNode setNodeValue:]):
2824         (-[DOMNode nodeType]):
2825         (-[DOMNode parentNode]):
2826         (-[DOMNode childNodes]):
2827         (-[DOMNode firstChild]):
2828         (-[DOMNode lastChild]):
2829         (-[DOMNode previousSibling]):
2830         (-[DOMNode nextSibling]):
2831         (-[DOMNode attributes]):
2832         (-[DOMNode ownerDocument]):
2833         (-[DOMNode insertBefore::]):
2834         (-[DOMNode replaceChild::]):
2835         (-[DOMNode removeChild:]):
2836         (-[DOMNode appendChild:]):
2837         (-[DOMNode hasChildNodes]):
2838         (-[DOMNode cloneNode:]):
2839         (-[DOMNode normalize]):
2840         (-[DOMNode isSupported::]):
2841         (-[DOMNode namespaceURI]):
2842         (-[DOMNode prefix]):
2843         (-[DOMNode setPrefix:]):
2844         (-[DOMNode localName]):
2845         (-[DOMNode hasAttributes]):
2846         (-[DOMNode isSameNode:]):
2847         (-[DOMNode isEqualNode:]):
2848         (-[DOMNode isDefaultNamespace:]):
2849         (-[DOMNode lookupPrefix:]):
2850         (-[DOMNode lookupNamespaceURI:]):
2851         (-[DOMNode textContent]):
2852         (-[DOMNode setTextContent:]):
2853         (-[DOMNode boundingBox]):
2854         (-[DOMNode lineBoxRects]):
2855         * bindings/objc/DOMObject.mm:
2856         (-[DOMObject _init]):
2857         * bindings/objc/DOMXPath.mm:
2858         (-[DOMNativeXPathNSResolver dealloc]):
2859         (-[DOMNativeXPathNSResolver finalize]):
2860         (-[DOMNativeXPathNSResolver WebCore::]):
2861         (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
2862         (+[DOMNativeXPathNSResolver _xpathNSResolverWith:WebCore::]):
2863         (-[DOMNativeXPathNSResolver lookupNamespaceURI:]):
2864         * bindings/scripts/CodeGeneratorObjC.pm:
2865         * bridge/mac/WebCoreFrameBridge.mm:
2866         (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
2867         (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]):
2868         * css/CSSCharsetRule.idl:
2869         * css/CSSFontFaceRule.idl:
2870         * css/CSSImportRule.idl:
2871         * css/CSSMediaRule.idl:
2872         * css/CSSPageRule.idl:
2873         * css/CSSPrimitiveValue.idl:
2874         * css/CSSRule.idl:
2875         * css/CSSStyleRule.idl:
2876         * css/CSSStyleSheet.idl:
2877         * css/CSSUnknownRule.idl:
2878         * css/CSSValue.idl:
2879         * css/CSSValueList.idl:
2880         * css/StyleSheet.idl:
2881         * dom/Event.idl:
2882         * dom/KeyboardEvent.idl:
2883         * dom/MouseEvent.idl:
2884         * dom/MutationEvent.idl:
2885         * dom/NodeIterator.idl:
2886         * dom/OverflowEvent.idl:
2887         * dom/TreeWalker.idl:
2888         * dom/UIEvent.idl:
2889         * dom/WheelEvent.idl:
2890
2891 2006-09-15  Adam Roben  <aroben@apple.com>
2892
2893         Reviewed by timothy.
2894
2895         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10865
2896         New file upload control should match the width of the old one
2897
2898         Make width of new file upload control match the old one as closely as
2899         possible.
2900
2901         * rendering/RenderFileUploadControl.cpp:
2902
2903 2006-09-15  Timothy Hatcher  <timothy@apple.com>
2904
2905         Reviewed by Eric.
2906
2907         Remove the SVG IDL files from the Copy Resources phase.
2908
2909         * WebCore.xcodeproj/project.pbxproj:
2910
2911 2006-09-15  Brady Eidson  <beidson@apple.com>
2912
2913         Reviewed by Eric Siedel
2914
2915         Dumped the use of CGColorRef and directly use the floating point data from
2916         WebCore::Color
2917
2918         This fixes the performance regression found between 16285 and 16286
2919
2920         * platform/mac/FontMac.mm:
2921         (WebCore::Font::drawComplexText):
2922         (WebCore::Font::drawGlyphs):
2923
2924 2006-09-14  Mark Rowe  <opendarwin.org@bdash.net.nz>
2925
2926         Reviewed by Adam.
2927
2928         http://bugzilla.opendarwin.org/show_bug.cgi?id=10838
2929         Bug 10838: REGRESSION: Leaking of WebScriptObjectPrivate
2930
2931         FrameMac relies on its cleanupPluginObjects being called to perform cleanup.  The virtual
2932         Frame::cleanupPluginObjects method is called from Frame's destructor, which results
2933         in Frame::cleanupPluginObjects being called rather than FrameMac::cleanupPluginObjects.
2934
2935         * bridge/mac/FrameMac.mm:
2936         (WebCore::FrameMac::~FrameMac): Call cancelAndClear to ensure that FrameMac::cleanupPluginObjects
2937         will be called from Frame::clear
2938         * page/Frame.cpp:
2939         (WebCore::Frame::~Frame): Use cancelAndClear.
2940         (WebCore::Frame::cancelAndClear): Move cancellation and clearing into a separate method that
2941         FrameMac can use.
2942         * page/Frame.h:
2943
2944 2006-09-14  Brady Eidson  <beidson@apple.com>
2945
2946         Reviewed by Maciej's rubber stamp
2947
2948         Exact same fix I just made, but in the other method I horked up
2949         Also added a reference to the bugzilla in comments
2950
2951         * page/Frame.cpp:
2952         (WebCore::Frame::endIfNotLoading):
2953         (WebCore::Frame::stop):
2954
2955 2006-09-14  Brady Eidson  <beidson@apple.com>
2956
2957         Reviewed by Maciej
2958
2959         Fixed a bad iFrame crash, resolving some of the layout test badness
2960
2961         * page/Frame.cpp:
2962         (WebCore::Frame::endIfNotLoading):
2963         - Added a RefPtr to protect the frame itself to prevent its destruction during this method
2964
2965 2006-09-14  Justin Garcia  <justin.garcia@apple.com>
2966
2967         Reviewed by harrison
2968         
2969         <rdar://problem/4655880> Up/Down arrows skip over To Do
2970
2971         * bridge/mac/WebCoreFrameBridge.mm:
2972         (-[WebCoreFrameBridge canDeleteRange:]): Added a FIXME.
2973         * dom/Node.cpp: Removed the unused inSameRootEditableElement.
2974         * dom/Node.h:
2975         * editing/SelectionController.cpp:
2976         (WebCore::SelectionController::modify): Added documentboundary to granularities in order test a fix.
2977         * editing/visible_units.cpp:
2978         (WebCore::previousLinePosition): Use highestEditableRoot so that this function can move from
2979         editable content into editable content that's embedded in non-editable content.
2980         (WebCore::nextLinePosition): Ditto.
2981         (WebCore::startOfEditableContent): Renamed from startOfEditableRoot and use highestEditableRoot.
2982         This is the behavior that callers desire.  This fixes Command + Up/Down.
2983         (WebCore::endOfEditableContent): Ditto.
2984         * editing/visible_units.h:
2985
2986 2006-09-14  Karthik Kumar  <karthikkumar@gmail.com>
2987
2988         Reviewed by timothy. Landed by aroben.
2989
2990         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10856
2991         Windows build fixes after r16360
2992
2993         * WebCore.vcproj/WebCore/WebCore.vcproj: Add loader\icon to
2994         AdditionalIncludeDirectories
2995         * platform/win/TemporaryLinkStubs.cpp: Add link stubs for IconLoader,
2996         IconDatabase
2997         (IconLoader::stopLoading):
2998         (IconLoader::startLoading):
2999         (IconLoader::createForFrame):
3000         (IconDatabase::isIconExpiredForIconURL):
3001         (IconDatabase::hasEntryForIconURL):
3002         (IconDatabase::sharedIconDatabase):
3003
3004 2006-09-14  Brady Eidson  <beidson@apple.com>
3005
3006         Part of a build fix for Windows - rest will be working out a mess of temporary link stubs
3007
3008         * loader/icon/IconLoader.cpp:
3009         (IconLoader::receivedAllData):
3010         * page/Frame.cpp:
3011         * page/FramePrivate.h:
3012
3013 2006-09-14  Graham Dennis  <graham.dennis@gmail.com>
3014
3015         Reviewed by Justin Garcia.
3016
3017         - http://bugzilla.opendarwin.org/show_bug.cgi?id=10726
3018           Crash in ApplyStyleCommand::applyRelativeFontStyleChange
3019
3020         * editing/ApplyStyleCommand.cpp:
3021         (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): Prevent a crash by
3022         makeing sure that the 'beyondEnd' node is after the start node.
3023
3024 2006-09-14  MorganL  <morlmor@yahoo.com>
3025
3026         Reviewed by Brady.
3027
3028         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
3029         Various bugs/crashes in ResourceLoaderWin with local files.
3030
3031         * platform/ResourceLoaderInternal.h:
3032         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
3033         * platform/win/ResourceLoaderWin.cpp:
3034         (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
3035         (WebCore::ResourceLoader::fileLoadTimer):
3036
3037 2006-09-13  Brady Eidson <beidson@apple.com>
3038
3039         Reviewed by Maciej
3040
3041         Icon loads now take place in WebCore
3042
3043         * WebCore.xcodeproj/project.pbxproj:
3044         * bridge/BrowserExtension.h:
3045         * bridge/mac/BrowserExtensionMac.h:
3046         * bridge/mac/BrowserExtensionMac.mm:
3047         - Moved enforcement of a Mozilla Favicon extension elsewhere
3048         
3049         * bridge/mac/FrameMac.h: 
3050         * bridge/mac/FrameMac.mm: 
3051         (WebCore::FrameMac::originalRequestURL):
3052         - Added accessor to "original request URL"
3053         
3054         * bridge/mac/WebCoreFrameBridge.h: 
3055         - Removed methods to set the iconURL as all loading is now done in WebCore
3056         - Added call throughs to notify WebKit an Icon is done loading, and a to get the original request URL
3057         
3058         * html/HTMLLinkElement.cpp: 
3059         (WebCore::HTMLLinkElement::process):
3060         - Moved enforcement of a Mozilla Favicon extension elsewhere
3061         
3062         * loader/icon/IconDatabase.cpp:
3063         (WebCore::IconDatabase::setIconURLForPageURL):
3064         - Changed an ASSERT to correctly handle a sketchy (invalid) situation
3065
3066         * loader/icon/IconLoader.h: Added.
3067         * loader/icon/IconLoader.cpp: Added.
3068         (IconLoader::IconLoader):
3069         (IconLoader::createForFrame):
3070         - Static factory method with a private constructor to enforce 
3071           "you MUST have a Frame to create an IconLoader" semantics
3072         (IconLoader::~IconLoader):
3073         (IconLoader::startLoading):
3074         (IconLoader::stopLoading):
3075         (IconLoader::receivedData):
3076         - ResourceLoaderClient delegate
3077         (IconLoader::receivedAllData):
3078         - Ditto
3079
3080         * loader/mac/IconLoaderMac.mm: Added.
3081         (IconLoader::receivedResponse):
3082         (IconLoader::notifyIconChanged):
3083         - For now, these are platform specific methods
3084         - One to get the HTTP response code of an icon load
3085         - The other to call through to the app when the icon has changed (loaded)
3086
3087         * page/Frame.h:
3088         * page/Frame.cpp:
3089         (WebCore::Frame::iconURL):
3090         (WebCore::Frame::setIconURL):
3091         - Frame objects now have an inherent icon URL and a way to calculate/access it
3092         (WebCore::Frame::endIfNotLoading):
3093         - This is where we actually kick off the IconLoader
3094         (WebCore::Frame::stop):
3095         - Added call to stop loading the icon
3096
3097         * page/FramePrivate.h:
3098         (WebCore::FramePrivate::FramePrivate):
3099         (WebCore::FramePrivate::~FramePrivate):
3100         - Added the icon URL as a private member
3101         - Added the IconLoader as a private member, and clean it up on deletion
3102
3103         * platform/mac/ResourceLoaderMac.mm:
3104         (WebCore::ResourceLoader::start):  Added a valuable ASSERT
3105
3106 2006-09-13  David Hyatt  <hyatt@apple.com>
3107
3108         Fix for 10841, unable to check checkboxes inside labels.
3109
3110         Reviewed by xenon, bradee-oh
3111
3112         * css/html4.css:
3113         * dom/Element.cpp:
3114         (WebCore::Element::contains):
3115         * dom/Element.h:
3116         * html/HTMLLabelElement.cpp:
3117         (WebCore::HTMLLabelElement::defaultEventHandler):
3118
3119 2006-09-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
3120
3121         Reviewed by Adam.
3122
3123         http://bugzilla.opendarwin.org/show_bug.cgi?id=10834
3124         Bug 10834: FileChooser constructor in FileChooserMac appears to overretain m_controller
3125
3126         * platform/mac/FileChooserMac.mm:
3127         (WebCore::FileChooser::FileChooser): Don't over-retain the OpenPanelController.
3128
3129 2006-09-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
3130
3131         Reviewed by Eric.
3132
3133         http://bugzilla.opendarwin.org/show_bug.cgi?id=10836
3134         Bug 10836: REGRESSION: Mac implementation of Font::drawGlyphs leaks a CGColorRef
3135
3136         * platform/mac/FontMac.mm:
3137         (WebCore::Font::drawComplexText): Release CGColorRef after use.
3138         (WebCore::Font::drawGlyphs): Ditto.
3139
3140 2006-09-14  Anders Carlsson  <acarlsson@apple.com>
3141
3142         Try fixing the Win32 build.
3143         
3144         * bridge/win/FrameWin.h:
3145         * platform/win/TemporaryLinkStubs.cpp:
3146         (FrameWin::bindingRootObject):
3147
3148 2006-09-14  Anders Carlsson  <acarlsson@apple.com>
3149
3150         Reviewed by Tim O.
3151
3152         Add USE defines for the generic JavaScriptCore bindings as well as NPAPI bindings.
3153         
3154         * bindings/js/kjs_binding.cpp:
3155         (KJS::ScriptInterpreter::createLanguageInstanceForValue):
3156         * bindings/js/kjs_dom.cpp:
3157         (KJS::getRuntimeObject):
3158         * bridge/mac/FrameMac.h:
3159         * config.h:
3160         * html/HTMLAppletElement.cpp:
3161         (WebCore::HTMLAppletElement::~HTMLAppletElement):
3162         (WebCore::HTMLAppletElement::detach):
3163         * html/HTMLAppletElement.h:
3164         * html/HTMLEmbedElement.cpp:
3165         (WebCore::HTMLEmbedElement::~HTMLEmbedElement):
3166         (WebCore::HTMLEmbedElement::detach):
3167         * html/HTMLEmbedElement.h:
3168         * html/HTMLObjectElement.cpp:
3169         (WebCore::HTMLObjectElement::~HTMLObjectElement):
3170         (WebCore::HTMLObjectElement::detach):
3171         * html/HTMLObjectElement.h:
3172         * html/HTMLPlugInElement.cpp:
3173         (WebCore::HTMLPlugInElement::HTMLPlugInElement):
3174         (WebCore::HTMLPlugInElement::~HTMLPlugInElement):
3175         (WebCore::HTMLPlugInElement::createNPObject):
3176         * html/HTMLPlugInElement.h:
3177         * page/Frame.h:
3178
3179 2006-09-13  David Hyatt  <hyatt@apple.com>
3180
3181         Clean up the XBL and XSLT ifdefs to be consistent with the SVG
3182         and XPath ifdefs.  KHTML_NO_XBL is flipped and is now XBL_SUPPORT.
3183         KHTML_XSLT is now XSLT_SUPPORT.
3184
3185         * WebCore.xcodeproj/project.pbxproj:
3186         * bindings/js/JSXSLTProcessor.cpp:
3187         * bindings/js/JSXSLTProcessor.h:
3188         * bindings/js/kjs_window.cpp:
3189         (KJS::Window::getValueProperty):
3190         * config.h:
3191         * css/CSSComputedStyleDeclaration.cpp:
3192         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3193         * css/cssparser.cpp:
3194         (WebCore::CSSParser::parseValue):
3195         * css/cssstyleselector.cpp:
3196         (WebCore::CSSStyleSelector::applyProperty):
3197         * dom/Document.cpp:
3198         (WebCore::Document::Document):
3199         (WebCore::Document::~Document):
3200         (WebCore::Document::recalcStyleSelector):
3201         * dom/Document.h:
3202         (WebCore::Document::bindingManager):
3203         * dom/Node.cpp:
3204         (WebCore::Node::createRendererIfNeeded):
3205         * dom/ProcessingInstruction.cpp:
3206         (WebCore::ProcessingInstruction::ProcessingInstruction):
3207         (WebCore::ProcessingInstruction::checkStyleSheet):
3208         (WebCore::ProcessingInstruction::setStyleSheet):
3209         * dom/ProcessingInstruction.h:
3210         * dom/XMLTokenizer.cpp:
3211         (WebCore::XMLTokenizer::processingInstruction):
3212         (WebCore::XMLTokenizer::insertErrorMessageBlock):
3213         * dom/XMLTokenizer.h:
3214         * loader/Cache.cpp:
3215         (WebCore::Cache::getStatistics):
3216         * loader/Cache.h:
3217         * loader/CachedResource.h:
3218         (WebCore::CachedResource::):
3219         * loader/CachedResourceClient.h:
3220         * loader/CachedXBLDocument.cpp:
3221         * loader/CachedXBLDocument.h:
3222         * loader/CachedXSLStyleSheet.cpp:
3223         * loader/CachedXSLStyleSheet.h:
3224         * loader/DocLoader.cpp:
3225         * loader/DocLoader.h:
3226         * rendering/RenderStyle.cpp:
3227         (WebCore::StyleCSS3NonInheritedData::StyleCSS3NonInheritedData):
3228         (WebCore::StyleCSS3NonInheritedData::~StyleCSS3NonInheritedData):
3229         (WebCore::StyleCSS3NonInheritedData::operator==):
3230         * rendering/RenderStyle.h:
3231         * xml/XSLImportRule.cpp:
3232         * xml/XSLImportRule.h:
3233         * xml/XSLStyleSheet.cpp:
3234         * xml/XSLStyleSheet.h:
3235         * xml/XSLTProcessor.cpp:
3236         * xml/XSLTProcessor.h:
3237
3238 2006-09-13  Nikolas Zimmermann  <zimmermann@kde.org>
3239
3240         Reviewed by eseidel.  Landed by eseidel.
3241
3242         Fix newly introduced memory leaks in SVG.
3243         http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
3244
3245         * ksvg2/svg/SVGList.h:
3246         (WebCore::SVGListBase::~SVGListBase):
3247         (WebCore::SVGListBase::clearVector):
3248         (WebCore::SVGListBase::clear):
3249         (WebCore::SVGList::clearVector):
3250         (WebCore::):
3251         * ksvg2/svg/SVGNumberList.cpp: s/float/double/ - forgot that!
3252         (SVGNumberList::SVGNumberList):
3253         * ksvg2/svg/SVGNumberList.h: Ditto.
3254
3255 2006-09-13  MorganL  <morlmor@yahoo.com>
3256
3257         Reviewed/landed by aroben.
3258
3259         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10833
3260         Windows build needs fixed after move to engine-rendered file upload widget
3261
3262         * WebCore.vcproj/WebCore/WebCore.vcproj: Add RenderFileUpload files,
3263         remove RenderFileButton files
3264         * platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser, Icon
3265         (FileChooser::FileChooser):
3266         (FileChooser::~FileChooser):
3267         (FileChooser::openFileChooser):
3268         (FileChooser::basenameForWidth):
3269         (FileChooser::uploadControlDetaching):
3270         (FileChooser::chooseFile):
3271         (WebCore::fileButtonChooseFileLabel):
3272         (WebCore::fileButtonNoFileSelectedLabel):
3273         (Icon::Icon):
3274         (Icon::~Icon):
3275         (Icon::newIconForFile):
3276         (Icon::paint):
3277
3278 2006-09-13  MorganL  <morlmor@yahoo.com>
3279
3280         Reviewed/landed by aroben.
3281
3282         Fixes http://bugzilla.opendarwin.org/attachment.cgi?id=10537
3283         Webkit WebCore build fails on Windows
3284
3285         * WebCore.vcproj/WebCore/build-generated-files.sh: export SOURCE_ROOT
3286         variable
3287
3288 2006-09-13  Nikolas Zimmermann  <zimmermann@kde.org>
3289
3290         Reviewed by Tim H.
3291
3292         Fix Qt/Linux build.
3293
3294         * CMakeLists.txt: Change SVGZoomEvent.idl location & add RenderFileUploadControl
3295         * platform/Icon.h: Add wtf/Platform.h include
3296         * platform/qt/FileChooserQt.cpp: Added as stub. Easy to implement though.
3297         (WebCore::FileChooser::FileChooser):
3298         (WebCore::FileChooser::~FileChooser):
3299         (WebCore::FileChooser::openFileChooser):
3300         (WebCore::FileChooser::basenameForWidth):
3301         (WebCore::FileChooser::uploadControlDetaching):
3302         (WebCore::FileChooser::chooseFile):
3303         * platform/qt/IconQt.cpp: Added as stub.
3304         (WebCore::Icon::Icon):
3305         (WebCore::Icon::~Icon):
3306         (WebCore::Icon::newIconForFile):
3307         (WebCore::Icon::paint):
3308         * platform/qt/TemporaryLinkStubs.cpp: Remove old RenderFileButton code & some new *Labels needed
3309         (searchableIndexIntroduction):
3310         (fileButtonChooseFileLabel):
3311         (fileButtonNoFileSelectedLabel):
3312
3313 2006-09-12  Adam Roben  <aroben@apple.com>
3314
3315         Reviewed by eseidel.
3316
3317         Switch back to passing relative paths to generate-bindings.pl when
3318         generating JS bindings.
3319
3320         * DerivedSources.make: Pass in relative paths to generate-bindings.pl
3321         * bindings/scripts/CodeGenerator.pm: Make ScanDirectory never call
3322         chdir and always construct absolute paths instead.
3323
3324 2006-09-12  David Hyatt  <hyatt@apple.com>
3325
3326         Fix for bug 3244, implement html4 label support.
3327
3328         Reviewed by mjs, aroben
3329
3330         Added fast/events/label-focus.html
3331
3332         * css/html4.css:
3333         * html/HTMLLabelElement.cpp:
3334         (WebCore::HTMLLabelElement::formElement):
3335         (WebCore::HTMLLabelElement::setActive):
3336         (WebCore::HTMLLabelElement::setHovered):
3337         (WebCore::HTMLLabelElement::defaultEventHandler):
3338         * html/HTMLLabelElement.h:
3339
3340 2006-09-12  Julien Palmas  <julien.palmas@gmail.com>
3341
3342         Reviewed by darin.  Landed by eseidel.
3343
3344         * ksvg2/svg/svgpathparser.cpp:
3345         (WebCore::SVGPolyParser::parsePoints):
3346
3347 2006-09-11  Kevin McCullough  <KMcCullough@apple.com>
3348
3349         Reviewed by Andersca, Maciej, Brady.
3350
3351         - Implemented intersectsNode in the Range Class
3352           to be compliant with Mozilla standard
3353
3354         * dom/Range.cpp:
3355         (WebCore::Range::intersectsNode):
3356         * dom/Range.h:
3357         * dom/Range.idl:
3358
3359 2006-09-12  Nikolas Zimmermann  <zimmermann@kde.org>
3360
3361         Reviewed by eseidel.  Landed by eseidel.
3362
3363         Test: svg/W3C-SVG-1.1/struct-dom-01-b.svg (fixed)
3364         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10826
3365         
3366         Also finally fixes some long outstanding bugs:
3367         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9190
3368         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9229
3369         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10413
3370
3371         Enable all JavaScript SVG bindings. Builds on Qt/Linux & OSX.
3372
3373         * CMakeLists.txt:
3374         * DerivedSources.make:
3375         * WebCore.xcodeproj/project.pbxproj:
3376         * bindings/scripts/CodeGenerator.pm:
3377         * bindings/scripts/CodeGeneratorJS.pm:
3378         * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
3379         * ksvg2/svg/SVGAElement.idl: Added.
3380         * ksvg2/svg/SVGAngle.idl:
3381         * ksvg2/svg/SVGAnimateColorElement.idl: Added.
3382         * ksvg2/svg/SVGAnimateElement.idl: Added.
3383         * ksvg2/svg/SVGAnimateTransformElement.idl: Added.
3384         * ksvg2/svg/SVGAnimatedLengthList.idl: Added.
3385         * ksvg2/svg/SVGAnimatedNumberList.idl: Added.
3386         * ksvg2/svg/SVGAnimatedTransformList.idl: Added.
3387         * ksvg2/svg/SVGAnimationElement.idl: Added.
3388         * ksvg2/svg/SVGCircleElement.idl: Added.
3389         * ksvg2/svg/SVGClipPathElement.idl: Added.
3390         * ksvg2/svg/SVGColor.idl:
3391         * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Added.
3392         * ksvg2/svg/SVGCursorElement.idl: Added.
3393         * ksvg2/svg/SVGDefsElement.idl: Added.
3394         * ksvg2/svg/SVGDescElement.idl: Added.
3395         * ksvg2/svg/SVGEllipseElement.idl: Added.
3396         * ksvg2/svg/SVGEvent.idl:
3397         * ksvg2/svg/SVGExternalResourcesRequired.idl: Added.
3398         * ksvg2/svg/SVGFEBlendElement.idl: Added.
3399         * ksvg2/svg/SVGFEColorMatrixElement.idl: Added.
3400         * ksvg2/svg/SVGFEComponentTransferElement.idl: Added.
3401         * ksvg2/svg/SVGFECompositeElement.idl: Added.
3402         * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Added.
3403         * ksvg2/svg/SVGFEDisplacementMapElement.idl: Added.
3404         * ksvg2/svg/SVGFEDistantLightElement.idl: Added.
3405         * ksvg2/svg/SVGFEFloodElement.idl: Added.
3406         * ksvg2/svg/SVGFEFuncAElement.idl: Added.
3407         * ksvg2/svg/SVGFEFuncBElement.idl: Added.
3408         * ksvg2/svg/SVGFEFuncGElement.idl: Added.
3409         * ksvg2/svg/SVGFEFuncRElement.idl: Added.
3410         * ksvg2/svg/SVGFEGaussianBlurElement.idl: Added.
3411         * ksvg2/svg/SVGFEImageElement.idl: Added.
3412         * ksvg2/svg/SVGFEMergeElement.idl: Added.
3413         * ksvg2/svg/SVGFEMergeNodeElement.idl: Added.
3414         * ksvg2/svg/SVGFEOffsetElement.idl: Added.
3415         * ksvg2/svg/SVGFEPointLightElement.idl: Added.
3416         * ksvg2/svg/SVGFESpecularLightingElement.idl: Added.
3417         * ksvg2/svg/SVGFESpotLightElement.idl: Added.
3418         * ksvg2/svg/SVGFETileElement.idl: Added.
3419         * ksvg2/svg/SVGFETurbulenceElement.idl: Added.
3420         * ksvg2/svg/SVGFilterElement.idl: Added.
3421         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
3422         * ksvg2/svg/SVGFitToViewBox.idl: Added.
3423         * ksvg2/svg/SVGForeignObjectElement.idl: Added.
3424         * ksvg2/svg/SVGGElement.idl: Added.
3425         * ksvg2/svg/SVGGradientElement.idl: Added.
3426         * ksvg2/svg/SVGImageElement.idl: Added.
3427         * ksvg2/svg/SVGLangSpace.idl: Added.
3428         * ksvg2/svg/SVGLength.idl:
3429         * ksvg2/svg/SVGLengthList.idl: Added.
3430         * ksvg2/svg/SVGLineElement.idl: Added.
3431         * ksvg2/svg/SVGLinearGradientElement.idl: Added.
3432         * ksvg2/svg/SVGLocatable.idl: Added.
3433         * ksvg2/svg/SVGMarkerElement.idl: Added.
3434         * ksvg2/svg/SVGMaskElement.idl: Added.
3435         * ksvg2/svg/SVGNumberList.idl: Added.
3436         * ksvg2/svg/SVGPaint.idl: Added.
3437         * ksvg2/svg/SVGPathElement.idl:
3438         * ksvg2/svg/SVGPathSeg.idl:
3439         * ksvg2/svg/SVGPatternElement.idl: Added.
3440         * ksvg2/svg/SVGPointList.idl: Added.
3441         * ksvg2/svg/SVGPolygonElement.idl: Added.
3442         * ksvg2/svg/SVGPolylineElement.idl: Added.
3443         * ksvg2/svg/SVGPreserveAspectRatio.idl:
3444         * ksvg2/svg/SVGRadialGradientElement.idl: Added.
3445         * ksvg2/svg/SVGRectElement.idl: Added.
3446         * ksvg2/svg/SVGRenderingIntent.idl: Added.
3447         * ksvg2/svg/SVGSVGElement.idl:
3448         * ksvg2/svg/SVGScriptElement.idl: Added.
3449         * ksvg2/svg/SVGSetElement.idl: Added.
3450         * ksvg2/svg/SVGStopElement.idl: Added.
3451         * ksvg2/svg/SVGStringList.idl: Added.
3452         * ksvg2/svg/SVGStylable.idl: Added.
3453         * ksvg2/svg/SVGStyleElement.idl: Added.
3454         * ksvg2/svg/SVGSwitchElement.idl: Added.
3455         * ksvg2/svg/SVGSymbolElement.idl: Added.
3456         * ksvg2/svg/SVGTRefElement.idl: Added.
3457         * ksvg2/svg/SVGTSpanElement.idl: Added.
3458         * ksvg2/svg/SVGTests.idl: Added.
3459         * ksvg2/svg/SVGTextContentElement.idl: Added.
3460         * ksvg2/svg/SVGTextElement.idl: Added.
3461         * ksvg2/svg/SVGTextPositioningElement.idl: Added.
3462         * ksvg2/svg/SVGTitleElement.idl: Added.
3463         * ksvg2/svg/SVGTransform.idl:
3464         * ksvg2/svg/SVGTransformList.idl: Added.
3465         * ksvg2/svg/SVGTransformable.idl: Added.
3466         * ksvg2/svg/SVGURIReference.idl: Added.
3467         * ksvg2/svg/SVGUnitTypes.idl: Added.
3468         * ksvg2/svg/SVGUseElement.idl: Added.
3469         * ksvg2/svg/SVGViewElement.idl: Added.
3470         * ksvg2/svg/SVGZoomAndPan.idl: Added.
3471         * ksvg2/svg/SVGZoomEvent.idl: Added.
3472
3473 2006-09-12  Adam Roben  <aroben@apple.com>
3474
3475         Reviewed by timo, ggaren.
3476
3477         Make Icon ref-counted.
3478
3479         * platform/FileChooser.h: Store m_icon as a RefPtr instead of
3480         auto_ptr.
3481         * platform/Icon.h: Inherit from Shared<Icon>
3482         * platform/mac/FileChooserMac.mm:
3483         (WebCore::FileChooser::chooseFile): Update m_icon usage
3484         * platform/mac/IconMac.mm:
3485         (WebCore::Icon::newIconForFile): Return a RefPtr instead of an
3486         auto_ptr
3487
3488 === Safari-521.26 ===
3489
3490 2006-09-12  Nikolas Zimmermann  <zimmermann@kde.org>
3491
3492         Reviewed by Anders.
3493
3494         Add exception codes to SVGList functions, adjust all code using it.
3495
3496         Move SVGPaintType enums from ksvg.h into SVGPaint (needed for js generation)
3497         Move SVGUnitTypes enums from ksvg.h into it's own file SVGUnitType.h (ditto)
3498         Move SVGRenderingIntent enums from ksvg.h into it's own file SVGRenderingIntent.h (ditto)
3499         Move SVGZoomAndPan enums from ksvg.h into SVGSVGElement (ditto)
3500         Move SVGFE* related enums into their respecitive classes.
3501
3502         Fix JSSVGNumber to operator on doubles, instead of floats.
3503
3504         * ksvg2/bindings/js/JSSVGNumber.cpp:
3505         (WebCore::getJSSVGNumber):
3506         * ksvg2/bindings/js/JSSVGNumber.h:
3507         (WebCore::JSSVGNumber::JSSVGNumber):
3508         * ksvg2/css/SVGCSSParser.cpp:
3509         (WebCore::CSSParser::parseSVGValue):
3510         (WebCore::CSSParser::parseSVGPaint):
3511         * ksvg2/css/SVGRenderStyleDefs.cpp:
3512         (StyleFillData::operator==):
3513         * ksvg2/ksvg.h:
3514         * ksvg2/misc/KCanvasRenderingStyle.cpp:
3515         (WebCore::KSVGPainterFactory::isFilled):
3516         (WebCore::KSVGPainterFactory::fillPaintServer):
3517         (WebCore::KSVGPainterFactory::isStroked):
3518         (WebCore::KSVGPainterFactory::strokePaintServer):
3519         * ksvg2/misc/KSVGTimeScheduler.cpp:
3520         (WebCore::SVGTimer::notifyAll):
3521         * ksvg2/svg/SVGAnimateColorElement.cpp:
3522         (WebCore::SVGAnimateColorElement::handleTimerEvent):
3523         * ksvg2/svg/SVGAnimateTransformElement.cpp:
3524         (WebCore::SVGAnimateTransformElement::SVGAnimateTransformElement):
3525         (WebCore::SVGAnimateTransformElement::parseMappedAttribute):
3526         (WebCore::SVGAnimateTransformElement::handleTimerEvent):
3527         (WebCore::SVGAnimateTransformElement::parseTransformValue):
3528         * ksvg2/svg/SVGAnimateTransformElement.h:
3529         * ksvg2/svg/SVGAnimatedTemplate.h:
3530         * ksvg2/svg/SVGAnimationElement.cpp:
3531         (SVGAnimationElement::getSimpleDuration):
3532         (SVGAnimationElement::parseMappedAttribute):
3533         (SVGAnimationElement::setTargetAttribute):
3534         * ksvg2/svg/SVGAnimationElement.h:
3535         * ksvg2/svg/SVGClipPathElement.cpp:
3536         (SVGClipPathElement::SVGClipPathElement):
3537         (SVGClipPathElement::parseMappedAttribute):
3538         (SVGClipPathElement::canvasResource):
3539         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
3540         (SVGComponentTransferFunctionElement::transferFunction):
3541         * ksvg2/svg/SVGComponentTransferFunctionElement.h:
3542         (WebCore::SVGComponentTransferFunctionElement::):
3543         * ksvg2/svg/SVGDocument.cpp:
3544         (WebCore::SVGDocument::dispatchZoomEvent):
3545         (WebCore::SVGDocument::dispatchScrollEvent):
3546         * ksvg2/svg/SVGFEBlendElement.cpp:
3547         (WebCore::SVGFEBlendElement::parseMappedAttribute):
3548         (WebCore::SVGFEBlendElement::filterEffect):
3549         * ksvg2/svg/SVGFEBlendElement.h:
3550         (WebCore::SVGFEBlendElement::):
3551         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
3552         (SVGFEColorMatrixElement::parseMappedAttribute):
3553         (SVGFEColorMatrixElement::filterEffect):
3554         * ksvg2/svg/SVGFEColorMatrixElement.h:
3555         (WebCore::SVGFEColorMatrixElement::):
3556         * ksvg2/svg/SVGFEComponentTransferElement.cpp:
3557         (WebCore::SVGFEComponentTransferElement::parseMappedAttribute):
3558         (WebCore::SVGFEComponentTransferElement::filterEffect):
3559         * ksvg2/svg/SVGFEComponentTransferElement.h:
3560         * ksvg2/svg/SVGFECompositeElement.cpp:
3561         (SVGFECompositeElement::parseMappedAttribute):
3562         (SVGFECompositeElement::filterEffect):
3563         * ksvg2/svg/SVGFECompositeElement.h:
3564         (WebCore::SVGFECompositeElement::):
3565         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
3566         (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
3567         (WebCore::SVGFEDiffuseLightingElement::filterEffect):
3568         * ksvg2/svg/SVGFEDiffuseLightingElement.h:
3569         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
3570         (SVGFEDisplacementMapElement::parseMappedAttribute):
3571         (SVGFEDisplacementMapElement::filterEffect):
3572         * ksvg2/svg/SVGFEDisplacementMapElement.h:
3573         (WebCore::SVGFEDisplacementMapElement::):
3574         * ksvg2/svg/SVGFEFloodElement.cpp:
3575         (WebCore::SVGFEFloodElement::parseMappedAttribute):
3576         (WebCore::SVGFEFloodElement::filterEffect):
3577         * ksvg2/svg/SVGFEFloodElement.h:
3578         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
3579         (SVGFEGaussianBlurElement::parseMappedAttribute):
3580         (SVGFEGaussianBlurElement::filterEffect):
3581         * ksvg2/svg/SVGFEGaussianBlurElement.h:
3582         * ksvg2/svg/SVGFEMergeElement.cpp:
3583         (SVGFEMergeElement::filterEffect):
3584         * ksvg2/svg/SVGFEMergeNodeElement.cpp:
3585         (SVGFEMergeNodeElement::parseMappedAttribute):
3586         * ksvg2/svg/SVGFEMergeNodeElement.h:
3587         * ksvg2/svg/SVGFEOffsetElement.cpp:
3588         (SVGFEOffsetElement::parseMappedAttribute):
3589         (SVGFEOffsetElement::filterEffect):
3590         * ksvg2/svg/SVGFEOffsetElement.h:
3591         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
3592         (SVGFESpecularLightingElement::parseMappedAttribute):
3593         (SVGFESpecularLightingElement::filterEffect):
3594         * ksvg2/svg/SVGFESpecularLightingElement.h:
3595         * ksvg2/svg/SVGFETileElement.cpp:
3596         (WebCore::SVGFETileElement::parseMappedAttribute):
3597         (WebCore::SVGFETileElement::filterEffect):
3598         * ksvg2/svg/SVGFETileElement.h:
3599         * ksvg2/svg/SVGFETurbulenceElement.h:
3600         (WebCore::SVGFETurbulenceElement::):
3601         * ksvg2/svg/SVGFilterElement.cpp:
3602         (SVGFilterElement::SVGFilterElement):
3603         (SVGFilterElement::parseMappedAttribute):
3604         (SVGFilterElement::canvasResource):
3605         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
3606         (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
3607         * ksvg2/svg/SVGGradientElement.cpp:
3608         (SVGGradientElement::SVGGradientElement):
3609         (SVGGradientElement::parseMappedAttribute):
3610         * ksvg2/svg/SVGGradientElement.h:
3611         (WebCore::SVGGradientElement::):
3612         * ksvg2/svg/SVGHelper.cpp:
3613         (WebCore::SVGHelper::ParseSeperatedList):
3614         * ksvg2/svg/SVGLengthList.cpp:
3615         (WebCore::SVGLengthList::parse):
3616         * ksvg2/svg/SVGLinearGrad