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