1 2006-11-20 Samuel Weinig <sam@webkit.org>
5 Fix for http://bugs.webkit.org/show_bug.cgi?id=11647
8 * config.h: add #define NOMINMAX for windows build
9 * platform/win/FontCacheWin.cpp:
10 (WebCore::FontCache::createFontPlatformData):
11 * platform/win/TemporaryLinkStubs.cpp: add definitions for
13 (WebCore::aliasCursor):
14 (WebCore::noDropCursor):
15 (WebCore::progressCursor):
17 2006-11-19 Beth Dakin <bdakin@apple.com>
21 Implementation of actions for the new context menus.
24 * WebCore.xcodeproj/project.pbxproj:
25 * bridge/EditorClient.h: Declaration of shouldInsertText.
26 * bridge/mac/FrameMac.h: Two new spelling functions.
27 * bridge/mac/FrameMac.mm:
28 (WebCore::FrameMac::ignoreSpelling):
29 (WebCore::FrameMac::learnSpelling):
31 (WebCore::Editor::shouldInsertText): Call into the client.
33 * editing/EditorInsertAction.h: Added.
34 (WebCore::): The WebCore equivalent of WebViewInsertAction. This is
35 defined in its own header so that we can use it from Editor.h and
36 EditorClient.h without having one of the above include the other.
37 * page/ContextMenuClient.h: A few currently WebKit-implemented
38 function needed for menu actions.
39 * page/ContextMenuController.cpp:
40 (WebCore::makeGoogleSearchURL):
41 (WebCore::ContextMenuController::contextMenuActionSelected): The
43 * page/ContextMenuController.h:
44 * page/Frame.h: New pure-virtual spelling functions.
45 * platform/ContextMenu.cpp:
46 (WebCore::ContextMenu::controller): Get the controller from the
48 * platform/ContextMenu.h:
49 * platform/mac/ContextMenuMac.mm:
51 forwardContextMenuAction:initWithContextMenuController:WebCore::]):
52 Use the controller instead of the menu
53 (-[MenuTarget WebCore::]):
54 (-[MenuTarget setMenuController:WebCore::]):
55 (-[MenuTarget forwardContextMenuAction:]):
60 2006-11-19 Simon Hausmann <hausmann@kde.org>
64 http://bugs.webkit.org/show_bug.cgi?id=11649
65 Fix CMake files for Qt-only build without KDE cmake files.
66 Fix Qt/KDE build for the SVG support.
67 Fix Qt-only build in the resource handler.
70 * platform/graphics/svg/qt/SVGResourceFilterQt.cpp: Added.
71 (WebCore::SVGResourceFilter::SVGResourceFilter):
72 (WebCore::SVGResourceFilter::~SVGResourceFilter):
73 (WebCore::SVGResourceFilter::prepareFilter):
74 (WebCore::SVGResourceFilter::applyFilter):
75 * platform/network/qt/ResourceHandleManager.cpp:
76 (WebCore::ResourceHandleManager::cancel):
77 (WebCore::ResourceHandleManager::slotData):
78 (WebCore::ResourceHandleManager::slotMimetype):
79 (WebCore::ResourceHandleManager::slotResult):
80 (WebCore::ResourceHandleManager::deliverJobData):
81 * platform/network/qt/ResourceHandleManager.h:
82 * platform/network/qt/ResourceHandleQt.cpp:
83 * platform/qt/CursorQt.cpp:
84 (WebCore::noDropCursor):
85 (WebCore::progressCursor):
86 (WebCore::aliasCursor):
88 2006-11-19 Mitz Pettel <mitz@webkit.org>
92 - http://bugs.webkit.org/show_bug.cgi?id=11626
93 Automate test for rdar://problem/4056100
95 * manual-tests/delete-into-nested-block.html: Removed.
97 2006-11-19 Nikolas Zimmermann <zimmermann@kde.org>
101 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11596
103 Split up KCanvasFilters & KCanvasFilterQuartz into several
104 new classes (SVGFEBlend, SVGFEComposite...) and move them
105 into platform/graphics/svg. This is still a temporary location,
106 as discussed with Darin; the whole platform/graphics/svg directory
107 will probably be moved into ksvg2/ in near future.
109 This finally removes the duplicated enumerations in the svg filter
110 classes and within kcanvas. ksvg2/ and platform/graphics/svg share
111 their enums now. As KCanvasFilters is gone now, The kcanvas/ subdirectory
115 * WebCore.xcodeproj/project.pbxproj:
116 * bindings/scripts/CodeGeneratorJS.pm:
117 * kcanvas/KCanvasFilters.cpp: Removed.
118 * kcanvas/KCanvasFilters.h: Removed.
119 * kcanvas/device/KRenderingDevice.h:
120 * kcanvas/device/qt/KRenderingDeviceQt.cpp:
121 (WebCore::KRenderingDeviceQt::createFilterEffect):
122 * kcanvas/device/qt/KRenderingDeviceQt.h:
123 * kcanvas/device/quartz/KCanvasFilterQuartz.h: Removed.
124 * kcanvas/device/quartz/KCanvasFilterQuartz.mm: Removed.
125 * kcanvas/device/quartz/KCanvasItemQuartz.cpp:
126 * kcanvas/device/quartz/KRenderingDeviceQuartz.cpp:
127 (WebCore::KRenderingDeviceQuartz::createResource):
128 (WebCore::KRenderingDeviceQuartz::createFilterEffect):
129 * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
130 * kcanvas/device/quartz/filters/WKArithmeticFilter.cikernel: Removed.
131 * kcanvas/device/quartz/filters/WKArithmeticFilter.h: Removed.
132 * kcanvas/device/quartz/filters/WKArithmeticFilter.m: Removed.
133 * kcanvas/device/quartz/filters/WKComponentMergeFilter.cikernel: Removed.
134 * kcanvas/device/quartz/filters/WKComponentMergeFilter.h: Removed.
135 * kcanvas/device/quartz/filters/WKComponentMergeFilter.m: Removed.
136 * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.cikernel: Removed.
137 * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.h: Removed.
138 * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.m: Removed.
139 * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.cikernel: Removed.
140 * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.h: Removed.
141 * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m: Removed.
142 * kcanvas/device/quartz/filters/WKDisplacementMapFilter.cikernel: Removed.
143 * kcanvas/device/quartz/filters/WKDisplacementMapFilter.h: Removed.
144 * kcanvas/device/quartz/filters/WKDisplacementMapFilter.m: Removed.
145 * kcanvas/device/quartz/filters/WKDistantLightFilter.cikernel: Removed.
146 * kcanvas/device/quartz/filters/WKDistantLightFilter.h: Removed.
147 * kcanvas/device/quartz/filters/WKDistantLightFilter.m: Removed.
148 * kcanvas/device/quartz/filters/WKGammaTransferFilter.cikernel: Removed.
149 * kcanvas/device/quartz/filters/WKGammaTransferFilter.h: Removed.
150 * kcanvas/device/quartz/filters/WKGammaTransferFilter.m: Removed.
151 * kcanvas/device/quartz/filters/WKIdentityTransferFilter.h: Removed.
152 * kcanvas/device/quartz/filters/WKIdentityTransferFilter.m: Removed.
153 * kcanvas/device/quartz/filters/WKLinearTransferFilter.cikernel: Removed.
154 * kcanvas/device/quartz/filters/WKLinearTransferFilter.h: Removed.
155 * kcanvas/device/quartz/filters/WKLinearTransferFilter.m: Removed.
156 * kcanvas/device/quartz/filters/WKNormalMapFilter.cikernel: Removed.
157 * kcanvas/device/quartz/filters/WKNormalMapFilter.h: Removed.
158 * kcanvas/device/quartz/filters/WKNormalMapFilter.m: Removed.
159 * kcanvas/device/quartz/filters/WKPointLightFilter.cikernel: Removed.
160 * kcanvas/device/quartz/filters/WKPointLightFilter.h: Removed.
161 * kcanvas/device/quartz/filters/WKPointLightFilter.m: Removed.
162 * kcanvas/device/quartz/filters/WKSpecularLightingFilter.cikernel: Removed.
163 * kcanvas/device/quartz/filters/WKSpecularLightingFilter.h: Removed.
164 * kcanvas/device/quartz/filters/WKSpecularLightingFilter.m: Removed.
165 * kcanvas/device/quartz/filters/WKSpotLightFilter.cikernel: Removed.
166 * kcanvas/device/quartz/filters/WKSpotLightFilter.h: Removed.
167 * kcanvas/device/quartz/filters/WKSpotLightFilter.m: Removed.
168 * kcanvas/device/quartz/filters/WKTableTransferFilter.cikernel: Removed.
169 * kcanvas/device/quartz/filters/WKTableTransferFilter.h: Removed.
170 * kcanvas/device/quartz/filters/WKTableTransferFilter.m: Removed.
171 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
172 (WebCore::SVGComponentTransferFunctionElement::transferFunction):
173 * ksvg2/svg/SVGComponentTransferFunctionElement.h:
174 * ksvg2/svg/SVGFEBlendElement.cpp:
175 (WebCore::SVGFEBlendElement::filterEffect):
176 * ksvg2/svg/SVGFEBlendElement.h:
177 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
178 (WebCore::SVGFEColorMatrixElement::filterEffect):
179 * ksvg2/svg/SVGFEColorMatrixElement.h:
180 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
181 (WebCore::SVGFEComponentTransferElement::filterEffect):
182 * ksvg2/svg/SVGFEComponentTransferElement.h:
183 * ksvg2/svg/SVGFECompositeElement.cpp:
184 (WebCore::SVGFECompositeElement::filterEffect):
185 * ksvg2/svg/SVGFECompositeElement.h:
186 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
187 (WebCore::SVGFEDiffuseLightingElement::filterEffect):
188 (WebCore::SVGFEDiffuseLightingElement::updateLights):
189 * ksvg2/svg/SVGFEDiffuseLightingElement.h:
190 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
191 (WebCore::SVGFEDisplacementMapElement::stringToChannel):
192 (WebCore::SVGFEDisplacementMapElement::filterEffect):
193 * ksvg2/svg/SVGFEDisplacementMapElement.h:
194 * ksvg2/svg/SVGFEDistantLightElement.cpp:
195 (WebCore::SVGFEDistantLightElement::lightSource):
196 * ksvg2/svg/SVGFEDistantLightElement.h:
197 * ksvg2/svg/SVGFEFloodElement.cpp:
198 (WebCore::SVGFEFloodElement::filterEffect):
199 * ksvg2/svg/SVGFEFloodElement.h:
200 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
201 (WebCore::SVGFEGaussianBlurElement::filterEffect):
202 * ksvg2/svg/SVGFEGaussianBlurElement.h:
203 * ksvg2/svg/SVGFEImageElement.cpp:
204 (WebCore::SVGFEImageElement::filterEffect):
205 * ksvg2/svg/SVGFEImageElement.h:
206 * ksvg2/svg/SVGFELightElement.h:
207 * ksvg2/svg/SVGFEMergeElement.cpp:
208 (WebCore::SVGFEMergeElement::filterEffect):
209 * ksvg2/svg/SVGFEMergeElement.h:
210 * ksvg2/svg/SVGFEOffsetElement.cpp:
211 (WebCore::SVGFEOffsetElement::filterEffect):
212 * ksvg2/svg/SVGFEOffsetElement.h:
213 * ksvg2/svg/SVGFEPointLightElement.cpp:
214 (WebCore::SVGFEPointLightElement::lightSource):
215 * ksvg2/svg/SVGFEPointLightElement.h:
216 * ksvg2/svg/SVGFESpecularLightingElement.cpp:
217 (WebCore::SVGFESpecularLightingElement::filterEffect):
218 (WebCore::SVGFESpecularLightingElement::updateLights):
219 * ksvg2/svg/SVGFESpecularLightingElement.h:
220 * ksvg2/svg/SVGFESpotLightElement.cpp:
221 (WebCore::SVGFESpotLightElement::lightSource):
222 * ksvg2/svg/SVGFESpotLightElement.h:
223 * ksvg2/svg/SVGFETileElement.cpp:
224 (WebCore::SVGFETileElement::filterEffect):
225 * ksvg2/svg/SVGFETileElement.h:
226 * ksvg2/svg/SVGFETurbulenceElement.cpp:
227 (WebCore::SVGFETurbulenceElement::filterEffect):
228 * ksvg2/svg/SVGFETurbulenceElement.h:
230 * ksvg2/svg/SVGFilterElement.cpp:
231 (WebCore::SVGFilterElement::canvasResource):
232 * ksvg2/svg/SVGFilterElement.h:
233 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
234 (WebCore::SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
235 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
236 * platform/graphics/FloatPoint3D.cpp: Added.
237 (WebCore::FloatPoint3D::FloatPoint3D):
238 (WebCore::FloatPoint3D::x):
239 (WebCore::FloatPoint3D::setX):
240 (WebCore::FloatPoint3D::y):
241 (WebCore::FloatPoint3D::setY):
242 (WebCore::FloatPoint3D::z):
243 (WebCore::FloatPoint3D::setZ):
244 (WebCore::FloatPoint3D::normalize):
245 * platform/graphics/FloatPoint3D.h: Added.
246 * platform/graphics/svg/SVGResourceFilter.cpp: Added.
247 (WebCore::SVGResourceFilter::clearEffects):
248 (WebCore::SVGResourceFilter::addFilterEffect):
249 (WebCore::SVGResourceFilter::filterBBoxForItemBBox):
250 (WebCore::SVGResourceFilter::externalRepresentation):
251 (WebCore::getFilterById):
252 * platform/graphics/svg/SVGResourceFilter.h: Added.
253 (WebCore::SVGResourceFilter::isFilter):
254 (WebCore::SVGResourceFilter::filterBoundingBoxMode):
255 (WebCore::SVGResourceFilter::setFilterBoundingBoxMode):
256 (WebCore::SVGResourceFilter::effectBoundingBoxMode):
257 (WebCore::SVGResourceFilter::setEffectBoundingBoxMode):
258 (WebCore::SVGResourceFilter::filterRect):
259 (WebCore::SVGResourceFilter::setFilterRect):
260 * platform/graphics/svg/SVGResourceImage.h:
261 * platform/graphics/svg/SVGResourceListener.h:
262 (SVGResourceListener::SVGResourceListener):
263 (SVGResourceListener::~SVGResourceListener):
264 * platform/graphics/svg/cg/SVGResourceClipperCg.cpp:
265 * platform/graphics/svg/cg/SVGResourceFilterCg.mm: Added.
266 (WebCore::SVGResourceFilter::SVGResourceFilter):
267 (WebCore::SVGResourceFilter::~SVGResourceFilter):
268 (WebCore::SVGResourceFilter::prepareFilter):
269 (WebCore::SVGResourceFilter::applyFilter):
270 (WebCore::SVGResourceFilter::getCIFilterStack):
271 (WebCore::SVGResourceFilter::imageForName):
272 (WebCore::SVGResourceFilter::setImageForName):
273 (WebCore::SVGResourceFilter::setOutputImage):
274 (WebCore::alphaImageForImage):
275 (WebCore::SVGResourceFilter::inputImage):
276 * platform/graphics/svg/cg/SVGResourceMaskerCg.h: Removed.
277 * platform/graphics/svg/cg/SVGResourceMaskerCg.mm:
278 * platform/graphics/svg/filters/SVGDistantLightSource.h: Added.
279 (WebCore::SVGDistantLightSource::SVGDistantLightSource):
280 (WebCore::SVGDistantLightSource::azimuth):
281 (WebCore::SVGDistantLightSource::elevation):
282 * platform/graphics/svg/filters/SVGFEBlend.cpp: Added.
283 (WebCore::SVGFEBlend::in2):
284 (WebCore::SVGFEBlend::setIn2):
285 (WebCore::SVGFEBlend::blendMode):
286 (WebCore::SVGFEBlend::setBlendMode):
287 (WebCore::operator<<):
288 (WebCore::SVGFEBlend::externalRepresentation):
289 * platform/graphics/svg/filters/SVGFEBlend.h: Added.
291 * platform/graphics/svg/filters/SVGFEColorMatrix.cpp: Added.
292 (WebCore::SVGFEColorMatrix::type):
293 (WebCore::SVGFEColorMatrix::setType):
294 (WebCore::SVGFEColorMatrix::values):
295 (WebCore::SVGFEColorMatrix::setValues):
296 (WebCore::operator<<):
297 (WebCore::SVGFEColorMatrix::externalRepresentation):
298 * platform/graphics/svg/filters/SVGFEColorMatrix.h: Added.
300 * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp: Added.
301 (WebCore::SVGFEComponentTransfer::redFunction):
302 (WebCore::SVGFEComponentTransfer::setRedFunction):
303 (WebCore::SVGFEComponentTransfer::greenFunction):
304 (WebCore::SVGFEComponentTransfer::setGreenFunction):
305 (WebCore::SVGFEComponentTransfer::blueFunction):
306 (WebCore::SVGFEComponentTransfer::setBlueFunction):
307 (WebCore::SVGFEComponentTransfer::alphaFunction):
308 (WebCore::SVGFEComponentTransfer::setAlphaFunction):
309 (WebCore::operator<<):
310 (WebCore::SVGFEComponentTransfer::externalRepresentation):
311 * platform/graphics/svg/filters/SVGFEComponentTransfer.h: Added.
313 (WebCore::SVGComponentTransferFunction::SVGComponentTransferFunction):
314 * platform/graphics/svg/filters/SVGFEComposite.cpp: Added.
315 (WebCore::SVGFEComposite::in2):
316 (WebCore::SVGFEComposite::setIn2):
317 (WebCore::SVGFEComposite::operation):
318 (WebCore::SVGFEComposite::setOperation):
319 (WebCore::SVGFEComposite::k1):
320 (WebCore::SVGFEComposite::setK1):
321 (WebCore::SVGFEComposite::k2):
322 (WebCore::SVGFEComposite::setK2):
323 (WebCore::SVGFEComposite::k3):
324 (WebCore::SVGFEComposite::setK3):
325 (WebCore::SVGFEComposite::k4):
326 (WebCore::SVGFEComposite::setK4):
327 (WebCore::SVGFEComposite::externalRepresentation):
328 * platform/graphics/svg/filters/SVGFEComposite.h: Added.
330 * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp: Added.
331 (WebCore::SVGFEConvolveMatrix::kernelSize):
332 (WebCore::SVGFEConvolveMatrix::setKernelSize):
333 (WebCore::SVGFEConvolveMatrix::kernel):
334 (WebCore::SVGFEConvolveMatrix::setKernel):
335 (WebCore::SVGFEConvolveMatrix::divisor):
336 (WebCore::SVGFEConvolveMatrix::setDivisor):
337 (WebCore::SVGFEConvolveMatrix::bias):
338 (WebCore::SVGFEConvolveMatrix::setBias):
339 (WebCore::SVGFEConvolveMatrix::targetOffset):
340 (WebCore::SVGFEConvolveMatrix::setTargetOffset):
341 (WebCore::SVGFEConvolveMatrix::edgeMode):
342 (WebCore::SVGFEConvolveMatrix::setEdgeMode):
343 (WebCore::SVGFEConvolveMatrix::kernelUnitLength):
344 (WebCore::SVGFEConvolveMatrix::setKernelUnitLength):
345 (WebCore::SVGFEConvolveMatrix::preserveAlpha):
346 (WebCore::SVGFEConvolveMatrix::setPreserveAlpha):
347 (WebCore::operator<<):
348 (WebCore::SVGFEConvolveMatrix::externalRepresentation):
349 * platform/graphics/svg/filters/SVGFEConvolveMatrix.h: Added.
351 * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp: Added.
352 (WebCore::SVGFEDiffuseLighting::SVGFEDiffuseLighting):
353 (WebCore::SVGFEDiffuseLighting::~SVGFEDiffuseLighting):
354 (WebCore::SVGFEDiffuseLighting::lightingColor):
355 (WebCore::SVGFEDiffuseLighting::setLightingColor):
356 (WebCore::SVGFEDiffuseLighting::surfaceScale):
357 (WebCore::SVGFEDiffuseLighting::setSurfaceScale):
358 (WebCore::SVGFEDiffuseLighting::diffuseConstant):
359 (WebCore::SVGFEDiffuseLighting::setDiffuseConstant):
360 (WebCore::SVGFEDiffuseLighting::kernelUnitLengthX):
361 (WebCore::SVGFEDiffuseLighting::setKernelUnitLengthX):
362 (WebCore::SVGFEDiffuseLighting::kernelUnitLengthY):
363 (WebCore::SVGFEDiffuseLighting::setKernelUnitLengthY):
364 (WebCore::SVGFEDiffuseLighting::lightSource):
365 (WebCore::SVGFEDiffuseLighting::setLightSource):
366 (WebCore::SVGFEDiffuseLighting::externalRepresentation):
367 * platform/graphics/svg/filters/SVGFEDiffuseLighting.h: Added.
368 * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp: Added.
369 (WebCore::SVGFEDisplacementMap::SVGFEDisplacementMap):
370 (WebCore::SVGFEDisplacementMap::in2):
371 (WebCore::SVGFEDisplacementMap::setIn2):
372 (WebCore::SVGFEDisplacementMap::xChannelSelector):
373 (WebCore::SVGFEDisplacementMap::setXChannelSelector):
374 (WebCore::SVGFEDisplacementMap::yChannelSelector):
375 (WebCore::SVGFEDisplacementMap::setYChannelSelector):
376 (WebCore::SVGFEDisplacementMap::scale):
377 (WebCore::SVGFEDisplacementMap::setScale):
378 (WebCore::operator<<):
379 (WebCore::SVGFEDisplacementMap::externalRepresentation):
380 * platform/graphics/svg/filters/SVGFEDisplacementMap.h: Added.
382 * platform/graphics/svg/filters/SVGFEFlood.cpp: Added.
383 (WebCore::SVGFEFlood::floodColor):
384 (WebCore::SVGFEFlood::setFloodColor):
385 (WebCore::SVGFEFlood::floodOpacity):
386 (WebCore::SVGFEFlood::setFloodOpacity):
387 (WebCore::SVGFEFlood::externalRepresentation):
388 * platform/graphics/svg/filters/SVGFEFlood.h: Added.
389 * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp: Added.
390 (WebCore::SVGFEGaussianBlur::stdDeviationX):
391 (WebCore::SVGFEGaussianBlur::setStdDeviationX):
392 (WebCore::SVGFEGaussianBlur::stdDeviationY):
393 (WebCore::SVGFEGaussianBlur::setStdDeviationY):
394 (WebCore::SVGFEGaussianBlur::externalRepresentation):
395 * platform/graphics/svg/filters/SVGFEGaussianBlur.h: Added.
396 * platform/graphics/svg/filters/SVGFEImage.cpp: Added.
397 (WebCore::SVGFEImage::SVGFEImage):
398 (WebCore::SVGFEImage::~SVGFEImage):
399 (WebCore::SVGFEImage::cachedImage):
400 (WebCore::SVGFEImage::setCachedImage):
401 (WebCore::SVGFEImage::externalRepresentation):
402 * platform/graphics/svg/filters/SVGFEImage.h: Added.
403 * platform/graphics/svg/filters/SVGFEMerge.cpp: Added.
404 (WebCore::SVGFEMerge::mergeInputs):
405 (WebCore::SVGFEMerge::setMergeInputs):
406 (WebCore::SVGFEMerge::externalRepresentation):
407 * platform/graphics/svg/filters/SVGFEMerge.h: Added.
408 * platform/graphics/svg/filters/SVGFEMorphology.cpp: Added.
409 (WebCore::SVGFEMorphology::morphologyOperator):
410 (WebCore::SVGFEMorphology::setMorphologyOperator):
411 (WebCore::SVGFEMorphology::radiusX):
412 (WebCore::SVGFEMorphology::setRadiusX):
413 (WebCore::SVGFEMorphology::radiusY):
414 (WebCore::SVGFEMorphology::setRadiusY):
415 (WebCore::operator<<):
416 (WebCore::SVGFEMorphology::externalRepresentation):
417 * platform/graphics/svg/filters/SVGFEMorphology.h: Added.
419 * platform/graphics/svg/filters/SVGFEOffset.cpp: Added.
420 (WebCore::SVGFEOffset::dx):
421 (WebCore::SVGFEOffset::setDx):
422 (WebCore::SVGFEOffset::dy):
423 (WebCore::SVGFEOffset::setDy):
424 (WebCore::SVGFEOffset::externalRepresentation):
425 * platform/graphics/svg/filters/SVGFEOffset.h: Added.
426 * platform/graphics/svg/filters/SVGFESpecularLighting.cpp: Added.
427 (WebCore::SVGFESpecularLighting::SVGFESpecularLighting):
428 (WebCore::SVGFESpecularLighting::~SVGFESpecularLighting):
429 (WebCore::SVGFESpecularLighting::lightingColor):
430 (WebCore::SVGFESpecularLighting::setLightingColor):
431 (WebCore::SVGFESpecularLighting::surfaceScale):
432 (WebCore::SVGFESpecularLighting::setSurfaceScale):
433 (WebCore::SVGFESpecularLighting::specularConstant):
434 (WebCore::SVGFESpecularLighting::setSpecularConstant):
435 (WebCore::SVGFESpecularLighting::specularExponent):
436 (WebCore::SVGFESpecularLighting::setSpecularExponent):
437 (WebCore::SVGFESpecularLighting::kernelUnitLengthX):
438 (WebCore::SVGFESpecularLighting::setKernelUnitLengthX):
439 (WebCore::SVGFESpecularLighting::kernelUnitLengthY):
440 (WebCore::SVGFESpecularLighting::setKernelUnitLengthY):
441 (WebCore::SVGFESpecularLighting::lightSource):
442 (WebCore::SVGFESpecularLighting::setLightSource):
443 (WebCore::SVGFESpecularLighting::externalRepresentation):
444 * platform/graphics/svg/filters/SVGFESpecularLighting.h: Added.
445 * platform/graphics/svg/filters/SVGFETile.h: Added.
446 * platform/graphics/svg/filters/SVGFETurbulence.cpp: Added.
447 (WebCore::SVGFETurbulence::type):
448 (WebCore::SVGFETurbulence::setType):
449 (WebCore::SVGFETurbulence::baseFrequencyY):
450 (WebCore::SVGFETurbulence::setBaseFrequencyY):
451 (WebCore::SVGFETurbulence::baseFrequencyX):
452 (WebCore::SVGFETurbulence::setBaseFrequencyX):
453 (WebCore::SVGFETurbulence::seed):
454 (WebCore::SVGFETurbulence::setSeed):
455 (WebCore::SVGFETurbulence::numOctaves):
456 (WebCore::SVGFETurbulence::setNumOctaves):
457 (WebCore::SVGFETurbulence::stitchTiles):
458 (WebCore::SVGFETurbulence::setStitchTiles):
459 (WebCore::operator<<):
460 (WebCore::SVGFETurbulence::externalRepresentation):
461 * platform/graphics/svg/filters/SVGFETurbulence.h: Added.
463 * platform/graphics/svg/filters/SVGFilterEffect.cpp: Added.
464 (WebCore::SVGFilterEffect::subRegion):
465 (WebCore::SVGFilterEffect::setSubRegion):
466 (WebCore::SVGFilterEffect::in):
467 (WebCore::SVGFilterEffect::setIn):
468 (WebCore::SVGFilterEffect::result):
469 (WebCore::SVGFilterEffect::setResult):
470 (WebCore::SVGFilterEffect::externalRepresentation):
471 (WebCore::operator<<):
472 * platform/graphics/svg/filters/SVGFilterEffect.h: Added.
474 (WebCore::SVGFilterEffect::SVGFilterEffect):
475 (WebCore::SVGFilterEffect::~SVGFilterEffect):
476 (WebCore::SVGFilterEffect::effectType):
477 * platform/graphics/svg/filters/SVGLightSource.cpp: Added.
478 (WebCore::operator<<):
479 (WebCore::SVGPointLightSource::externalRepresentation):
480 (WebCore::SVGSpotLightSource::externalRepresentation):
481 (WebCore::SVGDistantLightSource::externalRepresentation):
482 * platform/graphics/svg/filters/SVGLightSource.h: Added.
484 (WebCore::SVGLightSource::SVGLightSource):
485 (WebCore::SVGLightSource::~SVGLightSource):
486 (WebCore::SVGLightSource::type):
487 * platform/graphics/svg/filters/SVGPointLightSource.h: Added.
488 (WebCore::SVGPointLightSource::SVGPointLightSource):
489 (WebCore::SVGPointLightSource::position):
490 * platform/graphics/svg/filters/SVGSpotLightSource.h: Added.
491 (WebCore::SVGSpotLightSource::SVGSpotLightSource):
492 (WebCore::SVGSpotLightSource::position):
493 (WebCore::SVGSpotLightSource::direction):
494 (WebCore::SVGSpotLightSource::specularExponent):
495 (WebCore::SVGSpotLightSource::limitingConeAngle):
496 * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm: Added.
497 (WebCore::SVGFEBlend::getCIFilter):
498 * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm: Added.
499 (WebCore::SVGFEColorMatrix::getCIFilter):
500 * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm: Added.
501 (WebCore::genImageFromTable):
502 (WebCore::setParametersForComponentFunc):
503 (WebCore::filterForComponentFunc):
504 (WebCore::getFilterForFunc):
505 (WebCore::SVGFEComponentTransfer::getFunctionFilter):
506 (WebCore::SVGFEComponentTransfer::getCIFilter):
507 * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm: Added.
508 (WebCore::SVGFEComposite::getCIFilter):
509 * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm: Added.
510 (WebCore::SVGFEDiffuseLighting::getCIFilter):
511 * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm: Added.
512 (WebCore::SVGFEDisplacementMap::getCIFilter):
513 * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm: Added.
514 (WebCore::SVGFEFlood::getCIFilter):
515 * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm: Added.
516 (WebCore::SVGFEGaussianBlur::getCIFilter):
517 * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h: Added.
518 * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm: Added.
519 (WebCore::getVectorForChannel):
521 (WebCore::getPointLightVectors):
522 (WebCore::getLightVectors):
523 (WebCore::getNormalMap):
524 * platform/graphics/svg/filters/cg/SVGFEImageCg.mm: Added.
525 (WebCore::SVGFEImage::getCIFilter):
526 * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm: Added.
527 (WebCore::SVGFEMerge::getCIFilter):
528 * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm: Added.
529 (WebCore::SVGFEOffset::getCIFilter):
530 * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm: Added.
531 (WebCore::SVGFESpecularLighting::getCIFilter):
532 * platform/graphics/svg/filters/cg/SVGFETileCg.mm: Added.
533 (WebCore::SVGFETile::getCIFilter):
534 * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm: Added.
535 (WebCore::SVGFilterEffect::getCIFilter):
536 * rendering/RenderPath.cpp:
537 (WebCore::RenderPath::getAbsoluteRepaintRect):
538 (WebCore::RenderPath::paint):
539 * rendering/RenderSVGContainer.cpp:
540 (WebCore::RenderSVGContainer::paint):
541 (WebCore::RenderSVGContainer::getAbsoluteRepaintRect):
542 * rendering/RenderSVGImage.cpp:
543 (WebCore::RenderSVGImage::paint):
544 (WebCore::RenderSVGImage::getAbsoluteRepaintRect):
545 * rendering/SVGInlineFlowBox.cpp:
546 (WebCore::paintSVGInlineFlow):
548 2006-11-18 Rob Buis <buis@kde.org>
552 http://bugs.webkit.org/show_bug.cgi?id=11321
553 Element with :target pseudo-class still matched after fragment identifier change
555 Make sure the page does a style recalculation and possible rendering
556 when navigating back from a page with an anchor to a page without
559 * loader/FrameLoader.cpp:
560 (WebCore::FrameLoader::gotoAnchor):
562 2006-11-18 Don Gibson <dgibson77@gmail.com>
564 Reviewed by Sam Weinig.
566 http://bugs.webkit.org/show_bug.cgi?id=11634:
567 Fix segfault on startup for Windows build. Also fix segfault when
569 Clean up some of the style of the patch that landed in r17816.
571 * WebCore.vcproj/WebCore/WebCore.vcproj:
572 * bridge/win/ChromeClientWin.h:
573 (WebCore::ChromeClientWin::~ChromeClientWin):
574 (WebCore::ChromeClientWin::ref):
575 (WebCore::ChromeClientWin::deref):
576 * bridge/win/ContextMenuClientWin.h:
577 (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
578 (WebCore::ContextMenuClientWin::ref):
579 (WebCore::ContextMenuClientWin::deref):
580 * bridge/win/EditorClientWin.h:
581 (WebCore::EditorClientWin::~EditorClientWin):
582 (WebCore::EditorClientWin::ref):
583 (WebCore::EditorClientWin::deref):
584 * bridge/win/FrameWin.cpp:
585 (WebCore::FrameWin::FrameWin):
586 * bridge/win/FrameWin.h:
588 * loader/win/FrameLoaderClientWin.h: Added.
589 (WebCore::FrameLoaderClientWin::~FrameLoaderClientWin):
590 (WebCore::FrameLoaderClientWin::ref):
591 (WebCore::FrameLoaderClientWin::deref):
592 * platform/win/TemporaryLinkStubs.cpp:
593 (WebCore::ChromeClientWin::createWindow):
594 (WebCore::ChromeClientWin::createModalDialog):
595 (WebCore::EditorClientWin::selectWordBeforeMenuEvent):
596 (WebCore::EditorClientWin::isEditable):
597 (WebCore::EditorClientWin::shouldBeginEditing):
598 (WebCore::EditorClientWin::shouldEndEditing):
599 (WebCore::EditorClientWin::shouldApplyStyle):
600 (WebCore::EditorClientWin::didBeginEditing):
601 (WebCore::EditorClientWin::respondToChangedContents):
602 (WebCore::EditorClientWin::didEndEditing):
603 (WebCore::EditorClientWin::registerCommandForUndo):
604 (WebCore::EditorClientWin::registerCommandForRedo):
605 (WebCore::EditorClientWin::clearUndoRedoOperations):
606 (WebCore::EditorClientWin::canUndo):
607 (WebCore::EditorClientWin::canRedo):
608 (WebCore::EditorClientWin::undo):
609 (WebCore::EditorClientWin::redo):
610 (WebCore::FrameLoader::createFrame):
611 (WebCore::FrameLoader::createPlugin):
612 (WebCore::FrameLoaderClientWin::hasWebView):
613 (WebCore::FrameLoaderClientWin::hasFrameView):
614 (WebCore::FrameLoaderClientWin::hasBackForwardList):
615 (WebCore::FrameLoaderClientWin::resetBackForwardList):
616 (WebCore::FrameLoaderClientWin::provisionalItemIsTarget):
617 (WebCore::FrameLoaderClientWin::loadProvisionalItemFromPageCache):
618 (WebCore::FrameLoaderClientWin::invalidateCurrentItemPageCache):
619 (WebCore::FrameLoaderClientWin::privateBrowsingEnabled):
620 (WebCore::FrameLoaderClientWin::makeDocumentView):
621 (WebCore::FrameLoaderClientWin::makeRepresentation):
622 (WebCore::FrameLoaderClientWin::forceLayout):
623 (WebCore::FrameLoaderClientWin::forceLayoutForNonHTML):
624 (WebCore::FrameLoaderClientWin::updateHistoryForCommit):
625 (WebCore::FrameLoaderClientWin::updateHistoryForBackForwardNavigation):
626 (WebCore::FrameLoaderClientWin::updateHistoryForReload):
627 (WebCore::FrameLoaderClientWin::updateHistoryForStandardLoad):
628 (WebCore::FrameLoaderClientWin::updateHistoryForInternalLoad):
629 (WebCore::FrameLoaderClientWin::updateHistoryAfterClientRedirect):
630 (WebCore::FrameLoaderClientWin::setCopiesOnScroll):
631 (WebCore::FrameLoaderClientWin::tokenForLoadErrorReset):
632 (WebCore::FrameLoaderClientWin::resetAfterLoadError):
633 (WebCore::FrameLoaderClientWin::doNotResetAfterLoadError):
634 (WebCore::FrameLoaderClientWin::willCloseDocument):
635 (WebCore::FrameLoaderClientWin::detachedFromParent1):
636 (WebCore::FrameLoaderClientWin::detachedFromParent2):
637 (WebCore::FrameLoaderClientWin::detachedFromParent3):
638 (WebCore::FrameLoaderClientWin::detachedFromParent4):
639 (WebCore::FrameLoaderClientWin::loadedFromPageCache):
640 (WebCore::FrameLoaderClientWin::dispatchDidHandleOnloadEvents):
641 (WebCore::FrameLoaderClientWin::dispatchDidReceiveServerRedirectForProvisionalLoad):
642 (WebCore::FrameLoaderClientWin::dispatchDidCancelClientRedirect):
643 (WebCore::FrameLoaderClientWin::dispatchWillPerformClientRedirect):
644 (WebCore::FrameLoaderClientWin::dispatchDidChangeLocationWithinPage):
645 (WebCore::FrameLoaderClientWin::dispatchWillClose):
646 (WebCore::FrameLoaderClientWin::dispatchDidReceiveIcon):
647 (WebCore::FrameLoaderClientWin::dispatchDidStartProvisionalLoad):
648 (WebCore::FrameLoaderClientWin::dispatchDidReceiveTitle):
649 (WebCore::FrameLoaderClientWin::dispatchDidCommitLoad):
650 (WebCore::FrameLoaderClientWin::dispatchDidFinishLoad):
651 (WebCore::FrameLoaderClientWin::dispatchDidFirstLayout):
652 (WebCore::FrameLoaderClientWin::dispatchShow):
653 (WebCore::FrameLoaderClientWin::cancelPolicyCheck):
654 (WebCore::FrameLoaderClientWin::dispatchWillSubmitForm):
655 (WebCore::FrameLoaderClientWin::dispatchDidLoadMainResource):
656 (WebCore::FrameLoaderClientWin::clearLoadingFromPageCache):
657 (WebCore::FrameLoaderClientWin::isLoadingFromPageCache):
658 (WebCore::FrameLoaderClientWin::revertToProvisionalState):
659 (WebCore::FrameLoaderClientWin::clearUnarchivingState):
660 (WebCore::FrameLoaderClientWin::progressStarted):
661 (WebCore::FrameLoaderClientWin::progressCompleted):
662 (WebCore::FrameLoaderClientWin::setMainFrameDocumentReady):
663 (WebCore::FrameLoaderClientWin::willChangeTitle):
664 (WebCore::FrameLoaderClientWin::didChangeTitle):
665 (WebCore::FrameLoaderClientWin::finishedLoading):
666 (WebCore::FrameLoaderClientWin::finalSetupForReplace):
667 (WebCore::FrameLoaderClientWin::setDefersLoading):
668 (WebCore::FrameLoaderClientWin::isArchiveLoadPending):
669 (WebCore::FrameLoaderClientWin::cancelPendingArchiveLoad):
670 (WebCore::FrameLoaderClientWin::clearArchivedResources):
671 (WebCore::FrameLoaderClientWin::canShowMIMEType):
672 (WebCore::FrameLoaderClientWin::representationExistsForURLScheme):
673 (WebCore::FrameLoaderClientWin::generatedMIMETypeForURLScheme):
674 (WebCore::FrameLoaderClientWin::frameLoadCompleted):
675 (WebCore::FrameLoaderClientWin::restoreScrollPositionAndViewState):
676 (WebCore::FrameLoaderClientWin::provisionalLoadStarted):
677 (WebCore::FrameLoaderClientWin::shouldTreatURLAsSameAsCurrent):
678 (WebCore::FrameLoaderClientWin::addHistoryItemForFragmentScroll):
679 (WebCore::FrameLoaderClientWin::didFinishLoad):
680 (WebCore::FrameLoaderClientWin::prepareForDataSourceReplacement):
681 (WebCore::FrameLoaderClientWin::setTitle):
682 (WebCore::FrameLoaderClientWin::userAgent):
684 2006-11-18 Alexey Proskuryakov <ap@webkit.org>
686 Reviewed by Rob (yay!).
688 http://bugs.webkit.org/show_bug.cgi?id=11640
689 XMLHttpRequest produces undefined:undefined HTTP authentication
691 * bindings/js/JSXMLHttpRequest.cpp:
692 (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
693 Treat undefined credentials as missing ones.
695 2006-11-17 Lars Naesbye Christensen <larsnaesbye@stud.ku.dk>
699 http://bugs.webkit.org/show_bug.cgi?id=11638
700 [CSS 2.1+3] add support for alias, progress, no-drop and not-allowed cursor styles
702 * Resources/aliasCursor.png: Added.
703 * Resources/noDropCursor.png: Added.
704 * Resources/progressCursor.png: Added.
705 * WebCore.xcodeproj/project.pbxproj:
706 * css/CSSComputedStyleDeclaration.cpp:
707 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
708 * css/CSSValueKeywords.in:
709 * manual-tests/cursor.html:
710 * page/EventHandler.cpp:
711 (WebCore::selectCursor):
713 * platform/mac/CursorMac.mm:
714 (WebCore::handCursor):
715 (WebCore::aliasCursor):
716 (WebCore::progressCursor):
717 (WebCore::noDropCursor):
718 * rendering/RenderStyle.h:
721 2006-11-18 Steve Falkenburg <sfalken@apple.com>
725 Properly adjust CFAbsoluteTime to time_t to fix date calculations.
727 Compare lastModified w/ MAX_TIME_T when setting last modified date
728 instead of comparing expiration against MAX_TIME_T.
730 * platform/network/cf/ResourceResponseCFNet.cpp:
731 (WebCore::getResourceResponse): Add kCFAbsoluteTimeIntervalSince1970 in assignment
733 2006-11-17 Anders Carlsson <acarlsson@apple.com>
737 More conversions from DeprecatedValueList to Vector and HashSet.
739 * css/CSSValueList.cpp:
740 (WebCore::CSSValueList::~CSSValueList):
741 (WebCore::CSSValueList::append):
742 (WebCore::CSSValueList::cssText):
743 * css/CSSValueList.h:
744 (WebCore::CSSValueList::length):
745 (WebCore::CSSValueList::item):
747 (WebCore::Document::attachNodeIterator):
748 (WebCore::Document::notifyBeforeNodeRemoval):
750 * ksvg2/svg/SVGGradientElement.cpp:
751 (WebCore::SVGGradientElement::notifyAttributeChange):
752 * ksvg2/svg/SVGPatternElement.cpp:
753 (WebCore::SVGPatternElement::notifyClientsToRepaint):
754 * platform/graphics/svg/SVGResource.cpp:
755 (WebCore::SVGResource::invalidate):
756 (WebCore::SVGResource::addClient):
757 * platform/graphics/svg/SVGResource.h:
758 * rendering/RenderBlock.h:
760 === Safari-521.31 ===
762 2006-11-17 Timothy Hatcher <timothy@apple.com>
764 Reviewed by Harrison.
766 <rdar://problem/4796730> table deletion elements are serialized out if they are visible when innerHTML or a Web Archive is made
768 Disable the delete button controller when cloning nodes, Mail does this before saving a draft.
770 * dom/ContainerNode.cpp:
771 (WebCore::ContainerNode::cloneChildNodes):
772 * editing/markup.cpp:
773 (WebCore::createFragmentFromNodes):
775 2006-11-17 Justin Garcia <justin.garcia@apple.com>
779 <rdar://problem/4237467> REGRESSION: Pasting word from quoted text quotes the destination
780 <rdar://problem/4017358> quoted text is wrong color, when pasted as quotation
782 * editing/ReplaceSelectionCommand.cpp:
783 (WebCore::isMailPasteAsQuotationNode): Added. Checks for the node
784 that Mail wraps around an incoming fragment when it wants it to be pasted
785 with quoting (no merging should be done).
786 (WebCore::ReplaceSelectionCommand::removeNodePreservingChildren): Added
787 this virtual method in order to adjust the nodes that ReplaceSelectionCommand
789 (WebCore::ReplaceSelectionCommand::shouldMerge): Don't merge from content
790 inside a Mail Paste as Quotation node. Allow merging from Mail blockquotes.
791 (WebCore::ReplaceSelectionCommand::removeRedundantStyles): When pasting into
792 a Mail blockquote, we ignore the parts of the source document's default style
793 that are overriden by styles from the Mail blockquote. This is necessary in order
794 for text that's black (because black is the source document's default font color)
795 to appear blue/green/whatever when it's pasted into a Mail blockquote.
796 (WebCore::ReplaceSelectionCommand::handlePasteAsQuotationNode): Turn an inserted
797 Mail Paste as Quotation node into a normal Mail blockquote. This will prevent
798 a copied blockquote that was inserted into the document using Paste as Quotation
799 from triggering Paste as Quotation behavior when it's pasted.
800 (WebCore::ReplaceSelectionCommand::doApply): Call the new/altered methods.
801 * editing/ReplaceSelectionCommand.h:
802 * editing/markup.cpp:
803 (WebCore::styleFromMatchedRulesForElement): Put this code into a subroutine.
804 (WebCore::removeEnclosingMailBlockquoteStyle): Added.
805 (WebCore::startMarkup): When wrapping text nodes in style spans, leave out
806 styles that Mail blockquotes contribute, so that Mail blockquote styles can
807 be differentiated from styles that the user has applied. When creating markup
808 for elements, do the same thing.
809 (WebCore::createMarkup): Call the new subroutine.
811 2006-11-17 Rob Buis <buis@kde.org>
815 http://bugs.webkit.org/show_bug.cgi?id=11635
816 Bug 11635: Fix potential issue with non-xslt build
818 Fix the issue and do style guideline corrections.
820 * dom/ProcessingInstruction.cpp:
821 (WebCore::ProcessingInstruction::checkStyleSheet):
822 (WebCore::ProcessingInstruction::sheetLoaded):
823 (WebCore::ProcessingInstruction::setCSSStyleSheet):
824 (WebCore::ProcessingInstruction::setXSLStyleSheet):
825 (WebCore::ProcessingInstruction::parseStyleSheet):
827 2006-11-17 Timothy Hatcher <timothy@apple.com>
829 Reviewed by Harrison.
831 <rdar://problem/4843131> text entry is slow inside element that has the deletion rectangle around it
833 Only disable/enable the delete button inside applyCommand() to prevent slowing down typing.
834 This reintroduces <rdar://problem/4796657> table deletion outline does not always follow the table size as editing occurs inside
836 * editing/EditCommand.cpp:
837 (WebCore::EditCommand::apply):
838 (WebCore::EditCommand::unapply):
839 (WebCore::EditCommand::reapply):
840 (WebCore::applyCommand):
841 * editing/EditCommand.h:
843 2006-11-17 Zack Rusin <zack@kde.org>
845 Reviewed by Mitz. Landed by Niko.
847 Making platform Qt/KDE compile and work after
848 the latest api changes. Reported as
849 http://bugs.webkit.org/show_bug.cgi?id=11617
852 * page/qt/EventHandlerQt.cpp: Added.
853 (WebCore::isKeyboardOptionTab):
854 (WebCore::EventHandler::tabsToLinks):
855 (WebCore::EventHandler::tabsToAllControls):
856 (WebCore::EventHandler::freeClipboard):
857 (WebCore::EventHandler::focusDocumentView):
858 (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
859 (WebCore::EventHandler::passMouseDownEventToWidget):
860 (WebCore::EventHandler::lastEventIsMouseUp):
861 (WebCore::EventHandler::dragHysteresisExceeded):
862 (WebCore::EventHandler::handleDrag):
863 (WebCore::EventHandler::handleMouseUp):
864 (WebCore::EventHandler::passSubframeEventToSubframe):
865 (WebCore::EventHandler::passWheelEventToWidget):
866 (WebCore::EventHandler::shouldDragAutoNode):
867 (WebCore::EventHandler::dispatchDragSrcEvent):
868 (WebCore::EventHandler::passMousePressEventToSubframe):
869 (WebCore::EventHandler::passMouseMoveEventToSubframe):
870 (WebCore::EventHandler::passMouseReleaseEventToSubframe):
871 (WebCore::EventHandler::passWheelEventToSubframe):
872 (WebCore::EventHandler::passMousePressEventToScrollbar):
873 * platform/ContextMenu.h:
874 * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
875 (WebCore::SVGResourceClipper::applyClip):
876 * platform/qt/ContextMenuClientQt.cpp: Added.
877 (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
878 (WebCore::ContextMenuClientQt::ref):
879 (WebCore::ContextMenuClientQt::deref):
880 * platform/qt/ContextMenuClientQt.h: Added.
881 * platform/qt/ContextMenuQt.cpp: Added.
882 (WebCore::ContextMenu::appendItem):
883 (WebCore::ContextMenu::itemCount):
884 (WebCore::ContextMenu::insertItem):
885 (WebCore::ContextMenu::setPlatformMenuDescription):
886 * platform/qt/EditorClientQt.cpp:
887 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
888 (WebCore::EditorClientQt::isEditable):
889 (WebCore::EditorClientQt::registerCommandForUndo):
890 (WebCore::EditorClientQt::registerCommandForRedo):
891 (WebCore::EditorClientQt::clearUndoRedoOperations):
892 (WebCore::EditorClientQt::canUndo):
893 (WebCore::EditorClientQt::canRedo):
894 (WebCore::EditorClientQt::undo):
895 (WebCore::EditorClientQt::redo):
896 * platform/qt/EditorClientQt.h:
897 * platform/qt/ScrollViewCanvasQt.cpp:
898 (WebCore::ScrollViewCanvasQt::mousePressEvent):
899 * platform/qt/TemporaryLinkStubs.cpp:
900 (FrameView::updateBorder):
902 2006-11-17 David Harrison <harrison@apple.com>
906 <rdar://problem/4799899> Frame::revealSelection() only scrolls the startContainer's layer
908 Replace an assert with a fixme that refers to this bug.
911 (WebCore::Frame::revealSelection):
913 2006-11-16 Rob Buis <buis@kde.org>
915 Reviewed and landed by Brady
917 Fixes http://bugs.webkit.org/show_bug.cgi?id=11590 -
918 REGRESSION (r17726-r17742): Wikipedia page intermittently loads but doesn't render
919 Fix the regression by setting m_loadCompleted correctly.
921 * css/CSSStyleSheet.cpp:
922 (WebCore::CSSStyleSheet::checkLoaded):
924 (WebCore::Node::sheetLoaded):
925 * dom/ProcessingInstruction.cpp:
926 (WebCore::ProcessingInstruction::sheetLoaded):
927 * dom/ProcessingInstruction.h:
928 * html/HTMLLinkElement.cpp:
929 (WebCore::HTMLLinkElement::sheetLoaded):
930 * html/HTMLLinkElement.h:
931 * html/HTMLStyleElement.cpp:
932 (WebCore::HTMLStyleElement::sheetLoaded):
933 * html/HTMLStyleElement.h:
935 2006-11-16 David Harrison <harrison@apple.com>
939 <rdar://problem/4056100> REGRESSION (Tiger): Deleting top part of reply email leaves fails to clear text at end of message
941 The problem was triggered by the fact that the parent div was changing both
942 in position and in height. The renderer normally bifurcates its logic for
943 x-position changes vs height changes.
945 Call repaintDuringLayoutIfMoved() with old rect (incl. width and height) instead of just the old position.
948 * manual-tests/delete-into-nested-block.html
950 * rendering/RenderBlock.cpp:
951 (WebCore::RenderBlock::layoutBlockChildren):
952 (WebCore::RenderBlock::positionNewFloats):
953 * rendering/RenderBox.cpp:
954 (WebCore::RenderBox::repaintDuringLayoutIfMoved):
955 * rendering/RenderBox.h:
956 * rendering/RenderFlexibleBox.cpp:
957 (WebCore::RenderFlexibleBox::placeChild):
958 * rendering/RenderObject.cpp:
959 (WebCore::RenderObject::repaintDuringLayoutIfMoved):
960 * rendering/RenderObject.h:
961 * rendering/RenderTableSection.cpp:
962 (WebCore::RenderTableSection::layoutRows):
964 2006-11-16 Adele Peterson <adele@apple.com>
968 Slider cleanup. Let the theme set the size of the slider thumb.
970 * rendering/RenderSlider.cpp:
971 (WebCore::RenderSlider::setStyle): Moving the thumb's appearance adjustment to createThumbStyle.
972 (WebCore::RenderSlider::createThumbStyle):
973 (WebCore::RenderSlider::layout): Let the theme set the size of the thumb.
974 * rendering/RenderTheme.cpp: (WebCore::RenderTheme::adjustSliderThumbSize): Added.
975 * rendering/RenderTheme.h: ditto.
976 * rendering/RenderThemeMac.h: ditto.
977 * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustSliderThumbSize): ditto.
979 2006-11-15 Anders Carlsson <acarlsson@apple.com>
983 Use Vector instead of DeprecatedValueList in a few places.
985 * bindings/js/kjs_dom.cpp:
986 (KJS::DOMNamedNodesCollection::DOMNamedNodesCollection):
987 (KJS::DOMNamedNodesCollection::lengthGetter):
988 (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
989 * bindings/js/kjs_dom.h:
990 * bindings/js/kjs_html.cpp:
991 (KJS::JSHTMLDocument::namedItemGetter):
992 (KJS::JSHTMLElement::classInfo):
993 (KJS::JSHTMLElement::accessors):
994 (KJS::JSHTMLCollection::getNamedItems):
995 * bindings/objc/DOM.mm:
996 * bridge/mac/FrameMac.mm:
997 (WebCore::FrameMac::dashboardRegionsDictionary):
998 * css/CSSStyleDeclaration.cpp:
999 (WebCore::CSSStyleDeclaration::diff):
1000 * html/HTMLCollection.cpp:
1001 (WebCore::HTMLCollection::namedItems):
1002 * html/HTMLCollection.h:
1003 * kcanvas/KCanvasFilters.cpp:
1004 (WebCore::KCanvasFilter::externalRepresentation):
1005 * kcanvas/KCanvasFilters.h:
1006 (WebCore::KCanvasFEColorMatrix::values):
1007 (WebCore::KCanvasFEColorMatrix::setValues):
1008 (WebCore::KCanvasFEConvolveMatrix::kernel):
1009 (WebCore::KCanvasFEConvolveMatrix::setKernel):
1010 * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
1011 (WebCore::KCanvasFilterQuartz::getCIFilterStack):
1012 (WebCore::KCanvasFEColorMatrixQuartz::getCIFilter):
1013 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
1014 (WebCore::SVGFEColorMatrixElement::filterEffect):
1015 * platform/graphics/svg/SVGResourceClipper.h:
1016 * platform/graphics/svg/cg/SVGResourceClipperCg.cpp:
1017 (WebCore::SVGResourceClipper::applyClip):
1018 * platform/network/FormData.h:
1019 * rendering/RenderPath.h:
1020 * rendering/SVGRenderTreeAsText.h:
1021 (WebCore::operator<<):
1023 2006-11-16 Anders Carlsson <acarlsson@apple.com>
1027 * editing/markup.cpp:
1028 (WebCore::createMarkup):
1029 Add null-checks for the frame, it might not exist for all documents.
1031 2006-11-16 Don Gibson <dgibson77@gmail.com>
1033 Reviewed and landed by ap.
1035 http://bugs.webkit.org/show_bug.cgi?id=11509:
1036 Windows build bustage.
1038 Also reorganizes WebCore.vcproj to add files whose absence wasn't
1039 causing compile errors, but which should have been there, and to
1040 make the include directory ordering (and contents) sane.
1041 Also reorganizes TemporaryLinkStubs.cpp to put headers and
1042 function groups in alphabetical order, and ensure that all functions
1043 in the file call notImplemented().
1045 * WebCore.vcproj/WebCore/WebCore.vcproj:
1046 * bridge/win/ChromeClientWin.h:
1047 (WebCore::ChromeClientWin::ref):
1048 (WebCore::ChromeClientWin::deref):
1049 * bridge/win/ContextMenuClientWin.h: Added.
1050 (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
1051 (WebCore::ContextMenuClientWin::ref):
1052 (WebCore::ContextMenuClientWin::deref):
1053 * bridge/win/EditorClientWin.h:
1054 * bridge/win/FrameWin.cpp:
1055 (WebCore::FrameWin::~FrameWin):
1056 (WebCore::FrameWin::keyPress):
1057 * bridge/win/FrameWin.h:
1058 * bridge/win/PageWin.cpp: Removed.
1059 * editing/EditCommand.h:
1060 * loader/FormState.h:
1061 * loader/FrameLoader.h:
1062 * page/EventHandler.cpp:
1063 * platform/MimeTypeRegistry.cpp:
1064 (WebCore::initialiseSupportedImageMIMETypes):
1065 * platform/graphics/win/ImageWin.cpp:
1066 * platform/network/ResourceError.cpp:
1067 * platform/network/ResourceHandleInternal.h:
1068 * platform/network/win/ResourceHandleWin.cpp:
1069 (WebCore::ResourceHandle::onHandleCreated):
1070 (WebCore::ResourceHandle::onRequestRedirected):
1071 (WebCore::ResourceHandle::start):
1072 (WebCore::ResourceHandle::cancel):
1073 * platform/win/ScreenWin.cpp:
1074 (WebCore::monitorInfo):
1075 (WebCore::screenRect):
1076 (WebCore::screenAvailableRect):
1077 (WebCore::screenDepth):
1078 * platform/win/SoundWin.cpp: Added.
1079 (WebCore::systemBeep):
1080 * platform/win/TemporaryLinkStubs.cpp:
1081 (WebCore::CacheObjectExpiresTime):
1082 (WebCore::CheckCacheObjectStatus):
1083 (WebCore::CheckIfReloading):
1084 (WebCore::defaultLanguage):
1085 (WebCore::fileButtonChooseFileLabel):
1086 (WebCore::fileButtonNoFileSelectedLabel):
1087 (WebCore::findNextSentenceFromIndex):
1088 (WebCore::findNextWordFromIndex):
1089 (WebCore::findSentenceBoundary):
1090 (WebCore::findWordBoundary):
1091 (WebCore::focusRingColor):
1092 (WebCore::historyContains):
1093 (WebCore::inputElementAltText):
1094 (WebCore::IsResponseURLEqualToURL):
1095 (WebCore::cellCursor):
1096 (WebCore::contextMenuCursor):
1097 (WebCore::moveCursor):
1098 (WebCore::verticalTextCursor):
1099 (WebCore::refreshPlugins):
1100 (WebCore::resetButtonDefaultLabel):
1101 (WebCore::ResponseIsMultipart):
1102 (WebCore::ResponseMIMEType):
1103 (WebCore::ResponseURL):
1104 (WebCore::screenDepthPerComponent):
1105 (WebCore::screenIsMonochrome):
1106 (WebCore::searchableIndexIntroduction):
1107 (WebCore::ServeSynchronousRequest):
1108 (WebCore::setFocusRingColorChangeFunction):
1109 (WebCore::submitButtonDefaultLabel):
1110 (WebCore::CachedResource::setPlatformResponse):
1111 (WebCore::CachedResource::setAllData):
1112 (WebCore::ChromeClientWin::setWindowRect):
1113 (WebCore::ChromeClientWin::windowRect):
1114 (WebCore::ChromeClientWin::pageRect):
1115 (WebCore::ChromeClientWin::scaleFactor):
1116 (WebCore::ChromeClientWin::focus):
1117 (WebCore::ChromeClientWin::unfocus):
1118 (WebCore::ChromeClientWin::createWindow):
1119 (WebCore::ChromeClientWin::createModalDialog):
1120 (WebCore::ChromeClientWin::show):
1121 (WebCore::ChromeClientWin::canRunModal):
1122 (WebCore::ChromeClientWin::runModal):
1123 (WebCore::ChromeClientWin::setToolbarsVisible):
1124 (WebCore::ChromeClientWin::toolbarsVisible):
1125 (WebCore::ChromeClientWin::setStatusbarVisible):
1126 (WebCore::ChromeClientWin::statusbarVisible):
1127 (WebCore::ChromeClientWin::setScrollbarsVisible):
1128 (WebCore::ChromeClientWin::scrollbarsVisible):
1129 (WebCore::ChromeClientWin::setMenubarVisible):
1130 (WebCore::ChromeClientWin::menubarVisible):
1131 (WebCore::ChromeClientWin::setResizable):
1132 (WebCore::ContextMenu::appendItem):
1133 (WebCore::ContextMenuClientWin::addCustomContextMenuItems):
1134 (WebCore::DocumentLoader::setFrame):
1135 (WebCore::DocumentLoader::frameLoader):
1136 (WebCore::DocumentLoader::URL):
1137 (WebCore::DocumentLoader::isStopping):
1138 (WebCore::DocumentLoader::stopLoading):
1139 (WebCore::DocumentLoader::setLoading):
1140 (WebCore::DocumentLoader::updateLoading):
1141 (WebCore::DocumentLoader::setupForReplaceByMIMEType):
1142 (WebCore::DocumentLoader::isLoadingInAPISense):
1143 (WebCore::DocumentLoader::stopRecordingResponses):
1144 (WebCore::EditorClientWin::shouldDeleteRange):
1145 (WebCore::EditorClientWin::shouldShowDeleteInterface):
1146 (WebCore::EditorClientWin::isContinuousSpellCheckingEnabled):
1147 (WebCore::EditorClientWin::isGrammarCheckingEnabled):
1148 (WebCore::EditorClientWin::spellCheckerDocumentTag):
1149 (WebCore::EventHandler::focusDocumentView):
1150 (WebCore::EventHandler::handleDrag):
1151 (WebCore::EventHandler::handleMouseUp):
1152 (WebCore::EventHandler::lastEventIsMouseUp):
1153 (WebCore::EventHandler::passMousePressEventToSubframe):
1154 (WebCore::EventHandler::passMouseMoveEventToSubframe):
1155 (WebCore::EventHandler::passMouseReleaseEventToSubframe):
1156 (WebCore::EventHandler::passWheelEventToSubframe):
1157 (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
1158 (WebCore::EventHandler::passMousePressEventToScrollbar):
1159 (WebCore::EventHandler::shouldDragAutoNode):
1160 (WebCore::EventHandler::tabsToAllControls):
1161 (WebCore::EventHandler::tabsToLinks):
1162 (WebCore::Frame::setNeedsReapplyStyles):
1163 (WebCore::FrameLoader::didFirstLayout):
1164 (WebCore::FrameLoader::overrideMediaType):
1165 (WebCore::FrameLoader::createJavaAppletWidget):
1166 (WebCore::FrameLoader::redirectDataToPlugin):
1167 (WebCore::FrameLoader::getHistoryLength):
1168 (WebCore::FrameLoader::setTitle):
1169 (WebCore::FrameLoader::referrer):
1170 (WebCore::FrameLoader::saveDocumentState):
1171 (WebCore::FrameLoader::restoreDocumentState):
1172 (WebCore::FrameLoader::goBackOrForward):
1173 (WebCore::FrameLoader::historyURL):
1174 (WebCore::FrameLoader::urlSelected):
1175 (WebCore::FrameLoader::createFrame):
1176 (WebCore::FrameLoader::submitForm):
1177 (WebCore::FrameLoader::partClearedInBegin):
1178 (WebCore::FrameLoader::originalRequestURL):
1179 (WebCore::FrameLoader::canGoBackOrForward):
1180 (WebCore::FrameLoader::objectContentType):
1181 (WebCore::FrameLoader::createPlugin):
1182 (WebCore::FrameLoader::detachFromParent):
1183 (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
1184 (WebCore::FrameView::updateBorder):
1185 (WebCore::FrameWin::bindingRootObject):
1186 (WebCore::FrameWin::canPaste):
1187 (WebCore::FrameWin::issuePasteAndMatchStyleCommand):
1188 (WebCore::FrameWin::markedTextRange):
1189 (WebCore::FrameWin::passSubframeEventToSubframe):
1190 (WebCore::FrameWin::lastEventIsMouseUp):
1191 (WebCore::FrameWin::addMessageToConsole):
1192 (WebCore::FrameWin::shouldChangeSelection):
1193 (WebCore::FrameWin::respondToChangedSelection):
1194 (WebCore::FrameWin::clearUndoRedoOperations):
1195 (WebCore::FrameWin::markMisspellingsInAdjacentWords):
1196 (WebCore::FrameWin::respondToChangedContents):
1197 (WebCore::GraphicsContext::addRoundedRectClip):
1198 (WebCore::GraphicsContext::setShadow):
1199 (WebCore::GraphicsContext::clearShadow):
1200 (WebCore::GraphicsContext::beginTransparencyLayer):
1201 (WebCore::GraphicsContext::endTransparencyLayer):
1202 (WebCore::GraphicsContext::clearRect):
1203 (WebCore::GraphicsContext::strokeRect):
1204 (WebCore::GraphicsContext::setLineWidth):
1205 (WebCore::GraphicsContext::setLineCap):
1206 (WebCore::GraphicsContext::setLineJoin):
1207 (WebCore::GraphicsContext::setMiterLimit):
1208 (WebCore::GraphicsContext::setAlpha):
1209 (WebCore::GraphicsContext::setCompositeOperation):
1210 (WebCore::GraphicsContext::clip):
1211 (WebCore::GraphicsContext::rotate):
1212 (WebCore::GraphicsContext::scale):
1213 (WebCore::Icon::Icon):
1214 (WebCore::Icon::~Icon):
1215 (WebCore::Icon::newIconForFile):
1216 (WebCore::Icon::paint):
1217 (WebCore::IconDatabase::isIconExpiredForIconURL):
1218 (WebCore::IconDatabase::hasEntryForIconURL):
1219 (WebCore::IconDatabase::sharedIconDatabase):
1220 (WebCore::IconDatabase::setIconURLForPageURL):
1221 (WebCore::IconDatabase::setIconDataForIconURL):
1222 (WebCore::Image::drawTiled):
1223 (WebCore::Image::getHBITMAP):
1224 (WebCore::Path::Path):
1225 (WebCore::Path::~Path):
1226 (WebCore::Path::contains):
1227 (WebCore::Path::translate):
1228 (WebCore::Path::boundingRect):
1229 (WebCore::Path::operator=):
1230 (WebCore::Path::clear):
1231 (WebCore::Path::moveTo):
1232 (WebCore::Path::addLineTo):
1233 (WebCore::Path::addQuadCurveTo):
1234 (WebCore::Path::addBezierCurveTo):
1235 (WebCore::Path::addArcTo):
1236 (WebCore::Path::closeSubpath):
1237 (WebCore::Path::addArc):
1238 (WebCore::Path::addRect):
1239 (WebCore::Path::addEllipse):
1240 (WebCore::Path::transform):
1241 (WebCore::PlatformMouseEvent::PlatformMouseEvent):
1242 (WebCore::PlatformScrollbar::PlatformScrollbar):
1243 (WebCore::PlatformScrollbar::~PlatformScrollbar):
1244 (WebCore::PlatformScrollbar::width):
1245 (WebCore::PlatformScrollbar::height):
1246 (WebCore::PlatformScrollbar::setEnabled):
1247 (WebCore::PlatformScrollbar::paint):
1248 (WebCore::PlatformScrollbar::updateThumbPosition):
1249 (WebCore::PlatformScrollbar::updateThumbProportion):
1250 (WebCore::PlatformScrollbar::setRect):
1251 (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
1252 (WebCore::PlugInInfoStore::pluginCount):
1253 (WebCore::PlugInInfoStore::supportsMIMEType):
1254 (WebCore::PolicyCheck::PolicyCheck):
1255 (WebCore::PolicyCheck::clear):
1256 (WebCore::PolicyCheck::clearRequest):
1257 (WebCore::PolicyCheck::call):
1258 (WebCore::RenderThemeWin::systemFont):
1259 (WebCore::RenderThemeWin::paintMenuList):
1260 (WebCore::RenderThemeWin::adjustMenuListStyle):
1261 (WebCore::ResourceLoader::cancel):
1262 (WebCore::ScrollView::addChild):
1263 (WebCore::ScrollView::removeChild):
1264 (WebCore::ScrollView::scrollPointRecursively):
1265 (WebCore::ScrollView::inWindow):
1266 (WebCore::ScrollView::paint):
1267 (WebCore::ScrollView::wheelEvent):
1268 (WebCore::ScrollView::themeChanged):
1269 (WebCore::ScrollView::convertChildToSelf):
1270 (WebCore::ScrollView::convertSelfToChild):
1271 (WebCore::ScrollView::geometryChanged):
1272 (WebCore::ScrollView::scrollbarUnderMouse):
1273 (WebCore::ScrollView::setFrameGeometry):
1274 (WebCore::ScrollView::windowResizerRect):
1275 (WebCore::ScrollView::resizerOverlapsContent):
1276 (WebCore::TextField::selectAll):
1277 (WebCore::TextField::addSearchResult):
1278 (WebCore::TextField::selectionStart):
1279 (WebCore::TextField::hasSelectedText):
1280 (WebCore::TextField::selectedText):
1281 (WebCore::TextField::setAutoSaveName):
1282 (WebCore::TextField::checksDescendantsForFocus):
1283 (WebCore::TextField::setSelection):
1284 (WebCore::TextField::setMaxResults):
1285 (WebCore::TextField::edited):
1286 (WebCore::TextField::focusPolicy):
1287 (WebCore::TextField::TextField):
1288 (WebCore::TextField::~TextField):
1289 (WebCore::TextField::setFont):
1290 (WebCore::TextField::setAlignment):
1291 (WebCore::TextField::setWritingDirection):
1292 (WebCore::TextField::maxLength):
1293 (WebCore::TextField::setMaxLength):
1294 (WebCore::TextField::text):
1295 (WebCore::TextField::setText):
1296 (WebCore::TextField::cursorPosition):
1297 (WebCore::TextField::setCursorPosition):
1298 (WebCore::TextField::setEdited):
1299 (WebCore::TextField::setReadOnly):
1300 (WebCore::TextField::setPlaceholderString):
1301 (WebCore::TextField::setColors):
1302 (WebCore::TextField::sizeForCharacterWidth):
1303 (WebCore::TextField::baselinePosition):
1304 (WebCore::TextField::setLiveSearch):
1305 (WebCore::Widget::enableFlushDrawing):
1306 (WebCore::Widget::isEnabled):
1307 (WebCore::Widget::focusPolicy):
1308 (WebCore::Widget::disableFlushDrawing):
1309 (WebCore::Widget::removeFromParent):
1310 (WebCore::Widget::lockDrawingFocus):
1311 (WebCore::Widget::unlockDrawingFocus):
1312 (WebCore::Widget::capturingMouse):
1313 (WebCore::Widget::setCapturingMouse):
1314 (WebCore::Widget::capturingTarget):
1315 (WebCore::Widget::capturingChild):
1316 (WebCore::Widget::setCapturingChild):
1317 (WebCore::Widget::convertChildToSelf):
1318 (WebCore::Widget::convertSelfToChild):
1319 (WebCore::Widget::setParent):
1320 (WebCore::Widget::parent):
1321 (WebCore::Widget::setEnabled):
1322 (WebCore::Widget::paint):
1323 (WebCore::Widget::setIsSelected):
1324 (WebCore::Widget::invalidate):
1325 (WebCore::Widget::invalidateRect):
1326 * platform/win/WidgetWin.cpp:
1327 (WebCore::Widget::clearFocus):
1329 2006-11-16 Timothy Hatcher <timothy@apple.com>
1333 <rdar://problem/4796730> table deletion elements are serialized out if they are visible when innerHTML or a Web Archive is made
1335 * editing/markup.cpp:
1336 (WebCore::createMarkup): disable the delete button so it's elements are not serialized into the markup
1338 2006-11-16 George Staikos <staikos@kde.org>
1340 Rubberstamped by Maciej.
1342 Making the code valgrind clean.
1344 * rendering/RenderTableCell.cpp: initialize variable m_widthChanged
1345 (WebCore::RenderTableCell::RenderTableCell):
1346 * rendering/RenderTableCell.h: remove unused variable nWrap
1348 2006-11-16 David Harrison <harrison@apple.com>
1350 Reviewed by Darin and Tim.
1352 <rdar://problem/4799949> REGRESSION: Crash in FrameMac::eventMayStartDrag() by clicking on a page
1354 * page/mac/EventHandlerMac.mm:
1355 (WebCore::EventHandler::eventMayStartDrag):
1356 Add nil check of hitTest's result.innerNode().
1358 2006-11-16 Timothy Hatcher <timothy@apple.com>
1362 <rdar://problem/4836897> Deletion rectangle disappears when multiple list items are selected
1364 Consider the container of the selection range for deletion before asking enclosingNodeOfType().
1366 * editing/DeleteButtonController.cpp:
1367 (WebCore::enclosingDeletableElement):
1369 2006-11-16 Rob Buis <buis@kde.org>
1373 Removal of unused m_styleElement.
1376 (WebCore::Node::Node):
1377 (WebCore::Node::dump):
1379 (WebCore::Node::isLink): should be styleElement, a bug?
1381 2006-11-15 Adam Roben <aroben@apple.com>
1385 Rename the items in the ContextMenuAction enum so that they don't
1386 conflict with WebKit names.
1388 * WebCore.xcodeproj/project.pbxproj:
1389 * platform/ContextMenu.cpp:
1390 (WebCore::ContextMenu::populate):
1391 * platform/ContextMenu.h:
1393 (WebCore::ContextMenuItem::ContextMenuItem):
1395 2006-11-15 Adam Roben <aroben@apple.com>
1399 Change m_contextMenu to an OwnPtr.
1401 * WebCore.xcodeproj/project.pbxproj:
1402 * page/ContextMenuController.cpp:
1403 (WebCore::ContextMenuController::handleContextMenuEvent):
1404 * page/ContextMenuController.h:
1406 2006-11-15 Adam Roben <aroben@apple.com>
1410 Add new ContextMenuController and ContextMenuClient classes, and move
1411 context menu responsibilities from Chrome and ChromeClient to them.
1414 * WebCore.xcodeproj/project.pbxproj: Add new files to project, and
1415 alphabetize some others.
1416 * page/Chrome.cpp: Remove context menu-related code.
1417 * page/Chrome.h: Ditto.
1418 * page/ChromeClient.h:
1419 * page/ContextMenuClient.h: Added.
1420 * page/ContextMenuController.cpp: Added.
1421 (WebCore::ContextMenuController::ContextMenuController):
1422 (WebCore::ContextMenuController::~ContextMenuController):
1423 (WebCore::ContextMenuController::handleContextMenuEvent):
1424 (WebCore::ContextMenuController::contextMenuActionSelected):
1425 * page/ContextMenuController.h: Added.
1426 (WebCore::ContextMenuController::client):
1427 * page/Page.cpp: Every Page now has a ContextMenuController.
1428 (WebCore::Page::Page):
1429 * page/Page.h: Made m_dragCaretController and m_chrome objects instead
1430 of pointers to objects.
1431 (WebCore::Page::contextMenuController):
1432 * platform/ContextMenu.cpp:
1433 (WebCore::ContextMenu::populate): Removed the call to Chrome to ask the
1434 delegate to add its menu items, and moved the code from the static
1435 addDefaultItems function into this method.
1436 * platform/ContextMenu.h:
1437 (WebCore::ContextMenu::show): Added an empty method body since this
1438 method is now called from ContextMenuController (although no one calls
1439 into ContextMenuController yet, so it's OK for this to be empty).
1440 (WebCore::ContextMenu::hide): Ditto.
1442 2006-11-15 Anders Carlsson <acarlsson@apple.com>
1446 Add null checks on the node filter, they can be null if no filter was passed to the respective
1449 * bindings/js/JSNodeIteratorCustom.cpp:
1450 (WebCore::JSNodeIterator::mark):
1451 * bindings/js/JSTreeWalkerCustom.cpp:
1452 (WebCore::JSTreeWalker::mark):
1454 2006-11-15 Oliver Hunt <oliver@apple.com>
1458 Allow <embed> and <object> tags to include non-plugin
1459 content when plugins are disabled
1461 Fixes <rdar://problems/4839488>
1463 * html/HTMLEmbedElement.cpp:
1464 (WebCore::HTMLEmbedElement::rendererIsNeeded):
1465 * html/HTMLObjectElement.cpp:
1466 (WebCore::HTMLObjectElement::rendererIsNeeded):
1467 * loader/FrameLoader.cpp:
1468 (WebCore::FrameLoader::requestObject):
1470 2006-11-15 Adele Peterson <adele@apple.com>
1472 Build fix. Another type problem that I don't see locally.
1474 * rendering/RenderSlider.cpp: (WebCore::RenderSlider::setPositionFromValue):
1476 2006-11-15 Adele Peterson <adele@apple.com>
1480 Adding MathExtras header.
1482 * rendering/RenderSlider.cpp:
1484 2006-11-15 Timothy Hatcher <timothy@apple.com>
1486 Reviewed by Harrison.
1488 <rdar://problem/4832894> Crash deleting an element inside a list while deletion rectangle is visible (compareBoundaryPoints)
1490 * Disable and hide the deletion UI for each editing command. This prevents editing commands from being affected
1491 by the deletion UI elements we insert. The deletion UI is then shown after the editing commands are completely done.
1493 * Multiple calls to DeleteButtonController's disable() needed to be paired with the same number of enable() calls before
1494 the deletion UI is enabled again. This allows for nested editing commands to be called without thrashing the deletion UI.
1496 * Make sure the the renderers are currently reflecting the latest style changes, so call updateLayoutIgnorePendingStylesheets().
1498 * editing/DeleteButtonController.cpp:
1499 (WebCore::DeleteButtonController::DeleteButtonController):
1500 (WebCore::isDeletableElement):
1501 (WebCore::DeleteButtonController::respondToChangedSelection): check the enabled state
1502 (WebCore::DeleteButtonController::respondToChangedContents): check the enabled state
1503 (WebCore::DeleteButtonController::show): call isDeletableElement() to make sure the element is allowed
1504 (WebCore::DeleteButtonController::deleteTarget): check the enabled state
1505 * editing/DeleteButtonController.h:
1506 (WebCore::DeleteButtonController::disable):
1507 (WebCore::DeleteButtonController::enable):
1508 (WebCore::DeleteButtonController::enabled):
1509 * editing/EditCommand.cpp:
1510 (WebCore::EditCommand::apply): hide and disable the deletion UI, then show at the end
1511 (WebCore::EditCommand::unapply): ditto
1512 (WebCore::EditCommand::reapply): ditto
1514 2006-11-15 Adele Peterson <adele@apple.com>
1518 New implementation of slider control.
1520 * WebCore.xcodeproj/project.pbxproj: Removed DeprecatedSlider and Slider classes, added RenderSlider class.
1521 * rendering/DeprecatedSlider.cpp: Removed.
1522 * rendering/DeprecatedSlider.h: Removed.
1523 * platform/Slider.h: Removed.
1524 * platform/mac/SliderMac.mm: Removed.
1525 * platform/win/TemporaryLinkStubs.cpp:
1527 * css/CSSSelector.h: (WebCore::CSSSelector::): Added PseudoElement for thumb, PseudoSliderThumb.
1528 * css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): Added code for "-webkit-slider-thumb".
1529 * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::checkOneSelector):
1530 * rendering/RenderStyle.cpp:
1532 (WebCore::pseudoBit):
1533 * rendering/RenderStyle.h: (WebCore::RenderStyle::):
1535 * css/html4.css: Added style for input[type="range"] and input[type="range"]::-webkit-slider-thumb
1537 * html/HTMLInputElement.cpp:
1538 (WebCore::HTMLInputElement::createRenderer): Create RenderSlider for input type="range" elements.
1539 (WebCore::HTMLInputElement::defaultEventHandler): Allow the renderer to forward events, and set thumb position when click occurs on the track.
1541 * page/EventHandler.cpp: Added concept of a node that will capture all mouse events. This will be used by the slider thumb, so it can
1542 continue to capture mouse move events during the drag, even though those events aren't directly over the slider.
1543 (WebCore::EventHandler::EventHandler):
1544 (WebCore::EventHandler::setCapturingMouseEventsNode):
1545 (WebCore::EventHandler::dispatchMouseEvent): If the capturingMouseEventsNode is set, then dispatch all mouse events to that node.
1546 * page/EventHandler.h:
1548 * rendering/RenderSlider.cpp: Added.
1549 (WebCore::HTMLSliderThumbElement::isShadowNode):
1550 (WebCore::HTMLSliderThumbElement::shadowParentNode):
1551 (WebCore::HTMLSliderThumbElement::inDragMode): Keeps track of whether or not the thumb is in drag mode.
1552 (WebCore::HTMLSliderThumbElement::HTMLSliderThumbElement):
1553 (WebCore::HTMLSliderThumbElement::defaultEventHandler): Handles positioning of slider thumb during drag.
1554 (WebCore::RenderSlider::RenderSlider):
1555 (WebCore::RenderSlider::~RenderSlider):
1556 (WebCore::RenderSlider::baselinePosition):
1557 (WebCore::RenderSlider::calcMinMaxWidth):
1558 (WebCore::RenderSlider::setStyle):
1559 (WebCore::RenderSlider::createThumbStyle):
1560 (WebCore::RenderSlider::layout): Positions the thumb to be centered on the track.
1561 (WebCore::RenderSlider::updateFromElement):
1562 (WebCore::RenderSlider::mouseEventIsInThumb):
1563 (WebCore::RenderSlider::setValueForPosition):
1564 (WebCore::RenderSlider::setPositionFromValue):
1565 (WebCore::RenderSlider::positionForOffset):
1566 (WebCore::RenderSlider::valueChanged):
1567 (WebCore::RenderSlider::currentPosition):
1568 (WebCore::RenderSlider::setCurrentPosition):
1569 (WebCore::RenderSlider::trackSize):
1570 (WebCore::RenderSlider::forwardEvent):
1571 (WebCore::RenderSlider::inDragMode):
1572 * rendering/RenderSlider.h: Added.
1573 (WebCore::RenderSlider::renderName):
1575 * rendering/RenderTheme.cpp: Added drawing code for slider track and thumb.
1576 (WebCore::RenderTheme::adjustStyle):
1577 (WebCore::RenderTheme::paint):
1578 (WebCore::RenderTheme::paintBorderOnly):
1579 (WebCore::RenderTheme::paintDecorations):
1580 (WebCore::RenderTheme::adjustSliderTrackStyle):
1581 (WebCore::RenderTheme::adjustSliderThumbStyle):
1582 * rendering/RenderTheme.h:
1583 (WebCore::RenderTheme::paintSliderTrack):
1584 (WebCore::RenderTheme::paintSliderThumb):
1585 * rendering/RenderThemeMac.h:
1586 * rendering/RenderThemeMac.mm:
1587 (WebCore::RenderThemeMac::RenderThemeMac):
1588 (WebCore::TrackGradientInterpolate):
1589 (WebCore::RenderThemeMac::paintSliderTrack):
1590 (WebCore::RenderThemeMac::paintSliderThumb):
1591 (WebCore::RenderThemeMac::adjustSliderTrackStyle):
1592 (WebCore::RenderThemeMac::adjustSliderThumbStyle):
1594 2006-11-15 Beth Dakin <bdakin@apple.com>
1598 Oops! Forgot to add this!
1600 * platform/mac/ContextMenuMac.mm: Added.
1601 (-[MenuTarget forwardContextMenuAction:initWithContextMenu:WebCore::]):
1602 (-[MenuTarget WebCore::]):
1603 (-[MenuTarget setMenu:WebCore::]):
1604 (-[MenuTarget forwardContextMenuAction:]):
1606 (ContextMenu::appendItem):
1607 (ContextMenu::itemCount):
1608 (ContextMenu::insertItem):
1609 (ContextMenu::setPlatformMenuDescription):
1611 2006-11-15 Beth Dakin <bdakin@apple.com>
1612 & Adam Roben <aroben@apple.com>
1614 Reviewed by Adam and Beth.
1616 Initial cut at pushing Context Menus into WebCore. Nobody actually
1617 calls this code just yet.
1620 * WebCore.xcodeproj/project.pbxproj:
1622 (WebCore::Chrome::addCustomContextMenuItems): Use the chrome to
1623 call into addContextMenuItems on the UIDelegate.
1625 * page/ChromeClient.h:
1626 * platform/ContextMenu.cpp: Added.
1627 (WebCore::addDefaultItems):
1628 (WebCore::ContextMenu::populate):
1629 * platform/ContextMenu.h: Added.
1631 (WebCore::ContextMenuItem::ContextMenuItem):
1632 (WebCore::ContextMenu::ContextMenu):
1633 (WebCore::ContextMenu::hitTestResult):
1634 (WebCore::ContextMenu::platformMenuDescription):
1636 2006-11-15 Adele Peterson <adele@apple.com>
1640 - Fix for <rdar://problem/4780306> REGRESSION: clicking in textarea does not set selection at PunBB.org
1642 * css/html4.css: Removed "-webkit-user-select: ignore" for labels.
1644 2006-11-15 David Harrison <harrison@apple.com>
1648 <rdar://problem/4836034> REGRESSION: Hang while spell-checking (advanceToNextMisspelling)
1651 * manual-tests/keep_spelling_markers.html:
1652 Updated to include checking for this bug.
1654 * bridge/mac/FrameMac.mm:
1655 (WebCore::FrameMac::advanceToNextMisspelling):
1656 it.advance() even when current string is a single space.
1658 2006-11-15 Brady Eidson <beidson@apple.com>
1662 Backing out macro expansion
1664 * WebCore.xcodeproj/project.pbxproj:
1665 * html/HTMLElement.cpp:
1666 (WebCore::HTMLElement::isRecognizedTagName):
1667 * ksvg2/scripts/make_names.pl:
1669 2006-11-15 David Harrison <harrison@apple.com>
1673 <rdar://problem/4770453> VO not honoring secure edit fields in web pages
1675 The remaining problem was the password fields would return their contents
1676 even though they did not advertise that they could. Apparently, VoiceOver
1677 does not read the ads.
1679 * bridge/mac/WebCoreAXObject.mm:
1680 (isPasswordFieldElement):
1681 (-[WebCoreAXObject isPasswordField]):
1682 (-[WebCoreAXObject textMarkerForVisiblePosition:]):
1683 (-[WebCoreAXObject accessibilityAttributeValue:]):
1684 (-[WebCoreAXObject doAXStringForRange:]):
1686 2006-11-13 Lou Amadio <lamadio@apple.com>
1688 Reviewed by Darin Adler, Maciej Stachowiak
1690 Cleanup: Expanded macros in generated files
1692 * html/HTMLElement.cpp:
1693 (WebCore::HTMLElement::isRecognizedTagName):
1694 * ksvg2/scripts/make_names.pl:
1696 2006-11-16 Anders Carlsson <acarlsson@apple.com>
1700 Use Vector instead of DeprecatedPtrList.
1702 * editing/ApplyStyleCommand.cpp:
1703 (WebCore::ApplyStyleCommand::applyBlockStyle):
1704 * editing/BreakBlockquoteCommand.cpp:
1705 * rendering/RenderFlow.cpp:
1706 (WebCore::RenderFlow::paintOutline):
1708 2006-11-15 Adam Roben <aroben@apple.com>
1712 * page/EventHandler.h:
1714 2006-11-14 Beth Dakin <bdakin@apple.com>
1718 Move things off the bridge, and move sendContextMenuEvent() from
1719 EventHandlerMac to EventHandler.
1722 * WebCore.xcodeproj/project.pbxproj:
1723 * bridge/EditorClient.h:
1724 * bridge/mac/WebCoreFrameBridge.h:
1725 * editing/Editor.cpp:
1726 (WebCore::Editor::selectWordBeforeMenuEvent):
1727 (WebCore::Editor::clientIsEditable):
1729 * page/EventHandler.cpp:
1730 (WebCore::EventHandler::sendContextMenuEvent):
1731 * page/EventHandler.h:
1732 * page/mac/EventHandlerMac.mm:
1734 2006-11-14 Timothy Hatcher <timothy@apple.com>
1736 Reviewed by Harrison.
1738 <rdar://problem/4766635> Safari should never follow links in editable areas (add a WebKitEditableLinkNeverLive option)
1740 Adds an EditableLinkNeverLive setting that will make links in editable areas always dead.
1742 * bridge/mac/WebCoreSettings.mm:
1743 (-[WebCoreSettings setEditableLinkBehavior:]):
1744 * html/HTMLAnchorElement.cpp:
1745 (WebCore::HTMLAnchorElement::defaultEventHandler):
1746 (WebCore::HTMLAnchorElement::setActive):
1747 (WebCore::HTMLAnchorElement::isLiveLink):
1748 * page/FrameView.cpp:
1749 (WebCore::selectCursor):
1751 (WebCore::Settings::):
1753 2006-11-14 Mark Rowe <bdash@webkit.org>
1759 * bindings/scripts/CodeGenerator.pm:
1761 2006-11-14 Anders Carlsson <acarlsson@apple.com>
1763 Turns out I wasn't forcing DWARF on the world at all,
1764 it's now the default!
1766 * WebCore.xcodeproj/project.pbxproj:
1768 2006-11-14 Anders Carlsson <acarlsson@apple.com>
1770 I must stop trying to force DWARF on the world.
1772 * WebCore.xcodeproj/project.pbxproj:
1774 2006-11-13 Justin Garcia <justin.garcia@apple.com>
1776 Reviewed by harrison
1778 <rdar://problem/4806874>
1779 Missing background image after paste
1781 * editing/markup.cpp:
1782 (WebCore::createMarkup): If the body is fully selected, add a
1783 div with its CSS properties to the markup. Migrated a use of
1784 enclosingBlockFlowElement to enclosingBlock to fix an infinite
1785 loop when pasting <div><input></div>.
1787 2006-11-14 Anders Carlsson <acarlsson@apple.com>
1791 Add Undo/Redo to execCommand.
1793 * editing/Editor.cpp:
1794 (WebCore::execRedo):
1795 (WebCore::execUndo):
1798 (WebCore::CommandEntry::):
1800 2006-11-14 Darin Adler <darin@apple.com>
1804 - created EventHandler class, moved event handling code from both
1805 Frame and FrameView in there
1807 - added ScrollTypes.h header so you can include the scroller-related
1808 enums without all of Scrollbar.h
1810 * page/EventHandler.cpp: Added.
1811 * page/EventHandler.h: Added.
1812 * page/mac/EventHandlerMac.mm: Added.
1814 * platform/ScrollBarMode.h: Removed.
1815 * platform/ScrollTypes.h: Added.
1818 * WebCore.xcodeproj/project.pbxproj:
1819 * bridge/mac/FrameMac.h:
1820 * bridge/mac/FrameMac.mm:
1821 (WebCore::FrameMac::FrameMac):
1822 (WebCore::FrameMac::~FrameMac):
1823 (WebCore::FrameMac::bridgeForWidget):
1824 (WebCore::FrameMac::imageFromRect):
1825 * bridge/mac/FrameViewMac.mm:
1826 * bridge/mac/WebCoreFrameBridge.mm:
1827 (-[WebCoreFrameBridge scrollOverflowInDirection:granularity:]):
1828 (-[WebCoreFrameBridge nextKeyView]):
1829 (-[WebCoreFrameBridge previousKeyView]):
1830 (-[WebCoreFrameBridge nextKeyViewInsideWebFrameViews]):
1831 (-[WebCoreFrameBridge previousKeyViewInsideWebFrameViews]):
1832 (-[WebCoreFrameBridge _visiblePositionForPoint:]):
1833 (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
1834 (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
1835 (-[WebCoreFrameBridge concludeDragForDraggingInfo:]):
1836 (-[WebCoreFrameBridge dragSourceMovedTo:]):
1837 (-[WebCoreFrameBridge dragSourceEndedAt:operation:]):
1839 (WebCore::Document::hoveredNodeDetached):
1841 * dom/EventTargetNode.cpp:
1842 (WebCore::EventTargetNode::defaultEventHandler):
1843 * editing/SelectionController.cpp:
1844 (WebCore::SelectionController::SelectionController):
1845 * editing/SelectionController.h:
1846 (WebCore::SelectionController::setCaretBlinkingSuspended):
1847 (WebCore::SelectionController::isCaretBlinkingSuspended):
1848 * html/HTMLAnchorElement.cpp:
1849 (WebCore::HTMLAnchorElement::isKeyboardFocusable):
1850 * html/HTMLFrameElementBase.cpp:
1851 (WebCore::HTMLFrameElementBase::setFocus):
1852 * html/HTMLFrameElementBase.h:
1853 * html/HTMLGenericFormElement.cpp:
1854 (WebCore::HTMLGenericFormElement::isKeyboardFocusable):
1855 * html/HTMLInputElement.cpp:
1856 (WebCore::HTMLInputElement::defaultEventHandler):
1857 * html/HTMLSelectElement.cpp:
1858 (WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
1859 * loader/FrameLoader.cpp:
1860 (WebCore::FrameLoader::clear):
1861 (WebCore::FrameLoader::open):
1864 (WebCore::Frame::caretBlinkTimerFired):
1865 (WebCore::Frame::frameForWidget):
1866 (WebCore::Frame::eventHandler):
1867 (WebCore::Frame::setProhibitsScrolling):
1868 (WebCore::FramePrivate::FramePrivate):
1870 * page/FramePrivate.h:
1871 * page/FrameView.cpp:
1872 (WebCore::FrameViewPrivate::FrameViewPrivate):
1873 (WebCore::FrameViewPrivate::reset):
1874 (WebCore::FrameView::FrameView):
1875 (WebCore::FrameView::~FrameView):
1876 (WebCore::FrameView::clear):
1877 (WebCore::FrameView::adjustViewSize):
1878 (WebCore::FrameView::addRepaintInfo):
1879 (WebCore::FrameView::layout):
1880 (WebCore::FrameView::scrollPointRecursively):
1881 (WebCore::FrameView::setContentsPos):
1882 (WebCore::FrameView::scheduleRelayoutOfSubtree):
1883 (WebCore::FrameView::scheduleEvent):
1884 (WebCore::FrameView::updateOverflowStatus):
1885 (WebCore::FrameView::dispatchScheduledEvents):
1886 (WebCore::FrameView::windowClipRectForLayer):
1887 (WebCore::FrameView::handleMouseMoveEvent):
1888 (WebCore::FrameView::handleMouseReleaseEvent):
1890 * page/PageState.cpp:
1891 (WebCore::PageState::PageState):
1892 (WebCore::PageState::restore):
1894 * platform/ScrollBar.h:
1895 * platform/ScrollView.h:
1896 * platform/mac/ClipboardMac.mm:
1897 * platform/mac/PopupMenuMac.mm:
1898 (WebCore::PopupMenu::show):
1899 * platform/mac/SliderMac.mm:
1900 (-[WebCoreSlider becomeFirstResponder]):
1901 (-[WebCoreSlider nextKeyView]):
1902 (-[WebCoreSlider previousKeyView]):
1903 (-[WebCoreSlider canBecomeKeyView]):
1904 (Slider::focusPolicy):
1905 * platform/mac/WebCoreTextField.mm:
1906 (-[WebCoreTextFieldController textView:shouldHandleEvent:]):
1907 (-[WebCoreTextFieldController setHasFocus:]):
1908 (-[WebCoreSearchField nextKeyView]):
1909 (-[WebCoreSearchField previousKeyView]):
1910 (-[WebCoreSearchFieldCell _addStringToRecentSearches:]):
1911 * platform/mac/WidgetMac.mm:
1912 (WebCore::Widget::hasFocus):
1913 (WebCore::Widget::clearFocus):
1914 * rendering/RenderFrameSet.cpp:
1915 (WebCore::RenderFrameSet::setResizing):
1916 * rendering/RenderLayer.cpp:
1917 (WebCore::RenderLayer::autoscroll):
1918 (WebCore::RenderLayer::resize):
1919 (WebCore::RenderLayer::updateOverflowStatus):
1920 * rendering/RenderLayer.h:
1921 * rendering/RenderListBox.cpp:
1922 (WebCore::RenderListBox::autoscroll):
1923 * rendering/RenderObject.cpp:
1924 (WebCore::RenderObject::draggableNode):
1925 (WebCore::RenderObject::destroy):
1926 * rendering/RenderObject.h:
1927 (WebCore::RenderObject::RepaintInfo::RepaintInfo):
1928 * rendering/RenderPartObject.cpp:
1929 (WebCore::RenderPartObject::viewCleared):
1931 2006-11-14 Anders Carlsson <acarlsson@apple.com>
1935 Let the editor client handle undo/redo.
1938 * WebCore.xcodeproj/project.pbxproj:
1939 * bridge/EditorClient.h:
1940 * bridge/mac/FrameMac.h:
1941 * bridge/mac/FrameMac.mm:
1942 (WebCore::FrameMac::canUndo):
1943 (WebCore::FrameMac::canRedo):
1944 * bridge/mac/WebCoreEditCommand.h: Removed.
1945 * bridge/mac/WebCoreEditCommand.mm: Removed.
1946 * bridge/mac/WebCoreFrameBridge.h:
1947 * bridge/mac/WebCoreFrameBridge.mm:
1948 * editing/Editor.cpp:
1949 (WebCore::Editor::appliedEditing):
1950 (WebCore::Editor::unappliedEditing):
1951 (WebCore::Editor::reappliedEditing):
1952 * editing/JSEditor.cpp:
1953 * loader/FrameLoader.cpp:
1954 (WebCore::FrameLoader::closeURL):
1957 * rendering/RenderTextControl.cpp:
1958 (WebCore::RenderTextControl::updateFromElement):
1960 2006-11-14 Nikolas Zimmermann <zimmermann@kde.org>
1962 Reviewed and landed by Brady
1967 * loader/qt/FrameLoaderQt.cpp:
1968 (WebCore::FrameLoader::submitForm):
1969 * platform/network/qt/ResourceHandleManager.cpp:
1970 (WebCore::ResourceHandleManager::add):
1971 * platform/qt/FrameQtClient.cpp:
1972 (WebCore::FrameQtClientDefault::submitForm):
1973 * platform/qt/FrameQtClient.h:
1975 2006-11-14 Brady Eidson <beidson@apple.com>
1979 Cleanup of my patch last night and merging with aroben-style changes from this morning
1980 (More ref-counted FormData stuff)
1982 * html/HTMLFormElement.cpp:
1983 (WebCore::HTMLFormElement::submit):
1984 * loader/FrameLoader.cpp:
1985 (WebCore::FrameLoader::submitForm):
1986 * platform/network/ResourceHandle.cpp:
1987 (WebCore::ResourceHandle::postData):
1988 * platform/network/ResourceHandle.h:
1989 * platform/network/cf/FormDataStreamCFNet.cpp:
1990 (WebCore::setHTTPBody):
1991 * platform/network/mac/FormDataStreamMac.h:
1992 * platform/network/mac/FormDataStreamMac.mm:
1993 (WebCore::getStreamFormDatas):
1994 (WebCore::formCreate):
1995 (WebCore::formFinalize):
1996 (WebCore::setHTTPBody):
1997 (WebCore::httpBodyFromStream):
1998 * platform/network/mac/ResourceRequestMac.mm:
1999 (WebCore::getResourceRequest):
2001 2006-11-14 Rob Buis <buis@kde.org>
2005 http://bugs.webkit.org/show_bug.cgi?id=11575
2006 Bug 11575: REGRESSION: WebCore crash in CSSParser/HTMLTokenizer
2008 Test: fast/css/css-imports.html
2010 * css/CSSImportRule.cpp:
2011 (WebCore::CSSImportRule::insertedIntoParent):
2012 Fix the crash by testing for null pointer.
2014 2006-11-14 Alexey Proskuryakov <ap@webkit.org>
2018 Test for http://bugs.webkit.org/show_bug.cgi?id=3387
2019 Redundant keydown, keypress, keyup events sent for arrow keys
2021 * manual-tests/arrow-key-events.html: Added.
2023 2006-11-14 Darin Adler <darin@apple.com>
2027 Fix up usages of FormData within CFNet loader code.
2029 * platform/network/ResourceRequest.h:
2030 (WebCore::ResourceRequest::httpBody):
2031 * platform/network/cf/FormDataStreamCFNet.cpp:
2032 (WebCore::getStreamFormDatas): Store RefPtr<FormData>s in the
2033 streamFormDatas HashMap.
2034 (WebCore::formCreate):
2035 (WebCore::formFinalize): Removed delete because the remove() will deref
2036 and delete if necessary.
2037 (WebCore::setHTTPBody): Changed parameter to PassRefPtr.
2038 (WebCore::httpBodyFromStream):
2039 * platform/network/cf/FormDataStreamCFNet.h: Fix declarations.
2040 * platform/network/cf/ResourceRequestCFNet.cpp:
2041 (WebCore::getResourceRequest):
2043 2006-11-14 Greg Jackson <gjspanner@gmail.com>
2047 Preserves any pre-existing value for WEBCORE_NAVIGATOR_PLATFORM
2048 rather than overriding it based on platform detection.
2050 * bindings/js/kjs_navigator.cpp:
2052 2006-11-13 Brady Eidson <beidson@apple.com>
2056 Made FormData Shared, and pass it around as such.
2058 * WebCore.xcodeproj/project.pbxproj: Reordered some items
2059 * html/HTMLFormElement.cpp:
2060 (WebCore::HTMLFormElement::formData):
2061 (WebCore::HTMLFormElement::submit):
2062 * html/HTMLFormElement.h:
2063 * loader/FrameLoader.cpp:
2064 (WebCore::FormSubmission::FormSubmission):
2065 (WebCore::FrameLoader::submitForm):
2066 * loader/FrameLoader.h:
2067 * loader/mac/FrameLoaderMac.mm:
2068 (WebCore::FrameLoader::post):
2069 (WebCore::FrameLoader::loadResourceSynchronously):
2070 * loader/mac/SubresourceLoaderMac.mm:
2071 (WebCore::SubresourceLoader::create):
2072 * platform/network/FormData.h: Made FormData shared
2073 * platform/network/ResourceHandle.h:
2074 * platform/network/ResourceHandle.cpp:
2075 (WebCore::ResourceHandle::postData):
2076 * platform/network/ResourceRequest.h:
2077 (WebCore::ResourceRequest::httpBody):
2078 (WebCore::ResourceRequest::setHTTPBody):
2079 * platform/network/mac/ResourceRequestMac.mm:
2080 (WebCore::getResourceRequest):
2081 (WebCore::nsURLRequest):
2083 * platform/network/mac/FormDataStreamMac.h:
2084 * platform/network/mac/FormDataStreamMac.mm:
2085 (WebCore::getStreamFormDatas): Hash Streams to RefPtr<FormData>s
2086 (WebCore::formCreate):
2087 (WebCore::formFinalize):
2088 (WebCore::setHTTPBody):
2089 (WebCore::httpBodyFromStream):
2091 * xml/xmlhttprequest.cpp:
2092 (WebCore::XMLHttpRequest::send):
2094 2006-11-13 Justin Garcia <justin.garcia@apple.com>
2096 Reviewed by harrison
2098 <rdar://problem/4828264>
2099 In Mail, a crash occurs at WebCore::Selection::toRange() when selecting this web content (http://www.cnet.com/)
2101 The start of the selection is in an editable area, and the end is in an
2102 input field inside that editable area. The code that should pull the end
2103 of such a selection outside the input field didn't escape shadow nodes,
2104 it would leave a dangling end, causing the crash in toRange.
2106 * editing/Selection.cpp:
2107 (WebCore::Selection::adjustForEditableContent): Added an ASSERT and a fixup
2108 to prevent crashes like this in future Release builds.
2109 * editing/htmlediting.cpp:
2110 (WebCore::firstEditablePositionAfterPositionInRoot): Let this function
2111 escape shadow nodes. We might eventually push this code down into
2112 next/previous{VisuallyDistinct}Canditate.
2113 (WebCore::lastEditablePositionBeforePositionInRoot): Ditto.
2115 2006-11-13 Justin Garcia <justin.garcia@apple.com>
2119 * editing/DeleteSelectionCommand.cpp:
2120 (WebCore::DeleteSelectionCommand::saveFullySelectedAnchor):
2121 * editing/Editor.cpp:
2122 (WebCore::Editor::appliedEditing):
2124 (WebCore::Editor::setRemovedAnchor): Pass a PassRefPtr.
2126 2006-11-10 Justin Garcia <justin.garcia@apple.com>
2130 <rdar://problem/4820026>
2131 copy/paste of news.google.com yields text from hidden select element options
2133 We were adding descendants of unrendered select elements.
2135 * editing/markup.cpp:
2136 (WebCore::createMarkup): Don't traverse into nodes without renderers, unless
2137 they are grandfathered in by a rendered select element.
2139 2006-11-12 Simon Hausmann <hausmann@kde.org>
2141 Reviewed by Sam Weinig.
2143 Fix Qt build. Missing AbstractShared implementation.
2144 http://bugs.webkit.org/show_bug.cgi?id=11581
2146 * loader/qt/FrameLoaderClientQt.cpp:
2147 (WebCore::FrameLoaderClientQt::ref):
2148 (WebCore::FrameLoaderClientQt::deref):
2149 * loader/qt/FrameLoaderClientQt.h:
2150 * platform/qt/ChromeClientQt.cpp:
2151 (WebCore::ChromeClientQt::ref):
2152 (WebCore::ChromeClientQt::deref):
2153 * platform/qt/ChromeClientQt.h:
2154 * platform/qt/EditorClientQt.cpp:
2155 (WebCore::EditorClientQt::ref):
2156 (WebCore::EditorClientQt::deref):
2157 * platform/qt/EditorClientQt.h:
2159 2006-11-13 Mark Rowe <bdash@webkit.org>
2163 Fix some Linux/Gdk build issues noted by Alp Toker.
2165 * Projects/gdk/webcore-gdk.bkl:
2166 * WebCoreSources.bkl:
2167 * platform/graphics/gdk/ImageGdk.cpp:
2168 (WebCore::Image::loadPlatformResource):
2170 2006-11-12 Brady Eidson <beidson@apple.com>
2174 Logging channel plumbing for future work
2176 * platform/Logging.cpp:
2178 * platform/Logging.h:
2179 * platform/mac/LoggingMac.mm:
2180 (WebCore::InitializeLoggingChannelsIfNecessary):
2182 2006-11-12 Mark Rowe <bdash@webkit.org>
2186 Linux/Gdk compilation fixes, and bakefile cleanups. Based on patches by
2189 * Projects/gdk/webcore-gdk.bkl:
2190 * WebCoreSources.bkl:
2191 * page/PageState.cpp:
2192 * platform/gdk/ChromeClientGdk.h:
2193 (WebCore::ChromeClientGdk::ref):
2194 (WebCore::ChromeClientGdk::deref):
2195 * platform/gdk/FrameGdk.cpp:
2196 (WebCore::FrameGdkClientDefault::openURL):
2197 (WebCore::FrameGdkClientDefault::didReceiveData):
2198 (WebCore::FrameGdkClientDefault::receivedAllData):
2199 (WebCore::FrameGdk::FrameGdk):
2200 (WebCore::FrameGdk::~FrameGdk):
2201 * platform/gdk/FrameGdk.h:
2202 * platform/gdk/KeyEventGdk.cpp:
2203 (WebCore::keyIdentifierForGdkKeyCode):
2204 * platform/gdk/ScreenClientGdk.h: Removed.
2205 * platform/gdk/TemporaryLinkStubs.cpp:
2206 (FrameGdk::canPaste):
2207 (FrameGdk::originalRequestURL):
2208 (TextField::TextField):
2209 * platform/network/gdk/ResourceHandleManager.cpp:
2210 (WebCore::ResourceHandleManager::downloadTimerCallback):
2211 (WebCore::ResourceHandleManager::add):
2212 (WebCore::ResourceHandleManager::cancel):
2215 2006-11-11 Geoffrey Garen <ggaren@apple.com>
2217 Reviewed by Maciej Stachowiak.
2219 - Fixed loader crash by clarifying ownership of WebKit client objects.
2220 WebCore objects own their WebKit clients, and ref and deref through
2221 virtual methods, leaving WebKit free to use whatever client / reference-counting
2222 implementation it likes.
2225 * WebCore.xcodeproj/project.pbxproj:
2226 * bridge/EditorClient.h: Fixed up function prototypes for style.
2227 * loader/FrameLoader.cpp: Removed detachFrameLoader, since its real purpose
2228 was to implement an alternative ownership model.
2229 (WebCore::FrameLoader::~FrameLoader): Removed empty destructor.
2230 (WebCore::FrameLoader::setClient): This function now takes ownership
2231 (WebCore::FrameLoader::client):
2232 * loader/FrameLoader.h:
2233 * loader/FrameLoaderClient.h:
2234 * page/ChromeClient.h:
2235 * platform/AbstractShared.h: Added. This is the virtual function-based refcounting
2236 complement to Shared.
2237 (WebCore::AbstractShared::~AbstractShared):
2239 2006-11-11 George Staikos <staikos@kde.org>
2243 Fix uninitialized variable.
2245 * rendering/RenderStyle.h:
2247 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
2249 Reviewed/landed by Adam.
2251 Complete cleanup of the CMakeLists.txt.
2252 Now all files to be built are sorted in alphabetic order.
2254 General style cleanup, remove all tabs etc.
2258 2006-11-11 Geoffrey Garen <ggaren@apple.com>
2260 Reviewed by Maciej Stachowiak.
2262 Added missing initializer to ResourceRequest -- fixes some loader crashes
2263 due to assuming a request always has a non-null httpMethod.
2265 * platform/network/ResourceRequest.h:
2266 (WebCore::ResourceRequest::ResourceRequest):
2268 2006-11-11 Brady Eidson <beidson@apple.com>
2274 * loader/FrameLoaderClient.h:
2276 2006-11-11 Darin Adler <darin@apple.com>
2278 - attempt to fix Qt build
2280 * platform/qt/CursorQt.cpp:
2281 (WebCore::verticalTextCursor): Added. Just returns pointer cursor.
2282 (WebCore::cellCursor): Ditto.
2283 (WebCore::contextMenuCursor): Ditto.
2285 2006-11-11 Rob Buis <buis@kde.org>
2289 http://bugs.webkit.org/show_bug.cgi?id=10893
2290 InsertRule can not handle @import statements
2292 Allow @import as part of a css rule.
2295 * css/CSSImportRule.cpp:
2296 (WebCore::CSSImportRule::insertedIntoParent):
2297 * css/CSSStyleSheet.cpp:
2298 (WebCore::CSSStyleSheet::CSSStyleSheet):
2299 (WebCore::CSSStyleSheet::checkLoaded):
2300 * css/CSSStyleSheet.h:
2301 (WebCore::CSSStyleSheet::loadCompleted):
2303 2006-11-11 Alexey Proskuryakov <ap@webkit.org>
2305 Attempt to fix Qt build.
2307 * CMakeLists.txt: PathQt.cpp is in graphics/qt now.
2309 2006-11-11 Lars Naesbye Christensen <larsnaesbye@stud.ku.dk>
2311 Tortured by Sam Weinig, Tim H., Maciej, Mitz and Alexey :-)
2313 [CSS 3] support for vertical-text, cell and context-menu cursors
2314 http://bugs.webkit.org/show_bug.cgi?id=11494
2316 * Resources/cellCursor.png: Added.
2317 * Resources/contextMenuCursor.png: Added.
2318 * Resources/verticalTextCursor.png: Added.
2319 * WebCore.xcodeproj/project.pbxproj:
2320 * css/CSSComputedStyleDeclaration.cpp:
2321 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
2322 * css/CSSValueKeywords.in:
2323 * manual-tests/cursor.html:
2324 * page/FrameView.cpp:
2325 (WebCore::selectCursor):
2326 * platform/Cursor.h:
2327 * platform/mac/CursorMac.mm:
2328 (WebCore::verticalTextCursor):
2329 (WebCore::cellCursor):
2330 (WebCore::contextMenuCursor):
2331 * rendering/RenderStyle.h:
2334 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
2336 Reviewed by aroben and ap, landed by ap.
2338 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11468
2340 Group graphics related files in platform/graphics.
2341 Move certain files from certain subdirectories
2342 into platform/graphics/{win,mac,cg,gdk,qt}
2345 * WebCore.xcodeproj/project.pbxproj:
2346 * platform/AffineTransform.cpp: Removed.
2347 * platform/AffineTransform.h: Removed.
2348 * platform/Color.cpp: Removed.
2349 * platform/Color.h: Removed.
2350 * platform/FloatPoint.cpp: Removed.
2351 * platform/FloatPoint.h: Removed.
2352 * platform/FloatRect.cpp: Removed.
2353 * platform/FloatRect.h: Removed.
2354 * platform/FloatSize.cpp: Removed.
2355 * platform/FloatSize.h: Removed.
2356 * platform/Icon.h: Removed.
2357 * platform/Image.cpp: Removed.
2358 * platform/Image.h: Removed.
2359 * platform/ImageSource.h: Removed.
2360 * platform/IntPoint.h: Removed.
2361 * platform/IntRect.cpp: Removed.
2362 * platform/IntRect.h: Removed.
2363 * platform/IntSize.h: Removed.
2364 * platform/IntSizeHash.h: Removed.
2365 * platform/Path.cpp: Removed.
2366 * platform/Path.h: Removed.
2367 * platform/Pen.cpp: Removed.
2368 * platform/Pen.h: Removed.
2369 * platform/cairo/AffineTransformCairo.cpp: Removed.
2370 * platform/cairo/GraphicsContextCairo.cpp: Removed.
2371 * platform/cairo/ImageCairo.cpp: Removed.
2372 * platform/cairo/ImageSourceCairo.cpp: Removed.
2373 * platform/cairo/cairo/AUTHORS: Removed.
2374 * platform/cairo/cairo/COPYING: Removed.
2375 * platform/cairo/cairo/COPYING-LGPL-2.1: Removed.
2376 * platform/cairo/cairo/COPYING-MPL-1.1: Removed.
2377 * platform/cairo/cairo/INSTALL: Removed.
2378 * platform/cairo/cairo/NEWS: Removed.
2379 * platform/cairo/cairo/README: Removed.
2380 * platform/cairo/cairo/TODO: Removed.
2381 * platform/cairo/cairo/src/Makefile.in: Removed.
2382 * platform/cairo/cairo/src/cairo-arc-private.h: Removed.
2383 * platform/cairo/cairo/src/cairo-arc.c: Removed.
2384 * platform/cairo/cairo/src/cairo-array.c: Removed.
2385 * platform/cairo/cairo/src/cairo-atsui-font.c: Removed.
2386 * platform/cairo/cairo/src/cairo-atsui.h: Removed.
2387 * platform/cairo/cairo/src/cairo-beos-surface.cpp: Removed.
2388 * platform/cairo/cairo/src/cairo-beos.h: Removed.
2389 * platform/cairo/cairo/src/cairo-cache-private.h: Removed.
2390 * platform/cairo/cairo/src/cairo-cache.c: Removed.
2391 * platform/cairo/cairo/src/cairo-clip-private.h: Removed.
2392 * platform/cairo/cairo/src/cairo-clip.c: Removed.
2393 * platform/cairo/cairo/src/cairo-color.c: Removed.
2394 * platform/cairo/cairo/src/cairo-debug.c: Removed.
2395 * platform/cairo/cairo/src/cairo-debug.h: Removed.
2396 * platform/cairo/cairo/src/cairo-directfb-surface.c: Removed.
2397 * platform/cairo/cairo/src/cairo-directfb.h: Removed.
2398 * platform/cairo/cairo/src/cairo-features.h: Removed.
2399 * platform/cairo/cairo/src/cairo-features.h.in: Removed.
2400 * platform/cairo/cairo/src/cairo-fixed.c: Removed.
2401 * platform/cairo/cairo/src/cairo-font-options.c: Removed.
2402 * platform/cairo/cairo/src/cairo-font-subset-private.h: Removed.
2403 * platform/cairo/cairo/src/cairo-font-subset.c: Removed.
2404 * platform/cairo/cairo/src/cairo-font.c: Removed.
2405 * platform/cairo/cairo/src/cairo-ft-font.c: Removed.
2406 * platform/cairo/cairo/src/cairo-ft-private.h: Removed.
2407 * platform/cairo/cairo/src/cairo-ft.h: Removed.
2408 * platform/cairo/cairo/src/cairo-glitz-surface.c: Removed.
2409 * platform/cairo/cairo/src/cairo-glitz.h: Removed.
2410 * platform/cairo/cairo/src/cairo-gstate-private.h: Removed.
2411 * platform/cairo/cairo/src/cairo-gstate.c: Removed.
2412 * platform/cairo/cairo/src/cairo-hash-private.h: Removed.
2413 * platform/cairo/cairo/src/cairo-hash.c: Removed.
2414 * platform/cairo/cairo/src/cairo-hull.c: Removed.
2415 * platform/cairo/cairo/src/cairo-image-surface.c: Removed.
2416 * platform/cairo/cairo/src/cairo-matrix.c: Removed.
2417 * platform/cairo/cairo/src/cairo-meta-surface-private.h: Removed.
2418 * platform/cairo/cairo/src/cairo-meta-surface.c: Removed.
2419 * platform/cairo/cairo/src/cairo-output-stream.c: Removed.
2420 * platform/cairo/cairo/src/cairo-paginated-surface-private.h: Removed.
2421 * platform/cairo/cairo/src/cairo-paginated-surface.c: Removed.
2422 * platform/cairo/cairo/src/cairo-path-bounds.c: Removed.
2423 * platform/cairo/cairo/src/cairo-path-data-private.h: Removed.
2424 * platform/cairo/cairo/src/cairo-path-data.c: Removed.
2425 * platform/cairo/cairo/src/cairo-path-fill.c: Removed.
2426 * platform/cairo/cairo/src/cairo-path-fixed-private.h: Removed.
2427 * platform/cairo/cairo/src/cairo-path-stroke.c: Removed.
2428 * platform/cairo/cairo/src/cairo-path.c: Removed.
2429 * platform/cairo/cairo/src/cairo-pattern.c: Removed.
2430 * platform/cairo/cairo/src/cairo-pdf-surface.c: Removed.
2431 * platform/cairo/cairo/src/cairo-pdf.h: Removed.
2432 * platform/cairo/cairo/src/cairo-pen.c: Removed.
2433 * platform/cairo/cairo/src/cairo-platform.h: Removed.
2434 * platform/cairo/cairo/src/cairo-png.c: Removed.
2435 * platform/cairo/cairo/src/cairo-polygon.c: Removed.
2436 * platform/cairo/cairo/src/cairo-private.h: Removed.
2437 * platform/cairo/cairo/src/cairo-ps-surface.c: Removed.
2438 * platform/cairo/cairo/src/cairo-ps.h: Removed.
2439 * platform/cairo/cairo/src/cairo-quartz-private.h: Removed.
2440 * platform/cairo/cairo/src/cairo-quartz-surface.c: Removed.
2441 * platform/cairo/cairo/src/cairo-quartz.h: Removed.
2442 * platform/cairo/cairo/src/cairo-quartz2-surface.c: Removed.
2443 * platform/cairo/cairo/src/cairo-quartz2.h: Removed.
2444 * platform/cairo/cairo/src/cairo-region.c: Removed.
2445 * platform/cairo/cairo/src/cairo-scaled-font.c: Removed.
2446 * platform/cairo/cairo/src/cairo-slope.c: Removed.
2447 * platform/cairo/cairo/src/cairo-spline.c: Removed.
2448 * platform/cairo/cairo/src/cairo-stroke-style.c: Removed.
2449 * platform/cairo/cairo/src/cairo-surface-fallback-private.h: Removed.
2450 * platform/cairo/cairo/src/cairo-surface-fallback.c: Removed.
2451 * platform/cairo/cairo/src/cairo-surface.c: Removed.
2452 * platform/cairo/cairo/src/cairo-svg-surface.c: Removed.
2453 * platform/cairo/cairo/src/cairo-svg.h: Removed.
2454 * platform/cairo/cairo/src/cairo-traps.c: Removed.
2455 * platform/cairo/cairo/src/cairo-unicode.c: Removed.
2456 * platform/cairo/cairo/src/cairo-wideint.c: Removed.
2457 * platform/cairo/cairo/src/cairo-wideint.h: Removed.
2458 * platform/cairo/cairo/src/cairo-win32-font.c: Removed.
2459 * platform/cairo/cairo/src/cairo-win32-private.h: Removed.
2460 * platform/cairo/cairo/src/cairo-win32-surface.c: Removed.
2461 * platform/cairo/cairo/src/cairo-win32.h: Removed.
2462 * platform/cairo/cairo/src/cairo-xcb-surface.c: Removed.
2463 * platform/cairo/cairo/src/cairo-xcb-xrender.h: Removed.
2464 * platform/cairo/cairo/src/cairo-xcb.h: Removed.
2465 * platform/cairo/cairo/src/cairo-xlib-private.h: Removed.
2466 * platform/cairo/cairo/src/cairo-xlib-screen.c: Removed.
2467 * platform/cairo/cairo/src/cairo-xlib-surface.c: Removed.
2468 * platform/cairo/cairo/src/cairo-xlib-test.h: Removed.
2469 * platform/cairo/cairo/src/cairo-xlib-xrender.h: Removed.
2470 * platform/cairo/cairo/src/cairo-xlib.h: Removed.
2471 * platform/cairo/cairo/src/cairo.c: Removed.
2472 * platform/cairo/cairo/src/cairo.h: Removed.
2473 * platform/cairo/cairo/src/cairoint.h: Removed.
2474 * platform/cairo/cairo/src/test-fallback-surface.c: Removed.
2475 * platform/cairo/cairo/src/test-fallback-surface.h: Removed.
2476 * platform/cairo/cairo/src/test-meta-surface.c: Removed.
2477 * platform/cairo/cairo/src/test-meta-surface.h: Removed.
2478 * platform/cairo/cairo/src/test-paginated-surface.c: Removed.
2479 * platform/cairo/cairo/src/test-paginated-surface.h: Removed.
2480 * platform/cairo/pixman/AUTHORS: Removed.
2481 * platform/cairo/pixman/COPYING: Removed.
2482 * platform/cairo/pixman/README: Removed.
2483 * platform/cairo/pixman/src/Makefile.in: Removed.
2484 * platform/cairo/pixman/src/fbcompose.c: Removed.
2485 * platform/cairo/pixman/src/fbedge.c: Removed.
2486 * platform/cairo/pixman/src/fbedgeimp.h: Removed.
2487 * platform/cairo/pixman/src/fbmmx.c: Removed.
2488 * platform/cairo/pixman/src/fbmmx.h: Removed.
2489 * platform/cairo/pixman/src/fbpict.c: Removed.
2490 * platform/cairo/pixman/src/fbpict.h: Removed.
2491 * platform/cairo/pixman/src/fbtrap.c: Removed.
2492 * platform/cairo/pixman/src/icblt.c: Removed.
2493 * platform/cairo/pixman/src/icbltone.c: Removed.
2494 * platform/cairo/pixman/src/iccolor.c: Removed.
2495 * platform/cairo/pixman/src/icformat.c: Removed.
2496 * platform/cairo/pixman/src/icimage.c: Removed.
2497 * platform/cairo/pixman/src/icimage.h: Removed.
2498 * platform/cairo/pixman/src/icint.h: Removed.
2499 * platform/cairo/pixman/src/icpixels.c: Removed.
2500 * platform/cairo/pixman/src/icrect.c: Removed.
2501 * platform/cairo/pixman/src/icrop.h: Removed.
2502 * platform/cairo/pixman/src/icstipple.c: Removed.
2503 * platform/cairo/pixman/src/ictransform.c: Removed.
2504 * platform/cairo/pixman/src/ictrap.c: Removed.
2505 * platform/cairo/pixman/src/ictri.c: Removed.
2506 * platform/cairo/pixman/src/icutil.c: Removed.
2507 * platform/cairo/pixman/src/pixman-remap.h: Removed.
2508 * platform/cairo/pixman/src/pixman-xserver-compat.h: Removed.
2509 * platform/cairo/pixman/src/pixman.h: Removed.
2510 * platform/cairo/pixman/src/pixregion.c: Removed.
2511 * platform/cairo/pixman/src/pixregionint.h: Removed.
2512 * platform/cairo/pixman/src/renderedge.c: Removed.
2513 * platform/cairo/pixman/src/renderedge.h: Removed.
2514 * platform/cairo/pixman/src/slim_internal.h: Removed.
2515 * platform/cairo/rgb24-hacks.txt: Removed.
2516 * platform/cairo/scale-removal.txt: Removed.
2517 * platform/cg/AffineTransformCG.cpp: Removed.
2518 * platform/cg/FloatPointCG.cpp: Removed.
2519 * platform/cg/FloatRectCG.cpp: Removed.
2520 * platform/cg/FloatSizeCG.cpp: Removed.
2521 * platform/cg/GraphicsContextCG.cpp: Removed.
2522 * platform/cg/GraphicsContextPlatformPrivate.h: Removed.
2523 * platform/cg/ImageCG.cpp: Removed.
2524 * platform/cg/ImageSourceCG.cpp: Removed.
2525 * platform/cg/IntPointCG.cpp: Removed.
2526 * platform/cg/IntRectCG.cpp: Removed.
2527 * platform/cg/IntSizeCG.cpp: Removed.
2528 * platform/cg/PDFDocumentImage.cpp: Removed.
2529 * platform/cg/PDFDocumentImage.h: Removed.
2530 * platform/cg/PathCG.cpp: Removed.
2531 * platform/gdk/ImageGdk.cpp: Removed.
2532 * platform/mac/ColorMac.mm: Removed.
2533 * platform/mac/FloatPointMac.mm: Removed.
2534 * platform/mac/FloatRectMac.mm: Removed.
2535 * platform/mac/FloatSizeMac.mm: Removed.
2536 * platform/mac/GraphicsContextMac.mm:
2537 * platform/mac/IconMac.mm: Removed.
2538 * platform/mac/ImageMac.mm: Removed.
2539 * platform/mac/IntPointMac.mm: Removed.
2540 * platform/mac/IntRectMac.mm: Removed.
2541 * platform/mac/IntSizeMac.mm: Removed.
2542 * platform/qt/AffineTransformQt.cpp: Removed.
2543 * platform/qt/ColorQt.cpp: Removed.
2544 * platform/qt/FloatPointQt.cpp: Removed.
2545 * platform/qt/FloatRectQt.cpp: Removed.
2546 * platform/qt/IconQt.cpp: Removed.
2547 * platform/qt/ImageQt.cpp: Removed.
2548 * platform/qt/ImageSourceQt.cpp: Removed.
2549 * platform/qt/IntPointQt.cpp: Removed.
2550 * platform/qt/IntRectQt.cpp: Removed.
2551 * platform/qt/IntSizeQt.cpp: Removed.
2552 * platform/qt/PathQt.cpp: Removed.
2553 * platform/win/ImageWin.cpp: Removed.
2554 * platform/win/IntPointWin.cpp: Removed.
2555 * platform/win/IntRectWin.cpp: Removed.
2556 * platform/win/IntSizeWin.cpp: Removed.
2558 2006-11-11 Graham Dennis <graham.dennis@gmail.com>
2562 A layout test was added when this bug was fixed, so none needed now.
2565 REGRESSION (r16122): min/max widths incorrectly calculated for contentEditable text
2566 http://bugs.webkit.org/show_bug.cgi?id=11570
2568 * rendering/RenderStyle.h:
2569 (WebCore::RenderStyle::isSpace): Removed.
2570 * rendering/RenderText.cpp:
2571 (WebCore::isSpace): Added.
2572 (WebCore::RenderText::calcMinMaxWidth): Use inline function instead of polluting RenderStyle.
2574 2006-11-11 Graham Dennis <graham.dennis@gmail.com>
2578 REGRESSION (r16122): min/max widths incorrectly calculated for contentEditable text
2579 http://bugs.webkit.org/show_bug.cgi?id=11570
2581 * rendering/RenderStyle.h:
2582 (WebCore::RenderStyle::isSpace): Added.
2583 * rendering/RenderText.cpp:
2584 (WebCore::RenderText::calcMinMaxWidth): For the purposes of calculating the line widths,
2585 treat non-breaking spaces the same as normal spaces if -webkit-nbsp-mode is 'space'
2587 2006-11-10 Zalan Bujtas <zalan.bujtas@nokia.com>
2591 Added basic types for symbian platform.
2592 http://bugs.webkit.org/show_bug.cgi?id=11540
2595 * platform/AtomicString.h:
2596 (WebCore::AtomicString::AtomicString):
2597 (WebCore::AtomicString::operator TPtrC):
2598 * platform/DeprecatedString.cpp:
2599 (WebCore::initializeHandleNodeBlock):
2600 * platform/DeprecatedString.h: char _internalBuffer has to be in front of
2601 the bitfields as Codewarrior (3.2.5 build 461) compiler cannot cope with
2602 bitfields and breaks byte aligment
2603 * platform/FloatPoint.h:
2604 * platform/FloatRect.h:
2605 * platform/IntPoint.h:
2606 * platform/IntRect.h:
2607 * platform/IntSize.h:
2608 * platform/PlatformString.h:
2609 (WebCore::String::operator TPtrC):
2610 (WebCore::String::des):
2611 * platform/StringImpl.h:
2612 * platform/symbian/DeprecatedStringSymbian.cpp: Added.
2613 (WebCore::DeprecatedString::setBufferFromDes):
2614 (WebCore::DeprecatedString::fromDes):
2615 (WebCore::DeprecatedString::des):
2616 (WebCore::DeprecatedString::des8):
2617 * platform/symbian/FloatPointSymbian.cpp: Added.
2618 (WebCore::FloatPoint::FloatPoint):
2619 (WebCore::FloatPoint::operator TPoint):
2620 * platform/symbian/FloatRectSymbian.cpp: Added.
2621 (WebCore::FloatRect::FloatRect):
2622 (WebCore::FloatRect::operator TRect):
2623 (WebCore::FloatRect::rect):
2624 * platform/symbian/IntPointSymbian.cpp: Added.
2625 (WebCore::IntPoint::IntPoint):
2626 (WebCore::IntPoint::operator TPoint):
2627 * platform/symbian/IntRectSymbian.cpp: Added.
2628 (WebCore::IntRect::IntRect):
2629 (WebCore::IntRect::operator TRect):
2630 (WebCore::IntRect::Rect):
2631 * platform/symbian/IntSizeSymbian.cpp: Added.
2632 (WebCore::IntSize::IntSize):
2633 (WebCore::IntSize::operator TSize):
2634 * platform/symbian/StringImplSymbian.cpp: Added.
2635 (WebCore::StringImpl::StringImpl):
2636 (WebCore::StringImpl::des):
2637 * platform/symbian/StringSymbian.cpp: Added.
2638 (WebCore::String::String):
2640 2006-11-10 Zack Rusin <zack@kde.org>
2644 Adjust to the changes Brady made in the Qt code.
2646 * loader/qt/FrameLoaderClientQt.cpp:
2647 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2648 * loader/qt/FrameLoaderClientQt.h:
2650 2006-11-10 Justin Garcia <justin.garcia@apple.com>
2652 Reviewed by harrison
2654 <rdar://problem/4069359>
2655 Deleting hyperlink text, then typing uses link typing style but loses the link itself
2657 The removed anchor element needs to stick around temporarily, in the same way
2658 that the typing style hangs off the caret until the user moves it. Also text
2659 insertion around anchors didn't match TextEdit.
2661 * editing/DeleteSelectionCommand.cpp:
2662 (WebCore::DeleteSelectionCommand::saveFullySelectedAnchor): Added.
2663 (WebCore::DeleteSelectionCommand::doApply): Call saveFullySelectedAnchor.
2664 * editing/DeleteSelectionCommand.h:
2665 * editing/EditCommand.cpp:
2666 (WebCore::EditCommand::apply): Clear the removed anchor after any top level
2667 editing command that doesn't preserve the typing style (matches TextEdit).
2668 * editing/Editor.cpp:
2669 (WebCore::Editor::appliedEditing): Added a fixme: we shouldn't call
2670 setSelection with a message telling it to clear the typing style
2671 (and the saved anchor) here. Save/restore the saved anchor because of this.
2673 (WebCore::Editor::removedAnchor): Getter.
2674 (WebCore::Editor::setRemovedAnchor): Setter.
2675 * editing/InsertTextCommand.cpp:
2676 (WebCore::InsertTextCommand::prepareForTextInsertion): Insert the saved anchor
2678 * editing/SelectionController.cpp:
2679 (WebCore::SelectionController::setSelection): Clear the removed anchor whenever
2680 we make a selection change that clears the typing style.
2681 (WebCore::SelectionController::nodeWillBeRemoved): Removed an old outdated FIXME.
2682 * editing/htmlediting.cpp:
2683 (WebCore::positionAvoidingSpecialElementBoundary): Cleaned up and
2684 made some changes to match TextEdit's behavior. First, insert content
2685 inside the anchor when the caret is after it, unless the caret is at the
2686 end of the document, or if the caret is before it and at the start of a
2689 === Safari-521.30 ===
2691 2006-11-10 Timothy Hatcher <timothy@apple.com>
2695 Check for BHIDDEN in isVisible() also.
2697 * rendering/RenderStyle.h:
2698 (WebCore::BorderValue::isVisible):
2700 2006-11-10 Timothy Hatcher <timothy@apple.com>
2704 <rdar://problem/4821423> element deletion UI appears for Mail blockquote and others with less than three visible borders
2706 Added a new function to BorderValue called isVisible(). This checks nonZero() and !isTransparent().
2708 * editing/DeleteButtonController.cpp:
2709 (WebCore::isDeletableElement):
2710 * rendering/RenderStyle.h:
2711 (WebCore::BorderValue::isVisible):
2713 2006-11-10 Adam Roben <aroben@apple.com>
2715 Rubberstamped by Anders.
2717 Back out some accidentally-committed changes from r17711.
2720 (WebCore::Frame::command):
2721 (WebCore::FramePrivate::FramePrivate):
2723 * page/FramePrivate.h:
2725 2006-11-10 Anders Carlsson <acarlsson@apple.com>
2729 Add more commands, make toggleBold and toggleItalic executable commands.
2732 * editing/Editor.cpp:
2733 (WebCore::execCopy):
2735 (WebCore::execDelete):
2736 (WebCore::execForwardDelete):
2737 (WebCore::execPaste):
2738 (WebCore::execSelectAll):
2739 (WebCore::execToggleBold):
2740 (WebCore::execToggleItalic):
2742 (WebCore::canPaste):
2743 (WebCore::hasEditableSelection):
2744 (WebCore::hasEditableRangeSelection):
2745 (WebCore::hasRangeSelection):
2746 (WebCore::hasRichlyEditableSelection):
2747 (WebCore::CommandEntry::):
2750 2006-11-10 Anders Carlsson <acarlsson@apple.com>
2752 Reviewed by Maciej, Geoff.
2754 Added an execCommand method to Editor. The idea is that this should replace the CommandByName object. Get rid of
2755 the alterCurrentSelection method in the bridge. WebKit can just call execCommand directly.
2758 * bridge/mac/WebCoreFrameBridge.h:
2759 * bridge/mac/WebCoreFrameBridge.mm:
2760 * editing/Editor.cpp:
2761 (WebCore::execMoveBackward):
2762 (WebCore::execMoveBackwardAndModifySelection):
2763 (WebCore::execMoveDown):
2764 (WebCore::execMoveDownAndModifySelection):
2765 (WebCore::execMoveForward):
2766 (WebCore::execMoveForwardAndModifySelection):
2767 (WebCore::execMoveLeft):
2768 (WebCore::execMoveLeftAndModifySelection):
2769 (WebCore::execMoveRight):
2770 (WebCore::execMoveRightAndModifySelection):
2771 (WebCore::execMoveToBeginningOfDocument):
2772 (WebCore::execMoveToBeginningOfDocumentAndModifySelection):
2773 (WebCore::execMoveToBeginningOfSentence):
2774 (WebCore::execMoveToBeginningOfSentenceAndModifySelection):
2775 (WebCore::execMoveToBeginningOfLine):
2776 (WebCore::execMoveToBeginningOfLineAndModifySelection):
2777 (WebCore::execMoveToBeginningOfParagraph):
2778 (WebCore::execMoveToBeginningOfParagraphAndModifySelection):
2779 (WebCore::execMoveToEndOfDocument):
2780 (WebCore::execMoveToEndOfDocumentAndModifySelection):
2781 (WebCore::execMoveToEndOfSentence):
2782 (WebCore::execMoveToEndOfSentenceAndModifySelection):
2783 (WebCore::execMoveToEndOfLine):
2784 (WebCore::execMoveToEndOfLineAndModifySelection):
2785 (WebCore::execMoveToEndOfParagraph):
2786 (WebCore::execMoveToEndOfParagraphAndModifySelection):
2787 (WebCore::execMoveParagraphBackwardAndModifySelection):
2788 (WebCore::execMoveParagraphForwardAndModifySelection):
2789 (WebCore::execMoveUp):
2790 (WebCore::execMoveUpAndModifySelection):
2791 (WebCore::execMoveWordBackward):
2792 (WebCore::execMoveWordBackwardAndModifySelection):
2793 (WebCore::execMoveWordForward):
2794 (WebCore::execMoveWordForwardAndModifySelection):
2795 (WebCore::execMoveWordLeft):
2796 (WebCore::execMoveWordLeftAndModifySelection):
2797 (WebCore::execMoveWordRight):
2798 (WebCore::execMoveWordRightAndModifySelection):
2799 (WebCore::enabledAnySelection):
2800 (WebCore::createCommandMap):
2801 (WebCore::CommandEntry::):
2802 (WebCore::Editor::execCommand):
2805 2006-11-10 Brady Eidson <beidson@apple.com>
2809 Took out WebIconDatabaseBridge and made WebKit call IconDatabase directly
2812 * WebCore.xcodeproj/project.pbxproj:
2813 * bridge/mac/WebCoreIconDatabaseBridge.h: Removed.
2814 * bridge/mac/WebCoreIconDatabaseBridge.mm: Removed.
2815 * loader/FrameLoaderClient.h:
2816 * loader/icon/IconDatabase.cpp:
2817 (WebCore::IconDatabase::sharedIconDatabase):
2818 (WebCore::IconDatabase::~IconDatabase):
2819 * loader/icon/IconDatabase.h:
2820 (WebCore::IconDatabase::isPrivateBrowsingEnabled):
2821 (WebCore::IconDatabase::enabled):
2822 * loader/icon/IconLoader.cpp:
2823 (WebCore::IconLoader::finishLoading):
2824 * loader/mac/FrameLoaderMac.mm:
2826 2006-11-10 Zack Rusin <zack@kde.org>
2828 Reviewed and landed by Anders.
2830 Adjust platform Qt/KDE code to the recent loader
2834 * loader/DocumentLoader.h:
2835 * loader/FrameLoader.cpp:
2836 (WebCore::FrameLoader::createEmptyDocument):
2837 * loader/FrameLoader.h:
2838 * loader/FrameLoaderClient.h:
2839 * loader/qt/DocumentLoaderQt.cpp: Added.
2840 (WebCore::canonicalizedTitle):
2841 (WebCore::DocumentLoader::DocumentLoader):
2842 (WebCore::DocumentLoader::frameLoader):
2843 (WebCore::DocumentLoader::~DocumentLoader):
2844 (WebCore::DocumentLoader::URL):
2845 (WebCore::DocumentLoader::unreachableURL):
2846 (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
2847 (WebCore::DocumentLoader::isStopping):
2848 (WebCore::DocumentLoader::clearErrors):
2849 (WebCore::DocumentLoader::stopLoading):
2850 (WebCore::DocumentLoader::setupForReplace):
2851 (WebCore::DocumentLoader::commitIfReady):
2852 (WebCore::DocumentLoader::finishedLoading):
2853 (WebCore::DocumentLoader::setCommitted):
2854 (WebCore::DocumentLoader::isCommitted):
2855 (WebCore::DocumentLoader::setLoading):
2856 (WebCore::DocumentLoader::isLoading):
2857 (WebCore::DocumentLoader::doesProgressiveLoad):
2858 (WebCore::DocumentLoader::setupForReplaceByMIMEType):
2859 (WebCore::DocumentLoader::updateLoading):
2860 (WebCore::DocumentLoader::setFrame):
2861 (WebCore::DocumentLoader::attachToFrame):
2862 (WebCore::DocumentLoader::detachFromFrame):
2863 (WebCore::DocumentLoader::prepareForLoadStart):
2864 (WebCore::DocumentLoader::loadingStartedTime):
2865 (WebCore::DocumentLoader::setIsClientRedirect):
2866 (WebCore::DocumentLoader::isClientRedirect):
2867 (WebCore::DocumentLoader::setPrimaryLoadComplete):
2868 (WebCore::DocumentLoader::isLoadingInAPISense):
2869 (WebCore::DocumentLoader::stopRecordingResponses):
2870 (WebCore::DocumentLoader::title):
2871 (WebCore::DocumentLoader::triggeringAction):
2872 (WebCore::DocumentLoader::setTriggeringAction):
2873 (WebCore::DocumentLoader::setOverrideEncoding):
2874 (WebCore::DocumentLoader::overrideEncoding):
2875 (WebCore::DocumentLoader::setTitle):
2876 (WebCore::DocumentLoader::URLForHistory):
2877 * loader/qt/FrameLoaderClientQt.cpp: Added.
2878 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2879 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2880 (WebCore::FrameLoaderClientQt::detachFrameLoader):
2881 (WebCore::FrameLoaderClientQt::hasWebView):
2882 (WebCore::FrameLoaderClientQt::hasFrameView):
2883 (WebCore::FrameLoaderClientQt::hasBackForwardList):
2884 (WebCore::FrameLoaderClientQt::resetBackForwardList):
2885 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2886 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2887 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2888 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2889 (WebCore::FrameLoaderClientQt::makeDocumentView):
2890 (WebCore::FrameLoaderClientQt::makeRepresentation):
2891 (WebCore::FrameLoaderClientQt::forceLayout):
2892 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2893 (WebCore::FrameLoaderClientQt::updateHistoryForCommit):
2894 (WebCore::FrameLoaderClientQt::updateHistoryForBackForwardNavigation):
2895 (WebCore::FrameLoaderClientQt::updateHistoryForReload):
2896 (WebCore::FrameLoaderClientQt::updateHistoryForStandardLoad):
2897 (WebCore::FrameLoaderClientQt::updateHistoryForInternalLoad):
2898 (WebCore::FrameLoaderClientQt::updateHistoryAfterClientRedirect):
2899 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2900 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2901 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2902 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2903 (WebCore::FrameLoaderClientQt::willCloseDocument):
2904 (WebCore::FrameLoaderClientQt::detachedFromParent1):
2905 (WebCore::FrameLoaderClientQt::detachedFromParent2):
2906 (WebCore::FrameLoaderClientQt::detachedFromParent3):
2907 (WebCore::FrameLoaderClientQt::detachedFromParent4):
2908 (WebCore::FrameLoaderClientQt::loadedFromPageCache):
2909 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2910 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2911 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2912 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2913 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2914 (WebCore::FrameLoaderClientQt::dispatchWillClose):
2915 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2916 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2917 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2918 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2919 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2920 (WebCore::FrameLoaderClientQt::dispatchShow):
2921 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2922 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2923 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2924 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2925 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2926 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2927 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2928 (WebCore::FrameLoaderClientQt::progressStarted):
2929 (WebCore::FrameLoaderClientQt::progressCompleted):
2930 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2931 (WebCore::FrameLoaderClientQt::willChangeTitle):
2932 (WebCore::FrameLoaderClientQt::didChangeTitle):
2933 (WebCore::FrameLoaderClientQt::finishedLoading):
2934 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2935 (WebCore::FrameLoaderClientQt::setDefersLoading):
2936 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2937 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2938 (WebCore::FrameLoaderClientQt::clearArchivedResources):
2939 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2940 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2941 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2942 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2943 (WebCore::FrameLoaderClientQt::restoreScrollPositionAndViewState):
2944 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2945 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2946 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2947 (WebCore::FrameLoaderClientQt::didFinishLoad):
2948 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2949 (WebCore::FrameLoaderClientQt::setTitle):
2950 (WebCore::FrameLoaderClientQt::userAgent):
2951 * loader/qt/FrameLoaderClientQt.h: Added.
2952 * loader/qt/FrameLoaderQt.cpp:
2953 (WebCore::FrameLoader::submitForm):
2954 (WebCore::FrameLoader::overrideMediaType):
2955 (WebCore::FrameLoader::getHistoryLength):
2956 (WebCore::FrameLoader::referrer):
2957 (WebCore::FrameLoader::detachFromParent):
2958 (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
2959 (WebCore::FrameLoader::goBackOrForward):
2960 (WebCore::FrameLoader::historyURL):
2961 (WebCore::FrameLoader::didFirstLayout):
2962 (WebCore::FrameLoader::canGoBackOrForward):
2963 (WebCore::FrameLoader::partClearedInBegin):
2964 (WebCore::FrameLoader::saveDocumentState):
2965 (WebCore::FrameLoader::restoreDocumentState):
2966 (WebCore::FrameLoader::didChangeTitle):
2967 (WebCore::FrameLoader::redirectDataToPlugin):
2968 (WebCore::PolicyCheck::PolicyCheck):
2969 (WebCore::PolicyCheck::clear):
2970 (WebCore::PolicyCheck::set):
2971 (WebCore::PolicyCheck::call):
2972 (WebCore::PolicyCheck::clearRequest):
2973 * loader/qt/NavigationActionQt.cpp: Added.
2974 (WebCore::navigationType):
2975 (WebCore::NavigationAction::NavigationAction):
2976 * loader/qt/ResourceLoaderQt.cpp: Added.
2977 (WebCore::ResourceLoader::ResourceLoader):
2978 (WebCore::ResourceLoader::~ResourceLoader):
2979 (WebCore::ResourceLoader::setDefersLoading):
2980 (WebCore::ResourceLoader::cancel):
2981 (WebCore::ResourceLoader::loadsBlocked):
2982 * platform/MimeTypeRegistry.cpp:
2983 (WebCore::initialiseSupportedImageMIMETypes):
2984 * platform/network/qt/ResourceHandleManager.cpp:
2985 (WebCore::ResourceHandleManager::slotResult):
2986 (WebCore::ResourceHandleManager::cancel):
2987 * platform/qt/ChromeClientQt.cpp: Added.
2988 (WebCore::rootWindowForFrame):
2989 (WebCore::ChromeClientQt::ChromeClientQt):
2990 (WebCore::ChromeClientQt::~ChromeClientQt):
2991 (WebCore::ChromeClientQt::setWindowRect):
2992 (WebCore::ChromeClientQt::windowRect):
2993 (WebCore::ChromeClientQt::pageRect):
2994 (WebCore::ChromeClientQt::scaleFactor):
2995 (WebCore::ChromeClientQt::focus):
2996 (WebCore::ChromeClientQt::unfocus):
2997 (WebCore::ChromeClientQt::createWindow):
2998 (WebCore::ChromeClientQt::createModalDialog):
2999 (WebCore::ChromeClientQt::show):
3000 (WebCore::ChromeClientQt::canRunModal):
3001 (WebCore::ChromeClientQt::runModal):
3002 (WebCore::ChromeClientQt::setToolbarsVisible):
3003 (WebCore::ChromeClientQt::toolbarsVisible):
3004 (WebCore::ChromeClientQt::setStatusbarVisible):
3005 (WebCore::ChromeClientQt::statusbarVisible):
3006 (WebCore::ChromeClientQt::setScrollbarsVisible):
3007 (WebCore::ChromeClientQt::scrollbarsVisible):
3008 (WebCore::ChromeClientQt::setMenubarVisible):
3009 (WebCore::ChromeClientQt::menubarVisible):
3010 (WebCore::ChromeClientQt::setResizable):
3011 * platform/qt/ChromeClientQt.h: Added.
3012 * platform/qt/EditorClientQt.cpp:
3013 (WebCore::EditorClientQt::shouldBeginEditing):
3014 (WebCore::EditorClientQt::shouldEndEditing):
3015 (WebCore::EditorClientQt::shouldApplyStyle):
3016 (WebCore::EditorClientQt::didBeginEditing):
3017 (WebCore::EditorClientQt::respondToChangedContents):
3018 (WebCore::EditorClientQt::didEndEditing):
3019 * platform/qt/EditorClientQt.h:
3020 * platform/qt/FrameQt.cpp:
3021 (WebCore::FrameQt::FrameQt):
3022 (WebCore::FrameQt::~FrameQt):
3023 (WebCore::FrameQt::keyEvent):
3024 * platform/qt/FrameQt.h:
3025 * platform/qt/FrameQtClient.cpp:
3026 (WebCore::FrameQtClientDefault::openURL):
3027 (WebCore::FrameQtClientDefault::didReceiveData):
3028 (WebCore::FrameQtClientDefault::receivedAllData):
3029 * platform/qt/ImageQt.cpp:
3030 * platform/qt/MimeTypeRegistryQt.cpp: Added.
3031 (WebCore::getMIMETypeForUTI):
3032 (WebCore::MimeTypeRegistry::getMIMETypeForExtension):
3033 * platform/qt/PageQt.cpp:
3034 * platform/qt/PlatformKeyboardEventQt.cpp:
3035 (WebCore::keyIdentifierForQtKeyCode):
3036 * platform/qt/ScreenQt.cpp:
3037 * platform/qt/TemporaryLinkStubs.cpp:
3038 (WebCore::TextField::TextField):
3039 (WebCore::screenDepth):
3040 (WebCore::screenDepthPerComponent):
3041 (WebCore::screenIsMonochrome):
3042 (WebCore::screenRect):
3043 (WebCore::screenAvailableRect):
3045 2006-11-10 Brady Eidson <beidson@apple.com>
3049 http://bugs.webkit.org/show_bug.cgi?id=11554
3050 Fix the above bug (in didFinishLoading) and also another potential bug in didFailWithError
3051 in case the icon load fails after some data has been received.
3053 * loader/icon/IconLoader.cpp:
3054 (WebCore::IconLoader::didFailWithError): Clear the buffer so half-an-image isn't commited to the DB
3055 on error. Also, as a loader re-factoring sanity check, added an assertion
3056 (WebCore::IconLoader::didFinishLoading): If an icon loader resulted in an error-response, the icon
3057 is already committed to the DB. Skip doing that step twice.
3059 2006-11-09 Oliver Hunt <oliver@apple.com>
3063 Pulled MIME type handling out of WebFrameBridge and added
3064 a general C++ class to store/query MIME info
3065 Added an Obj-C bridge to provide WebKit with access to the
3066 MimeTypeRegistry for non-Obj-C++ classes.
3069 * WebCore.xcodeproj/project.pbxproj:
3070 * bridge/mac/WebCoreFrameBridge.h:
3071 * bridge/mac/WebCoreFrameBridge.mm:
3072 * bridge/mac/WebMimeTypeRegistryBridge.h: Added.
3073 * bridge/mac/WebMimeTypeRegistryBridge.mm: Added.
3074 (+[WebMimeTypeRegistryBridge supportsImageWithMIMEType:]):
3075 (+[WebMimeTypeRegistryBridge supportsNonImageWithMIMEType:]):
3076 (+[WebMimeTypeRegistryBridge supportedNonImageMIMETypes]):
3077 (+[WebMimeTypeRegistryBridge supportedImageMIMETypes]):
3078 (+[WebMimeTypeRegistryBridge supportedImageResourceMIMETypes]):
3079 * platform/Image.cpp:
3080 (WebCore::Image::supportsType):
3082 * platform/MimeTypeRegistry.cpp: Added.
3083 (WebCore::initialiseSupportedImageMIMETypes):
3084 (WebCore::initialiseSupportedNonImageMimeTypes):
3085 (WebCore::initialiseMimeTypeRegistry):
3086 (WebCore::MimeTypeRegistry::isSupportedImageMIMEType):
3087 (WebCore::MimeTypeRegistry::isSupportedImageResourceMIMEType):
3088 (WebCore::MimeTypeRegistry::isSupportedNonImageMIMEType):
3089 (WebCore::MimeTypeRegistry::getSupportedImageMIMETypes):
3090 (WebCore::MimeTypeRegistry::getSupportedImageResourceMIMETypes):
3091 (WebCore::MimeTypeRegistry::getSupportedNonImageMIMETypes):
3092 * platform/MimeTypeRegistry.h: Added.
3093 * platform/mac/ImageMac.mm:
3094 * platform/mac/MimeTypeRegistryMac.mm: Added.
3095 (WebCore::getMIMETypeForUTI):
3096 (WebCore::MimeTypeRegistry::getMIMETypeForExtension):
3098 2006-11-09 Maciej Stachowiak <mjs@apple.com>
3102 - rename String::sprintf and DeprecatedString::sprintf to ...::format to avoid needlessly tweaking a search
3103 for insecure functions. Neither of these has risk of buffer overruns since they calculate the buffer size
3104 for you and use vsnprintf.
3106 * bindings/js/kjs_window.cpp:
3107 (KJS::Window::isSafeScript):
3108 * css/cssparser.cpp:
3109 (WebCore::CSSParser::parseColorFromValue):
3110 * dom/StyledElement.cpp:
3111 (WebCore::StyledElement::addCSSColor):
3112 * dom/XMLTokenizer.cpp:
3113 (WebCore::XMLTokenizer::handleError):
3114 * ksvg2/css/SVGCSSParser.cpp:
3115 (WebCore::CSSParser::parseSVGPaint):
3116 (WebCore::CSSParser::parseSVGColor):
3117 * ksvg2/svg/SVGPathSegArc.h:
3118 (WebCore::SVGPathSegArcAbs::toString):
3119 (WebCore::SVGPathSegArcRel::toString):
3120 * ksvg2/svg/SVGPathSegCurvetoCubic.h:
3121 (WebCore::SVGPathSegCurvetoCubicAbs::toString):
3122 (WebCore::SVGPathSegCurvetoCubicRel::toString):
3123 * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
3124 (WebCore::SVGPathSegCurvetoCubicSmoothAbs::toString):
3125 (WebCore::SVGPathSegCurvetoCubicSmoothRel::toString):
3126 * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
3127 (WebCore::SVGPathSegCurvetoQuadraticAbs::toString):
3128 (WebCore::SVGPathSegCurvetoQuadraticRel::toString):
3129 * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
3130 (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::toString):
3131 (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::toString):
3132 * ksvg2/svg/SVGPathSegLineto.h:
3133 (WebCore::SVGPathSegLinetoAbs::toString):
3134 (WebCore::SVGPathSegLinetoRel::toString):
3135 * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
3136 (WebCore::SVGPathSegLinetoHorizontalAbs::toString):
3137 (WebCore::SVGPathSegLinetoHorizontalRel::toString):
3138 * ksvg2/svg/SVGPathSegLinetoVertical.h:
3139 (WebCore::SVGPathSegLinetoVerticalAbs::toString):
3140 (WebCore::SVGPathSegLinetoVerticalRel::toString):
3141 * ksvg2/svg/SVGPathSegMoveto.h:
3142 (WebCore::SVGPathSegMovetoAbs::toString):
3143 (WebCore::SVGPathSegMovetoRel::toString):
3144 * ksvg2/svg/SVGPolyElement.cpp:
3145 (WebCore::SVGPolyElement::notifyAttributeChange):
3146 * ksvg2/svg/SVGUseElement.cpp:
3147 (WebCore::SVGUseElement::closeRenderer):
3148 * loader/icon/IconDatabase.cpp:
3149 (WebCore::IconDatabase::forgetIconForIconURLFromDatabase):
3150 * loader/icon/SQLDatabase.cpp:
3151 (WebCore::SQLDatabase::setSynchronous):
3152 * platform/Color.cpp:
3153 (WebCore::Color::name):
3154 * platform/DeprecatedString.cpp:
3155 (WebCore::DeprecatedString::setNum):
3156 (WebCore::DeprecatedString::format):
3157 * platform/DeprecatedString.h:
3158 * platform/PlatformString.h:
3159 * platform/String.cpp:
3160 (WebCore::String::format):
3161 (WebCore::String::number):
3162 * platform/mac/KeyEventMac.mm:
3163 (WebCore::keyIdentifierForKeyEvent):
3164 * platform/win/KeyEventWin.cpp:
3165 (WebCore::keyIdentifierForWindowsKeyCode):
3166 * rendering/RenderListMarker.cpp:
3167 (WebCore::RenderListMarker::calcMinMaxWidth):
3169 2006-11-09 Maciej Stachowiak <mjs@apple.com>
3173 - fixed "Regression: Can't log into gmail.com"
3174 - fixed "iBench doesn't report results - tests run but no number is recorded"
3176 * platform/network/cf/FormDataStreamCFNet.cpp:
3177 (WebCore::setHTTPBody): Removed extra ! character.
3179 2006-11-09 Beth Dakin <bdakin@apple.com>
3183 Fix for <rdar://problem/4805409> REGRESSION: Reproducible crash in
3184 WebCore::RenderBlock::skipWhitespace
3186 Note that this will still crash on Debug builds because it will hit
3187 an assertion failure in editing. (One of the reasons there is no
3188 layout test along with this fix.) There is definitely some editing
3189 wackiness happening. See http://bugs.webkit.org/show_bug.cgi?
3190 id=10144 for updates on the assertion failure bug.
3192 * rendering/RootInlineBox.cpp:
3193 (WebCore::RootInlineBox::childRemoved): It is possible for a
3194 prevRootBox and its prevRootBox to share a lineBreakObj. So instead
3195 of just clearing the lineBreakObj of the prevRootBox, cycle through
3196 all prevRootBoxs with the same lineBreakObj.
3198 2006-11-09 Adam Roben <aroben@apple.com>
3202 Fix the change in behavior I caused in r17680 with my build fix.
3204 * rendering/RenderObject.cpp:
3205 (WebCore::RenderObject::maxTopMargin):
3206 (WebCore::RenderObject::maxBottomMargin):
3208 2006-11-09 Anders Carlsson <acarlsson@apple.com>
3210 Reviewed by Adam, Oliver.
3212 Move more functions to Editor.
3214 * bridge/EditorClient.h:
3215 * bridge/mac/FrameMac.h:
3216 * bridge/mac/FrameMac.mm:
3217 * bridge/mac/WebCoreFrameBridge.h:
3218 * editing/EditCommand.cpp:
3219 (WebCore::EditCommand::apply):
3220 (WebCore::EditCommand::unapply):
3221 (WebCore::EditCommand::reapply):
3222 * editing/Editor.cpp:
3223 (WebCore::Editor::respondToChangedContents):
3224 (WebCore::dispatchEditableContentChangedEvents):
3225 (WebCore::Editor::appliedEditing):
3226 (WebCore::Editor::unappliedEditing):
3227 (WebCore::Editor::reappliedEditing):
3229 * editing/TypingCommand.cpp:
3230 (WebCore::TypingCommand::typingAddedToOpenCommand):
3234 2006-11-09 Darin Adler <darin@apple.com>
3236 * rendering/RenderObject.h: Oops! Fixed accidentally checked-in ifdef.
3238 2006-11-09 Alice Liu <alice.liu@apple.com>
3240 Reviewed by Beth Dakin.
3242 Fixed <rdar://problem/4808720> Hamachi test tool crashes Safari in WebCore::HTMLTableSectionElement::deleteRow
3243 All existing layout tests pass
3245 * html/HTMLTableElement.cpp:
3246 (WebCore::HTMLTableElement::deleteRow):
3247 check lastSection before deleting row
3249 2006-11-09 Darin Adler <darin@apple.com>
3251 - improved version of last night's build fix (should not do using namespace in a header)
3253 * rendering/RenderObject.h:
3254 * rendering/RenderObject.cpp:
3255 (WebCore::RenderObject::maxTopMargin):
3256 (WebCore::RenderObject::maxBottomMargin):
3258 2006-11-08 Maciej Stachowiak <mjs@apple.com>
3262 - added ResourceError class and didFailWithError client method
3264 * WebCore.xcodeproj/project.pbxproj:
3265 * loader/icon/IconLoader.cpp:
3266 (WebCore::IconLoader::didFailWithError):
3267 (WebCore::IconLoader::didFinishLoading):
3268 * loader/icon/IconLoader.h:
3269 * loader/loader.cpp:
3270 (WebCore::Loader::receivedAllData):
3271 (WebCore::Loader::didFailWithError):
3273 * loader/mac/SubresourceLoaderMac.mm:
3274 (WebCore::SubresourceLoader::didFail):
3275 (WebCore::SubresourceLoader::didCancel):
3276 * platform/cf/RetainPtr.h:
3278 (WebCore::adoptCFReference):
3279 (WebCore::RetainPtr::RetainPtr):
3281 * platform/network/ResourceError.cpp: Added.
3282 * platform/network/ResourceError.h: Added.
3283 (WebCore::ResourceError::ResourceError):
3284 (WebCore::ResourceError::domain):
3285 (WebCore::ResourceError::errorCode):
3286 (WebCore::ResourceError::failingURL):
3287 (WebCore::ResourceError::localizedDescription):
3288 (WebCore::ResourceError::unpackPlatformErrorIfNeeded):
3289 * platform/network/ResourceHandle.cpp:
3290 * platform/network/ResourceHandle.h:
3291 * platform/network/ResourceHandleClient.h:
3292 (WebCore::ResourceHandleClient::didFailWithError):
3293 * platform/network/cf/ResourceHandleCFNet.cpp:
3295 (WebCore::ResourceHandle::cancel):
3296 * platform/network/mac/ResourceErrorMac.mm: Added.
3297 (-[NSError WebCore]):
3298 * platform/network/mac/ResourceHandleMac.mm:
3299 (WebCore::ResourceHandle::reportError):
3300 * xml/xmlhttprequest.cpp:
3301 (WebCore::XMLHttpRequest::didFailWithError):
3302 (WebCore::XMLHttpRequest::didFinishLoading):
3303 * xml/xmlhttprequest.h:
3305 2006-11-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
3311 * platform/gdk/ChromeClientGdk.h:
3312 (WebCore::ChromeClientGdk::~ChromeClientGdk):
3313 * platform/gdk/CursorGdk.cpp:
3314 (WebCore::Cursor::Cursor):
3315 (WebCore::moveCursor):
3316 * platform/gdk/FrameGdk.cpp:
3317 (WebCore::FrameGdk::FrameGdk):
3318 (WebCore::FrameGdk::submitForm):
3319 (WebCore::FrameGdk::urlSelected):
3320 * platform/gdk/PageGdk.cpp:
3321 * platform/gdk/ScreenClientGdk.h: Added.
3322 (WebCore::ScreenClientGdk::~ScreenClientGdk):
3323 * platform/gdk/ScreenGdk.cpp:
3324 (WebCore::ScreenClientGdk::depth):
3325 (WebCore::ScreenClientGdk::depthPerComponent):
3326 (WebCore::ScreenClientGdk::isMonochrome):
3327 (WebCore::ScreenClientGdk::rect):
3328 (WebCore::ScreenClientGdk::usableRect):
3329 * platform/gdk/TemporaryLinkStubs.cpp:
3330 (FrameGdk::historyURL):
3331 (ChromeClientGdk::windowRect):
3332 (ChromeClientGdk::setWindowRect):
3333 (ChromeClientGdk::pageRect):
3334 (ChromeClientGdk::scaleFactor):
3335 (ChromeClientGdk::focus):
3336 (ChromeClientGdk::unfocus):
3337 (ChromeClientGdk::createWindow):
3338 (ChromeClientGdk::createModalDialog):
3339 (ChromeClientGdk::show):
3340 (ChromeClientGdk::canRunModal):
3341 (ChromeClientGdk::runModal):
3342 (ChromeClientGdk::setToolbarsVisible):
3343 (ChromeClientGdk::toolbarsVisible):
3344 (ChromeClientGdk::setStatusbarVisible):
3345 (ChromeClientGdk::statusbarVisible):
3346 (ChromeClientGdk::setScrollbarsVisible):
3347 (ChromeClientGdk::scrollbarsVisible):
3348 (ChromeClientGdk::setMenubarVisible):
3349 (ChromeClientGdk::menubarVisible):
3350 (ChromeClientGdk::setResizable):
3351 * platform/network/ResourceHandleInternal.h:
3352 (WebCore::ResourceHandleInternal::client):
3353 * platform/network/gdk/ResourceHandleManager.cpp:
3354 (WebCore::writeCallback):
3355 (WebCore::ResourceHandleManager::downloadTimerCallback):
3356 (WebCore::ResourceHandleManager::remove):
3358 2006-11-08 Adam Roben <aroben@apple.com>
3362 * rendering/RenderObject.h:
3363 (WebCore::RenderObject::maxTopMargin):
3364 (WebCore::RenderObject::maxBottomMargin):
3366 2006-11-08 Geoffrey Garen <ggaren@apple.com>
3368 Reviewed by Anders Carlsson.
3370 Made Screen a good platform citizen by removing its reference to Page. This
3371 made a class unnecessary, so all screen fuctions are stand-alone now.
3373 * bindings/js/kjs_window.cpp: Removed unnecessary subtractions
3374 when computing the screen's available dimensions.
3376 2006-11-08 Sam Weinig <sam.weinig@gmail.com>
3380 Fix for http://bugs.webkit.org/show_bug.cgi?id=11506
3381 Cleanup RenderObject
3383 * rendering/RenderObject.cpp:
3384 (WebCore::RenderObject::operator delete):
3385 (WebCore::RenderObject::createObject):
3386 (WebCore::RenderObjectCounter::~RenderObjectCounter):
3387 (WebCore::RenderObject::RenderObject):
3388 (WebCore::RenderObject::isDescendantOf):
3389 (WebCore::RenderObject::isRoot):
3390 (WebCore::RenderObject::addChild):
3391 (WebCore::RenderObject::removeChildNode):
3392 (WebCore::RenderObject::removeChild):
3393 (WebCore::RenderObject::appendChildNode):
3394 (WebCore::RenderObject::insertChildNode):
3395 (WebCore::RenderObject::nextInPreOrder):
3396 (WebCore::RenderObject::nextInPreOrderAfterChildren):
3397 (WebCore::RenderObject::previousInPreOrder):
3398 (WebCore::RenderObject::isEditable):
3399 (WebCore::RenderObject::nextEditable):
3400 (WebCore::RenderObject::previousEditable):
3401 (WebCore::RenderObject::firstLeafChild):
3402 (WebCore::RenderObject::lastLeafChild):
3403 (WebCore::RenderObject::addLayers):
3404 (WebCore::RenderObject::removeLayers):
3405 (WebCore::RenderObject::moveLayers):
3406 (WebCore::RenderObject::findNextLayer):
3407 (WebCore::RenderObject::enclosingLayer):
3408 (WebCore::RenderObject::updateFirstLetter):
3409 (WebCore::RenderObject::offsetParent):
3410 (WebCore::RenderObject::scroll):
3411 (WebCore::RenderObject::hasStaticX):
3412 (WebCore::RenderObject::setNeedsLayout):
3413 (WebCore::RenderObject::setChildNeedsLayout):
3414 (WebCore::RenderObject::markContainingBlocksForLayout):
3415 (WebCore::RenderObject::containingBlock):
3416 (WebCore::RenderObject::containingBlockWidth):
3417 (WebCore::RenderObject::containingBlockHeight):
3418 (WebCore::RenderObject::mustRepaintBackgroundOrBorder):
3419 (WebCore::RenderObject::drawBorderArc):
3420 (WebCore::RenderObject::drawBorder):
3421 (WebCore::RenderObject::paintBorderImage):
3422 (WebCore::RenderObject::paintBorder):
3423 (WebCore::RenderObject::absoluteRects):
3424 (WebCore::RenderObject::addPDFURLRect):
3425 (WebCore::RenderObject::addFocusRingRects):
3426 (WebCore::RenderObject::paintOutline):
3427 (WebCore::RenderObject::repaint):
3428 (WebCore::RenderObject::repaintRectangle):
3429 (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
3430 (WebCore::RenderObject::repaintObjectsBeforeLayout):
3431 (WebCore::RenderObject::getAbsoluteRepaintRectWithOutline):
3432 (WebCore::RenderObject::information):
3433 (WebCore::RenderObject::dump):
3434 (WebCore::selectStartNode):
3435 (WebCore::RenderObject::shouldSelect):
3436 (WebCore::RenderObject::draggableNode):
3437 (WebCore::RenderObject::createAnonymousBlock):
3438 (WebCore::RenderObject::handleDynamicFloatPositionChange):
3439 (WebCore::RenderObject::setStyle):
3440 (WebCore::RenderObject::setStyleInternal):
3441 (WebCore::RenderObject::updateBackgroundImages):
3442 (WebCore::RenderObject::absolutePosition):
3443 (WebCore::RenderObject::caretRect):
3444 (WebCore::RenderObject::paddingTop):
3445 (WebCore::RenderObject::paddingBottom):
3446 (WebCore::RenderObject::paddingLeft):
3447 (WebCore::RenderObject::paddingRight):
3448 (WebCore::RenderObject::tabWidth):
3449 (WebCore::RenderObject::container):
3450 (WebCore::RenderObject::removeFromObjectLists):
3451 (WebCore::RenderObject::destroy):
3452 (WebCore::RenderObject::arenaDelete):
3453 (WebCore::RenderObject::hitTest):
3454 (WebCore::RenderObject::setInnerNode):
3455 (WebCore::RenderObject::nodeAtPoint):
3456 (WebCore::RenderObject::verticalPositionHint):
3457 (WebCore::RenderObject::getVerticalPosition):
3458 (WebCore::RenderObject::lineHeight):
3459 (WebCore::RenderObject::invalidateVerticalPositions):
3460 (WebCore::RenderObject::recalcMinMaxWidths):
3461 (WebCore::RenderObject::scheduleRelayout):
3462 (WebCore::RenderObject::setInlineBoxWrapper):
3463 (WebCore::RenderObject::firstLineStyle):
3464 (WebCore::RenderObject::getPseudoStyle):
3465 (WebCore::RenderObject::getTextDecorationColors):
3466 (WebCore::RenderObject::addDashboardRegions):
3467 (WebCore::RenderObject::collectDashboardRegions):
3468 (WebCore::RenderObject::avoidsFloats):
3469 (WebCore::RenderObject::findCounter):
3470 (WebCore::RenderObject::backslashAsCurrencySymbol):
3471 (WebCore::RenderObject::imageChanged):
3472 (WebCore::RenderObject::previousOffset):
3473 (WebCore::RenderObject::nextOffset):
3474 (WebCore::RenderObject::inlineBox):
3475 * rendering/RenderObject.h:
3477 (WebCore::RenderObject::renderName):
3478 (WebCore::RenderObject::parent):
3479 (WebCore::RenderObject::previousSibling):
3480 (WebCore::RenderObject::nextSibling):
3481 (WebCore::RenderObject::firstChild):
3482 (WebCore::RenderObject::lastChild):
3483 (WebCore::RenderObject::getOverflowClipRect):
3484 (WebCore::RenderObject::getClipRect):
3485 (WebCore::RenderObject::getBaselineOfFirstLineBox):
3486 (WebCore::RenderObject::setEdited):
3487 (WebCore::RenderObject::setStaticX):
3488 (WebCore::RenderObject::setStaticY):
3489 (WebCore::RenderObject::setPreviousSibling):
3490 (WebCore::RenderObject::setNextSibling):
3491 (WebCore::RenderObject::setParent):
3492 (WebCore::RenderObject::isInlineBlockOrInlineTable):
3493 (WebCore::RenderObject::isRenderView):
3494 (WebCore::RenderObject::childrenInline):
3495 (WebCore::RenderObject::setChildrenInline):
3496 (WebCore::RenderObject::isAnonymousBlock):
3497 (WebCore::RenderObject::isDragging):
3498 (WebCore::RenderObject::needsLayout):
3499 (WebCore::RenderObject::setMinMaxKnown):
3500 (WebCore::RenderObject::setNeedsLayoutAndMinMaxRecalc):
3501 (WebCore::RenderObject::setPositioned):
3502 (WebCore::RenderObject::setRelPositioned):
3503 (WebCore::RenderObject::setFloating):
3504 (WebCore::RenderObject::setInline):
3505 (WebCore::RenderObject::setShouldPaintBackgroundOrBorder):
3506 (WebCore::RenderObject::setReplaced):
3507 (WebCore::RenderObject::PaintInfo::PaintInfo):
3508 (WebCore::RenderObject::paintBackgroundExtended):
3509 (WebCore::RenderObject::calcWidth):
3510 (WebCore::RenderObject::updateFromElement):
3511 (WebCore::RenderObject::RepaintInfo::RepaintInfo):
3512 (WebCore::RenderObject::setOverrideSize):
3513 (WebCore::RenderObject::setPos):
3514 (WebCore::RenderObject::setWidth):
3515 (WebCore::RenderObject::setHeight):
3516 (WebCore::RenderObject::absolutePositionForContent):
3517 (WebCore::RenderObject::overflowHeight):
3518 (WebCore::RenderObject::overflowWidth):
3519 (WebCore::RenderObject::setOverflowHeight):
3520 (WebCore::RenderObject::setOverflowWidth):
3521 (WebCore::RenderObject::overflowLeft):
3522 (WebCore::RenderObject::overflowTop):
3523 (WebCore::RenderObject::overflowRect):
3524 (WebCore::RenderObject::stopAutoscroll):
3525 (WebCore::RenderObject::collapsedMarginTop):
3526 (WebCore::RenderObject::collapsedMarginBottom):
3527 (WebCore::RenderObject::maxTopMargin):
3528 (WebCore::RenderObject::maxBottomMargin):
3529 (WebCore::RenderObject::):
3530 (WebCore::RenderObject::setTable):
3531 (WebCore::RenderObject::isFloatingOrPositioned):
3532 (WebCore::RenderObject::containsFloat):
3533 (WebCore::RenderObject::setSelectionState):
3534 (WebCore::RenderObject::SelectionInfo::SelectionInfo):
3535 (WebCore::RenderObject::lowestPosition):
3536 (WebCore::RenderObject::rightmostPosition):
3537 (WebCore::RenderObject::leftmostPosition):
3538 (WebCore::RenderObject::calcVerticalMargins):
3539 (WebCore::RenderObject::font):
3541 2006-11-08 Darin Adler <darin@apple.com>
3545 - added event parameters to focus-related functions so we can
3546 implement the "option-tab to all links" behavior without relying
3547 on a global "current event" -- also makes it work with DOM events
3549 * page/Frame.h: Removed unneeded includes. Moved some functions
3550 that were misplaced into the appropriate sections.
3552 (WebCore::Frame::doTextFieldCommandFromEvent): Changed parameter from