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