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