Add platform/text project group.
[WebKit-https.git] / WebCore / ChangeLog
1 2007-11-30   Anders Carlsson  <andersca@apple.com>
2
3         Add platform/text project group.
4         
5         * WebCore.vcproj/WebCore.vcproj:
6
7 2007-11-30   Anders Carlsson  <andersca@apple.com>
8
9         Remove extra </Filter> tag which prevented the vcproj from being parsed correctly.
10         
11         * WebCore.vcproj/WebCore.vcproj:
12
13 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
14
15         Not reviewed. Try to fix qt/gtk build.
16
17         * WebCore.pro:
18
19 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
20
21         Rubber stamped by Eric.
22
23         Final integration of ksvg2 in WebKit. Moving ksvg2/ to svg/ and killing all it's subdirectories,
24         by moving the files into approriate locations (css, rendering, ...) - as dicsussed on the
25         mailing list and on IRC with David/Darin & Eric.
26
27         Updated all build files - though I can't guarantee it builds on non-mac. Need buildbot to verify.
28
29         * DerivedSources.make:
30         * WebCore.pro:
31         * WebCore.vcproj/WebCore.vcproj:
32         * WebCore.xcodeproj/project.pbxproj:
33         * bindings/js/JSSVGLazyEventListener.cpp: Copied from ksvg2/events/JSSVGLazyEventListener.cpp.
34         * bindings/js/JSSVGLazyEventListener.h: Copied from ksvg2/events/JSSVGLazyEventListener.h.
35         * css/SVGCSSComputedStyleDeclaration.cpp: Copied from ksvg2/css/SVGCSSComputedStyleDeclaration.cpp.
36         * css/SVGCSSParser.cpp: Copied from ksvg2/css/SVGCSSParser.cpp.
37         * css/SVGCSSPropertyNames.in: Copied from ksvg2/css/SVGCSSPropertyNames.in.
38         * css/SVGCSSStyleSelector.cpp: Copied from ksvg2/css/SVGCSSStyleSelector.cpp.
39         * css/SVGCSSValueKeywords.in: Copied from ksvg2/css/SVGCSSValueKeywords.in.
40         * dom/make_names.pl: Copied from ksvg2/scripts/make_names.pl.
41         * ksvg2/css/SVGCSSComputedStyleDeclaration.cpp: Removed.
42         * ksvg2/css/SVGCSSParser.cpp: Removed.
43         * ksvg2/css/SVGCSSPropertyNames.in: Removed.
44         * ksvg2/css/SVGCSSStyleSelector.cpp: Removed.
45         * ksvg2/css/SVGCSSValueKeywords.in: Removed.
46         * ksvg2/css/SVGRenderStyle.cpp: Removed.
47         * ksvg2/css/SVGRenderStyle.h: Removed.
48         * ksvg2/css/SVGRenderStyleDefs.cpp: Removed.
49         * ksvg2/css/SVGRenderStyleDefs.h: Removed.
50         * ksvg2/events/JSSVGLazyEventListener.cpp: Removed.
51         * ksvg2/events/JSSVGLazyEventListener.h: Removed.
52         * ksvg2/events/SVGZoomEvent.cpp: Removed.
53         * ksvg2/events/SVGZoomEvent.h: Removed.
54         * ksvg2/events/SVGZoomEvent.idl: Removed.
55         * ksvg2/misc/PointerEventsHitRules.cpp: Removed.
56         * ksvg2/misc/PointerEventsHitRules.h: Removed.
57         * ksvg2/misc/SVGDocumentExtensions.cpp: Removed.
58         * ksvg2/misc/SVGDocumentExtensions.h: Removed.
59         * ksvg2/misc/SVGImageLoader.cpp: Removed.
60         * ksvg2/misc/SVGImageLoader.h: Removed.
61         * ksvg2/misc/SVGTimer.cpp: Removed.
62         * ksvg2/misc/SVGTimer.h: Removed.
63         * ksvg2/misc/TimeScheduler.cpp: Removed.
64         * ksvg2/misc/TimeScheduler.h: Removed.
65         * ksvg2/misc/xlinkattrs.in: Removed.
66         * ksvg2/scripts/make_names.pl: Removed.
67         * ksvg2/svg: Removed.
68         * ksvg2/svg/ColorDistance.cpp: Removed.
69         * ksvg2/svg/ColorDistance.h: Removed.
70         * ksvg2/svg/GradientAttributes.h: Removed.
71         * ksvg2/svg/LinearGradientAttributes.h: Removed.
72         * ksvg2/svg/PatternAttributes.h: Removed.
73         * ksvg2/svg/RadialGradientAttributes.h: Removed.
74         * ksvg2/svg/SVGAElement.cpp: Removed.
75         * ksvg2/svg/SVGAElement.h: Removed.
76         * ksvg2/svg/SVGAElement.idl: Removed.
77         * ksvg2/svg/SVGAngle.cpp: Removed.
78         * ksvg2/svg/SVGAngle.h: Removed.
79         * ksvg2/svg/SVGAngle.idl: Removed.
80         * ksvg2/svg/SVGAnimateColorElement.cpp: Removed.
81         * ksvg2/svg/SVGAnimateColorElement.h: Removed.
82         * ksvg2/svg/SVGAnimateColorElement.idl: Removed.
83         * ksvg2/svg/SVGAnimateElement.cpp: Removed.
84         * ksvg2/svg/SVGAnimateElement.h: Removed.
85         * ksvg2/svg/SVGAnimateElement.idl: Removed.
86         * ksvg2/svg/SVGAnimateMotionElement.cpp: Removed.
87         * ksvg2/svg/SVGAnimateMotionElement.h: Removed.
88         * ksvg2/svg/SVGAnimateTransformElement.cpp: Removed.
89         * ksvg2/svg/SVGAnimateTransformElement.h: Removed.
90         * ksvg2/svg/SVGAnimateTransformElement.idl: Removed.
91         * ksvg2/svg/SVGAnimatedAngle.idl: Removed.
92         * ksvg2/svg/SVGAnimatedBoolean.idl: Removed.
93         * ksvg2/svg/SVGAnimatedEnumeration.idl: Removed.
94         * ksvg2/svg/SVGAnimatedInteger.idl: Removed.
95         * ksvg2/svg/SVGAnimatedLength.idl: Removed.
96         * ksvg2/svg/SVGAnimatedLengthList.idl: Removed.
97         * ksvg2/svg/SVGAnimatedNumber.idl: Removed.
98         * ksvg2/svg/SVGAnimatedNumberList.idl: Removed.
99         * ksvg2/svg/SVGAnimatedPathData.cpp: Removed.
100         * ksvg2/svg/SVGAnimatedPathData.h: Removed.
101         * ksvg2/svg/SVGAnimatedPathData.idl: Removed.
102         * ksvg2/svg/SVGAnimatedPoints.cpp: Removed.
103         * ksvg2/svg/SVGAnimatedPoints.h: Removed.
104         * ksvg2/svg/SVGAnimatedPoints.idl: Removed.
105         * ksvg2/svg/SVGAnimatedPreserveAspectRatio.idl: Removed.
106         * ksvg2/svg/SVGAnimatedRect.idl: Removed.
107         * ksvg2/svg/SVGAnimatedString.idl: Removed.
108         * ksvg2/svg/SVGAnimatedTemplate.h: Removed.
109         * ksvg2/svg/SVGAnimatedTransformList.idl: Removed.
110         * ksvg2/svg/SVGAnimationElement.cpp: Removed.
111         * ksvg2/svg/SVGAnimationElement.h: Removed.
112         * ksvg2/svg/SVGAnimationElement.idl: Removed.
113         * ksvg2/svg/SVGCircleElement.cpp: Removed.
114         * ksvg2/svg/SVGCircleElement.h: Removed.
115         * ksvg2/svg/SVGCircleElement.idl: Removed.
116         * ksvg2/svg/SVGClipPathElement.cpp: Removed.
117         * ksvg2/svg/SVGClipPathElement.h: Removed.
118         * ksvg2/svg/SVGClipPathElement.idl: Removed.
119         * ksvg2/svg/SVGColor.cpp: Removed.
120         * ksvg2/svg/SVGColor.h: Removed.
121         * ksvg2/svg/SVGColor.idl: Removed.
122         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp: Removed.
123         * ksvg2/svg/SVGComponentTransferFunctionElement.h: Removed.
124         * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Removed.
125         * ksvg2/svg/SVGCursorElement.cpp: Removed.
126         * ksvg2/svg/SVGCursorElement.h: Removed.
127         * ksvg2/svg/SVGCursorElement.idl: Removed.
128         * ksvg2/svg/SVGDefinitionSrcElement.cpp: Removed.
129         * ksvg2/svg/SVGDefinitionSrcElement.h: Removed.
130         * ksvg2/svg/SVGDefinitionSrcElement.idl: Removed.
131         * ksvg2/svg/SVGDefsElement.cpp: Removed.
132         * ksvg2/svg/SVGDefsElement.h: Removed.
133         * ksvg2/svg/SVGDefsElement.idl: Removed.
134         * ksvg2/svg/SVGDescElement.cpp: Removed.
135         * ksvg2/svg/SVGDescElement.h: Removed.
136         * ksvg2/svg/SVGDescElement.idl: Removed.
137         * ksvg2/svg/SVGDocument.cpp: Removed.
138         * ksvg2/svg/SVGDocument.h: Removed.
139         * ksvg2/svg/SVGDocument.idl: Removed.
140         * ksvg2/svg/SVGElement.cpp: Removed.
141         * ksvg2/svg/SVGElement.h: Removed.
142         * ksvg2/svg/SVGElement.idl: Removed.
143         * ksvg2/svg/SVGElementInstance.cpp: Removed.
144         * ksvg2/svg/SVGElementInstance.h: Removed.
145         * ksvg2/svg/SVGElementInstance.idl: Removed.
146         * ksvg2/svg/SVGElementInstanceList.cpp: Removed.
147         * ksvg2/svg/SVGElementInstanceList.h: Removed.
148         * ksvg2/svg/SVGElementInstanceList.idl: Removed.
149         * ksvg2/svg/SVGEllipseElement.cpp: Removed.
150         * ksvg2/svg/SVGEllipseElement.h: Removed.
151         * ksvg2/svg/SVGEllipseElement.idl: Removed.
152         * ksvg2/svg/SVGException.h: Removed.
153         * ksvg2/svg/SVGException.idl: Removed.
154         * ksvg2/svg/SVGExternalResourcesRequired.cpp: Removed.
155         * ksvg2/svg/SVGExternalResourcesRequired.h: Removed.
156         * ksvg2/svg/SVGExternalResourcesRequired.idl: Removed.
157         * ksvg2/svg/SVGFEBlendElement.cpp: Removed.
158         * ksvg2/svg/SVGFEBlendElement.h: Removed.
159         * ksvg2/svg/SVGFEBlendElement.idl: Removed.
160         * ksvg2/svg/SVGFEColorMatrixElement.cpp: Removed.
161         * ksvg2/svg/SVGFEColorMatrixElement.h: Removed.
162         * ksvg2/svg/SVGFEColorMatrixElement.idl: Removed.
163         * ksvg2/svg/SVGFEComponentTransferElement.cpp: Removed.
164         * ksvg2/svg/SVGFEComponentTransferElement.h: Removed.
165         * ksvg2/svg/SVGFEComponentTransferElement.idl: Removed.
166         * ksvg2/svg/SVGFECompositeElement.cpp: Removed.
167         * ksvg2/svg/SVGFECompositeElement.h: Removed.
168         * ksvg2/svg/SVGFECompositeElement.idl: Removed.
169         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp: Removed.
170         * ksvg2/svg/SVGFEDiffuseLightingElement.h: Removed.
171         * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Removed.
172         * ksvg2/svg/SVGFEDisplacementMapElement.cpp: Removed.
173         * ksvg2/svg/SVGFEDisplacementMapElement.h: Removed.
174         * ksvg2/svg/SVGFEDisplacementMapElement.idl: Removed.
175         * ksvg2/svg/SVGFEDistantLightElement.cpp: Removed.
176         * ksvg2/svg/SVGFEDistantLightElement.h: Removed.
177         * ksvg2/svg/SVGFEDistantLightElement.idl: Removed.
178         * ksvg2/svg/SVGFEFloodElement.cpp: Removed.
179         * ksvg2/svg/SVGFEFloodElement.h: Removed.
180         * ksvg2/svg/SVGFEFloodElement.idl: Removed.
181         * ksvg2/svg/SVGFEFuncAElement.cpp: Removed.
182         * ksvg2/svg/SVGFEFuncAElement.h: Removed.
183         * ksvg2/svg/SVGFEFuncAElement.idl: Removed.
184         * ksvg2/svg/SVGFEFuncBElement.cpp: Removed.
185         * ksvg2/svg/SVGFEFuncBElement.h: Removed.
186         * ksvg2/svg/SVGFEFuncBElement.idl: Removed.
187         * ksvg2/svg/SVGFEFuncGElement.cpp: Removed.
188         * ksvg2/svg/SVGFEFuncGElement.h: Removed.
189         * ksvg2/svg/SVGFEFuncGElement.idl: Removed.
190         * ksvg2/svg/SVGFEFuncRElement.cpp: Removed.
191         * ksvg2/svg/SVGFEFuncRElement.h: Removed.
192         * ksvg2/svg/SVGFEFuncRElement.idl: Removed.
193         * ksvg2/svg/SVGFEGaussianBlurElement.cpp: Removed.
194         * ksvg2/svg/SVGFEGaussianBlurElement.h: Removed.
195         * ksvg2/svg/SVGFEGaussianBlurElement.idl: Removed.
196         * ksvg2/svg/SVGFEImageElement.cpp: Removed.
197         * ksvg2/svg/SVGFEImageElement.h: Removed.
198         * ksvg2/svg/SVGFEImageElement.idl: Removed.
199         * ksvg2/svg/SVGFELightElement.cpp: Removed.
200         * ksvg2/svg/SVGFELightElement.h: Removed.
201         * ksvg2/svg/SVGFEMergeElement.cpp: Removed.
202         * ksvg2/svg/SVGFEMergeElement.h: Removed.
203         * ksvg2/svg/SVGFEMergeElement.idl: Removed.
204         * ksvg2/svg/SVGFEMergeNodeElement.cpp: Removed.
205         * ksvg2/svg/SVGFEMergeNodeElement.h: Removed.
206         * ksvg2/svg/SVGFEMergeNodeElement.idl: Removed.
207         * ksvg2/svg/SVGFEOffsetElement.cpp: Removed.
208         * ksvg2/svg/SVGFEOffsetElement.h: Removed.
209         * ksvg2/svg/SVGFEOffsetElement.idl: Removed.
210         * ksvg2/svg/SVGFEPointLightElement.cpp: Removed.
211         * ksvg2/svg/SVGFEPointLightElement.h: Removed.
212         * ksvg2/svg/SVGFEPointLightElement.idl: Removed.
213         * ksvg2/svg/SVGFESpecularLightingElement.cpp: Removed.
214         * ksvg2/svg/SVGFESpecularLightingElement.h: Removed.
215         * ksvg2/svg/SVGFESpecularLightingElement.idl: Removed.
216         * ksvg2/svg/SVGFESpotLightElement.cpp: Removed.
217         * ksvg2/svg/SVGFESpotLightElement.h: Removed.
218         * ksvg2/svg/SVGFESpotLightElement.idl: Removed.
219         * ksvg2/svg/SVGFETileElement.cpp: Removed.
220         * ksvg2/svg/SVGFETileElement.h: Removed.
221         * ksvg2/svg/SVGFETileElement.idl: Removed.
222         * ksvg2/svg/SVGFETurbulenceElement.cpp: Removed.
223         * ksvg2/svg/SVGFETurbulenceElement.h: Removed.
224         * ksvg2/svg/SVGFETurbulenceElement.idl: Removed.
225         * ksvg2/svg/SVGFilterElement.cpp: Removed.
226         * ksvg2/svg/SVGFilterElement.h: Removed.
227         * ksvg2/svg/SVGFilterElement.idl: Removed.
228         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp: Removed.
229         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h: Removed.
230         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Removed.
231         * ksvg2/svg/SVGFitToViewBox.cpp: Removed.
232         * ksvg2/svg/SVGFitToViewBox.h: Removed.
233         * ksvg2/svg/SVGFitToViewBox.idl: Removed.
234         * ksvg2/svg/SVGFontFaceElement.cpp: Removed.
235         * ksvg2/svg/SVGFontFaceElement.h: Removed.
236         * ksvg2/svg/SVGFontFaceElement.idl: Removed.
237         * ksvg2/svg/SVGFontFaceFormatElement.cpp: Removed.
238         * ksvg2/svg/SVGFontFaceFormatElement.h: Removed.
239         * ksvg2/svg/SVGFontFaceFormatElement.idl: Removed.
240         * ksvg2/svg/SVGFontFaceNameElement.cpp: Removed.
241         * ksvg2/svg/SVGFontFaceNameElement.h: Removed.
242         * ksvg2/svg/SVGFontFaceNameElement.idl: Removed.
243         * ksvg2/svg/SVGFontFaceSrcElement.cpp: Removed.
244         * ksvg2/svg/SVGFontFaceSrcElement.h: Removed.
245         * ksvg2/svg/SVGFontFaceSrcElement.idl: Removed.
246         * ksvg2/svg/SVGFontFaceUriElement.cpp: Removed.
247         * ksvg2/svg/SVGFontFaceUriElement.h: Removed.
248         * ksvg2/svg/SVGFontFaceUriElement.idl: Removed.
249         * ksvg2/svg/SVGForeignObjectElement.cpp: Removed.
250         * ksvg2/svg/SVGForeignObjectElement.h: Removed.
251         * ksvg2/svg/SVGForeignObjectElement.idl: Removed.
252         * ksvg2/svg/SVGGElement.cpp: Removed.
253         * ksvg2/svg/SVGGElement.h: Removed.
254         * ksvg2/svg/SVGGElement.idl: Removed.
255         * ksvg2/svg/SVGGradientElement.cpp: Removed.
256         * ksvg2/svg/SVGGradientElement.h: Removed.
257         * ksvg2/svg/SVGGradientElement.idl: Removed.
258         * ksvg2/svg/SVGImageElement.cpp: Removed.
259         * ksvg2/svg/SVGImageElement.h: Removed.
260         * ksvg2/svg/SVGImageElement.idl: Removed.
261         * ksvg2/svg/SVGLangSpace.cpp: Removed.
262         * ksvg2/svg/SVGLangSpace.h: Removed.
263         * ksvg2/svg/SVGLangSpace.idl: Removed.
264         * ksvg2/svg/SVGLength.cpp: Removed.
265         * ksvg2/svg/SVGLength.h: Removed.
266         * ksvg2/svg/SVGLength.idl: Removed.
267         * ksvg2/svg/SVGLengthList.cpp: Removed.
268         * ksvg2/svg/SVGLengthList.h: Removed.
269         * ksvg2/svg/SVGLengthList.idl: Removed.
270         * ksvg2/svg/SVGLineElement.cpp: Removed.
271         * ksvg2/svg/SVGLineElement.h: Removed.
272         * ksvg2/svg/SVGLineElement.idl: Removed.
273         * ksvg2/svg/SVGLinearGradientElement.cpp: Removed.
274         * ksvg2/svg/SVGLinearGradientElement.h: Removed.
275         * ksvg2/svg/SVGLinearGradientElement.idl: Removed.
276         * ksvg2/svg/SVGList.h: Removed.
277         * ksvg2/svg/SVGListTraits.h: Removed.
278         * ksvg2/svg/SVGLocatable.cpp: Removed.
279         * ksvg2/svg/SVGLocatable.h: Removed.
280         * ksvg2/svg/SVGLocatable.idl: Removed.
281         * ksvg2/svg/SVGMPathElement.cpp: Removed.
282         * ksvg2/svg/SVGMPathElement.h: Removed.
283         * ksvg2/svg/SVGMarkerElement.cpp: Removed.
284         * ksvg2/svg/SVGMarkerElement.h: Removed.
285         * ksvg2/svg/SVGMarkerElement.idl: Removed.
286         * ksvg2/svg/SVGMaskElement.cpp: Removed.
287         * ksvg2/svg/SVGMaskElement.h: Removed.
288         * ksvg2/svg/SVGMaskElement.idl: Removed.
289         * ksvg2/svg/SVGMatrix.idl: Removed.
290         * ksvg2/svg/SVGMetadataElement.cpp: Removed.
291         * ksvg2/svg/SVGMetadataElement.h: Removed.
292         * ksvg2/svg/SVGMetadataElement.idl: Removed.
293         * ksvg2/svg/SVGNumber.idl: Removed.
294         * ksvg2/svg/SVGNumberList.cpp: Removed.
295         * ksvg2/svg/SVGNumberList.h: Removed.
296         * ksvg2/svg/SVGNumberList.idl: Removed.
297         * ksvg2/svg/SVGPaint.cpp: Removed.
298         * ksvg2/svg/SVGPaint.h: Removed.
299         * ksvg2/svg/SVGPaint.idl: Removed.
300         * ksvg2/svg/SVGParserUtilities.cpp: Removed.
301         * ksvg2/svg/SVGParserUtilities.h: Removed.
302         * ksvg2/svg/SVGPathElement.cpp: Removed.
303         * ksvg2/svg/SVGPathElement.h: Removed.
304         * ksvg2/svg/SVGPathElement.idl: Removed.
305         * ksvg2/svg/SVGPathSeg.h: Removed.
306         * ksvg2/svg/SVGPathSeg.idl: Removed.
307         * ksvg2/svg/SVGPathSegArc.cpp: Removed.
308         * ksvg2/svg/SVGPathSegArc.h: Removed.
309         * ksvg2/svg/SVGPathSegArcAbs.idl: Removed.
310         * ksvg2/svg/SVGPathSegArcRel.idl: Removed.
311         * ksvg2/svg/SVGPathSegClosePath.cpp: Removed.
312         * ksvg2/svg/SVGPathSegClosePath.h: Removed.
313         * ksvg2/svg/SVGPathSegClosePath.idl: Removed.
314         * ksvg2/svg/SVGPathSegCurvetoCubic.cpp: Removed.
315         * ksvg2/svg/SVGPathSegCurvetoCubic.h: Removed.
316         * ksvg2/svg/SVGPathSegCurvetoCubicAbs.idl: Removed.
317         * ksvg2/svg/SVGPathSegCurvetoCubicRel.idl: Removed.
318         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp: Removed.
319         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h: Removed.
320         * ksvg2/svg/SVGPathSegCurvetoCubicSmoothAbs.idl: Removed.
321         * ksvg2/svg/SVGPathSegCurvetoCubicSmoothRel.idl: Removed.
322         * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp: Removed.
323         * ksvg2/svg/SVGPathSegCurvetoQuadratic.h: Removed.
324         * ksvg2/svg/SVGPathSegCurvetoQuadraticAbs.idl: Removed.
325         * ksvg2/svg/SVGPathSegCurvetoQuadraticRel.idl: Removed.
326         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp: Removed.
327         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h: Removed.
328         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: Removed.
329         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: Removed.
330         * ksvg2/svg/SVGPathSegLineto.cpp: Removed.
331         * ksvg2/svg/SVGPathSegLineto.h: Removed.
332         * ksvg2/svg/SVGPathSegLinetoAbs.idl: Removed.
333         * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp: Removed.
334         * ksvg2/svg/SVGPathSegLinetoHorizontal.h: Removed.
335         * ksvg2/svg/SVGPathSegLinetoHorizontalAbs.idl: Removed.
336         * ksvg2/svg/SVGPathSegLinetoHorizontalRel.idl: Removed.
337         * ksvg2/svg/SVGPathSegLinetoRel.idl: Removed.
338         * ksvg2/svg/SVGPathSegLinetoVertical.cpp: Removed.
339         * ksvg2/svg/SVGPathSegLinetoVertical.h: Removed.
340         * ksvg2/svg/SVGPathSegLinetoVerticalAbs.idl: Removed.
341         * ksvg2/svg/SVGPathSegLinetoVerticalRel.idl: Removed.
342         * ksvg2/svg/SVGPathSegList.cpp: Removed.
343         * ksvg2/svg/SVGPathSegList.h: Removed.
344         * ksvg2/svg/SVGPathSegList.idl: Removed.
345         * ksvg2/svg/SVGPathSegMoveto.cpp: Removed.
346         * ksvg2/svg/SVGPathSegMoveto.h: Removed.
347         * ksvg2/svg/SVGPathSegMovetoAbs.idl: Removed.
348         * ksvg2/svg/SVGPathSegMovetoRel.idl: Removed.
349         * ksvg2/svg/SVGPatternElement.cpp: Removed.
350         * ksvg2/svg/SVGPatternElement.h: Removed.
351         * ksvg2/svg/SVGPatternElement.idl: Removed.
352         * ksvg2/svg/SVGPoint.idl: Removed.
353         * ksvg2/svg/SVGPointList.cpp: Removed.
354         * ksvg2/svg/SVGPointList.h: Removed.
355         * ksvg2/svg/SVGPointList.idl: Removed.
356         * ksvg2/svg/SVGPolyElement.cpp: Removed.
357         * ksvg2/svg/SVGPolyElement.h: Removed.
358         * ksvg2/svg/SVGPolygonElement.cpp: Removed.
359         * ksvg2/svg/SVGPolygonElement.h: Removed.
360         * ksvg2/svg/SVGPolygonElement.idl: Removed.
361         * ksvg2/svg/SVGPolylineElement.cpp: Removed.
362         * ksvg2/svg/SVGPolylineElement.h: Removed.
363         * ksvg2/svg/SVGPolylineElement.idl: Removed.
364         * ksvg2/svg/SVGPreserveAspectRatio.cpp: Removed.
365         * ksvg2/svg/SVGPreserveAspectRatio.h: Removed.
366         * ksvg2/svg/SVGPreserveAspectRatio.idl: Removed.
367         * ksvg2/svg/SVGRadialGradientElement.cpp: Removed.
368         * ksvg2/svg/SVGRadialGradientElement.h: Removed.
369         * ksvg2/svg/SVGRadialGradientElement.idl: Removed.
370         * ksvg2/svg/SVGRect.idl: Removed.
371         * ksvg2/svg/SVGRectElement.cpp: Removed.
372         * ksvg2/svg/SVGRectElement.h: Removed.
373         * ksvg2/svg/SVGRectElement.idl: Removed.
374         * ksvg2/svg/SVGRenderingIntent.h: Removed.
375         * ksvg2/svg/SVGRenderingIntent.idl: Removed.
376         * ksvg2/svg/SVGSVGElement.cpp: Removed.
377         * ksvg2/svg/SVGSVGElement.h: Removed.
378         * ksvg2/svg/SVGSVGElement.idl: Removed.
379         * ksvg2/svg/SVGScriptElement.cpp: Removed.
380         * ksvg2/svg/SVGScriptElement.h: Removed.
381         * ksvg2/svg/SVGScriptElement.idl: Removed.
382         * ksvg2/svg/SVGSetElement.cpp: Removed.
383         * ksvg2/svg/SVGSetElement.h: Removed.
384         * ksvg2/svg/SVGSetElement.idl: Removed.
385         * ksvg2/svg/SVGStopElement.cpp: Removed.
386         * ksvg2/svg/SVGStopElement.h: Removed.
387         * ksvg2/svg/SVGStopElement.idl: Removed.
388         * ksvg2/svg/SVGStringList.cpp: Removed.
389         * ksvg2/svg/SVGStringList.h: Removed.
390         * ksvg2/svg/SVGStringList.idl: Removed.
391         * ksvg2/svg/SVGStylable.cpp: Removed.
392         * ksvg2/svg/SVGStylable.h: Removed.
393         * ksvg2/svg/SVGStylable.idl: Removed.
394         * ksvg2/svg/SVGStyleElement.cpp: Removed.
395         * ksvg2/svg/SVGStyleElement.h: Removed.
396         * ksvg2/svg/SVGStyleElement.idl: Removed.
397         * ksvg2/svg/SVGStyledElement.cpp: Removed.
398         * ksvg2/svg/SVGStyledElement.h: Removed.
399         * ksvg2/svg/SVGStyledLocatableElement.cpp: Removed.
400         * ksvg2/svg/SVGStyledLocatableElement.h: Removed.
401         * ksvg2/svg/SVGStyledTransformableElement.cpp: Removed.
402         * ksvg2/svg/SVGStyledTransformableElement.h: Removed.
403         * ksvg2/svg/SVGSwitchElement.cpp: Removed.
404         * ksvg2/svg/SVGSwitchElement.h: Removed.
405         * ksvg2/svg/SVGSwitchElement.idl: Removed.
406         * ksvg2/svg/SVGSymbolElement.cpp: Removed.
407         * ksvg2/svg/SVGSymbolElement.h: Removed.
408         * ksvg2/svg/SVGSymbolElement.idl: Removed.
409         * ksvg2/svg/SVGTRefElement.cpp: Removed.
410         * ksvg2/svg/SVGTRefElement.h: Removed.
411         * ksvg2/svg/SVGTRefElement.idl: Removed.
412         * ksvg2/svg/SVGTSpanElement.cpp: Removed.
413         * ksvg2/svg/SVGTSpanElement.h: Removed.
414         * ksvg2/svg/SVGTSpanElement.idl: Removed.
415         * ksvg2/svg/SVGTests.cpp: Removed.
416         * ksvg2/svg/SVGTests.h: Removed.
417         * ksvg2/svg/SVGTests.idl: Removed.
418         * ksvg2/svg/SVGTextContentElement.cpp: Removed.
419         * ksvg2/svg/SVGTextContentElement.h: Removed.
420         * ksvg2/svg/SVGTextContentElement.idl: Removed.
421         * ksvg2/svg/SVGTextElement.cpp: Removed.
422         * ksvg2/svg/SVGTextElement.h: Removed.
423         * ksvg2/svg/SVGTextElement.idl: Removed.
424         * ksvg2/svg/SVGTextPathElement.cpp: Removed.
425         * ksvg2/svg/SVGTextPathElement.h: Removed.
426         * ksvg2/svg/SVGTextPathElement.idl: Removed.
427         * ksvg2/svg/SVGTextPositioningElement.cpp: Removed.
428         * ksvg2/svg/SVGTextPositioningElement.h: Removed.
429         * ksvg2/svg/SVGTextPositioningElement.idl: Removed.
430         * ksvg2/svg/SVGTitleElement.cpp: Removed.
431         * ksvg2/svg/SVGTitleElement.h: Removed.
432         * ksvg2/svg/SVGTitleElement.idl: Removed.
433         * ksvg2/svg/SVGTransform.cpp: Removed.
434         * ksvg2/svg/SVGTransform.h: Removed.
435         * ksvg2/svg/SVGTransform.idl: Removed.
436         * ksvg2/svg/SVGTransformDistance.cpp: Removed.
437         * ksvg2/svg/SVGTransformDistance.h: Removed.
438         * ksvg2/svg/SVGTransformList.cpp: Removed.
439         * ksvg2/svg/SVGTransformList.h: Removed.
440         * ksvg2/svg/SVGTransformList.idl: Removed.
441         * ksvg2/svg/SVGTransformable.cpp: Removed.
442         * ksvg2/svg/SVGTransformable.h: Removed.
443         * ksvg2/svg/SVGTransformable.idl: Removed.
444         * ksvg2/svg/SVGURIReference.cpp: Removed.
445         * ksvg2/svg/SVGURIReference.h: Removed.
446         * ksvg2/svg/SVGURIReference.idl: Removed.
447         * ksvg2/svg/SVGUnitTypes.h: Removed.
448         * ksvg2/svg/SVGUnitTypes.idl: Removed.
449         * ksvg2/svg/SVGUseElement.cpp: Removed.
450         * ksvg2/svg/SVGUseElement.h: Removed.
451         * ksvg2/svg/SVGUseElement.idl: Removed.
452         * ksvg2/svg/SVGViewElement.cpp: Removed.
453         * ksvg2/svg/SVGViewElement.h: Removed.
454         * ksvg2/svg/SVGViewElement.idl: Removed.
455         * ksvg2/svg/SVGViewSpec.cpp: Removed.
456         * ksvg2/svg/SVGViewSpec.h: Removed.
457         * ksvg2/svg/SVGViewSpec.idl: Removed.
458         * ksvg2/svg/SVGZoomAndPan.cpp: Removed.
459         * ksvg2/svg/SVGZoomAndPan.h: Removed.
460         * ksvg2/svg/SVGZoomAndPan.idl: Removed.
461         * ksvg2/svg/svgattrs.in: Removed.
462         * ksvg2/svg/svgtags.in: Removed.
463         * rendering/PointerEventsHitRules.cpp: Copied from ksvg2/misc/PointerEventsHitRules.cpp.
464         * rendering/PointerEventsHitRules.h: Copied from ksvg2/misc/PointerEventsHitRules.h.
465         * rendering/SVGRenderStyle.cpp: Copied from ksvg2/css/SVGRenderStyle.cpp.
466         * rendering/SVGRenderStyle.h: Copied from ksvg2/css/SVGRenderStyle.h.
467         * rendering/SVGRenderStyleDefs.cpp: Copied from ksvg2/css/SVGRenderStyleDefs.cpp.
468         * rendering/SVGRenderStyleDefs.h: Copied from ksvg2/css/SVGRenderStyleDefs.h.
469         * svg: Copied from ksvg2/svg.
470         * svg/SVGDocumentExtensions.cpp: Copied from ksvg2/misc/SVGDocumentExtensions.cpp.
471         * svg/SVGDocumentExtensions.h: Copied from ksvg2/misc/SVGDocumentExtensions.h.
472         * svg/SVGImageLoader.cpp: Copied from ksvg2/misc/SVGImageLoader.cpp.
473         * svg/SVGImageLoader.h: Copied from ksvg2/misc/SVGImageLoader.h.
474         * svg/SVGTimer.cpp: Copied from ksvg2/misc/SVGTimer.cpp.
475         * svg/SVGTimer.h: Copied from ksvg2/misc/SVGTimer.h.
476         * svg/SVGZoomEvent.cpp: Copied from ksvg2/events/SVGZoomEvent.cpp.
477         * svg/SVGZoomEvent.h: Copied from ksvg2/events/SVGZoomEvent.h.
478         * svg/SVGZoomEvent.idl: Copied from ksvg2/events/SVGZoomEvent.idl.
479         * svg/TimeScheduler.cpp: Copied from ksvg2/misc/TimeScheduler.cpp.
480         * svg/TimeScheduler.h: Copied from ksvg2/misc/TimeScheduler.h.
481         * svg/xlinkattrs.in: Copied from ksvg2/misc/xlinkattrs.in.
482
483 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
484
485         wx build fix. Add WebCore/platform/graphics/wx to includes.
486
487         * webcore-wx.bkl:
488
489 2007-11-30  Brady Eidson  <beidson@apple.com>
490
491         Reviewed by Geoff
492
493         Further hookup of Database API
494         With this change, any database operation that writes to the database (UPDATE, INSERT, CREATE, etc) will
495         result in a didModifyDatabase notification when the transaction is successfully committed
496
497         * storage/DatabaseAuthorizer.cpp: Global rename of "m_lastActionIncreasedSize" to "m_lastActionChangedDatabase"
498         (WebCore::DatabaseAuthorizer::reset):
499         (WebCore::DatabaseAuthorizer::createTable):
500         (WebCore::DatabaseAuthorizer::allowAlterTable):
501         (WebCore::DatabaseAuthorizer::createIndex):
502         (WebCore::DatabaseAuthorizer::createTrigger):
503         (WebCore::DatabaseAuthorizer::createVTable):
504         (WebCore::DatabaseAuthorizer::allowInsert):
505         (WebCore::DatabaseAuthorizer::allowUpdate):
506         * storage/DatabaseAuthorizer.h:
507         (WebCore::DatabaseAuthorizer::lastActionChangedDatabase):
508
509         * storage/DatabaseTracker.cpp:
510         (WebCore::DatabaseTracker::notifyDatabaseChanged): Added.  Allow external entities (SQLTransaction) to be able
511           to request a didModifyDatabase notification to the delegate
512         * storage/DatabaseTracker.h:
513
514         * storage/SQLTransaction.cpp: Added m_modifiedDatabase flag which tracks if any statement over the course of 
515           a transaction resulted in a change to the database.
516         (WebCore::SQLTransaction::SQLTransaction):
517         (WebCore::SQLTransaction::runCurrentStatement): Set m_modifiedDatabase to true if the authorizer reports a mutation
518           statement occurred
519         (WebCore::SQLTransaction::postflightAndCommit): If the transaction successfully commits, call DatabaseTracker::notifyDatabaseChanged
520         (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): Ditto
521         * storage/SQLTransaction.h:
522
523 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
524
525         Rubber stamped by David.
526
527         Next round of moves - platform reorganization.
528         Move text/font/glyph related files from the individual port directories
529         into platform/text/<port> or platform/graphics/<port>.
530
531         * DerivedSources.make:
532         * WebCore.pro:
533         * WebCore.vcproj/WebCore.vcproj:
534         * WebCore.xcodeproj/project.pbxproj:
535         * platform/cf/StringCF.cpp: Removed.
536         * platform/cf/StringImplCF.cpp: Removed.
537         * platform/graphics/gtk/FontCacheGtk.cpp: Copied from platform/gtk/FontCacheGtk.cpp.
538         * platform/graphics/gtk/FontDataGtk.cpp: Copied from platform/gtk/FontDataGtk.cpp.
539         * platform/graphics/gtk/FontGtk.cpp: Copied from platform/gtk/FontGtk.cpp.
540         * platform/graphics/gtk/FontPlatformData.h: Copied from platform/gtk/FontPlatformData.h.
541         * platform/graphics/gtk/FontPlatformDataGtk.cpp: Copied from platform/gtk/FontPlatformDataGtk.cpp.
542         * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp: Copied from platform/gtk/GlyphPageTreeNodeGtk.cpp.
543         * platform/graphics/mac/FontCacheMac.mm: Copied from platform/mac/FontCacheMac.mm.
544         * platform/graphics/mac/FontCustomPlatformData.cpp: Copied from platform/mac/FontCustomPlatformData.cpp.
545         * platform/graphics/mac/FontCustomPlatformData.h: Copied from platform/mac/FontCustomPlatformData.h.
546         * platform/graphics/mac/FontDataMac.mm: Copied from platform/mac/FontDataMac.mm.
547         * platform/graphics/mac/FontMac.mm: Copied from platform/mac/FontMac.mm.
548         * platform/graphics/mac/FontPlatformData.h: Copied from platform/mac/FontPlatformData.h.
549         * platform/graphics/mac/FontPlatformDataMac.mm: Copied from platform/mac/FontPlatformDataMac.mm.
550         * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: Copied from platform/mac/GlyphPageTreeNodeMac.cpp.
551         * platform/graphics/qt/FontCacheQt.cpp: Copied from platform/qt/FontCacheQt.cpp.
552         * platform/graphics/qt/FontCustomPlatformData.cpp: Copied from platform/qt/FontCustomPlatformData.cpp.
553         * platform/graphics/qt/FontCustomPlatformData.h: Copied from platform/qt/FontCustomPlatformData.h.
554         * platform/graphics/qt/FontDataQt.cpp: Copied from platform/qt/FontDataQt.cpp.
555         * platform/graphics/qt/FontPlatformData.h: Copied from platform/qt/FontPlatformData.h.
556         * platform/graphics/qt/FontQt.cpp: Copied from platform/qt/FontQt.cpp.
557         * platform/graphics/qt/GlyphPageTreeNodeQt.cpp: Copied from platform/qt/GlyphPageTreeNodeQt.cpp.
558         * platform/graphics/win/FontCacheWin.cpp: Copied from platform/win/FontCacheWin.cpp.
559         * platform/graphics/win/FontCustomPlatformData.cpp: Copied from platform/win/FontCustomPlatformData.cpp.
560         * platform/graphics/win/FontCustomPlatformData.h: Copied from platform/win/FontCustomPlatformData.h.
561         * platform/graphics/win/FontDataWin.cpp: Copied from platform/win/FontDataWin.cpp.
562         * platform/graphics/win/FontDatabase.cpp: Copied from platform/win/FontDatabase.cpp.
563         * platform/graphics/win/FontDatabase.h: Copied from platform/win/FontDatabase.h.
564         * platform/graphics/win/FontPlatformData.h: Copied from platform/win/FontPlatformData.h.
565         * platform/graphics/win/FontPlatformDataWin.cpp: Copied from platform/win/FontPlatformDataWin.cpp.
566         * platform/graphics/win/FontWin.cpp: Copied from platform/win/FontWin.cpp.
567         * platform/graphics/win/GlyphPageTreeNodeWin.cpp: Copied from platform/win/GlyphPageTreeNodeWin.cpp.
568         * platform/graphics/wx/FontCacheWx.cpp: Copied from platform/wx/FontCacheWx.cpp.
569         * platform/graphics/wx/FontDataWx.cpp: Copied from platform/wx/FontDataWx.cpp.
570         * platform/graphics/wx/FontPlatformData.h: Copied from platform/wx/FontPlatformData.h.
571         * platform/graphics/wx/FontPlatformDataWx.cpp: Copied from platform/wx/FontPlatformDataWx.cpp.
572         * platform/graphics/wx/FontWx.cpp: Copied from platform/wx/FontWx.cpp.
573         * platform/graphics/wx/GlyphMapWx.cpp: Copied from platform/wx/GlyphMapWx.cpp.
574         * platform/gtk/FontCacheGtk.cpp: Removed.
575         * platform/gtk/FontDataGtk.cpp: Removed.
576         * platform/gtk/FontGtk.cpp: Removed.
577         * platform/gtk/FontPlatformData.h: Removed.
578         * platform/gtk/FontPlatformDataGtk.cpp: Removed.
579         * platform/gtk/GlyphPageTreeNodeGtk.cpp: Removed.
580         * platform/gtk/TextBreakIteratorInternalICUGtk.cpp: Removed.
581         * platform/mac/FontCacheMac.mm: Removed.
582         * platform/mac/FontCustomPlatformData.cpp: Removed.
583         * platform/mac/FontCustomPlatformData.h: Removed.
584         * platform/mac/FontDataMac.mm: Removed.
585         * platform/mac/FontMac.mm: Removed.
586         * platform/mac/FontPlatformData.h: Removed.
587         * platform/mac/FontPlatformDataMac.mm: Removed.
588         * platform/mac/GlyphPageTreeNodeMac.cpp: Removed.
589         * platform/mac/ShapeArabic.c: Removed.
590         * platform/mac/ShapeArabic.h: Removed.
591         * platform/mac/StringImplMac.mm: Removed.
592         * platform/mac/StringMac.mm: Removed.
593         * platform/mac/TextBoundaries.mm: Removed.
594         * platform/mac/TextBreakIteratorInternalICUMac.mm: Removed.
595         * platform/mac/TextCodecMac.cpp: Removed.
596         * platform/mac/TextCodecMac.h: Removed.
597         * platform/mac/character-sets.txt: Removed.
598         * platform/mac/mac-encodings.txt: Removed.
599         * platform/mac/make-charset-table.pl: Removed.
600         * platform/qt/FontCacheQt.cpp: Removed.
601         * platform/qt/FontCustomPlatformData.cpp: Removed.
602         * platform/qt/FontCustomPlatformData.h: Removed.
603         * platform/qt/FontDataQt.cpp: Removed.
604         * platform/qt/FontPlatformData.h: Removed.
605         * platform/qt/FontQt.cpp: Removed.
606         * platform/qt/GlyphPageTreeNodeQt.cpp: Removed.
607         * platform/qt/StringQt.cpp: Removed.
608         * platform/qt/TextBoundaries.cpp: Removed.
609         * platform/qt/TextBreakIteratorQt.cpp: Removed.
610         * platform/qt/TextCodecQt.cpp: Removed.
611         * platform/qt/TextCodecQt.h: Removed.
612         * platform/symbian/StringImplSymbian.cpp: Removed.
613         * platform/symbian/StringSymbian.cpp: Removed.
614         * platform/text/cf: Added.
615         * platform/text/cf/StringCF.cpp: Copied from platform/cf/StringCF.cpp.
616         * platform/text/cf/StringImplCF.cpp: Copied from platform/cf/StringImplCF.cpp.
617         * platform/text/gtk: Added.
618         * platform/text/gtk/TextBreakIteratorInternalICUGtk.cpp: Copied from platform/gtk/TextBreakIteratorInternalICUGtk.cpp.
619         * platform/text/mac/ShapeArabic.c: Copied from platform/mac/ShapeArabic.c.
620         * platform/text/mac/ShapeArabic.h: Copied from platform/mac/ShapeArabic.h.
621         * platform/text/mac/StringImplMac.mm: Copied from platform/mac/StringImplMac.mm.
622         * platform/text/mac/StringMac.mm: Copied from platform/mac/StringMac.mm.
623         * platform/text/mac/TextBoundaries.mm: Copied from platform/mac/TextBoundaries.mm.
624         * platform/text/mac/TextBreakIteratorInternalICUMac.mm: Copied from platform/mac/TextBreakIteratorInternalICUMac.mm.
625         * platform/text/mac/TextCodecMac.cpp: Copied from platform/mac/TextCodecMac.cpp.
626         * platform/text/mac/TextCodecMac.h: Copied from platform/mac/TextCodecMac.h.
627         * platform/text/mac/character-sets.txt: Copied from platform/mac/character-sets.txt.
628         * platform/text/mac/mac-encodings.txt: Copied from platform/mac/mac-encodings.txt.
629         * platform/text/mac/make-charset-table.pl: Copied from platform/mac/make-charset-table.pl.
630         * platform/text/qt: Added.
631         * platform/text/qt/StringQt.cpp: Copied from platform/qt/StringQt.cpp.
632         * platform/text/qt/TextBoundaries.cpp: Copied from platform/qt/TextBoundaries.cpp.
633         * platform/text/qt/TextBreakIteratorQt.cpp: Copied from platform/qt/TextBreakIteratorQt.cpp.
634         * platform/text/qt/TextCodecQt.cpp: Copied from platform/qt/TextCodecQt.cpp.
635         * platform/text/qt/TextCodecQt.h: Copied from platform/qt/TextCodecQt.h.
636         * platform/text/symbian: Added.
637         * platform/text/symbian/StringImplSymbian.cpp: Copied from platform/symbian/StringImplSymbian.cpp.
638         * platform/text/symbian/StringSymbian.cpp: Copied from platform/symbian/StringSymbian.cpp.
639         * platform/text/win: Added.
640         * platform/text/win/TextBreakIteratorInternalICUWin.cpp: Copied from platform/win/TextBreakIteratorInternalICUWin.cpp.
641         * platform/text/wx: Added.
642         * platform/text/wx/StringWx.cpp: Copied from platform/wx/StringWx.cpp.
643         * platform/win/FontCacheWin.cpp: Removed.
644         * platform/win/FontCustomPlatformData.cpp: Removed.
645         * platform/win/FontCustomPlatformData.h: Removed.
646         * platform/win/FontDataWin.cpp: Removed.
647         * platform/win/FontDatabase.cpp: Removed.
648         * platform/win/FontDatabase.h: Removed.
649         * platform/win/FontPlatformData.h: Removed.
650         * platform/win/FontPlatformDataWin.cpp: Removed.
651         * platform/win/FontWin.cpp: Removed.
652         * platform/win/GlyphPageTreeNodeWin.cpp: Removed.
653         * platform/win/TextBreakIteratorInternalICUWin.cpp: Removed.
654         * platform/wx/FontCacheWx.cpp: Removed.
655         * platform/wx/FontDataWx.cpp: Removed.
656         * platform/wx/FontPlatformData.h: Removed.
657         * platform/wx/FontPlatformDataWx.cpp: Removed.
658         * platform/wx/FontWx.cpp: Removed.
659         * platform/wx/GlyphMapWx.cpp: Removed.
660         * platform/wx/StringWx.cpp: Removed.
661         * webcore-wx.bkl:
662
663 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
664
665         Build fix for wx port. Adding editing/RemoveFormatCommand.cpp
666
667         * WebCoreSources.bkl:
668
669 2007-11-30  Simon Hausmann  <hausmann@webkit.org>
670
671         Reviewed by Adam Roben.
672
673         Fix the build with DATABASE=0.
674
675         * page/Settings.cpp:
676         (WebCore::Settings::setDefaultDatabaseOriginQuota):
677         (WebCore::Settings::defaultDatabaseOriginQuota):
678
679 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
680
681         Rubber stamped by Darin.
682
683         Fix misplaced file. The name "FontStyle" is not correct though - it probably
684         needs yet another move - but this time inside platform/graphics - as soon
685         as we agree on a better name.
686
687         * WebCore.xcodeproj/project.pbxproj:
688         * platform/graphics/FontStyle.h: Copied from platform/text/FontStyle.h.
689         * platform/text/FontStyle.h: Removed.
690
691 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
692
693         Reviewed by Sam.
694
695         Rename "FontStyle FontStyle(...)" to "FontStyle fontStyle(...)".
696         I scripted a bit too much while doing the TextStyle -> FontStyle change.
697
698         * platform/win/PopupMenuWin.cpp:
699         (WebCore::PopupMenu::paint):
700         * rendering/EllipsisBox.cpp:
701         (WebCore::EllipsisBox::paint):
702         * rendering/RenderFileUploadControl.cpp:
703         (WebCore::RenderFileUploadControl::paintObject):
704         * rendering/RenderListBox.cpp:
705         (WebCore::RenderListBox::updateFromElement):
706         (WebCore::RenderListBox::paintItemForeground):
707         * rendering/RenderTextControl.cpp:
708         (WebCore::RenderTextControl::setStyle):
709         (WebCore::RenderTextControl::createInnerTextStyle):
710         (WebCore::RenderTextControl::createSubtreeIfNeeded):
711         * rendering/RenderTextControl.h:
712         * rendering/SVGRootInlineBox.cpp:
713         (WebCore::svgFontStyleForInlineTextBox):
714
715 2007-11-30  Alp Toker  <alp@atoker.com>
716
717         GTK+ build fix following the recent text reorganization.
718
719         * WebCore.pro:
720
721 2007-11-29  Jon Honeycutt  <jhoneycutt@apple.com>
722
723         Reviewed by Adam.
724
725         Part of <rdar://problem/5506522> Seed: cannot type into text box in
726         Facebook, don't see plugin content (Adobe Flash)
727
728         * plugins/win/PluginViewWin.cpp:
729         (WebCore::PluginViewWin::handleMouseEvent): Focus the plugin's parent
730         frame  
731
732 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
733
734         Not reviewed. Trying to fix gtk/qt/wx build. (I expected problems because of the moves)
735
736         * WebCore.pro:
737         * webcore-base.bkl:
738
739 2007-11-30  Nikolas Zimmermann  <zimmermann@kde.org>
740
741         Rubber stamped by Brady.
742
743         Started platform reorganization (platform/text addition).
744         Moving string/text/font related classes into new places - as discussed on webkit-dev.
745
746         In a follow-up commit I'll move classes out of platform/{mac,win,...} into
747         platform/text/{mac,win,...}, and also do the ksvg2/ -> svg/ move.
748
749         * WebCore.order:
750         * WebCore.pro:
751         * WebCore.vcproj/WebCore.vcproj:
752         * WebCore.xcodeproj/project.pbxproj:
753         * WebCoreSources.bkl:
754         * editing/ReplaceSelectionCommand.cpp:
755         (WebCore::ReplacementFragment::insertFragmentForTestRendering):
756         * platform/AtomicString.cpp: Removed.
757         * platform/AtomicString.h: Removed.
758         * platform/AtomicStringImpl.h: Removed.
759         * platform/Base64.cpp: Removed.
760         * platform/Base64.h: Removed.
761         * platform/BidiContext.cpp: Removed.
762         * platform/BidiContext.h: Removed.
763         * platform/BidiResolver.h: Removed.
764         * platform/CString.cpp: Removed.
765         * platform/CString.h: Removed.
766         * platform/CharacterNames.h: Removed.
767         * platform/CharsetData.h: Removed.
768         * platform/Font.cpp: Removed.
769         * platform/Font.h: Removed.
770         * platform/FontCache.cpp: Removed.
771         * platform/FontCache.h: Removed.
772         * platform/FontData.cpp: Removed.
773         * platform/FontData.h: Removed.
774         * platform/FontDescription.h: Removed.
775         * platform/FontFallbackList.cpp: Removed.
776         * platform/FontFallbackList.h: Removed.
777         * platform/FontFamily.cpp: Removed.
778         * platform/FontFamily.h: Removed.
779         * platform/FontSelector.h: Removed.
780         * platform/GlyphBuffer.h: Removed.
781         * platform/GlyphPageTreeNode.cpp: Removed.
782         * platform/GlyphPageTreeNode.h: Removed.
783         * platform/GlyphWidthMap.cpp: Removed.
784         * platform/GlyphWidthMap.h: Removed.
785         * platform/PlatformString.h: Removed.
786         * platform/RegularExpression.cpp: Removed.
787         * platform/RegularExpression.h: Removed.
788         * platform/SegmentedString.cpp: Removed.
789         * platform/SegmentedString.h: Removed.
790         * platform/String.cpp: Removed.
791         * platform/StringHash.h: Removed.
792         * platform/StringImpl.cpp: Removed.
793         * platform/StringImpl.h: Removed.
794         * platform/StringTruncator.cpp: Removed.
795         * platform/StringTruncator.h: Removed.
796         * platform/TextBoundaries.h: Removed.
797         * platform/TextBoundariesICU.cpp: Removed.
798         * platform/TextBreakIterator.h: Removed.
799         * platform/TextBreakIteratorICU.cpp: Removed.
800         * platform/TextBreakIteratorInternalICU.h: Removed.
801         * platform/TextCodec.cpp: Removed.
802         * platform/TextCodec.h: Removed.
803         * platform/TextCodecICU.cpp: Removed.
804         * platform/TextCodecICU.h: Removed.
805         * platform/TextCodecLatin1.cpp: Removed.
806         * platform/TextCodecLatin1.h: Removed.
807         * platform/TextCodecUTF16.cpp: Removed.
808         * platform/TextCodecUTF16.h: Removed.
809         * platform/TextCodecUserDefined.cpp: Removed.
810         * platform/TextCodecUserDefined.h: Removed.
811         * platform/TextDecoder.cpp: Removed.
812         * platform/TextDecoder.h: Removed.
813         * platform/TextDirection.h: Removed.
814         * platform/TextEncoding.cpp: Removed.
815         * platform/TextEncoding.h: Removed.
816         * platform/TextEncodingRegistry.cpp: Removed.
817         * platform/TextEncodingRegistry.h: Removed.
818         * platform/TextStream.cpp: Removed.
819         * platform/TextStream.h: Removed.
820         * platform/TextStyle.h: Removed.
821         * platform/UnicodeRange.cpp: Removed.
822         * platform/UnicodeRange.h: Removed.
823         * platform/graphics/Font.cpp: Copied from platform/Font.cpp.
824         (WebCore::WidthIterator::WidthIterator):
825         (WebCore::Font::width):
826         (WebCore::Font::drawSimpleText):
827         (WebCore::Font::drawGlyphBuffer):
828         (WebCore::Font::drawText):
829         (WebCore::Font::floatWidth):
830         (WebCore::Font::floatWidthForSimpleText):
831         (WebCore::Font::selectionRectForText):
832         (WebCore::Font::selectionRectForSimpleText):
833         (WebCore::Font::offsetForPosition):
834         (WebCore::Font::offsetForPositionForSimpleText):
835         * platform/graphics/Font.h: Copied from platform/Font.h.
836         * platform/graphics/FontCache.cpp: Copied from platform/FontCache.cpp.
837         * platform/graphics/FontCache.h: Copied from platform/FontCache.h.
838         * platform/graphics/FontData.cpp: Copied from platform/FontData.cpp.
839         * platform/graphics/FontData.h: Copied from platform/FontData.h.
840         * platform/graphics/FontDescription.h: Copied from platform/FontDescription.h.
841         * platform/graphics/FontFallbackList.cpp: Copied from platform/FontFallbackList.cpp.
842         * platform/graphics/FontFallbackList.h: Copied from platform/FontFallbackList.h.
843         * platform/graphics/FontFamily.cpp: Copied from platform/FontFamily.cpp.
844         * platform/graphics/FontFamily.h: Copied from platform/FontFamily.h.
845         * platform/graphics/FontSelector.h: Copied from platform/FontSelector.h.
846         * platform/graphics/GlyphBuffer.h: Copied from platform/GlyphBuffer.h.
847         * platform/graphics/GlyphPageTreeNode.cpp: Copied from platform/GlyphPageTreeNode.cpp.
848         * platform/graphics/GlyphPageTreeNode.h: Copied from platform/GlyphPageTreeNode.h.
849         * platform/graphics/GlyphWidthMap.cpp: Copied from platform/GlyphWidthMap.cpp.
850         * platform/graphics/GlyphWidthMap.h: Copied from platform/GlyphWidthMap.h.
851         * platform/graphics/GraphicsContext.cpp:
852         (WebCore::GraphicsContext::drawText):
853         (WebCore::GraphicsContext::drawBidiText):
854         (WebCore::GraphicsContext::drawHighlightForText):
855         * platform/graphics/GraphicsContext.h:
856         * platform/graphics/StringTruncator.cpp: Copied from platform/StringTruncator.cpp.
857         (WebCore::stringWidth):
858         * platform/graphics/StringTruncator.h: Copied from platform/StringTruncator.h.
859         * platform/graphics/qt/GraphicsContextQt.cpp:
860         * platform/gtk/FontGtk.cpp:
861         (WebCore::Font::drawComplexText):
862         (WebCore::Font::floatWidthForComplexText):
863         (WebCore::Font::offsetForPositionForComplexText):
864         (WebCore::Font::selectionRectForComplexText):
865         * platform/mac/FontMac.mm:
866         (WebCore::ATSULayoutParameters::ATSULayoutParameters):
867         (WebCore::Font::selectionRectForComplexText):
868         (WebCore::Font::drawComplexText):
869         (WebCore::Font::floatWidthForComplexText):
870         (WebCore::Font::offsetForPositionForComplexText):
871         * platform/mac/WebCoreTextRenderer.mm:
872         (WebCoreDrawTextAtPoint):
873         (WebCoreTextFloatWidth):
874         * platform/qt/FontQt.cpp:
875         (WebCore::generateComponents):
876         (WebCore::Font::drawText):
877         (WebCore::Font::width):
878         (WebCore::Font::floatWidth):
879         (WebCore::Font::offsetForPosition):
880         (WebCore::cursorToX):
881         (WebCore::Font::selectionRectForText):
882         * platform/text: Added.
883         * platform/text/AtomicString.cpp: Copied from platform/AtomicString.cpp.
884         * platform/text/AtomicString.h: Copied from platform/AtomicString.h.
885         * platform/text/AtomicStringImpl.h: Copied from platform/AtomicStringImpl.h.
886         * platform/text/Base64.cpp: Copied from platform/Base64.cpp.
887         * platform/text/Base64.h: Copied from platform/Base64.h.
888         * platform/text/BidiContext.cpp: Copied from platform/BidiContext.cpp.
889         * platform/text/BidiContext.h: Copied from platform/BidiContext.h.
890         * platform/text/BidiResolver.h: Copied from platform/BidiResolver.h.
891         * platform/text/CString.cpp: Copied from platform/CString.cpp.
892         * platform/text/CString.h: Copied from platform/CString.h.
893         * platform/text/CharacterNames.h: Copied from platform/CharacterNames.h.
894         * platform/text/FontStyle.h: Copied from platform/TextStyle.h.
895         (WebCore::FontStyle::FontStyle):
896         * platform/text/PlatformString.h: Copied from platform/PlatformString.h.
897         * platform/text/RegularExpression.cpp: Copied from platform/RegularExpression.cpp.
898         * platform/text/RegularExpression.h: Copied from platform/RegularExpression.h.
899         * platform/text/SegmentedString.cpp: Copied from platform/SegmentedString.cpp.
900         * platform/text/SegmentedString.h: Copied from platform/SegmentedString.h.
901         * platform/text/String.cpp: Copied from platform/String.cpp.
902         * platform/text/StringHash.h: Copied from platform/StringHash.h.
903         * platform/text/StringImpl.cpp: Copied from platform/StringImpl.cpp.
904         * platform/text/StringImpl.h: Copied from platform/StringImpl.h.
905         * platform/text/TextBoundaries.h: Copied from platform/TextBoundaries.h.
906         * platform/text/TextBoundariesICU.cpp: Copied from platform/TextBoundariesICU.cpp.
907         (WebCore::findNextWordFromIndex):
908         * platform/text/TextBreakIterator.h: Copied from platform/TextBreakIterator.h.
909         * platform/text/TextBreakIteratorICU.cpp: Copied from platform/TextBreakIteratorICU.cpp.
910         * platform/text/TextBreakIteratorInternalICU.h: Copied from platform/TextBreakIteratorInternalICU.h.
911         * platform/text/TextCodec.cpp: Copied from platform/TextCodec.cpp.
912         * platform/text/TextCodec.h: Copied from platform/TextCodec.h.
913         * platform/text/TextCodecICU.cpp: Copied from platform/TextCodecICU.cpp.
914         * platform/text/TextCodecICU.h: Copied from platform/TextCodecICU.h.
915         * platform/text/TextCodecLatin1.cpp: Copied from platform/TextCodecLatin1.cpp.
916         * platform/text/TextCodecLatin1.h: Copied from platform/TextCodecLatin1.h.
917         * platform/text/TextCodecUTF16.cpp: Copied from platform/TextCodecUTF16.cpp.
918         * platform/text/TextCodecUTF16.h: Copied from platform/TextCodecUTF16.h.
919         * platform/text/TextCodecUserDefined.cpp: Copied from platform/TextCodecUserDefined.cpp.
920         * platform/text/TextCodecUserDefined.h: Copied from platform/TextCodecUserDefined.h.
921         * platform/text/TextDecoder.cpp: Copied from platform/TextDecoder.cpp.
922         * platform/text/TextDecoder.h: Copied from platform/TextDecoder.h.
923         * platform/text/TextDirection.h: Copied from platform/TextDirection.h.
924         * platform/text/TextEncoding.cpp: Copied from platform/TextEncoding.cpp.
925         * platform/text/TextEncoding.h: Copied from platform/TextEncoding.h.
926         * platform/text/TextEncodingRegistry.cpp: Copied from platform/TextEncodingRegistry.cpp.
927         * platform/text/TextEncodingRegistry.h: Copied from platform/TextEncodingRegistry.h.
928         * platform/text/TextStream.cpp: Copied from platform/TextStream.cpp.
929         * platform/text/TextStream.h: Copied from platform/TextStream.h.
930         * platform/text/UnicodeRange.cpp: Copied from platform/UnicodeRange.cpp.
931         * platform/text/UnicodeRange.h: Copied from platform/UnicodeRange.h.
932         * platform/text/mac: Added.
933         * platform/text/mac/CharsetData.h: Copied from platform/CharsetData.h.
934         * platform/win/FontWin.cpp:
935         (WebCore::Font::selectionRectForComplexText):
936         (WebCore::Font::drawComplexText):
937         (WebCore::Font::floatWidthForComplexText):
938         (WebCore::Font::offsetForPositionForComplexText):
939         * platform/win/PopupMenuWin.cpp:
940         (WebCore::PopupMenu::paint):
941         * platform/win/UniscribeController.cpp:
942         (WebCore::UniscribeController::UniscribeController):
943         * platform/win/UniscribeController.h:
944         * platform/win/WebCoreTextRenderer.cpp:
945         (WebCore::doDrawTextAtPoint):
946         * platform/wx/FontWx.cpp:
947         (WebCore::Font::selectionRectForComplexText):
948         (WebCore::Font::drawComplexText):
949         (WebCore::Font::floatWidthForComplexText):
950         (WebCore::Font::offsetForPositionForComplexText):
951         * rendering/EllipsisBox.cpp:
952         (WebCore::EllipsisBox::paint):
953         * rendering/InlineTextBox.cpp:
954         (WebCore::InlineTextBox::selectionRect):
955         (WebCore::InlineTextBox::paint):
956         (WebCore::InlineTextBox::paintSelection):
957         (WebCore::InlineTextBox::paintCompositionBackground):
958         (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
959         (WebCore::InlineTextBox::paintTextMatchMarker):
960         (WebCore::InlineTextBox::offsetForPosition):
961         (WebCore::InlineTextBox::positionForOffset):
962         * rendering/RenderFileUploadControl.cpp:
963         (WebCore::RenderFileUploadControl::paintObject):
964         (WebCore::RenderFileUploadControl::calcPrefWidths):
965         * rendering/RenderImage.cpp:
966         * rendering/RenderListBox.cpp:
967         (WebCore::RenderListBox::updateFromElement):
968         (WebCore::RenderListBox::paintItemForeground):
969         * rendering/RenderMenuList.cpp:
970         (WebCore::RenderMenuList::updateOptionsWidth):
971         * rendering/RenderText.cpp:
972         (WebCore::RenderText::widthFromCache):
973         (WebCore::RenderText::calcPrefWidths):
974         (WebCore::RenderText::width):
975         * rendering/RenderTextControl.cpp:
976         (WebCore::RenderTextControl::setStyle):
977         (WebCore::RenderTextControl::createInnerFontStyle):
978         (WebCore::RenderTextControl::createSubtreeIfNeeded):
979         (WebCore::RenderTextControl::calcPrefWidths):
980         * rendering/RenderTextControl.h:
981         * rendering/SVGInlineTextBox.cpp:
982         (WebCore::SVGInlineTextBox::calculateGlyphWidth):
983         (WebCore::SVGInlineTextBox::paintCharacters):
984         (WebCore::SVGInlineTextBox::paintSelection):
985         * rendering/SVGRootInlineBox.cpp:
986         (WebCore::cummulatedWidthOfInlineBoxCharacterRange):
987         (WebCore::svgFontStyleForInlineTextBox):
988         * rendering/SVGRootInlineBox.h:
989
990 2007-11-30  Adele Peterson  <adele@apple.com>
991
992         Reviewed by Darin.
993
994         Fix for http://bugs.webkit.org/show_bug.cgi?id=16072
995         <rdar://problem/5463821> REGRESSION: Mousemove event isn't fired when mouse moves over scrollbar with pressed button (16072)
996
997         Test: fast/events/mousemove-after-drag-over-scrollbar.html
998
999         * page/EventHandler.cpp:
1000         (WebCore::EventHandler::handleMouseMoveEvent): If the mouse is pressed, and we've moved over a new scrollbar, then we can clear m_lastScrollbarUnderMouse.
1001          We should only need to show the hover effect when the mouse isn't pressed.
1002
1003 2007-11-29  Brady Eidson <beidson@apple.com>
1004
1005         Reviewed by Tim
1006
1007         Part of <rdar://problem/5556377> - Need to accurately track and enforce database quota
1008
1009         SQLite has the ability to enforce the page usage for databases.  This gives us bulletproof
1010         enforcement of the database size limit with reasonable granularity (within 1023 bytes by 
1011         default on OS X with SQLite 3.4.0)
1012
1013         This also involved enhancing the ability to install/remove the authorizer to run the PRAGMA
1014         statements involved
1015
1016         Note this patch does not actually use the new maximumSize() functionality of the 
1017         SQLiteDatabase class - that can be reviewed/landed seperately
1018         
1019         * platform/sql/SQLiteDatabase.cpp:
1020         (WebCore::SQLiteDatabase::SQLiteDatabase): 
1021         (WebCore::SQLiteDatabase::maximumSize): Return the current maximum size in bytes
1022         (WebCore::SQLiteDatabase::setMaximumSize): Based on m_pageSize, set the maximum page count
1023           to enforce the maximum size in bytes
1024         (WebCore::SQLiteDatabase::pageSize): Fetch m_pageSize if it hasn't been fetched, or return
1025           the cached value
1026         (WebCore::SQLiteDatabase::setAuthorizer): Use enableAuthorizer for the sqlite_* level 
1027           authorizer setup
1028         (WebCore::SQLiteDatabase::enableAuthorizer): Install or remove the sqlite authorizer handler
1029         * platform/sql/SQLiteDatabase.h: Add the m_pageSize member so we only have to fetch it once
1030
1031 2007-11-29  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1032
1033         Reviewed by Maciej.
1034
1035         * Fix fast/events/mousedown_in_scrollbar.html
1036         * This test used to crash in PlatformScrollbarQt::mouse*Event due parent() returning 0.
1037         * Extend the current check that the scrollbar in the mev can be go away.
1038         This happens if we destroy a RenderLayer as the result of a click. In the
1039         case of Qt we can have this scrollbar in m_lastScrollbarUnderMouse. The RenderLayer
1040         is the ScrollbarClient, m_lastScrollbarUnderMouse is a RefPtr and keeps the
1041         last reference. When calling into this scrollbar the m_client pointer is a dangling pointer.
1042         We extend the check to set m_lastScrollbarUnderMouse back to zero when it was the
1043         scrollbar in the old mev and is gone in the new one.
1044         * This happens only on the Qt port because we send more/different move events.
1045
1046         * page/EventHandler.cpp:
1047         (WebCore::EventHandler::handleMousePressEvent):
1048
1049 2007-11-29  Antti Koivisto  <antti@apple.com>
1050
1051         Reviewed by Mitz.
1052
1053         Fix aspect ratio calculation of video.
1054         
1055         Video should always be treated as a replaced element in size calculation.
1056         
1057         Test: media/video-aspect-ratio.html
1058
1059         * rendering/RenderBox.cpp:
1060         (WebCore::RenderBox::calcWidth):
1061         (WebCore::RenderBox::calcHeight):
1062         * rendering/RenderBox.h:
1063         (WebCore::RenderBox::shouldCalculateSizeAsReplaced):
1064         * rendering/RenderMedia.h:
1065         (WebCore::RenderMedia::shouldCalculateSizeAsReplaced):
1066
1067 2007-11-29  Sam Weinig  <sam@webkit.org>
1068
1069         Reviewed by Oliver.
1070
1071         Additional fix for <rdar://problem/5592988> / http://bugs.webkit.org/show_bug.cgi?id=15936
1072         - More closely match IE's policy for frame navigation.
1073
1074         * bindings/js/kjs_window.cpp:
1075         (KJS::WindowProtoFuncOpen::callAsFunction):
1076         * loader/FrameLoader.cpp:
1077         (WebCore::FrameLoader::shouldAllowNavigation):
1078         * page/FrameTree.cpp:
1079         (WebCore::FrameTree::top):
1080         * page/FrameTree.h:
1081
1082 2007-11-29  Dan Bernstein  <mitz@apple.com>
1083
1084         Reviewed by Adam Roben and John Sullivan.
1085
1086         - make the recent searches popup extend only along the straight part of
1087           the search field (unless it needs to be wider).
1088
1089         * platform/PopupMenuClient.h:
1090           Added clientInsetLeft() and clientInsetRight() for clients to
1091           specify desired horizontal insets for the menu.
1092         * platform/win/PopupMenuWin.cpp:
1093         (WebCore::PopupMenu::calculatePositionAndSize):
1094         (WebCore::PopupMenu::paint):
1095         * rendering/RenderMenuList.cpp:
1096         (WebCore::RenderMenuList::clientInsetLeft): Added. Returns 0.
1097         (WebCore::RenderMenuList::clientInsetRight): Ditto.
1098         * rendering/RenderMenuList.h:
1099         * rendering/RenderTextControl.cpp:
1100         (WebCore::RenderTextControl::clientInsetLeft): Added. Returns half the
1101         control's height, which is the radius of the cap on the left.
1102         (WebCore::RenderTextControl::clientInsetRight): Added.
1103         * rendering/RenderTextControl.h:
1104
1105 2007-11-30  Alp Toker  <alp@atoker.com>
1106
1107         Reviewed by Maciej.
1108
1109         http://bugs.webkit.org/show_bug.cgi?id=16173
1110         Licensing change
1111
1112         Change license from BSD to LGPL.
1113
1114         This is being done to encourage vendors to contribute their fixes back
1115         upstream.
1116
1117         * platform/graphics/gtk/ColorGtk.cpp:
1118         * platform/graphics/gtk/IntPointGtk.cpp:
1119         * platform/graphics/gtk/IntRectGtk.cpp:
1120         * platform/graphics/svg/cairo/RenderPathCairo.cpp:
1121         * platform/graphics/svg/cairo/SVGPaintServerCairo.cpp:
1122         * platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp:
1123         * platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp:
1124         * platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp:
1125         * platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp:
1126         * platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp:
1127         * platform/gtk/Language.cpp:
1128         * platform/gtk/LoggingGtk.cpp:
1129         * platform/gtk/SoundGtk.cpp:
1130         * platform/gtk/SystemTimeGtk.cpp:
1131         * platform/gtk/TextBreakIteratorInternalICUGtk.cpp:
1132
1133 2007-11-29  Darin Adler  <darin@apple.com>
1134
1135         Reviewed by Adele.
1136
1137         - fix http://bugs.webkit.org/show_bug.cgi?id=16191
1138           REGRESSION: cannot tab to radio input after setting checked to false
1139
1140         Test: fast/forms/input-radio-checked-tab.html
1141
1142         * html/HTMLFormElement.cpp:
1143         (WebCore::HTMLFormElement::CheckedRadioButtons::addButton): Fix this code
1144         so that it doesn't call setChecked(false) until after the map has been updated.
1145         Otherwise, we can end up deallocating the map before manipulating it. As long
1146         as I was changing the function, I decided to make it do only a single hash
1147         table lookup.
1148
1149         * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::setChecked):
1150         Remove the button from the radio buttons set before changing the checked
1151         state. This matches the idiom used elsewhere and fixes the problem where
1152         setting checked to false would not remove it from the set.
1153
1154 2007-11-29  Justin Garcia  <justin.garcia@apple.com>
1155
1156         Reviewed by Darin Adler.
1157
1158         <rdar://problem/5620093> Brief hang when Safari caches page text of XML document
1159
1160         * editing/TextIterator.cpp:
1161         (WebCore::TextIterator::representNodeOffsetZero): When we haven't been emitting any 
1162         characters, shouldRepresentNodeOffsetZero() can create VisiblePositions, which is
1163         expensive.  So, we perform the inexpensive checks on m_node to see if it necessitates 
1164         emitting a character first and will early return before encountering 
1165         shouldRepresentNodeOffsetZero()s worse case behavior.
1166
1167 2007-11-29  Anders Carlsson  <andersca@apple.com>
1168
1169         Reviewed by Sam.
1170
1171         Don't install event handlers or set the zoom cursor if auto-shrink has been disabled.
1172
1173         * loader/ImageDocument.cpp:
1174         (WebCore::ImageDocument::createDocumentStructure):
1175         (WebCore::ImageDocument::imageChanged):
1176
1177 2007-11-29  Beth Dakin  <bdakin@apple.com>
1178
1179         Reviewed by Geoff.
1180
1181         Fix for <rdar://problem/5620151> Disable JavaScript for SVG as 
1182         image for <img> and CSS images
1183
1184         * platform/graphics/svg/SVGImage.cpp:
1185         (WebCore::SVGImage::dataChanged): When we create the empty clients, 
1186         explicitly disable JavaScript in the settings.
1187
1188 2007-11-29  Brady Eidson  <beidson@apple.com>
1189
1190         Reviewed by Anders
1191
1192         Support for <rdar://problem/5556381> and <rdar://problem/5556379>
1193
1194         The Database feature in the engine needs to support delegate calls for policy decisions and
1195         also provide notifications when origins and databases change their state.
1196
1197         This patch also polishes off the missing features of the management API
1198
1199         * page/Chrome.cpp: Implement the two UIDelegate methods
1200         (WebCore::Chrome::requestQuotaIncreaseForNewDatabase): Ask for more space to create a new database if it won't fit
1201         (WebCore::Chrome::requestQuotaIncreaseForDatabaseOperation): Ask for more space to complete an in-progress operation
1202         * page/Chrome.h:
1203         * page/ChromeClient.h:
1204         * platform/graphics/svg/SVGImageEmptyClients.h:
1205         (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForNewDatabase):
1206         (WebCore::SVGEmptyChromeClient::requestQuotaIncreaseForDatabaseOperation):
1207
1208         * storage/Database.cpp:
1209         (WebCore::Database::openDatabase): Check to see if this database can be opened - the quota must be high 
1210           enough and if it isn't, the UIDelegate should have a change to bump the quota.
1211           Also update the UI-relevant details (display name and estimated size) upon successful opening of the database
1212
1213         * storage/DatabaseDetails.h: Remove the version parameter as it is a programatic detail of a
1214           site database and is not important to API clients
1215         (WebCore::DatabaseDetails::DatabaseDetails):
1216         (WebCore::DatabaseDetails::isValid):
1217         (WebCore::DatabaseDetails::name):
1218
1219         * storage/DatabaseTracker.cpp:
1220         (WebCore::DatabaseTracker::openTrackerDatabase): Tweaked the schema here - there was a horrible bug with the old schema that would
1221           prevent you from having two databases of the same name from two different origins.  Also simplify the origin-management schema
1222         (WebCore::DatabaseTracker::canEstablishDatabase): Added.  Does some estimated size vs quota checks, and asks the UI delegate for 
1223           more space if necessary
1224         (WebCore::DatabaseTracker::hasEntryForOrigin):
1225         (WebCore::DatabaseTracker::establishEntryForOrigin): Establishes a tracker entry for the given origin with the current default quota
1226           Also notifies the client of the new origin
1227         (WebCore::DatabaseTracker::setDatabaseDetails): Update the display name and estimated size for the given database
1228         (WebCore::DatabaseTracker::fullPathForDatabase): Tweak to add the ability to get the path without creating it - for management purposes
1229         (WebCore::DatabaseTracker::populateOrigins): Populate origins from the Origins table instead of the Databases table
1230         (WebCore::DatabaseTracker::origins):
1231         (WebCore::DatabaseTracker::detailsForNameAndOrigin): For API management
1232         (WebCore::DatabaseTracker::usageForDatabase):
1233         (WebCore::DatabaseTracker::usageForOrigin):
1234         (WebCore::DatabaseTracker::quotaForOrigin):
1235         (WebCore::DatabaseTracker::setQuota): Notify the client
1236         (WebCore::DatabaseTracker::addDatabase): Notify the client 
1237         (WebCore::DatabaseTracker::deleteAllDatabases):
1238         (WebCore::DatabaseTracker::deleteDatabasesWithOrigin):
1239         (WebCore::DatabaseTracker::deleteDatabase):
1240         (WebCore::DatabaseTracker::deleteDatabaseFile):
1241         * storage/DatabaseTracker.h:
1242
1243 2007-11-29  Dan Bernstein  <mitz@apple.com>
1244
1245         Reviewed by Beth Dakin and Darin Adler.
1246
1247         - manual test for <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
1248
1249         * manual-tests/context-click-unfocused-frame.html: Added.
1250
1251 2007-11-28  Antti Koivisto  <antti@apple.com>
1252
1253         Reviewed by Geoff.
1254         
1255         Fallback content inside media elements should not be rendered.
1256
1257         Test: media/fallback.html
1258
1259         * rendering/RenderMedia.h:
1260         (WebCore::RenderMedia::canHaveChildren):
1261
1262 2007-11-28  Mark Rowe  <mrowe@apple.com>
1263
1264         Windows build fix.
1265
1266         * WebCore.vcproj/WebCore.vcproj:
1267
1268 2007-11-28  Mark Rowe  <mrowe@apple.com>
1269
1270         Gtk build fix.
1271
1272         * WebCore.pro:
1273
1274 2007-11-28  Antti Koivisto  <antti@apple.com>
1275
1276         Reviewed by Oliver.
1277
1278         Make QTMovieView fill color transparent. This behavior matches the specification
1279         (and allows nice alpha blended video).
1280
1281         * platform/graphics/mac/MoviePrivateQTKit.mm:
1282         (WebCore::MoviePrivate::createQTMovieView):
1283
1284 2007-11-28  Antti Koivisto  <antti@apple.com>
1285
1286         Reviewed by Darin.
1287
1288         Test: media/video-controls.html
1289         
1290         <rdar://problem/5605668>
1291         Implement controls attribute for video element
1292         
1293         - Add RenderMedia and make RenderVideo its subclass. Controls code goes to RenderMedia while
1294           video specific (painting etc) code stays in RenderVideo. For example audio controls can be implemented
1295           later by just instantiating RenderMedia as renderer.
1296         - Make media renderer hierarchy inherit from RenderBlock instead of RenderReplaced so it can 
1297           have child nodes (for controls).
1298         - Controls are implemented as a shadow DOM.
1299         - Current look is a placeholder. It is defined purely in CSS.
1300         - Some things like volume controls are not yet implemented.
1301         - Fade-in/out is done manually, CSS animations don't work well in shadow trees.
1302           
1303         * WebCore.xcodeproj/project.pbxproj:
1304         * css/html4.css:
1305         * html/HTMLMediaElement.cpp:
1306         (WebCore::HTMLMediaElement::attributeChanged):
1307         (WebCore::HTMLMediaElement::updateMovie):
1308         (WebCore::HTMLMediaElement::defaultEventHandler):
1309         * html/HTMLMediaElement.h:
1310         * rendering/RenderMedia.cpp: Added.
1311         (WebCore::MediaControlShadowRootElement::MediaControlShadowRootElement):
1312         (WebCore::MediaControlShadowRootElement::isShadowNode):
1313         (WebCore::MediaControlShadowRootElement::shadowParentNode):
1314         (WebCore::MediaControlInputElement::MediaControlInputElement):
1315         (WebCore::MediaControlInputElement::attachToParent):
1316         (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement):
1317         (WebCore::MediaControlPlayButtonElement::inPausedState):
1318         (WebCore::MediaControlPlayButtonElement::defaultEventHandler):
1319         (WebCore::MediaControlPlayButtonElement::update):
1320         (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
1321         (WebCore::MediaControlTimelineElement::defaultEventHandler):
1322         (WebCore::MediaControlTimelineElement::update):
1323         (WebCore::RenderMedia::RenderMedia):
1324         (WebCore::RenderMedia::~RenderMedia):
1325         (WebCore::RenderMedia::mediaElement):
1326         (WebCore::RenderMedia::movie):
1327         (WebCore::RenderMedia::setStyle):
1328         (WebCore::RenderMedia::createControlsShadowRoot):
1329         (WebCore::RenderMedia::createPanel):
1330         (WebCore::RenderMedia::createPlayButton):
1331         (WebCore::RenderMedia::createTimeline):
1332         (WebCore::RenderMedia::createTimeDisplay):
1333         (WebCore::RenderMedia::updateFromElement):
1334         (WebCore::RenderMedia::updateControls):
1335         (WebCore::RenderMedia::timeUpdateTimerFired):
1336         (WebCore::RenderMedia::updateTimeDisplay):
1337         (WebCore::RenderMedia::updateControlVisibility):
1338         (WebCore::RenderMedia::changeOpacity):
1339         (WebCore::RenderMedia::opacityAnimationTimerFired):
1340         (WebCore::RenderMedia::forwardEvent):
1341         * rendering/RenderMedia.h: Added.
1342         (WebCore::RenderMedia::renderName):
1343         (WebCore::RenderMedia::isMedia):
1344         (WebCore::RenderMedia::intrinsicSize):
1345         * rendering/RenderObject.h:
1346         (WebCore::RenderObject::isMedia):
1347         * rendering/RenderVideo.cpp:
1348         (WebCore::RenderVideo::RenderVideo):
1349         (WebCore::RenderVideo::videoSizeChanged):
1350         (WebCore::RenderVideo::paintObject):
1351         (WebCore::RenderVideo::layout):
1352         (WebCore::RenderVideo::updateFromElement):
1353         (WebCore::RenderVideo::calcAspectRatioWidth):
1354         (WebCore::RenderVideo::calcAspectRatioHeight):
1355         * rendering/RenderVideo.h:
1356
1357 2007-11-28  Justin Garcia  <justin.garcia@apple.com>
1358
1359         Reviewed by Darin Adler.
1360
1361         <rdar://problem/5573879> GMail Beta: Crash in when undoing Remove Formating
1362         
1363         In the new beta, Google has added some custom code on top of our RemoveFormat
1364         to work around a bug where fully selected lists aren't removed.  This code corrupts
1365         the undo stack and causes crashes.  This change fixes two problems with RemoveFormat
1366         so that Google doesn't have to have any custom code. After checking this in I'll 
1367         work on bulletproofing the undo stack
1368
1369         * WebCore.xcodeproj/project.pbxproj: 
1370         * editing/CompositeEditCommand.cpp:
1371         (WebCore::CompositeEditCommand::insertLineBreak): Added this convenience method.
1372         (WebCore::CompositeEditCommand::inputText): Added code to select all inserted text, not
1373         just the last paragraph.  Added code to support an input string with '\n's.
1374         * editing/CompositeEditCommand.h:
1375         * editing/Editor.cpp:
1376         (WebCore::Editor::removeFormattingAndStyle): Moved code to its own EditCommand.
1377         * editing/RemoveFormatCommand.cpp: Added. Moved code from removeFormattingAndStyle here.
1378         (WebCore::RemoveFormatCommand::RemoveFormatCommand):
1379         (WebCore::RemoveFormatCommand::doApply): Added code to remove fully selected lists.
1380         * editing/RemoveFormatCommand.h: Added.
1381         (WebCore::RemoveFormatCommand::editingAction):
1382
1383 2007-11-28  Dan Bernstein  <mitz@apple.com>
1384
1385         Reviewed by Dave Hyatt.
1386
1387         - fix <rdar://problem/5612459> CrashTracer: [REGRESSION] 61 crashes in Safari at com.apple.WebCore: WebCore::AutoTableLayout::layout + 2046
1388
1389         Test: fast/table/empty-auto-column-zero-divide.html
1390
1391         * rendering/AutoTableLayout.cpp:
1392         (WebCore::AutoTableLayout::recalcColumn):
1393         (WebCore::AutoTableLayout::fullRecalc):
1394         (WebCore::AutoTableLayout::calcEffectiveWidth):
1395         (WebCore::AutoTableLayout::layout): When distributing the remaining
1396         width among columns, skip those whose effective (rather than
1397         specified) width is auto and contain only empty cells.
1398
1399 2007-11-28  Peter Kasting  <zerodpx@gmail.com>
1400
1401         Reviewed by Alp Toker.
1402
1403         http://bugs.webkit.org/show_bug.cgi?id=16169
1404         GIF decoder needs to set hasAlpha() correctly on subsequent frames.
1405         
1406         This also removes the workaround for this problem in
1407         ImageSourceCairo.cpp.
1408
1409         * platform/graphics/cairo/ImageSourceCairo.cpp:
1410         (WebCore::ImageSource::frameHasAlphaAtIndex):
1411         * platform/image-decoders/gif/GIFImageDecoder.cpp:
1412         (WebCore::GIFImageDecoder::initFrameBuffer):
1413
1414 2007-11-28  Dan Bernstein  <mitz@apple.com>
1415
1416         Reviewed by Darin Adler and Adam Roben.
1417
1418         - <rdar://problem/5057218> Reenable "recent searches" search field menu when menu is fully implemented
1419
1420         * platform/win/SearchPopupMenuWin.cpp:
1421         (WebCore::SearchPopupMenu::enabled): Changed to return true.
1422         (WebCore::autosaveKey): Added. Returns a preferences key for the
1423         autosave name by prefixing it with "com.apple.WebKit.searchField:".
1424         (WebCore::SearchPopupMenu::saveRecentSearches): Implemented.
1425         (WebCore::SearchPopupMenu::loadRecentSearches): Implemented.
1426
1427 2007-11-28  Alp Toker  <alp@atoker.com>
1428
1429         Reviewed by Mark Rowe.
1430
1431         http://bugs.webkit.org/show_bug.cgi?id=15689
1432         [GTK] Background of loading images is always black
1433
1434         frameHasAlphaAtIndex() exists only to allow optimization for cases we
1435         are certain the image can be blitted rather than composited.
1436
1437         Thus we need to be conservative, returning false only when we are
1438         absolutely certain there is no need for composited copying, and true
1439         otherwise.
1440
1441         CG doesn't even bother with this optimization at all and always
1442         returns true.
1443
1444         Patch includes a workaround for
1445           http://bugs.webkit.org/show_bug.cgi?id=16169
1446           GIF ImageDecoder hasAlpha() return value incorrect
1447
1448         * platform/graphics/cairo/ImageSourceCairo.cpp:
1449         (WebCore::ImageSource::frameHasAlphaAtIndex):
1450
1451 2007-11-27  Alp Toker  <alp@atoker.com>
1452
1453         Reviewed by Mark Rowe.
1454
1455         Install the JavaScriptCore headers as part of the GTK+ port.
1456
1457         * WebCore.pro:
1458
1459 2007-11-27  Beth Dakin  <bdakin@apple.com>
1460
1461         Reviewed by Oliver.
1462
1463         Fix for <rdar://problem/5616052> SVGs with width or height of 100% 
1464         hang when used as a background-image (16164)
1465
1466         * platform/graphics/svg/SVGImage.cpp:
1467         (WebCore::SVGImage::size): Use valueAsPercentage() for percents 
1468         instead of valueInSpecifiedUnits(). valueInSpecifiedUnits() 
1469         returns, for example, 50 for 50%, so multiplying percentages by the 
1470         default size of 300 x 150 led to ridiculously huge dimensions for 
1471         SVG images, and the subsequent hang. 
1472
1473 2007-11-27  Jon Honeycutt  <jhoneycutt@apple.com>
1474
1475         Reviewed by Adam.
1476
1477         Set haveRegisteredWindowClass when we register the window class.
1478
1479         * plugins/win/PluginViewWin.cpp:
1480         (WebCore::registerPluginView):
1481
1482 2007-11-27  Timothy Hatcher  <timothy@apple.com>
1483
1484         Reviewed by Sam Weinig.
1485
1486         Bug 16165: Dragging the inspector toolbar should move the window
1487         http://bugs.webkit.org/show_bug.cgi?id=16165
1488
1489         * page/inspector/DocumentPanel.js: Call the new drag functions, and cleanup code.
1490         * page/inspector/inspector.css: Only make the toolbar transparent in detached mode.
1491         * page/inspector/inspector.js: Call the new drag functions, and cleanup code. Add
1492           toolbar drag functions that move the window.
1493
1494 2007-11-27  Antti Koivisto  <antti@apple.com>
1495
1496         Reviewed by Mitz.
1497
1498         Small changes to make RenderSlider a bit more generic so it can be used in video controls.
1499
1500         * html/HTMLInputElement.cpp:
1501         (WebCore::HTMLInputElement::defaultEventHandler): Fix coordinates with forwarded events.
1502         * rendering/RenderSlider.cpp:
1503         (WebCore::HTMLSliderThumbElement::defaultEventHandler): Fix coordinates with forwarded events.
1504         (WebCore::RenderSlider::setStyle):
1505         (WebCore::RenderSlider::createThumbStyle): Copy thumb left and top from the orginal style so position does not reset.
1506         (WebCore::RenderSlider::mouseEventIsInThumb): Make this work with forwarded events.
1507         * rendering/RenderSlider.h:
1508
1509 2007-11-27  Antti Koivisto  <antti@apple.com>
1510
1511         Reviewed by Darin.
1512
1513         - Don't use hasPseudoId() optimization for pseudo styles used in shadow trees. These styles
1514           generally exist when asked for so the optimization does not do much. This reverses the continuing
1515           growth of the _pseudoBits bitfield in RenderStyle.
1516         - Add some pseudo elements for media controls
1517
1518         * css/CSSSelector.cpp:
1519         (WebCore::CSSSelector::extractPseudoType):
1520         * css/CSSSelector.h:
1521         (WebCore::CSSSelector::):
1522         * css/CSSStyleSelector.cpp:
1523         (WebCore::CSSStyleSelector::matchRulesForList):
1524         (WebCore::CSSStyleSelector::checkOneSelector):
1525         * rendering/RenderObject.cpp:
1526         (WebCore::RenderObject::getPseudoStyle):
1527         * rendering/RenderStyle.cpp:
1528         (WebCore::pseudoBit):
1529         (WebCore::RenderStyle::hasPseudoStyle):
1530         (WebCore::RenderStyle::setHasPseudoStyle):
1531         * rendering/RenderStyle.h:
1532         (WebCore::RenderStyle::):
1533
1534 2007-11-27  Timothy Hatcher  <timothy@apple.com>
1535
1536         Reviewed by Kevin McCullough.
1537
1538         Bug 16161: window.moveBy(0, 0) moves the window by -22px vertically
1539         http://bugs.webkit.org/show_bug.cgi?id=16161
1540
1541         Removed the "Adjust the window rect to be in the coordinate space of
1542         the screen rect" step which was always adding (0,22) to the window
1543         position (on the main screen). Instead, account for screen X and Y
1544         in the bottom and right constrain step.
1545
1546         Added more test cases to: fast/dom/Window/window-resize.html
1547
1548         * bindings/js/kjs_window.cpp:
1549         (KJS::adjustWindowRect):
1550
1551 2007-11-27  Timothy Hatcher  <timothy@apple.com>
1552
1553         Reviewed by Adam Roben.
1554
1555         * page/inspector/inspector.css: Make the text in the Network
1556         panel legend more readable.
1557
1558 2007-11-27  Timothy Hatcher  <timothy@apple.com>
1559
1560         Reviewed by Adam Roben.
1561
1562         Don't call setNeedsReapplyStylesInAllFrames if the
1563         authorAndUserStylesEnabled setting didn't change.
1564
1565         * page/Settings.cpp:
1566         (WebCore::Settings::setAuthorAndUserStylesEnabled):
1567
1568 2007-11-27  Alp Toker  <alp@atoker.com>
1569
1570         Fix potential broken build due to a missing DEPENDPATH.
1571
1572         * WebCore.pro:
1573
1574 2007-11-26  Timothy Hatcher  <timothy@apple.com>
1575
1576         Reviewed by Dave Hyatt.
1577
1578         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
1579
1580         * WebCore.base.exp: Add the Settings::setAuthorAndUserStylesEnabled symbol.
1581         * css/CSSStyleSelector.cpp:
1582         (WebCore::CSSStyleSelector::CSSStyleSelector): Add a new matchAuthorAndUserStyles parameter.
1583         (WebCore::CSSStyleSelector::styleForElement): Check m_matchAuthorAndUserStyles before
1584         matching user and author rules.
1585         (WebCore::CSSStyleSelector::pseudoStyleForElement): Ditto.
1586         (WebCore::CSSStyleSelector::styleRulesForElement): Ditto.
1587         * css/CSSStyleSelector.h: Add m_matchAuthorAndUserStyles and new constructor parameter.
1588         * dom/Document.cpp:
1589         (WebCore::Document::Document): Pass Settings::authorAndUserStylesEnabled to the CSSStyleSelector.
1590         (WebCore::Document::recalcStyleSelector): Skip collecting the author stylesheets if
1591         Settings::authorAndUserStylesEnabled is false, and pass that to the CSSStyleSelector.
1592         * page/Settings.cpp:
1593         (WebCore::Settings::Settings): Initialize m_authorAndUserStylesEnabled to true.
1594         (WebCore::Settings::setAuthorAndUserStylesEnabled): Recalc style in all the frames
1595         when the setting changes.
1596         * page/Settings.h: Add m_authorAndUserStylesEnabled.
1597         (WebCore::Settings::authorAndUserStylesEnabled): Return m_authorAndUserStylesEnabled.
1598
1599 2007-11-27  Alp Toker  <alp@atoker.com>
1600
1601         Reviewed by Mark Rowe.
1602
1603         Based on changes by Mike Emmel.
1604
1605         CURL HTTP backend local file fixes:
1606
1607         Set a MIME type for local files based on the file extension.
1608
1609         Remove any HTTP query part sent to a local file.
1610
1611         * platform/network/curl/ResourceHandleManager.cpp:
1612         (WebCore::ResourceHandleManager::startJob):
1613
1614 2007-11-26  Brady Eidson  <beidson@apple.com>
1615
1616         Reviewed by Mark Rowe
1617
1618         Allow setting the default storage quota per database origin
1619
1620         * WebCore.base.exp:
1621
1622         * page/Settings.cpp:
1623         (WebCore::Settings::setDefaultDatabaseOriginQuota):
1624         (WebCore::Settings::defaultDatabaseOriginQuota):
1625         * page/Settings.h:
1626
1627         * storage/DatabaseTracker.cpp:
1628         (WebCore::DatabaseTracker::DatabaseTracker):
1629         (WebCore::DatabaseTracker::setDefaultOriginQuota):
1630         (WebCore::DatabaseTracker::defaultOriginQuota):
1631         * storage/DatabaseTracker.h:
1632
1633 2007-11-26  Peter Kasting  <zerodpx@gmail.com>
1634
1635         Reviewed by Alp Toker.
1636
1637         http://bugs.webkit.org/show_bug.cgi?id=15974
1638         GIF decoding should respect frames' specified disposal methods.
1639
1640         * platform/image-decoders/ImageDecoder.h:
1641         (WebCore::RGBA32Buffer::):
1642         (WebCore::RGBA32Buffer::RGBA32Buffer):
1643         (WebCore::RGBA32Buffer::disposalMethod):
1644         (WebCore::RGBA32Buffer::setDisposalMethod):
1645         * platform/image-decoders/gif/GIFImageDecoder.cpp:
1646         (WebCore::GIFImageDecoder::frameBufferAtIndex):
1647         (WebCore::GIFImageDecoder::initFrameBuffer):
1648         (WebCore::GIFImageDecoder::prepEmptyFrameBuffer):
1649         (WebCore::GIFImageDecoder::haveDecodedRow):
1650         (WebCore::GIFImageDecoder::frameComplete):
1651         * platform/image-decoders/gif/GIFImageDecoder.h:
1652         * platform/image-decoders/gif/GIFImageReader.cpp:
1653         (GIFImageReader::read):
1654         * platform/image-decoders/gif/GIFImageReader.h:
1655         (GIFFrameReader::GIFFrameReader):
1656
1657 2007-11-26  Adam Roben  <aroben@apple.com>
1658
1659         Add a Color(CGColorRef) constructor
1660
1661         Reviewed by Darin.
1662
1663         * platform/graphics/Color.h:
1664         * platform/graphics/cg/ColorCG.cpp:
1665         (WebCore::Color::Color): Added.
1666
1667 2007-11-26  Adele Peterson  <adele@apple.com>
1668
1669         Reviewed by Darin.
1670
1671         Update to last change.  Moved addPendingSheet call to within nil check for m_cachedSheet.
1672
1673         * page/Frame.cpp:
1674         (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
1675
1676 2007-11-26  Adele Peterson  <adele@apple.com>
1677
1678         Reviewed by Darin.
1679
1680         Fix for <rdar://problem/5591583> CrashTracer: [USER] 157 in Mail crashes at -[WebCoreFrameBridge reapplyStylesForDeviceType:]
1681
1682         * page/Frame.cpp: Add nil checks since every other caller of requestCSSStyleSheet checks for nil.
1683         (WebCore::UserStyleSheetLoader::UserStyleSheetLoader):
1684         (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader):
1685
1686 2007-11-26  Mark Rowe  <mrowe@apple.com>
1687
1688         GCC 4.2 build fix.
1689
1690         * xml/XSLTUnicodeSort.cpp: Add another WTF_ATTRIBUTE_PRINTF.
1691
1692 2007-11-26  Feng Qian <ian.eng.webkit@gmail.com>
1693
1694         Reviewed and touched up by Sam Weinig.
1695
1696         Fix for http://bugs.webkit.org/show_bug.cgi?id=16073
1697
1698         Test: http/tests/security/xss-DENIED-invalid-domain-change.html
1699
1700         * dom/Document.cpp:
1701         (WebCore::Document::setDomain): Don't set the securityOrigin policy unless
1702         the set succeeds.  Adds some early returns as well.
1703
1704 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
1705
1706         Build fix.
1707
1708         * WebCore.vcproj/WebCore.make:
1709         * WebCore.vcproj/migrate-idls.sh:
1710
1711 2007-11-26  Sam Weinig  <sam@webkit.org>
1712
1713         Fix potential null-dereference.
1714
1715         Reviewed by Adam Roben.
1716
1717         * page/FrameTree.cpp:
1718         (WebCore::FrameTree::isDescendantOf):
1719
1720 2007-11-26  Sam Weinig  <sam@webkit.org>
1721
1722         Reviewed by Darin.
1723
1724         Fix for <rdar://problem/5592988>
1725         - Enforce tighter restrictions on what frames in other domains
1726           can be navigated.
1727
1728         Tests: http/tests/security/frameNavigation/xss-ALLOWED-parent-navigation-change.html
1729                http/tests/security/frameNavigation/xss-ALLOWED-targeted-subframe-navigation-change.html
1730
1731         * bindings/js/kjs_window.cpp:
1732         (KJS::Window::put):
1733         (KJS::Location::put):
1734         (KJS::LocationProtoFuncReplace::callAsFunction):
1735         (KJS::LocationProtoFuncAssign::callAsFunction):
1736         * loader/FrameLoader.cpp:
1737         (WebCore::FrameLoader::createWindow):
1738         (WebCore::FrameLoader::load):
1739         (WebCore::FrameLoader::shouldAllowNavigation): Move and update logic from canTarget().
1740         * loader/FrameLoader.h:
1741         * page/FrameTree.cpp:
1742         (WebCore::FrameTree::isDescendantOf): Make this O(1) in the case when both frames are not
1743         in the same page.
1744
1745 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
1746
1747         Build fix.
1748
1749         * WebCore.vcproj/migrate-idls.sh:
1750
1751 2007-11-26  Dan Bernstein  <mitz@apple.com>
1752
1753         Reviewed by Dave Hyatt.
1754
1755         - fix <rdar://problem/5609337> Making a float shorter does not remove it from the floating object list of a nested block it intruded into
1756
1757         Test: fast/dynamic/float-withdrawal-2.html
1758
1759         * rendering/RenderBlock.cpp:
1760         (WebCore::RenderBlock::layoutBlockChildren): When a float may have
1761         been withdrawn from a child, mark all descendants if necessary and not
1762         just the child.
1763
1764 2007-11-26  Steve Falkenburg  <sfalken@apple.com>
1765
1766         Build fix.
1767
1768         * WebCore.vcproj/MigrateIDLAndScripts: Copied from WebCore.vcproj/MigrateIDLAndScripts.make.
1769         * WebCore.vcproj/MigrateIDLAndScripts.make: Removed.
1770         * WebCore.vcproj/migrate-idls.sh:
1771
1772 2007-11-26  Brady Eidson  <beidson@apple.com>
1773
1774         Reviewed by Anders (and typo lovingly found by Adam)
1775
1776         Change Databases to be stored in a per-origin directory hierarchy - this will make
1777         storage quotas much easier to enforce
1778
1779         * platform/SecurityOriginData.cpp:
1780         (WebCore::SecurityOriginData::SecurityOriginData): Parse string based on '_' instead of ':'
1781         (WebCore::SecurityOriginData::stringIdentifier): Change to use '_' as a separator instead of ':'.  
1782           '_' still works due to not being allowed in domain names, but also is a valid filename character '
1783           on all filesystems we care about
1784
1785         * storage/DatabaseTracker.cpp:
1786         (WebCore::DatabaseTracker::fullPathForDatabase): Create a per-origin directory hierarchy to categorize
1787           databases by origin
1788
1789 2007-11-26  Timothy Hatcher  <timothy@apple.com>
1790
1791         Reviewed by Adam Roben.
1792
1793         Bug 16137: Web Inspector window on Leopard should have a unified toolbar and window title
1794         http://bugs.webkit.org/show_bug.cgi?id=16137
1795
1796         On Leopard the toolbar background will be transparent, to allow the
1797         window background to show through the transparent WebView. The 
1798         search results divs needed to move inside the "main" div, so they
1799         would be clipped and not show where the toolbar is.
1800
1801         * page/InspectorController.cpp:
1802         (WebCore::platform): Return a string for which platform we are.
1803         (WebCore::InspectorController::windowScriptObjectAvailable):
1804         Define the platform function on the JavaScript class.
1805         * page/inspector/Panel.js: Add panels to the panels div.
1806         * page/inspector/inspector.css: On the Leopard platform make
1807         the toolbar background transparent so the window background shows.
1808         * page/inspector/inspector.html: Add a panels div and move search
1809         result divs inside the main div.
1810         * page/inspector/inspector.js: Tweak the resize code to acount for
1811         the search results divs moving inside the main div.
1812
1813 2007-11-25  Rodney Dawes  <dobey@wayofthemonkey.com>
1814
1815         Reviewed by Maciej Stachowiak.
1816
1817         Remove the unneeded CFNETWORK #ifdefs.
1818
1819         * loader/NetscapePlugInStreamLoader.h:
1820
1821 2007-11-24  Laszlo Gombos  <laszlo.gombos@gmail.com>
1822
1823         Reviewed by Sam Weinig.
1824
1825         Add printf format attribute to several functions. Use the the new WTF_ATTRIBUTE_PRINTF define.
1826
1827         * dom/XMLTokenizer.cpp:
1828         * dom/XMLTokenizer.h:
1829         * platform/DeprecatedString.h:
1830         * platform/PlatformString.h:
1831
1832 2007-11-25  Dan Bernstein  <mitz@apple.com>
1833
1834         Reviewed by Adam Roben.
1835
1836         - fix off-center error images
1837
1838         Covered by many pixel tests with missing images
1839
1840         * rendering/RenderImage.cpp:
1841         (WebCore::RenderImage::paint): Account for the 1 pixel outline when
1842         positioning the error image.
1843
1844 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
1845
1846         wx build fix. Fix filename case for case-sensitive filesystems.
1847
1848         * WebCoreSources.bkl:
1849
1850 2007-11-22  Nikolas Zimmermann  <zimmermann@kde.org>
1851
1852         Reviewed by Adam Roben.
1853
1854         Fixes: http://bugs.webkit.org/show_bug.cgi?id=15564
1855
1856         Fix problems with hidden glyphs. They were taken into account for quite
1857         some operations (hit testing, length calulcations etc..) except painting.
1858         Especially fixes boundaries of <textPath> (see using Web Inspector) if
1859         text-anchor isn't equal to 'start'.
1860
1861         Added testcase:
1862         svg/text/textPathBoundsBug.svg
1863
1864         Fixed testcase: (all showed text selection problems on text paths)
1865         svg/batik/text/textGlyphOrientationHorizontal.svg
1866         svg/batik/text/textOnPath.svg
1867         svg/batik/text/textOnPath3.svg
1868         svg/batik/text/verticalTextOnPath.svg
1869         svg/text/text-align-04-b.svg
1870         svg/W3C-SVG-1.1/text-align-04-b.svg
1871
1872         * rendering/SVGCharacterLayoutInfo.cpp:
1873         (WebCore::SVGChar::isHidden):
1874         * rendering/SVGCharacterLayoutInfo.h:
1875         (WebCore::SVGCharOnPath::SVGCharOnPath):
1876         * rendering/SVGInlineTextBox.cpp:
1877         (WebCore::SVGInlineTextBoxClosestCharacterToPositionWalker::chunkPortionCallback):
1878         (WebCore::SVGInlineTextBoxSelectionRectWalker::chunkPortionCallback):
1879         * rendering/SVGRootInlineBox.cpp:
1880         (WebCore::topLeftPositionOfCharacterRange):
1881         (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback):
1882         (WebCore::cummulatedWidthOrHeightOfTextChunk):
1883         (WebCore::applyTextAnchorToTextChunk):
1884         (WebCore::applyTextLengthCorrectionToTextChunk):
1885         (WebCore::SVGRootInlineBox::layoutInlineBoxes):
1886         (WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox):
1887         (WebCore::SVGRootInlineBox::buildTextChunks):
1888
1889 2007-11-25  Alexey Proskuryakov  <ap@webkit.org>
1890
1891         Reviewed by Maciej.
1892
1893         http://bugs.webkit.org/show_bug.cgi?id=15919
1894         XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end
1895
1896         Test: fast/xsl/extra-lf-at-end.html
1897
1898         * xml/XSLTProcessor.cpp:
1899         (WebCore::writeToVector): Changed to use Vector to avoid slow String::apend().
1900         (WebCore::saveResultToString): Remove trailing line feed if present.
1901
1902 2007-11-24  Mark Rowe  <mrowe@apple.com>
1903
1904         Reviewed by Tim Hatcher.
1905
1906         Fix <rdar://problem/5432686> 333MB RPRVT seems to leak @ www.43folders.com (1hr plug-in stream).
1907         http://bugs.webkit.org/show_bug.cgi?id=13705
1908
1909         Don't buffer the entire stream contents in memory in the ResourceLoader.
1910
1911         * loader/mac/NetscapePlugInStreamLoaderMac.mm:
1912         (WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
1913         (WebCore::NetscapePlugInStreamLoader::didFinishLoading):
1914         * loader/mac/WebPlugInStreamLoaderDelegate.h:
1915
1916 2007-11-23  Adam Roben  <aroben@apple.com>
1917
1918         Get rid of WebCoreSystemInterface on Windows
1919
1920         The one function defined in that file is now in WebKitSystemInterface.
1921
1922         Reviewed by Tim.
1923
1924         * WebCore.vcproj/WebCore.vcproj: Removed
1925         WebCoreSystemInterface.{cpp,h}.
1926         * platform/graphics/cg/ImageCG.cpp: Made #include of
1927         WebCoreSystemInterface.h Mac-only.
1928         * platform/win/GraphicsContextWin.cpp: Ditto.
1929         * platform/win/WebCoreSystemInterface.cpp: Removed.
1930         * platform/win/WebCoreSystemInterface.h: Removed.
1931
1932 2007-11-24  Adam Roben  <aroben@apple.com>
1933
1934         Replace uses of %@ with %s in the inspector
1935
1936         Rubberstamped by Tim.
1937
1938         * English.lproj/InspectorLocalizedStrings.js: Changed %@ to %s.
1939         * page/inspector/DatabasePanel.js: Ditto.
1940         * page/inspector/StylesSidebarPane.js: Ditto.
1941         * page/inspector/inspector.js: Ditto.
1942         * page/inspector/utilities.js:
1943         (String.vsprintf): Removed @ as a format specifier.
1944
1945 2007-11-24  Adam Roben  <aroben@apple.com>
1946
1947         Windows build fix
1948
1949         Turn off the change made in r27984 on Windows for now.
1950
1951         * xml/XSLTProcessor.cpp:
1952         (WebCore::XSLTProcessor::transformToString):
1953         * xml/XSLTUnicodeSort.cpp:
1954
1955 2007-11-24  Timothy Hatcher  <timothy@apple.com>
1956
1957         Reviewed by Adam Roben.
1958
1959         Bug 16121: Web Inspector needs helper functions that pass a 'this' object to
1960         addEventListener and setTimeout
1961         http://bugs.webkit.org/show_bug.cgi?id=16121
1962
1963         Add Function.prototype.bind. This helper will return a wrapper function
1964         that will call the original function with the supplied arguments
1965         and using the supplied 'this' object.
1966
1967         * page/inspector/Database.js: Remove a use of setTimeout by
1968           inheriting some common functions from Resource.
1969         * page/inspector/DatabasePanel.js: Use the new bind function.
1970         * page/inspector/ConsolePanel.js: Ditto.
1971         * page/inspector/DocumentPanel.js: Ditto.
1972         * page/inspector/NetworkPanel.js: Ditto.
1973         * page/inspector/PropertiesSection.js: Ditto.
1974         * page/inspector/Resource.js: Ditto.
1975         * page/inspector/SidebarPane.js: Ditto.
1976         * page/inspector/inspector.html: Moved Database.js after Resource.js,
1977           now that Database.js uses it.
1978         * page/inspector/inspector.js: Use the new bind function. Also
1979           removed a setTimeout used for the localized strings code. There is
1980           now a load event listener added to the localized strings script
1981           element that will call WebInspector.loaded.
1982         * page/inspector/utilities.js: Add Function.prototype.bind.
1983
1984 2007-11-24  Timothy Hatcher  <timothy@apple.com>
1985
1986         Reviewed by Adam Roben.
1987
1988         Bug 16112: Some Web Inspector UI elements use offsetWidth and offsetHeight before the stylesheet loads
1989         http://bugs.webkit.org/show_bug.cgi?id=16112
1990
1991         In the places where we use offsetWidth and offsetHeight before
1992         the stylesheet loads there is now a check. If the body's
1993         offsetWidth is not greater than zero, then set a timeout
1994         to do the updates requiring the stylesheet later.
1995
1996         The three places this happened:
1997         - DOM tree selection highlight would show up at the wrong height
1998           when using Inspect Element to open the inspector.
1999         - DOM tree breadcrumbs would not collapse when using Inspect Element
2000           to open the inspector.
2001         - Network Timeline divider lines would not show when opening directly
2002           into the timeline.
2003
2004         * page/inspector/DocumentPanel.js: Check if the stylesheet loaded.
2005         * page/inspector/NetworkPanel.js: Ditto.
2006         * page/inspector/inspector.html: Include the stylesheet before
2007           any scripts, this will help get it loaded sooner.
2008
2009 2007-11-24  Kevin Ollivier  <kevino@theolliviers.com>
2010
2011         Add wx implementation for pathGetFilename
2012
2013         Reviewed by David D. Kilzer.
2014
2015         * html/HTMLFormElement.cpp:
2016         (WebCore::pathGetFilename):
2017
2018 2007-11-23  Timothy Hatcher  <timothy@apple.com>
2019
2020         Reviewed by Adam Roben.
2021
2022         Bug 16110: Clicking inside the resource headers in the network timeline collapses them
2023         http://bugs.webkit.org/show_bug.cgi?id=16110
2024
2025         Toggle the resource headers only if the click happens on the
2026         resource row, not within the headers area.
2027
2028         * WebCore.xcodeproj/project.pbxproj:
2029         * page/inspector/NetworkPanel.js:
2030
2031 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
2032
2033         Win build fixes. CURL needs winsock, so don't disable it, and
2034         include pthreads.h to get the threadsafe *_r functions.
2035
2036         Reviewed by Adam Roben.
2037
2038         * config.h:
2039         * loader/FTPDirectoryDocument.cpp:
2040         * loader/FTPDirectoryParser.cpp:
2041
2042 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
2043
2044         wx build fix. Move wx settings to project build settings,
2045         remove some old settings that were masking a build problem,
2046         and fix include ordering to ensure proper config.h and
2047         unicode/utf8.h headers are used. 
2048
2049         * webcore-base.bkl:
2050         * webcore-wx.bkl:
2051
2052 2007-11-23  Simon Hausmann  <hausmann@webkit.org>
2053
2054         Reviewed by George Staikos <staikos@kde.org>.
2055
2056         Another build fix specific to trunk (instead of the stable branch) to fix make clean (which the buildbots call).
2057
2058         * WebCore.pro:
2059
2060 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
2061
2062         Not reviewed, trivial leak fix.
2063
2064         Fix xsltUnicodeSortFunction() memory leaks.
2065
2066         * xml/XSLTUnicodeSort.cpp:
2067         (WebCore::xsltUnicodeSortFunction):
2068
2069 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
2070
2071         Reviewed by Maciej.
2072
2073         <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2074         not closed (affects digg.com)
2075
2076         Tests: fast/loader/meta-refresh-vs-open.html
2077                fast/loader/redirect-with-open-subframe-2.html
2078                fast/loader/redirect-with-open-subframe.html
2079                http/tests/loading/onload-vs-immediate-refresh.pl
2080
2081         * loader/FrameLoader.cpp:
2082         (WebCore::FrameLoader::scheduleRedirection): Only check whether the load is complete for
2083         HTTP redirects - JavaScript-initiated ones are effective immediately.
2084
2085 2007-11-23  Dan Bernstein  <mitz@apple.com>
2086
2087         Reviewed by Alexey Proskuryakov.
2088
2089         - apply matrix transforms on the correct side of the transformation
2090           matrix (not on the side where the vector is multiplied).
2091
2092         Test: fast/transforms/matrix-02.html
2093
2094         * rendering/RenderStyle.h:
2095         (WebCore::MatrixTransformOperation::apply):
2096
2097 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
2098
2099         Reviewed by Maciej.
2100
2101         http://bugs.webkit.org/show_bug.cgi?id=16077
2102         <rdar://problem/5609785> XSLT processor <xsl:sort> algorithm is incompatible with other
2103         browser implementations
2104
2105         Test: fast/xsl/sort-unicode.xml
2106
2107         * xml/XSLTProcessor.cpp:
2108         (WebCore::XSLTProcessor::transformToString): Set a custom sort function.
2109
2110         * xml/XSLTUnicodeSort.cpp: Added.
2111         (init_xsltTransformError):
2112         (xsltTransformError):
2113         (WebCore::xsltUnicodeSortFunction):
2114         * xml/XSLTUnicodeSort.h: Added.
2115         ICU-based implementation of xsl:sort, using an example from libxslt distribution.
2116         Only minimal coding style fixes to ease synchronization with upstream in the future.
2117
2118         * icu/unicode/ucol.h: Added.
2119         * icu/unicode/uset.h: Added.
2120         Taken from ICU 3.2
2121
2122         * WebCore.pro:
2123         * WebCore.vcproj/WebCore.vcproj:
2124         * WebCore.xcodeproj/project.pbxproj:
2125         * WebCoreSources.bkl:
2126         Added XSLTUnicodeSort.cpp.
2127
2128 2007-11-22  Alexey Proskuryakov  <ap@webkit.org>
2129
2130         Reviewed by Maciej.
2131
2132         http://bugs.webkit.org/show_bug.cgi?id=14977
2133         Hixie's DOM Core performance test shows insert >10x slower than append
2134
2135         Each invocation of Element.childNodes[n] was creating and registering a new ChildNodeList,
2136         which persisted and listened to notifications until GC.
2137
2138         A fix is to avoid registering child node lists for notifications - they don't need them, as
2139         they share a common cache in Node.
2140
2141         * dom/Node.cpp:
2142         (WebCore::Node::registerNodeList):
2143         (WebCore::Node::unregisterNodeList):
2144         (WebCore::Node::notifyLocalNodeListsAttributeChanged):
2145         (WebCore::Node::notifyLocalNodeListsChildrenChanged):
2146         * dom/NodeList.h:
2147         (WebCore::NodeList::needsNotifications):
2148
2149 2007-11-22  Dan Bernstein  <mitz@apple.com>
2150
2151         Reviewed by Antti Koivisto.
2152
2153         - fix http://bugs.webkit.org/show_bug.cgi?id=15811
2154           WebKit plug-ins can re-enter WebKit under attach()
2155           <rdar://problem/5577978>
2156
2157         Defer plug-in loading until after attach and recalcStyle using the
2158         post-attach callback mechanism. Netscape plug-ins are still loaded only
2159         after layout.
2160
2161         * dom/ContainerNode.cpp:
2162         Made NodeCallbackQueue elements retain the Node because callbacks might
2163         delete nodes that are in the callback queue.
2164         (WebCore::ContainerNode::suspendPostAttachCallbacks): Added. Needed to
2165         prevent post-attach callbacks from being dispatched under recalcStyle().
2166         (WebCore::ContainerNode::resumePostAttachCallbacks): Ditto.
2167         (WebCore::ContainerNode::dispatchPostAttachCallbacks): Factored out from
2168         attach().
2169         (WebCore::ContainerNode::attach):
2170         * dom/ContainerNode.h:
2171         * dom/Document.cpp:
2172         (WebCore::Document::recalcStyle): Added calls to
2173         suspendPostAttachCallbacks() and resumePostAttachCallbacks().
2174         * html/HTMLEmbedElement.cpp:
2175         (WebCore::HTMLEmbedElement::HTMLEmbedElement):
2176         (WebCore::HTMLEmbedElement::attach): Changed to queue the widget update
2177         for post-attach.
2178         (WebCore::HTMLEmbedElement::updateWidget): Added. Called by the
2179         post-attach callback.
2180         * html/HTMLEmbedElement.h: Added an m_needWidgetUpdate member needed to
2181         prevent a double update if another plug-in's post-attach updateWidget()
2182         triggers a layout which updates the widget before this plug-in's
2183         post-attach callback is invoked.
2184         (WebCore::HTMLEmbedElement::setNeedWidgetUpdate): Added a setter for
2185         m_needWidgetUpdate.
2186         * html/HTMLObjectElement.cpp:
2187         (WebCore::HTMLObjectElement::attach): Changed to queue the widget update
2188         for post-attach.
2189         (WebCore::HTMLObjectElement::updateWidget): Added. Called by the
2190         post-attach callback.
2191         * html/HTMLObjectElement.h:
2192         (WebCore::HTMLObjectElement::setNeedWidgetUpdate): Added a setter for
2193         m_needWidgetUpdate.
2194         * html/HTMLPlugInElement.cpp:
2195         (WebCore::HTMLPlugInElement::updateWidgetCallback): Added.
2196         * html/HTMLPlugInElement.h:
2197         (WebCore::HTMLPlugInElement::updateWidget):
2198         * rendering/RenderPartObject.cpp:
2199         (WebCore::RenderPartObject::updateWidget): Added calls to
2200         setNeedWidgetUpdate(false) so that if this method is called from
2201         FrameView::layout() during post-attach dispatch of another plug-in,
2202         it will not be called again when this plug-in's post-attach callback
2203         is dispatched.
2204         * rendering/RenderPartObject.h:
2205         (WebCore::RenderPartObject::updateWidget) Renamed argument to match
2206         the method definition.
2207
2208 2007-11-22  Timothy Hatcher  <timothy@apple.com>
2209
2210         Reviewed by Dan Bernstein.
2211
2212         Fix the Element.hasStyleClass and Element.removeStyleClass helpers
2213         to not find and replace substrings, but whole class names at the
2214         beginning or end of the string or surrounded by whitespace.
2215
2216         * page/inspector/utilities.js:
2217
2218 2007-11-22  Timothy Hatcher  <timothy@apple.com>
2219
2220         Revert part of my r27935 change that made the Tip balloons
2221         animate with CSS transitions. The balloon was only opacity 0,
2222         so it would cause its row to highlight when hovering over
2223         another row.
2224
2225         * page/inspector/NetworkPanel.js:
2226         * page/inspector/inspector.css:
2227
2228 2007-11-22  Dan Bernstein  <mitz@apple.com>
2229
2230         Reviewed by Maciej Stachowiak.
2231
2232         - fix http://bugs.webkit.org/show_bug.cgi?id=15943
2233           -webkit-transform matrix does not work
2234
2235         Test: fast/transforms/matrix-01.html
2236
2237         Parse all six matrix entries as numbers.
2238
2239         * css/CSSParser.cpp:
2240         (WebCore::TransformOperationInfo::TransformOperationInfo):
2241         (WebCore::CSSParser::parseTransform):
2242         * css/CSSStyleSelector.cpp:
2243         (WebCore::CSSStyleSelector::applyProperty):
2244         * rendering/RenderStyle.cpp:
2245         (WebCore::MatrixTransformOperation::blend):
2246         * rendering/RenderStyle.h:
2247         (WebCore::MatrixTransformOperation::MatrixTransformOperation):
2248         (WebCore::MatrixTransformOperation::apply):
2249
2250 2007-11-22  Laszlo Gombos  <laszlo.gombos@gmail.com>
2251
2252         Reviewed by Alp Toker.
2253
2254         Fix some compilation warnings.  Do not reference undefined (platform) specific type (WebCore::CachedFont::m_fontData)
2255
2256         * loader/CachedFont.cpp:
2257         (WebCore::CachedFont::~CachedFont):
2258         (WebCore::CachedFont::allReferencesRemoved):
2259
2260 2007-11-22  Alp Toker  <alp@atoker.com>
2261
2262         Reviewed by Mark Rowe.
2263
2264         GTK+ drawing fix.
2265
2266         Add a check to avoid crashing when the GraphicsContext is not
2267         associated with a GdkEventExpose. This was noticed when adding
2268         printing support but might be triggered in other situations too.
2269
2270         * platform/gtk/WidgetGtk.cpp:
2271         (WebCore::Widget::paint):
2272
2273 2007-11-22  Julien Chaffraix  <julien.chaffraix@gmail.com>
2274
2275         Reviewed by Alexey.
2276
2277         Bug 15530: XMLHttpRequest should not support certain methods
2278
2279         Test: http/tests/xmlhttprequest/xmlhttprequest-forbidden-methods-exception.html
2280
2281         * xml/XMLHttpRequest.cpp:
2282         (WebCore::XMLHttpRequest::open):
2283
2284 2007-11-22  Simon Hausmann  <hausmann@kde.org>
2285
2286         Reviewed by George.
2287
2288         For the build inside Qt include qbase.pri and don't duplicate what qbase.pri otherwise does (install targets, etc.)
2289
2290         * WebCore.pro:
2291
2292 2007-11-22  Simon Hausmann  <hausmann@kde.org>
2293
2294         Reviewed by George.
2295
2296         Don't set OBJECTS_DIR when building inside Qt
2297
2298         * WebCore.pro:
2299
2300 2007-11-22  Simon Hausmann  <hausmann@kde.org>
2301
2302         Reviewed by George.
2303
2304         Use ../generated as path for the generated sources for builds inside Qt
2305
2306         * WebCore.pro:
2307
2308 2007-11-22  Simon Hausmann  <hausmann@kde.org>
2309
2310         Reviewed by George.
2311
2312         Make the directory of where to put the generated sources configurable through the GENERATED_SOURCE_DIR variable
2313
2314         * WebCore.pro:
2315
2316 2007-11-22  Simon Hausmann  <hausmann@kde.org>
2317
2318         Reviewed by George.
2319
2320         Centralize the setup for all the extra compilers in a addExtraCompiler function.
2321         
2322         This allows adding a "generated_files" target that builds all generated files using "make generated_files".
2323         For the build inside Qt we do not generate actual rules for the extra compilers but instead
2324         do the variable substitution of compiler.output manually and add the generated sources to SOURCES.
2325
2326         * WebCore.pro:
2327
2328 2007-11-21  Timothy Hatcher  <timothy@apple.com>
2329
2330         Reviewed by Eric Seidel.
2331
2332         Show Fonts as Yellow in the network timeline.
2333
2334         * page/inspector/NetworkPanel.js:
2335         * page/inspector/inspector.css:
2336
2337 2007-11-21  Dan Bernstein  <mitz@apple.com>
2338
2339         Reviewed by Eric Seidel.
2340
2341         - fix <rdar://problem/5607037> REGRESSION (r27351): Departure date does not repaint when changed on Google Maps public transit planner (16034)
2342
2343         Test: fast/repaint/subtree-root-skipped.html
2344
2345         * page/FrameView.cpp:
2346         (WebCore::FrameViewPrivate::FrameViewPrivate): Initialize the layout
2347         root to 0.
2348         (WebCore::FrameView::layoutRoot): Changed to return a RenderObject
2349         instead of a Node.
2350         (WebCore::FrameView::layout): Changed for layout root being a renderer
2351         rather than a DOM node. Also replaced clearing the repaint rects
2352         set with asserting that it is empty if this is the top-level call to
2353         layout(). If it is not, the set may contain rects from enclosing
2354         layout() and those should not be removed.
2355         (WebCore::FrameView::scheduleRelayout): Changed for layout root being
2356         a renderer rather than a DOM node.
2357         (WebCore::isObjectAncestorContainerOf): Added this helper function that
2358         tests whether one object will be marked by calling
2359         markContainingBlocksForLayout() on the other.
2360         (WebCore::FrameView::scheduleRelayoutOfSubtree): Changed for layout
2361         root being a renderer rather than a DOM node. Changed the check if new
2362         and current layout roots are on the same path from the root to use
2363         the subgraph of the render tree defined by container()hood instead of
2364         the DOM tree and parenthood.
2365         * page/FrameView.h:
2366         * rendering/RenderBox.cpp: 
2367         (WebCore::RenderBox::calcWidth): Changed for layout root being a
2368         renderer rather than a DOM node.
2369         * rendering/RenderObject.cpp:
2370         (WebCore::RenderObject::~RenderObject): Added an assertion that the
2371         object being deleted is not currently the layout root.
2372         (WebCore::RenderObject::scheduleRelayout): Changed for layout root being
2373         a renderer rather than a DOM node.
2374
2375 2007-11-21  Mark Rowe  <mrowe@apple.com>
2376
2377         Reviewed by Eric.
2378
2379         Fix WebCore to build without warnings under GCC 4.2.
2380
2381         * Configurations/Base.xcconfig:
2382         * css/CSSRuleList.cpp:
2383         (WebCore::CSSRuleList::deleteRule):
2384         * css/CSSStyleSelector.cpp:
2385         (WebCore::CSSStyleSelector::locateSharedStyle):
2386         * html/HTMLParser.cpp:
2387         (WebCore::HTMLParser::allowNestedRedundantTag):
2388         * rendering/RenderBlock.cpp:
2389         (WebCore::RenderBlock::fillInlineSelectionGaps):
2390         (WebCore::RenderBlock::fillBlockSelectionGaps):
2391         * rendering/RenderLayer.cpp:
2392         (WebCore::RenderLayer::stackingContext):
2393         (WebCore::RenderLayer::enclosingPositionedAncestor):
2394         (WebCore::RenderLayer::transparentAncestor):
2395         * rendering/RenderStyle.cpp:
2396         (WebCore::BackgroundLayer::fillUnsetProperties):
2397         (WebCore::Transition::fillUnsetProperties):
2398         * rendering/RenderText.cpp:
2399         (WebCore::RenderText::containsOnlyWhitespace):
2400         * rendering/bidi.cpp:
2401         (WebCore::RenderBlock::determineStartPosition):
2402
2403 2007-11-21  Alp Toker  <alp@atoker.com>
2404
2405         Reviewed by Mark Rowe.
2406
2407         http://bugs.webkit.org/show_bug.cgi?id=16071
2408         Curl backend handles EINTR incorrectly
2409
2410         Defer timers during select() to avoid interruption by timer signals.
2411
2412         * platform/network/curl/ResourceHandleManager.cpp:
2413         (WebCore::ResourceHandleManager::downloadTimerCallback):
2414
2415 2007-11-21  Mark Rowe  <mrowe@apple.com>
2416
2417         Reviewed by Tim Hatcher.
2418
2419         Changes due to <rdar://problem/5602936> Need to resolve new GCC 4.2 warnings
2420
2421         Update format strings to use format specifiers that match the argument types.
2422
2423         * loader/icon/IconDatabase.cpp:
2424         (WebCore::IconDatabase::performURLImport):
2425         (WebCore::IconDatabase::writeToDatabase):
2426         * platform/mac/TextCodecMac.cpp:
2427         (WebCore::TextCodecMac::decode):
2428         * storage/Database.cpp:
2429         (WebCore::Database::deliverAllPendingCallbacks):
2430
2431 2007-11-21  Xan Lopez  <xan@gnome.org>
2432
2433         Reviewed by Alp Toker.
2434
2435         Clarify scroll event processing with a comment.
2436
2437         * platform/gtk/PlatformScrollBarGtk.cpp:
2438         (gtkScrollEventCallback):
2439
2440 2007-11-21  Timothy Hatcher  <timothy@apple.com>
2441
2442         Reviewed by Adam Roben.
2443
2444         Bug 16085: Web Inspector's Network Timeline graph code clean up and misc. fixes
2445         http://bugs.webkit.org/show_bug.cgi?id=16085
2446         
2447         Changes include:
2448         - Refactor the drawing code as nested functions instead of global functions.
2449         - Compute the segment percentages only once per call to drawSummaryGraph.
2450         - Account for percentages that rounded down to total less-than 100%.
2451         - Draw the pill shadow better using the canvas shadow drawing properties.
2452         - Removes a couple canvas context saves and restores.
2453
2454         * page/inspector/NetworkPanel.js:
2455
2456 2007-11-21  Alexey Proskuryakov  <ap@webkit.org>
2457
2458         Reviewed by Adam Roben.
2459
2460         http://bugs.webkit.org/show_bug.cgi?id=16056
2461         Unicode not being interpreted correctly in Web Inspector source view
2462
2463         Cannot be tested automatically.
2464
2465         * loader/CachedCSSStyleSheet.cpp:
2466         (WebCore::CachedCSSStyleSheet::encoding):
2467         * loader/CachedCSSStyleSheet.h:
2468         * loader/CachedResource.h:
2469         (WebCore::CachedResource::encoding):
2470         * loader/CachedScript.cpp:
2471         (WebCore::CachedScript::encoding):
2472         * loader/CachedScript.h:
2473         * loader/CachedXBLDocument.cpp:
2474         (WebCore::CachedXBLDocument::encoding):
2475         * loader/CachedXBLDocument.h:
2476         * loader/CachedXSLStyleSheet.cpp:
2477         (WebCore::CachedXSLStyleSheet::encoding):
2478         * loader/CachedXSLStyleSheet.h:
2479         Teach textual CachedResources to report their encodings.
2480
2481         * page/InspectorController.cpp:
2482         (WebCore::addSourceToFrame):
2483         (WebCore::updateResourceResponse):
2484         Use the actual encoding - the network layer has little idea about it.
2485
2486 2007-11-20  Mark Rowe  <mrowe@apple.com>
2487
2488         Reviewed by Maciej Stachowiak.
2489
2490         Fix <rdar://problem/5609579> (DOMParser().parseFromString() freezes Safari when parsing large nodes with XML entities)
2491         http://bugs.webkit.org/show_bug.cgi?id=16076
2492
2493         XMLTokenizer was calling CharacterData::appendData twice per entity in the fragment of XML being
2494         parsed (once for text before the entity, once for the entity itself).  This triggered O(n^2) copying
2495         of the CharacterData's string due to resizing.  We now prevent this happening by buffering all the
2496         content for a given Text node in the XMLTokenizer before sending it out to the node in a single go.
2497
2498         * dom/XMLTokenizer.cpp:
2499         (WebCore::XMLTokenizer::characters): Append the characters to the buffer.
2500         (WebCore::XMLTokenizer::endDocument): Ensure the buffer is flushed when the document has ended.
2501         (WebCore::endDocumentHandler):
2502         (WebCore::XMLTokenizer::enterText):
2503         (WebCore::XMLTokenizer::exitText): Append the contents of the buffer to the node.
2504         (WebCore::XMLTokenizer::initializeParserContext): Add the endDocument handler.
2505         (WebCore::parseXMLDocumentFragment): Force endDocument to be called when parsing a fragment to ensure
2506         that the buffer gets flushed to the node.
2507         * dom/XMLTokenizer.h:
2508
2509 2007-11-20  Timothy Hatcher  <timothy@apple.com>
2510
2511         Reviewed by Mark Rowe.
2512
2513         Animate the status area and tip balloons in the Web Inspector
2514         with CSS animations.
2515
2516         * page/inspector/NetworkPanel.js:
2517         * page/inspector/inspector.css:
2518         * page/inspector/inspector.js:
2519
2520 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
2521
2522         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
2523         it indiscriminately copies any headers inside JavaScriptCore,
2524         which includes Tiger ICU headers. 
2525
2526         * webcore-base.bkl:
2527         Remove references to the WebCore/include dir generated by
2528         move-js-headers.sh, and also get headers from JavaScriptCore
2529         directly rather than from WebCore/ForwardingHeaders. 
2530
2531 2007-11-20  Alp Toker  <alp@atoker.com>
2532
2533         Reviewed by Mark Rowe.
2534
2535         Avoid pointlessly mallocing and freeing this transform matrix.
2536
2537         * platform/gtk/FontPlatformDataGtk.cpp:
2538         (WebCore::FontPlatformData::FontPlatformData):
2539
2540 2007-11-20  Naiem Shaik  <naiem.shaik@gmail.com>
2541
2542         Reviewed by Alp Toker.
2543
2544         http://bugs.webkit.org/show_bug.cgi?id=15763
2545         [GTK] Enter key does not take to the link highlighted.
2546
2547         Add missing keycode cases.
2548
2549         * platform/gtk/KeyEventGtk.cpp:
2550         (WebCore::keyIdentifierForGdkKeyCode):
2551         (WebCore::windowsKeyCodeForKeyEvent):
2552         (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
2553
2554 2007-11-20  Mark Rowe  <mrowe@apple.com>
2555
2556         Reviewed by Sam Weinig.
2557
2558         Fix http://bugs.webkit.org/show_bug.cgi?id=16074
2559         Bug 16074: execCommand("InsertHorizontalRule", false, "") results in id="" being inserted
2560
2561         For consistency with InsertOrderedList and InsertUnorderedList a value parameter of "" should
2562         not result in an id being set.
2563
2564         * editing/JSEditor.cpp: Don't set the id attribute if value is empty.
2565
2566 2007-11-20  Dan Bernstein  <mitz@apple.com>
2567
2568         Reviewed by Adam Roben.
2569
2570         - fix <rdar://problem/5090708> Textareas render broken-looking scrollbars when too short to show full scrollbar
2571
2572         * platform/win/PlatformScrollBar.h:
2573         * platform/win/PlatformScrollBarSafari.cpp:
2574         Added the "hit inset" constants (representing how far the track eats
2575         into the button).
2576         (WebCore::PlatformScrollbar::paint): Changed to paint the buttons and
2577         the thumb only if they should be showing.
2578         (WebCore::PlatformScrollbar::hasButtons): Added. Returns whether the
2579         arrows should be drawn.
2580         (WebCore::PlatformScrollbar::hasThumb): Added. Returns whether the thumb
2581         should be drawn.
2582         (WebCore::PlatformScrollbar::forwardButtonRect):
2583         (WebCore::PlatformScrollbar::trackRect): Changed to return the entire
2584         bounds of the scrollbar if the scrollbar has no buttons.
2585         (WebCore::PlatformScrollbar::paintTrack): Changed to paint a disabled
2586         track along the entire scrollbar if it has not buttons.
2587         (WebCore::PlatformScrollbar::hitTest): Changed to hit test only the
2588         parts that the scrollbar has in its current dimensions.
2589
2590 2007-11-20  Mark Rowe  <mrowe@apple.com>
2591
2592         Reviewed by Alp Toker.
2593
2594         * config.h: Change #if to #ifdef to silence warnings on non-Apple platforms.
2595
2596 2007-11-20  Simon Hausmann  <hausmann@kde.org>
2597
2598         Reviewed by Adam Treat <treat@kde.org>.
2599
2600         Remove static linkage of QtWebKit against the ICO image format plugin.
2601         Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
2602
2603         * WebCore.pro:
2604         * platform/graphics/qt/ImageDecoderQt.cpp:
2605
2606 2007-11-20  David D. Kilzer  <ddkilzer@webkit.org>
2607
2608         no-svg build broken after r27278
2609         <http://bugs.webkit.org/show_bug.cgi?id=16061>
2610
2611         Reviewed by Eric.
2612
2613         * bindings/scripts/CodeGeneratorObjC.pm: Always generate DOMHTMLEmbedElementPrivate.h
2614         and DOMHTMLObjectElementPrivate.h for no-svg build.
2615
2616 2007-11-20  Adam Treat  <treat@kde.org>
2617
2618         Reviewed by Simon.
2619
2620         * Don't use so much heap memory.
2621
2622         * platform/graphics/qt/ImageDecoderQt.cpp:
2623         * platform/graphics/qt/ImageDecoderQt.h:
2624         * platform/graphics/qt/ImageSourceQt.cpp:
2625         (WebCore::ImageSource::createFrameAtIndex):
2626
2627 2007-11-20  Lars Knoll  <lars@trolltech.com>
2628
2629         Reviewed by Simon.
2630
2631         Fix text break interators.
2632         
2633         The break iterators where trying to be smart about the input
2634         string and caching their results. Unfortunately a pointer/string length
2635         comparison is not good enough in all cases (since some input is stack based
2636         temp strings). Removed the caching but at the same time started to use a more
2637         efficient constructor of QTextBoundaryFinder that doesn't need to malloc for
2638         most strings.
2639         
2640         Fixes two test cases that test "text-transform: capitalize".
2641
2642         * platform/qt/TextBreakIteratorQt.cpp:
2643         (WebCore::wordBreakIterator):
2644         (WebCore::characterBreakIterator):
2645         (WebCore::lineBreakIterator):
2646         (WebCore::sentenceBreakIterator):
2647
2648 2007-11-20  Adam Treat  <treat@kde.org>
2649
2650         Reviewed by George.
2651
2652         * Make gif animations work for instance.
2653
2654         * platform/graphics/qt/ImageDecoderQt.cpp:
2655         (WebCore::ImageDecoderQt::reset):
2656         (WebCore::ImageDecoderQt::setData):
2657         (WebCore::ImageDecoderQt::frameCount):
2658         (WebCore::ImageDecoderQt::repetitionCount):
2659         * platform/graphics/qt/ImageDecoderQt.h:
2660
2661 2007-11-20  Adam Treat  <treat@kde.org>
2662
2663         * Build in release mode
2664
2665         * platform/NotImplemented.h:
2666
2667 2007-11-20  Adam Treat  <treat@kde.org>
2668
2669         Reviewed by Simon and George.
2670
2671         * Be quiet and allow suppression of NotImplemented calls at runtime.
2672
2673         * platform/NotImplemented.h:
2674
2675 2007-11-19  Doug Turner  <dougt@meer.net>
2676
2677         Reviewed by Alp Toker.
2678
2679         http://bugs.webkit.org/show_bug.cgi?id=16054
2680         Crash when GlyphPage::fill is called with more than 256 bytes of data
2681
2682         http://bugs.webkit.org/show_bug.cgi?id=14446
2683         [GDK] Crash on http://www.wikipedia.org/
2684
2685         setGlyphDataForIndex() uses a fixed array of size 256 which we can't
2686         exceed. We need to return failure if the buffer has Unicode
2687         supplementary characters for now.
2688
2689         This strategy matches the Win port, which also doesn't support this
2690         case yet.
2691
2692         Add an assertion so nobody makes this mistake again.
2693
2694         * platform/GlyphPageTreeNode.h:
2695         (WebCore::GlyphPage::setGlyphDataForIndex):
2696         * platform/gtk/GlyphPageTreeNodeGtk.cpp:
2697         (WebCore::GlyphPage::fill):
2698
2699 2007-11-19  Doug Turner  <dougt@meer.net>
2700
2701         Reviewed by Timothy Hatcher.
2702
2703         http://bugs.webkit.org/show_bug.cgi?id=16050
2704         sqlite3_prepare16_v2 build bustage.
2705
2706         Using the correct SQLITE_VERSION_NUMBER around sqlite_prepare16_v2
2707         to fix build bustage.
2708
2709         * platform/sql/SQLiteStatement.cpp:
2710         (WebCore::SQLiteStatement::prepare):
2711
2712 2007-11-19  Mark Rowe  <mrowe@apple.com>
2713
2714         Build fix.  Don't over-qualify the constructor name.
2715
2716         * storage/DatabaseDetails.h:
2717
2718 2007-11-19  Brady Eidson <beidson@apple.com>
2719
2720         Reviewed by Maciej
2721
2722         Stub out the WebCore parts of the WebKit API
2723
2724         * WebCore.base.exp:
2725         * WebCore.xcodeproj/project.pbxproj:
2726
2727         * storage/DatabaseDetails.h: Added.  Simple container for vitals on a specific database
2728         (WebCore::DatabaseDetails::DatabaseDetails::DatabaseDetails):
2729         (WebCore::DatabaseDetails::DatabaseDetails):
2730         (WebCore::DatabaseDetails::isValid):
2731         (WebCore::DatabaseDetails::name):
2732         (WebCore::DatabaseDetails::version):
2733         (WebCore::DatabaseDetails::displayName):
2734         (WebCore::DatabaseDetails::expectedUsage):
2735         (WebCore::DatabaseDetails::currentUsage):
2736
2737         * storage/DatabaseTracker.cpp:  Added various methods for API usage
2738         (WebCore::DatabaseTracker::detailsForNameAndOrigin):
2739         (WebCore::DatabaseTracker::usageForOrigin):
2740         (WebCore::DatabaseTracker::quotaForOrigin):
2741         (WebCore::DatabaseTracker::setQuota):
2742         * storage/DatabaseTracker.h:
2743
2744 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
2745
2746         wx port build fix.
2747
2748         * platform/graphics/wx/AffineTransformWx.cpp:
2749         (WebCore::AffineTransform::operator== ):
2750         m_transform is only available when using wxGraphicsContext.
2751
2752 2007-11-19  Alp Toker  <alp@atoker.com>
2753
2754         Reviewed by Mark Rowe.
2755
2756         GTK+ drawing fixes.
2757
2758         Add a check to avoid crashing when the GraphicsContext is not
2759         associated with a GdkDrawable. This was noticed when adding printing
2760         support but might be triggered in other situations too.
2761
2762         Do not render themes when painting is disabled. This is an
2763         optimisation for cases where GraphicsContext is used to calculate page
2764         dimensions etc. without actually rendering.
2765
2766         * platform/graphics/cairo/GraphicsContextCairo.cpp:
2767         (WebCore::GraphicsContext::gdkDrawable):
2768         * platform/gtk/RenderThemeGtk.cpp:
2769         (WebCore::paintMozWidget):
2770
2771 2007-11-13  Rahul Abrol  <ra5ul@comcast.net>
2772
2773         Reviewed by Tim Hatcher.
2774
2775         http://bugs.webkit.org/show_bug.cgi?id=15977
2776         Resizing images preference now toggles default image state.
2777
2778         * loader/ImageDocument.cpp:
2779         (WebCore::ImageDocument::ImageDocument):
2780         (WebCore::ImageDocument::createDocumentStructure):
2781         (WebCore::ImageDocument::imageChanged):
2782
2783 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
2784
2785         Update wx port build sources with recent changes, update
2786         wx FontPlatformData to be a class (MSVC7 gets confused
2787         otherwise...) and implement its hash() method.
2788
2789         Reviewed by Adam.
2790
2791         * WebCoreSources.bkl:
2792         * platform/wx/FontPlatformData.h:
2793         (WebCore::FontPlatformData::hash):
2794
2795 2007-11-19  Julien Chaffraix  <julien.chaffraix@gmail.com>
2796
2797         Reviewed by Darin.
2798
2799         http://bugs.webkit.org/show_bug.cgi?id=12194
2800         Bug 12194: Trying to access XMLHttpRequest.responseText or responseXML when they 
2801         are not available should raise an exception
2802
2803         Tests: http/tests/xmlhttprequest/xmlhttprequest-responseText-exception.html
2804                http/tests/xmlhttprequest/xmlhttprequest-responseXML-exception.html
2805
2806         * bindings/js/JSXMLHttpRequest.cpp:
2807         (KJS::JSXMLHttpRequest::getValueProperty):
2808         * xml/XMLHttpRequest.cpp:
2809         (WebCore::XMLHttpRequest::getResponseText):
2810         (WebCore::XMLHttpRequest::getResponseXML):
2811         * xml/XMLHttpRequest.h:
2812
2813 2007-11-19  Peter Kasting  <zerodpx@gmail.com>
2814
2815         Reviewed by Darin Adler.
2816
2817         http://bugs.webkit.org/show_bug.cgi?id=15971
2818         The GIF decoder should not fail decoding if the caller asks it to
2819         decode again when no new data has arrived since the last call.
2820
2821         * platform/image-decoders/gif/GIFImageReader.cpp:
2822         (GIFImageReader::read):
2823
2824 2007-11-18  Brady Eidson <beidson@apple.com>
2825
2826         Reviewed by Eric
2827
2828         Fix a crash hashing a default SecurityOriginData object 
2829
2830         * storage/DatabaseTracker.cpp:
2831         (WebCore::SecurityOriginDataHash::hash): The default object has some default strings with NULL
2832           StringImpls - don't try to hash those!
2833
2834 2007-11-18  Timothy Hatcher  <timothy@apple.com>
2835
2836         Reviewed by Sam Weinig.
2837
2838         Bug 16043: Remove InspectorController.log now that console.log works
2839         http://bugs.webkit.org/show_bug.cgi?id=16043
2840
2841         Remove the last uses of InspectorController.log. Once use was no longer needed,
2842         checking an erro case that can't happen anymore. The other case now uses console.error.
2843
2844         * page/InspectorController.cpp: Remove the log function.
2845         (WebCore::InspectorController::windowScriptObjectAvailable): Remove the log function from
2846         InspectorController script class.
2847         * page/inspector/DocumentPanel.js: Remove a use of InspectorController.log that isn't needed.
2848         * page/inspector/Panel.js: Change InspectorController.log to console.log and early return.
2849
2850 2007-11-18  Timothy Hatcher  <timothy@apple.com>
2851
2852         Reviewed by Brady.
2853
2854         Bug 16041: REGRESSION: the Database panel in the Inspector stopped showing errors
2855         http://bugs.webkit.org/show_bug.cgi?id=16041
2856
2857         * page/inspector/DatabasePanel.js: Implement error callbacks to pass to executeSql()
2858           and transaction(). Refactored some code for the success and error callbacks to use.
2859
2860 2007-11-18  Alexey Proskuryakov  <ap@webkit.org>
2861
2862         Reviewed by Maciej.
2863
2864         <rdar://problem/5546393> Whitespace handling doesn't match HTML5.
2865
2866         HTML5 definition is the same as MSIE's, with the exception that the latter strips null
2867         characters. Firefox also treats U+0008 as whitespace, but not U+000B or U+000C.
2868
2869         Test: fast/parser/html-whitespace.html
2870
2871         * html/HTMLTokenizer.cpp:
2872         (WebCore::HTMLTokenizer::parseSpecial):
2873         (WebCore::HTMLTokenizer::parseTag):
2874         Use isASCIISpace, which matches HTML5 definition of whitespace, and also what we use to
2875         check for whitespace almost everywhere.
2876
2877 2007-11-17  Mark Rowe  <mrowe@apple.com>
2878
2879         Reviewed by Darin Adler.
2880
2881         Fix: <rdar://problem/5607032> REGRESSION: testapi exits with assertion failure in debug build
2882              <rdar://problem/5440659> JSGlobalContextCreate throws away globalObjectClass's prototype
2883              http://bugs.webkit.org/show_bug.cgi?id=16033
2884
2885         Update for changes in Interpreter method signatures.
2886
2887         * bindings/js/kjs_binding.cpp:
2888         (KJS::ScriptInterpreter::ScriptInterpreter):
2889         * bindings/js/kjs_window.cpp:
2890         (KJS::Window::clear):
2891
2892 2007-11-17  Timothy Hatcher  <timothy@apple.com>
2893
2894         Reviewed by Mark Rowe.
2895
2896         Bug 13470: i18n: The Web Inspector is not localizable
2897         http://bugs.webkit.org/show_bug.cgi?id=13470
2898
2899         Add support for localization to the Web Inspector. Clients need to
2900         implement localizedStringsURL() to return the URL of the
2901         InspectorLocalizedStrings.js that best matches the user's language.
2902
2903         * English.lproj: Added.
2904         * English.lproj/InspectorLocalizedStrings.js: Added.
2905         * WebCore.xcodeproj/project.pbxproj: Add InspectorLocalizedStrings.js.
2906         * page/InspectorClient.h: Add localizedStringsURL.
2907         * page/InspectorController.cpp: Add localizedStringsURL that calls
2908           the client. Also added a version exposed to JavaScript.
2909         * page/InspectorController.h: Add localizedStringsURL.
2910         * page/inspector/ConsolePanel.js: Call WebInspector.UIString
2911           for user visible strings.
2912         * page/inspector/DatabasePanel.js: Ditto.
2913         * page/inspector/DocumentPanel.js: Ditto.
2914         * page/inspector/ImagePanel.js: Ditto.
2915         * page/inspector/MetricsSidebarPane.js: Ditto.
2916         * page/inspector/NetworkPanel.js: Ditto.
2917         * page/inspector/Panel.js: Ditto.
2918         * page/inspector/PropertiesSidebarPane.js: Ditto.
2919         * page/inspector/Resource.js: Ditto.
2920         * page/inspector/ResourceCategory.js: Ditto.
2921         * page/inspector/SourcePanel.js: Ditto.
2922         * page/inspector/StylesSidebarPane.js: Ditto.
2923         * page/inspector/inspector.css: Use pre-wrap so database errors can use \n.
2924         * page/inspector/inspector.html: Remove some user visible strings.
2925         * page/inspector/inspector.js: Added WebInspector.UIString and call
2926           WebInspector.UIString for user visible strings. Some code needed to be 
2927           moved to WebInspector.loaded to use UIString after the localized strings
2928           get loaded.
2929         * platform/graphics/svg/SVGImageEmptyClients.h:
2930         (WebCore::SVGEmptyFrameLoaderClient::redirectDataToPlugin): Remove WebCore:: prefix.
2931         (WebCore::SVGEmptyInspectorClient::createPage): Ditto.
2932         (WebCore::SVGEmptyInspectorClient::localizedStringsURL): Add empty stub.
2933         (WebCore::SVGEmptyInspectorClient::highlight): Remove WebCore:: prefix.
2934         (WebCore::SVGEmptyInspectorClient::inspectedURLChanged): Ditto.
2935
2936 2007-11-17  Timothy Hatcher  <timothy@apple.com>
2937
2938         Reviewed by Adam.
2939
2940         Reworte String.sprintf to fix many bad bugs and to not use RegExp. Also added
2941         String.vsprintf so it can be used later for the localization function.
2942
2943         This version only supports argument reordering, precision for floats, and these
2944         format characters: d, f, s and @. Any unsupported format characters are logged
2945         and substituted like strings.
2946
2947         * page/inspector/utilities.js:
2948
2949 2007-11-17  Alexey Proskuryakov  <ap@webkit.org>
2950
2951         Windows build fix.
2952
2953         * editing/Editor.h: Made canSmartCopyOrDelete public, as Windows WebView still needs it.
2954
2955 2007-11-17  Alexey Proskuryakov  <ap@webkit.org>
2956
2957         Reviewed by Darin.
2958
2959         http://bugs.webkit.org/show_bug.cgi?id=15969
2960         Eliminate Editor::deleteRange()
2961
2962         No change in functionality.
2963
2964         * editing/CompositeEditCommand.h: Removed unimplemented deleteKeyPressed().
2965
2966         * editing/Editor.cpp:
2967         (WebCore::Editor::deleteWithDirection):
2968         (WebCore::Editor::cut):
2969         (WebCore::Editor::performDelete):
2970         * editing/Editor.h:
2971         Moved relevant Editor::deleteRange() functionality to its callers.
2972         Removed deleteSelectionWithSmartDelete(void), which was more confusing than helpful
2973         in my opinion.
2974
2975         * editing/mac/EditorMac.mm:
2976         (WebCore::initializeKillRingIfNeeded):
2977         (WebCore::Editor::addToKillRing):
2978         (WebCore::Editor::yank):
2979         (WebCore::Editor::yankAndSelect):
2980         (WebCore::Editor::setMark):
2981         (WebCore::unionDOMRanges):
2982         (WebCore::Editor::deleteToMark):
2983         (WebCore::Editor::selectToMark):
2984         (WebCore::Editor::swapWithMark):
2985         Pushed kill ring handling down from WebCore.
2986
2987         * page/mac/WebCoreFrameBridge.h:
2988         * page/mac/WebCoreFrameBridge.mm:
2989         Removed setMarkDOMRange (the corresponding getter is still needed).
2990
2991         * WebCore.base.exp: No longer need to export Editor::deleteRange() and Editor::insertTextWithoutSendingTextEvent().
2992         Export the new kill ring functions.
2993
2994 2007-11-16  Ryan Leavengood  <leavengood@gmail.com>
2995
2996         Reviewed by David Kilzer.
2997
2998         Build fix: the needed headers for POSIX file functions were not
2999         included.
3000
3001         * platform/posix/FileSystemPOSIX.cpp:
3002
3003 2007-11-16  Dan Bernstein  <mitz@apple.com>
3004
3005         Reviewed by Darin Adler.
3006
3007         - fix the common case of <http://bugs.webkit.org/show_bug.cgi?id=15994>
3008           REGRESSION: Incomplete repaint of CSS image substitution
3009
3010         Test: fast/repaint/clip-with-layout-delta.html
3011
3012         * rendering/LayoutState.cpp:
3013         (WebCore::LayoutState::LayoutState): Account for layout delta when
3014         pushing additional clip.
3015
3016 2007-11-16  Antti Koivisto  <antti@apple.com>
3017
3018         Reviewed by Adele.
3019         
3020         Seeking related fixes, updates to match the latest specification
3021         - rename loopCount of HTMLMediaElement to playCount
3022         - add explicit seeking attribute to HTMLMediaElement to get semantics right
3023         - implement the specification behavior that currentTime must immediately return seeked position in HTMLMediaElement 
3024           instead of MoviePrivateQTKit 
3025         - fix broken behavior when seeking past end of the media, add tests
3026         - replace Movie didEnd callback with broader timeChanged callback (which gets called in didEnd case too)
3027         - use setDelayCallbacks: in various MoviePrivateQTKit methods to avoid bug prone synchronous callbacks from QT, make
3028           HTMLMediaElement not depend on synchronous callbacks
3029         - do some cleanups and simplifications in MoviePrivateQTKit, get rid of m_rateBeforeSeek and m_blockStateUpdate variables
3030
3031         Tests: http/tests/media/video-seekable-stall.html
3032                media/video-seeking.html
3033                media/video-seek-past-end-paused.html
3034                media/video-seek-past-end-playing.html
3035
3036         * html/HTMLAttributeNames.in: 
3037         * html/HTMLMediaElement.cpp:
3038         (WebCore::HTMLMediaElement::HTMLMediaElement):
3039         (WebCore::HTMLMediaElement::load):
3040         (WebCore::HTMLMediaElement::movieNetworkStateChanged):
3041         (WebCore::HTMLMediaElement::setReadyState):
3042         (WebCore::HTMLMediaElement::seek):
3043         (WebCore::HTMLMediaElement::seeking):
3044         (WebCore::HTMLMediaElement::currentTime):
3045         (WebCore::HTMLMediaElement::ended):
3046         (WebCore::HTMLMediaElement::play):
3047         (WebCore::HTMLMediaElement::pause):
3048         (WebCore::HTMLMediaElement::playCount):
3049         (WebCore::HTMLMediaElement::setPlayCount):
3050         (WebCore::HTMLMediaElement::checkIfSeekNeeded):
3051         (WebCore::HTMLMediaElement::movieTimeChanged):
3052         (WebCore::HTMLMediaElement::endedPlayback):
3053         (WebCore::HTMLMediaElement::updateMovie):
3054         * html/HTMLMediaElement.h:
3055         * html/HTMLMediaElement.idl:
3056         * platform/graphics/Movie.cpp:
3057         (WebCore::Movie::timeChanged):
3058         * platform/graphics/Movie.h:
3059         (WebCore::MovieClient::movieTimeChanged):
3060         * platform/graphics/mac/MoviePrivateQTKit.h:
3061         * platform/graphics/mac/MoviePrivateQTKit.mm:
3062         (WebCore::MoviePrivate::MoviePrivate):
3063         (WebCore::MoviePrivate::load):
3064         (WebCore::MoviePrivate::play):
3065         (WebCore::MoviePrivate::pause):
3066         (WebCore::MoviePrivate::currentTime):
3067         (WebCore::MoviePrivate::seek):
3068         (WebCore::MoviePrivate::doSeek):
3069         (WebCore::MoviePrivate::cancelSeek):
3070         (WebCore::MoviePrivate::seekTimerFired):
3071         (WebCore::MoviePrivate::startCuePointTimerIfNeeded):
3072         (WebCore::MoviePrivate::paused):
3073         (WebCore::MoviePrivate::updateStates):
3074         (WebCore::MoviePrivate::timeChanged):
3075         (WebCore::MoviePrivate::didEnd):
3076
3077 2007-11-16  Anders Carlsson  <andersca@apple.com>
3078
3079         Reviewed by Adam.
3080
3081         <rdar://problem/5603832>
3082         XMLHttpRequest readyState 3 & responseText buffer issues.
3083
3084         * platform/network/cf/ResourceHandleCFNet.cpp:
3085         (WebCore::makeFinalRequest):
3086         Add new parameter which controls whether content sniffing should be turned off.
3087         
3088         (WebCore::ResourceHandle::loadResourceSynchronously):
3089         Always content sniff sync loads.
3090         
3091         * platform/network/cf/ResourceRequestCFNet.cpp:
3092         (WebCore::ResourceRequest::doUpdatePlatformRequest):
3093         If the ResourceRequest already has a backing CFURLRequest, make a copy of it. This preserves
3094         any properties set on the CFURLRequest.
3095
3096 2007-11-16  Jon Honeycutt  <jhoneycutt@apple.com>
3097
3098         Reviewed by Ollie.
3099
3100         <rdar://problem/5605175> Crash closing or leaving window with ViewPoint 
3101         Media player plugin
3102
3103         ViewPoint plugin requires that we pass a valid NPSavedData* to
3104         NPP_Destroy.
3105
3106         * plugins/win/PluginViewWin.cpp: Pass a valid NPSavedData* to
3107         NPP_Destroy. If the plugin allocates data, discard it
3108
3109 2007-11-16  Mark Rowe  <mrowe@apple.com>
3110
3111         Reviewed by Tim Hatcher.
3112
3113         Build WebCore as a sub-framework of WebKit in all configurations.
3114
3115         * Configurations/WebCore.xcconfig:
3116         * WebCore.xcodeproj/project.pbxproj:
3117
3118 2007-11-16  Doug Turner  <dougt@meer.net>
3119
3120         Reviewed by Alp.
3121
3122         http://bugs.webkit.org/show_bug.cgi?id=16018
3123         build bustage when building on debian 4.0
3124
3125         Fix build bustage on GTK+ with older versions of Pango.
3126
3127         Don't cache the return value since the docs say it can change.
3128
3129         * platform/gtk/Language.cpp:
3130         (WebCore::defaultLanguage):
3131
3132 2007-11-16  Brady Eidson  <beidson@apple.com>
3133
3134         Build fix
3135
3136         * platform/SecurityOriginData.h:
3137         (WebCore::operator!=): Whoops!
3138
3139 2007-11-16  Brady Eidson  <beidson@apple.com>
3140
3141         Reviewed by Sam
3142
3143         Further purify DatabaseTracker to use SecurityOriginData instead of "a String"
3144
3145         * WebCore.base.exp:
3146         * WebCore.xcodeproj/project.pbxproj:
3147         * WebCore.vcproj/WebCore.vcproj
3148         * WebCore.pro
3149
3150         * platform/SecurityOriginData.cpp: Added.
3151         (WebCore::SecurityOriginData::SecurityOriginData): Add a constructor that takes a "stringIdentifier"-style string,
3152           since that form is what will be stored in the Databases.db on disk
3153         (WebCore::SecurityOriginData::stringIdentifier):
3154         * platform/SecurityOriginData.h:
3155         (WebCore::SecurityOriginData::protocol):
3156         (WebCore::SecurityOriginData::host):
3157         (WebCore::SecurityOriginData::port):
3158
3159         * storage/DatabaseTracker.cpp:
3160         (WebCore::SecurityOriginDataHash::hash): Follow the pattern Darin set in FontCache.cpp to make a decent hash for 
3161           a SecurityOriginData object
3162         (WebCore::SecurityOriginDataHash::equal):
3163         (WebCore::SecurityOriginDataTraits::deletedValue): "file::1" will never exist in normal operation
3164         (WebCore::SecurityOriginDataTraits::emptyValue): "file::2" will never exist in normal operation
3165         (WebCore::DatabaseTracker::fullPathForDatabase):
3166         (WebCore::DatabaseTracker::populateOrigins):
3167         (WebCore::DatabaseTracker::origins):
3168         (WebCore::DatabaseTracker::addDatabase):
3169         * storage/DatabaseTracker.h:
3170
3171 2007-11-16  Alexey Proskuryakov  <ap@webkit.org>
3172
3173         Windows build fix.
3174
3175         * WebCore.vcproj/WebCore.vcproj: Removed VoidCallback.cpp, added JSCustomVoidCallback.{h,cpp}.
3176
3177 2007-11-16  Nikolas Zimmermann  <zimmermann@kde.org>
3178
3179         Reviewed by Eric.
3180
3181         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12290
3182
3183         Implement all SVGTextContentElement DOM methods.
3184         This is the last missing SVG text feature. SVG fonts is next.
3185
3186         Added testcase: svg/custom/text-dom-01-f.svg (tests all new methods)
3187
3188         * ksvg2/svg/SVGTextContentElement.cpp:
3189         (WebCore::cummulatedCharacterRangeLength):
3190         (WebCore::SVGInlineTextBoxQueryWalker::):
3191         (WebCore::SVGInlineTextBoxQueryWalker::SVGInlineTextBoxQueryWalker):
3192         (WebCore::SVGInlineTextBoxQueryWalker::chunkPortionCallback):
3193         (WebCore::SVGInlineTextBoxQueryWalker::setQueryInputParameters):
3194         (WebCore::SVGInlineTextBoxQueryWalker::longResult):
3195         (WebCore::SVGInlineTextBoxQueryWalker::floatResult):
3196         (WebCore::SVGInlineTextBoxQueryWalker::pointResult):
3197         (WebCore::SVGInlineTextBoxQueryWalker::rectResult):
3198         (WebCore::SVGInlineTextBoxQueryWalker::stopProcessing):
3199         (WebCore::findInlineTextBoxInTextChunks):
3200         (WebCore::rootInlineBoxForTextContentElement):
3201         (WebCore::executeTextQuery):
3202         (WebCore::SVGTextContentElement::getNumberOfChars):
3203         (WebCore::SVGTextContentElement::getComputedTextLength):
3204         (WebCore::SVGTextContentElement::getSubStringLength):
3205         (WebCore::SVGTextContentElement::getStartPositionOfChar):
3206         (WebCore::SVGTextContentElement::getEndPositionOfChar):
3207         (WebCore::SVGTextContentElement::getExtentOfChar):
3208         (WebCore::SVGTextContentElement::getRotationOfChar):
3209         (WebCore::SVGTextContentElement::getCharNumAtPosition):
3210         (WebCore::SVGTextContentElement::selectSubString):
3211         * ksvg2/svg/SVGTextContentElement.h:
3212         * rendering/SVGInlineTextBox.h:
3213
3214 2007-11-15  Adele Peterson  <adele@apple.com>
3215
3216         Reviewed by Oliver.
3217
3218         Fix for <rdar://problem/5566652> CrashTracer: [USER] 3 crashes in Safari at HTMLSelectElement::menuListDefaultEventHandler (reproducible on mactc30.com)
3219
3220         Test: fast/forms/menulist-no-renderer-onmousedown.html
3221
3222         * html/HTMLSelectElement.cpp:
3223         (WebCore::HTMLSelectElement::defaultEventHandler): Nil check the renderer here.  None of the default behavior makes sense if there's no renderer.
3224         (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): Moved the nil check to the main defaultEventHandler.
3225
3226 2007-11-15  Antti Koivisto  <antti@apple.com>
3227
3228         Reviewed by Adele.
3229
3230         Fix <rdar://problem/5601598>
3231         The movie tag should do initialization on need and not during startup.
3232         
3233         Initialize Movie MIME type hash on demand
3234
3235         * platform/MIMETypeRegistry.cpp:
3236         (WebCore::initialiseSupportedMovieMIMETypes):
3237         (WebCore::initialiseMIMETypeRegistry):
3238         (WebCore::MIMETypeRegistry::isSupportedMovieMIMEType):
3239         (WebCore::MIMETypeRegistry::getSupportedMovieMIMETypes):
3240
3241 2007-11-15  Mark Rowe  <mrowe@apple.com>
3242
3243         Build fix for Qt on Windows.
3244
3245         * xml/XPathStep.cpp:
3246         (WebCore::XPath::Step::nodesInAxis):
3247
3248 2007-11-15  Timothy Hatcher  <timothy@apple.com>
3249
3250         Reviewed by Mark Rowe.
3251
3252         Bug 14761: Web Inspector leaks JS objects and DOM nodes
3253         http://bugs.webkit.org/show_bug.cgi?id=14761
3254
3255         * page/InspectorController.cpp:
3256         (WebCore::InspectorController::~InspectorController):
3257         Change the tear down order so that inspectorDestroyed() is called before
3258         InspectorController private data is set to Zero. The inspectorDestroyed()
3259         call ends up closing the WebView and triggering InspectorController::close()
3260         which unprotects m_scriptObject. This didn't happen when the private data
3261         was cleared before calling inspectorDestroyed().
3262
3263 2007-11-15  Mark Rowe  <mrowe@apple.com>
3264
3265         Gtk build fix.
3266
3267         * WebCore.pro:
3268
3269 2007-11-15  Alexey Proskuryakov  <ap@webkit.org>
3270
3271         Reviewed by Darin.
3272
3273         http://bugs.webkit.org/show_bug.cgi?id=15989
3274         XPath queries with predicates incorrectly retains the current node across unions
3275
3276         Test: fast/xpath/union-context-node.xhtml
3277
3278         * xml/XPathPath.cpp:
3279         (WebCore::XPath::LocationPath::evaluate): Restore context after evaluation.
3280         * xml/XPathStep.cpp:
3281         (WebCore::XPath::Step::evaluate): Do not backup context, as we can easily re-create it.
3282
3283 2007-11-15  Alexey Proskuryakov  <ap@webkit.org>
3284
3285         Reviewed by Darin.
3286
3287         http://bugs.webkit.org/show_bug.cgi?id=15988
3288         REGRESSION: XPath preceding-axis query misses nested elements
3289
3290         Test: fast/xpath/preceding-axis.xhtml
3291
3292         * xml/XPathStep.cpp:
3293         (WebCore::XPath::Step::nodesInAxis): Hopefully correct this time.
3294
3295 2007-11-15  Timothy Hatcher  <timothy@apple.com>
3296
3297         Reviewed by Mark Rowe and Sam.
3298
3299         This corrects a couple of issues in the Web Inspector where selected search results
3300         would not have the right text color when the window is inactive or the results are focused.
3301
3302         * page/inspector/inspector.css:
3303
3304 2007-11-15  Timothy Hatcher  <timothy@apple.com>
3305
3306         Reviewed by Sam.
3307
3308         Bug 16007: REGRESSION: Disclosure triangle click zone for resource categories is off by 10 pixels
3309         http://bugs.webkit.org/show_bug.cgi?id=16007
3310
3311         Makes the click width an option on TreeElement and make ResourceCategoryTreeElement
3312         a true subclass of TreeElement. The click width for ResourceCategoryTreeElement is 
3313         20 pixels, and the default is 10 pixels.
3314
3315         * page/inspector/ResourceCategory.js:
3316         * page/inspector/treeoutline.js:
3317
3318 2007-11-15  Anders Carlsson  <andersca@apple.com>
3319
3320         Reviewed by Brady.
3321
3322         Pass a VoidCallback to Database::transaction and Database::changeVersion.
3323         This is not yet hooked up to the database machinery.
3324         
3325         * WebCore.vcproj/WebCore.vcproj:
3326         * bindings/js/JSDatabaseCustom.cpp:
3327         (WebCore::JSDatabase::changeVersion):
3328         (WebCore::JSDatabase::transaction):
3329         * storage/Database.cpp:
3330         (WebCore::Database::changeVersion):
3331         (WebCore::Database::transaction):
3332         * storage/Database.h:
3333
3334 2007-11-15  Timothy Hatcher  <timothy@apple.com>
3335
3336         Reviewed by Adam.
3337
3338         Bug 16005: Hovering in the breadcrumbs causes jumpy behavior
3339         http://bugs.webkit.org/show_bug.cgi?id=16005
3340
3341         Hovering over cumbs no longer exposes new crumbs. Clicking on a collapsed
3342         crumb will expose as many hidden crumbs as possible to the user. Also crumbs
3343         that have ID attributes will compact to the ID over the tag name.
3344
3345         * page/inspector/DocumentPanel.js:
3346
3347 2007-11-15  Anders Carlsson  <andersca@apple.com>
3348
3349         Reviewed by Sam.
3350
3351         Make the VoidCallback DOM interface behave more like our other DOM interfaces.
3352         
3353         * bindings/js/JSCustomVoidCallback.h: Added.
3354         * bindings/js/JSCustomVoidCallback.cpp: Added.
3355         (WebCore::JSCustomVoidCallback::JSCustomVoidCallback):
3356         (WebCore::JSCustomVoidCallback::handleEvent):
3357         VoidCallback implementation that wraps a JS object.
3358         
3359         (WebCore::toVoidCallback):
3360         New method that creates a VoidCallback implementation given a JS object.
3361         
3362         * bindings/scripts/CodeGeneratorJS.pm:
3363         Specify that VoidCallback can fail conversion and add a custom conversion function.
3364         
3365         * html/HTMLMediaElement.cpp:
3366         (WebCore::HTMLMediaElement::movieCuePointReached):
3367         Call handleEvent on the callback.
3368         
3369         (WebCore::HTMLMediaElement::removeCuePoint):
3370         Comment out parts of this method, it has already been removed in the HTML5 spec and it relies
3371         on overriding VoidCallback equality.
3372         
3373         * html/VoidCallback.cpp: Removed.
3374         
3375         * html/VoidCallback.h:
3376         (WebCore::VoidCallback::VoidCallback):
3377         (WebCore::VoidCallback::~VoidCallback):
3378         Make this an abstract class with a pure virtual handleEvent method.
3379         
3380 2007-11-15  Adam Roben  <aroben@apple.com>
3381
3382         Fix <rdar://5485108> Type-select while a <select> menu is open doesn't work
3383
3384         There were two things broken here:
3385            - WebView now requires a WM_CHAR message to be sent before it will
3386              create a keyboard event with a charCode, but we were only sending
3387              a WM_KEYDOWN event.
3388            - The popup menu was not updating its focused index when the
3389              <select> element's selectedIndex changed.
3390
3391         Reviewed by Adele.
3392
3393         * platform/win/PopupMenuWin.cpp:
3394         (WebCore::PopupMenu::updateFromElement): Update the focused index from
3395         the client's selected index.
3396         (WebCore::PopupWndProc): When we receive a WM_CHAR message for a
3397         printable character, manufacture a WM_KEYDOWN message for it and post
3398         both that and the current WM_CHAR message to the WebView.
3399
3400 2007-11-15  Brady Eidson  <beidson@apple.com>
3401
3402         Build fix
3403
3404         * storage/DatabaseTracker.cpp:
3405         (WebCore::DatabaseTracker::fullPathForDatabase):
3406         (WebCore::DatabaseTracker::databaseNamesForOrigin):
3407
3408 2007-11-15  Brady Eidson  <beidson@apple.com>
3409
3410         Reviewed by John and Sam
3411
3412         Stubbing out everything required for a WebKit API for databases
3413
3414         Biggest change in WebCore is that we passed around SecurityOriginData as the representation
3415         of a SecurityOrigin, instead of a String or a SecurityOrigin itself (which is an opaque object
3416         that has a different purpose besides just hanging on to the data)
3417
3418         * WebCore.base.exp:
3419         * WebCore.xcodeproj/project.pbxproj:
3420
3421         * platform/SecurityOrigin.cpp:
3422         * platform/SecurityOrigin.h:
3423         * platform/SecurityOriginData.h: Added.  Simple object to encapsulate the 3
3424           pieces of data in the SecurityOrigin tuple
3425         (WebCore::SecurityOriginData::SecurityOriginData):
3426         (WebCore::SecurityOriginData::protocol):
3427         (WebCore::SecurityOriginData::host):
3428         (WebCore::SecurityOriginData::port):
3429         (WebCore::SecurityOriginData::toString): Simple concatenation of the 3 components,
3430           colon separated
3431
3432         * storage/Database.cpp:
3433         (WebCore::Database::Database): Use SecurityOriginData instead
3434
3435         * storage/DatabaseTracker.cpp:
3436         (WebCore::DatabaseTracker::fullPathForDatabase):
3437         (WebCore::DatabaseTracker::databaseNamesForOrigin):
3438         (WebCore::DatabaseTracker::deleteDatabasesWithOrigin):
3439         (WebCore::DatabaseTracker::deleteDatabase):
3440         * storage/DatabaseTracker.h:
3441
3442         * storage/DatabaseTrackerClient.h: Added.  For dispatching notifications up to WebKit
3443         (WebCore::DatabaseTrackerClient::~DatabaseTrackerClient):2007-11-15  Jon Honeycutt  <jhoneycutt@apple.com>
3444
3445 2007-11-15  Jon Honeycutt  <jhoneycutt@apple.com>
3446
3447         Reviewed by Anders.
3448
3449         NP_ASFILEONLY streams should not buffer data in m_deliveryData.
3450
3451         * plugins/win/PluginStreamWin.cpp:
3452         (WebCore::PluginStreamWin::didReceiveData):
3453
3454 2007-11-15  Justin Garcia  <justin.garcia@apple.com>
3455
3456         Reviewed by Adele Peterson.
3457
3458         <rdar://problem/5497643> Crash at Node::isDescendantOf when switching out of Edit HTML Source mode
3459         
3460         A textarea that contained the selection was removed but the selection wasn't cleared,
3461         and we'd crash in code that assumed a valid, in-document selection.
3462
3463         * editing/SelectionController.cpp:
3464         (WebCore::removingNodeRemovesPosition): Clear the selection if the node being removed is the
3465         shadowAncestorNode of the node that contains the position, not just if the node being removed
3466         contains that shadowAncestorNode.
3467
3468 2007-11-15  Nikolas Zimmermann  <zimmermann@kde.org>
3469
3470         Reviewed by Maciej.
3471
3472         Fix logic error: calculateGlyphBoundaries takes RTL text into account itself, no need to adjust offsets before.
3473
3474         * rendering/SVGInlineTextBox.cpp:
3475         (WebCore::SVGInlineTextBoxClosestCharacterToPositionWalker::chunkPortionCallback):
3476         (WebCore::SVGInlineTextBoxSelectionRectWalker::chunkPortionCallback):
3477
3478 2007-11-15  Anders Carlsson  <andersca@apple.com>
3479
3480         Reviewed by Brady.
3481
3482         <rdar://problem/5562470>
3483         openDatabase does not work when the version string is empty
3484
3485         If the string is empty, pass a real empty string to sqlite3_bind_text16.
3486         
3487         * platform/sql/SQLiteStatement.cpp:
3488         (WebCore::SQLiteStatement::bindText):
3489
3490 2007-11-15  Anders Carlsson  <andersca@apple.com>
3491
3492         Reviewed by Brady.
3493
3494         Get rid of SQLiteStatement::bindText and rename bindText16 to bindText.
3495         Remove the copy parameter from bindText and bindBlob and always copy passed in data instead.
3496
3497         * loader/icon/IconDatabase.cpp:
3498         (WebCore::IconDatabase::setIconIDForPageURLInSQLDatabase):
3499         (WebCore::IconDatabase::removePageURLFromSQLDatabase):
3500         (WebCore::IconDatabase::getIconIDForIconURLFromSQLDatabase):
3501         (WebCore::IconDatabase::addIconURLToSQLDatabase):
3502         (WebCore::IconDatabase::getImageDataForIconURLFromSQLDatabase):
3503         (WebCore::IconDatabase::writeIconSnapshotToSQLDatabase):
3504         * platform/sql/SQLiteStatement.cpp:
3505         (WebCore::SQLiteStatement::prepare):
3506         * platform/sql/SQLiteStatement.h:
3507         * storage/Database.cpp:
3508         (WebCore::setTextValueInDatabase):
3509         * storage/DatabaseTracker.cpp:
3510         (WebCore::DatabaseTracker::fullPathForDatabase):
3511         (WebCore::DatabaseTracker::databaseNamesForOrigin):
3512         (WebCore::DatabaseTracker::addDatabase):
3513
3514 2007-11-14  Brady Eidson <beidson@apple.com>
3515
3516         Rubberstamped by Sam
3517
3518         * platform/SecurityOrigin.h: Lets make this an unsigned short and *not* rule out half the possible ports?
3519
3520 2007-11-14  Alexey Proskuryakov  <ap@webkit.org>
3521
3522         Reviewed by Justin Garcia.
3523
3524         http://bugs.webkit.org/show_bug.cgi?id=15781
3525         REGRESSION: Ligatures fail to form when typing in Devanagari (because WebKit can't handle
3526         a marked range that covers half of a composed character sequence)
3527
3528         Test: platform/mac/editing/input/devanagari-ligature.html
3529
3530         This fix is somewhat of a hack, as it asks editing commands to work with invalid selections.
3531         However, this is not entirely new for them, as Roman accents are typed in a similar manner.
3532
3533         In the future, we probably want to make commands work with ranges (or Positions explicitly).
3534
3535         * editing/Editor.cpp:
3536         (WebCore::Editor::selectComposition): Force selection to composition range.
3537         *&