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