2006-10-09 Anders Carlsson <acarlsson@apple.com>
[WebKit-https.git] / WebCore / ChangeLog
1 2006-10-09  Anders Carlsson  <acarlsson@apple.com>
2
3         * platform/win/TemporaryLinkStubs.cpp:
4         (FrameWin::createJavaAppletWidget):
5         Try fixing the Win32 build.
6
7 2006-10-09  Anders Carlsson  <acarlsson@apple.com>
8
9         Reviewed by Adam.
10
11         Move applet widget creation to Frame and get rid of JavaAppletWidget.
12         * WebCore.xcodeproj/project.pbxproj:
13         * bridge/JavaAppletWidget.h: Removed.
14         * bridge/mac/FrameMac.h:
15         * bridge/mac/FrameMac.mm:
16         (WebCore::FrameMac::createJavaAppletWidget):
17         * bridge/mac/JavaAppletWidget.mm: Removed.
18         * page/Frame.h:
19         * rendering/RenderApplet.cpp:
20         (WebCore::RenderApplet::createWidgetIfNecessary):
21
22 2006-10-09  Mitz Pettel  <mitz@webkit.org>
23
24         Reviewed by Darin.
25
26         - http://bugs.webkit.org/show_bug.cgi?id=11220
27           Fix manual test for http://bugs.webkit.org/show_bug.cgi?id=8276
28
29         Subversion does not support resource forks and HFS metadata, so
30         the resources for this test need to be on a disk image.
31
32         * manual-tests/plain-text-paste.html: Changed instructions to refer to the disk image.
33         * manual-tests/resources/plain-text-paste.dmg: Added.
34         * manual-tests/resources/plain-text-paste/._1.textClipping: Removed.
35         * manual-tests/resources/plain-text-paste/._2.textClipping: Removed.
36         * manual-tests/resources/plain-text-paste/._4.txt: Removed.
37         * manual-tests/resources/plain-text-paste/._5.webloc: Removed.
38         * manual-tests/resources/plain-text-paste/1.textClipping: Removed.
39         * manual-tests/resources/plain-text-paste/2.textClipping: Removed.
40         * manual-tests/resources/plain-text-paste/3.gif: Removed.
41         * manual-tests/resources/plain-text-paste/4.txt: Removed.
42         * manual-tests/resources/plain-text-paste/5.webloc: Removed.
43
44 2006-10-09  Rob Buis  <buis@kde.org>
45
46         Reviewed by Darin.
47
48         http://bugs.webkit.org/show_bug.cgi?id=11217
49         Cleanup svg coding style
50
51         Cleanup coding style in filter classes.
52
53         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
54         (WebCore::SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement):
55         (WebCore::SVGComponentTransferFunctionElement::parseMappedAttribute):
56         * ksvg2/svg/SVGComponentTransferFunctionElement.h:
57         * ksvg2/svg/SVGFEBlendElement.cpp:
58         (WebCore::SVGFEBlendElement::SVGFEBlendElement):
59         (WebCore::SVGFEBlendElement::parseMappedAttribute):
60         (WebCore::SVGFEBlendElement::filterEffect):
61         * ksvg2/svg/SVGFEBlendElement.h:
62         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
63         (WebCore::SVGFEColorMatrixElement::SVGFEColorMatrixElement):
64         (WebCore::SVGFEColorMatrixElement::parseMappedAttribute):
65         (WebCore::SVGFEColorMatrixElement::filterEffect):
66         * ksvg2/svg/SVGFEColorMatrixElement.h:
67         * ksvg2/svg/SVGFECompositeElement.cpp:
68         (WebCore::SVGFECompositeElement::parseMappedAttribute):
69         * ksvg2/svg/SVGFECompositeElement.h:
70         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
71         (WebCore::SVGFEDisplacementMapElement::stringToChannel):
72         * ksvg2/svg/SVGFEDisplacementMapElement.h:
73         * ksvg2/svg/SVGFEFloodElement.cpp:
74         (WebCore::SVGFEFloodElement::filterEffect):
75         * ksvg2/svg/SVGFEFuncAElement.cpp:
76         (WebCore::SVGFEFuncAElement::SVGFEFuncAElement):
77         * ksvg2/svg/SVGFEFuncBElement.cpp:
78         (WebCore::SVGFEFuncBElement::SVGFEFuncBElement):
79         * ksvg2/svg/SVGFEFuncGElement.cpp:
80         (WebCore::SVGFEFuncGElement::SVGFEFuncGElement):
81         * ksvg2/svg/SVGFEFuncRElement.cpp:
82         (WebCore::SVGFEFuncRElement::SVGFEFuncRElement):
83         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
84         (WebCore::SVGFEGaussianBlurElement::SVGFEGaussianBlurElement):
85         (WebCore::SVGFEGaussianBlurElement::parseMappedAttribute):
86         (WebCore::SVGFEGaussianBlurElement::filterEffect):
87         * ksvg2/svg/SVGFEGaussianBlurElement.h:
88         * ksvg2/svg/SVGFELightElement.cpp:
89         (WebCore::SVGFELightElement::SVGFELightElement):
90         (WebCore::SVGFELightElement::parseMappedAttribute):
91         * ksvg2/svg/SVGFELightElement.h:
92         * ksvg2/svg/SVGFEMergeElement.cpp:
93         (WebCore::SVGFEMergeElement::SVGFEMergeElement):
94
95 2006-10-09  Rob Buis  <buis@kde.org>
96
97         Reviewed by olliej.
98
99         http://bugs.webkit.org/show_bug.cgi?id=11217
100         Cleanup svg coding style
101
102         Cleanup coding style in SVGPath* classes.
103
104         * ksvg2/svg/SVGPathElement.cpp:
105         (WebCore::SVGPathElement::SVGPathElement):
106         (WebCore::SVGPathElement::getPointAtLength):
107         (WebCore::SVGPathElement::createSVGPathSegClosePath):
108         (WebCore::SVGPathElement::createSVGPathSegMovetoAbs):
109         (WebCore::SVGPathElement::createSVGPathSegMovetoRel):
110         (WebCore::SVGPathElement::createSVGPathSegLinetoAbs):
111         (WebCore::SVGPathElement::createSVGPathSegLinetoRel):
112         (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicAbs):
113         (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicRel):
114         (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticAbs):
115         (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticRel):
116         (WebCore::SVGPathElement::createSVGPathSegArcAbs):
117         (WebCore::SVGPathElement::createSVGPathSegArcRel):
118         (WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalAbs):
119         (WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalRel):
120         (WebCore::SVGPathElement::createSVGPathSegLinetoVerticalAbs):
121         (WebCore::SVGPathElement::createSVGPathSegLinetoVerticalRel):
122         (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs):
123         (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel):
124         (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs):
125         (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel):
126         (WebCore::SVGPathElement::svgMoveTo):
127         (WebCore::SVGPathElement::svgLineTo):
128         (WebCore::SVGPathElement::svgLineToHorizontal):
129         (WebCore::SVGPathElement::svgLineToVertical):
130         (WebCore::SVGPathElement::svgCurveToCubic):
131         (WebCore::SVGPathElement::svgCurveToCubicSmooth):
132         (WebCore::SVGPathElement::svgCurveToQuadratic):
133         (WebCore::SVGPathElement::svgCurveToQuadraticSmooth):
134         (WebCore::SVGPathElement::svgArcTo):
135         (WebCore::SVGPathElement::parseMappedAttribute):
136         (WebCore::SVGPathElement::pathSegList):
137         (WebCore::SVGPathElement::normalizedPathSegList):
138         (WebCore::SVGPathElement::animatedPathSegList):
139         (WebCore::SVGPathElement::animatedNormalizedPathSegList):
140         (WebCore::SVGPathElement::toPathData):
141         * ksvg2/svg/SVGPathElement.h:
142         (WebCore::SVGPathElement::rendererIsNeeded):
143         * ksvg2/svg/SVGPathSeg.h:
144         * ksvg2/svg/SVGPathSegArc.cpp:
145
146 2006-10-09  Rob Buis  <buis@kde.org>
147
148         Reviewed by aroben.
149
150         http://bugs.webkit.org/show_bug.cgi?id=11217
151         Cleanup svg coding style
152
153         Cleanup coding style in svg shape classes.
154
155         * ksvg2/svg/SVGCircleElement.cpp:
156         (WebCore::SVGCircleElement::SVGCircleElement):
157         (WebCore::SVGCircleElement::parseMappedAttribute):
158         (WebCore::SVGCircleElement::pushAttributeContext):
159         * ksvg2/svg/SVGCircleElement.h:
160         (WebCore::SVGCircleElement::rendererIsNeeded):
161         * ksvg2/svg/SVGEllipseElement.cpp:
162         * ksvg2/svg/SVGEllipseElement.h:
163         (WebCore::SVGEllipseElement::rendererIsNeeded):
164         * ksvg2/svg/SVGLineElement.cpp:
165         (WebCore::SVGLineElement::parseMappedAttribute):
166         (WebCore::SVGLineElement::pushAttributeContext):
167         * ksvg2/svg/SVGLineElement.h:
168         (WebCore::SVGLineElement::rendererIsNeeded):
169         * ksvg2/svg/SVGPolyElement.cpp:
170         (WebCore::SVGPolyElement::SVGPolyElement):
171         (WebCore::SVGPolyElement::points):
172         (WebCore::SVGPolyElement::animatedPoints):
173         (WebCore::SVGPolyElement::parseMappedAttribute):
174         (WebCore::SVGPolyElement::notifyAttributeChange):
175         * ksvg2/svg/SVGPolyElement.h:
176         (WebCore::SVGPolyElement::rendererIsNeeded):
177         * ksvg2/svg/SVGPolygonElement.cpp:
178         (WebCore::SVGPolygonElement::SVGPolygonElement):
179         (WebCore::SVGPolygonElement::toPathData):
180         * ksvg2/svg/SVGPolygonElement.h:
181         * ksvg2/svg/SVGPolylineElement.cpp:
182         (WebCore::SVGPolylineElement::SVGPolylineElement):
183         (WebCore::SVGPolylineElement::toPathData):
184         * ksvg2/svg/SVGPolylineElement.h:
185         * ksvg2/svg/SVGRectElement.cpp:
186         (WebCore::SVGRectElement::parseMappedAttribute):
187         (WebCore::SVGRectElement::pushAttributeContext):
188         * ksvg2/svg/SVGRectElement.h:
189         (WebCore::SVGRectElement::rendererIsNeeded):
190
191 2006-10-08  Darin Adler  <darin@apple.com>
192
193         Reviewed by Maciej.
194
195         - added a bit more WebCoreSystemInterface
196
197             wkGetNSURLResponseCalculatedExpiration
198             wkGetNSURLResponseLastModifiedDate
199             wkGetNSURLResponseMustRevalidate
200
201         * WebCore.exp: Added the new symbols.
202         * platform/mac/WebCoreSystemInterface.h: Ditto.
203         * platform/mac/WebCoreSystemInterface.mm: Ditto.
204
205         - quiet down the code generation script
206
207         * bindings/scripts/CodeGenerator.pm:
208
209 2006-10-08  Maciej Stachowiak  <mjs@apple.com>
210
211         Reviewed by Darin.
212
213         - more code laundering - add wkSupportsMultipartXMixedReplace
214
215         * WebCore.exp:
216         * platform/mac/WebCoreSystemInterface.h:
217         * platform/mac/WebCoreSystemInterface.mm:
218
219 2006-10-08  Nikolas Zimmermann  <zimmermann@kde.org>
220
221         Reviewed by Darin and Oliver.
222
223         Fix artefacts when drawing polygons, most noticeable when painting <hr> elements.
224
225         * platform/qt/GraphicsContextQt.cpp: Fix wrong operator<< usage.
226         (WebCore::GraphicsContext::drawConvexPolygon):
227
228 2006-10-08  Anders Carlsson  <acarlsson@apple.com>
229
230         Reviewed by Darin.
231
232         * page/Frame.cpp:
233         (WebCore::Frame::submitForm):
234         No need to use latin1() here.
235
236 2006-10-08  Nikolas Zimmermann  <zimmermann@kde.org>
237
238         Reviewed by Darin.
239
240         Kill warnings when generating IDL files on Qt/Linux, as the
241         SOURCE_ROOT environment variable is not defined (and not needed) for us.
242
243         * bindings/scripts/CodeGenerator.pm:
244
245 2006-10-08  Maciej Stachowiak  <mjs@apple.com>
246
247         Reviewed by Darin.
248
249         - split didNotOpenURL: into general and page-cache-specific parts
250
251         * bridge/mac/WebCoreFrameBridge.h:
252         * bridge/mac/WebCoreFrameBridge.mm:
253         (-[WebCoreFrameBridge didNotOpenURL:]):
254         (-[WebCoreFrameBridge invalidatePageCache:]):
255
256 2006-10-08  Anders Carlsson  <acarlsson@apple.com>
257
258         Reviewed by Darin.
259
260         * loader/loader.cpp:
261         Remove DeprecatedStringList.h include.
262         
263         * page/Frame.cpp:
264         (WebCore::Frame::submitForm):
265         Don't remove "attach" from mailto URLs, we don't do it anywhere else.
266
267 2006-10-08  Sam Weinig  <sam.weinig@gmail.com>
268
269         Reviewed by Darin.
270
271         Patch for http://bugs.webkit.org/show_bug.cgi?id=11215
272         Yet another round of Objective-C SVG DOM bindings auto-generation
273
274         - Auto-generate DOMSVGPatternElement, DOMSVGPointList, DOMSVGPolygonElement, 
275           DOMSVGPolylineElement, DOMSVGRadialGradientElement, DOMSVGRenderingIntent,
276           DOMSVGScriptElement, DOMSVGSetElement, DOMSVGStopElement, DOMSVGSwitchElement, 
277           DOMSVGSymbolElement, DOMSVGTRefElement, DOMSVGTSpanElement, 
278           DOMSVGTextContentElement, DOMSVGTextElement, DOMSVGTextPositioningElement, 
279           DOMSVGTitleElement, DOMSVGUnitTypes, DOMSVGUseElement, DOMSVGViewElement, 
280           DOMSVGZoomAndPan and DOMSVGZoomEvent.
281
282         - Auto-generate the implementations of DOMHTMLAppletElement and DOMHTMLEmbedElement
283           using the new [ConvertFromString] property.
284
285         - Add forward declarations for NS* types to auto-generated classes.
286
287         * DerivedSources.make:
288         * WebCore.xcodeproj/project.pbxproj:
289         * bindings/objc/DOMHTMLAppletElement.mm: Removed.
290         * bindings/objc/DOMHTMLEmbedElement.mm: Removed.
291         * bindings/objc/DOMInternal.h:
292         * bindings/objc/DOMSVG.h:
293         * bindings/scripts/CodeGeneratorObjC.pm:
294         * html/HTMLAppletElement.idl:
295         * html/HTMLEmbedElement.idl:
296         * ksvg2/svg/SVGPatternElement.idl:
297         * ksvg2/svg/SVGPolygonElement.idl:
298         * ksvg2/svg/SVGPolylineElement.idl:
299         * ksvg2/svg/SVGRadialGradientElement.idl:
300         * ksvg2/svg/SVGRenderingIntent.idl:
301         * ksvg2/svg/SVGScriptElement.idl:
302         * ksvg2/svg/SVGSetElement.idl:
303         * ksvg2/svg/SVGStopElement.idl:
304         * ksvg2/svg/SVGSwitchElement.idl:
305         * ksvg2/svg/SVGSymbolElement.idl:
306         * ksvg2/svg/SVGTRefElement.idl:
307         * ksvg2/svg/SVGTSpanElement.idl:
308         * ksvg2/svg/SVGTextContentElement.idl:
309         * ksvg2/svg/SVGTextElement.idl:
310         * ksvg2/svg/SVGTextPositioningElement.idl:
311         * ksvg2/svg/SVGTitleElement.idl:
312         * ksvg2/svg/SVGUseElement.idl:
313         * ksvg2/svg/SVGViewElement.idl:
314         * ksvg2/svg/SVGZoomEvent.idl:
315
316 2006-10-07  Anders Carlsson  <acarlsson@apple.com>
317
318         Reviewed by Maciej.
319
320         Remove crossDomain, it was unused and is one of the last functions that use DeprecatedStringList.        
321         * loader/loader.cpp:
322         (WebCore::Loader::servePendingRequests):
323         
324 2006-10-07  Anders Carlsson  <acarlsson@apple.com>
325
326         Reviewed by Darin.
327
328         Convert a bunch of RefPtr<StringImpl> to String.
329         
330         * bridge/mac/FrameMac.h:
331         * bridge/mac/FrameMac.mm:
332         (WebCore::FrameMac::didTellBridgeAboutLoad):
333         (WebCore::FrameMac::haveToldBridgeAboutLoad):
334         * dom/BeforeUnloadEvent.cpp:
335         (WebCore::BeforeUnloadEvent::storeResult):
336         * dom/BeforeUnloadEvent.h:
337         (WebCore::BeforeUnloadEvent::result):
338         * dom/Document.cpp:
339         (WebCore::Document::createEntityReference):
340         * dom/Entity.cpp:
341         (WebCore::Entity::Entity):
342         (WebCore::Entity::nodeName):
343         (WebCore::Entity::toString):
344         * dom/Entity.h:
345         (WebCore::Entity::publicId):
346         (WebCore::Entity::systemId):
347         (WebCore::Entity::notationName):
348         * dom/EntityReference.cpp:
349         (WebCore::EntityReference::EntityReference):
350         (WebCore::EntityReference::nodeName):
351         (WebCore::EntityReference::cloneNode):
352         (WebCore::EntityReference::toString):
353         * dom/EntityReference.h:
354         * dom/KeyboardEvent.cpp:
355         (WebCore::KeyboardEvent::KeyboardEvent):
356         (WebCore::KeyboardEvent::initKeyboardEvent):
357         * dom/KeyboardEvent.h:
358         (WebCore::KeyboardEvent::keyIdentifier):
359         * dom/MutationEvent.cpp:
360         (WebCore::MutationEvent::MutationEvent):
361         (WebCore::MutationEvent::initMutationEvent):
362         * dom/MutationEvent.h:
363         (WebCore::MutationEvent::prevValue):
364         (WebCore::MutationEvent::newValue):
365         (WebCore::MutationEvent::attrName):
366         * dom/Notation.cpp:
367         (WebCore::Notation::Notation):
368         (WebCore::Notation::nodeName):
369         * dom/Notation.h:
370         (WebCore::Notation::publicId):
371         (WebCore::Notation::systemId):
372         * dom/ProcessingInstruction.cpp:
373         (WebCore::ProcessingInstruction::ProcessingInstruction):
374         (WebCore::ProcessingInstruction::setData):
375         (WebCore::ProcessingInstruction::nodeName):
376         (WebCore::ProcessingInstruction::nodeValue):
377         (WebCore::ProcessingInstruction::cloneNode):
378         (WebCore::ProcessingInstruction::checkStyleSheet):
379         (WebCore::ProcessingInstruction::toString):
380         * dom/ProcessingInstruction.h:
381         (WebCore::ProcessingInstruction::target):
382         (WebCore::ProcessingInstruction::data):
383         (WebCore::ProcessingInstruction::localHref):
384
385 2006-10-07  Sam Weinig  <sam.weinig@gmail.com>
386
387         Reviewed by Tim H.
388
389         Patch for http://bugs.webkit.org/show_bug.cgi?id=11206
390         10 more SVG Objective-C auto-generated bindings
391
392         - Auto-generate DOMSVGFilterElement, DOMSVGFitToViewBox, 
393           DOMSVGForeignObjectElement, DOMSVGGElement, DOMSVGGradientElement,
394           DOMSVGImageElement, DOMSVGLineElement, DOMSVGLinearGradientElement, 
395           DOMSVGMarkerElement, DOMSVGMaskElement and DOMSVGPaint.
396
397         - Auto-generate the text method for DOMRange.
398
399         * DerivedSources.make:
400         * WebCore.xcodeproj/project.pbxproj:
401         * bindings/objc/DOM.mm:
402         * bindings/objc/DOMExtensions.h:
403         * bindings/objc/DOMInternal.h:
404         * bindings/objc/DOMPrivate.h:
405         * bindings/objc/DOMRGBColor.mm:
406         * bindings/objc/DOMSVG.h:
407         * bindings/objc/PublicDOMInterfaces.h:
408         * bindings/scripts/CodeGeneratorObjC.pm:
409         * dom/Range.idl:
410         * ksvg2/svg/SVGFilterElement.cpp:
411         * ksvg2/svg/SVGFilterElement.h:
412         * ksvg2/svg/SVGFilterElement.idl:
413         * ksvg2/svg/SVGForeignObjectElement.idl:
414         * ksvg2/svg/SVGGElement.idl:
415         * ksvg2/svg/SVGGradientElement.idl:
416         * ksvg2/svg/SVGImageElement.idl:
417         * ksvg2/svg/SVGLineElement.idl:
418         * ksvg2/svg/SVGLinearGradientElement.idl:
419         * ksvg2/svg/SVGMarkerElement.idl:
420         * ksvg2/svg/SVGMaskElement.idl:
421         * ksvg2/svg/SVGPaint.idl:
422
423 2006-10-07  Sam Weinig  <sam.weinig@gmail.com>
424
425         Reviewed by Tim H.
426
427         Patch for http://bugs.webkit.org/show_bug.cgi?id=11198
428         Auto-generate a few more Objective-C DOM interfaces
429
430         - Fully auto-generate DOMAbstractView and DOMRange.
431
432         - Auto-generate just the interface for DOMRGBColor.
433
434         - Add DOMRanges.h as the new top level file for Ranges
435           module.
436
437         - Add DOMRanges.h and DOMXPath.h to DOM.mm
438
439         * DerivedSources.make:
440         * WebCore.xcodeproj/project.pbxproj:
441         * bindings/objc/DOM.h:
442         * bindings/objc/DOM.mm:
443         * bindings/objc/DOMAbstractView.h: Removed.
444         * bindings/objc/DOMAbstractView.mm: Removed.
445         * bindings/objc/DOMInternal.h:
446         * bindings/objc/DOMPrivate.h:
447         * bindings/objc/DOMRGBColor.h: Removed.
448         * bindings/objc/DOMRGBColor.mm:
449         * bindings/objc/DOMRange.h: Removed.
450         * bindings/objc/DOMRanges.h: Added.
451         * bindings/objc/PublicDOMInterfaces.h:
452         * bindings/scripts/CodeGeneratorObjC.pm:
453         * css/RGBColor.idl:
454         * dom/Range.idl:
455         * page/AbstractView.idl: Added.
456
457 2006-10-07  Andrew Wellington  <proton@wiretapped.net>
458
459         Reviewed by Eric.
460
461         Bug 10837: REGRESSION: Yahoo New Charts Crashes WebKit
462         http://bugzilla.opendarwin.org/show_bug.cgi?id=10837
463
464         Return null when there is no frame. This matches Firefox.
465
466         * bindings/js/kjs_html.cpp:
467         (KJS::JSHTMLDocument::getValueProperty):
468
469 2006-10-07  David Hyatt  <hyatt@apple.com>
470
471         Implement scroll corner painting (a white rect fill) for overflow areas to cover up
472         scrollbar joins properly.
473
474         Refactor painting of scrollbars and resizers into common functions.  Eliminate the
475         extra 20 bytes per RenderLayer by cutting out m_resizerImage and m_resizerControlRect.
476
477         Reviewed by mitz
478
479         * page/FrameView.cpp:
480         (WebCore::selectCursor):
481         (WebCore::FrameView::handleMouseMoveEvent):
482         * platform/mac/PlatformScrollBar.h:
483         (WebCore::PlatformScrollbar::horizontalScrollbarHeight):
484         (WebCore::PlatformScrollbar::verticalScrollbarWidth):
485         * rendering/RenderLayer.cpp:
486         (WebCore::RenderLayer::RenderLayer):
487         (WebCore::RenderLayer::~RenderLayer):
488         (WebCore::RenderLayer::updateLayerPositions):
489         (WebCore::scrollCornerRect):
490         (WebCore::RenderLayer::positionOverflowControls):
491         (WebCore::RenderLayer::paintOverflowControls):
492         (WebCore::RenderLayer::isPointInResizeControl):
493         (WebCore::RenderLayer::paintLayer):
494         * rendering/RenderLayer.h:
495
496 2006-10-07  Mark Rowe  <bdash@webkit.org>
497
498         Reviewed by Mitz.
499
500         Linux/Gdk build fixes, primarily consisting of s/ScrollBar/Scrollbar/ and
501         matching recent ResourceLoader changes.
502
503         * platform/gdk/FrameGdk.cpp:
504         (WebCore::FrameGdk::openURL):
505         (WebCore::FrameGdk::urlSelected):
506         * platform/gdk/PlatformScrollBar.h:
507         * platform/gdk/ResourceLoaderCurl.cpp:
508         (WebCore::ResourceLoader::start):
509         * platform/gdk/ScrollViewGdk.cpp:
510         (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
511         (WebCore::ScrollView::resizeContents):
512         (WebCore::ScrollView::scrollBy):
513         (WebCore::ScrollView::hScrollbarMode):
514         (WebCore::ScrollView::vScrollbarMode):
515         (WebCore::ScrollView::suppressScrollbars):
516         (WebCore::ScrollView::setHScrollbarMode):
517         (WebCore::ScrollView::setVScrollbarMode):
518         (WebCore::ScrollView::setScrollbarsMode):
519         * platform/gdk/TemporaryLinkStubs.cpp:
520         (FrameView::passMousePressEventToScrollbar):
521         (Widget::removeFromParent):
522         (ScrollView::addChild):
523         (ScrollView::updateScrollbars):
524         (ScrollView::scrollbarUnderMouse):
525         (PlatformScrollbar::PlatformScrollbar):
526         (PlatformScrollbar::~PlatformScrollbar):
527         (PlatformScrollbar::width):
528         (PlatformScrollbar::height):
529         (PlatformScrollbar::setEnabled):
530         (PlatformScrollbar::paint):
531         (PlatformScrollbar::updateThumbPosition):
532         (PlatformScrollbar::updateThumbProportion):
533         (PlatformScrollbar::setRect):
534         (Scrollbar::Scrollbar):
535         (Scrollbar::setSteps):
536         (Scrollbar::scroll):
537         (Scrollbar::setValue):
538         (Scrollbar::setProportion):
539
540 2006-10-06  Dave Hyatt  <hyatt@apple.com>
541
542         Implement a new method for obtaining accurate clip rectangles that can be used by plugins to properly clip.
543
544         * page/FrameView.cpp:
545         (WebCore::FrameView::windowClipRect):
546         * page/FrameView.h:
547         * platform/ScrollView.h:
548         * platform/Widget.cpp:
549         (WebCore::Widget::windowClipRect):
550         * platform/Widget.h:
551         (WebCore::Widget::geometryChanged):
552         (WebCore::Widget::handleMouseMoveEvent):
553         (WebCore::Widget::handleMouseReleaseEvent):
554         * platform/mac/ScrollViewMac.mm:
555         (WebCore::ScrollView::addChild):
556         * rendering/RenderLayer.cpp:
557         (WebCore::RenderLayer::documentClipRect):
558         * rendering/RenderLayer.h:
559
560 2006-10-06  Steve Falkenburg  <sfalken@apple.com>
561
562         Reviewed by Adam.
563
564         Add another method we'll need for scrollbar dodging
565
566         * platform/ScrollView.h:
567         * platform/win/TemporaryLinkStubs.cpp:
568         (ScrollView::resizerOverlapsContent):
569
570 2006-10-06  Sam Weinig  <sam.weinig@gmail.com>
571
572         Reviewed by Tim H.
573
574         Patch for http://bugs.webkit.org/show_bug.cgi?id=11191
575         Auto-generate the interfaces even for Objective-C DOM 
576         bindings that need custom implementations
577
578         - Fully auto-generate DOMEventTarget, DOMNodeFilter and 
579           DOMHTMLOptionElement.
580
581         - Auto-generate just the interface for DOMHTMLAppletElement,
582           DOMHTMLEmbedElement, DOMSVGNumber, DOMSVGPoint and DOMSVGRect
583           using the new IDL property ObjCCustomImplementation.
584
585         * DerivedSources.make:
586         * WebCore.xcodeproj/project.pbxproj:
587         * bindings/objc/DOMEventTarget.h: Removed.
588         * bindings/objc/DOMHTMLAppletElement.h: Removed.
589         * bindings/objc/DOMHTMLEmbedElement.h: Removed.
590         * bindings/objc/DOMHTMLOptionElement.h: Removed.
591         * bindings/objc/DOMHTMLOptionElement.mm: Removed.
592         * bindings/objc/DOMInternal.h:
593         * bindings/objc/DOMNodeFilter.h: Removed.
594         * bindings/objc/DOMSVGNumber.h: Removed.
595         * bindings/objc/DOMSVGPoint.h: Removed.
596         * bindings/objc/DOMSVGPoint.mm:
597         (-[DOMSVGPoint matrixTransform:]):
598         * bindings/objc/DOMSVGRect.h: Removed.
599         * bindings/objc/PublicDOMInterfaces.h:
600         * bindings/scripts/CodeGeneratorObjC.pm:
601         * dom/EventTarget.idl:
602         * html/HTMLAppletElement.idl:
603         * html/HTMLEmbedElement.idl:
604         * html/HTMLOptionElement.idl:
605         * ksvg2/svg/SVGNumber.idl:
606         * ksvg2/svg/SVGPoint.idl:
607         * ksvg2/svg/SVGRect.idl:
608
609 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
610
611         Reviewed by Tim H.
612
613         Make Qt/Linux compile again completly.
614
615         * platform/qt/WidgetQt.cpp:
616         (WebCore::Widget::removeFromParent):
617
618 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
619
620         Reviewed by Tim H.
621
622         Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ patch.
623
624         * platform/qt/PlatformScrollBar.h:
625         * platform/qt/ScrollViewQt.cpp:
626         (WebCore::ScrollView::hScrollbarMode):
627         (WebCore::ScrollView::vScrollbarMode):
628         (WebCore::ScrollView::suppressScrollbars):
629         (WebCore::ScrollView::setHScrollbarMode):
630         (WebCore::ScrollView::setVScrollbarMode):
631         (WebCore::ScrollView::setScrollbarsMode):
632         (WebCore::ScrollView::scrollbarUnderMouse):
633         * platform/qt/TemporaryLinkStubs.cpp:
634         (WebCore::Scrollbar::Scrollbar):
635         (WebCore::Scrollbar::setSteps):
636         (WebCore::Scrollbar::scroll):
637         (WebCore::Scrollbar::setValue):
638         (WebCore::Scrollbar::setProportion):
639         (WebCore::PlatformScrollbar::PlatformScrollbar):
640         (WebCore::PlatformScrollbar::~PlatformScrollbar):
641         (WebCore::PlatformScrollbar::width):
642         (WebCore::PlatformScrollbar::height):
643         (WebCore::PlatformScrollbar::setEnabled):
644         (WebCore::PlatformScrollbar::paint):
645         (WebCore::PlatformScrollbar::updateThumbPosition):
646         (WebCore::PlatformScrollbar::updateThumbProportion):
647         (WebCore::PlatformScrollbar::setRect):
648         (FrameView::passMousePressEventToScrollbar):
649
650 2006-10-06  Sam Weinig  <sam.weinig@gmail.com>
651
652         Reviewed by Tim H.
653
654         Patch for http://bugs.webkit.org/show_bug.cgi?id=11177
655         Another round of Objective-C SVG DOM bindings auto-generation
656
657         - Auto-generate DOMSVGAnimatedNumberList, DOMSVGAnimatedRect, 
658           DOMSVGComponentTransferFunctionElement, DOMSVGFEBlendElement, 
659           DOMSVGFEColorMatrixElement, DOMSVGFEComponentTransferElement, 
660           DOMSVGFECompositeElement, DOMSVGFEDiffuseLightingElement,
661           DOMSVGFEDisplacementMapElement, DOMSVGFEDistantLightElement, 
662           DOMSVGFEFloodElement, DOMSVGFEFuncAElement, DOMSVGFEFuncBElement, 
663           DOMSVGFEFuncGElement, DOMSVGFEFuncRElement, DOMSVGFEGaussianBlurElement, 
664           DOMSVGFEImageElement, DOMSVGFEMergeElement, DOMSVGFEMergeNodeElement, 
665           DOMSVGFEOffsetElement, DOMSVGFEPointLightElement, 
666           DOMSVGFESpecularLightingElement, DOMSVGFESpotLightElement, 
667           DOMSVGFETileElement, DOMSVGFETurbulenceElement, 
668           DOMSVGFilterPrimitiveStandardAttributes and DOMSVGNumberList. 
669
670         - Adds interfaces and implementation stubs for DOMSVGNumber, DOMSVGPoint
671           and DOMSVGRect.
672
673         - IDL clean up.
674
675         - Make numOctaves in SVGFETurbulenceElement use a long instead of an int
676           in it's macro declaration and definition.
677
678         * DerivedSources.make:
679         * WebCore.xcodeproj/project.pbxproj:
680         * bindings/objc/DOMCSS.mm:
681         (+[DOMCSSValue _CSSValueWith:WebCore::]):
682         * bindings/objc/DOMInternal.h:
683         * bindings/objc/DOMSVG.h:
684         * bindings/objc/DOMSVGNumber.h: Added.
685         * bindings/objc/DOMSVGNumber.mm: Added.
686         (-[DOMSVGNumber dealloc]):
687         (-[DOMSVGNumber finalize]):
688         (-[DOMSVGNumber value]):
689         (-[DOMSVGNumber setValue:]):
690         (-[DOMSVGNumber _SVGNumber]):
691         (-[DOMSVGNumber _initWithFloat:]):
692         (+[DOMSVGNumber _SVGNumberWith:]):
693         * bindings/objc/DOMSVGPoint.h: Added.
694         * bindings/objc/DOMSVGPoint.mm: Added.
695         (-[DOMSVGPoint dealloc]):
696         (-[DOMSVGPoint finalize]):
697         (-[DOMSVGPoint x]):
698         (-[DOMSVGPoint setX:]):
699         (-[DOMSVGPoint y]):
700         (-[DOMSVGPoint setY:]):
701         (-[DOMSVGPoint WebCore::]):
702         (-[DOMSVGPoint _initWithFloatPoint:WebCore::]):
703         (+[DOMSVGPoint _SVGPointWith:WebCore::]):
704         * bindings/objc/DOMSVGRect.h: Added.
705         * bindings/objc/DOMSVGRect.mm: Added.
706         (-[DOMSVGRect dealloc]):
707         (-[DOMSVGRect finalize]):
708         (-[DOMSVGRect x]):
709         (-[DOMSVGRect setX:]):
710         (-[DOMSVGRect y]):
711         (-[DOMSVGRect setY:]):
712         (-[DOMSVGRect width]):
713         (-[DOMSVGRect setWidth:]):
714         (-[DOMSVGRect height]):
715         (-[DOMSVGRect setHeight:]):
716         (-[DOMSVGRect WebCore::]):
717         (-[DOMSVGRect _initWithFloatRect:WebCore::]):
718         (+[DOMSVGRect _SVGRectWith:WebCore::]):
719         * bindings/scripts/CodeGeneratorObjC.pm:
720         * ksvg2/svg/SVGAnimatedNumberList.idl:
721         * ksvg2/svg/SVGAnimatedRect.idl:
722         * ksvg2/svg/SVGComponentTransferFunctionElement.idl:
723         * ksvg2/svg/SVGCursorElement.idl:
724         * ksvg2/svg/SVGFEBlendElement.idl:
725         * ksvg2/svg/SVGFEColorMatrixElement.idl:
726         * ksvg2/svg/SVGFEComponentTransferElement.idl:
727         * ksvg2/svg/SVGFECompositeElement.idl:
728         * ksvg2/svg/SVGFEDiffuseLightingElement.idl:
729         * ksvg2/svg/SVGFEDisplacementMapElement.idl:
730         * ksvg2/svg/SVGFEDistantLightElement.idl:
731         * ksvg2/svg/SVGFEFloodElement.idl:
732         * ksvg2/svg/SVGFEFuncAElement.idl:
733         * ksvg2/svg/SVGFEFuncBElement.idl:
734         * ksvg2/svg/SVGFEFuncGElement.idl:
735         * ksvg2/svg/SVGFEFuncRElement.idl:
736         * ksvg2/svg/SVGFEGaussianBlurElement.idl:
737         * ksvg2/svg/SVGFEImageElement.idl:
738         * ksvg2/svg/SVGFEMergeElement.idl:
739         * ksvg2/svg/SVGFEMergeNodeElement.idl:
740         * ksvg2/svg/SVGFEOffsetElement.idl:
741         * ksvg2/svg/SVGFEPointLightElement.idl:
742         * ksvg2/svg/SVGFESpecularLightingElement.idl:
743         * ksvg2/svg/SVGFESpotLightElement.idl:
744         * ksvg2/svg/SVGFETileElement.idl:
745         * ksvg2/svg/SVGFETurbulenceElement.cpp:
746         * ksvg2/svg/SVGFETurbulenceElement.h:
747         * ksvg2/svg/SVGFETurbulenceElement.idl:
748         * ksvg2/svg/SVGNumberList.idl:
749
750 2006-10-06  Adam Roben  <aroben@apple.com>
751
752         Backing out my previous change.
753
754         * WebCore.xcodeproj/project.pbxproj:
755         * page/FrameView.cpp:
756         (WebCore::FrameView::adjustViewSize):
757
758 2006-10-06  Adam Roben  <aroben@apple.com>
759
760         Build fix.
761
762         * WebCore.xcodeproj/project.pbxproj:
763         * page/FrameView.cpp:
764         (WebCore::FrameView::windowResizerRect):
765
766 2006-10-06  Adam Roben  <aroben@apple.com>
767
768         Reviewed by Maciej.
769
770         More loader tweaks.
771
772         * platform/ResourceLoader.h:
773         * platform/ResourceLoaderInternal.h:
774         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
775         * platform/win/TemporaryLinkStubs.cpp:
776         (WebCore::ResourceLoader::newHTTPRequest):
777
778 2006-10-05  Steve Falkenburg  <sfalken@apple.com>
779
780         Reviewed by aroben.
781
782         Stub out some methods that we'll be able to use to dodge a window resizer.
783
784         * bridge/win/FrameWin.h:
785         * page/Frame.h:
786         (WebCore::Frame::windowResizerRect):
787         * page/FrameView.h:
788         * platform/ScrollView.h:
789         (WebCore::ScrollView::windowResizerRect):
790         * platform/Widget.h:
791         * platform/win/TemporaryLinkStubs.cpp:
792         (FrameView::windowResizerRect):
793         (Widget::setParent):
794         (Widget::parent):
795         (FrameWin::windowResizerRect):
796
797 2006-10-05  Dave Hyatt  <hyatt@apple.com>
798
799         Stub out setFrameGeometry.
800         
801         * platform/ScrollView.h:
802
803 2006-10-05  Adele Peterson  <adele@apple.com>
804
805         Reverting autoscroll fix.  I need to rework this a little.
806
807         * page/Frame.cpp:
808         (WebCore::Frame::handleAutoscroll):
809         (WebCore::Frame::autoscrollTimerFired):
810         (WebCore::Frame::stopAutoscrollTimer):
811         * page/Frame.h:
812         * rendering/RenderLayer.cpp:
813         (WebCore::RenderLayer::~RenderLayer):
814         * rendering/RenderListBox.cpp:
815         (WebCore::RenderListBox::~RenderListBox):
816
817 2006-10-05  Alice  <alice.liu@apple.com>
818
819         Reviewed by Adam.
820
821         Fixed <rdar://problem/4731778>
822
823         * editing/CommandByName.cpp:
824         (WebCore::Frame::Command::):
825         was calling the wrong enabledFn for arrow selection and navigation
826
827 2006-10-05  Adele Peterson  <adele@apple.com>
828
829         Reviewed by Maciej.
830
831         - Fix for <rdar://problem/4707489> After timers fix, crash below RenderLayer::autoscroll after moving/destroying active <input type="text">
832           and <rdar://problem/4707519> After timers fix, crash below RenderLayer::autoscroll after moving/destroying active textarea
833
834         * rendering/RenderLayer.cpp: (WebCore::RenderLayer::~RenderLayer): If the renderer is being autoscrolled, then stop the autoscroll timer.
835         * rendering/RenderListBox.cpp: (WebCore::RenderListBox::~RenderListBox): ditto.
836
837         * page/Frame.cpp: Added getter and setter for the renderer being autoscrolled.
838         (WebCore::Frame::handleAutoscroll):
839         (WebCore::Frame::autoscrollTimerFired):
840         (WebCore::Frame::autoscrollRenderer):
841         (WebCore::Frame::setAutoscrollRenderer):
842         (WebCore::Frame::stopAutoscrollTimer):
843         * page/Frame.h:
844
845 2006-10-05  Don Gibson  <dgibson77@gmail.com>
846
847         Reviewed by Eric.
848
849         Fix win32 build bustage after ggaren's Scrollbar renaming changes.
850         Properly include PlatformScrollBar.h in WbCore.vcproj.
851         Clean up WidgetWin.cpp a bit.
852
853         * WebCore.vcproj/WebCore/WebCore.vcproj:
854         * platform/Widget.h:
855         * platform/win/PlatformScrollBar.h:
856         * platform/win/ScrollViewWin.cpp:
857         (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
858         (WebCore::ScrollView::resizeContents):
859         (WebCore::ScrollView::scrollBy):
860         (WebCore::ScrollView::hScrollbarMode):
861         (WebCore::ScrollView::vScrollbarMode):
862         (WebCore::ScrollView::suppressScrollbars):
863         (WebCore::ScrollView::setHScrollbarMode):
864         (WebCore::ScrollView::setVScrollbarMode):
865         (WebCore::ScrollView::setScrollbarsMode):
866         (WebCore::ScrollView::updateScrollbars):
867         * platform/win/TemporaryLinkStubs.cpp:
868         (FrameView::passMousePressEventToScrollbar):
869         (Widget::removeFromParent):
870         (ScrollView::scrollbarUnderMouse):
871         (PlatformScrollbar::PlatformScrollbar):
872         (PlatformScrollbar::~PlatformScrollbar):
873         (PlatformScrollbar::width):
874         (PlatformScrollbar::height):
875         (PlatformScrollbar::setEnabled):
876         (PlatformScrollbar::paint):
877         (PlatformScrollbar::updateThumbPosition):
878         (PlatformScrollbar::updateThumbProportion):
879         (PlatformScrollbar::setRect):
880         (Scrollbar::Scrollbar):
881         (Scrollbar::setSteps):
882         (Scrollbar::scroll):
883         (Scrollbar::setValue):
884         (Scrollbar::setProportion):
885         * platform/win/WidgetWin.cpp:
886         (WebCore::WidgetPrivate::WidgetPrivate):
887         (WebCore::Widget::Widget):
888         (WebCore::Widget::setContainingWindow):
889         (WebCore::Widget::containingWindow):
890
891 2006-10-05  Geoffrey Garen  <ggaren@apple.com>
892
893         build fix.
894         
895         * WebCore.xcodeproj/project.pbxproj:
896         * bridge/mac/BrowserExtensionMac.mm:
897         (WebCore::BrowserExtensionMac::createNewWindow):
898         * bridge/mac/FrameMac.mm:
899         (WebCore::FrameMac::createFrame):
900         * bridge/mac/FrameViewMac.mm:
901         (WebCore::FrameView::passMousePressEventToScrollbar):
902         * bridge/mac/WebCoreFrameBridge.mm:
903         (-[WebCoreFrameBridge installInFrame:]):
904         * bridge/mac/WebCoreFrameView.h:
905         * platform/ScrollBar.cpp:
906         * platform/Widget.h:
907         * platform/mac/PlatformScrollBar.h:
908         * platform/mac/PlatformScrollBarMac.mm:
909         (NSControlSizeForScrollBarControlSize):
910         (-[WebCoreScrollBar initWithPlatformScrollbar:]):
911         (-[WebCoreScrollBar detachPlatformScrollbar]):
912         (-[WebCoreScrollBar scroll:]):
913         (-[WebCoreScrollBar widget]):
914         (WebCore::PlatformScrollbar::PlatformScrollbar):
915         (WebCore::PlatformScrollbar::~PlatformScrollbar):
916         (WebCore::PlatformScrollbar::updateThumbPosition):
917         (WebCore::PlatformScrollbar::updateThumbProportion):
918         (WebCore::PlatformScrollbar::scrollbarHit):
919         (WebCore::PlatformScrollbar::width):
920         (WebCore::PlatformScrollbar::height):
921         (WebCore::PlatformScrollbar::setRect):
922         (WebCore::PlatformScrollbar::setEnabled):
923         (WebCore::PlatformScrollbar::paint):
924         * platform/mac/ScrollViewMac.mm:
925         (WebCore::ScrollView::setVScrollbarMode):
926         (WebCore::ScrollView::setHScrollbarMode):
927         (WebCore::ScrollView::setScrollbarsMode):
928         (WebCore::ScrollView::vScrollbarMode):
929         (WebCore::ScrollView::hScrollbarMode):
930         (WebCore::ScrollView::suppressScrollbars):
931         (WebCore::ScrollView::scrollbarUnderMouse):
932         * platform/mac/WidgetMac.mm:
933         (WebCore::Widget::removeFromParent):
934         * rendering/RenderLayer.cpp:
935         (WebCore::RenderLayer::destroyScrollbar):
936
937 2006-10-05  Geoffrey Garen  <ggaren@apple.com>
938
939         build fix.
940         
941         * platform/Widget.h:
942         * rendering/RenderLayer.cpp:
943         (WebCore::RenderLayer::destroyScrollbar):
944
945 2006-10-06  Mitz Pettel  <mitz@webkit.org>
946
947         http://bugs.webkit.org/show_bug.cgi?id=8276
948         Fix broken manual test added back in r13990.
949
950         Add resource forks for test resources.
951
952         * manual-tests/resources/plain-text-paste/._1.textClipping: Added.
953         * manual-tests/resources/plain-text-paste/._2.textClipping: Added.
954         * manual-tests/resources/plain-text-paste/._4.txt: Added.
955         * manual-tests/resources/plain-text-paste/._5.webloc: Added.
956
957 2006-10-05  David Hyatt  <hyatt@apple.com>
958
959         Rename addClip to clip.
960
961         Reviewed by darin
962
963         * kcanvas/RenderForeignObject.cpp:
964         (WebCore::RenderForeignObject::paint):
965         * kcanvas/RenderSVGContainer.cpp:
966         (WebCore::RenderSVGContainer::paint):
967         * kcanvas/RenderSVGImage.cpp:
968         (WebCore::RenderSVGImage::paint):
969         * platform/GraphicsContext.h:
970         * platform/cairo/GraphicsContextCairo.cpp:
971         (WebCore::GraphicsContext::clip):
972         * platform/cg/GraphicsContextCG.cpp:
973         (WebCore::GraphicsContext::savePlatformState):
974         (WebCore::GraphicsContext::restorePlatformState):
975         (WebCore::GraphicsContext::clip):
976         (WebCore::GraphicsContext::addRoundedRectClip):
977         (WebCore::GraphicsContext::addInnerRoundedRectClip):
978         (WebCore::GraphicsContext::scale):
979         (WebCore::GraphicsContext::rotate):
980         (WebCore::GraphicsContext::translate):
981         (WebCore::GraphicsContext::concatCTM):
982         * platform/cg/GraphicsContextPlatformPrivate.h:
983         (WebCore::GraphicsContextPlatformPrivate::save):
984         (WebCore::GraphicsContextPlatformPrivate::restore):
985         (WebCore::GraphicsContextPlatformPrivate::clip):
986         (WebCore::GraphicsContextPlatformPrivate::scale):
987         (WebCore::GraphicsContextPlatformPrivate::rotate):
988         (WebCore::GraphicsContextPlatformPrivate::translate):
989         (WebCore::GraphicsContextPlatformPrivate::concatCTM):
990         * platform/qt/GraphicsContextQt.cpp:
991         (WebCore::GraphicsContext::clip):
992         (WebCore::GraphicsContext::addInnerRoundedRectClip):
993         (WebCore::GraphicsContext::addRoundedRectClip):
994         * rendering/InlineFlowBox.cpp:
995         (WebCore::InlineFlowBox::paintBackground):
996         (WebCore::InlineFlowBox::paintBackgroundAndBorder):
997         * rendering/InlineTextBox.cpp:
998         (WebCore::InlineTextBox::paintSelection):
999         (WebCore::InlineTextBox::paintTextMatchMarker):
1000         * rendering/RenderBox.cpp:
1001         (WebCore::RenderBox::paintBackgroundExtended):
1002         * rendering/RenderButton.cpp:
1003         (WebCore::RenderButton::paintObject):
1004         * rendering/RenderFileUploadControl.cpp:
1005         (WebCore::RenderFileUploadControl::paintObject):
1006         * rendering/RenderLayer.cpp:
1007         (WebCore::RenderLayer::beginTransparencyLayers):
1008         (WebCore::setClip):
1009         * rendering/RenderListBox.cpp:
1010         (WebCore::RenderListBox::paintObject):
1011         * rendering/RenderMenuList.cpp:
1012         (WebCore::RenderMenuList::paintObject):
1013         * rendering/RenderTableCell.cpp:
1014         (WebCore::RenderTableCell::paintBackgroundsBehindCell):
1015
1016 2006-10-05  Mitz Pettel  <mitz@webkit.org>
1017
1018         Reviewed by Darin.
1019
1020         - http://bugs.webkit.org/show_bug.cgi?id=10386
1021           Delete RenderImageButton.* and remove references from .vcproj and .bkl files
1022
1023         * CMakeLists.txt:
1024         * WebCore.vcproj/WebCore/WebCore.vcproj:
1025         * WebCoreSources.bkl:
1026         * rendering/RenderImageButton.cpp: Removed.
1027         * rendering/RenderImageButton.h: Removed.
1028
1029 2006-10-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1030
1031         Reviewed by Darin.
1032
1033         - http://bugs.webkit.org/show_bug.cgi?id=11067
1034           manual-tests/scrollbar-hittest2.html is invalid
1035
1036         * manual-tests/scrollbar-hittest2.html:
1037
1038 2006-10-05  David Carson  <dacarson@gmail.com>
1039
1040         Reviewed by Darin.
1041
1042         http://bugs.webkit.org/show_bug.cgi?id=11152
1043         Adjust the tokenizer chunk size to be smaller for
1044         mobile devices, and also decrease the yield timer
1045         for the tokenizer so that it can resume earlier.
1046
1047         * html/HTMLTokenizer.cpp:
1048         * config.h:
1049
1050 2006-10-05  Adam Roben  <aroben@apple.com>
1051
1052         Removing accidentally-checked-in do-nothing code.
1053
1054         * html/HTMLInputElement.cpp:
1055         (WebCore::HTMLInputElement::defaultEventHandler):
1056
1057 2006-10-05  David Carson  <dacarson@gmail.com>
1058
1059         Reviewed by Mitz.
1060
1061         http://bugs.webkit.org/show_bug.cgi?id=11158
1062         Initialize class variables
1063
1064         * rendering/RenderLayer.cpp:
1065         (WebCore::RenderLayer::RenderLayer):
1066
1067 2006-10-05  Don Gibson  <dgibson77@gmail.com>
1068
1069         Reviewed by Darin, landed by Adam.
1070
1071         http://bugs.webkit.org/show_bug.cgi?id=11176
1072         Fix win32 build, adapt to Maciej's ResourceLoader changes.
1073
1074         * platform/win/ResourceLoaderWin.cpp:
1075         (WebCore::ResourceLoader::start):
1076
1077 2006-10-05  Marvin Decker  <marv.decker@gmail.com>
1078
1079         Reviewed by Darin.
1080
1081         http://bugs.webkit.org/show_bug.cgi?id=10989
1082         Provide a way for embedders to implement BrowserExtensionWin
1083
1084         * WebCore.vcproj/WebCore/WebCore.vcproj:
1085         * bridge/win/BrowserExtensionWin.cpp: Added.
1086         (BrowserExtensionWin::BrowserExtensionWin):
1087         (BrowserExtensionWin::setTypedIconURL):
1088         (BrowserExtensionWin::setIconURL):
1089         (BrowserExtensionWin::getHistoryLength):
1090         (BrowserExtensionWin::canRunModal):
1091         (BrowserExtensionWin::createNewWindow):
1092         (BrowserExtensionWin::canRunModalNow):
1093         (BrowserExtensionWin::runModal):
1094         (BrowserExtensionWin::goBackOrForward):
1095         (BrowserExtensionWin::historyURL):
1096         * bridge/win/BrowserExtensionWin.h:
1097         * bridge/win/FrameWin.cpp:
1098         (WebCore::FrameWin::createNewWindow):
1099         * bridge/win/FrameWin.h:
1100         * platform/win/TemporaryLinkStubs.cpp:
1101
1102 2006-10-05  Geoffrey Garen  <ggaren@apple.com>
1103
1104         Reviewed by Darin.
1105         
1106         Fixed <rdar://problem/4766987>
1107         
1108         - renamed ScrollBar to Scrollbar and scroll bar to scrollbar in every case
1109         except for file names.
1110         
1111         - fixed RenderLayer to properly tear down scrollbars, removing them from
1112         their parents.
1113
1114         * bindings/js/kjs_window.cpp:
1115         (KJS::showModalDialog):
1116         (KJS::setWindowFeature):
1117         (KJS::parseWindowFeatures):
1118         * bridge/BrowserExtension.h:
1119         * dom/Document.cpp:
1120         (WebCore::Document::setInPageCache):
1121         * html/HTMLFrameElement.cpp:
1122         (WebCore::HTMLFrameElement::init):
1123         (WebCore::HTMLFrameElement::parseMappedAttribute):
1124         * html/HTMLFrameElement.h:
1125         (WebCore::HTMLFrameElement::scrollingMode):
1126         * page/Frame.cpp:
1127         (WebCore::Frame::finishedParsing):
1128         (WebCore::Frame::scrollbarsVisible):
1129         * page/FrameView.cpp:
1130         (WebCore::FrameViewPrivate::FrameViewPrivate):
1131         (WebCore::FrameViewPrivate::reset):
1132         (WebCore::FrameView::~FrameView):
1133         (WebCore::FrameView::resetScrollbars):
1134         (WebCore::FrameView::clear):
1135         (WebCore::FrameView::initScrollbars):
1136         (WebCore::FrameView::applyOverflowToViewport):
1137         (WebCore::FrameView::layout):
1138         (WebCore::FrameView::handleMousePressEvent):
1139         (WebCore::selectCursor):
1140         (WebCore::FrameView::handleMouseMoveEvent):
1141         (WebCore::FrameView::setScrollbarsMode):
1142         (WebCore::FrameView::setVScrollbarMode):
1143         (WebCore::FrameView::setHScrollbarMode):
1144         (WebCore::FrameView::restoreScrollbar):
1145         (WebCore::FrameView::dispatchMouseEvent):
1146         (WebCore::FrameView::scrollbarMoved):
1147         * page/FrameView.h:
1148         * page/MouseEventWithHitTestResults.cpp:
1149         (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
1150         * page/MouseEventWithHitTestResults.h:
1151         (WebCore::MouseEventWithHitTestResults::scrollbar):
1152         * platform/ScrollBar.cpp:
1153         (WebCore::Scrollbar::Scrollbar):
1154         (WebCore::Scrollbar::setValue):
1155         (WebCore::Scrollbar::setProportion):
1156         (WebCore::Scrollbar::setSteps):
1157         (WebCore::Scrollbar::scroll):
1158         * platform/ScrollBar.h:
1159         (WebCore::):
1160         (WebCore::ScrollbarClient::~ScrollbarClient):
1161         (WebCore::Scrollbar::~Scrollbar):
1162         (WebCore::Scrollbar::orientation):
1163         (WebCore::Scrollbar::controlSize):
1164         (WebCore::Scrollbar::hasPlatformScrollbars):
1165         (WebCore::Scrollbar::client):
1166         * platform/ScrollBarMode.h:
1167         (WebCore::):
1168         * platform/ScrollView.h:
1169         * rendering/RenderBlock.cpp:
1170         (WebCore::RenderBlock::isPointInScrollbar):
1171         * rendering/RenderLayer.cpp:
1172         (WebCore::RenderLayer::RenderLayer):
1173         (WebCore::RenderLayer::~RenderLayer):
1174         (WebCore::RenderLayer::scrollToOffset):
1175         (WebCore::RenderLayer::horizontaScrollbarWidget):
1176         (WebCore::RenderLayer::verticalScrollbarWidget):
1177         (WebCore::RenderLayer::valueChanged):
1178         (WebCore::RenderLayer::createScrollbar):
1179         (WebCore::RenderLayer::destroyScrollbar):
1180         (WebCore::RenderLayer::setHasHorizontalScrollbar):
1181         (WebCore::RenderLayer::setHasVerticalScrollbar):
1182         (WebCore::RenderLayer::verticalScrollbarWidth):
1183         (WebCore::RenderLayer::horizontalScrollbarHeight):
1184         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
1185         * rendering/RenderLayer.h:
1186         (WebCore::RenderLayer::horizontalScrollbar):
1187         (WebCore::RenderLayer::verticalScrollbar):
1188         * rendering/RenderListBox.cpp:
1189         (WebCore::RenderListBox::~RenderListBox):
1190         (WebCore::RenderListBox::calcMinMaxWidth):
1191         (WebCore::RenderListBox::isPointInScrollbar):
1192         (WebCore::RenderListBox::optionAtPoint):
1193         (WebCore::RenderListBox::valueChanged):
1194         * rendering/RenderListBox.h:
1195         * rendering/RenderObject.h:
1196         (WebCore::RenderObject::NodeInfo::scrollbar):
1197         (WebCore::RenderObject::NodeInfo::setScrollbar):
1198
1199 2006-10-05  Don Gibson  <dgibson77@gmail.com>
1200
1201         Reviewed by Adam.
1202
1203         http://bugs.webkit.org/show_bug.cgi?id=11138
1204         Incorrect mouse event generation on Windows
1205
1206         * platform/win/MouseEventWin.cpp:
1207         (WebCore::PlatformMouseEvent::PlatformMouseEvent):
1208         (1) Set mouse button even for non-click-related messages.
1209         (2) Track clicks correctly for all buttons, not just the left button.
1210
1211 2006-10-05  Nikolas Zimmermann  <zimmermann@kde.org>
1212
1213         Reviewed and landed by ap.
1214
1215         Fix Qt/Linux build, adapt to Eric's quartz changes and to Maciej's ResourceLoader changes.
1216
1217         * kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp:
1218         (WebCore::KRenderingPaintServerLinearGradientQt::renderPath):
1219         (WebCore::KRenderingPaintServerLinearGradientQt::setup):
1220         (WebCore::KRenderingPaintServerRadialGradientQt::setup):
1221         (WebCore::KRenderingPaintServerRadialGradientQt::renderPath):
1222         * kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp:
1223         (WebCore::KRenderingPaintServerPatternQt::renderPath):
1224         * kcanvas/device/qt/KRenderingPaintServerQt.cpp:
1225         (WebCore::KRenderingPaintServerQt::setPenProperties):
1226         * kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp:
1227         (WebCore::KRenderingPaintServerSolidQt::setup):
1228         (WebCore::KRenderingPaintServerSolidQt::renderPath):
1229         * kcanvas/device/qt/RenderPathQt.cpp:
1230         (WebCore::getPathStroke):
1231
1232 2006-10-05  Alexey Proskuryakov  <ap@nypop.com>
1233
1234         Reviewed by Darin.
1235
1236         http://bugs.webkit.org/show_bug.cgi?id=11054
1237         REGRESSION: Traditional Chinese encoding in login authentication
1238
1239         1. Treat GB2312 encoding as GBK (its more modern superset), to match other browsers.
1240         2. On the Web, GB2312 is encoded as EUC-CN or HZ, while ICU provides a native encoding
1241         for encoding GB_2312-80 and several others. So, we need to override this behavior, too.
1242
1243         * platform/StreamingTextDecoderICU.cpp:
1244         (WebCore::TextCodecICU::registerEncodingNames):
1245
1246 2006-10-05  Eric Seidel  <eric@eseidel.com>
1247
1248         Reviewed by mjs.
1249
1250         Removed dead code.
1251         Filed http://bugs.webkit.org/show_bug.cgi?id=11167 to for followup on removed FIXMEs
1252
1253         * WebCore.xcodeproj/project.pbxproj:
1254         * ksvg2/ecma/GlobalObject.cpp: Removed.
1255         * ksvg2/ecma/GlobalObject.h: Removed.
1256
1257 2006-10-05  Adam Roben  <aroben@apple.com>
1258
1259         Reviewed by Maciej.
1260
1261         Small ResourceLoaderInternal tweak.
1262
1263         * platform/ResourceLoaderInternal.h:
1264         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
1265
1266 2006-10-05  Eric Seidel  <eric@eseidel.com>
1267
1268         Reviewed by mjs.
1269
1270         More incremental KCanvas cleanup and optimization.
1271         Added SVGRenderStyle::hasFill() and hasStroke() removed more KSVGPainterFactory methods.
1272         Optimized dash array usage to not malloc.
1273         Also removed un-needed KSVGRenderingStyle includes.
1274
1275         * kcanvas/KCanvasTreeDebug.cpp:
1276         (WebCore::operator<<):
1277         * kcanvas/RenderPath.cpp:
1278         (WebCore::RenderPath::nodeAtPoint):
1279         * kcanvas/device/quartz/KCanvasItemQuartz.mm:
1280         (WebCore::RenderPath::strokeBBox):
1281         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
1282         (WebCore::KRenderingPaintServerGradientQuartz::setup):
1283         (WebCore::KRenderingPaintServerGradientQuartz::renderPath):
1284         (WebCore::KRenderingPaintServerGradientQuartz::teardown):
1285         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
1286         (WebCore::KRenderingPaintServerSolidQuartz::setup):
1287         (WebCore::KRenderingPaintServerSolidQuartz::renderPath):
1288         (WebCore::KRenderingPaintServerPatternQuartz::setup):
1289         (WebCore::KRenderingPaintServerPatternQuartz::renderPath):
1290         * kcanvas/device/quartz/QuartzSupport.mm:
1291         (WebCore::applyStrokeStyleToContext):
1292         * ksvg2/css/SVGRenderStyle.h:
1293         (WebCore::SVGRenderStyle::hasStroke):
1294         (WebCore::SVGRenderStyle::hasFill):
1295         * ksvg2/misc/KCanvasRenderingStyle.cpp:
1296         (WebCore::KSVGPainterFactory::fillPaintServer):
1297         (WebCore::KSVGPainterFactory::strokePaintServer):
1298         * ksvg2/misc/KCanvasRenderingStyle.h:
1299
1300 2006-10-05  Maciej Stachowiak  <mjs@apple.com>
1301
1302         Reviewed by Adam.
1303
1304         - changed ResourceLoader to be refcounted
1305
1306         It keeps a ref on itself while loading as well. This makes
1307         for a much saner memory management model than the previous.
1308
1309         * bridge/mac/WebCoreResourceLoaderImp.mm:
1310         (-[WebCoreResourceLoaderImp finishJobAndHandle:]):
1311         * dom/XMLTokenizer.cpp:
1312         (WebCore::openFunc):
1313         * loader/icon/IconLoader.cpp:
1314         (IconLoader::IconLoader):
1315         (IconLoader::~IconLoader):
1316         (IconLoader::startLoading):
1317         (IconLoader::stopLoading):
1318         (IconLoader::receivedData):
1319         * loader/icon/IconLoader.h:
1320         * loader/loader.cpp:
1321         (WebCore::Loader::servePendingRequests):
1322         * platform/ResourceLoader.cpp:
1323         (WebCore::ResourceLoader::create):
1324         (WebCore::ResourceLoader::kill):
1325         * platform/ResourceLoader.h:
1326         * platform/ResourceLoaderInternal.h:
1327         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
1328         * platform/mac/ResourceLoaderMac.mm:
1329         (WebCore::ResourceLoader::start):
1330         * xml/XSLTProcessor.cpp:
1331         (WebCore::docLoaderFunc):
1332         * xml/xmlhttprequest.cpp:
1333         (WebCore::XMLHttpRequest::send):
1334         * xml/xmlhttprequest.h:
1335
1336 2006-10-05  Eric Seidel  <eric@eseidel.com>
1337
1338         Reviewed by mjs.
1339
1340         Improve SVG opacity performance by clipping to the object bbox before starting a new opacity layer.
1341         http://bugs.webkit.org/show_bug.cgi?id=11163
1342         
1343         No SVG performance tests yet.
1344
1345         * kcanvas/RenderForeignObject.cpp:
1346         (WebCore::RenderForeignObject::paint):
1347         * kcanvas/RenderSVGContainer.cpp:
1348         (WebCore::RenderSVGContainer::paint):
1349         * kcanvas/RenderSVGImage.cpp:
1350         (WebCore::RenderSVGImage::paint):
1351         * kcanvas/RenderSVGText.cpp:
1352         (WebCore::RenderSVGText::paint):
1353
1354 2006-10-05  Dave Hyatt  <hyatt@apple.com>
1355
1356         Stub out some stuff for widget focusability.
1357
1358         Reviewed by maciej
1359  
1360         * page/FrameView.cpp:
1361         (WebCore::FrameView::dispatchMouseEvent):
1362         * platform/ScrollView.h:
1363         * platform/Widget.h:
1364
1365 2006-10-05  Adam Roben  <aroben@apple.com>
1366
1367         Reviewed by Maciej and Tim H.
1368
1369         Copy some WebKit frame lifetime logic into WebCore -- just a step
1370         along the path to frame lifetime being handled completely in WebCore.
1371
1372         * bridge/mac/FrameMac.mm:
1373         (WebCore::FrameMac::setView): Move platform-independent parts of this
1374         method into Frame.
1375         * page/Frame.cpp:
1376         (WebCore::Frame::setView): Adding platform-independent parts of
1377         FrameMac::setView
1378         (WebCore::Frame::detachChildren): New method to accomplish what
1379         -[WebFrameBridge _detachChildren] currently does.
1380         (WebCore::Frame::clear): Call detachChildren
1381         * page/Frame.h: Add declaration for detachChildren
1382
1383 2006-10-04  Alice Liu  <alice.liu@apple.com>
1384
1385         Reviewed by Darin.
1386
1387         Fixed <rdar://problem/4758577> REGRESSION: Business and People widgets fails to complete search query
1388
1389         * xml/xmlhttprequest.cpp:
1390         (WebCore::XMLHttpRequest::setRequestHeader):
1391         removed exception set when the request is not open yet
1392
1393 2006-10-04  Anders Carlsson  <acarlsson@apple.com>
1394
1395         Reviewed by John Sullivan.
1396
1397         <rdar://problem/4654328>
1398         Safari Crashes in WebCore::PluginTokenizer::writeRawData If I Try to Open a SWF File With Plug-ins Turned Off
1399         
1400         * loader/PluginDocument.cpp:
1401         (WebCore::PluginTokenizer::writeRawData):
1402         Only send the data to the plug-in if plug-ins are enabled, otherwise just silently eat it.
1403
1404 2006-10-03  Alexey Proskuryakov  <ap@nypop.com>
1405
1406         Reviewed by Tim H.
1407
1408         http://bugs.webkit.org/show_bug.cgi?id=11130
1409         Convert "undefined" to AE missing value
1410
1411         * bridge/mac/WebCoreFrameBridge.mm:
1412         (aeDescFromJSValue): return missing value for UndefinedType.
1413
1414 2006-10-03  Dave Hyatt  <hyatt@apple.com>
1415
1416         Scrolling work.  Eliminate convertTo/FromContainingWindow as cross-platform functions.  Add back in
1417         the windowToContents/contentsToWindow functions.
1418         
1419         Reviewed by anders
1420
1421         * bridge/mac/FrameMac.mm:
1422         (WebCore::FrameMac::eventMayStartDrag):
1423         (WebCore::FrameMac::dragHysteresisExceeded):
1424         (WebCore::FrameMac::mouseDown):
1425         (WebCore::FrameMac::shouldDragAutoNode):
1426         (WebCore::FrameMac::sendContextMenuEvent):
1427         * bridge/mac/FrameViewMac.mm:
1428         (WebCore::FrameView::passMousePressEventToScrollbar):
1429         * bridge/mac/WebCoreFrameBridge.mm:
1430         (-[WebCoreFrameBridge _visiblePositionForPoint:]):
1431         * dom/EventTargetNode.cpp:
1432         (WebCore::EventTargetNode::dispatchMouseEvent):
1433         (WebCore::EventTargetNode::dispatchWheelEvent):
1434         * page/Frame.cpp:
1435         (WebCore::Frame::selectClosestWordFromMouseEvent):
1436         (WebCore::Frame::handleMousePressEventTripleClick):
1437         (WebCore::Frame::handleMousePressEventSingleClick):
1438         (WebCore::Frame::handleMouseMoveEvent):
1439         (WebCore::Frame::handleMouseReleaseEvent):
1440         * page/FrameView.cpp:
1441         (WebCore::FrameView::handleMousePressEvent):
1442         (WebCore::FrameView::handleMouseDoubleClickEvent):
1443         (WebCore::selectCursor):
1444         (WebCore::FrameView::handleMouseMoveEvent):
1445         (WebCore::FrameView::handleMouseReleaseEvent):
1446         (WebCore::FrameView::dispatchDragEvent):
1447         (WebCore::FrameView::prepareMouseEvent):
1448         (WebCore::FrameView::handleWheelEvent):
1449         * page/FrameView.h:
1450         * platform/ScrollBar.cpp:
1451         (WebCore::ScrollBar::setValue):
1452         * platform/ScrollView.h:
1453         * platform/Widget.h:
1454         (WebCore::Widget::scrolled):
1455         * platform/mac/ScrollViewMac.mm:
1456         (WebCore::ScrollView::contentsToWindow):
1457         (WebCore::ScrollView::windowToContents):
1458         (WebCore::ScrollView::scrollbarUnderMouse):
1459         * platform/mac/WidgetMac.mm:
1460         * rendering/RenderLayer.cpp:
1461         (WebCore::RenderLayer::resize):
1462         (WebCore::RenderLayer::positionScrollbars):
1463         * rendering/RenderReplaced.cpp:
1464         (WebCore::RenderReplaced::shouldPaint):
1465         * rendering/RenderView.cpp:
1466         * rendering/RenderView.h:
1467         * rendering/RenderWidget.cpp:
1468         (WebCore::RenderWidget::setWidget):
1469
1470 2006-09-26  David Smith  <catfish.man@gmail.com>
1471
1472         Reviewed by Timothy.
1473
1474         http://bugs.webkit.org/show_bug.cgi?id=3723
1475         Add -scrollDOMRangeToVisible:
1476
1477         No automated tests are possible as this code path isn't reachable from JavaScript.
1478
1479         * bridge/mac/WebCoreFrameBridge.h:
1480         * bridge/mac/WebCoreFrameBridge.mm:
1481         (-[WebCoreFrameBridge scrollDOMRangeToVisible:]):
1482
1483 2006-10-03  Graham Dennis  <graham.dennis@gmail.com>
1484
1485         Reviewed by Timothy.
1486
1487         <http://bugs.webkit.org/show_bug.cgi?id=10338>
1488         When contentEditable, cursor doesn't change to hand
1489         
1490         Allow the behaviour of editable links to be specified by a WebPreference
1491         The preference WebKitEditableLinkBehavior has four options:
1492          - AlwaysLive: Safari 2.0 behaviour
1493          - OnlyLiveWithShiftKey: Firefox/WinIE behaviour (and prior WebKit-ToT behaviour)
1494          - LiveWhenNotFocused: Editable links are live only when their editable block is not
1495              focused, or when the shift key is pressed
1496          - DefaultBehavior: This is the same as OnlyLiveWithShiftKey.
1497          
1498         No layout tests, just a modification of a manual-test as it isn't possible to test
1499         this automatically.
1500
1501         * bridge/mac/WebCoreSettings.h:
1502         * bridge/mac/WebCoreSettings.mm:
1503         (-[WebCoreSettings setEditableLinkBehavior:]):
1504         (-[WebCoreSettings editableLinkBehavior]):
1505         * html/HTMLAnchorElement.cpp:
1506         (WebCore::HTMLAnchorElement::HTMLAnchorElement):
1507         (WebCore::HTMLAnchorElement::defaultEventHandler):
1508         (WebCore::HTMLAnchorElement::setActive):
1509         * html/HTMLAnchorElement.h:
1510         * manual-tests/contenteditable-link.html:
1511         * page/FrameView.cpp:
1512         (WebCore::nodeIsNotBeingEdited):
1513         (WebCore::selectCursor):
1514         * page/Settings.h:
1515         (WebCore::Settings::):
1516         (WebCore::Settings::Settings):
1517         (WebCore::Settings::editableLinkBehavior):
1518         (WebCore::Settings::setEditableLinkBehavior):
1519
1520 2006-10-03  Beth Dakin  <bdakin@apple.com>
1521
1522         Reviewed Darin.
1523
1524         No test cases needed.
1525
1526         Implemented a version of StringImpl::append that takes a UChar* and 
1527         a length.
1528
1529         * platform/StringImpl.cpp:
1530         (WebCore::StringImpl::append):
1531         (WebCore::StringImpl::insert): Call new append instead of making a 
1532         new StringImpl.
1533         * platform/StringImpl.h:
1534
1535 2006-10-03  MorganL  <morganl.webkit@yahoo.com>
1536
1537         Reviewed by Darin.
1538
1539         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11099
1540         HttpSendRequestEx results in ERROR_HTTP_HEADER_NOT_FOUND
1541
1542         * platform/win/ResourceLoaderWin.cpp:
1543         (WebCore::ResourceLoader::onHandleCreated):
1544
1545 2006-10-02  Geoffrey Garen  <ggaren@apple.com>
1546
1547         Feared, loathed, reviewed by Darin.
1548
1549         More frame/iframe merging. Merged IFRAME::willRemove and IFRAME::detach 
1550         into FRAME, plus other cleanup.
1551         
1552         No new behavior, so no new test. Layout tests pass. Basic browsing and
1553         Mail editing seem to work.
1554         
1555         * dom/Node.cpp:
1556         (WebCore::Node::detach): Removed random commented-out code.
1557         * html/HTMLFrameElement.cpp:
1558         (WebCore::HTMLFrameElement::isURLAllowed): 
1559         (1) Removed reference to FrameView, to dissociate frame loading from rendering.
1560         (2) Renamed newURL to completeURL because the difference between newURL
1561         and URLString is that newURL is a KURL that is the complete version of URLString,
1562         not that it is new.
1563         (WebCore::HTMLFrameElement::willRemove): 
1564         (1) Removed close() call and moved close() code into willRemove(), also removing 
1565         close() call from detach(), since willRemove is the well-defined place 
1566         from DOM tear-down, not detach().
1567         (2) Removed manual renderer detach code because the DOM is not responsible
1568         for managing the render tree. I confirmed that this change not
1569         regress <rdar://problem/4132581>.
1570         (3) Removed questionable ASSERT. The ASSERT assumed that iframe elements
1571         lost their content frames after being removed from the DOM. That's our 
1572         current behavior, but it's going to change in future rounds of refactoring.
1573         This also fixes <rdar://problem/4750835>.
1574         (WebCore::HTMLFrameElement::setLocation): Removed wacky manual calls to
1575         attach/detach, because the render tree should not be in charge of deciding
1576         when to load.
1577         * html/HTMLFrameElement.h:
1578         * html/HTMLIFrameElement.cpp:
1579         (WebCore::HTMLIFrameElement::attach): Renamed renderPart to renderPartObject,
1580         because the renderer is a renderPartObject, not a renderPart.
1581         * html/HTMLIFrameElement.h:
1582
1583 2006-10-03  Mark Rowe  <bdash@webkit.org>
1584
1585         Reviewed by Mitz.
1586
1587         http://bugs.webkit.org/show_bug.cgi?id=11137
1588         Bug 11137: GdkLauncher dies with "pure virtual method called" if
1589         window is closed while page still loading
1590
1591         * platform/gdk/FrameGdk.cpp:
1592         (WebCore::FrameGdk::~FrameGdk): Call cancelAndClear to allow virtual
1593         methods to be called before the FrameGdk portion of "this" is torn down.
1594
1595 2006-10-03  Adam Roben  <aroben@apple.com>
1596
1597         Reviewed by Darin.
1598
1599         Handle tab key presses in the DOM.
1600
1601         * dom/EventTargetNode.cpp:
1602         (WebCore::EventTargetNode::defaultEventHandler): Add tab key handling.
1603         * page/FrameView.cpp:
1604         (WebCore::FrameView::advanceFocus): Rename and reimplement
1605         focusNextPrevNode. Now we just call Element::focus().
1606         * page/FrameView.h: Rename focusNextPrevNode to advanceFocus and make
1607         it public.
1608
1609 2006-10-03  Justin Garcia  <justin.garcia@apple.com>
1610
1611         Reviewed by mjs
1612         
1613         <rdar://problem/4760612>
1614         TOT REGRESSION: Repro assertion failure when forwarding draft in Range::compareBoundaryPoints
1615         
1616         No layout test possible, attributedStringFrom:(DOMNode*)...etc isn't available to DRT.
1617         
1618         * dom/Range.cpp:
1619         (WebCore::Range::boundaryPointsValid): compareBoundaryPoints asserts that the incoming 
1620         positions are non-null since most of it's callers would be in a bad state if the positions 
1621         were null.  boundaryPointsValid, which calls compareBoundaryPoints, is an exception.  
1622         Instead of removing the assert I've added nil checks in boundaryPointsValid, to keep it 
1623         from entering compareBoundaryPoints and hitting the assert.
1624
1625 2006-10-03  Adele Peterson  <adele@apple.com>
1626
1627         Reviewed by Geoff.
1628
1629         Make code for turning off new listbox implementation mac-only, since there's no implementation on other platforms.
1630
1631         * html/HTMLSelectElement.cpp:
1632         (WebCore::HTMLSelectElement::recalcStyle):
1633         (WebCore::HTMLSelectElement::isKeyboardFocusable):
1634         (WebCore::HTMLSelectElement::isMouseFocusable):
1635         (WebCore::HTMLSelectElement::createRenderer):
1636         (WebCore::HTMLSelectElement::setRecalcListItems):
1637         (WebCore::HTMLSelectElement::notifyOptionSelected):
1638         (WebCore::HTMLSelectElement::defaultEventHandler):
1639
1640 2006-10-04  Darin Adler  <darin@apple.com>
1641
1642         Reviewed by Geoff.
1643
1644         - fix http://bugs.webkit.org/show_bug.cgi?id=11132
1645           Caret disappears when you're typing
1646
1647         * editing/SelectionController.cpp:
1648         (WebCore::SelectionController::setSelection): Remove unnecessary call to
1649         clearCaretRectIfNeeded. The recomputeCaretRect now takes care of this.
1650         (WebCore::SelectionController::recomputeCaretRect): Explicitly set m_needsLayout
1651         to false so we can get the old caret repaint rect. Later we need to change the
1652         design so getting the rect doesn't have a side effect of causing a layout without
1653         invalidation.
1654
1655 2006-10-03  David Harrison  <harrison@apple.com>
1656
1657         Reviewed by Maciej.
1658
1659         <rdar://problem/4671286> Candidate Window isn't displayed and only first candidate is displayed at typing location.
1660
1661         Updated test:
1662         * fast/text/justified-text-rect.html
1663
1664         * bridge/mac/WebCoreFrameBridge.mm:
1665         (-[WebCoreFrameBridge convertToNSRange:]):
1666         (-[WebCoreFrameBridge convertToDOMRange:]):
1667         Make the selection's root editable element (or the document itself) be
1668         the basis for NSRange conversions. This supports "shadow DOM" like
1669         that for text fields and text areas.
1670         
1671         * editing/CompositeEditCommand.cpp:
1672         (WebCore::CompositeEditCommand::moveParagraphs):
1673         Pass the document element as the scope.
1674         
1675         * editing/TextIterator.cpp:
1676         (WebCore::TextIterator::rangeFromLocationAndLength):
1677         Make the first parameter the scope.
1678         
1679         * editing/TextIterator.h:
1680         Make the first parameter of rangeFromLocationAndLength() the scope.
1681
1682 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
1683
1684         Reviewed by Eric.
1685
1686         Fix Qt/Linux build.
1687
1688         * CMakeLists.txt: Add counter related files.
1689
1690 2006-10-03  Mark Rowe  <bdash@webkit.org>
1691
1692         Reviewed by Eric.
1693
1694         http://bugs.webkit.org/show_bug.cgi?id=10981
1695         Linux/GDK build fixes
1696
1697         Based on a patch by Krzysztof Kowalczyk.
1698
1699         * WebCoreSources.bkl:
1700         * platform/gdk/FrameGdk.cpp:
1701         (WebCore::doScroll):
1702         (WebCore::FrameGdk::handleGdkEvent):
1703         * platform/gdk/PlatformScrollBar.h: Added.
1704         (WebCore::PlatformScrollBar::isWidget):
1705         * platform/gdk/ScrollViewGdk.cpp:
1706         * platform/gdk/TemporaryLinkStubs.cpp:
1707         (FrameView::passMousePressEventToScrollbar):
1708         (FrameView::passMousePressEventToSubframe):
1709         (FrameView::passMouseReleaseEventToSubframe):
1710         (FrameView::passMouseMoveEventToSubframe):
1711         (FrameView::passWheelEventToSubframe):
1712         (Cursor::Cursor):
1713         (Widget::invalidate):
1714         (Widget::invalidateRect):
1715         (ScrollView::wheelEvent):
1716         (ScrollView::convertToContainingWindow):
1717         (ScrollView::convertFromContainingWindow):
1718         (GraphicsContext::clip):
1719         (PlatformScrollBar::PlatformScrollBar):
1720         (PlatformScrollBar::updateThumbPosition):
1721         (PlatformScrollBar::updateThumbProportion):
1722         (ScrollBar::ScrollBar):
1723         (ScrollBar::setProportion):
1724         (WebCore::supportedKeySizes):
1725         (WebCore::signedPublicKeyAndChallengeString):
1726         * platform/gdk/WheelEventGdk.cpp:
1727         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
1728         * platform/gdk/WidgetGdk.cpp:
1729         (WebCore::Widget::convertToContainingWindow):
1730         (WebCore::Widget::convertFromContainingWindow):
1731
1732 2006-10-02  Adam Roben  <aroben@apple.com>
1733
1734         Reviewed by Maciej.
1735
1736         Let Windows determine which mouse button is pressed.
1737
1738         * platform/PlatformMouseEvent.h: Add message parameter to constructor.
1739         * platform/win/MouseEventWin.cpp:
1740         (WebCore::PlatformMouseEvent::PlatformMouseEvent): Use message
1741         parameter to determine which mouse button is pressed.
1742
1743 2006-10-02  Justin Garcia  <justin.garcia@apple.com>
1744
1745         Reviewed by anders
1746         
1747         Build fix
1748         
1749         * editing/SelectionController.cpp:
1750         (WebCore::SelectionController::empty):
1751         * editing/SelectionController.h:
1752
1753 2006-10-02  Justin Garcia  <justin.garcia@apple.com>
1754
1755         Reviewed by john
1756         
1757         <rdar://problem/4755287>
1758         Writely Editor: Crash occurs at WebCore::maxDeepOffset(WebCore::Node const*) when attempting to create a OL/UL following a HR element
1759
1760         * editing/markup.cpp:
1761         (WebCore::createMarkup): Migrate to isBlock (isBlockFlow is true for inline replaced 
1762         elements).  Don't skip blocks that aren't containers (like horizontal rules).
1763
1764 2006-10-03  Darin Adler  <darin@apple.com>
1765
1766         Reviewed by Justin Garcia.
1767
1768         - correct mistaken code that would restart blinking every
1769           time "invalidateSelection" is called even if the caret
1770           has not moved
1771
1772         * editing/SelectionController.h:
1773         * editing/SelectionController.cpp:
1774         (WebCore::SelectionController::setSelection): Update for name change.
1775         (WebCore::SelectionController::recomputeCaretRect): New function.
1776         Computes caret rect and does any necessary invalidation if the rect
1777         changes.
1778         (WebCore::SelectionController::invalidateCaretRect): Renamed from
1779         needsCaretRepaint. Invalidates the caret rect unconditionally. Also
1780         calls recomputeCaretRect as a side effect.
1781
1782         * page/Frame.cpp:
1783         (WebCore::Frame::invalidateSelection): Remove unneeded call to
1784         clearCaretRectIfNeeded.
1785         (WebCore::Frame::clearCaretRectIfNeeded): Updated for name change.
1786         (WebCore::Frame::selectionLayoutChanged): Restructured to use the new
1787         recomputeCaretRect function and not restart blinking if caret has
1788         not changed position.
1789         (WebCore::Frame::caretBlinkTimerFired): Removed some checks that
1790         are not needed since selectionLayoutChanged already checks these.
1791
1792         * page/FramePrivate.h: Removed unused m_blinkCaret.
1793
1794 2006-10-02  Beth Dakin  <bdakin@apple.com>
1795
1796         Reviewed by Adam.
1797
1798         Build fix. Add counters to vcproj.
1799
1800         * WebCore.vcproj/WebCore/WebCore.vcproj:
1801
1802 2006-10-02  Brady Eidson  <beidson@apple.com>
1803
1804         Reviewed by Adele
1805
1806         If the Icon DB schema changes underneath you, the latest ToT can crash and burn when writing
1807         icon data out because we don't correctly check SQL error conditions.
1808
1809         * loader/icon/IconDataCache.cpp:
1810         (WebCore::IconDataCache::writeToDatabase):
1811
1812 2006-10-02  Steve Falkenburg  <sfalken@apple.com>
1813
1814         Reviewed by Hyatt.
1815
1816         Added method to find out whether a layout has occurred.
1817
1818         * page/FrameView.cpp:
1819         (WebCore::FrameView::didFirstLayout):
1820         * page/FrameView.h:
1821
1822 2006-10-02  Beth Dakin  <bdakin@apple.com>
1823
1824         Reviewed by Darin.
1825
1826         Initial implementation of CSS2 counters. See http://
1827         bugs.webkit.org/show_bug.cgi?id=4980 for more details.
1828
1829         * WebCore.xcodeproj/project.pbxproj:
1830         * css/CSSComputedStyleDeclaration.cpp: 
1831         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return 
1832         the increment/reset list now that this is implemented.
1833         * css/CSSPrimitiveValue.cpp:
1834         (WebCore::CSSPrimitiveValue::cssText): 
1835         * css/Counter.h:
1836         (WebCore::Counter::Counter):
1837         (WebCore::Counter::~Counter):
1838         (WebCore::Counter::identifier):
1839         (WebCore::Counter::listStyle):
1840         (WebCore::Counter::separator):
1841         (WebCore::Counter::listStyleNumber):
1842         (WebCore::Counter::setIdentifier):
1843         (WebCore::Counter::setListStyle):
1844         (WebCore::Counter::setSeparator):
1845         * css/cssparser.cpp:
1846         (WebCore::CSSParser::addProperty): Take care of reset/increment
1847         (WebCore::CSSParser::parseValue):
1848         (WebCore::CSSParser::parseContent): content can now take counters
1849         (WebCore::CSSParser::parseCounterContent): Parse counter() and 
1850         counters()
1851         (WebCore::CSSParser::parseCounter): Parse counter-reset and 
1852         counter-increment
1853         * css/cssparser.h:
1854         * css/cssstyleselector.cpp:
1855         (WebCore::CSSStyleSelector::matchUARules):
1856         (WebCore::CSSStyleSelector::applyProperty):
1857         * platform/PlatformString.h:
1858         * platform/String.cpp:
1859         (WebCore::String::insert): Implemented a version of insert that 
1860         accepts a UChar* and a length.
1861         * platform/StringImpl.cpp:
1862         (WebCore::StringImpl::insert): Same as above.
1863         * platform/StringImpl.h:
1864         * rendering/CounterListItem.h: Added.
1865         * rendering/CounterNode.cpp: Added.
1866         (WebCore::CounterNode::CounterNode):
1867         (WebCore::CounterNode::insertAfter):
1868         (WebCore::CounterNode::removeChild):
1869         (WebCore::CounterNode::remove):
1870         (WebCore::CounterNode::setUsesSeparator):
1871         (WebCore::CounterNode::recountAndGetNext):
1872         (WebCore::CounterNode::recountTree):
1873         (WebCore::CounterNode::setSelfDirty):
1874         (WebCore::CounterNode::setParentDirty):
1875         * rendering/CounterNode.h: Added.
1876         (WebCore::CounterNode::~CounterNode):
1877         (WebCore::CounterNode::parent):
1878         (WebCore::CounterNode::previousSibling):
1879         (WebCore::CounterNode::nextSibling):
1880         (WebCore::CounterNode::firstChild):
1881         (WebCore::CounterNode::lastChild):
1882         (WebCore::CounterNode::value):
1883         (WebCore::CounterNode::setValue):
1884         (WebCore::CounterNode::count):
1885         (WebCore::CounterNode::setCount):
1886         (WebCore::CounterNode::setHasSeparator):
1887         (WebCore::CounterNode::isReset):
1888         (WebCore::CounterNode::hasSeparator):
1889         (WebCore::CounterNode::willNeedLayout):
1890         (WebCore::CounterNode::setWillNeedLayout):
1891         (WebCore::CounterNode::isRoot):
1892         (WebCore::CounterNode::setRenderer):
1893         (WebCore::CounterNode::renderer):
1894         * rendering/CounterResetNode.cpp: Added.
1895         (WebCore::CounterResetNode::CounterResetNode):
1896         (WebCore::CounterResetNode::insertAfter):
1897         (WebCore::CounterResetNode::removeChild):
1898         (WebCore::CounterResetNode::recountAndGetNext):
1899         (WebCore::CounterResetNode::setParentDirty):
1900         (WebCore::CounterResetNode::updateTotal):
1901         * rendering/CounterResetNode.h: Added.
1902         (WebCore::CounterResetNode::firstChild):
1903         (WebCore::CounterResetNode::lastChild):
1904         (WebCore::CounterResetNode::isReset):
1905         (WebCore::CounterResetNode::total):
1906         * rendering/RenderContainer.cpp:
1907         (WebCore::RenderContainer::updatePseudoChildForObject): Account for 
1908         counter content.
1909         * rendering/RenderCounter.cpp: Added.
1910         (WebCore::RenderCounter::RenderCounter):
1911         (WebCore::RenderCounter::layout):
1912         (WebCore::toRoman):
1913         (WebCore::toLetterString):
1914         (WebCore::toHebrew):
1915         (WebCore::RenderCounter::convertValueToType):
1916         (WebCore::RenderCounter::calcMinMaxWidth):
1917         * rendering/RenderCounter.h: Added.
1918         (WebCore::RenderCounter::renderName):
1919         (WebCore::RenderCounter::isCounter):
1920         * rendering/RenderObject.cpp:
1921         (WebCore::getRenderObjectsToCounterNodeMaps): Maps RenderObjects to 
1922         maps of CounterNodes
1923         (WebCore::RenderObject::RenderObject):
1924         (WebCore::RenderObject::destroy): Destroy the maps.
1925         (WebCore::RenderObject::findCounter): Finds/creates counters.
1926         * rendering/RenderObject.h:
1927         (WebCore::RenderObject::isCounter):
1928         * rendering/RenderStyle.cpp:
1929         (WebCore::StyleVisualData::StyleVisualData):
1930         (WebCore::RenderStyle::arenaDelete):
1931         (WebCore::RenderStyle::RenderStyle):
1932         (WebCore::RenderStyle::diff):
1933         (WebCore::RenderStyle::setContent):
1934         (WebCore::ContentData::clearContent):
1935         (WebCore::RenderStyle::counterDataEquivalent):
1936         (WebCore::hasCounter):
1937         (WebCore::RenderStyle::hasCounterReset):
1938         (WebCore::RenderStyle::hasCounterIncrement):
1939         (WebCore::readCounter):
1940         (WebCore::RenderStyle::counterReset):
1941         (WebCore::RenderStyle::counterIncrement):
1942         * rendering/RenderStyle.h:
1943         (WebCore::StyleVisualData::operator==):
1944         (WebCore::CounterData::CounterData):
1945         (WebCore::CounterData::identifier):
1946         (WebCore::CounterData::listStyle):
1947         (WebCore::CounterData::separator):
1948         (WebCore::ContentData::contentCounter):
1949         (WebCore::ContentData::):
1950         (WebCore::RenderStyle::counterIncrement):
1951         (WebCore::RenderStyle::counterReset):
1952         (WebCore::RenderStyle::setCounterIncrement):
1953         (WebCore::RenderStyle::setCounterReset):
1954         (WebCore::RenderStyle::setCounterResetList):
1955         (WebCore::RenderStyle::setCounterIncrementList):
1956         (WebCore::RenderStyle::counterResetValueList):
1957         (WebCore::RenderStyle::counterIncrementValueList):
1958
1959 2006-10-02  Adele Peterson  <adele@apple.com>
1960
1961         Reviewed by Adam.
1962
1963         - Fix for <rdar://problem/4463841> Switch to use new list box implementation for <select multiple>
1964
1965         There are a few outstanding issues, so I've left the old code in for now.  So you can use the old-style listboxes
1966         by using "-webkit-appearance:none".
1967
1968         * css/html4.css:
1969
1970 2006-10-02  David Harrison  <harrison@apple.com>
1971
1972         Reverted the code part of r16696, my patch for <rdar://problem/4641262>, because the problem was
1973         addressed at a deeper level by r16696, the patch for <http://bugs.webkit.org/show_bug.cgi?id=10842>.
1974         Left the layout test.
1975         
1976         * rendering/bidi.cpp:
1977         (WebCore::checkMidpoints):
1978
1979 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
1980
1981         Reviewed by eseidel.  Landed by eseidel.
1982
1983         Fix Qt/Linux build.
1984
1985         * platform/qt/TemporaryLinkStubs.cpp: s/DeprecatedStringList/Vector<String>/
1986         (WebCore::supportedKeySizes):
1987
1988 2006-10-02  Nikolas Zimmermann <zimmermann@kde.org>
1989
1990         Reviewed by eseidel & mjs.  Landed by eseidel.
1991
1992         Fix Qt/Linux build with older gcc 3.3.4.
1993         http://bugs.webkit.org/show_bug.cgi?id=11116
1994
1995         As discussed with Maciej, the GCC_ROOT_NS_HACK
1996         can be completely removed, as well as the friendship
1997         between cacheGlobalObject & the JS* objects.
1998
1999         * bindings/scripts/CodeGeneratorJS.pm: Remove friendship.
2000         * platform/image-decoders/png/pnggccrd.c: Fix comments for gcc3.
2001         (png_read_filter_row_mmx_avg):
2002         * platform/image-decoders/png/pngvcrd.c: Ditto.
2003         (png_mmx_support):
2004         (png_read_filter_row_mmx_avg):
2005
2006 2006-10-01  Maciej Stachowiak  <mjs@apple.com>
2007
2008         Rubber stamped by Alexey.
2009
2010         - reverted fix for http://bugs.webkit.org/show_bug.cgi?id=10893 since it led to layout test crashes
2011
2012         * css/CSSGrammar.y:
2013
2014 2006-10-01  Eric Seidel  <eric@webkit.org>
2015
2016         Reviewed by mjs.
2017
2018         Eliminate a few more hotspots in SVG drawing code.
2019         
2020         No test cases were harmed in the making of this patch.  (And SVG has no perf tests.)
2021
2022         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
2023         (WebCore::KRenderingPaintServerSolidQuartz::setup): use a single shared colorspace, avoid a few mallocs
2024         * platform/mac/ColorMac.mm:
2025         (+[WebCoreControlTintObserver WebCore]): store a single shared colorspace instance
2026
2027 2006-10-01  Geoffrey Garen  <ggaren@apple.com>
2028
2029         Reviewed by Maciej.
2030         
2031         More frame/iframe merging.
2032         
2033         - Removed needWidgetUpdate and related code. needWidgetUpdate is always
2034         false, so this was dead code.
2035         - Removed FIXME about setInViewSourceMode inside openURL(). openURL(), rather
2036         than attach(), is the correct place for setInViewSourceMode, because
2037         openURL() is the function that creates our frame.
2038         - Moved IFRAME insertedIntoDocument() code into FRAME, and removed FRAME
2039         code that did the same thing in other places.
2040         - Made FRAME's attach() method suffuciently generic so that IFRAME could
2041         call up to it, rather than skipping its superclass and calling up directly 
2042         to ELEMENT.
2043         - Changed a few IFRAME up-calls to ELEMENT into up-calls to FRAME.
2044         - Replaced ad hoc frame loading code in FRAME::attach() with call to
2045         openURL(), the designated frame loading function.
2046
2047         Layout tests pass. I added a layout test for viewsource mode, since I
2048         broke it in the course of writing this patch.
2049
2050 2006-10-01  Anders Carlsson  <acarlsson@apple.com>
2051
2052         Reviewed by Geoff.
2053
2054         * dom/Document.cpp:
2055         (WebCore::Document::recalcStyleSelector):
2056         * dom/Document.h:
2057         Get rid of availableStyleSheets() and remove DeprecatedStringList.h include.
2058         
2059         * dom/Node.h:
2060         Remove DeprecatedStringList class forward declaration.
2061         
2062         * editing/markup.cpp:
2063         Include DeprecatedStringList.h here since it's not included by Document.h anymore.
2064         
2065         * kcanvas/KCanvasTreeDebug.cpp:
2066         * kcanvas/KCanvasTreeDebug.h:
2067         Remove unused functions.
2068         
2069         * loader/loader.cpp:
2070         * page/Frame.cpp:
2071         * page/Frame.h:
2072         * page/FrameView.h:
2073         Fixup DeprecatedStringList.h includes.
2074
2075 2006-09-30  David Harrison  <harrison@apple.com>
2076
2077         Reviewed by John Sullivan.
2078
2079         <rdar://problem/4641262> REGRESSION: Japanese text corrupts on wrapping point
2080
2081         Problem was that the decision to trim was based only on whether the character
2082         is a soft hyphen, which caused pretty much any Japanese character to go.
2083         Changed to decide based on whether the character is ignorable whitespace.
2084         
2085         Test:
2086         * fast/text/international/wrap-CJK-001.html
2087
2088         * rendering/bidi.cpp:
2089         (WebCore::isTrimmableChar):
2090         New. Checks whether character is whitespace that can be ignored
2091         according to the text node's style.
2092         trimmed from the end of wrapped line.
2093         (WebCore::checkMidpoints):
2094         Call isTrimmable() rather than checking for char != SOFT_HYPHEN.
2095
2096 2006-10-01  Anders Carlsson  <acarlsson@apple.com>
2097
2098         Reviewed by Mitz Pettel.
2099
2100         Convert the SVG code to use Vector<String> instead of DeprecatedStringList.
2101
2102         * ksvg2/svg/SVGColor.cpp:
2103         (WebCore::SVGColor::setRGBColor):
2104         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
2105         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
2106         (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
2107         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
2108         (WebCore::SVGFEGaussianBlurElement::parseMappedAttribute):
2109         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
2110         (SVGFESpecularLightingElement::parseMappedAttribute):
2111         * ksvg2/svg/SVGFETurbulenceElement.cpp:
2112         (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
2113         * ksvg2/svg/SVGLengthList.cpp:
2114         * ksvg2/svg/SVGNumberList.cpp:
2115         (SVGNumberList::parse):
2116         * ksvg2/svg/SVGNumberList.h:
2117         * ksvg2/svg/SVGPreserveAspectRatio.cpp:
2118         (WebCore::SVGPreserveAspectRatio::parsePreserveAspectRatio):
2119         * ksvg2/svg/SVGStringList.cpp:
2120         (WebCore::SVGStringList::reset):
2121         * ksvg2/svg/SVGStringList.h:
2122         * ksvg2/svg/SVGTransformable.cpp:
2123         (SVGTransformable::parseTransformAttribute):
2124
2125 2006-10-01  Nikolas Zimmermann  <zimmermann@kde.org>
2126
2127         Reviewed by Eric, tweaked and landed by ap.
2128
2129         Fix Qt/Linux build.
2130
2131         * CMakeLists.txt:
2132         * platform/qt/PlatformScrollBar.h:
2133         * platform/qt/TemporaryLinkStubs.cpp:
2134         (WebCore::ScrollBar::ScrollBar):
2135         (WebCore::PlatformScrollBar::PlatformScrollBar):
2136         (FrameView::passMousePressEventToSubframe):
2137         (FrameView::passMouseMoveEventToSubframe):
2138         (FrameView::passMouseReleaseEventToSubframe):
2139         (FrameView::passWheelEventToSubframe):
2140         (FrameView::passMousePressEventToScrollbar):
2141         * ksvg2/svg/SVGDocument.h:
2142
2143 2006-10-01  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2144
2145         Reviewed by Darin.
2146
2147         Fix for http://bugs.webkit.org/show_bug.cgi?id=10190
2148         REGRESSION: Repro crash when navigating away from an image document that hasn't finished loading
2149
2150         No test case added (probably requires new DumpRenderTree functionality)
2151
2152         * rendering/RenderImage.cpp:
2153         (WebCore::RenderImage::imageChanged): Added early return if the document is
2154         being destroyed.
2155
2156 2006-10-01  Graham Dennis  <graham.dennis@gmail.com>
2157
2158         Reviewed by Hyatt.
2159
2160         Fix for http://bugs.webkit.org/show_bug.cgi?id=10842
2161         REGRESSION (r15418): contenteditable div truncates rightmost Japanese character
2162         
2163         Make sure we only break after a space (and not any other valid line-break) if
2164         the style is -webkit-line-break: after-white-space (e.g. for a contentEditable div).
2165         I also did a logic shuffle at Mitz's request to prevent doing an if on the same expression
2166         twice in quick succession.
2167
2168         * rendering/bidi.cpp:
2169         (WebCore::RenderBlock::findNextLineBreak): 
2170
2171 2006-10-01  Alexey Proskuryakov  <ap@nypop.com>
2172
2173         Reviewed by Maciej and Darin.
2174
2175         http://bugs.webkit.org/show_bug.cgi?id=4372
2176         JavaScript document.write page form does not submit in Safari
2177
2178         Test: fast/forms/document-write.html
2179
2180         * page/Frame.cpp:
2181         (WebCore::Frame::submitForm): Don't check for parsing().
2182
2183 2006-10-01  Alexey Proskuryakov  <ap@nypop.com>
2184
2185         Build fix.
2186
2187         * bridge/mac/FrameViewMac.mm: Add missing #imports.
2188
2189 2006-10-01  Dave Hyatt  <hyatt@apple.com>
2190
2191         Refactor the code that passes mouse presses to the Mac scrollbar and make it cross-platform.
2192        
2193         Reviewed by mitz
2194
2195         * bridge/mac/FrameMac.mm:
2196         (WebCore::FrameMac::passWidgetMouseDownEventToWidget):
2197         * bridge/mac/FrameViewMac.mm:
2198         (WebCore::FrameView::passMousePressEventToScrollbar):
2199         * page/FrameView.cpp:
2200         (WebCore::FrameView::handleMousePressEvent):
2201         (WebCore::FrameView::setMousePressed):
2202         * page/FrameView.h:
2203         * platform/win/TemporaryLinkStubs.cpp:
2204         (FrameView::passMousePressEventToScrollbar):
2205
2206 2006-09-30  Sam Weinig  <sam.weinig@gmail.com>
2207
2208         Reviewed by Darin.
2209
2210         Patch for http://bugs.webkit.org/show_bug.cgi?id=11102
2211         Add more SVG Objective-C DOM bindings
2212
2213         - Auto-generate Objective-C DOM bindings for DOMSVGAElement,
2214           DOMSVGAnimateColorElement, DOMSVGAnimateElement, DOMSVGAnimateTransformElement,
2215           DOMSVGAnimatedPathData, DOMSVGAnimatedPoints, DOMSVGAnimatedPreserveAspectRatio,
2216           DOMSVGAnimationElement, DOMSVGCircleElement, DOMSVGClipPathElement, DOMSVGColor,
2217           DOMSVGCursorElement, DOMSVGDefsElement, DOMSVGDescElement, DOMSVGDocument, 
2218           DOMSVGEllipseElement, DOMSVGPreserveAspectRatio, and DOMSVGURIReference.
2219
2220         * DerivedSources.make:
2221         * WebCore.xcodeproj/project.pbxproj:
2222         * bindings/objc/DOMInternal.h:
2223         * bindings/objc/DOMSVG.h:
2224         * bindings/scripts/CodeGeneratorObjC.pm:
2225         * ksvg2/svg/SVGAElement.idl:
2226         * ksvg2/svg/SVGAnimateColorElement.idl:
2227         * ksvg2/svg/SVGAnimateElement.idl:
2228         * ksvg2/svg/SVGAnimateTransformElement.idl:
2229         * ksvg2/svg/SVGAnimatedPathData.idl:
2230         * ksvg2/svg/SVGAnimatedPoints.idl:
2231         * ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl:
2232         * ksvg2/svg/SVGAnimationElement.idl:
2233         * ksvg2/svg/SVGCircleElement.idl:
2234         * ksvg2/svg/SVGClipPathElement.idl:
2235         * ksvg2/svg/SVGColor.idl:
2236         * ksvg2/svg/SVGCursorElement.idl:
2237         * ksvg2/svg/SVGDefsElement.idl:
2238         * ksvg2/svg/SVGDescElement.idl:
2239         * ksvg2/svg/SVGDocument.idl:
2240         * ksvg2/svg/SVGEllipseElement.idl:
2241         * ksvg2/svg/SVGPointList.idl:
2242         * ksvg2/svg/SVGPreserveAspectRatio.idl:
2243         * ksvg2/svg/SVGRect.idl:
2244         * ksvg2/svg/SVGSVGElement.idl:
2245
2246 2006-09-30  Maciej Stachowiak  <mjs@apple.com>
2247
2248         Reviewed by Adele.
2249
2250         - fix build
2251
2252         * platform/FloatRect.h:
2253         (WebCore::FloatRect::contains): Added; not exactly the same semantic as IntRect containment
2254         but more appropriate for path-type stuff.
2255         * platform/cg/PathCG.cpp:
2256         (WebCore::Path::contains): Don't use enclosingIntRect, just use FloatRect::contains.
2257
2258 2006-09-30  Alexey Proskuryakov  <ap@nypop.com>
2259
2260         Reviewed by Darin.
2261
2262         http://bugs.webkit.org/show_bug.cgi?id=11011
2263         External CSS is parsed as iso-8859-1 even though the main document is utf-8
2264
2265         Test: fast/encoding/css-charset-default.xhtml
2266
2267         * loader/CachedResourceClient.h:
2268         (WebCore::CachedResourceClient::setCSSStyleSheet):
2269         (WebCore::CachedResourceClient::setXSLStyleSheet):
2270         Divided setStyleSheet into setCSSStyleSheet and setXSLStyleSheet. The former
2271         takes an additional charset parameter, to be passed to CSSStyleSheet constructor.
2272
2273         * css/CSSImportRule.cpp:
2274         (WebCore::CSSImportRule::setCSSStyleSheet):
2275         (WebCore::CSSImportRule::insertedIntoParent): Default to parent stylesheet's charset.
2276         * css/CSSImportRule.h:
2277
2278         * css/CSSStyleSheet.cpp:
2279         (WebCore::CSSStyleSheet::CSSStyleSheet):
2280         * css/CSSStyleSheet.h:
2281         Added an m_charset member to be used when loading child stylesheets. Removed an unused m_implicit
2282         member. Changed some String parameters to const String&.
2283
2284         * css/StyleSheet.cpp:
2285         (WebCore::StyleSheet::StyleSheet):
2286         * css/StyleSheet.h:
2287         Changed some String parameters to const String&. Removed an unused (even unimplemented) constructor.
2288
2289         * css/StyleSheetList.cpp:
2290         (WebCore::StyleSheetList::length):
2291         (WebCore::StyleSheetList::item):
2292         * css/StyleSheetList.h:
2293         Special-casing implicit stylesheets seemed to be dead code, removed.
2294
2295         * dom/Document.cpp:
2296         (WebCore::Document::setCSSStyleSheet):
2297         (WebCore::Document::recalcStyleSelector):
2298         * dom/Document.h:
2299         Renamed setStyleSheet() to setCSSStyleSheet().
2300
2301         * dom/ProcessingInstruction.cpp:
2302         (WebCore::ProcessingInstruction::checkStyleSheet): Pass a correct charset to requestCSSStyleSheet().
2303         (WebCore::ProcessingInstruction::setCSSStyleSheet):
2304         (WebCore::ProcessingInstruction::setXSLStyleSheet):
2305         (WebCore::ProcessingInstruction::parseStyleSheet):
2306         * dom/ProcessingInstruction.h:
2307
2308         * html/HTMLLinkElement.cpp:
2309         (WebCore::HTMLLinkElement::process): Default to document encoding if a charset attribute 
2310         is not specified.
2311         (WebCore::HTMLLinkElement::setCSSStyleSheet):
2312         * html/HTMLLinkElement.h:
2313
2314         * html/HTMLStyleElement.cpp:
2315         (WebCore::HTMLStyleElement::childrenChanged):
2316         * ksvg2/svg/SVGStyleElement.cpp:
2317         (WebCore::SVGStyleElement::childrenChanged):
2318         Inherit URL and charset from the document.
2319
2320         * loader/Cache.cpp:
2321         (WebCore::Cache::requestCSSStyleSheet):
2322         * loader/Cache.h:
2323         Adjust for setStyleSheet() renaming.
2324
2325         * loader/CachedCSSStyleSheet.h: Removed an unused constructor.
2326         * loader/CachedCSSStyleSheet.cpp:
2327         (WebCore::CachedCSSStyleSheet::ref):
2328         (WebCore::CachedCSSStyleSheet::deref):
2329         (WebCore::CachedCSSStyleSheet::checkNotify):
2330         Pass the encoding to setCSSStyleSheet().
2331
2332         * loader/CachedXSLStyleSheet.cpp:
2333         (WebCore::CachedXSLStyleSheet::ref):
2334         (WebCore::CachedXSLStyleSheet::checkNotify):
2335         * loader/DocLoader.cpp:
2336         (WebCore::DocLoader::requestCSSStyleSheet):
2337         * loader/DocLoader.h:
2338         * page/Frame.cpp:
2339         (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
2340         (WebCore::UserStyleSheetLoader::setCSSStyleSheet):
2341         * xml/XSLImportRule.cpp:
2342         (WebCore::XSLImportRule::setXSLStyleSheet):
2343         (WebCore::XSLImportRule::loadSheet):
2344         * xml/XSLImportRule.h:
2345         Adjust for setStyleSheet() renaming.
2346
2347 2006-09-30  Rob Buis  <buis@kde.org>
2348
2349         Reviewed by eseidel.
2350
2351         http://bugs.webkit.org/show_bug.cgi?id=11096
2352         Hit testing for polylines fails
2353
2354         Fix Path::contains so it handles filled, non-closed paths too.
2355
2356         * platform/cg/PathCG.cpp:
2357         (WebCore::Path::contains):
2358
2359 2006-09-30  Dave Hyatt  <hyatt@apple.com>
2360
2361         Refactor subframe event handling to hide more of the Mac-specific logic from the cross-platform code.
2362         Stub out a capturing API that mimics the way Web browsers capture events and route them to specific
2363         subframes while the mouse is down.
2364       
2365         Reviewed by mitzpettel
2366
2367         * bridge/mac/FrameMac.h:
2368         * bridge/mac/FrameMac.mm:
2369         (WebCore::FrameMac::passWidgetMouseDownEventToWidget):
2370         (WebCore::FrameMac::passWheelEventToWidget):
2371         * bridge/mac/FrameViewMac.mm:
2372         (WebCore::FrameView::passMousePressEventToSubframe):
2373         (WebCore::FrameView::passMouseMoveEventToSubframe):
2374         (WebCore::FrameView::passMouseReleaseEventToSubframe):
2375         (WebCore::FrameView::passWheelEventToSubframe):
2376         * page/Frame.cpp:
2377         * page/Frame.h:
2378         * page/FrameView.cpp:
2379         (WebCore::subframeForTargetNode):
2380         (WebCore::FrameView::handleMousePressEvent):
2381         (WebCore::FrameView::handleMouseDoubleClickEvent):
2382         (WebCore::FrameView::handleMouseMoveEvent):
2383         (WebCore::FrameView::handleMouseReleaseEvent):
2384         (WebCore::FrameView::handleWheelEvent):
2385         * page/FrameView.h:
2386         * platform/ScrollBar.h:
2387         (WebCore::ScrollBar::handleMouseMoveEvent):
2388         (WebCore::ScrollBar::handleMouseOutEvent):
2389         * platform/Widget.h:
2390         (WebCore::Widget::handleMouseMoveEvent):
2391         (WebCore::Widget::handleMouseReleaseEvent):
2392         * platform/win/TemporaryLinkStubs.cpp:
2393         (FrameView::passMousePressEventToSubframe):
2394         (FrameView::passMouseMoveEventToSubframe):
2395         (FrameView::passMouseReleaseEventToSubframe):
2396         (FrameView::passWheelEventToSubframe):
2397         (Widget::capturingMouse):
2398         (Widget::setCapturingMouse):
2399         (Widget::capturingTarget):
2400         (Widget::capturingChild):
2401         (Widget::setCapturingChild):
2402         * rendering/RenderView.cpp:
2403         (WebCore::RenderView::paintBoxDecorations):
2404
2405 2006-09-29  MorganL  <morganl.webkit@yahoo.com>
2406
2407         Reviewed by Adele.
2408
2409         Fixes windows bustage:
2410         http://bugs.webkit.org/show_bug.cgi?id=11093
2411
2412         * platform/win/PlatformScrollBar.h:
2413         * platform/win/TemporaryLinkStubs.cpp:
2414         (PlatformScrollBar::PlatformScrollBar):
2415         (ScrollBar::ScrollBar):
2416
2417 2006-09-29  David Hyatt  <hyatt@apple.com>
2418
2419         Eliminate RenderLayer::gScrollBar in favor of caching the scrollbar hit
2420         in RenderObject::NodeInfo (and then propagating that Widget to
2421         MouseEventWithHitTestResults).
2422
2423         This allows RenderListBox and RenderBlock to do the same thing when the
2424         mouse is over the scrollbar.
2425
2426         Also land fix to support font-size: 0.
2427
2428         Reviewed by mjs (scrollbar), eric (font-size)
2429
2430         * dom/Document.cpp:
2431         (WebCore::Document::prepareMouseEvent):
2432         * page/Frame.cpp:
2433         (WebCore::Frame::passWidgetMouseDownEventToWidget):
2434         * page/FrameView.cpp:
2435         (WebCore::selectCursor):
2436         (WebCore::FrameView::handleMouseMoveEvent):
2437         (WebCore::FrameView::dispatchMouseEvent):
2438         * page/MouseEventWithHitTestResults.cpp:
2439         (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
2440         * page/MouseEventWithHitTestResults.h:
2441         (WebCore::MouseEventWithHitTestResults::scrollbar):
2442         * rendering/RenderBlock.cpp:
2443         (WebCore::RenderBlock::isPointInScrollbar):
2444         (WebCore::RenderBlock::nodeAtPoint):
2445         * rendering/RenderBlock.h:
2446         * rendering/RenderLayer.cpp:
2447         (WebCore::RenderLayer::hitTest):
2448         * rendering/RenderLayer.h:
2449         (WebCore::RenderLayer::getHiddenBehavior):
2450         * rendering/RenderListBox.cpp:
2451         (WebCore::RenderListBox::RenderListBox):
2452         (WebCore::RenderListBox::~RenderListBox):
2453         (WebCore::RenderListBox::isPointInScrollbar):
2454         * rendering/RenderListBox.h:
2455         * rendering/RenderObject.h:
2456         (WebCore::RenderObject::NodeInfo::NodeInfo):
2457         (WebCore::RenderObject::NodeInfo::scrollbar):
2458         (WebCore::RenderObject::NodeInfo::setScrollbar):
2459
2460 2006-09-29  MorganL  <morganl.webkit@yahoo.com>
2461
2462         Reviewed by Adele.
2463
2464         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11092
2465
2466         * platform/win/ScrollViewWin.cpp:
2467         (WebCore::ScrollView::convertToContainingWindow):
2468         (WebCore::ScrollView::convertFromContainingWindow):
2469         * platform/win/WidgetWin.cpp:
2470         (WebCore::Widget::convertToContainingWindow):
2471         (WebCore::Widget::convertFromContainingWindow):
2472
2473 2006-09-29  Adele Peterson  <adele@apple.com>
2474
2475         Updated with new argument for PlatformScrollBar.
2476
2477         * platform/win/TemporaryLinkStubs.cpp:
2478         (PlatformScrollBar::PlatformScrollBar):
2479
2480 2006-09-29  Adele Peterson  <adele@apple.com>
2481
2482         Reviewed by Hyatt.
2483
2484         Fixing build bustage with cast to int.
2485
2486         * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::lastSelectedListIndex):
2487
2488 2006-09-29  Adele Peterson  <adele@apple.com>
2489
2490         Fixing accidental include.
2491
2492         * rendering/RenderListBox.cpp:
2493
2494 2006-09-29  Adele Peterson  <adele@apple.com>
2495
2496         Adding RenderListBox files.
2497
2498         * WebCore.vcproj/WebCore/WebCore.vcproj:
2499
2500 2006-09-29  Adele Peterson  <adele@apple.com>
2501
2502         Reviewed by Adam.
2503
2504         Initial implementation of engine-based list box control.
2505
2506         * WebCore.xcodeproj/project.pbxproj: Added RenderListBox.h and RenderListBox.cpp
2507
2508         * bridge/mac/FrameMac.h: Added _mouseDownMayStartAutoscroll.
2509         * bridge/mac/FrameMac.mm: Updated autoscroll code to use renderers instead of layers, so any renderer that implements autoscroll will work.
2510         (WebCore::FrameMac::FrameMac):
2511         (WebCore::FrameMac::handleMousePressEvent):
2512         (WebCore::FrameMac::handleMouseMoveEvent):
2513         (WebCore::FrameMac::mouseDown):
2514
2515         * page/Frame.cpp:
2516         (WebCore::Frame::handleMouseMoveEvent):
2517         (WebCore::Frame::scrollOverflow): Don't scroll list box here- this would cause arrow keys to scroll instead of select.
2518         (WebCore::Frame::handleAutoscroll): Updated to use a renderer instead of a layer when setting up autoscroll.
2519         (WebCore::Frame::autoscrollTimerFired): ditto.
2520         (WebCore::Frame::stopAutoscrollTimer): ditto.
2521         (WebCore::Frame::passWidgetMouseDownEventToWidget): Updated to check for list box's scroll bar.
2522         * page/Frame.h:
2523         * page/FramePrivate.h: (WebCore::FramePrivate::FramePrivate): Updated to use renderer unstead of layer for autoscroll.
2524
2525         * page/FrameView.cpp: Keep track of current mouse position so this can be used for list box autoscroll.
2526         (WebCore::FrameViewPrivate::reset):
2527         (WebCore::FrameView::currentMousePosition):
2528         (WebCore::FrameView::handleMousePressEvent):
2529         (WebCore::FrameView::handleMouseDoubleClickEvent):
2530         (WebCore::selectCursor):
2531         (WebCore::FrameView::handleMouseMoveEvent):
2532         (WebCore::FrameView::handleMouseReleaseEvent):
2533         * page/FrameView.h:
2534
2535         * platform/ScrollBar.cpp: (WebCore::ScrollBar::ScrollBar): Added controlSize argument.  The list box will use a smaller scroll bar size.
2536         * platform/ScrollBar.h:
2537         (WebCore::):
2538         (WebCore::ScrollBar::controlSize):
2539         * platform/mac/PlatformScrollBar.h:
2540         * platform/mac/PlatformScrollBarMac.mm:
2541         (NSControlSizeForScrollBarControlSize):
2542         (-[WebCoreScrollBar initWithPlatformScrollBar:]):
2543         (WebCore::PlatformScrollBar::PlatformScrollBar):
2544
2545         * rendering/RenderBlock.h:
2546         * rendering/RenderLayer.cpp: (WebCore::RenderLayer::createScrollbar): Updated to pass regular control size to scrollbar constructor.
2547         * rendering/RenderLayer.h:
2548         * rendering/RenderObject.cpp:
2549         (WebCore::RenderObject::shouldAutoscroll):
2550         (WebCore::RenderObject::autoscroll):
2551         * rendering/RenderObject.h: (WebCore::RenderObject::isListBox):
2552
2553         * css/html4.css: Added properties for new list boxes.
2554
2555         * html/HTMLOptionElement.cpp:
2556         (WebCore::HTMLOptionElement::setSelected): Doesn't allow selection to be changed here if the option is disabled.
2557         (WebCore::HTMLOptionElement::disabled): Added. Checks the parent's disabled status.
2558         * html/HTMLOptionElement.h: Added disabled method.
2559
2560         * html/HTMLSelectElement.cpp: Added appearance switch for new list box implementation.
2561         (WebCore::HTMLSelectElement::recalcStyle):
2562         (WebCore::HTMLSelectElement::lastSelectedListIndex):
2563         (WebCore::HTMLSelectElement::deselectItems):
2564         (WebCore::HTMLSelectElement::setSelectedIndex):
2565         (WebCore::HTMLSelectElement::isKeyboardFocusable):
2566         (WebCore::HTMLSelectElement::isMouseFocusable):
2567         (WebCore::HTMLSelectElement::createRenderer):
2568         (WebCore::HTMLSelectElement::recalcListItems):
2569         (WebCore::HTMLSelectElement::setRecalcListItems):
2570         (WebCore::HTMLSelectElement::reset):
2571         (WebCore::HTMLSelectElement::notifyOptionSelected):
2572         (WebCore::HTMLSelectElement::defaultEventHandler): Added code to select options for list box when clicking and using arrow keys.
2573         (WebCore::HTMLSelectElement::nextSelectableListIndex):
2574         (WebCore::HTMLSelectElement::previousSelectableListIndex):
2575         * html/HTMLSelectElement.h:
2576
2577         * rendering/RenderTheme.cpp: Added support for ListBoxAppearance
2578         (WebCore::RenderTheme::paint):
2579         (WebCore::RenderTheme::paintBorderOnly):
2580         (WebCore::RenderTheme::paintDecorations):
2581         (WebCore::RenderTheme::activeListBoxSelectionBackgroundColor):
2582         (WebCore::RenderTheme::activeListBoxSelectionForegroundColor):
2583         (WebCore::RenderTheme::inactiveListBoxSelectionBackgroundColor):
2584         (WebCore::RenderTheme::inactiveListBoxSelectionForegroundColor):
2585         (WebCore::RenderTheme::isControlStyled):
2586         (WebCore::RenderTheme::supportsFocusRing):
2587         * rendering/RenderTheme.h:
2588         * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::isControlStyled):
2589
2590         * rendering/RenderListBox.cpp: Added.
2591         (WebCore::RenderListBox::RenderListBox):
2592         (WebCore::RenderListBox::~RenderListBox):
2593         (WebCore::RenderListBox::setStyle):
2594         (WebCore::RenderListBox::updateFromElement):
2595         (WebCore::RenderListBox::calcMinMaxWidth):
2596         (WebCore::RenderListBox::size):
2597         (WebCore::RenderListBox::numItems):
2598         (WebCore::RenderListBox::calcHeight):
2599         (WebCore::RenderListBox::baselinePosition):
2600         (WebCore::RenderListBox::itemBoundingBoxRect):
2601         (WebCore::RenderListBox::paintObject):
2602         (WebCore::RenderListBox::paintScrollbar):
2603         (WebCore::RenderListBox::paintItemForeground):
2604         (WebCore::RenderListBox::paintItemBackground):
2605         (WebCore::RenderListBox::scrollBarTarget):
2606         (WebCore::RenderListBox::isPointInScrollbar):
2607         (WebCore::RenderListBox::optionAtPoint):
2608         (WebCore::RenderListBox::autoscroll):
2609         (WebCore::RenderListBox::scrollToRevealElementAtListIndex):
2610         (WebCore::RenderListBox::scroll):
2611         (WebCore::RenderListBox::valueChanged):
2612         * rendering/RenderListBox.h: Added.
2613         (WebCore::RenderListBox::isListBox):
2614         (WebCore::RenderListBox::selectionChanged):
2615         (WebCore::RenderListBox::setSelectionChanged):
2616         (WebCore::RenderListBox::canHaveChildren):
2617         (WebCore::RenderListBox::renderName):
2618         (WebCore::RenderListBox::setOptionsChanged):
2619         (WebCore::RenderListBox::shouldAutoscroll):
2620         (WebCore::RenderListBox::listIndexIsVisible):
2621
2622 2006-09-29  Beth Dakin  <bdakin@apple.com>
2623
2624         Reviewed by Darin.
2625
2626         We had a bug where html4.css was ignoring Media Queries. In the end 
2627         the problem was that we were trying to send a char* to the 
2628         MediaQueryEvaluator constructor that expects a String, but the 
2629         char* got interpreted as a bool, the wrong constructor was called, 
2630         and the media type was never set.
2631
2632         No test case possible since this only affects html4.css
2633
2634         * css/MediaQueryEvaluator.cpp: New constructor that expects takes a 
2635         char*
2636         (WebCore::MediaQueryEvaluator):
2637         * css/MediaQueryEvaluator.h: Same.
2638
2639 2006-09-29  Geoffrey Garen  <ggaren@apple.com>
2640
2641         Reviewed by John, Maciej.
2642         
2643         Integrated some frame and iframe code. I'm trying to fix up frame ownership
2644         and loading. Reducing the number of different code paths involved
2645         seemed like a good first step.
2646         
2647         As a side effect, I fixed a bug where FRAME elements would report their
2648         src attributes as relative, rather than compelete, URLs. (IFRAME elements
2649         had the correct complete URL behavior.)
2650
2651         * html/HTMLFrameElement.cpp:
2652         (WebCore::HTMLFrameElement::isURLAllowed): Fixed comment typo
2653         (WebCore::HTMLFrameElement::openURL):
2654             (1) Removed checks that requestFrame does for us
2655             (2) Added isURLAllowed check, to have one clear bottleneck for it
2656             (3) Added viewsource check, to have one clear bottleneck for it
2657         (WebCore::HTMLFrameElement::close): Changed to use the common contentFrame()
2658         method, instead of finding our content frame in our own unique way.
2659         (WebCore::HTMLFrameElement::setLocation): Removed isURLAllowed check,
2660         since openURL does this for us now.
2661         (WebCore::HTMLFrameElement::src): Return complete URL instead of relative.
2662         This is what FF does, and it made no sense to have different behaviors
2663         for FRAME and IFRAME elements.
2664         * html/HTMLIFrameElement.cpp:
2665         (WebCore::HTMLIFrameElement::HTMLIFrameElement): Removed duplicate init
2666         code.
2667         * html/HTMLIFrameElement.h: Removed src() and openURL() methods, since
2668         HTMLFrameElement now does everything we need.
2669
2670 2006-09-30  Nikolas Zimmermann  <zimmermann@kde.org>
2671
2672         Reviewed by Hyatt.
2673
2674         Fix Qt/Linux build.
2675
2676         * CMakeLists.txt:
2677         * platform/qt/ScrollViewQt.cpp:
2678         (WebCore::ScrollView::convertToContainingWindow):
2679         (WebCore::ScrollView::convertFromContainingWindow):
2680         * platform/qt/TemporaryLinkStubs.cpp:
2681         (WebCore::signedPublicKeyAndChallengeString):
2682         * platform/qt/WidgetQt.cpp:
2683         (WebCore::Widget::convertToContainingWindow):
2684         (WebCore::Widget::convertFromContainingWindow):
2685
2686 2006-09-29  Sam Weinig  <sam.weinig@gmail.com>
2687
2688         Reviewed by Tim H.
2689
2690         Patch for http://bugs.webkit.org/show_bug.cgi?id=11082
2691         Simplify Internal methods for the auto-generated Objective-C DOM code
2692
2693         - Auto-generate the internal methods for more Objective-C classes.
2694
2695         * WebCore.xcodeproj/project.pbxproj:
2696         * bindings/objc/DOM.mm:
2697         * bindings/objc/DOMCSS.mm:
2698         (-[DOMStyleSheet WebCore::]):
2699         (+[DOMStyleSheet _styleSheetWith:WebCore::]):
2700         (-[DOMCSSRule WebCore::]):
2701         (-[DOMCSSRule _initWithCSSRule:WebCore::]):
2702         (+[DOMCSSRule _CSSRuleWith:WebCore::]):
2703         (-[DOMCSSValue WebCore::]):
2704         (-[DOMCSSValue _initWithCSSValue:WebCore::]):
2705         (+[DOMCSSValue _CSSValueWith:WebCore::]):
2706         * bindings/objc/DOMHTMLAppletElement.mm:
2707         (-[DOMHTMLAppletElement WebCore::]):
2708         (+[DOMHTMLAppletElement _HTMLOptionElementWith:WebCore::]):
2709         * bindings/objc/DOMHTMLEmbedElement.mm:
2710         (-[DOMHTMLEmbedElement WebCore::]):
2711         (+[DOMHTMLEmbedElement _HTMLEmbedElementWith:WebCore::]):
2712         * bindings/objc/DOMInternal.h:
2713         * bindings/objc/DOMInternal.mm:
2714         * bindings/scripts/CodeGeneratorObjC.pm:
2715         * css/CSSCharsetRule.idl:
2716         * css/CSSFontFaceRule.idl:
2717         * css/CSSImportRule.idl:
2718         * css/CSSMediaRule.idl:
2719         * css/CSSPageRule.idl:
2720         * css/CSSPrimitiveValue.idl:
2721         * css/CSSStyleRule.idl:
2722         * css/CSSStyleSheet.idl:
2723         * css/CSSUnknownRule.idl:
2724         * css/CSSValueList.idl:
2725         * dom/KeyboardEvent.idl:
2726         * dom/MouseEvent.idl:
2727         * dom/MutationEvent.idl:
2728         * dom/NodeIterator.idl:
2729         * dom/OverflowEvent.idl:
2730         * dom/UIEvent.idl:
2731         * dom/WheelEvent.idl:
2732
2733 2006-09-29  David Harrison  <harrison@apple.com>
2734
2735         Reviewed by John Sullivan.
2736
2737         <rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message
2738         <rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot
2739
2740         Test added
2741         * fast/text/attributed-substring-from-range-001.html
2742
2743         * bridge/mac/FrameMac.mm:
2744         (WebCore::FrameMac::attributedString):
2745         Handle non-zero offsets when start and/or end node is a container. Offset used to be ignored in this case.
2746         Also, add validation of the range.
2747
2748 2006-09-29  Rob Buis  <buis@kde.org>
2749
2750         Reviewed by Maciej.
2751
2752         http://bugs.webkit.org/show_bug.cgi?id=10893
2753         InsertRule can not handle @import statements
2754
2755         Allow @import as part of a css rule.
2756
2757         * css/CSSGrammar.y:
2758
2759 2006-09-28  David Hyatt  <hyatt@apple.com>
2760
2761         Switch over the Mac-specific uses of viewportToContents/contentsToViewport.
2762
2763         * bridge/mac/FrameMac.mm:
2764         (WebCore::FrameMac::eventMayStartDrag):
2765         (WebCore::FrameMac::dragHysteresisExceeded):
2766         (WebCore::FrameMac::mouseDown):
2767         (WebCore::FrameMac::shouldDragAutoNode):
2768         (WebCore::FrameMac::sendContextMenuEvent):
2769         * bridge/mac/WebCoreFrameBridge.mm:
2770         (-[WebCoreFrameBridge _visiblePositionForPoint:]):
2771
2772 2006-09-28  Dave Hyatt  <hyatt@apple.com>
2773
2774         This patch eliminates viewportToContents/contentsToViewport in favor of convertTo/FromContainingWindow.
2775         ScrollView now subclasses these methods to factor in its scrollOffset and to deal with the document
2776         view.
2777        
2778         Reviewed by mjs (the convertTo/From changes), (I added the elimination of viewportToContents to
2779         the patch after review, once I realized that these new functions essentially do the same thing.)
2780
2781         * dom/EventTargetNode.cpp:
2782         (WebCore::EventTargetNode::dispatchMouseEvent):
2783         (WebCore::EventTargetNode::dispatchWheelEvent):
2784         * page/Frame.cpp:
2785         (WebCore::Frame::selectClosestWordFromMouseEvent):
2786         (WebCore::Frame::handleMousePressEventTripleClick):
2787         (WebCore::Frame::handleMousePressEventSingleClick):
2788         (WebCore::Frame::handleMouseMoveEvent):
2789         (WebCore::Frame::handleMouseReleaseEvent):
2790         * page/FrameView.cpp:
2791         (WebCore::FrameView::handleMousePressEvent):
2792         (WebCore::selectCursor):
2793         (WebCore::FrameView::dispatchDragEvent):
2794         (WebCore::FrameView::prepareMouseEvent):
2795         (WebCore::FrameView::handleWheelEvent):
2796         * platform/ScrollView.h:
2797         * platform/Widget.cpp:
2798         (WebCore::Widget::convertToContainingWindow):
2799         * platform/Widget.h:
2800         * platform/mac/ScrollViewMac.mm:
2801         (WebCore::ScrollView::convertToContainingWindow):
2802         (WebCore::ScrollView::convertFromContainingWindow):
2803         * platform/mac/WidgetMac.mm:
2804         (WebCore::Widget::convertToContainingWindow):
2805         (WebCore::Widget::convertFromContainingWindow):
2806         * platform/win/ScrollViewWin.cpp:
2807         (WebCore::ScrollView::convertToContainingWindow):
2808         (WebCore::ScrollView::convertFromContainingWindow):
2809         * rendering/RenderLayer.cpp:
2810         (WebCore::RenderLayer::resize):
2811
2812 2006-09-28  Alice Liu  <alice.liu@apple.com>
2813
2814         Build fix by adding missing files for CommandByName
2815
2816         * WebCore.xcodeproj/project.pbxproj:
2817
2818 2006-09-28  Alice Liu  <alice.liu@apple.com>
2819
2820         Adding CommandByName files to the vcproj
2821
2822         * WebCore.vcproj/WebCore/WebCore.vcproj:
2823
2824 2006-09-28  Alice Liu  <alice.liu@apple.com>
2825
2826         Reviewed by Adam Roben.
2827
2828         This patch adds a command class that is attached to the frame so the frame can more easily execute commands such as copy, paste, select, etc. 
2829         This patch also exposes some UBRK-related utilities so that they can be used elsewhere.
2830         This patch also changes windows PlatformMouseEvent so that we can detect multiple-click mouse events
2831
2832         * editing/CommandByName.cpp: Added.
2833         Added a command class that hangs off the frame so the frame can call commands more easily.  
2834         (WebCore::Frame::commandImp):
2835         (WebCore::Frame::execCopy):
2836         (WebCore::Frame::execCut):
2837         (WebCore::Frame::execDelete):
2838         (WebCore::Frame::execForwardDelete):
2839         (WebCore::Frame::execPaste):
2840         (WebCore::Frame::execMoveLeft):
2841         (WebCore::Frame::execMoveRight):
2842         (WebCore::Frame::execMoveUp):
2843         (WebCore::Frame::execMoveDown):
2844         (WebCore::Frame::execSelectAll):
2845         (WebCore::Frame::execSelectLeft):
2846         (WebCore::Frame::execSelectRight):
2847         (WebCore::Frame::execSelectUp):
2848         (WebCore::Frame::execSelectDown):
2849         (WebCore::Frame::enabled):
2850         (WebCore::Frame::enabledAnySelection):
2851         (WebCore::Frame::enabledAnyEditableSelection):
2852         (WebCore::Frame::enabledPaste):
2853         (WebCore::Frame::enabledAnyRangeSelection):
2854         (WebCore::Frame::enabledAnyEditableRangeSelection):
2855         (WebCore::Frame::createCommandDictionary):
2856         (WebCore::Frame::Command::):
2857         (WebCore:::m_frame):
2858         (WebCore::CommandByName::execCommand):
2859         * editing/CommandByName.h: Added.
2860         * page/Frame.cpp:
2861         Added implementation of accessor for CommandByName member
2862         (WebCore::Frame::command):
2863         * page/Frame.h:
2864         Added accessor for CommandByName member
2865         * page/FramePrivate.h:
2866         Added a CommandByName member
2867         (WebCore::FramePrivate::FramePrivate):
2868         * platform/PlatformMouseEvent.h:
2869         Changed constructor prototype
2870         * platform/StringImpl.cpp:
2871         Exposing getWordBreakIterator to be used elsewhere
2872         (WebCore::getWordBreakIterator):
2873         * platform/StringImpl.h:
2874         Exposing getWordBreakIterator to be used elsewhere
2875         * platform/win/MouseEventWin.cpp:
2876         Changed the PlatformMouseEvent on windows so that we "roll our own" multi-click mouse events instead of relying on the system to tell us, enabling us to detect triple-clicks
2877         (WebCore::PlatformMouseEvent::PlatformMouseEvent):
2878
2879 2006-09-28  Adam Roben  <aroben@apple.com>
2880
2881         Reviewed by Adele.
2882
2883         Remove no-longer-used PopUpButton.
2884
2885         * WebCore.vcproj/WebCore/WebCore.vcproj: Remove PopUpButton.h
2886         * WebCore.xcodeproj/project.pbxproj: Remove PopUpButton.h,
2887         PopUpButtonMac.mm
2888         * platform/PopUpButton.h: Removed.
2889         * platform/mac/PopUpButtonMac.mm: Removed.
2890         * platform/win/TemporaryLinkStubs.cpp: Remove PopUpButton:: methods
2891         * rendering/DeprecatedRenderSelect.cpp: Change #include of
2892         PopUpButton.h to ListBox.h
2893
2894 2006-09-28  Darin Adler  <darin@apple.com>
2895
2896         Reviewed by Alice.
2897
2898         - change that should fix <rdar://problem/4733044> REGRESSION: XML iBench shows
2899           10% perf. regression (copying strings while decoding)
2900
2901         Use Vector<UChar> instead of String when building up the decoded string in
2902         the ICU and Mac decoders. Using String leads to O(n^2) behavior because
2903         String grows the buffer every single time that append is called. Using
2904         Vector::append instead of String::append also avoids constructing a string
2905         each time just to append and a questionable copy that is done inside the
2906         String::append function which also contributed to the slowness.
2907
2908         * platform/PlatformString.h:
2909         * platform/String.cpp: (WebCore::String::adopt): Added. Makes a String from a
2910         Vector<UChar>, adopting the buffer from the vector to avoid copying and memory
2911         allocation.
2912         * platform/StringImpl.h:
2913         * platform/StringImpl.cpp: (WebCore::StringImpl::adopt): Ditto.
2914
2915         * platform/StreamingTextDecoder.h:
2916         * platform/StreamingTextDecoder.cpp: (WebCore::TextCodec::appendOmittingBOM):
2917         Change to use a Vector<UChar> instead of a String, since vectors have better
2918         resizing performance (they store a separate capacity).
2919
2920         * platform/StreamingTextDecoderICU.cpp: (WebCore::TextCodecICU::decode):
2921         * platform/mac/StreamingTextDecoderMac.cpp: (WebCore::TextCodecMac::decode):
2922         Change to use Vector<UChar> instead of String and then create a string at
2923         the end of the process using the new adopt function.
2924
2925 2006-09-28  Sam Weinig  <sam.weinig@gmail.com>
2926
2927         Reviewed by Tim H.
2928
2929         Patch for http://bugs.webkit.org/show_bug.cgi?id=11057
2930         Auto-generate more SVG Objective-C bindings
2931
2932         - Auto-generates DOMSVGAnimatedAngle, DOMSVGAnimatedBoolean, 
2933           DOMSVGAnimatedEnumeration, DOMSVGAnimatedInteger, DOMSVGAnimatedLength,
2934           DOMSVGAnimatedLengthList, DOMSVGAnimatedNumber, DOMSVGAnimatedString,
2935           DOMSVGAnimatedTransformList, DOMSVGExternalResourcesRequired,
2936           DOMSVGLangSpace, DOMSVGLocatable, DOMSVGMetadataElement, DOMSVGRectElement,
2937           DOMSVGStringList, DOMSVGStylable, DOMSVGStyleElement, DOMSVGTests, 
2938           and DOMSVGTransformable.
2939
2940         - Adds ability to CodeGeneratorObjC.pm to handle interfaces with mulitple
2941           parent interfaces and the SVG animated classes.
2942
2943         - Corrects CodeGenerator.pm to only skip the first parent for the main 
2944           interface.
2945
2946         * DerivedSources.make:
2947         * WebCore.xcodeproj/project.pbxproj:
2948         * bindings/objc/DOMInternal.h:
2949         * bindings/objc/DOMSVG.h:
2950         * bindings/scripts/CodeGenerator.pm:
2951         * bindings/scripts/CodeGeneratorObjC.pm:
2952         * ksvg2/svg/SVGAnimatedAngle.idl:
2953         * ksvg2/svg/SVGAnimatedBoolean.idl:
2954         * ksvg2/svg/SVGAnimatedEnumeration.idl:
2955         * ksvg2/svg/SVGAnimatedInteger.idl:
2956         * ksvg2/svg/SVGAnimatedLength.idl:
2957         * ksvg2/svg/SVGAnimatedLengthList.idl:
2958         * ksvg2/svg/SVGAnimatedNumber.idl:
2959         * ksvg2/svg/SVGAnimatedPathData.idl:
2960         * ksvg2/svg/SVGAnimatedString.idl:
2961         * ksvg2/svg/SVGAnimatedTransformList.idl:
2962         * ksvg2/svg/SVGExternalResourcesRequired.idl:
2963         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl:
2964         * ksvg2/svg/SVGFitToViewBox.idl:
2965         * ksvg2/svg/SVGLangSpace.idl:
2966         * ksvg2/svg/SVGLocatable.idl:
2967         * ksvg2/svg/SVGMetadataElement.idl:
2968         * ksvg2/svg/SVGStringList.idl:
2969         * ksvg2/svg/SVGStylable.idl:
2970         * ksvg2/svg/SVGStyleElement.idl:
2971         * ksvg2/svg/SVGTests.idl:
2972         * ksvg2/svg/SVGTransformable.idl:
2973         * ksvg2/svg/SVGURIReference.idl:
2974         * ksvg2/svg/SVGUnitTypes.idl:
2975         * ksvg2/svg/SVGZoomAndPan.idl:
2976
2977 2006-09-28  Brady Eidson  <beidson@apple.com>
2978
2979         Reviewed by Mitz Pettel!!!
2980
2981         Change the error code check for common functions from SQLResultOk to SQLResultDone 
2982
2983         * loader/icon/IconDatabase.cpp:
2984         (WebCore::IconDatabase::forgetPageURLQuery):
2985         (WebCore::IconDatabase::setIconIDForPageURLQuery):
2986         (WebCore::IconDatabase::addIconForIconURLQuery):
2987
2988 2006-09-28  Dave Hyatt  <hyatt@apple.com>
2989
2990         Just eliminate MapWindowPoints usage and use the HWND as
2991         the viewport.
2992
2993         * platform/win/MouseEventWin.cpp:
2994         (WebCore::positionForEvent):
2995         * platform/win/ScrollViewWin.cpp:
2996         (WebCore::ScrollView::viewportToContents):
2997         (WebCore::ScrollView::contentsToViewport):
2998
2999 2006-09-27  David Hyatt  <hyatt@apple.com>
3000
3001         Fix for bug 9222, cursor is wrong when mousing over overflow scrollbars in textareas.  Make sure
3002         selectCursor checks for whether or not a scrollbar was hit.  Also stub out a mouseMoved method for
3003         scrollbars to provide hover feedback if needed.
3004
3005         Reviewed by Eric
3006
3007         * page/FrameView.cpp:
3008         (WebCore::selectCursor):
3009         (WebCore::FrameView::handleMouseMoveEvent):
3010         * platform/ScrollBar.h:
3011         (WebCore::ScrollBar::mouseMoved):
3012
3013 2006-09-27  MorganL  <morganl.webkit@yahoo.com>
3014
3015         Reviewed by Maciej and Adam, landed by Adam
3016
3017         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11072
3018         Windows build is busted
3019
3020         * platform/win/TemporaryLinkStubs.cpp:
3021         (ScrollView::paint):
3022         (ScrollView::themeChanged):
3023
3024 2006-09-27  Eric Seidel  <eric@eseidel.com>
3025
3026         Reviewed by mitz.
3027
3028         paths with no fill specified default to black but do not recieve paint-related mouse events
3029         http://bugs.webkit.org/show_bug.cgi?id=11069
3030         The default fill was being applied at the wrong place in the rendering chain, causing this problem.
3031
3032         Test: svg/custom/hover-default-fill.svg
3033
3034         * kcanvas/RenderPath.cpp:
3035         (WebCore::RenderPath::nodeAtPoint): use isFilled and isStroked
3036         * ksvg2/css/SVGRenderStyle.h: use defaultFill() and defaultStroke()
3037         * ksvg2/misc/KCanvasRenderingStyle.cpp:
3038         (WebCore::KSVGPainterFactory::isFilled): remove null check
3039         (WebCore::KSVGPainterFactory::fillPaintServer): remove null check
3040         (WebCore::KSVGPainterFactory::isStroked): remove null check
3041         (WebCore::KSVGPainterFactory::strokePaintServer): remove null check
3042         * ksvg2/svg/SVGPaint.cpp:
3043         (WebCore::SVGPaint::defaultFill): added.
3044         (WebCore::SVGPaint::defaultStroke): added.
3045         * ksvg2/svg/SVGPaint.h:
3046
3047 2006-09-27  Rob Buis  <buis@kde.org>
3048
3049         Reviewed by eseidel.
3050
3051         http://bugs.webkit.org/show_bug.cgi?id=11015
3052         SVG handles em units incorrectly
3053
3054         Calculate viewport coordinates at layout time, since
3055         at this point the font size is known and lengths depending
3056         on font sizes can be calculated correctly.
3057
3058         * kcanvas/RenderSVGContainer.cpp:
3059         (WebCore::RenderSVGContainer::layout):
3060         (WebCore::RenderSVGContainer::viewport):
3061         (WebCore::RenderSVGContainer::calcViewport):
3062         * kcanvas/RenderSVGContainer.h:
3063         * ksvg2/svg/SVGLength.cpp:
3064         (WebCore::SVGLength::updateValue):
3065         * ksvg2/svg/SVGMarkerElement.cpp:
3066         (WebCore::SVGMarkerElement::createRenderer):
3067         * ksvg2/svg/SVGSVGElement.cpp:
3068         (WebCore::SVGSVGElement::createRenderer):
3069         (WebCore::SVGSVGElement::attributeChanged):
3070         * ksvg2/svg/SVGSVGElement.h:
3071
3072 2006-09-27  Eric Seidel  <eric@eseidel.com>
3073
3074         Reviewed by darin.
3075
3076         Change our invalid-fill error behavior to match Opera (and soon Firefox)
3077         http://bugs.webkit.org/show_bug.cgi?id=11017
3078
3079         * ksvg2/misc/KCanvasRenderingStyle.cpp:
3080         (WebCore::KSVGPainterFactory::isFilled):
3081         (WebCore::KSVGPainterFactory::fillPaintServer):
3082         (WebCore::KSVGPainterFactory::isStroked):
3083         (WebCore::KSVGPainterFactory::strokePaintServer):
3084
3085 2006-09-27  Brady Eidson  <beidson@apple.com>
3086
3087         Build fix
3088
3089         * loader/icon/IconDatabase.cpp:
3090         (WebCore::readySQLStatement):
3091
3092 2006-09-27  Brady Eidson  <beidson@apple.com>
3093
3094         Reviewed by Adam
3095
3096         In very specific circumstances, prepared SQLStatements can become invalid without
3097         any warning.  This checks for that state and re-prepares the statement and also
3098         adds more aggressive error-checking everywhere these statements are used.
3099
3100         * loader/icon/IconDatabase.cpp:
3101         (WebCore::readySQLStatement): Check if the statement is expired - reprepare it
3102         (WebCore::IconDatabase::imageDataForIconURLQuery): More thoroughly catch error cases
3103         (WebCore::IconDatabase::timeStampForIconURLQuery): Ditto
3104         (WebCore::IconDatabase::iconURLForPageURLQuery): Ditto
3105         (WebCore::IconDatabase::forgetPageURLQuery): Ditto
3106         (WebCore::IconDatabase::setIconIDForPageURLQuery): Ditto
3107         (WebCore::IconDatabase::getIconIDForIconURLQuery): Ditto
3108         (WebCore::IconDatabase::addIconForIconURLQuery): Ditto
3109         (WebCore::IconDatabase::hasIconForIconURLQuery): Ditto
3110         * loader/icon/SQLStatement.cpp:
3111         (WebCore::SQLStatement::isExpired): Added (accessor to sqlite3_expired())
3112         * loader/icon/SQLStatement.h:
3113
3114 2006-09-26  Darin Adler  <darin@apple.com>
3115
3116         Reviewed by Steve.
3117
3118         - clean up options for font code path
3119
3120         * platform/Font.h:
3121         * platform/Font.cpp:
3122         (WebCore::Font::setCodePath): Added. Replaces boolean version.
3123         (WebCore::Font::canUseGlyphCache): Update to handle "never use complex" case too.
3124
3125         * platform/mac/WebCoreTextRenderer.mm:
3126         (WebCoreSetAlwaysUseATSU): Change to call setCodePath.
3127
3128 2006-09-26  John Sullivan  <sullivan@apple.com>
3129
3130         Reviewed by Darin
3131
3132         * bridge/mac/WebCoreFrameBridge.h:
3133         * bridge/mac/WebCoreFrameBridge.mm:
3134         (-[WebCoreFrameBridge markAllMatchesForText:caseSensitive:limit:]):
3135         Added limit parameter, passed down to Frame
3136         
3137         * page/Frame.h:
3138         * page/Frame.cpp:
3139         (WebCore::Frame::markAllMatchesForText):
3140         Added limit parameter. Stop the search if it hits limit.
3141
3142 2006-09-26  Sean Gies  <seangies@apple.com>
3143
3144         Reviewed by Brady Eidson.
3145
3146         * platform/cg/ImageCG.cpp: Removed #if's -- Darin said we don't need these.
3147
3148 2006-09-26  Justin Garcia  <justin.garcia@apple.com>
3149
3150         Reviewed by john
3151         
3152         <rdar://problem/4747695> 
3153         Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
3154         
3155         * editing/DeleteSelectionCommand.cpp:
3156         (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
3157         to select special elements that are fully selected after expansion
3158         moves to positions that are visually distinct from the originals.
3159         * editing/InsertListCommand.cpp:
3160         (WebCore::InsertListCommand::doApply): If the content of the list 
3161         item will be moved into another list, put it in a list item.
3162
3163 2006-09-26  Geoffrey Garen <ggaren@apple.com>
3164
3165         Reviewed by Darin.
3166         
3167         Temporary work-around for frame lifetime issue.
3168
3169         * page/Frame.cpp:
3170         (WebCore::Frame::clear):
3171         (WebCore::Frame::disconnectOwnerElement):
3172
3173 2006-09-26  Sam Weinig  <sam.weinig@gmail.com>
3174
3175         Reviewed by Tim H.
3176
3177         Patch for http://bugs.webkit.org/show_bug.cgi?id=11038
3178         Auto-generate DOMSVGElement for the Objective-C bindings
3179
3180         - Auto-generates DOMSVGElement.
3181
3182         - Make SVGExceptions work like all the other ExceptionCode
3183           extensions (Range, XPath, etc.) by adding SVGExceptionOffset
3184           and SVGExceptionMax.
3185
3186         * DerivedSources.make:
3187         * WebCore.xcodeproj/project.pbxproj:
3188         * bindings/js/kjs_binding.cpp:
3189         (KJS::):
3190         (KJS::setDOMException):
3191         * bindings/objc/DOMInternal.h:
3192         * bindings/objc/DOMInternal.mm:
3193         (raiseDOMException):
3194         * bindings/objc/DOMSVG.h:
3195         * bindings/objc/DOMSVGExecption.h: Added.
3196         * ksvg2/ksvg.h:
3197         * ksvg2/svg/SVGElement.cpp:
3198         (WebCore::SVGElement::setId):
3199         (WebCore::SVGElement::setXmlbase):
3200         * ksvg2/svg/SVGElement.h:
3201         * ksvg2/svg/SVGElement.idl:
3202         * ksvg2/svg/SVGException.h: Added.
3203         (WebCore::):
3204
3205 2006-09-26  Eric Seidel  <eric@eseidel.com>
3206
3207         Reviewed by Tim H.
3208         
3209         viewbox parser does not allow <tab> as a delimiter
3210         http://bugs.webkit.org/show_bug.cgi?id=11014
3211
3212         Test: svg/hixie/viewbox/003.xml
3213
3214         * ksvg2/svg/svgpathparser.cpp:
3215         (WebCore::isWhitespace): new function
3216         (WebCore::skipOptionalSpaces):
3217         (WebCore::skipOptionalSpacesOrComma):
3218
3219 2006-09-26  Eric Seidel  <eric@eseidel.com>
3220
3221         Reviewed by Tim H.
3222
3223         SVGDocument::createElement does not create elements in the SVG namespace
3224         http://bugs.webkit.org/show_bug.cgi?id=10932
3225         
3226         Test: svg/custom/createelement.svg
3227
3228         * ksvg2/svg/SVGDocument.cpp:
3229         (WebCore::SVGDocument::createElement):
3230         * ksvg2/svg/SVGDocument.h:
3231
3232 2006-09-26  Eric Seidel  <eric@eseidel.com>
3233
3234         Reviewed by Tim H.
3235         
3236         RenderPath::nodeAtPoint does not respect stroke width
3237         http://bugs.webkit.org/show_bug.cgi?id=10829
3238
3239         Test: svg/custom/stroke-width-click.svg
3240
3241         * kcanvas/device/quartz/KCanvasItemQuartz.mm:
3242         (WebCore::RenderPath::strokeContains):
3243         * kcanvas/device/quartz/QuartzSupport.h:
3244         * kcanvas/device/quartz/QuartzSupport.mm:
3245
3246 2006-09-26  Eric Seidel  <eric@eseidel.com>
3247
3248         Reviewed by mitz.
3249
3250         Bring animation back to life
3251         http://bugs.webkit.org/show_bug.cgi?id=11021
3252         
3253         Register/unregister SVGSVGElements as time containers on insertion/removal.
3254         Replace uses of DeprecatedString with String in SVGAnimationElement
3255         Various whitespace clean-up.
3256
3257         * ksvg2/misc/KSVGTimeScheduler.cpp:
3258         (WebCore::SVGTimer::notifyAll):
3259         * ksvg2/misc/SVGDocumentExtensions.cpp:
3260         (WebCore::SVGDocumentExtensions::startAnimations):
3261         (WebCore::SVGDocumentExtensions::pauseAnimations):
3262         (WebCore::SVGDocumentExtensions::unpauseAnimations):
3263         * ksvg2/svg/SVGAnimateTransformElement.cpp:
3264         (WebCore::SVGAnimateTransformElement::handleTimerEvent):
3265         (WebCore::SVGAnimateTransformElement::parseTransformValue):
3266         * ksvg2/svg/SVGAnimateTransformElement.h:
3267         * ksvg2/svg/SVGAnimationElement.cpp:
3268         (WebCore::SVGAnimationElement::SVGAnimationElement):
3269         (WebCore::SVGAnimationElement::parseMappedAttribute):
3270         (WebCore::SVGAnimationElement::parseClockValue):
3271         (WebCore::SVGAnimationElement::targetAttribute):
3272         (WebCore::SVGAnimationElement::setTargetAttribute):
3273         (WebCore::SVGAnimationElement::attributeName):
3274         * ksvg2/svg/SVGAnimationElement.h:
3275         (WebCore::SVGAnimationElement::rendererIsNeeded):
3276         * ksvg2/svg/SVGSVGElement.cpp:
3277         (WebCore::SVGSVGElement::getScreenCTM):
3278         (WebCore::SVGSVGElement::createRenderer):
3279         (WebCore::SVGSVGElement::insertedIntoDocument): added, calls addTimeContainer(this)
3280         (WebCore::SVGSVGElement::removedFromDocument): added, calls removeTimeContainer(this)
3281         * ksvg2/svg/SVGSVGElement.h:
3282         * ksvg2/svg/SVGSetElement.cpp:
3283         (WebCore::SVGSetElement::handleTimerEvent):
3284         * ksvg2/svg/SVGURIReference.cpp:
3285         (WebCore::SVGURIReference::getTarget):
3286         * ksvg2/svg/SVGURIReference.h:
3287
3288 2006-09-26  Graham Dennis  <graham.dennis@gmail.com>
3289
3290         Reviewed by mitzpettel.
3291
3292         - fix http://bugs.webkit.org/show_bug.cgi?id=11020
3293         No-SVG build broken since r16549
3294         
3295         Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT
3296
3297         * css/cssparser.cpp:
3298         (WebCore::CSSParser::parseValue):
3299         * css/cssstyleselector.cpp:
3300         (WebCore::CSSStyleSelector::applyProperty):
3301         * page/FrameView.cpp:
3302         (WebCore::selectCursor):
3303         * platform/qt/GraphicsContextQt.cpp:
3304
3305 2006-09-26  Anders Carlsson  <acarlsson@apple.com>
3306
3307         Reviewed by Maciej.
3308
3309         http://bugs.webkit.org/show_bug.cgi?id=10820
3310         Add StringImpl::toDouble() and remove uses of .deprecatedString().toDouble()
3311         
3312         (Originally written by Eric Seidel).
3313         
3314         * bindings/js/kjs_window.cpp:
3315         (KJS::floatFeature):
3316         * ksvg2/svg/SVGAngle.cpp:
3317         (SVGAngle::setValueAsString):
3318         * ksvg2/svg/SVGAnimationElement.cpp:
3319         (SVGAnimationElement::parseMappedAttribute):
3320         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
3321         (SVGComponentTransferFunctionElement::parseMappedAttribute):
3322         * ksvg2/svg/SVGFECompositeElement.cpp:
3323         (WebCore::SVGFECompositeElement::parseMappedAttribute):
3324         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
3325         (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
3326         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
3327         (SVGFEDisplacementMapElement::parseMappedAttribute):
3328         * ksvg2/svg/SVGFELightElement.cpp:
3329         (SVGFELightElement::parseMappedAttribute):
3330         * ksvg2/svg/SVGFEOffsetElement.cpp:
3331         (WebCore::SVGFEOffsetElement::parseMappedAttribute):
3332         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
3333         (SVGFESpecularLightingElement::parseMappedAttribute):
3334         * ksvg2/svg/SVGFETurbulenceElement.cpp:
3335         (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
3336         * ksvg2/svg/SVGStopElement.cpp:
3337         (SVGStopElement::parseMappedAttribute):
3338         * platform/AtomicString.h:
3339         (WebCore::AtomicString::toDouble):
3340         * platform/PlatformString.h:
3341         * platform/String.cpp:
3342         (WebCore::String::toDouble):
3343         * platform/StringImpl.cpp:
3344         (WebCore::StringImpl::toDouble):
3345         * platform/StringImpl.h:
3346         * rendering/DeprecatedSlider.cpp:
3347         (WebCore::DeprecatedSlider::updateFromElement):
3348         * xml/XPathGrammar.y:
3349
3350 2006-09-25  David Harrison  <harrison@apple.com>
3351
3352         Reviewed by Tim Omernick and Tim Hatcher.
3353
3354         <rdar://problem/4717965> Text Field text parameterized attributes should work
3355         <rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements
3356
3357         * bridge/mac/WebCoreAXObject.mm:
3358         (-[WebCoreAXObject accessibilityAttributeValue:]):
3359         Use new line number support to implement NSAccessibilityInsertionPointLineNumberAttribute.
3360         
3361         (-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
3362         Cleaned up. Added text field and text area parameterzed attributes.
3363         
3364         (-[WebCoreAXObject doAXLineForTextMarker:]):
3365         Fixed to be zero-based and to deal with the first position properly.
3366         
3367         (-[WebCoreAXObject doAXTextMarkerRangeForLine:]):
3368         Minor formatting.
3369         
3370         (-[WebCoreAXObject textMarkerForIndex:lastIndexOK:]):
3371         (-[WebCoreAXObject indexForTextMarker:]):
3372         (-[WebCoreAXObject textMarkerRangeForRange:]):
3373         (-[WebCoreAXObject rangeForTextMarkerRange:]):
3374         New utility methods.
3375         
3376         (-[WebCoreAXObject doAXLineForIndex:]):
3377         (-[WebCoreAXObject doAXRangeForLine:]):
3378         (-[WebCoreAXObject doAXStringForRange:]):
3379         (-[WebCoreAXObject doAXRangeForPosition:]):
3380         (-[WebCoreAXObject doAXRangeForIndex:]):
3381         (-[WebCoreAXObject doAXBoundsForRange:]):
3382         (-[WebCoreAXObject doAXAttributedStringForRange:]):
3383         (-[WebCoreAXObject doAXRTFForRange:]):
3384         (-[WebCoreAXObject doAXStyleRangeForIndex:]):
3385         Implement text field and text area parameterized attributes.
3386          
3387         (-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
3388         Added text field and text area parameterzed attributes.
3389
3390         * rendering/RenderTextControl.h:
3391         Made indexForVisiblePosition() and visiblePositionForIndex() public.
3392
3393 2006-09-25  Adam Roben  <aroben@apple.com>
3394
3395         Reviewed by Brady.
3396
3397         Build fixes.
3398
3399         * WebCore.vcproj/WebCore/WebCore.vcproj: Fix malformed XML.
3400         * platform/ResourceLoader.h: Store whether a particular job
3401         has received a response within the ResourceLoader object itself, since
3402         it's possible that we will enter the InternetReadFileExA while loop
3403         twice for the same job.
3404         * platform/ResourceLoaderInternal.h: Add private instance variable to
3405         store whether we've received a response.
3406         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
3407         * platform/win/GraphicsContextWin.cpp: Fix order of preprocessor
3408         directives.
3409         * platform/win/ResourceLoaderWin.cpp: 
3410         (WebCore::ResourceLoader::onRequestComplete): Ask the ResourceLoader
3411         whether it has received a response instead of assuming it hasn't.
3412         (WebCore::ResourceLoader::setHasReceivedResponse): Added.
3413         (WebCore::ResourceLoader::hasReceivedResponse): Added.
3414         * platform/win/TemporaryLinkStubs.cpp: Rename setKnobProportion to
3415         setProportion
3416         (ScrollBar::setProportion):
3417
3418 2006-09-25  Brady Eidson  <beidson@apple.com>
3419
3420         Requested by ggaren
3421
3422         Disabled IconDatabase logging by default
3423
3424         * platform/Logging.cpp:
3425         (WebCore::):
3426
3427 2006-09-25  Steve Falkenburg  <sfalken@apple.com>
3428
3429         Build fix
3430
3431         * platform/cf/ResourceLoaderCFNet.cpp:
3432         (WebCore::willCacheResponse):
3433
3434 2006-09-25  Justin Garcia  <justin.garcia@apple.com>
3435
3436         Reviewed by john
3437         
3438         <http://bugs.webkit.org/show_bug.cgi?id=11002>
3439         Gmail Editor: Crash at WebCore::SplitElementCommand::doApply() when attempting to indent in a new message
3440         
3441         * editing/IndentOutdentCommand.cpp:
3442         (WebCore::IndentOutdentCommand::indentRegion): Special case
3443         an empty root editable element.
3444
3445 2006-09-25  Brady Eidson  <beidson@apple.com>
3446
3447         Reviewed by Steve
3448
3449         Math error in SystemTimeWin
3450
3451         * platform/win/SystemTimeWin.cpp:
3452         (WebCore::currentTime):
3453
3454 2006-09-25  Alexey Proskuryakov  <ap@nypop.com>
3455
3456         Reviewed by Eric.
3457
3458         Whitespace cleanup; rename *job variables to *loader.
3459
3460         * bindings/js/JSXMLHttpRequest.cpp:
3461         (KJS::JSXMLHttpRequestConstructorImp::JSXMLHttpRequestConstructorImp):
3462         (KJS::JSXMLHttpRequestConstructorImp::implementsConstruct):
3463         (KJS::JSXMLHttpRequestConstructorImp::construct):
3464         (KJS::JSXMLHttpRequest::getOwnPropertySlot):
3465         (KJS::JSXMLHttpRequest::getValueProperty):
3466         (KJS::JSXMLHttpRequest::put):
3467         (KJS::JSXMLHttpRequest::putValueProperty):
3468         (KJS::JSXMLHttpRequest::mark):
3469         (KJS::JSXMLHttpRequest::JSXMLHttpRequest):
3470         (KJS::JSXMLHttpRequest::~JSXMLHttpRequest):
3471         (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
3472         * bindings/js/JSXMLHttpRequest.h:
3473         (KJS::JSXMLHttpRequest::toBoolean):
3474         * xml/xmlhttprequest.cpp:
3475         (WebCore::XMLHttpRequest::XMLHttpRequest):
3476         (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
3477         (WebCore::XMLHttpRequest::send):
3478         (WebCore::XMLHttpRequest::abort):
3479         (WebCore::XMLHttpRequest::receivedAllData):
3480         (WebCore::XMLHttpRequest::receivedData):
3481         * xml/xmlhttprequest.h:
3482         (WebCore::):
3483
3484 2006-09-25  Timothy Hatcher  <timothy@apple.com>
3485
3486         Reviewed by Brady.
3487
3488         - Deprecate the rest of the old-style methods that are not generated.
3489         - Add @property syntax to DOMRange.
3490
3491         * WebCore.xcodeproj/project.pbxproj:
3492         * bindings/objc/DOM.mm:
3493         (-[DOMRange setStart:offset:]):
3494         (-[DOMRange setEnd:offset:]):
3495         (-[DOMRange compareBoundaryPoints:sourceRange:]):
3496         (-[DOMRange setStart::]):
3497         (-[DOMRange setEnd::]):
3498         (-[DOMRange compareBoundaryPoints::]):
3499         (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
3500         (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
3501         (-[DOMDocument createNodeIterator::::]):
3502         (-[DOMDocument createTreeWalker::::]):
3503         * bindings/objc/DOMCSS.h:
3504         * bindings/objc/DOMCSS.mm:
3505         (-[DOMDocument getComputedStyle:pseudoElement:]):
3506         (-[DOMDocument getComputedStyle::]):
3507         (-[DOMDocument getMatchedCSSRules:pseudoElement:]):
3508         * bindings/objc/DOMExtensions.h:
3509         * bindings/objc/DOMHTML.h:
3510         * bindings/objc/DOMRange.h:
3511         * bindings/objc/DOMTraversal.h:
3512
3513 2006-09-25  Eric Seidel  <eric@eseidel.com>
3514
3515         Reviewed by mjs.
3516         
3517         Outermost <svg> element should clip to viewport
3518         http://bugs.webkit.org/show_bug.cgi?id=11007
3519
3520         Test: svg/custom/viewport-clip.svg
3521
3522         * css/svg.css: change svg:root overflow: from 'visible' to 'hidden'
3523
3524 2006-09-25  Anders Carlsson  <acarlsson@apple.com>
3525
3526         Reviewed by Maciej.
3527
3528         * css/MediaList.cpp:
3529         Remove unused header.
3530         
3531         * dom/Document.cpp:
3532         (WebCore::Document::clear):
3533         Use clear instead of iterating through the list of event listeners, removing each one.
3534         (Doing that causes a crash when running the layout tests with GuardMalloc turned on)
3535         
3536         * html/HTMLKeygenElement.cpp:
3537         (WebCore::HTMLKeygenElement::HTMLKeygenElement):
3538         (WebCore::HTMLKeygenElement::appendFormData):
3539         Update due to changes in the SSL key generator.
3540         
3541         * ksvg2/svg/SVGAngle.cpp:
3542         Remove unused header.
3543         
3544         * ksvg2/svg/SVGAnimationElement.cpp:
3545         (SVGAnimationElement::parseMappedAttribute):
3546         Rename methods and pass Strings instead of DeprecatedStrings to
3547         parseSeparatedList.
3548         
3549         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
3550         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
3551         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
3552         * ksvg2/svg/SVGFEMergeElement.cpp:
3553         * ksvg2/svg/SVGFEOffsetElement.cpp:
3554         Remove unused headers.
3555         
3556         * ksvg2/svg/SVGHelper.cpp:
3557         (WebCore::SVGHelper::parseSeparatedList):
3558         * ksvg2/svg/SVGHelper.h:
3559         Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a 
3560         DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.
3561         
3562         * ksvg2/svg/SVGLengthList.cpp:
3563         (WebCore::SVGLengthList::parse):
3564         * ksvg2/svg/SVGLengthList.h:
3565         Use Vector<String> instead of DeprecatedStringList.
3566         
3567         * loader/Cache.cpp:
3568         (WebCore::Cache::requestImage):
3569         (WebCore::Cache::requestStyleSheet):
3570         (WebCore::Cache::requestScript):
3571         (WebCore::Cache::requestXSLStyleSheet):
3572         (WebCore::Cache::requestXBLDocument):
3573         (WebCore::Cache::remove):
3574         (WebCore::Cache::get):
3575         Use a String as the key in the cache set instead of a RefPtr<StringImpl>.
3576         
3577         * loader/DocLoader.cpp:
3578         (WebCore::DocLoader::needReload):
3579         * loader/DocLoader.h:
3580         Use a HashSet instead of DeprecatedStringList.
3581         
3582         * page/FrameView.h:
3583         Remove declarations that have no functions.
3584         
3585         * platform/SSLKeyGenerator.h:
3586         * platform/mac/SSLKeyGeneratorMac.mm:
3587         (WebCore::supportedKeySizes):
3588         (WebCore::signedPublicKeyAndChallengeString):
3589         Convert to use Vector<String> instead of DeprecatedStringList, and String instead of
3590         DeprecatedString.
3591
3592 2006-09-25  Dave Hyatt  <hyatt@apple.com>
3593
3594         Shunt the RenderTheme world transform adoption between
3595         Cairo and Windows into getWindowsContext and move the method
3596         out of GraphicsContextCairo and into GraphicsContextWin.
3597
3598         * ChangeLog:
3599         * WebCore.vcproj/WebCore/WebCore.vcproj:
3600         * platform/cairo/GraphicsContextCairo.cpp:
3601         * platform/win/GraphicsContextWin.cpp: Added.
3602         (WebCore::GraphicsContext::getWindowsContext):
3603         (WebCore::GraphicsContext::releaseWindowsContext):
3604         * rendering/RenderThemeWin.cpp:
3605         (WebCore::prepareForDrawing):
3606
3607 2006-09-24  Eric Seidel  <eric@eseidel.com>
3608
3609         Reviewed by hyatt.
3610
3611         <svg:a> cannot be styled with a:hover
3612         http://bugs.webkit.org/show_bug.cgi?id=11005
3613         
3614         Test: svg/hixie/cascade/002.xml
3615
3616         * css/cssstyleselector.cpp:
3617         (WebCore::checkPseudoState):
3618
3619 2006-09-24  Sam Weinig  <sam.weinig@gmail.com>
3620