Build fix.
[WebKit-https.git] / WebCore / ChangeLog
1 2006-11-28  Adam Roben  <aroben@apple.com>
2
3         Build fix.
4
5         * platform/network/mac/ResourceRequestMac.mm:
6
7 2006-11-28  David Harrison  <harrison@apple.com>
8
9         Reviewed by Adele.
10
11         <rdar://problem/4852804> selection color does not get drawn over the missing image rectangle
12
13         Test:
14         * editing/selection/select-missing-image.html: Added.
15
16         * rendering/RenderImage.cpp:
17         (WebCore::RenderImage::paint):
18         Draw the selection tint even if the image itself is not available.
19
20 2006-11-28  Anders Carlsson  <acarlsson@apple.com>
21
22         Reviewed by Maciej.
23
24         Have ResourceRequest hold on to the platform object so we don't
25         have to convert back and forth when nothing in the object changes.
26
27         * WebCore.exp:
28         * WebCore.xcodeproj/project.pbxproj:
29         * loader/mac/FrameLoaderMac.mm:
30         (WebCore::FrameLoader::continueAfterNavigationPolicy):
31         * page/Chrome.cpp:
32         (WebCore::Chrome::pageRect):
33         * platform/network/ResourceRequest.cpp: Added.
34         (WebCore::ResourceRequest::isEmpty):
35         (WebCore::ResourceRequest::url):
36         (WebCore::ResourceRequest::setURL):
37         (WebCore::ResourceRequest::cachePolicy):
38         (WebCore::ResourceRequest::setCachePolicy):
39         (WebCore::ResourceRequest::timeoutInterval):
40         (WebCore::ResourceRequest::setTimeoutInterval):
41         (WebCore::ResourceRequest::mainDocumentURL):
42         (WebCore::ResourceRequest::setMainDocumentURL):
43         (WebCore::ResourceRequest::httpMethod):
44         (WebCore::ResourceRequest::setHTTPMethod):
45         (WebCore::ResourceRequest::httpHeaderFields):
46         (WebCore::ResourceRequest::httpHeaderField):
47         (WebCore::ResourceRequest::setHTTPHeaderField):
48         (WebCore::ResourceRequest::httpBody):
49         (WebCore::ResourceRequest::setHTTPBody):
50         (WebCore::ResourceRequest::allowHTTPCookies):
51         (WebCore::ResourceRequest::setAllowHTTPCookies):
52         (WebCore::ResourceRequest::updatePlatformRequest):
53         (WebCore::ResourceRequest::updateResourceRequest):
54         (WebCore::ResourceRequest::addHTTPHeaderField):
55         (WebCore::ResourceRequest::addHTTPHeaderFields):
56         * platform/network/ResourceRequest.h:
57         (WebCore::ResourceRequest::ResourceRequest):
58         * platform/network/mac/ResourceHandleMac.mm:
59         (WebCore::ResourceHandle::willSendRequest):
60         * platform/network/mac/ResourceRequestMac.h: Removed.
61         * platform/network/mac/ResourceRequestMac.mm:
62         (WebCore::ResourceRequest::nsURLRequest):
63         (WebCore::ResourceRequest::doUpdateResourceRequest):
64         (WebCore::ResourceRequest::doUpdatePlatformRequest):
65
66 2006-11-28  Adam Roben  <aroben@apple.com>
67
68         Reviewed by Beth.
69
70         More WebCore context menu work (still not turned on, however).
71
72         Split ContextMenuItem into its own files and make it a class.
73
74         * WebCore.exp: Updated symbols.
75         * WebCore.xcodeproj/project.pbxproj: Added new ContextMenuItem files.
76         * platform/ContextMenu.cpp:
77         (WebCore::ContextMenu::populate): Code cleanup.
78         * platform/ContextMenu.h: Split ContextMenuItem into a separate file,
79         removed redundant "Menu" part of platformMenuDescription(),
80         setPlatformMenuDescription().
81         (WebCore::ContextMenu::ContextMenu):
82         (WebCore::ContextMenu::hitTestResult):
83         (WebCore::ContextMenu::platformDescription):
84         * platform/ContextMenuItem.h: Added. Made ContextMenuItem a
85         full-fledged class.
86         (WebCore::):
87         (WebCore::ContextMenuItem::ContextMenuItem):
88         (WebCore::ContextMenuItem::menu):
89         (WebCore::ContextMenuItem::platformDescription):
90         (WebCore::ContextMenuItem::type):
91         (WebCore::ContextMenuItem::action):
92         (WebCore::ContextMenuItem::title):
93         * platform/mac/ContextMenuItemMac.mm: Added.
94         (WebCore::ContextMenuItem::ContextMenuItem):
95         * platform/mac/ContextMenuMac.mm: Updated for ContextMenuItem changes.
96         (-[MenuTarget forwardContextMenuAction:]):
97         (getNSMenuItem): Handle separator items.
98         (ContextMenu::appendItem):
99         (ContextMenu::itemCount):
100         (ContextMenu::insertItem):
101         (ContextMenu::setPlatformDescription):
102         * page/ContextMenuController.h: Updated declaration, added getter.
103         (WebCore::ContextMenuController::contextMenu):
104
105         Added some more context menu plumbing.
106
107         * dom/EventTargetNode.cpp:
108         (WebCore::EventTargetNode::defaultEventHandler): Added code to call the
109         ContextMenuController when a context menu event is received.
110         * page/ContextMenuClient.h: New client method declaration.
111         * page/ContextMenuController.cpp:
112         (WebCore::ContextMenuController::handleContextMenuEvent): Set the event
113         defaultHandled after handling it.
114         (WebCore::ContextMenuController::contextMenuItemSelected): Take a
115         ContextMenuItem instead of a separate action and title.
116
117         Changed event-handling methods to return bools to signify whether the
118         event was handled or not. This is needed so we can know whether to hand
119         the event off to the OS. Also restructured some code to use early
120         returns instead of nesting ifs.
121
122         * page/EventHandler.cpp:
123         (WebCore::EventHandler::handleMousePressEventDoubleClick):
124         (WebCore::EventHandler::handleMousePressEventTripleClick):
125         (WebCore::EventHandler::handleMousePressEventSingleClick):
126         (WebCore::EventHandler::handleMousePressEvent):
127         (WebCore::EventHandler::handleMouseMoveEvent):
128         (WebCore::EventHandler::handleMouseReleaseEvent):
129         (WebCore::EventHandler::handleMouseDoubleClickEvent):
130         (WebCore::EventHandler::handleWheelEvent):
131         (WebCore::EventHandler::canMouseDownStartSelect):
132         * page/EventHandler.h:
133         * page/FrameView.cpp:
134         (WebCore::FrameView::handleMouseMoveEvent):
135         (WebCore::FrameView::handleMouseReleaseEvent):
136         * page/FrameView.h:
137         * platform/ScrollBar.h: More bool return values.
138         (WebCore::Scrollbar::handleMouseMoveEvent):
139         (WebCore::Scrollbar::handleMouseOutEvent):
140         * platform/Widget.h: Ditto.
141         (WebCore::Widget::handleMouseMoveEvent):
142         (WebCore::Widget::handleMouseReleaseEvent):
143
144         Reverted the changes made in r17805 so that we can have fewer header
145         #includes.
146
147         * page/Page.cpp:
148         (WebCore::Page::Page):
149         * page/Page.h: Ditto.
150         (WebCore::Page::dragCaretController):
151         (WebCore::Page::chrome):
152         (WebCore::Page::contextMenuController):
153
154 2006-11-28  Alice Liu  <alice.liu@apple.com>
155
156         Reviewed by Justin and Adam.
157
158         All layout tests pass as they do without this patch
159
160         * WebCore.exp:
161         Exposed functions in Editor and removed functions in FrameMac due to changes in WebHTMLView.m
162
163         * WebCore.xcodeproj/project.pbxproj:
164         Added Pasteboard.h, PasteboardMac.mm, WebNSAttributedStringExtras.h&mm, EditorMac.mm
165
166         * bridge/EditorClient.h:
167         Added smartInsertDeleteEnabled and shouldInsertNode and some mac-specific functions
168
169         * bridge/mac/FrameMac.h:
170         * bridge/mac/FrameMac.mm:
171         Removed dispatchCPPEvent and [can|try]DHTML[cut|copy|paste] since the Editor's are called now
172
173         * dom/CharacterData.h:
174         (WebCore::CharacterData::isCharacterDataNode):
175         * dom/Node.h:
176         (WebCore::Node::isCharacterDataNode):
177         Added a type-identifying function to Node and the proper subclass
178
179         * dom/Clipboard.h:
180         Exposed setAccessPolicy as public
181         
182         * editing/Editor.h:
183         * editing/Editor.cpp:
184         Implemented the following
185         (WebCore::Editor::canDHTMLCut):
186         (WebCore::Editor::canDHTMLCopy):
187         (WebCore::Editor::canDHTMLPaste):
188         (WebCore::Editor::canSmartCopyOrDelete):
189         (WebCore::Editor::deleteSelection):
190         (WebCore::Editor::pasteAsPlainTextWithPasteboard):
191         (WebCore::Editor::pasteWithPasteboard):
192         (WebCore::Editor::canSmartReplaceWithPasteboard):
193         (WebCore::Editor::shouldInsertFragment):
194         (WebCore::Editor::replaceSelectionWithFragment):
195         (WebCore::Editor::replaceSelectionWithText):
196         (WebCore::Editor::selectedRange):
197         (WebCore::Editor::shouldDeleteRange):
198         (WebCore::Editor::tryDHTMLCopy):
199         (WebCore::Editor::tryDHTMLCut):
200         (WebCore::Editor::tryDHTMLPaste):
201         (WebCore::Editor::writeSelectionToPasteboard):
202         (WebCore::Editor::dispatchCPPEvent):
203         (WebCore::Editor::cut):
204         (WebCore::Editor::copy):
205         (WebCore::Editor::paste):
206                 
207         * platform/mac/ClipboardAccessPolicy.h: Removed.
208         Not removed, but moved to dom/ClipboardAccessPolicy.h
209         
210         * platform/mac/EditorMac.mm: Added.
211         (WebCore::Editor::newGeneralClipboard):
212
213         * platform/Pasteboard.h: Added.
214         * platform/mac/PasteboardMac.mm: Added.
215         The pasteboard class follows a singleton pattern
216         (Pasteboard::generalPasteboard):
217         (Pasteboard::~Pasteboard):
218         (Pasteboard::Pasteboard):
219         (Pasteboard::clearTypes):
220         (Pasteboard::writeSelection):
221         (Pasteboard::selectionPasteboardTypes):
222         (Pasteboard::canSmartReplace):
223         (Pasteboard::plainText):
224         (Pasteboard::documentFragment):
225         
226         * platform/mac/WebNSAttributedStringExtras.h: Added.
227         * platform/mac/WebNSAttributedStringExtras.mm: Added.
228         Added select portions of this file from WebKit because the pasteboard needed the following function:
229         (-[NSAttributedString _web_attributedStringByStrippingAttachmentCharacters]):
230
231 >>>>>>> .r17909
232 2006-11-28  Justin Garcia  <justin.garcia@apple.com>
233
234         Reviewed by harrison
235
236         <rdar://problem/4397952>
237         Cannot select buttons at the end of a document, preventing copy/paste
238         
239         There were no VisiblePositions before/after buttons because editingIgnoresContent
240         returned false for buttons. 
241
242         * dom/Position.cpp:
243         (WebCore::Position::upstream): Fixed a comment.
244         (WebCore::Position::downstream): Ditto.
245         * editing/DeleteSelectionCommand.cpp:
246         (WebCore::DeleteSelectionCommand::initializeStartEnd): Ditto.
247         * editing/htmlediting.cpp:
248         (WebCore::editingIgnoresContent): It's unnecessary to prefer renderer 
249         checks over tag name checks because it seems that a node of a tag name 
250         that we do not ignore content for can't have a renderer of a type that we do.
251         (WebCore::canHaveChildrenForEditing): Added selects, buttons, applets, and embeds.
252         * editing/visible_units.cpp:
253         (WebCore::previousLinePosition): Migrate to enclosingBlock.  Fixes a bug where the
254         caret would get stuck moving up/down a line from a caret just before an 
255         input element.
256         (WebCore::nextLinePosition): Ditto.
257
258 2006-11-28  Geoffrey Garen  <ggaren@apple.com>
259
260         Reviewed by Adam.
261
262         Fixed <rdar://problem/4844848> REGRESSION: extra cross-library ref/deref 
263         calls cause .5% PLT regression.
264         
265         Changed ref/deref calls to a single 'xxxDestroyed' call. Moved EditorClient
266         from the Frame to the Page, since it's only responsible for
267         Webview-level delegate calls.
268         
269         I don't really love this design, but it fixes the regression and allows
270         a single WebKit object to implement multiple client interfaces.
271         
272         Layout tests pass.
273
274 2006-11-27  Anders Carlsson  <acarlsson@apple.com>
275
276         Try fixing the build.
277         
278         * platform/graphics/IntRect.cpp:
279         (WebCore::IntRect::IntRect):
280
281 2006-11-27  Beth Dakin  <bdakin@apple.com>
282
283         Reviewed by Adam.
284
285         Getting rid of some of the critical FIXMEs in ContextMenu.cpp.
286
287         * bridge/mac/FrameMac.h: Two new spell checker functions from 
288         WebKit. (We will be able to delete the WebKit versions once we 
289         switch over to WebCore context menus.)
290         * bridge/mac/FrameMac.mm:
291         (WebCore::FrameMac::isSelectionMisspelled):
292         (WebCore::core): Convert from NSArray of Strings to a Vector of 
293         Strings.
294         (WebCore::FrameMac::guessesForMisspelledSelection):
295         * loader/FrameLoader.cpp:
296         (WebCore::FrameLoader::canHandleRequest):
297         * loader/FrameLoader.h: Make canHandleRequest available through the 
298         FrameLoader.
299         * loader/FrameLoaderClient.h: canHandleRequest takes a 
300         ResourceRequest instead of an NSURLRequest.
301         * loader/mac/FrameLoaderMac.mm:
302         (WebCore::FrameLoader::continueAfterNavigationPolicy): Same
303         * page/Frame.h: New spell checker functions moved to Frame. These 
304         should be moved some place better some day, but FrameMac currently 
305         seems to be the place to be for spell checker stuff.
306         * platform/ContextMenu.cpp:
307         (WebCore::ContextMenu::populate): Use new FrameLoader and spell 
308         checking functionality to get rid of two if (true) statements. Also 
309         add spelling guesses to the editing context menus.
310
311 2006-11-27  Alexey Proskuryakov  <ap@webkit.org>
312
313         Reviewed by Hyatt.
314
315         http://bugs.webkit.org/show_bug.cgi?id=11694
316         XSLT output method does not default to HTML when the target document is HTML
317
318         Test: fast/xsl/default-html.html
319
320         * xml/XSLTProcessor.cpp:
321         (WebCore::XSLTProcessor::transformToString): Make mimeType an input/output parameter, 
322         serving as a hint when the stylesheet doesn't specify the output method.
323         (WebCore::XSLTProcessor::transformToFragment): Set mimeType to text/html if the target
324         document is HTML.
325
326 2006-11-27  Oliver Hunt  <oliver@apple.com>
327
328         Reviewed by Adam.
329
330         Fixes a crash in SVG caused by an attempt to 
331         perform css overflow clipping by preventing
332         the css overflow clip from being set in SVG.
333         
334         <rdar:/problems/4839568>
335
336         * WebCore.xcodeproj/project.pbxproj:
337         * rendering/RenderForeignObject.cpp:
338         (WebCore::RenderForeignObject::RenderForeignObject):
339         * rendering/RenderForeignObject.h:
340         * rendering/RenderSVGBlock.cpp: Added.
341         (WebCore::RenderSVGBlock::RenderSVGBlock):
342         (WebCore::RenderSVGBlock::setStyle):
343         * rendering/RenderSVGBlock.h: Added.
344         * rendering/RenderSVGText.cpp:
345         (WebCore::RenderSVGText::RenderSVGText):
346         * rendering/RenderSVGText.h:
347
348 2006-11-27  Anders Carlsson  <acarlsson@apple.com>
349
350         Reviewed by Adam.
351
352         Add an explicit IntRect constructor that takes a FloatRect.
353         
354         * platform/graphics/IntRect.cpp:
355         (WebCore::IntRect::IntRect):
356         * platform/graphics/IntRect.h:
357
358 2006-11-27  Ada Chan  <adachan@apple.com>
359
360         Reviewed by Adam.
361
362         Moved WebCoreCache up to WebKit.
363
364         * WebCore.exp:
365         * WebCore.xcodeproj/project.pbxproj:
366         * bridge/mac/WebCoreCache.h: Removed.
367         * bridge/mac/WebCoreCache.mm: Removed.
368
369 2006-11-27  Anders Carlsson  <acarlsson@apple.com>
370
371         Reviewed by Adam.
372
373         Move addMessageToConsole to Chrome.
374         
375         * bindings/js/kjs_events.cpp:
376         (KJS::JSAbstractEventListener::handleEvent):
377         * bindings/js/kjs_proxy.cpp:
378         (WebCore::KJSProxy::evaluate):
379         * bindings/js/kjs_window.cpp:
380         (KJS::Window::isSafeScript):
381         (KJS::ScheduledAction::execute):
382         * bridge/mac/FrameMac.h:
383         * bridge/mac/FrameMac.mm:
384         * bridge/mac/WebCoreFrameBridge.h:
385         * page/Chrome.cpp:
386         (WebCore::Chrome::addMessageToConsole):
387         * page/Chrome.h:
388         * page/ChromeClient.h:
389         * page/Frame.h:
390
391 2006-11-27  Adele Peterson  <adele@apple.com>
392
393         Reviewed by Hyatt.
394
395         - Fix for http://bugs.webkit.org/show_bug.cgi?id=8062
396           Caret color in new text field should take background color and foreground color into consideration
397
398         * editing/SelectionController.cpp: (WebCore::SelectionController::paintCaret):
399           Use the foreground color of the rootEditableElement to determine the caret color.  This will work well for text controls in web pages (since the root is always the actual form control)
400           as well as in editable WebViews, like in Mail, which will just pick up the color from the body element.
401
402 2006-11-26  Simon Hausmann  <hausmann@kde.org>
403
404         Reviewed by Maciej.
405
406         http://bugs.webkit.org/show_bug.cgi?id=11693
407         Fix the Qt build, adapt to various enum/class renamings.
408
409         * kcanvas/device/qt/KRenderingDeviceQt.cpp:
410         (WebCore::KRenderingDeviceQt::createResource):
411         (WebCore::KRenderingDeviceQt::createPaintServer):
412         * kcanvas/device/qt/KRenderingDeviceQt.h:
413         * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
414         (WebCore::SVGPaintServerLinearGradient::setup):
415         * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
416         (WebCore::SVGPaintServer::renderPath):
417         * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
418         (WebCore::setup):
419         * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
420         (WebCore::SVGPaintServerSolid::setup):
421
422 2006-11-24  Rob Buis  <buis@kde.org>
423
424         Reviewed by Mitz.
425
426         http://bugs.webkit.org/show_bug.cgi?id=11666
427         .getScreenCTM() returns wrong values
428
429         Take into account the local transform matrix too and
430         so fix getScreenCTM/getCTM for <text>.
431
432         * ksvg2/svg/SVGStyledTransformableElement.cpp:
433         (SVGStyledTransformableElement::getCTM):
434         (SVGStyledTransformableElement::getScreenCTM):
435         * ksvg2/svg/SVGTextElement.cpp:
436         (WebCore::SVGTextElement::getScreenCTM):
437         (WebCore::SVGTextElement::getCTM):
438         * ksvg2/svg/SVGTransformable.cpp:
439         (WebCore::SVGTransformable::getCTM):
440         (WebCore::SVGTransformable::getScreenCTM):
441         * ksvg2/svg/SVGTransformable.h:
442
443 2006-11-22  Rob Buis  <buis@kde.org>
444
445         Reviewed by Eric.
446
447         http://bugs.webkit.org/show_bug.cgi?id=11661
448         SVG: stroke not sensitive to mouse events (hit testing fails)
449
450         Use mapAbsolutePointToLocal when hit-testing strokes.
451
452         * rendering/RenderPath.cpp:
453         (WebCore::RenderPath::fillContains):
454         (WebCore::RenderPath::nodeAtPoint):
455
456 2006-11-21  Anders Carlsson  <acarlsson@apple.com>
457
458         Reviewed by Mitz.
459
460         General SVG cleanup. Change some enums to match the style guidelines, use PLATFORM(CG) instead of PLATFORM(MAC).
461         Remove config.h inluce from AffineTransform.h
462         
463         * kcanvas/device/quartz/KRenderingDeviceQuartz.cpp:
464         (WebCore::KRenderingDeviceQuartz::createPaintServer):
465         (WebCore::KRenderingDeviceQuartz::createResource):
466         * ksvg2/misc/KCanvasRenderingStyle.cpp:
467         (WebCore::sharedSolidPaintServer):
468         * ksvg2/svg/SVGFilterElement.cpp:
469         (WebCore::SVGFilterElement::canvasResource):
470         * ksvg2/svg/SVGLinearGradientElement.cpp:
471         (WebCore::SVGLinearGradientElement::buildGradient):
472         * ksvg2/svg/SVGLinearGradientElement.h:
473         (WebCore::SVGLinearGradientElement::gradientType):
474         * ksvg2/svg/SVGPatternElement.cpp:
475         (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
476         (WebCore::SVGPatternElement::canvasResource):
477         * ksvg2/svg/SVGRadialGradientElement.cpp:
478         (WebCore::SVGRadialGradientElement::buildGradient):
479         * ksvg2/svg/SVGRadialGradientElement.h:
480         (WebCore::SVGRadialGradientElement::gradientType):
481         * platform/graphics/AffineTransform.h:
482         * platform/graphics/svg/SVGPaintServer.h:
483         (WebCore::):
484         * platform/graphics/svg/SVGPaintServerGradient.cpp:
485         (WebCore::SVGPaintServerGradient::SVGPaintServerGradient):
486         (WebCore::SVGPaintServerGradient::~SVGPaintServerGradient):
487         * platform/graphics/svg/SVGPaintServerGradient.h:
488         * platform/graphics/svg/SVGPaintServerLinearGradient.h:
489         (WebCore::SVGPaintServerLinearGradient::type):
490         * platform/graphics/svg/SVGPaintServerPattern.h:
491         (WebCore::SVGPaintServerPattern::type):
492         * platform/graphics/svg/SVGPaintServerRadialGradient.h:
493         (WebCore::SVGPaintServerRadialGradient::type):
494         * platform/graphics/svg/SVGPaintServerSolid.h:
495         (WebCore::SVGPaintServerSolid::type):
496         * platform/graphics/svg/SVGResource.h:
497         (WebCore::):
498         * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
499         (WebCore::SVGPaintServer::renderPath):
500         * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
501         (WebCore::SVGPaintServerGradient::updateQuartzGradientCache):
502         (WebCore::SVGPaintServerGradient::teardown):
503         (WebCore::SVGPaintServerGradient::renderPath):
504         (WebCore::SVGPaintServerGradient::setup):
505         * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
506         (WebCore::SVGPaintServerPattern::setup):
507         * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
508         (WebCore::SVGPaintServerSolid::setup):
509         * rendering/RenderPath.cpp:
510         (WebCore::RenderPath::paint):
511         * rendering/SVGInlineFlowBox.cpp:
512         (WebCore::paintSVGInlineFlow):
513
514 2006-11-21  Nikolas Zimmermann  <zimmermann@kde.org>
515
516         Reviewed by Oliver.
517
518         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11658
519
520         Move KRenderingPaintServer* classes to the location
521         of all other resources (platform/graphics/svg).
522
523         Soon the whole platform/graphics/svg stuff will bemoved
524         into ksvg2/ itself, as discussed with Darin.
525
526         * CMakeLists.txt:
527         * WebCore.xcodeproj/project.pbxproj:
528         * kcanvas/device/KRenderingDevice.h:
529         * kcanvas/device/KRenderingPaintServer.h: Removed.
530         * kcanvas/device/KRenderingPaintServerGradient.cpp: Removed.
531         * kcanvas/device/KRenderingPaintServerGradient.h: Removed.
532         * kcanvas/device/KRenderingPaintServerPattern.cpp: Removed.
533         * kcanvas/device/KRenderingPaintServerPattern.h: Removed.
534         * kcanvas/device/KRenderingPaintServerSolid.cpp: Removed.
535         * kcanvas/device/KRenderingPaintServerSolid.h: Removed.
536         * kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp: Removed.
537         * kcanvas/device/qt/KRenderingPaintServerGradientQt.h: Removed.
538         * kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp: Removed.
539         * kcanvas/device/qt/KRenderingPaintServerPatternQt.h: Removed.
540         * kcanvas/device/qt/KRenderingPaintServerQt.cpp: Removed.
541         * kcanvas/device/qt/KRenderingPaintServerQt.h: Removed.
542         * kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp: Removed.
543         * kcanvas/device/qt/KRenderingPaintServerSolidQt.h: Removed.
544         * kcanvas/device/quartz/KCanvasItemQuartz.h: Removed.
545         * kcanvas/device/quartz/KRenderingDeviceQuartz.cpp:
546         (WebCore::KRenderingDeviceQuartz::createPaintServer):
547         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
548         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.cpp: Removed.
549         * kcanvas/device/quartz/KRenderingPaintServerQuartz.cpp: Removed.
550         * kcanvas/device/quartz/KRenderingPaintServerQuartz.h: Removed.
551         * ksvg2/misc/KCanvasRenderingStyle.cpp:
552         (WebCore::sharedSolidPaintServer):
553         (WebCore::KSVGPainterFactory::fillPaintServer):
554         (WebCore::KSVGPainterFactory::strokePaintServer):
555         * ksvg2/misc/KCanvasRenderingStyle.h:
556         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
557         * ksvg2/svg/SVGFEOffsetElement.cpp:
558         * ksvg2/svg/SVGGradientElement.cpp:
559         (WebCore::SVGGradientElement::canvasResource):
560         (WebCore::SVGGradientElement::resourceNotification):
561         (WebCore::SVGGradientElement::rebuildStops):
562         * ksvg2/svg/SVGGradientElement.h:
563         * ksvg2/svg/SVGLinearGradientElement.cpp:
564         (WebCore::SVGLinearGradientElement::buildGradient):
565         * ksvg2/svg/SVGLinearGradientElement.h:
566         (WebCore::SVGLinearGradientElement::gradientType):
567         * ksvg2/svg/SVGPatternElement.cpp:
568         (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
569         (WebCore::SVGPatternElement::canvasResource):
570         * ksvg2/svg/SVGPatternElement.h:
571         * ksvg2/svg/SVGRadialGradientElement.cpp:
572         (WebCore::SVGRadialGradientElement::buildGradient):
573         * ksvg2/svg/SVGRadialGradientElement.h:
574         (WebCore::SVGRadialGradientElement::gradientType):
575         * platform/graphics/svg/SVGPaintServer.cpp: Added.
576         (WebCore::SVGPaintServer::SVGPaintServer):
577         (WebCore::SVGPaintServer::~SVGPaintServer):
578         (WebCore::SVGPaintServer::activeClient):
579         (WebCore::SVGPaintServer::setActiveClient):
580         (WebCore::SVGPaintServer::isPaintingText):
581         (WebCore::SVGPaintServer::setPaintingText):
582         (WebCore::operator<<):
583         (WebCore::getPaintServerById):
584         * platform/graphics/svg/SVGPaintServer.h: Added.
585         (WebCore::):
586         (WebCore::SVGPaintServer::isPaintServer):
587         * platform/graphics/svg/SVGPaintServerGradient.cpp: Added.
588         (WebCore::compareStopOffset):
589         (WebCore::operator<<):
590         (WebCore::SVGPaintServerGradient::SVGPaintServerGradient):
591         (WebCore::SVGPaintServerGradient::~SVGPaintServerGradient):
592         (WebCore::SVGPaintServerGradient::gradientStops):
593         (WebCore::SVGPaintServerGradient::setGradientStops):
594         (WebCore::SVGPaintServerGradient::spreadMethod):
595         (WebCore::SVGPaintServerGradient::setGradientSpreadMethod):
596         (WebCore::SVGPaintServerGradient::boundingBoxMode):
597         (WebCore::SVGPaintServerGradient::setBoundingBoxMode):
598         (WebCore::SVGPaintServerGradient::gradientTransform):
599         (WebCore::SVGPaintServerGradient::setGradientTransform):
600         (WebCore::SVGPaintServerGradient::listener):
601         (WebCore::SVGPaintServerGradient::setListener):
602         (WebCore::SVGPaintServerGradient::externalRepresentation):
603         * platform/graphics/svg/SVGPaintServerGradient.h: Added.
604         (WebCore::):
605         (WebCore::SVGPaintServerGradient::):
606         (WebCore::makeGradientStop):
607         * platform/graphics/svg/SVGPaintServerLinearGradient.cpp: Added.
608         (WebCore::SVGPaintServerLinearGradient::SVGPaintServerLinearGradient):
609         (WebCore::SVGPaintServerLinearGradient::~SVGPaintServerLinearGradient):
610         (WebCore::SVGPaintServerLinearGradient::gradientStart):
611         (WebCore::SVGPaintServerLinearGradient::setGradientStart):
612         (WebCore::SVGPaintServerLinearGradient::gradientEnd):
613         (WebCore::SVGPaintServerLinearGradient::setGradientEnd):
614         (WebCore::SVGPaintServerLinearGradient::externalRepresentation):
615         * platform/graphics/svg/SVGPaintServerLinearGradient.h: Added.
616         (WebCore::SVGPaintServerLinearGradient::type):
617         * platform/graphics/svg/SVGPaintServerPattern.cpp: Added.
618         (WebCore::SVGPaintServerPattern::SVGPaintServerPattern):
619         (WebCore::SVGPaintServerPattern::~SVGPaintServerPattern):
620         (WebCore::SVGPaintServerPattern::bbox):
621         (WebCore::SVGPaintServerPattern::setBbox):
622         (WebCore::SVGPaintServerPattern::boundingBoxMode):
623         (WebCore::SVGPaintServerPattern::setBoundingBoxMode):
624         (WebCore::SVGPaintServerPattern::tile):
625         (WebCore::SVGPaintServerPattern::setTile):
626         (WebCore::SVGPaintServerPattern::patternTransform):
627         (WebCore::SVGPaintServerPattern::setPatternTransform):
628         (WebCore::SVGPaintServerPattern::listener):
629         (WebCore::SVGPaintServerPattern::setListener):
630         (WebCore::SVGPaintServerPattern::externalRepresentation):
631         * platform/graphics/svg/SVGPaintServerPattern.h: Added.
632         (WebCore::SVGPaintServerPattern::type):
633         * platform/graphics/svg/SVGPaintServerRadialGradient.cpp: Added.
634         (WebCore::SVGPaintServerRadialGradient::SVGPaintServerRadialGradient):
635         (WebCore::SVGPaintServerRadialGradient::~SVGPaintServerRadialGradient):
636         (WebCore::SVGPaintServerRadialGradient::gradientCenter):
637         (WebCore::SVGPaintServerRadialGradient::setGradientCenter):
638         (WebCore::SVGPaintServerRadialGradient::gradientFocal):
639         (WebCore::SVGPaintServerRadialGradient::setGradientFocal):
640         (WebCore::SVGPaintServerRadialGradient::gradientRadius):
641         (WebCore::SVGPaintServerRadialGradient::setGradientRadius):
642         (WebCore::SVGPaintServerRadialGradient::externalRepresentation):
643         * platform/graphics/svg/SVGPaintServerRadialGradient.h: Added.
644         (WebCore::SVGPaintServerRadialGradient::type):
645         * platform/graphics/svg/SVGPaintServerSolid.cpp: Added.
646         (WebCore::SVGPaintServerSolid::SVGPaintServerSolid):
647         (WebCore::SVGPaintServerSolid::~SVGPaintServerSolid):
648         (WebCore::SVGPaintServerSolid::color):
649         (WebCore::SVGPaintServerSolid::setColor):
650         (WebCore::SVGPaintServerSolid::externalRepresentation):
651         * platform/graphics/svg/SVGPaintServerSolid.h: Added.
652         (WebCore::SVGPaintServerSolid::type):
653         * platform/graphics/svg/SVGResource.cpp:
654         * platform/graphics/svg/SVGResource.h:
655         * platform/graphics/svg/SVGResourceClipper.cpp:
656         * platform/graphics/svg/SVGResourceMarker.cpp:
657         * platform/graphics/svg/SVGResourceMasker.cpp:
658         * platform/graphics/svg/cg/SVGPaintServerCg.cpp: Added.
659         (WebCore::SVGPaintServer::draw):
660         (WebCore::SVGPaintServer::teardown):
661         (WebCore::SVGPaintServer::renderPath):
662         (WebCore::SVGPaintServer::strokePath):
663         (WebCore::SVGPaintServer::clipToStrokePath):
664         (WebCore::SVGPaintServer::fillPath):
665         (WebCore::SVGPaintServer::clipToFillPath):
666         * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp: Added.
667         (WebCore::cgGradientCallback):
668         (WebCore::CGShadingRefForLinearGradient):
669         (WebCore::CGShadingRefForRadialGradient):
670         (WebCore::SVGPaintServerGradient::invalidateCaches):
671         (WebCore::SVGPaintServerGradient::updateQuartzGradientStopsCache):
672         (WebCore::SVGPaintServerGradient::updateQuartzGradientCache):
673         (WebCore::SVGPaintServerGradient::teardown):
674         (WebCore::SVGPaintServerGradient::renderPath):
675         (WebCore::SVGPaintServerGradient::setup):
676         (WebCore::SVGPaintServerGradient::invalidate):
677         * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp: Added.
678         (WebCore::patternCallback):
679         (WebCore::SVGPaintServerPattern::setup):
680         (WebCore::SVGPaintServerPattern::teardown):
681         * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp: Added.
682         (WebCore::SVGPaintServerSolid::setup):
683         * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp: Added.
684         (WebCore::SVGPaintServerGradient::fillColorArray):
685         * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp: Added.
686         (WebCore::SVGPaintServerLinearGradient::setup):
687         * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp: Added.
688         (WebCore::SVGPaintServerPattern::setup):
689         * platform/graphics/svg/qt/SVGPaintServerQt.cpp: Added.
690         (WebCore::SVGPaintServer::setPenProperties):
691         (WebCore::SVGPaintServer::draw):
692         (WebCore::SVGPaintServer::teardown):
693         (WebCore::SVGPaintServer::renderPath):
694         * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp: Added.
695         (WebCore::setup):
696         * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp: Added.
697         (WebCore::SVGPaintServerSolid::setup):
698         * rendering/RenderPath.cpp:
699         (WebCore::RenderPath::paint):
700         * rendering/SVGInlineFlowBox.cpp:
701         (WebCore::paintSVGInlineFlow):
702         * rendering/SVGRenderTreeAsText.cpp:
703         (WebCore::writeStyle):
704         (WebCore::writeRenderResources):
705
706 2006-11-21  Alex Taylor  <darwin@techvisual.co.nz>
707
708         Reviewed by Mitz.
709
710         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11587
711
712         Adds calculations for bottom right radius's position
713         which was being drawn incorrectly.
714
715         * rendering/RenderObject.cpp:
716         (WebCore::RenderObject::paintBorder):
717
718 2006-11-20  Rob Buis  <buis@kde.org>
719
720         Reviewed by Maciej.
721
722         http://bugs.webkit.org/show_bug.cgi?id=11519
723         REGRESSION: Disabled file upload control doesn't have disabled appearance, failing fast/forms/file-input-disabled.html
724
725         Transport disabled state from DOM element to the shadow
726         DOM/render object.
727
728         * rendering/RenderFileUploadControl.cpp:
729         (WebCore::RenderFileUploadControl::updateFromElement):
730         * rendering/RenderTheme.h:
731
732 2006-11-20  Anders Carlsson  <acarlsson@apple.com>
733
734         Reviewed by Maciej.
735
736         * loader/TextResourceDecoder.cpp:
737         (WebCore::findXMLEncoding):
738         Use CString instead of DeprecatedCString.
739         
740         * platform/CString.cpp:
741         (WebCore::CString::find):
742         * platform/CString.h:
743         (WebCore::CString::data):
744         Add find method, make data method inline.
745         
746         * platform/TextStream.cpp:
747         * platform/TextStream.h:
748         Remove DeprecatedCString functions.
749
750 2006-11-20  Anders Carlsson  <acarlsson@apple.com>
751
752         Reviewed by Maciej.
753
754         Use CString instead of DeprecatedCString.
755         
756         * html/FormDataList.cpp:
757         (WebCore::FormDataList::appendString):
758         (WebCore::fixLineBreaks):
759         (WebCore::FormDataList::appendFile):
760
761 2006-11-20  Samuel Weinig  <sam@webkit.org>
762
763         Reviewed by Alexey.
764
765         Fix for http://bugs.webkit.org/show_bug.cgi?id=11656
766         Fix Windows build
767
768         * WebCore.vcproj/WebCore/WebCore.vcproj:
769         * bridge/win/ContextMenuClientWin.h:
770         * bridge/win/EditorClientWin.h:
771         * bridge/win/FrameWin.h:
772         * platform/win/TemporaryLinkStubs.cpp:
773         (WebCore::ContextMenu::show):
774         (WebCore::ContextMenuClientWin::copyLinkToClipboard):
775         (WebCore::ContextMenuClientWin::downloadURL):
776         (WebCore::ContextMenuClientWin::copyImageToClipboard):
777         (WebCore::ContextMenuClientWin::lookUpInDictionary):
778         (WebCore::EditorClientWin::shouldInsertText):
779         (WebCore::FrameLoader::reload):
780         (WebCore::FrameWin::ignoreSpelling):
781         (WebCore::FrameWin::learnSpelling):
782
783 2006-11-20  Alexey Proskuryakov  <ap@webkit.org>
784
785         Reviewed by Maciej.
786
787         http://bugs.webkit.org/show_bug.cgi?id=10736
788         XMLHttpRequest.responseXML should be null on error
789
790         * dom/XMLTokenizer.cpp:
791         (WebCore::XMLTokenizer::wellFormed):
792         * dom/XMLTokenizer.h:
793         (WebCore::Tokenizer::wellFormed):
794         * dom/Document.cpp:
795         (WebCore::Document::Document):
796         (WebCore::Document::implicitClose):
797         * dom/Document.h:
798         (WebCore::Document::wellFormed):
799         Tell whether XMLTokenizer saw an error. Always true (success) for HTML.
800
801         * xml/xmlhttprequest.cpp:
802         (WebCore::XMLHttpRequest::getResponseXML): Set the document to null if it's not well-formed.
803
804 2006-11-20  Alexey Proskuryakov  <ap@webkit.org>
805
806         Reviewed by Sam Weinig.
807
808         http://bugs.webkit.org/show_bug.cgi?id=11633
809         Implement XMLDocument properties xmlEncoding, xmlVersion, xmlStandalone
810
811         * dom/Document.cpp:
812         (WebCore::Document::Document):
813         (WebCore::Document::setXMLVersion):
814         (WebCore::Document::setXMLStandalone):
815         * dom/Document.h:
816         (WebCore::Document::xmlEncoding):
817         (WebCore::Document::xmlVersion):
818         (WebCore::Document::xmlStandalone):
819         (WebCore::Document::setXMLEncoding):
820         * dom/Document.idl:
821         * dom/XMLTokenizer.cpp:
822         (WebCore::XMLTokenizer::startDocument):
823         (WebCore::startDocumentHandler):
824         (WebCore::XMLTokenizer::initializeParserContext):
825         Added support for these properties, getting them from an libxml2 context.
826
827         * html/HTMLDocument.cpp:
828         (WebCore::HTMLDocument::HTMLDocument):
829         HTMLDocument is the only kind of document that doesn't have xmlVersion default to "1.0".
830
831         * bindings/scripts/CodeGeneratorJS.pm:
832         * bindings/scripts/CodeGeneratorObjC.pm:
833         Added WK_ucfirst to properly uppercase xmlVersion and xmlStandalone.
834
835 2006-11-20  Nikolas Zimmermann  <zimmermann@kde.org>
836
837         Reviewed by Rob.
838
839         Fix Qt/Linux build.
840
841         * platform/qt/ContextMenuClientQt.cpp:
842         (WebCore::ContextMenuClientQt::ref):
843         (WebCore::ContextMenuClientQt::deref):
844         (WebCore::ContextMenuClientQt::copyLinkToClipboard):
845         (WebCore::ContextMenuClientQt::downloadURL):
846         (WebCore::ContextMenuClientQt::copyImageToClipboard):
847         (WebCore::ContextMenuClientQt::lookUpInDictionary):
848         * platform/qt/ContextMenuClientQt.h:
849         * platform/qt/ContextMenuQt.cpp:
850         (WebCore::ContextMenu::appendItem):
851         (WebCore::ContextMenu::show):
852         (WebCore::ContextMenu::itemCount):
853         (WebCore::ContextMenu::insertItem):
854         * platform/qt/EditorClientQt.cpp:
855         (WebCore::EditorClientQt::shouldInsertText):
856         * platform/qt/EditorClientQt.h:
857         * platform/qt/FrameQt.cpp:
858         (WebCore::FrameQt::ignoreSpelling):
859         (WebCore::FrameQt::learnSpelling):
860         * platform/qt/FrameQt.h:
861         * platform/qt/TemporaryLinkStubs.cpp:
862         (FrameLoader::reload):
863
864 2006-11-20  Samuel Weinig  <sam@webkit.org>
865
866         Reviewed by Maciej.
867
868         Fix for http://bugs.webkit.org/show_bug.cgi?id=11647
869         Fix Win32 build
870
871         * config.h: add #define NOMINMAX for windows build
872         * platform/win/FontCacheWin.cpp:
873         (WebCore::FontCache::createFontPlatformData):
874         * platform/win/TemporaryLinkStubs.cpp: add definitions for 
875         new cursors.
876         (WebCore::aliasCursor):
877         (WebCore::noDropCursor):
878         (WebCore::progressCursor):
879
880 2006-11-19  Beth Dakin  <bdakin@apple.com>
881
882         Reviewed by Adam.
883
884         Implementation of actions for the new context menus.
885
886         * WebCore.exp:
887         * WebCore.xcodeproj/project.pbxproj:
888         * bridge/EditorClient.h: Declaration of shouldInsertText.
889         * bridge/mac/FrameMac.h: Two new spelling functions.
890         * bridge/mac/FrameMac.mm:
891         (WebCore::FrameMac::ignoreSpelling):
892         (WebCore::FrameMac::learnSpelling):
893         * editing/Editor.cpp:
894         (WebCore::Editor::shouldInsertText): Call into the client.
895         * editing/Editor.h:
896         * editing/EditorInsertAction.h: Added.
897         (WebCore::): The WebCore equivalent of WebViewInsertAction. This is 
898         defined in its own header so that we can use it from Editor.h and 
899         EditorClient.h without having one of the above include the other.
900         * page/ContextMenuClient.h: A few currently WebKit-implemented 
901         function needed for menu actions.
902         * page/ContextMenuController.cpp:
903         (WebCore::makeGoogleSearchURL):
904         (WebCore::ContextMenuController::contextMenuActionSelected): The 
905         actions!
906         * page/ContextMenuController.h:
907         * page/Frame.h: New pure-virtual spelling functions.
908         * platform/ContextMenu.cpp:
909         (WebCore::ContextMenu::controller): Get the controller from the 
910         menu.
911         * platform/ContextMenu.h:
912         * platform/mac/ContextMenuMac.mm:
913         (-[MenuTarget 
914         forwardContextMenuAction:initWithContextMenuController:WebCore::]): 
915         Use the controller instead of the menu
916         (-[MenuTarget WebCore::]):
917         (-[MenuTarget setMenuController:WebCore::]):
918         (-[MenuTarget forwardContextMenuAction:]):
919         (getNSMenuItem):
920         (ContextMenu::show):
921         (ContextMenu::hide):
922
923 2006-11-19  Simon Hausmann  <hausmann@kde.org>
924
925         Reviewed by Zack.
926
927         http://bugs.webkit.org/show_bug.cgi?id=11649
928         Fix CMake files for Qt-only build without KDE cmake files.
929         Fix Qt/KDE build for the SVG support.
930         Fix Qt-only build in the resource handler.
931
932         * CMakeLists.txt:
933         * platform/graphics/svg/qt/SVGResourceFilterQt.cpp: Added.
934         (WebCore::SVGResourceFilter::SVGResourceFilter):
935         (WebCore::SVGResourceFilter::~SVGResourceFilter):
936         (WebCore::SVGResourceFilter::prepareFilter):
937         (WebCore::SVGResourceFilter::applyFilter):
938         * platform/network/qt/ResourceHandleManager.cpp:
939         (WebCore::ResourceHandleManager::cancel):
940         (WebCore::ResourceHandleManager::slotData):
941         (WebCore::ResourceHandleManager::slotMimetype):
942         (WebCore::ResourceHandleManager::slotResult):
943         (WebCore::ResourceHandleManager::deliverJobData):
944         * platform/network/qt/ResourceHandleManager.h:
945         * platform/network/qt/ResourceHandleQt.cpp:
946         * platform/qt/CursorQt.cpp:
947         (WebCore::noDropCursor):
948         (WebCore::progressCursor):
949         (WebCore::aliasCursor):
950
951 2006-11-19  Mitz Pettel  <mitz@webkit.org>
952
953         Reviewed by Maciej.
954
955         - http://bugs.webkit.org/show_bug.cgi?id=11626
956           Automate test for rdar://problem/4056100
957
958         * manual-tests/delete-into-nested-block.html: Removed.
959
960 2006-11-19  Nikolas Zimmermann  <zimmermann@kde.org>
961
962         Reviewed by Oliver.
963
964         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11596
965
966         Split up KCanvasFilters & KCanvasFilterQuartz into several
967         new classes (SVGFEBlend, SVGFEComposite...) and move them
968         into platform/graphics/svg. This is still a temporary location,
969         as discussed with Darin; the whole platform/graphics/svg directory
970         will probably be moved into ksvg2/ in near future.
971
972         This finally removes the duplicated enumerations in the svg filter
973         classes and within kcanvas. ksvg2/ and platform/graphics/svg share
974         their enums now. As KCanvasFilters is gone now, The kcanvas/ subdirectory
975         is empty.
976
977         * CMakeLists.txt:
978         * WebCore.xcodeproj/project.pbxproj:
979         * bindings/scripts/CodeGeneratorJS.pm:
980         * kcanvas/KCanvasFilters.cpp: Removed.
981         * kcanvas/KCanvasFilters.h: Removed.
982         * kcanvas/device/KRenderingDevice.h:
983         * kcanvas/device/qt/KRenderingDeviceQt.cpp:
984         (WebCore::KRenderingDeviceQt::createFilterEffect):
985         * kcanvas/device/qt/KRenderingDeviceQt.h:
986         * kcanvas/device/quartz/KCanvasFilterQuartz.h: Removed.
987         * kcanvas/device/quartz/KCanvasFilterQuartz.mm: Removed.
988         * kcanvas/device/quartz/KCanvasItemQuartz.cpp:
989         * kcanvas/device/quartz/KRenderingDeviceQuartz.cpp:
990         (WebCore::KRenderingDeviceQuartz::createResource):
991         (WebCore::KRenderingDeviceQuartz::createFilterEffect):
992         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
993         * kcanvas/device/quartz/filters/WKArithmeticFilter.cikernel: Removed.
994         * kcanvas/device/quartz/filters/WKArithmeticFilter.h: Removed.
995         * kcanvas/device/quartz/filters/WKArithmeticFilter.m: Removed.
996         * kcanvas/device/quartz/filters/WKComponentMergeFilter.cikernel: Removed.
997         * kcanvas/device/quartz/filters/WKComponentMergeFilter.h: Removed.
998         * kcanvas/device/quartz/filters/WKComponentMergeFilter.m: Removed.
999         * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.cikernel: Removed.
1000         * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.h: Removed.
1001         * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.m: Removed.
1002         * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.cikernel: Removed.
1003         * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.h: Removed.
1004         * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m: Removed.
1005         * kcanvas/device/quartz/filters/WKDisplacementMapFilter.cikernel: Removed.
1006         * kcanvas/device/quartz/filters/WKDisplacementMapFilter.h: Removed.
1007         * kcanvas/device/quartz/filters/WKDisplacementMapFilter.m: Removed.
1008         * kcanvas/device/quartz/filters/WKDistantLightFilter.cikernel: Removed.
1009         * kcanvas/device/quartz/filters/WKDistantLightFilter.h: Removed.
1010         * kcanvas/device/quartz/filters/WKDistantLightFilter.m: Removed.
1011         * kcanvas/device/quartz/filters/WKGammaTransferFilter.cikernel: Removed.
1012         * kcanvas/device/quartz/filters/WKGammaTransferFilter.h: Removed.
1013         * kcanvas/device/quartz/filters/WKGammaTransferFilter.m: Removed.
1014         * kcanvas/device/quartz/filters/WKIdentityTransferFilter.h: Removed.
1015         * kcanvas/device/quartz/filters/WKIdentityTransferFilter.m: Removed.
1016         * kcanvas/device/quartz/filters/WKLinearTransferFilter.cikernel: Removed.
1017         * kcanvas/device/quartz/filters/WKLinearTransferFilter.h: Removed.
1018         * kcanvas/device/quartz/filters/WKLinearTransferFilter.m: Removed.
1019         * kcanvas/device/quartz/filters/WKNormalMapFilter.cikernel: Removed.
1020         * kcanvas/device/quartz/filters/WKNormalMapFilter.h: Removed.
1021         * kcanvas/device/quartz/filters/WKNormalMapFilter.m: Removed.
1022         * kcanvas/device/quartz/filters/WKPointLightFilter.cikernel: Removed.
1023         * kcanvas/device/quartz/filters/WKPointLightFilter.h: Removed.
1024         * kcanvas/device/quartz/filters/WKPointLightFilter.m: Removed.
1025         * kcanvas/device/quartz/filters/WKSpecularLightingFilter.cikernel: Removed.
1026         * kcanvas/device/quartz/filters/WKSpecularLightingFilter.h: Removed.
1027         * kcanvas/device/quartz/filters/WKSpecularLightingFilter.m: Removed.
1028         * kcanvas/device/quartz/filters/WKSpotLightFilter.cikernel: Removed.
1029         * kcanvas/device/quartz/filters/WKSpotLightFilter.h: Removed.
1030         * kcanvas/device/quartz/filters/WKSpotLightFilter.m: Removed.
1031         * kcanvas/device/quartz/filters/WKTableTransferFilter.cikernel: Removed.
1032         * kcanvas/device/quartz/filters/WKTableTransferFilter.h: Removed.
1033         * kcanvas/device/quartz/filters/WKTableTransferFilter.m: Removed.
1034         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
1035         (WebCore::SVGComponentTransferFunctionElement::transferFunction):
1036         * ksvg2/svg/SVGComponentTransferFunctionElement.h:
1037         * ksvg2/svg/SVGFEBlendElement.cpp:
1038         (WebCore::SVGFEBlendElement::filterEffect):
1039         * ksvg2/svg/SVGFEBlendElement.h:
1040         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
1041         (WebCore::SVGFEColorMatrixElement::filterEffect):
1042         * ksvg2/svg/SVGFEColorMatrixElement.h:
1043         * ksvg2/svg/SVGFEComponentTransferElement.cpp:
1044         (WebCore::SVGFEComponentTransferElement::filterEffect):
1045         * ksvg2/svg/SVGFEComponentTransferElement.h:
1046         * ksvg2/svg/SVGFECompositeElement.cpp:
1047         (WebCore::SVGFECompositeElement::filterEffect):
1048         * ksvg2/svg/SVGFECompositeElement.h:
1049         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
1050         (WebCore::SVGFEDiffuseLightingElement::filterEffect):
1051         (WebCore::SVGFEDiffuseLightingElement::updateLights):
1052         * ksvg2/svg/SVGFEDiffuseLightingElement.h:
1053         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
1054         (WebCore::SVGFEDisplacementMapElement::stringToChannel):
1055         (WebCore::SVGFEDisplacementMapElement::filterEffect):
1056         * ksvg2/svg/SVGFEDisplacementMapElement.h:
1057         * ksvg2/svg/SVGFEDistantLightElement.cpp:
1058         (WebCore::SVGFEDistantLightElement::lightSource):
1059         * ksvg2/svg/SVGFEDistantLightElement.h:
1060         * ksvg2/svg/SVGFEFloodElement.cpp:
1061         (WebCore::SVGFEFloodElement::filterEffect):
1062         * ksvg2/svg/SVGFEFloodElement.h:
1063         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
1064         (WebCore::SVGFEGaussianBlurElement::filterEffect):
1065         * ksvg2/svg/SVGFEGaussianBlurElement.h:
1066         * ksvg2/svg/SVGFEImageElement.cpp:
1067         (WebCore::SVGFEImageElement::filterEffect):
1068         * ksvg2/svg/SVGFEImageElement.h:
1069         * ksvg2/svg/SVGFELightElement.h:
1070         * ksvg2/svg/SVGFEMergeElement.cpp:
1071         (WebCore::SVGFEMergeElement::filterEffect):
1072         * ksvg2/svg/SVGFEMergeElement.h:
1073         * ksvg2/svg/SVGFEOffsetElement.cpp:
1074         (WebCore::SVGFEOffsetElement::filterEffect):
1075         * ksvg2/svg/SVGFEOffsetElement.h:
1076         * ksvg2/svg/SVGFEPointLightElement.cpp:
1077         (WebCore::SVGFEPointLightElement::lightSource):
1078         * ksvg2/svg/SVGFEPointLightElement.h:
1079         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
1080         (WebCore::SVGFESpecularLightingElement::filterEffect):
1081         (WebCore::SVGFESpecularLightingElement::updateLights):
1082         * ksvg2/svg/SVGFESpecularLightingElement.h:
1083         * ksvg2/svg/SVGFESpotLightElement.cpp:
1084         (WebCore::SVGFESpotLightElement::lightSource):
1085         * ksvg2/svg/SVGFESpotLightElement.h:
1086         * ksvg2/svg/SVGFETileElement.cpp:
1087         (WebCore::SVGFETileElement::filterEffect):
1088         * ksvg2/svg/SVGFETileElement.h:
1089         * ksvg2/svg/SVGFETurbulenceElement.cpp:
1090         (WebCore::SVGFETurbulenceElement::filterEffect):
1091         * ksvg2/svg/SVGFETurbulenceElement.h:
1092         (WebCore::):
1093         * ksvg2/svg/SVGFilterElement.cpp:
1094         (WebCore::SVGFilterElement::canvasResource):
1095         * ksvg2/svg/SVGFilterElement.h:
1096         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
1097         (WebCore::SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
1098         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
1099         * platform/graphics/FloatPoint3D.cpp: Added.
1100         (WebCore::FloatPoint3D::FloatPoint3D):
1101         (WebCore::FloatPoint3D::x):
1102         (WebCore::FloatPoint3D::setX):
1103         (WebCore::FloatPoint3D::y):
1104         (WebCore::FloatPoint3D::setY):
1105         (WebCore::FloatPoint3D::z):
1106         (WebCore::FloatPoint3D::setZ):
1107         (WebCore::FloatPoint3D::normalize):
1108         * platform/graphics/FloatPoint3D.h: Added.
1109         * platform/graphics/svg/SVGResourceFilter.cpp: Added.
1110         (WebCore::SVGResourceFilter::clearEffects):
1111         (WebCore::SVGResourceFilter::addFilterEffect):
1112         (WebCore::SVGResourceFilter::filterBBoxForItemBBox):
1113         (WebCore::SVGResourceFilter::externalRepresentation):
1114         (WebCore::getFilterById):
1115         * platform/graphics/svg/SVGResourceFilter.h: Added.
1116         (WebCore::SVGResourceFilter::isFilter):
1117         (WebCore::SVGResourceFilter::filterBoundingBoxMode):
1118         (WebCore::SVGResourceFilter::setFilterBoundingBoxMode):
1119         (WebCore::SVGResourceFilter::effectBoundingBoxMode):
1120         (WebCore::SVGResourceFilter::setEffectBoundingBoxMode):
1121         (WebCore::SVGResourceFilter::filterRect):
1122         (WebCore::SVGResourceFilter::setFilterRect):
1123         * platform/graphics/svg/SVGResourceImage.h:
1124         * platform/graphics/svg/SVGResourceListener.h:
1125         (SVGResourceListener::SVGResourceListener):
1126         (SVGResourceListener::~SVGResourceListener):
1127         * platform/graphics/svg/cg/SVGResourceClipperCg.cpp:
1128         * platform/graphics/svg/cg/SVGResourceFilterCg.mm: Added.
1129         (WebCore::SVGResourceFilter::SVGResourceFilter):
1130         (WebCore::SVGResourceFilter::~SVGResourceFilter):
1131         (WebCore::SVGResourceFilter::prepareFilter):
1132         (WebCore::SVGResourceFilter::applyFilter):
1133         (WebCore::SVGResourceFilter::getCIFilterStack):
1134         (WebCore::SVGResourceFilter::imageForName):
1135         (WebCore::SVGResourceFilter::setImageForName):
1136         (WebCore::SVGResourceFilter::setOutputImage):
1137         (WebCore::alphaImageForImage):
1138         (WebCore::SVGResourceFilter::inputImage):
1139         * platform/graphics/svg/cg/SVGResourceMaskerCg.h: Removed.
1140         * platform/graphics/svg/cg/SVGResourceMaskerCg.mm:
1141         * platform/graphics/svg/filters/SVGDistantLightSource.h: Added.
1142         (WebCore::SVGDistantLightSource::SVGDistantLightSource):
1143         (WebCore::SVGDistantLightSource::azimuth):
1144         (WebCore::SVGDistantLightSource::elevation):
1145         * platform/graphics/svg/filters/SVGFEBlend.cpp: Added.
1146         (WebCore::SVGFEBlend::in2):
1147         (WebCore::SVGFEBlend::setIn2):
1148         (WebCore::SVGFEBlend::blendMode):
1149         (WebCore::SVGFEBlend::setBlendMode):
1150         (WebCore::operator<<):
1151         (WebCore::SVGFEBlend::externalRepresentation):
1152         * platform/graphics/svg/filters/SVGFEBlend.h: Added.
1153         (WebCore::):
1154         * platform/graphics/svg/filters/SVGFEColorMatrix.cpp: Added.
1155         (WebCore::SVGFEColorMatrix::type):
1156         (WebCore::SVGFEColorMatrix::setType):
1157         (WebCore::SVGFEColorMatrix::values):
1158         (WebCore::SVGFEColorMatrix::setValues):
1159         (WebCore::operator<<):
1160         (WebCore::SVGFEColorMatrix::externalRepresentation):
1161         * platform/graphics/svg/filters/SVGFEColorMatrix.h: Added.
1162         (WebCore::):
1163         * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp: Added.
1164         (WebCore::SVGFEComponentTransfer::redFunction):
1165         (WebCore::SVGFEComponentTransfer::setRedFunction):
1166         (WebCore::SVGFEComponentTransfer::greenFunction):
1167         (WebCore::SVGFEComponentTransfer::setGreenFunction):
1168         (WebCore::SVGFEComponentTransfer::blueFunction):
1169         (WebCore::SVGFEComponentTransfer::setBlueFunction):
1170         (WebCore::SVGFEComponentTransfer::alphaFunction):
1171         (WebCore::SVGFEComponentTransfer::setAlphaFunction):
1172         (WebCore::operator<<):
1173         (WebCore::SVGFEComponentTransfer::externalRepresentation):
1174         * platform/graphics/svg/filters/SVGFEComponentTransfer.h: Added.
1175         (WebCore::):
1176         (WebCore::SVGComponentTransferFunction::SVGComponentTransferFunction):
1177         * platform/graphics/svg/filters/SVGFEComposite.cpp: Added.
1178         (WebCore::SVGFEComposite::in2):
1179         (WebCore::SVGFEComposite::setIn2):
1180         (WebCore::SVGFEComposite::operation):
1181         (WebCore::SVGFEComposite::setOperation):
1182         (WebCore::SVGFEComposite::k1):
1183         (WebCore::SVGFEComposite::setK1):
1184         (WebCore::SVGFEComposite::k2):
1185         (WebCore::SVGFEComposite::setK2):
1186         (WebCore::SVGFEComposite::k3):
1187         (WebCore::SVGFEComposite::setK3):
1188         (WebCore::SVGFEComposite::k4):
1189         (WebCore::SVGFEComposite::setK4):
1190         (WebCore::SVGFEComposite::externalRepresentation):
1191         * platform/graphics/svg/filters/SVGFEComposite.h: Added.
1192         (WebCore::):
1193         * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp: Added.
1194         (WebCore::SVGFEConvolveMatrix::kernelSize):
1195         (WebCore::SVGFEConvolveMatrix::setKernelSize):
1196         (WebCore::SVGFEConvolveMatrix::kernel):
1197         (WebCore::SVGFEConvolveMatrix::setKernel):
1198         (WebCore::SVGFEConvolveMatrix::divisor):
1199         (WebCore::SVGFEConvolveMatrix::setDivisor):
1200         (WebCore::SVGFEConvolveMatrix::bias):
1201         (WebCore::SVGFEConvolveMatrix::setBias):
1202         (WebCore::SVGFEConvolveMatrix::targetOffset):
1203         (WebCore::SVGFEConvolveMatrix::setTargetOffset):
1204         (WebCore::SVGFEConvolveMatrix::edgeMode):
1205         (WebCore::SVGFEConvolveMatrix::setEdgeMode):
1206         (WebCore::SVGFEConvolveMatrix::kernelUnitLength):
1207         (WebCore::SVGFEConvolveMatrix::setKernelUnitLength):
1208         (WebCore::SVGFEConvolveMatrix::preserveAlpha):
1209         (WebCore::SVGFEConvolveMatrix::setPreserveAlpha):
1210         (WebCore::operator<<):
1211         (WebCore::SVGFEConvolveMatrix::externalRepresentation):
1212         * platform/graphics/svg/filters/SVGFEConvolveMatrix.h: Added.
1213         (WebCore::):
1214         * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp: Added.
1215         (WebCore::SVGFEDiffuseLighting::SVGFEDiffuseLighting):
1216         (WebCore::SVGFEDiffuseLighting::~SVGFEDiffuseLighting):
1217         (WebCore::SVGFEDiffuseLighting::lightingColor):
1218         (WebCore::SVGFEDiffuseLighting::setLightingColor):
1219         (WebCore::SVGFEDiffuseLighting::surfaceScale):
1220         (WebCore::SVGFEDiffuseLighting::setSurfaceScale):
1221         (WebCore::SVGFEDiffuseLighting::diffuseConstant):
1222         (WebCore::SVGFEDiffuseLighting::setDiffuseConstant):
1223         (WebCore::SVGFEDiffuseLighting::kernelUnitLengthX):
1224         (WebCore::SVGFEDiffuseLighting::setKernelUnitLengthX):
1225         (WebCore::SVGFEDiffuseLighting::kernelUnitLengthY):
1226         (WebCore::SVGFEDiffuseLighting::setKernelUnitLengthY):
1227         (WebCore::SVGFEDiffuseLighting::lightSource):
1228         (WebCore::SVGFEDiffuseLighting::setLightSource):
1229         (WebCore::SVGFEDiffuseLighting::externalRepresentation):
1230         * platform/graphics/svg/filters/SVGFEDiffuseLighting.h: Added.
1231         * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp: Added.
1232         (WebCore::SVGFEDisplacementMap::SVGFEDisplacementMap):
1233         (WebCore::SVGFEDisplacementMap::in2):
1234         (WebCore::SVGFEDisplacementMap::setIn2):
1235         (WebCore::SVGFEDisplacementMap::xChannelSelector):
1236         (WebCore::SVGFEDisplacementMap::setXChannelSelector):
1237         (WebCore::SVGFEDisplacementMap::yChannelSelector):
1238         (WebCore::SVGFEDisplacementMap::setYChannelSelector):
1239         (WebCore::SVGFEDisplacementMap::scale):
1240         (WebCore::SVGFEDisplacementMap::setScale):
1241         (WebCore::operator<<):
1242         (WebCore::SVGFEDisplacementMap::externalRepresentation):
1243         * platform/graphics/svg/filters/SVGFEDisplacementMap.h: Added.
1244         (WebCore::):
1245         * platform/graphics/svg/filters/SVGFEFlood.cpp: Added.
1246         (WebCore::SVGFEFlood::floodColor):
1247         (WebCore::SVGFEFlood::setFloodColor):
1248         (WebCore::SVGFEFlood::floodOpacity):
1249         (WebCore::SVGFEFlood::setFloodOpacity):
1250         (WebCore::SVGFEFlood::externalRepresentation):
1251         * platform/graphics/svg/filters/SVGFEFlood.h: Added.
1252         * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp: Added.
1253         (WebCore::SVGFEGaussianBlur::stdDeviationX):
1254         (WebCore::SVGFEGaussianBlur::setStdDeviationX):
1255         (WebCore::SVGFEGaussianBlur::stdDeviationY):
1256         (WebCore::SVGFEGaussianBlur::setStdDeviationY):
1257         (WebCore::SVGFEGaussianBlur::externalRepresentation):
1258         * platform/graphics/svg/filters/SVGFEGaussianBlur.h: Added.
1259         * platform/graphics/svg/filters/SVGFEImage.cpp: Added.
1260         (WebCore::SVGFEImage::SVGFEImage):
1261         (WebCore::SVGFEImage::~SVGFEImage):
1262         (WebCore::SVGFEImage::cachedImage):
1263         (WebCore::SVGFEImage::setCachedImage):
1264         (WebCore::SVGFEImage::externalRepresentation):
1265         * platform/graphics/svg/filters/SVGFEImage.h: Added.
1266         * platform/graphics/svg/filters/SVGFEMerge.cpp: Added.
1267         (WebCore::SVGFEMerge::mergeInputs):
1268         (WebCore::SVGFEMerge::setMergeInputs):
1269         (WebCore::SVGFEMerge::externalRepresentation):
1270         * platform/graphics/svg/filters/SVGFEMerge.h: Added.
1271         * platform/graphics/svg/filters/SVGFEMorphology.cpp: Added.
1272         (WebCore::SVGFEMorphology::morphologyOperator):
1273         (WebCore::SVGFEMorphology::setMorphologyOperator):
1274         (WebCore::SVGFEMorphology::radiusX):
1275         (WebCore::SVGFEMorphology::setRadiusX):
1276         (WebCore::SVGFEMorphology::radiusY):
1277         (WebCore::SVGFEMorphology::setRadiusY):
1278         (WebCore::operator<<):
1279         (WebCore::SVGFEMorphology::externalRepresentation):
1280         * platform/graphics/svg/filters/SVGFEMorphology.h: Added.
1281         (WebCore::):
1282         * platform/graphics/svg/filters/SVGFEOffset.cpp: Added.
1283         (WebCore::SVGFEOffset::dx):
1284         (WebCore::SVGFEOffset::setDx):
1285         (WebCore::SVGFEOffset::dy):
1286         (WebCore::SVGFEOffset::setDy):
1287         (WebCore::SVGFEOffset::externalRepresentation):
1288         * platform/graphics/svg/filters/SVGFEOffset.h: Added.
1289         * platform/graphics/svg/filters/SVGFESpecularLighting.cpp: Added.
1290         (WebCore::SVGFESpecularLighting::SVGFESpecularLighting):
1291         (WebCore::SVGFESpecularLighting::~SVGFESpecularLighting):
1292         (WebCore::SVGFESpecularLighting::lightingColor):
1293         (WebCore::SVGFESpecularLighting::setLightingColor):
1294         (WebCore::SVGFESpecularLighting::surfaceScale):
1295         (WebCore::SVGFESpecularLighting::setSurfaceScale):
1296         (WebCore::SVGFESpecularLighting::specularConstant):
1297         (WebCore::SVGFESpecularLighting::setSpecularConstant):
1298         (WebCore::SVGFESpecularLighting::specularExponent):
1299         (WebCore::SVGFESpecularLighting::setSpecularExponent):
1300         (WebCore::SVGFESpecularLighting::kernelUnitLengthX):
1301         (WebCore::SVGFESpecularLighting::setKernelUnitLengthX):
1302         (WebCore::SVGFESpecularLighting::kernelUnitLengthY):
1303         (WebCore::SVGFESpecularLighting::setKernelUnitLengthY):
1304         (WebCore::SVGFESpecularLighting::lightSource):
1305         (WebCore::SVGFESpecularLighting::setLightSource):
1306         (WebCore::SVGFESpecularLighting::externalRepresentation):
1307         * platform/graphics/svg/filters/SVGFESpecularLighting.h: Added.
1308         * platform/graphics/svg/filters/SVGFETile.h: Added.
1309         * platform/graphics/svg/filters/SVGFETurbulence.cpp: Added.
1310         (WebCore::SVGFETurbulence::type):
1311         (WebCore::SVGFETurbulence::setType):
1312         (WebCore::SVGFETurbulence::baseFrequencyY):
1313         (WebCore::SVGFETurbulence::setBaseFrequencyY):
1314         (WebCore::SVGFETurbulence::baseFrequencyX):
1315         (WebCore::SVGFETurbulence::setBaseFrequencyX):
1316         (WebCore::SVGFETurbulence::seed):
1317         (WebCore::SVGFETurbulence::setSeed):
1318         (WebCore::SVGFETurbulence::numOctaves):
1319         (WebCore::SVGFETurbulence::setNumOctaves):
1320         (WebCore::SVGFETurbulence::stitchTiles):
1321         (WebCore::SVGFETurbulence::setStitchTiles):
1322         (WebCore::operator<<):
1323         (WebCore::SVGFETurbulence::externalRepresentation):
1324         * platform/graphics/svg/filters/SVGFETurbulence.h: Added.
1325         (WebCore::):
1326         * platform/graphics/svg/filters/SVGFilterEffect.cpp: Added.
1327         (WebCore::SVGFilterEffect::subRegion):
1328         (WebCore::SVGFilterEffect::setSubRegion):
1329         (WebCore::SVGFilterEffect::in):
1330         (WebCore::SVGFilterEffect::setIn):
1331         (WebCore::SVGFilterEffect::result):
1332         (WebCore::SVGFilterEffect::setResult):
1333         (WebCore::SVGFilterEffect::externalRepresentation):
1334         (WebCore::operator<<):
1335         * platform/graphics/svg/filters/SVGFilterEffect.h: Added.
1336         (WebCore::):
1337         (WebCore::SVGFilterEffect::SVGFilterEffect):
1338         (WebCore::SVGFilterEffect::~SVGFilterEffect):
1339         (WebCore::SVGFilterEffect::effectType):
1340         * platform/graphics/svg/filters/SVGLightSource.cpp: Added.
1341         (WebCore::operator<<):
1342         (WebCore::SVGPointLightSource::externalRepresentation):
1343         (WebCore::SVGSpotLightSource::externalRepresentation):
1344         (WebCore::SVGDistantLightSource::externalRepresentation):
1345         * platform/graphics/svg/filters/SVGLightSource.h: Added.
1346         (WebCore::):
1347         (WebCore::SVGLightSource::SVGLightSource):
1348         (WebCore::SVGLightSource::~SVGLightSource):
1349         (WebCore::SVGLightSource::type):
1350         * platform/graphics/svg/filters/SVGPointLightSource.h: Added.
1351         (WebCore::SVGPointLightSource::SVGPointLightSource):
1352         (WebCore::SVGPointLightSource::position):
1353         * platform/graphics/svg/filters/SVGSpotLightSource.h: Added.
1354         (WebCore::SVGSpotLightSource::SVGSpotLightSource):
1355         (WebCore::SVGSpotLightSource::position):
1356         (WebCore::SVGSpotLightSource::direction):
1357         (WebCore::SVGSpotLightSource::specularExponent):
1358         (WebCore::SVGSpotLightSource::limitingConeAngle):
1359         * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm: Added.
1360         (WebCore::SVGFEBlend::getCIFilter):
1361         * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm: Added.
1362         (WebCore::SVGFEColorMatrix::getCIFilter):
1363         * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm: Added.
1364         (WebCore::genImageFromTable):
1365         (WebCore::setParametersForComponentFunc):
1366         (WebCore::filterForComponentFunc):
1367         (WebCore::getFilterForFunc):
1368         (WebCore::SVGFEComponentTransfer::getFunctionFilter):
1369         (WebCore::SVGFEComponentTransfer::getCIFilter):
1370         * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm: Added.
1371         (WebCore::SVGFEComposite::getCIFilter):
1372         * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm: Added.
1373         (WebCore::SVGFEDiffuseLighting::getCIFilter):
1374         * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm: Added.
1375         (WebCore::SVGFEDisplacementMap::getCIFilter):
1376         * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm: Added.
1377         (WebCore::SVGFEFlood::getCIFilter):
1378         * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm: Added.
1379         (WebCore::SVGFEGaussianBlur::getCIFilter):
1380         * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h: Added.
1381         * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm: Added.
1382         (WebCore::getVectorForChannel):
1383         (WebCore::ciColor):
1384         (WebCore::getPointLightVectors):
1385         (WebCore::getLightVectors):
1386         (WebCore::getNormalMap):
1387         * platform/graphics/svg/filters/cg/SVGFEImageCg.mm: Added.
1388         (WebCore::SVGFEImage::getCIFilter):
1389         * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm: Added.
1390         (WebCore::SVGFEMerge::getCIFilter):
1391         * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm: Added.
1392         (WebCore::SVGFEOffset::getCIFilter):
1393         * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm: Added.
1394         (WebCore::SVGFESpecularLighting::getCIFilter):
1395         * platform/graphics/svg/filters/cg/SVGFETileCg.mm: Added.
1396         (WebCore::SVGFETile::getCIFilter):
1397         * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm: Added.
1398         (WebCore::SVGFilterEffect::getCIFilter):
1399         * rendering/RenderPath.cpp:
1400         (WebCore::RenderPath::getAbsoluteRepaintRect):
1401         (WebCore::RenderPath::paint):
1402         * rendering/RenderSVGContainer.cpp:
1403         (WebCore::RenderSVGContainer::paint):
1404         (WebCore::RenderSVGContainer::getAbsoluteRepaintRect):
1405         * rendering/RenderSVGImage.cpp:
1406         (WebCore::RenderSVGImage::paint):
1407         (WebCore::RenderSVGImage::getAbsoluteRepaintRect):
1408         * rendering/SVGInlineFlowBox.cpp:
1409         (WebCore::paintSVGInlineFlow):
1410
1411 2006-11-18  Rob Buis  <buis@kde.org>
1412
1413         Reviewed by Maciej.
1414
1415         http://bugs.webkit.org/show_bug.cgi?id=11321
1416         Element with :target pseudo-class still matched after fragment identifier change
1417
1418         Make sure the page does a style recalculation and possible rendering
1419         when navigating back from a page with an anchor to a page without
1420         an anchor.
1421
1422         * loader/FrameLoader.cpp:
1423         (WebCore::FrameLoader::gotoAnchor):
1424
1425 2006-11-18  Don Gibson  <dgibson77@gmail.com>
1426
1427         Reviewed by Sam Weinig.
1428
1429         http://bugs.webkit.org/show_bug.cgi?id=11634:
1430         Fix segfault on startup for Windows build.  Also fix segfault when
1431         typing in a URL.
1432         Clean up some of the style of the patch that landed in r17816.
1433
1434         * WebCore.vcproj/WebCore/WebCore.vcproj:
1435         * bridge/win/ChromeClientWin.h:
1436         (WebCore::ChromeClientWin::~ChromeClientWin):
1437         (WebCore::ChromeClientWin::ref):
1438         (WebCore::ChromeClientWin::deref):
1439         * bridge/win/ContextMenuClientWin.h:
1440         (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
1441         (WebCore::ContextMenuClientWin::ref):
1442         (WebCore::ContextMenuClientWin::deref):
1443         * bridge/win/EditorClientWin.h:
1444         (WebCore::EditorClientWin::~EditorClientWin):
1445         (WebCore::EditorClientWin::ref):
1446         (WebCore::EditorClientWin::deref):
1447         * bridge/win/FrameWin.cpp:
1448         (WebCore::FrameWin::FrameWin):
1449         * bridge/win/FrameWin.h:
1450         (WebCore::Win):
1451         * loader/win/FrameLoaderClientWin.h: Added.
1452         (WebCore::FrameLoaderClientWin::~FrameLoaderClientWin):
1453         (WebCore::FrameLoaderClientWin::ref):
1454         (WebCore::FrameLoaderClientWin::deref):
1455         * platform/win/TemporaryLinkStubs.cpp:
1456         (WebCore::ChromeClientWin::createWindow):
1457         (WebCore::ChromeClientWin::createModalDialog):
1458         (WebCore::EditorClientWin::selectWordBeforeMenuEvent):
1459         (WebCore::EditorClientWin::isEditable):
1460         (WebCore::EditorClientWin::shouldBeginEditing):
1461         (WebCore::EditorClientWin::shouldEndEditing):
1462         (WebCore::EditorClientWin::shouldApplyStyle):
1463         (WebCore::EditorClientWin::didBeginEditing):
1464         (WebCore::EditorClientWin::respondToChangedContents):
1465         (WebCore::EditorClientWin::didEndEditing):
1466         (WebCore::EditorClientWin::registerCommandForUndo):
1467         (WebCore::EditorClientWin::registerCommandForRedo):
1468         (WebCore::EditorClientWin::clearUndoRedoOperations):
1469         (WebCore::EditorClientWin::canUndo):
1470         (WebCore::EditorClientWin::canRedo):
1471         (WebCore::EditorClientWin::undo):
1472         (WebCore::EditorClientWin::redo):
1473         (WebCore::FrameLoader::createFrame):
1474         (WebCore::FrameLoader::createPlugin):
1475         (WebCore::FrameLoaderClientWin::hasWebView):
1476         (WebCore::FrameLoaderClientWin::hasFrameView):
1477         (WebCore::FrameLoaderClientWin::hasBackForwardList):
1478         (WebCore::FrameLoaderClientWin::resetBackForwardList):
1479         (WebCore::FrameLoaderClientWin::provisionalItemIsTarget):
1480         (WebCore::FrameLoaderClientWin::loadProvisionalItemFromPageCache):
1481         (WebCore::FrameLoaderClientWin::invalidateCurrentItemPageCache):
1482         (WebCore::FrameLoaderClientWin::privateBrowsingEnabled):
1483         (WebCore::FrameLoaderClientWin::makeDocumentView):
1484         (WebCore::FrameLoaderClientWin::makeRepresentation):
1485         (WebCore::FrameLoaderClientWin::forceLayout):
1486         (WebCore::FrameLoaderClientWin::forceLayoutForNonHTML):
1487         (WebCore::FrameLoaderClientWin::updateHistoryForCommit):
1488         (WebCore::FrameLoaderClientWin::updateHistoryForBackForwardNavigation):
1489         (WebCore::FrameLoaderClientWin::updateHistoryForReload):
1490         (WebCore::FrameLoaderClientWin::updateHistoryForStandardLoad):
1491         (WebCore::FrameLoaderClientWin::updateHistoryForInternalLoad):
1492         (WebCore::FrameLoaderClientWin::updateHistoryAfterClientRedirect):
1493         (WebCore::FrameLoaderClientWin::setCopiesOnScroll):
1494         (WebCore::FrameLoaderClientWin::tokenForLoadErrorReset):
1495         (WebCore::FrameLoaderClientWin::resetAfterLoadError):
1496         (WebCore::FrameLoaderClientWin::doNotResetAfterLoadError):
1497         (WebCore::FrameLoaderClientWin::willCloseDocument):
1498         (WebCore::FrameLoaderClientWin::detachedFromParent1):
1499         (WebCore::FrameLoaderClientWin::detachedFromParent2):
1500         (WebCore::FrameLoaderClientWin::detachedFromParent3):
1501         (WebCore::FrameLoaderClientWin::detachedFromParent4):
1502         (WebCore::FrameLoaderClientWin::loadedFromPageCache):
1503         (WebCore::FrameLoaderClientWin::dispatchDidHandleOnloadEvents):
1504         (WebCore::FrameLoaderClientWin::dispatchDidReceiveServerRedirectForProvisionalLoad):
1505         (WebCore::FrameLoaderClientWin::dispatchDidCancelClientRedirect):
1506         (WebCore::FrameLoaderClientWin::dispatchWillPerformClientRedirect):
1507         (WebCore::FrameLoaderClientWin::dispatchDidChangeLocationWithinPage):
1508         (WebCore::FrameLoaderClientWin::dispatchWillClose):
1509         (WebCore::FrameLoaderClientWin::dispatchDidReceiveIcon):
1510         (WebCore::FrameLoaderClientWin::dispatchDidStartProvisionalLoad):
1511         (WebCore::FrameLoaderClientWin::dispatchDidReceiveTitle):
1512         (WebCore::FrameLoaderClientWin::dispatchDidCommitLoad):
1513         (WebCore::FrameLoaderClientWin::dispatchDidFinishLoad):
1514         (WebCore::FrameLoaderClientWin::dispatchDidFirstLayout):
1515         (WebCore::FrameLoaderClientWin::dispatchShow):
1516         (WebCore::FrameLoaderClientWin::cancelPolicyCheck):
1517         (WebCore::FrameLoaderClientWin::dispatchWillSubmitForm):
1518         (WebCore::FrameLoaderClientWin::dispatchDidLoadMainResource):
1519         (WebCore::FrameLoaderClientWin::clearLoadingFromPageCache):
1520         (WebCore::FrameLoaderClientWin::isLoadingFromPageCache):
1521         (WebCore::FrameLoaderClientWin::revertToProvisionalState):
1522         (WebCore::FrameLoaderClientWin::clearUnarchivingState):
1523         (WebCore::FrameLoaderClientWin::progressStarted):
1524         (WebCore::FrameLoaderClientWin::progressCompleted):
1525         (WebCore::FrameLoaderClientWin::setMainFrameDocumentReady):
1526         (WebCore::FrameLoaderClientWin::willChangeTitle):
1527         (WebCore::FrameLoaderClientWin::didChangeTitle):
1528         (WebCore::FrameLoaderClientWin::finishedLoading):
1529         (WebCore::FrameLoaderClientWin::finalSetupForReplace):
1530         (WebCore::FrameLoaderClientWin::setDefersLoading):
1531         (WebCore::FrameLoaderClientWin::isArchiveLoadPending):
1532         (WebCore::FrameLoaderClientWin::cancelPendingArchiveLoad):
1533         (WebCore::FrameLoaderClientWin::clearArchivedResources):
1534         (WebCore::FrameLoaderClientWin::canShowMIMEType):
1535         (WebCore::FrameLoaderClientWin::representationExistsForURLScheme):
1536         (WebCore::FrameLoaderClientWin::generatedMIMETypeForURLScheme):
1537         (WebCore::FrameLoaderClientWin::frameLoadCompleted):
1538         (WebCore::FrameLoaderClientWin::restoreScrollPositionAndViewState):
1539         (WebCore::FrameLoaderClientWin::provisionalLoadStarted):
1540         (WebCore::FrameLoaderClientWin::shouldTreatURLAsSameAsCurrent):
1541         (WebCore::FrameLoaderClientWin::addHistoryItemForFragmentScroll):
1542         (WebCore::FrameLoaderClientWin::didFinishLoad):
1543         (WebCore::FrameLoaderClientWin::prepareForDataSourceReplacement):
1544         (WebCore::FrameLoaderClientWin::setTitle):
1545         (WebCore::FrameLoaderClientWin::userAgent):
1546
1547 2006-11-18  Alexey Proskuryakov  <ap@webkit.org>
1548
1549         Reviewed by Rob (yay!).
1550
1551         http://bugs.webkit.org/show_bug.cgi?id=11640
1552         XMLHttpRequest produces undefined:undefined HTTP authentication
1553
1554         * bindings/js/JSXMLHttpRequest.cpp:
1555         (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
1556         Treat undefined credentials as missing ones.
1557
1558 2006-11-17  Lars Naesbye Christensen  <larsnaesbye@stud.ku.dk>
1559
1560         Reviewed by Tim H.
1561
1562         http://bugs.webkit.org/show_bug.cgi?id=11638
1563         [CSS 2.1+3] add support for alias, progress, no-drop and not-allowed cursor styles
1564
1565         * Resources/aliasCursor.png: Added.
1566         * Resources/noDropCursor.png: Added.
1567         * Resources/progressCursor.png: Added.
1568         * WebCore.xcodeproj/project.pbxproj:
1569         * css/CSSComputedStyleDeclaration.cpp:
1570         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
1571         * css/CSSValueKeywords.in:
1572         * manual-tests/cursor.html:
1573         * page/EventHandler.cpp:
1574         (WebCore::selectCursor):
1575         * platform/Cursor.h:
1576         * platform/mac/CursorMac.mm:
1577         (WebCore::handCursor):
1578         (WebCore::aliasCursor):
1579         (WebCore::progressCursor):
1580         (WebCore::noDropCursor):
1581         * rendering/RenderStyle.h:
1582         (WebCore::):
1583
1584 2006-11-18  Steve Falkenburg  <sfalken@apple.com>
1585
1586         Reviewed by Adam.
1587
1588         Properly adjust CFAbsoluteTime to time_t to fix date calculations.
1589         
1590         Compare lastModified w/ MAX_TIME_T when setting last modified date
1591         instead of comparing expiration against MAX_TIME_T.
1592
1593         * platform/network/cf/ResourceResponseCFNet.cpp:
1594         (WebCore::getResourceResponse): Add kCFAbsoluteTimeIntervalSince1970 in assignment
1595
1596 2006-11-17  Anders Carlsson  <acarlsson@apple.com>
1597
1598         Reviewed by Geoff.
1599
1600         More conversions from DeprecatedValueList to Vector and HashSet.
1601         
1602         * css/CSSValueList.cpp:
1603         (WebCore::CSSValueList::~CSSValueList):
1604         (WebCore::CSSValueList::append):
1605         (WebCore::CSSValueList::cssText):
1606         * css/CSSValueList.h:
1607         (WebCore::CSSValueList::length):
1608         (WebCore::CSSValueList::item):
1609         * dom/Document.cpp:
1610         (WebCore::Document::attachNodeIterator):
1611         (WebCore::Document::notifyBeforeNodeRemoval):
1612         * dom/Document.h:
1613         * ksvg2/svg/SVGGradientElement.cpp:
1614         (WebCore::SVGGradientElement::notifyAttributeChange):
1615         * ksvg2/svg/SVGPatternElement.cpp:
1616         (WebCore::SVGPatternElement::notifyClientsToRepaint):
1617         * platform/graphics/svg/SVGResource.cpp:
1618         (WebCore::SVGResource::invalidate):
1619         (WebCore::SVGResource::addClient):
1620         * platform/graphics/svg/SVGResource.h:
1621         * rendering/RenderBlock.h:
1622
1623 === Safari-521.31 ===
1624
1625 2006-11-17  Timothy Hatcher  <timothy@apple.com>
1626
1627         Reviewed by Harrison.
1628
1629         <rdar://problem/4796730> table deletion elements are serialized out if they are visible when innerHTML or a Web Archive is made
1630
1631         Disable the delete button controller when cloning nodes, Mail does this before saving a draft.
1632
1633         * dom/ContainerNode.cpp:
1634         (WebCore::ContainerNode::cloneChildNodes):
1635         * editing/markup.cpp:
1636         (WebCore::createFragmentFromNodes):
1637
1638 2006-11-17  Justin Garcia  <justin.garcia@apple.com>
1639
1640         Reviewed by harrison
1641         
1642         <rdar://problem/4237467> REGRESSION: Pasting word from quoted text quotes the destination
1643         <rdar://problem/4017358> quoted text is wrong color, when pasted as quotation
1644
1645         * editing/ReplaceSelectionCommand.cpp:
1646         (WebCore::isMailPasteAsQuotationNode): Added.  Checks for the node
1647         that Mail wraps around an incoming fragment when it wants it to be pasted
1648         with quoting (no merging should be done).
1649         (WebCore::ReplaceSelectionCommand::removeNodePreservingChildren): Added
1650         this virtual method in order to adjust the nodes that ReplaceSelectionCommand
1651         tracks.
1652         (WebCore::ReplaceSelectionCommand::shouldMerge): Don't merge from content
1653         inside a Mail Paste as Quotation node.  Allow merging from Mail blockquotes.
1654         (WebCore::ReplaceSelectionCommand::removeRedundantStyles): When pasting into
1655         a Mail blockquote, we ignore the parts of the source document's default style
1656         that are overriden by styles from the Mail blockquote.  This is necessary in order
1657         for text that's black (because black is the source document's default font color) 
1658         to appear blue/green/whatever when it's pasted into a Mail blockquote.
1659         (WebCore::ReplaceSelectionCommand::handlePasteAsQuotationNode): Turn an inserted
1660         Mail Paste as Quotation node into a normal Mail blockquote.  This will prevent
1661         a copied blockquote that was inserted into the document using Paste as Quotation
1662         from triggering Paste as Quotation behavior when it's pasted.
1663         (WebCore::ReplaceSelectionCommand::doApply): Call the new/altered methods.
1664         * editing/ReplaceSelectionCommand.h:
1665         * editing/markup.cpp:
1666         (WebCore::styleFromMatchedRulesForElement): Put this code into a subroutine.
1667         (WebCore::removeEnclosingMailBlockquoteStyle): Added.
1668         (WebCore::startMarkup): When wrapping text nodes in style spans, leave out
1669         styles that Mail blockquotes contribute, so that Mail blockquote styles can
1670         be differentiated from styles that the user has applied.  When creating markup
1671         for elements, do the same thing.
1672         (WebCore::createMarkup): Call the new subroutine.
1673
1674 2006-11-17  Rob Buis  <buis@kde.org>
1675
1676         Reviewed by Mitz.
1677
1678         http://bugs.webkit.org/show_bug.cgi?id=11635
1679         Bug 11635: Fix potential issue with non-xslt build
1680
1681         Fix the issue and do style guideline corrections.
1682
1683         * dom/ProcessingInstruction.cpp:
1684         (WebCore::ProcessingInstruction::checkStyleSheet):
1685         (WebCore::ProcessingInstruction::sheetLoaded):
1686         (WebCore::ProcessingInstruction::setCSSStyleSheet):
1687         (WebCore::ProcessingInstruction::setXSLStyleSheet):
1688         (WebCore::ProcessingInstruction::parseStyleSheet):
1689
1690 2006-11-17  Timothy Hatcher  <timothy@apple.com>
1691
1692         Reviewed by Harrison.
1693
1694         <rdar://problem/4843131> text entry is slow inside element that has the deletion rectangle around it
1695
1696         Only disable/enable the delete button inside applyCommand() to prevent slowing down typing.
1697         This reintroduces <rdar://problem/4796657> table deletion outline does not always follow the table size as editing occurs inside
1698
1699         * editing/EditCommand.cpp:
1700         (WebCore::EditCommand::apply):
1701         (WebCore::EditCommand::unapply):
1702         (WebCore::EditCommand::reapply):
1703         (WebCore::applyCommand):
1704         * editing/EditCommand.h:
1705
1706 2006-11-17  Zack Rusin  <zack@kde.org>
1707
1708         Reviewed by Mitz. Landed by Niko.
1709
1710         Making platform Qt/KDE compile and work after
1711         the latest api changes. Reported as
1712         http://bugs.webkit.org/show_bug.cgi?id=11617
1713
1714         * CMakeLists.txt:
1715         * page/qt/EventHandlerQt.cpp: Added.
1716         (WebCore::isKeyboardOptionTab):
1717         (WebCore::EventHandler::tabsToLinks):
1718         (WebCore::EventHandler::tabsToAllControls):
1719         (WebCore::EventHandler::freeClipboard):
1720         (WebCore::EventHandler::focusDocumentView):
1721         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
1722         (WebCore::EventHandler::passMouseDownEventToWidget):
1723         (WebCore::EventHandler::lastEventIsMouseUp):
1724         (WebCore::EventHandler::dragHysteresisExceeded):
1725         (WebCore::EventHandler::handleDrag):
1726         (WebCore::EventHandler::handleMouseUp):
1727         (WebCore::EventHandler::passSubframeEventToSubframe):
1728         (WebCore::EventHandler::passWheelEventToWidget):
1729         (WebCore::EventHandler::shouldDragAutoNode):
1730         (WebCore::EventHandler::dispatchDragSrcEvent):
1731         (WebCore::EventHandler::passMousePressEventToSubframe):
1732         (WebCore::EventHandler::passMouseMoveEventToSubframe):
1733         (WebCore::EventHandler::passMouseReleaseEventToSubframe):
1734         (WebCore::EventHandler::passWheelEventToSubframe):
1735         (WebCore::EventHandler::passMousePressEventToScrollbar):
1736         * platform/ContextMenu.h:
1737         * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
1738         (WebCore::SVGResourceClipper::applyClip):
1739         * platform/qt/ContextMenuClientQt.cpp: Added.
1740         (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
1741         (WebCore::ContextMenuClientQt::ref):
1742         (WebCore::ContextMenuClientQt::deref):
1743         * platform/qt/ContextMenuClientQt.h: Added.
1744         * platform/qt/ContextMenuQt.cpp: Added.
1745         (WebCore::ContextMenu::appendItem):
1746         (WebCore::ContextMenu::itemCount):
1747         (WebCore::ContextMenu::insertItem):
1748         (WebCore::ContextMenu::setPlatformMenuDescription):
1749         * platform/qt/EditorClientQt.cpp:
1750         (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1751         (WebCore::EditorClientQt::isEditable):
1752         (WebCore::EditorClientQt::registerCommandForUndo):
1753         (WebCore::EditorClientQt::registerCommandForRedo):
1754         (WebCore::EditorClientQt::clearUndoRedoOperations):
1755         (WebCore::EditorClientQt::canUndo):
1756         (WebCore::EditorClientQt::canRedo):
1757         (WebCore::EditorClientQt::undo):
1758         (WebCore::EditorClientQt::redo):
1759         * platform/qt/EditorClientQt.h:
1760         * platform/qt/ScrollViewCanvasQt.cpp:
1761         (WebCore::ScrollViewCanvasQt::mousePressEvent):
1762         * platform/qt/TemporaryLinkStubs.cpp:
1763         (FrameView::updateBorder):
1764
1765 2006-11-17  David Harrison  <harrison@apple.com>
1766
1767         Reviewed by Adele.
1768
1769         <rdar://problem/4799899> Frame::revealSelection() only scrolls the startContainer's layer
1770
1771         Replace an assert with a fixme that refers to this bug.
1772         
1773         * page/Frame.cpp:
1774         (WebCore::Frame::revealSelection):
1775
1776 2006-11-16  Rob Buis  <buis@kde.org>
1777
1778         Reviewed and landed by Brady
1779
1780         Fixes http://bugs.webkit.org/show_bug.cgi?id=11590 -
1781         REGRESSION (r17726-r17742): Wikipedia page intermittently loads but doesn't render
1782         Fix the regression by setting m_loadCompleted correctly.
1783
1784         * css/CSSStyleSheet.cpp:
1785         (WebCore::CSSStyleSheet::checkLoaded):
1786         * dom/Node.h:
1787         (WebCore::Node::sheetLoaded):
1788         * dom/ProcessingInstruction.cpp:
1789         (WebCore::ProcessingInstruction::sheetLoaded):
1790         * dom/ProcessingInstruction.h:
1791         * html/HTMLLinkElement.cpp:
1792         (WebCore::HTMLLinkElement::sheetLoaded):
1793         * html/HTMLLinkElement.h:
1794         * html/HTMLStyleElement.cpp:
1795         (WebCore::HTMLStyleElement::sheetLoaded):
1796         * html/HTMLStyleElement.h:
1797
1798 2006-11-16  David Harrison  <harrison@apple.com>
1799
1800         Reviewed by Beth.
1801
1802         <rdar://problem/4056100> REGRESSION (Tiger): Deleting top part of reply email leaves fails to clear text at end of message
1803
1804         The problem was triggered by the fact that the parent div was changing both
1805         in position and in height. The renderer normally bifurcates its logic for
1806         x-position changes vs height changes.
1807
1808         Call repaintDuringLayoutIfMoved() with old rect (incl. width and height) instead of just the old position.
1809
1810         Test added:
1811         * manual-tests/delete-into-nested-block.html
1812         
1813         * rendering/RenderBlock.cpp:
1814         (WebCore::RenderBlock::layoutBlockChildren):
1815         (WebCore::RenderBlock::positionNewFloats):
1816         * rendering/RenderBox.cpp:
1817         (WebCore::RenderBox::repaintDuringLayoutIfMoved):
1818         * rendering/RenderBox.h:
1819         * rendering/RenderFlexibleBox.cpp:
1820         (WebCore::RenderFlexibleBox::placeChild):
1821         * rendering/RenderObject.cpp:
1822         (WebCore::RenderObject::repaintDuringLayoutIfMoved):
1823         * rendering/RenderObject.h:
1824         * rendering/RenderTableSection.cpp:
1825         (WebCore::RenderTableSection::layoutRows):
1826
1827 2006-11-16  Adele Peterson  <adele@apple.com>
1828
1829         Reviewed by Adam.
1830
1831         Slider cleanup.  Let the theme set the size of the slider thumb.
1832
1833         * rendering/RenderSlider.cpp:
1834         (WebCore::RenderSlider::setStyle): Moving the thumb's appearance adjustment to createThumbStyle.
1835         (WebCore::RenderSlider::createThumbStyle):
1836         (WebCore::RenderSlider::layout): Let the theme set the size of the thumb.
1837         * rendering/RenderTheme.cpp: (WebCore::RenderTheme::adjustSliderThumbSize):  Added.
1838         * rendering/RenderTheme.h: ditto.
1839         * rendering/RenderThemeMac.h: ditto.
1840         * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustSliderThumbSize): ditto.
1841
1842 2006-11-15  Anders Carlsson  <acarlsson@apple.com>
1843
1844         Reviewed by Darin.
1845
1846         Use Vector instead of DeprecatedValueList in a few places.
1847         
1848         * bindings/js/kjs_dom.cpp:
1849         (KJS::DOMNamedNodesCollection::DOMNamedNodesCollection):
1850         (KJS::DOMNamedNodesCollection::lengthGetter):
1851         (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
1852         * bindings/js/kjs_dom.h:
1853         * bindings/js/kjs_html.cpp:
1854         (KJS::JSHTMLDocument::namedItemGetter):
1855         (KJS::JSHTMLElement::classInfo):
1856         (KJS::JSHTMLElement::accessors):
1857         (KJS::JSHTMLCollection::getNamedItems):
1858         * bindings/objc/DOM.mm:
1859         * bridge/mac/FrameMac.mm:
1860         (WebCore::FrameMac::dashboardRegionsDictionary):
1861         * css/CSSStyleDeclaration.cpp:
1862         (WebCore::CSSStyleDeclaration::diff):
1863         * html/HTMLCollection.cpp:
1864         (WebCore::HTMLCollection::namedItems):
1865         * html/HTMLCollection.h:
1866         * kcanvas/KCanvasFilters.cpp:
1867         (WebCore::KCanvasFilter::externalRepresentation):
1868         * kcanvas/KCanvasFilters.h:
1869         (WebCore::KCanvasFEColorMatrix::values):
1870         (WebCore::KCanvasFEColorMatrix::setValues):
1871         (WebCore::KCanvasFEConvolveMatrix::kernel):
1872         (WebCore::KCanvasFEConvolveMatrix::setKernel):
1873         * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
1874         (WebCore::KCanvasFilterQuartz::getCIFilterStack):
1875         (WebCore::KCanvasFEColorMatrixQuartz::getCIFilter):
1876         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
1877         (WebCore::SVGFEColorMatrixElement::filterEffect):
1878         * platform/graphics/svg/SVGResourceClipper.h:
1879         * platform/graphics/svg/cg/SVGResourceClipperCg.cpp:
1880         (WebCore::SVGResourceClipper::applyClip):
1881         * platform/network/FormData.h:
1882         * rendering/RenderPath.h:
1883         * rendering/SVGRenderTreeAsText.h:
1884         (WebCore::operator<<):
1885
1886 2006-11-16  Anders Carlsson  <acarlsson@apple.com>
1887
1888         Reviewed by Tim.
1889
1890         * editing/markup.cpp:
1891         (WebCore::createMarkup):
1892         Add null-checks for the frame, it might not exist for all documents.
1893         
1894 2006-11-16  Don Gibson  <dgibson77@gmail.com>
1895
1896         Reviewed and landed by ap.
1897
1898         http://bugs.webkit.org/show_bug.cgi?id=11509:
1899         Windows build bustage.
1900
1901         Also reorganizes WebCore.vcproj to add files whose absence wasn't
1902         causing compile errors, but which should have been there, and to
1903         make the include directory ordering (and contents) sane.
1904         Also reorganizes TemporaryLinkStubs.cpp to put headers and
1905         function groups in alphabetical order, and ensure that all functions
1906         in the file call notImplemented().
1907
1908         * WebCore.vcproj/WebCore/WebCore.vcproj:
1909         * bridge/win/ChromeClientWin.h:
1910         (WebCore::ChromeClientWin::ref):
1911         (WebCore::ChromeClientWin::deref):
1912         * bridge/win/ContextMenuClientWin.h: Added.
1913         (WebCore::ContextMenuClientWin::~ContextMenuClientWin):
1914         (WebCore::ContextMenuClientWin::ref):
1915         (WebCore::ContextMenuClientWin::deref):
1916         * bridge/win/EditorClientWin.h:
1917         * bridge/win/FrameWin.cpp:
1918         (WebCore::FrameWin::~FrameWin):
1919         (WebCore::FrameWin::keyPress):
1920         * bridge/win/FrameWin.h:
1921         * bridge/win/PageWin.cpp: Removed.
1922         * editing/EditCommand.h:
1923         * loader/FormState.h:
1924         * loader/FrameLoader.h:
1925         * page/EventHandler.cpp:
1926         * platform/MimeTypeRegistry.cpp:
1927         (WebCore::initialiseSupportedImageMIMETypes):
1928         * platform/graphics/win/ImageWin.cpp:
1929         * platform/network/ResourceError.cpp:
1930         * platform/network/ResourceHandleInternal.h:
1931         * platform/network/win/ResourceHandleWin.cpp:
1932         (WebCore::ResourceHandle::onHandleCreated):
1933         (WebCore::ResourceHandle::onRequestRedirected):
1934         (WebCore::ResourceHandle::start):
1935         (WebCore::ResourceHandle::cancel):
1936         * platform/win/ScreenWin.cpp:
1937         (WebCore::monitorInfo):
1938         (WebCore::screenRect):
1939         (WebCore::screenAvailableRect):
1940         (WebCore::screenDepth):
1941         * platform/win/SoundWin.cpp: Added.
1942         (WebCore::systemBeep):
1943         * platform/win/TemporaryLinkStubs.cpp:
1944         (WebCore::CacheObjectExpiresTime):
1945         (WebCore::CheckCacheObjectStatus):
1946         (WebCore::CheckIfReloading):
1947         (WebCore::defaultLanguage):
1948         (WebCore::fileButtonChooseFileLabel):
1949         (WebCore::fileButtonNoFileSelectedLabel):
1950         (WebCore::findNextSentenceFromIndex):
1951         (WebCore::findNextWordFromIndex):
1952         (WebCore::findSentenceBoundary):
1953         (WebCore::findWordBoundary):
1954         (WebCore::focusRingColor):
1955         (WebCore::historyContains):
1956         (WebCore::inputElementAltText):
1957         (WebCore::IsResponseURLEqualToURL):
1958         (WebCore::cellCursor):
1959         (WebCore::contextMenuCursor):
1960         (WebCore::moveCursor):
1961         (WebCore::verticalTextCursor):
1962         (WebCore::refreshPlugins):
1963         (WebCore::resetButtonDefaultLabel):
1964         (WebCore::ResponseIsMultipart):
1965         (WebCore::ResponseMIMEType):
1966         (WebCore::ResponseURL):
1967         (WebCore::screenDepthPerComponent):
1968         (WebCore::screenIsMonochrome):
1969         (WebCore::searchableIndexIntroduction):
1970         (WebCore::ServeSynchronousRequest):
1971         (WebCore::setFocusRingColorChangeFunction):
1972         (WebCore::submitButtonDefaultLabel):
1973         (WebCore::CachedResource::setPlatformResponse):
1974         (WebCore::CachedResource::setAllData):
1975         (WebCore::ChromeClientWin::setWindowRect):
1976         (WebCore::ChromeClientWin::windowRect):
1977         (WebCore::ChromeClientWin::pageRect):
1978         (WebCore::ChromeClientWin::scaleFactor):
1979         (WebCore::ChromeClientWin::focus):
1980         (WebCore::ChromeClientWin::unfocus):
1981         (WebCore::ChromeClientWin::createWindow):
1982         (WebCore::ChromeClientWin::createModalDialog):
1983         (WebCore::ChromeClientWin::show):
1984         (WebCore::ChromeClientWin::canRunModal):
1985         (WebCore::ChromeClientWin::runModal):
1986         (WebCore::ChromeClientWin::setToolbarsVisible):
1987         (WebCore::ChromeClientWin::toolbarsVisible):
1988         (WebCore::ChromeClientWin::setStatusbarVisible):
1989         (WebCore::ChromeClientWin::statusbarVisible):
1990         (WebCore::ChromeClientWin::setScrollbarsVisible):
1991         (WebCore::ChromeClientWin::scrollbarsVisible):
1992         (WebCore::ChromeClientWin::setMenubarVisible):
1993         (WebCore::ChromeClientWin::menubarVisible):
1994         (WebCore::ChromeClientWin::setResizable):
1995         (WebCore::ContextMenu::appendItem):
1996         (WebCore::ContextMenuClientWin::addCustomContextMenuItems):
1997         (WebCore::DocumentLoader::setFrame):
1998         (WebCore::DocumentLoader::frameLoader):
1999         (WebCore::DocumentLoader::URL):
2000         (WebCore::DocumentLoader::isStopping):
2001         (WebCore::DocumentLoader::stopLoading):
2002         (WebCore::DocumentLoader::setLoading):
2003         (WebCore::DocumentLoader::updateLoading):
2004         (WebCore::DocumentLoader::setupForReplaceByMIMEType):
2005         (WebCore::DocumentLoader::isLoadingInAPISense):
2006         (WebCore::DocumentLoader::stopRecordingResponses):
2007         (WebCore::EditorClientWin::shouldDeleteRange):
2008         (WebCore::EditorClientWin::shouldShowDeleteInterface):
2009         (WebCore::EditorClientWin::isContinuousSpellCheckingEnabled):
2010         (WebCore::EditorClientWin::isGrammarCheckingEnabled):
2011         (WebCore::EditorClientWin::spellCheckerDocumentTag):
2012         (WebCore::EventHandler::focusDocumentView):
2013         (WebCore::EventHandler::handleDrag):
2014         (WebCore::EventHandler::handleMouseUp):
2015         (WebCore::EventHandler::lastEventIsMouseUp):
2016         (WebCore::EventHandler::passMousePressEventToSubframe):
2017         (WebCore::EventHandler::passMouseMoveEventToSubframe):
2018         (WebCore::EventHandler::passMouseReleaseEventToSubframe):
2019         (WebCore::EventHandler::passWheelEventToSubframe):
2020         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
2021         (WebCore::EventHandler::passMousePressEventToScrollbar):
2022         (WebCore::EventHandler::shouldDragAutoNode):
2023         (WebCore::EventHandler::tabsToAllControls):
2024         (WebCore::EventHandler::tabsToLinks):
2025         (WebCore::Frame::setNeedsReapplyStyles):
2026         (WebCore::FrameLoader::didFirstLayout):
2027         (WebCore::FrameLoader::overrideMediaType):
2028         (WebCore::FrameLoader::createJavaAppletWidget):
2029         (WebCore::FrameLoader::redirectDataToPlugin):
2030         (WebCore::FrameLoader::getHistoryLength):
2031         (WebCore::FrameLoader::setTitle):
2032         (WebCore::FrameLoader::referrer):
2033         (WebCore::FrameLoader::saveDocumentState):
2034         (WebCore::FrameLoader::restoreDocumentState):
2035         (WebCore::FrameLoader::goBackOrForward):
2036         (WebCore::FrameLoader::historyURL):
2037         (WebCore::FrameLoader::urlSelected):
2038         (WebCore::FrameLoader::createFrame):
2039         (WebCore::FrameLoader::submitForm):
2040         (WebCore::FrameLoader::partClearedInBegin):
2041         (WebCore::FrameLoader::originalRequestURL):
2042         (WebCore::FrameLoader::canGoBackOrForward):
2043         (WebCore::FrameLoader::objectContentType):
2044         (WebCore::FrameLoader::createPlugin):
2045         (WebCore::FrameLoader::detachFromParent):
2046         (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
2047         (WebCore::FrameView::updateBorder):
2048         (WebCore::FrameWin::bindingRootObject):
2049         (WebCore::FrameWin::canPaste):
2050         (WebCore::FrameWin::issuePasteAndMatchStyleCommand):
2051         (WebCore::FrameWin::markedTextRange):
2052         (WebCore::FrameWin::passSubframeEventToSubframe):
2053         (WebCore::FrameWin::lastEventIsMouseUp):
2054         (WebCore::FrameWin::addMessageToConsole):
2055         (WebCore::FrameWin::shouldChangeSelection):
2056         (WebCore::FrameWin::respondToChangedSelection):
2057         (WebCore::FrameWin::clearUndoRedoOperations):
2058         (WebCore::FrameWin::markMisspellingsInAdjacentWords):
2059         (WebCore::FrameWin::respondToChangedContents):
2060         (WebCore::GraphicsContext::addRoundedRectClip):
2061         (WebCore::GraphicsContext::setShadow):
2062         (WebCore::GraphicsContext::clearShadow):
2063         (WebCore::GraphicsContext::beginTransparencyLayer):
2064         (WebCore::GraphicsContext::endTransparencyLayer):
2065         (WebCore::GraphicsContext::clearRect):
2066         (WebCore::GraphicsContext::strokeRect):
2067         (WebCore::GraphicsContext::setLineWidth):
2068         (WebCore::GraphicsContext::setLineCap):
2069         (WebCore::GraphicsContext::setLineJoin):
2070         (WebCore::GraphicsContext::setMiterLimit):
2071         (WebCore::GraphicsContext::setAlpha):
2072         (WebCore::GraphicsContext::setCompositeOperation):
2073         (WebCore::GraphicsContext::clip):
2074         (WebCore::GraphicsContext::rotate):
2075         (WebCore::GraphicsContext::scale):
2076         (WebCore::Icon::Icon):
2077         (WebCore::Icon::~Icon):
2078         (WebCore::Icon::newIconForFile):
2079         (WebCore::Icon::paint):
2080         (WebCore::IconDatabase::isIconExpiredForIconURL):
2081         (WebCore::IconDatabase::hasEntryForIconURL):
2082         (WebCore::IconDatabase::sharedIconDatabase):
2083         (WebCore::IconDatabase::setIconURLForPageURL):
2084         (WebCore::IconDatabase::setIconDataForIconURL):
2085         (WebCore::Image::drawTiled):
2086         (WebCore::Image::getHBITMAP):
2087         (WebCore::Path::Path):
2088         (WebCore::Path::~Path):
2089         (WebCore::Path::contains):
2090         (WebCore::Path::translate):
2091         (WebCore::Path::boundingRect):
2092         (WebCore::Path::operator=):
2093         (WebCore::Path::clear):
2094         (WebCore::Path::moveTo):
2095         (WebCore::Path::addLineTo):
2096         (WebCore::Path::addQuadCurveTo):
2097         (WebCore::Path::addBezierCurveTo):
2098         (WebCore::Path::addArcTo):
2099         (WebCore::Path::closeSubpath):
2100         (WebCore::Path::addArc):
2101         (WebCore::Path::addRect):
2102         (WebCore::Path::addEllipse):
2103         (WebCore::Path::transform):
2104         (WebCore::PlatformMouseEvent::PlatformMouseEvent):
2105         (WebCore::PlatformScrollbar::PlatformScrollbar):
2106         (WebCore::PlatformScrollbar::~PlatformScrollbar):
2107         (WebCore::PlatformScrollbar::width):
2108         (WebCore::PlatformScrollbar::height):
2109         (WebCore::PlatformScrollbar::setEnabled):
2110         (WebCore::PlatformScrollbar::paint):
2111         (WebCore::PlatformScrollbar::updateThumbPosition):
2112         (WebCore::PlatformScrollbar::updateThumbProportion):
2113         (WebCore::PlatformScrollbar::setRect):
2114         (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
2115         (WebCore::PlugInInfoStore::pluginCount):
2116         (WebCore::PlugInInfoStore::supportsMIMEType):
2117         (WebCore::PolicyCheck::PolicyCheck):
2118         (WebCore::PolicyCheck::clear):
2119         (WebCore::PolicyCheck::clearRequest):
2120         (WebCore::PolicyCheck::call):
2121         (WebCore::RenderThemeWin::systemFont):
2122         (WebCore::RenderThemeWin::paintMenuList):
2123         (WebCore::RenderThemeWin::adjustMenuListStyle):
2124         (WebCore::ResourceLoader::cancel):
2125         (WebCore::ScrollView::addChild):
2126         (WebCore::ScrollView::removeChild):
2127         (WebCore::ScrollView::scrollPointRecursively):
2128         (WebCore::ScrollView::inWindow):
2129         (WebCore::ScrollView::paint):
2130         (WebCore::ScrollView::wheelEvent):
2131         (WebCore::ScrollView::themeChanged):
2132         (WebCore::ScrollView::convertChildToSelf):
2133         (WebCore::ScrollView::convertSelfToChild):
2134         (WebCore::ScrollView::geometryChanged):
2135         (WebCore::ScrollView::scrollbarUnderMouse):
2136         (WebCore::ScrollView::setFrameGeometry):
2137         (WebCore::ScrollView::windowResizerRect):
2138         (WebCore::ScrollView::resizerOverlapsContent):
2139         (WebCore::TextField::selectAll):
2140         (WebCore::TextField::addSearchResult):
2141         (WebCore::TextField::selectionStart):
2142         (WebCore::TextField::hasSelectedText):
2143         (WebCore::TextField::selectedText):
2144         (WebCore::TextField::setAutoSaveName):
2145         (WebCore::TextField::checksDescendantsForFocus):
2146         (WebCore::TextField::setSelection):
2147         (WebCore::TextField::setMaxResults):
2148         (WebCore::TextField::edited):
2149         (WebCore::TextField::focusPolicy):
2150         (WebCore::TextField::TextField):
2151         (WebCore::TextField::~TextField):
2152         (WebCore::TextField::setFont):
2153         (WebCore::TextField::setAlignment):
2154         (WebCore::TextField::setWritingDirection):
2155         (WebCore::TextField::maxLength):
2156         (WebCore::TextField::setMaxLength):
2157         (WebCore::TextField::text):
2158         (WebCore::TextField::setText):
2159         (WebCore::TextField::cursorPosition):
2160         (WebCore::TextField::setCursorPosition):
2161         (WebCore::TextField::setEdited):
2162         (WebCore::TextField::setReadOnly):
2163         (WebCore::TextField::setPlaceholderString):
2164         (WebCore::TextField::setColors):
2165         (WebCore::TextField::sizeForCharacterWidth):
2166         (WebCore::TextField::baselinePosition):
2167         (WebCore::TextField::setLiveSearch):
2168         (WebCore::Widget::enableFlushDrawing):
2169         (WebCore::Widget::isEnabled):
2170         (WebCore::Widget::focusPolicy):
2171         (WebCore::Widget::disableFlushDrawing):
2172         (WebCore::Widget::removeFromParent):
2173         (WebCore::Widget::lockDrawingFocus):
2174         (WebCore::Widget::unlockDrawingFocus):
2175         (WebCore::Widget::capturingMouse):
2176         (WebCore::Widget::setCapturingMouse):
2177         (WebCore::Widget::capturingTarget):
2178         (WebCore::Widget::capturingChild):
2179         (WebCore::Widget::setCapturingChild):
2180         (WebCore::Widget::convertChildToSelf):
2181         (WebCore::Widget::convertSelfToChild):
2182         (WebCore::Widget::setParent):
2183         (WebCore::Widget::parent):
2184         (WebCore::Widget::setEnabled):
2185         (WebCore::Widget::paint):
2186         (WebCore::Widget::setIsSelected):
2187         (WebCore::Widget::invalidate):
2188         (WebCore::Widget::invalidateRect):
2189         * platform/win/WidgetWin.cpp:
2190         (WebCore::Widget::clearFocus):
2191
2192 2006-11-16  Timothy Hatcher  <timothy@apple.com>
2193
2194         Reviewed by Adam.
2195
2196         <rdar://problem/4796730> table deletion elements are serialized out if they are visible when innerHTML or a Web Archive is made
2197
2198         * editing/markup.cpp:
2199         (WebCore::createMarkup): disable the delete button so it's elements are not serialized into the markup
2200
2201 2006-11-16  George Staikos  <staikos@kde.org>
2202
2203         Rubberstamped by Maciej.
2204
2205         Making the code valgrind clean.
2206
2207         * rendering/RenderTableCell.cpp: initialize variable m_widthChanged
2208         (WebCore::RenderTableCell::RenderTableCell):
2209         * rendering/RenderTableCell.h: remove unused variable nWrap
2210
2211 2006-11-16  David Harrison  <harrison@apple.com>
2212
2213         Reviewed by Darin and Tim.
2214
2215         <rdar://problem/4799949> REGRESSION: Crash in FrameMac::eventMayStartDrag() by clicking on a page
2216         
2217         * page/mac/EventHandlerMac.mm:
2218         (WebCore::EventHandler::eventMayStartDrag):
2219         Add nil check of hitTest's result.innerNode().
2220
2221 2006-11-16  Timothy Hatcher  <timothy@apple.com>
2222
2223         Reviewed by Darin.
2224
2225         <rdar://problem/4836897> Deletion rectangle disappears when multiple list items are selected
2226
2227         Consider the container of the selection range for deletion before asking enclosingNodeOfType().
2228
2229         * editing/DeleteButtonController.cpp:
2230         (WebCore::enclosingDeletableElement):
2231
2232 2006-11-16  Rob Buis  <buis@kde.org>
2233
2234         Reviewed by hyatt.
2235
2236         Removal of unused m_styleElement.
2237
2238         * dom/Node.cpp:
2239         (WebCore::Node::Node):
2240         (WebCore::Node::dump):
2241         * dom/Node.h:
2242         (WebCore::Node::isLink): should be styleElement, a bug?
2243
2244 2006-11-15  Adam Roben  <aroben@apple.com>
2245
2246         Build fix.
2247
2248         Rename the items in the ContextMenuAction enum so that they don't
2249         conflict with WebKit names.
2250
2251         * WebCore.xcodeproj/project.pbxproj:
2252         * platform/ContextMenu.cpp:
2253         (WebCore::ContextMenu::populate):
2254         * platform/ContextMenu.h:
2255         (WebCore::):
2256         (WebCore::ContextMenuItem::ContextMenuItem):
2257
2258 2006-11-15  Adam Roben  <aroben@apple.com>
2259
2260         Reviewed by Anders.
2261
2262         Change m_contextMenu to an OwnPtr.
2263
2264         * WebCore.xcodeproj/project.pbxproj:
2265         * page/ContextMenuController.cpp:
2266         (WebCore::ContextMenuController::handleContextMenuEvent):
2267         * page/ContextMenuController.h:
2268
2269 2006-11-15  Adam Roben  <aroben@apple.com>
2270
2271         Reviewed by Anders.
2272
2273         Add new ContextMenuController and ContextMenuClient classes, and move
2274         context menu responsibilities from Chrome and ChromeClient to them.
2275
2276         * WebCore.exp:
2277         * WebCore.xcodeproj/project.pbxproj: Add new files to project, and
2278         alphabetize some others.
2279         * page/Chrome.cpp: Remove context menu-related code.
2280         * page/Chrome.h: Ditto.
2281         * page/ChromeClient.h:
2282         * page/ContextMenuClient.h: Added.
2283         * page/ContextMenuController.cpp: Added.
2284         (WebCore::ContextMenuController::ContextMenuController):
2285         (WebCore::ContextMenuController::~ContextMenuController):
2286         (WebCore::ContextMenuController::handleContextMenuEvent):
2287         (WebCore::ContextMenuController::contextMenuActionSelected):
2288         * page/ContextMenuController.h: Added.
2289         (WebCore::ContextMenuController::client):
2290         * page/Page.cpp: Every Page now has a ContextMenuController.
2291         (WebCore::Page::Page):
2292         * page/Page.h: Made m_dragCaretController and m_chrome objects instead
2293         of pointers to objects.
2294         (WebCore::Page::contextMenuController):
2295         * platform/ContextMenu.cpp:
2296         (WebCore::ContextMenu::populate): Removed the call to Chrome to ask the
2297         delegate to add its menu items, and moved the code from the static
2298         addDefaultItems function into this method.
2299         * platform/ContextMenu.h:
2300         (WebCore::ContextMenu::show): Added an empty method body since this
2301         method is now called from ContextMenuController (although no one calls
2302         into ContextMenuController yet, so it's OK for this to be empty).
2303         (WebCore::ContextMenu::hide): Ditto.
2304
2305 2006-11-15  Anders Carlsson  <acarlsson@apple.com>
2306
2307         Reviewed by Darin.
2308
2309         Add null checks on the node filter, they can be null if no filter was passed to the respective
2310         create functions.
2311         
2312         * bindings/js/JSNodeIteratorCustom.cpp:
2313         (WebCore::JSNodeIterator::mark):
2314         * bindings/js/JSTreeWalkerCustom.cpp:
2315         (WebCore::JSTreeWalker::mark):
2316
2317 2006-11-15  Oliver Hunt  <oliver@apple.com>
2318
2319         Reviewed by Anders.
2320
2321         Allow <embed> and <object> tags to include non-plugin
2322         content when plugins are disabled
2323
2324         Fixes <rdar://problems/4839488>
2325
2326         * html/HTMLEmbedElement.cpp:
2327         (WebCore::HTMLEmbedElement::rendererIsNeeded):
2328         * html/HTMLObjectElement.cpp:
2329         (WebCore::HTMLObjectElement::rendererIsNeeded):
2330         * loader/FrameLoader.cpp:
2331         (WebCore::FrameLoader::requestObject):
2332
2333 2006-11-15  Adele Peterson  <adele@apple.com>
2334
2335         Build fix.  Another type problem that I don't see locally.
2336
2337         * rendering/RenderSlider.cpp: (WebCore::RenderSlider::setPositionFromValue):
2338
2339 2006-11-15  Adele Peterson  <adele@apple.com>
2340
2341         Reviewed by Adam.
2342
2343         Adding MathExtras header.
2344
2345         * rendering/RenderSlider.cpp:
2346
2347 2006-11-15  Timothy Hatcher  <timothy@apple.com>
2348
2349         Reviewed by Harrison.
2350
2351         <rdar://problem/4832894> Crash deleting an element inside a list while deletion rectangle is visible (compareBoundaryPoints)
2352
2353         * Disable and hide the deletion UI for each editing command. This prevents editing commands from being affected
2354           by the deletion UI elements we insert. The deletion UI is then shown after the editing commands are completely done.
2355
2356         * Multiple calls to DeleteButtonController's disable() needed to be paired with the same number of enable() calls before
2357           the deletion UI is enabled again. This allows for nested editing commands to be called without thrashing the deletion UI.
2358
2359         * Make sure the the renderers are currently reflecting the latest style changes, so call updateLayoutIgnorePendingStylesheets().
2360
2361         * editing/DeleteButtonController.cpp:
2362         (WebCore::DeleteButtonController::DeleteButtonController):
2363         (WebCore::isDeletableElement):
2364         (WebCore::DeleteButtonController::respondToChangedSelection): check the enabled state
2365         (WebCore::DeleteButtonController::respondToChangedContents): check the enabled state
2366         (WebCore::DeleteButtonController::show): call isDeletableElement() to make sure the element is allowed
2367         (WebCore::DeleteButtonController::deleteTarget): check the enabled state
2368         * editing/DeleteButtonController.h:
2369         (WebCore::DeleteButtonController::disable):
2370         (WebCore::DeleteButtonController::enable):
2371         (WebCore::DeleteButtonController::enabled):
2372         * editing/EditCommand.cpp:
2373         (WebCore::EditCommand::apply): hide and disable the deletion UI, then show at the end
2374         (WebCore::EditCommand::unapply): ditto
2375         (WebCore::EditCommand::reapply): ditto
2376
2377 2006-11-15  Adele Peterson  <adele@apple.com>
2378
2379         Reviewed by Adam.
2380
2381         New implementation of slider control.
2382
2383         * WebCore.xcodeproj/project.pbxproj: Removed DeprecatedSlider and Slider classes, added RenderSlider class.
2384         * rendering/DeprecatedSlider.cpp: Removed.
2385         * rendering/DeprecatedSlider.h: Removed.
2386         * platform/Slider.h: Removed.
2387         * platform/mac/SliderMac.mm: Removed.
2388         * platform/win/TemporaryLinkStubs.cpp:
2389
2390         * css/CSSSelector.h: (WebCore::CSSSelector::): Added PseudoElement for thumb, PseudoSliderThumb.
2391         * css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): Added code for "-webkit-slider-thumb".
2392         * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::checkOneSelector): 
2393         * rendering/RenderStyle.cpp:
2394         (WebCore::):
2395         (WebCore::pseudoBit):
2396         * rendering/RenderStyle.h: (WebCore::RenderStyle::):
2397
2398         * css/html4.css: Added style for input[type="range"] and input[type="range"]::-webkit-slider-thumb
2399
2400         * html/HTMLInputElement.cpp:
2401         (WebCore::HTMLInputElement::createRenderer): Create RenderSlider for input type="range" elements.
2402         (WebCore::HTMLInputElement::defaultEventHandler): Allow the renderer to forward events, and set thumb position when click occurs on the track.
2403
2404         * 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
2405           continue to capture mouse move events during the drag, even though those events aren't directly over the slider.
2406         (WebCore::EventHandler::EventHandler):
2407         (WebCore::EventHandler::setCapturingMouseEventsNode):
2408         (WebCore::EventHandler::dispatchMouseEvent): If the capturingMouseEventsNode is set, then dispatch all mouse events to that node.
2409         * page/EventHandler.h:
2410
2411         * rendering/RenderSlider.cpp: Added.
2412         (WebCore::HTMLSliderThumbElement::isShadowNode):
2413         (WebCore::HTMLSliderThumbElement::shadowParentNode):
2414         (WebCore::HTMLSliderThumbElement::inDragMode): Keeps track of whether or not the thumb is in drag mode.
2415         (WebCore::HTMLSliderThumbElement::HTMLSliderThumbElement):
2416         (WebCore::HTMLSliderThumbElement::defaultEventHandler): Handles positioning of slider thumb during drag.
2417         (WebCore::RenderSlider::RenderSlider):
2418         (WebCore::RenderSlider::~RenderSlider):
2419         (WebCore::RenderSlider::baselinePosition):
2420         (WebCore::RenderSlider::calcMinMaxWidth):
2421         (WebCore::RenderSlider::setStyle):
2422         (WebCore::RenderSlider::createThumbStyle):
2423         (WebCore::RenderSlider::layout): Positions the thumb to be centered on the track.
2424         (WebCore::RenderSlider::updateFromElement):
2425         (WebCore::RenderSlider::mouseEventIsInThumb):
2426         (WebCore::RenderSlider::setValueForPosition):
2427         (WebCore::RenderSlider::setPositionFromValue):
2428         (WebCore::RenderSlider::positionForOffset):
2429         (WebCore::RenderSlider::valueChanged):
2430         (WebCore::RenderSlider::currentPosition):
2431         (WebCore::RenderSlider::setCurrentPosition):
2432         (WebCore::RenderSlider::trackSize):
2433         (WebCore::RenderSlider::forwardEvent):
2434         (WebCore::RenderSlider::inDragMode):
2435         * rendering/RenderSlider.h: Added.
2436         (WebCore::RenderSlider::renderName):
2437
2438          * rendering/RenderTheme.cpp: Added drawing code for slider track and thumb.
2439         (WebCore::RenderTheme::adjustStyle):
2440         (WebCore::RenderTheme::paint):
2441         (WebCore::RenderTheme::paintBorderOnly):
2442         (WebCore::RenderTheme::paintDecorations):
2443         (WebCore::RenderTheme::adjustSliderTrackStyle):
2444         (WebCore::RenderTheme::adjustSliderThumbStyle):
2445         * rendering/RenderTheme.h:
2446         (WebCore::RenderTheme::paintSliderTrack):
2447         (WebCore::RenderTheme::paintSliderThumb):
2448         * rendering/RenderThemeMac.h:
2449         * rendering/RenderThemeMac.mm:
2450         (WebCore::RenderThemeMac::RenderThemeMac):
2451         (WebCore::TrackGradientInterpolate):
2452         (WebCore::RenderThemeMac::paintSliderTrack):
2453         (WebCore::RenderThemeMac::paintSliderThumb):
2454         (WebCore::RenderThemeMac::adjustSliderTrackStyle):
2455         (WebCore::RenderThemeMac::adjustSliderThumbStyle):
2456
2457 2006-11-15  Beth Dakin  <bdakin@apple.com>
2458
2459         Reviewed by Adam.
2460
2461         Oops! Forgot to add this!
2462
2463         * platform/mac/ContextMenuMac.mm: Added.
2464         (-[MenuTarget forwardContextMenuAction:initWithContextMenu:WebCore::]):
2465         (-[MenuTarget WebCore::]):
2466         (-[MenuTarget setMenu:WebCore::]):
2467         (-[MenuTarget forwardContextMenuAction:]):
2468         (getNSMenuItem):
2469         (ContextMenu::appendItem):
2470         (ContextMenu::itemCount):
2471         (ContextMenu::insertItem):
2472         (ContextMenu::setPlatformMenuDescription):
2473
2474 2006-11-15  Beth Dakin  <bdakin@apple.com>
2475         &   Adam Roben  <aroben@apple.com>
2476
2477         Reviewed by Adam and Beth.
2478
2479         Initial cut at pushing Context Menus into WebCore. Nobody actually 
2480         calls this code just yet.
2481
2482         * WebCore.exp:
2483         * WebCore.xcodeproj/project.pbxproj:
2484         * page/Chrome.cpp:
2485         (WebCore::Chrome::addCustomContextMenuItems): Use the chrome to 
2486         call into addContextMenuItems on the UIDelegate.
2487         * page/Chrome.h:
2488         * page/ChromeClient.h:
2489         * platform/ContextMenu.cpp: Added.
2490         (WebCore::addDefaultItems):
2491         (WebCore::ContextMenu::populate):
2492         * platform/ContextMenu.h: Added.
2493         (WebCore::):
2494         (WebCore::ContextMenuItem::ContextMenuItem):
2495         (WebCore::ContextMenu::ContextMenu):
2496         (WebCore::ContextMenu::hitTestResult):
2497         (WebCore::ContextMenu::platformMenuDescription):
2498
2499 2006-11-15  Adele Peterson  <adele@apple.com>
2500
2501         Reviewed by Hyatt.
2502
2503         - Fix for <rdar://problem/4780306> REGRESSION: clicking in textarea does not set selection at PunBB.org
2504
2505         * css/html4.css: Removed "-webkit-user-select: ignore" for labels.
2506
2507 2006-11-15  David Harrison  <harrison@apple.com>
2508
2509         Reviewed by Darin.
2510
2511         <rdar://problem/4836034> REGRESSION: Hang while spell-checking (advanceToNextMisspelling)
2512
2513         Test:
2514         * manual-tests/keep_spelling_markers.html:
2515         Updated to include checking for this bug.
2516         
2517         * bridge/mac/FrameMac.mm:
2518         (WebCore::FrameMac::advanceToNextMisspelling):
2519         it.advance() even when current string is a single space.
2520
2521 2006-11-15  Brady Eidson  <beidson@apple.com>
2522
2523         Reviewed by lamadio
2524
2525         Backing out macro expansion
2526
2527         * WebCore.xcodeproj/project.pbxproj:
2528         * html/HTMLElement.cpp:
2529         (WebCore::HTMLElement::isRecognizedTagName):
2530         * ksvg2/scripts/make_names.pl:
2531
2532 2006-11-15  David Harrison  <harrison@apple.com>
2533
2534         Reviewed by Darin.
2535
2536         <rdar://problem/4770453> VO not honoring secure edit fields in web pages
2537
2538         The remaining problem was the password fields would return their contents
2539         even though they did not advertise that they could. Apparently, VoiceOver
2540         does not read the ads.
2541
2542         * bridge/mac/WebCoreAXObject.mm:
2543         (isPasswordFieldElement):
2544         (-[WebCoreAXObject isPasswordField]):
2545         (-[WebCoreAXObject textMarkerForVisiblePosition:]):
2546         (-[WebCoreAXObject accessibilityAttributeValue:]):
2547         (-[WebCoreAXObject doAXStringForRange:]):
2548
2549 2006-11-13  Lou Amadio  <lamadio@apple.com>
2550
2551         Reviewed by Darin Adler, Maciej Stachowiak
2552
2553         Cleanup: Expanded macros in generated files
2554
2555         * html/HTMLElement.cpp:
2556         (WebCore::HTMLElement::isRecognizedTagName):
2557         * ksvg2/scripts/make_names.pl:
2558
2559 2006-11-16  Anders Carlsson  <acarlsson@apple.com>
2560
2561         Reviewed by Geoff.
2562
2563         Use Vector instead of DeprecatedPtrList.
2564         
2565         * editing/ApplyStyleCommand.cpp:
2566         (WebCore::ApplyStyleCommand::applyBlockStyle):
2567         * editing/BreakBlockquoteCommand.cpp:
2568         * rendering/RenderFlow.cpp:
2569         (WebCore::RenderFlow::paintOutline):
2570
2571 2006-11-15  Adam Roben  <aroben@apple.com>
2572
2573         Build fix.
2574
2575         * page/EventHandler.h:
2576
2577 2006-11-14  Beth Dakin  <bdakin@apple.com>
2578
2579         Reviewed by Geoff.
2580
2581         Move things off the bridge, and move sendContextMenuEvent() from 
2582         EventHandlerMac to EventHandler.
2583
2584         * WebCore.exp:
2585         * WebCore.xcodeproj/project.pbxproj:
2586         * bridge/EditorClient.h:
2587         * bridge/mac/WebCoreFrameBridge.h:
2588         * editing/Editor.cpp:
2589         (WebCore::Editor::selectWordBeforeMenuEvent):
2590         (WebCore::Editor::clientIsEditable):
2591         * editing/Editor.h:
2592         * page/EventHandler.cpp:
2593         (WebCore::EventHandler::sendContextMenuEvent):
2594         * page/EventHandler.h:
2595         * page/mac/EventHandlerMac.mm:
2596
2597 2006-11-14  Timothy Hatcher  <timothy@apple.com>
2598
2599         Reviewed by Harrison.
2600
2601         <rdar://problem/4766635> Safari should never follow links in editable areas (add a WebKitEditableLinkNeverLive option)
2602
2603         Adds an EditableLinkNeverLive setting that will make links in editable areas always dead.
2604
2605         * bridge/mac/WebCoreSettings.mm:
2606         (-[WebCoreSettings setEditableLinkBehavior:]):
2607         * html/HTMLAnchorElement.cpp:
2608         (WebCore::HTMLAnchorElement::defaultEventHandler):
2609         (WebCore::HTMLAnchorElement::setActive):
2610         (WebCore::HTMLAnchorElement::isLiveLink):
2611         * page/FrameView.cpp:
2612         (WebCore::selectCursor):
2613         * page/Settings.h:
2614         (WebCore::Settings::):
2615
2616 2006-11-14  Mark Rowe  <bdash@webkit.org>
2617
2618         Reviewed by Oliver.
2619
2620         Build fix
2621
2622         * bindings/scripts/CodeGenerator.pm:
2623
2624 2006-11-14  Anders Carlsson  <acarlsson@apple.com>
2625
2626         Turns out I wasn't forcing DWARF on the world at all, 
2627         it's now the default!
2628
2629         * WebCore.xcodeproj/project.pbxproj:
2630
2631 2006-11-14  Anders Carlsson  <acarlsson@apple.com>
2632
2633         I must stop trying to force DWARF on the world.
2634         
2635         * WebCore.xcodeproj/project.pbxproj:
2636
2637 2006-11-13  Justin Garcia  <justin.garcia@apple.com>
2638
2639         Reviewed by harrison
2640         
2641         <rdar://problem/4806874>
2642         Missing background image after paste
2643         
2644         * editing/markup.cpp:
2645         (WebCore::createMarkup): If the body is fully selected, add a 
2646         div with its CSS properties to the markup.  Migrated a use of 
2647         enclosingBlockFlowElement to enclosingBlock to fix an infinite 
2648         loop when pasting <div><input></div>.
2649
2650 2006-11-14  Anders Carlsson  <acarlsson@apple.com>
2651
2652         Reviewed by Adam.
2653
2654         Add Undo/Redo to execCommand.
2655         
2656         * editing/Editor.cpp:
2657         (WebCore::execRedo):
2658         (WebCore::execUndo):
2659         (WebCore::canRedo):
2660         (WebCore::canUndo):
2661         (WebCore::CommandEntry::):
2662
2663 2006-11-14  Darin Adler  <darin@apple.com>
2664
2665         Reviewed by Anders.
2666
2667         - created EventHandler class, moved event handling code from both
2668           Frame and FrameView in there
2669
2670         - added ScrollTypes.h header so you can include the scroller-related
2671           enums without all of Scrollbar.h
2672
2673         * page/EventHandler.cpp: Added.
2674         * page/EventHandler.h: Added.
2675         * page/mac/EventHandlerMac.mm: Added.
2676
2677         * platform/ScrollBarMode.h: Removed.
2678         * platform/ScrollTypes.h: Added.
2679
2680         * WebCore.exp:
2681         * WebCore.xcodeproj/project.pbxproj:
2682         * bridge/mac/FrameMac.h:
2683         * bridge/mac/FrameMac.mm:
2684         (WebCore::FrameMac::FrameMac):
2685         (WebCore::FrameMac::~FrameMac):
2686         (WebCore::FrameMac::bridgeForWidget):
2687         (WebCore::FrameMac::imageFromRect):
2688         * bridge/mac/FrameViewMac.mm:
2689         * bridge/mac/WebCoreFrameBridge.mm:
2690         (-[WebCoreFrameBridge scrollOverflowInDirection:granularity:]):
2691         (-[WebCoreFrameBridge nextKeyView]):
2692         (-[WebCoreFrameBridge previousKeyView]):
2693         (-[WebCoreFrameBridge nextKeyViewInsideWebFrameViews]):
2694         (-[WebCoreFrameBridge previousKeyViewInsideWebFrameViews]):
2695         (-[WebCoreFrameBridge _visiblePositionForPoint:]):
2696         (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
2697         (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
2698         (-[WebCoreFrameBridge concludeDragForDraggingInfo:]):
2699         (-[WebCoreFrameBridge dragSourceMovedTo:]):
2700         (-[WebCoreFrameBridge dragSourceEndedAt:operation:]):
2701         * dom/Document.cpp:
2702         (WebCore::Document::hoveredNodeDetached):
2703         * dom/Element.h:
2704         * dom/EventTargetNode.cpp:
2705         (WebCore::EventTargetNode::defaultEventHandler):
2706         * editing/SelectionController.cpp:
2707         (WebCore::SelectionController::SelectionController):
2708         * editing/SelectionController.h:
2709         (WebCore::SelectionController::setCaretBlinkingSuspended):
2710         (WebCore::SelectionController::isCaretBlinkingSuspended):
2711         * html/HTMLAnchorElement.cpp:
2712         (WebCore::HTMLAnchorElement::isKeyboardFocusable):
2713         * html/HTMLFrameElementBase.cpp:
2714         (WebCore::HTMLFrameElementBase::setFocus):
2715         * html/HTMLFrameElementBase.h:
2716         * html/HTMLGenericFormElement.cpp:
2717         (WebCore::HTMLGenericFormElement::isKeyboardFocusable):
2718         * html/HTMLInputElement.cpp:
2719         (WebCore::HTMLInputElement::defaultEventHandler):
2720         * html/HTMLSelectElement.cpp:
2721         (WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
2722         * loader/FrameLoader.cpp:
2723         (WebCore::FrameLoader::clear):
2724         (WebCore::FrameLoader::open):
2725
2726         * page/Frame.cpp:
2727         (WebCore::Frame::caretBlinkTimerFired):
2728         (WebCore::Frame::frameForWidget):
2729         (WebCore::Frame::eventHandler):
2730         (WebCore::Frame::setProhibitsScrolling):
2731         (WebCore::FramePrivate::FramePrivate):
2732         * page/Frame.h:
2733         * page/FramePrivate.h:
2734         * page/FrameView.cpp:
2735         (WebCore::FrameViewPrivate::FrameViewPrivate):
2736         (WebCore::FrameViewPrivate::reset):
2737         (WebCore::FrameView::FrameView):
2738         (WebCore::FrameView::~FrameView):
2739         (WebCore::FrameView::clear):
2740         (WebCore::FrameView::adjustViewSize):
2741         (WebCore::FrameView::addRepaintInfo):
2742         (WebCore::FrameView::layout):
2743         (WebCore::FrameView::scrollPointRecursively):
2744         (WebCore::FrameView::setContentsPos):
2745         (WebCore::FrameView::scheduleRelayoutOfSubtree):
2746         (WebCore::FrameView::scheduleEvent):
2747         (WebCore::FrameView::updateOverflowStatus):
2748         (WebCore::FrameView::dispatchScheduledEvents):
2749         (WebCore::FrameView::windowClipRectForLayer):
2750         (WebCore::FrameView::handleMouseMoveEvent):
2751         (WebCore::FrameView::handleMouseReleaseEvent):
2752         * page/FrameView.h:
2753         * page/PageState.cpp:
2754         (WebCore::PageState::PageState):
2755         (WebCore::PageState::restore):
2756         * page/PageState.h:
2757         * platform/ScrollBar.h:
2758         * platform/ScrollView.h:
2759         * platform/mac/ClipboardMac.mm:
2760         * platform/mac/PopupMenuMac.mm:
2761         (WebCore::PopupMenu::show):
2762         * platform/mac/SliderMac.mm:
2763         (-[WebCoreSlider becomeFirstResponder]):
2764         (-[WebCoreSlider nextKeyView]):
2765         (-[WebCoreSlider previousKeyView]):
2766         (-[WebCoreSlider canBecomeKeyView]):
2767         (Slider::focusPolicy):
2768         * platform/mac/WebCoreTextField.mm:
2769         (-[WebCoreTextFieldController textView:shouldHandleEvent:]):
2770         (-[WebCoreTextFieldController setHasFocus:]):
2771         (-[WebCoreSearchField nextKeyView]):
2772         (-[WebCoreSearchField previousKeyView]):
2773         (-[WebCoreSearchFieldCell _addStringToRecentSearches:]):
2774         * platform/mac/WidgetMac.mm:
2775         (WebCore::Widget::hasFocus):
2776         (WebCore::Widget::clearFocus):
2777         * rendering/RenderFrameSet.cpp:
2778         (WebCore::RenderFrameSet::setResizing):
2779         * rendering/RenderLayer.cpp:
2780         (WebCore::RenderLayer::autoscroll):
2781         (WebCore::RenderLayer::resize):
2782         (WebCore::RenderLayer::updateOverflowStatus):
2783         * rendering/RenderLayer.h:
2784         * rendering/RenderListBox.cpp:
2785         (WebCore::RenderListBox::autoscroll):
2786         * rendering/RenderObject.cpp:
2787         (WebCore::RenderObject::draggableNode):
2788         (WebCore::RenderObject::destroy):
2789         * rendering/RenderObject.h:
2790         (WebCore::RenderObject::RepaintInfo::RepaintInfo):
2791         * rendering/RenderPartObject.cpp:
2792         (WebCore::RenderPartObject::viewCleared):
2793
2794 2006-11-14  Anders Carlsson  <acarlsson@apple.com>
2795
2796         Reviewed by Darin.
2797
2798         Let the editor client handle undo/redo.
2799         
2800         * WebCore.exp:
2801         * WebCore.xcodeproj/project.pbxproj:
2802         * bridge/EditorClient.h:
2803         * bridge/mac/FrameMac.h:
2804         * bridge/mac/FrameMac.mm:
2805         (WebCore::FrameMac::canUndo):
2806         (WebCore::FrameMac::canRedo):
2807         * bridge/mac/WebCoreEditCommand.h: Removed.
2808         * bridge/mac/WebCoreEditCommand.mm: Removed.
2809         * bridge/mac/WebCoreFrameBridge.h:
2810         * bridge/mac/WebCoreFrameBridge.mm:
2811         * editing/Editor.cpp:
2812         (WebCore::Editor::appliedEditing):
2813         (WebCore::Editor::unappliedEditing):
2814         (WebCore::Editor::reappliedEditing):
2815         * editing/JSEditor.cpp:
2816         * loader/FrameLoader.cpp:
2817         (WebCore::FrameLoader::closeURL):
2818         * page/Frame.cpp:
2819         * page/Frame.h:
2820         * rendering/RenderTextControl.cpp:
2821         (WebCore::RenderTextControl::updateFromElement):
2822
2823 2006-11-14  Nikolas Zimmermann  <zimmermann@kde.org>
2824
2825         Reviewed and landed by Brady
2826
2827         Fix Qt/Linux build.
2828
2829         * ChangeLog:
2830         * loader/qt/FrameLoaderQt.cpp:
2831         (WebCore::FrameLoader::submitForm):
2832         * platform/network/qt/ResourceHandleManager.cpp:
2833         (WebCore::ResourceHandleManager::add):
2834         * platform/qt/FrameQtClient.cpp:
2835         (WebCore::FrameQtClientDefault::submitForm):
2836         * platform/qt/FrameQtClient.h:
2837
2838 2006-11-14  Brady Eidson  <beidson@apple.com>
2839
2840         Reviewed by Anders
2841
2842         Cleanup of my patch last night and merging with aroben-style changes from this morning
2843         (More ref-counted FormData stuff)
2844
2845         * html/HTMLFormElement.cpp:
2846         (WebCore::HTMLFormElement::submit):
2847         * loader/FrameLoader.cpp:
2848         (WebCore::FrameLoader::submitForm):
2849         * platform/network/ResourceHandle.cpp:
2850         (WebCore::ResourceHandle::postData):
2851         * platform/network/ResourceHandle.h:
2852         * platform/network/cf/FormDataStreamCFNet.cpp:
2853         (WebCore::setHTTPBody):
2854         * platform/network/mac/FormDataStreamMac.h:
2855         * platform/network/mac/FormDataStreamMac.mm:
2856         (WebCore::getStreamFormDatas):
2857         (WebCore::formCreate):
2858         (WebCore::formFinalize):
2859         (WebCore::setHTTPBody):
2860         (WebCore::httpBodyFromStream):
2861         * platform/network/mac/ResourceRequestMac.mm:
2862         (WebCore::getResourceRequest):
2863
2864 2006-11-14  Rob Buis  <buis@kde.org>
2865
2866         Reviewed by Darin.
2867
2868         http://bugs.webkit.org/show_bug.cgi?id=11575
2869         Bug 11575: REGRESSION: WebCore crash in CSSParser/HTMLTokenizer
2870
2871         Test: fast/css/css-imports.html
2872
2873         * css/CSSImportRule.cpp:
2874         (WebCore::CSSImportRule::insertedIntoParent):
2875         Fix the crash by testing for null pointer.
2876
2877 2006-11-14  Alexey Proskuryakov  <ap@webkit.org>
2878
2879         Reviewed by Tim H.
2880
2881         Test for http://bugs.webkit.org/show_bug.cgi?id=3387
2882         Redundant keydown, keypress, keyup events sent for arrow keys
2883
2884         * manual-tests/arrow-key-events.html: Added.
2885
2886 2006-11-14  Darin Adler  <darin@apple.com>
2887
2888         Reviewed by Adam.
2889
2890         Fix up usages of FormData within CFNet loader code.
2891
2892         * platform/network/ResourceRequest.h:
2893         (WebCore::ResourceRequest::httpBody):
2894         * platform/network/cf/FormDataStreamCFNet.cpp:
2895         (WebCore::getStreamFormDatas): Store RefPtr<FormData>s in the
2896         streamFormDatas HashMap.
2897         (WebCore::formCreate):
2898         (WebCore::formFinalize): Removed delete because the remove() will deref
2899         and delete if necessary.
2900         (WebCore::setHTTPBody): Changed parameter to PassRefPtr.
2901         (WebCore::httpBodyFromStream):
2902         * platform/network/cf/FormDataStreamCFNet.h: Fix declarations.
2903         * platform/network/cf/ResourceRequestCFNet.cpp:
2904         (WebCore::getResourceRequest):
2905
2906 2006-11-14  Greg Jackson  <gjspanner@gmail.com>
2907
2908         Reviewed by Darin.
2909
2910         Preserves any pre-existing value for WEBCORE_NAVIGATOR_PLATFORM
2911         rather than overriding it based on platform detection.
2912
2913         * bindings/js/kjs_navigator.cpp:
2914
2915 2006-11-13  Brady Eidson  <beidson@apple.com>
2916
2917         Reviewed by Maciej
2918
2919         Made FormData Shared, and pass it around as such.
2920
2921         * WebCore.xcodeproj/project.pbxproj: Reordered some items
2922         * html/HTMLFormElement.cpp:
2923         (WebCore::HTMLFormElement::formData):
2924         (WebCore::HTMLFormElement::submit):
2925         * html/HTMLFormElement.h:
2926         * loader/FrameLoader.cpp:
2927         (WebCore::FormSubmission::FormSubmission):
2928         (WebCore::FrameLoader::submitForm):
2929         * loader/FrameLoader.h:
2930         * loader/mac/FrameLoaderMac.mm:
2931         (WebCore::FrameLoader::post):
2932         (WebCore::FrameLoader::loadResourceSynchronously):
2933         * loader/mac/SubresourceLoaderMac.mm:
2934         (WebCore::SubresourceLoader::create):
2935         * platform/network/FormData.h: Made FormData shared
2936         * platform/network/ResourceHandle.h:
2937         * platform/network/ResourceHandle.cpp:
2938         (WebCore::ResourceHandle::postData): 
2939         * platform/network/ResourceRequest.h:
2940         (WebCore::ResourceRequest::httpBody):
2941         (WebCore::ResourceRequest::setHTTPBody): 
2942         * platform/network/mac/ResourceRequestMac.mm:
2943         (WebCore::getResourceRequest):
2944         (WebCore::nsURLRequest): 
2945
2946         * platform/network/mac/FormDataStreamMac.h:
2947         * platform/network/mac/FormDataStreamMac.mm:
2948         (WebCore::getStreamFormDatas): Hash Streams to RefPtr<FormData>s
2949         (WebCore::formCreate):
2950         (WebCore::formFinalize):
2951         (WebCore::setHTTPBody):
2952         (WebCore::httpBodyFromStream):
2953
2954         * xml/xmlhttprequest.cpp:
2955         (WebCore::XMLHttpRequest::send):
2956
2957 2006-11-13  Justin Garcia  <justin.garcia@apple.com>
2958
2959         Reviewed by harrison
2960         
2961         <rdar://problem/4828264>
2962         In Mail, a crash occurs at WebCore::Selection::toRange() when selecting this web content (http://www.cnet.com/)
2963         
2964         The start of the selection is in an editable area, and the end is in an 
2965         input field inside that editable area.  The code that should pull the end
2966         of such a selection outside the input field didn't escape shadow nodes,
2967         it would leave a dangling end, causing the crash in toRange.
2968         
2969         * editing/Selection.cpp:
2970         (WebCore::Selection::adjustForEditableContent):  Added an ASSERT and a fixup
2971         to prevent crashes like this in future Release builds.
2972         * editing/htmlediting.cpp:
2973         (WebCore::firstEditablePositionAfterPositionInRoot): Let this function 
2974         escape shadow nodes.  We might eventually push this code down into 
2975         next/previous{VisuallyDistinct}Canditate.
2976         (WebCore::lastEditablePositionBeforePositionInRoot): Ditto.
2977
2978 2006-11-13  Justin Garcia  <justin.garcia@apple.com>
2979
2980         Reviewed by darin
2981         
2982         * editing/DeleteSelectionCommand.cpp:
2983         (WebCore::DeleteSelectionCommand::saveFullySelectedAnchor):
2984         * editing/Editor.cpp:
2985         (WebCore::Editor::appliedEditing):
2986         * editing/Editor.h:
2987         (WebCore::Editor::setRemovedAnchor): Pass a PassRefPtr.
2988
2989 2006-11-10  Justin Garcia  <justin.garcia@apple.com>
2990
2991         Reviewed by Oliver
2992         
2993         <rdar://problem/4820026>
2994         copy/paste of news.google.com yields text from hidden select element options
2995
2996         We were adding descendants of unrendered select elements. 
2997
2998         * editing/markup.cpp:
2999         (WebCore::createMarkup): Don't traverse into nodes without renderers, unless 
3000         they are grandfathered in by a rendered select element.
3001         
3002 2006-11-12  Simon Hausmann  <hausmann@kde.org>
3003
3004         Reviewed by Sam Weinig.
3005
3006         Fix Qt build. Missing AbstractShared implementation.
3007         http://bugs.webkit.org/show_bug.cgi?id=11581
3008
3009         * loader/qt/FrameLoaderClientQt.cpp:
3010         (WebCore::FrameLoaderClientQt::ref):
3011         (WebCore::FrameLoaderClientQt::deref):
3012         * loader/qt/FrameLoaderClientQt.h:
3013         * platform/qt/ChromeClientQt.cpp:
3014         (WebCore::ChromeClientQt::ref):
3015         (WebCore::ChromeClientQt::deref):
3016         * platform/qt/ChromeClientQt.h:
3017         * platform/qt/EditorClientQt.cpp:
3018         (WebCore::EditorClientQt::ref):
3019         (WebCore::EditorClientQt::deref):
3020         * platform/qt/EditorClientQt.h:
3021
3022 2006-11-13  Mark Rowe  <bdash@webkit.org>
3023
3024         Reviewed by Mitz.
3025
3026         Fix some Linux/Gdk build issues noted by Alp Toker.
3027
3028         * Projects/gdk/webcore-gdk.bkl:
3029         * WebCoreSources.bkl:
3030         * platform/graphics/gdk/ImageGdk.cpp:
3031         (WebCore::Image::loadPlatformResource):
3032
3033 2006-11-12  Brady Eidson <beidson@apple.com>
3034
3035         Reviewed by Anders
3036
3037         Logging channel plumbing for future work
3038
3039         * platform/Logging.cpp:
3040         (WebCore::):
3041         * platform/Logging.h:
3042         * platform/mac/LoggingMac.mm:
3043         (WebCore::InitializeLoggingChannelsIfNecessary):
3044
3045 2006-11-12  Mark Rowe  <bdash@webkit.org>
3046
3047         Reviewed by Mitz.
3048
3049         Linux/Gdk compilation fixes, and bakefile cleanups.  Based on patches by
3050         Alp Toker.
3051
3052         * Projects/gdk/webcore-gdk.bkl:
3053         * WebCoreSources.bkl:
3054         * page/PageState.cpp:
3055         * platform/gdk/ChromeClientGdk.h:
3056         (WebCore::ChromeClientGdk::ref):
3057         (WebCore::ChromeClientGdk::deref):
3058         * platform/gdk/FrameGdk.cpp:
3059         (WebCore::FrameGdkClientDefault::openURL):
3060         (WebCore::FrameGdkClientDefault::didReceiveData):
3061         (WebCore::FrameGdkClientDefault::receivedAllData):
3062         (WebCore::FrameGdk::FrameGdk):
3063         (WebCore::FrameGdk::~FrameGdk):
3064         * platform/gdk/FrameGdk.h:
3065         * platform/gdk/KeyEventGdk.cpp:
3066         (WebCore::keyIdentifierForGdkKeyCode):
3067         * platform/gdk/ScreenClientGdk.h: Removed.
3068         * platform/gdk/TemporaryLinkStubs.cpp:
3069         (FrameGdk::canPaste):
3070         (FrameGdk::originalRequestURL):
3071         (TextField::TextField):
3072         * platform/network/gdk/ResourceHandleManager.cpp:
3073         (WebCore::ResourceHandleManager::downloadTimerCallback):
3074         (WebCore::ResourceHandleManager::add):
3075         (WebCore::ResourceHandleManager::cancel):
3076         * webcore-base.bkl:
3077
3078 2006-11-11  Geoffrey Garen  <ggaren@apple.com>
3079
3080         Reviewed by Maciej Stachowiak.
3081         
3082         - Fixed loader crash by clarifying ownership of WebKit client objects. 
3083         WebCore objects own their WebKit clients, and ref and deref through 
3084         virtual methods, leaving WebKit free to use whatever client / reference-counting 
3085         implementation it likes.
3086         
3087         * WebCore.exp:
3088         * WebCore.xcodeproj/project.pbxproj:
3089         * bridge/EditorClient.h: Fixed up function prototypes for style.
3090         * loader/FrameLoader.cpp: Removed detachFrameLoader, since its real purpose
3091         was to implement an alternative ownership model.
3092         (WebCore::FrameLoader::~FrameLoader): Removed empty destructor.
3093         (WebCore::FrameLoader::setClient): This function now takes ownership
3094         (WebCore::FrameLoader::client):
3095         * loader/FrameLoader.h:
3096         * loader/FrameLoaderClient.h:
3097         * page/ChromeClient.h:
3098         * platform/AbstractShared.h: Added. This is the virtual function-based refcounting
3099         complement to Shared.
3100         (WebCore::AbstractShared::~AbstractShared):
3101
3102 2006-11-11  George Staikos  <staikos@kde.org>
3103
3104         Reviewed by Maciej.
3105
3106         Fix uninitialized variable.
3107
3108         * rendering/RenderStyle.h:
3109
3110 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
3111
3112         Reviewed/landed by Adam.
3113
3114         Complete cleanup of the CMakeLists.txt.
3115         Now all files to be built are sorted in alphabetic order.
3116
3117         General style cleanup, remove all tabs etc.
3118
3119         * CMakeLists.txt:
3120
3121 2006-11-11  Geoffrey Garen  <ggaren@apple.com>
3122
3123         Reviewed by Maciej Stachowiak.
3124         
3125         Added missing initializer to ResourceRequest -- fixes some loader crashes
3126         due to assuming a request always has a non-null httpMethod.
3127
3128         * platform/network/ResourceRequest.h:
3129         (WebCore::ResourceRequest::ResourceRequest):
3130
3131 2006-11-11  Brady Eidson <beidson@apple.com>
3132
3133         Reviewed by Maciej
3134
3135         Fixed header guard
3136
3137         * loader/FrameLoaderClient.h:
3138
3139 2006-11-11  Darin Adler  <darin@apple.com>
3140
3141         - attempt to fix Qt build
3142
3143         * platform/qt/CursorQt.cpp:
3144         (WebCore::verticalTextCursor): Added. Just returns pointer cursor.
3145         (WebCore::cellCursor): Ditto.
3146         (WebCore::contextMenuCursor): Ditto.
3147
3148 2006-11-11  Rob Buis  <buis@kde.org>
3149
3150         Reviewed by hyatt.
3151
3152         http://bugs.webkit.org/show_bug.cgi?id=10893
3153         InsertRule can not handle @import statements
3154
3155         Allow @import as part of a css rule.
3156
3157         * css/CSSGrammar.y:
3158         * css/CSSImportRule.cpp:
3159         (WebCore::CSSImportRule::insertedIntoParent):
3160         * css/CSSStyleSheet.cpp:
3161         (WebCore::CSSStyleSheet::CSSStyleSheet):
3162         (WebCore::CSSStyleSheet::checkLoaded):
3163         * css/CSSStyleSheet.h:
3164         (WebCore::CSSStyleSheet::loadCompleted):
3165
3166 2006-11-11  Alexey Proskuryakov  <ap@webkit.org>
3167
3168         Attempt to fix Qt build.
3169
3170         * CMakeLists.txt: PathQt.cpp is in graphics/qt now.
3171
3172 2006-11-11  Lars Naesbye Christensen  <larsnaesbye@stud.ku.dk>
3173
3174         Tortured by Sam Weinig, Tim H., Maciej, Mitz and Alexey :-)
3175
3176         [CSS 3] support for vertical-text, cell and context-menu cursors
3177         http://bugs.webkit.org/show_bug.cgi?id=11494
3178
3179         * Resources/cellCursor.png: Added.
3180         * Resources/contextMenuCursor.png: Added.
3181         * Resources/verticalTextCursor.png: Added.
3182         * WebCore.xcodeproj/project.pbxproj:
3183         * css/CSSComputedStyleDeclaration.cpp:
3184         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3185         * css/CSSValueKeywords.in:
3186         * manual-tests/cursor.html:
3187         * page/FrameView.cpp:
3188         (WebCore::selectCursor):
3189         * platform/Cursor.h:
3190         * platform/mac/CursorMac.mm:
3191         (WebCore::verticalTextCursor):
3192         (WebCore::cellCursor):
3193         (WebCore::contextMenuCursor):
3194         * rendering/RenderStyle.h:
3195         (WebCore::):
3196
3197 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
3198
3199         Reviewed by aroben and ap, landed by ap.
3200
3201         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11468
3202
3203         Group graphics related files in platform/graphics.
3204         Move certain files from certain subdirectories
3205         into platform/graphics/{win,mac,cg,gdk,qt}
3206
3207         * CMakeLists.txt:
3208         * WebCore.xcodeproj/project.pbxproj:
3209         * platform/AffineTransform.cpp: Removed.
3210         * platform/AffineTransform.h: Removed.
3211         * platform/Color.cpp: Removed.
3212         * platform/Color.h: Removed.
3213         * platform/FloatPoint.cpp: Removed.
3214         * platform/FloatPoint.h: Removed.
3215         * platform/FloatRect.cpp: Removed.
3216         * platform/FloatRect.h: Removed.
3217         * platform/FloatSize.cpp: Removed.
3218         * platform/FloatSize.h: Removed.
3219         * platform/Icon.h: Removed.
3220         * platform/Image.cpp: Removed.
3221         * platform/Image.h: Removed.
3222         * platform/ImageSource.h: Removed.
3223         * platform/IntPoint.h: Removed.
3224         * platform/IntRect.cpp: Removed.
3225         * platform/IntRect.h: Removed.
3226         * platform/IntSize.h: Removed.
3227         * platform/IntSizeHash.h: Removed.
3228         * platform/Path.cpp: Removed.
3229         * platform/Path.h: Removed.
3230         * platform/Pen.cpp: Removed.
3231         * platform/Pen.h: Removed.
3232         * platform/cairo/AffineTransformCairo.cpp: Removed.
3233         * platform/cairo/GraphicsContextCairo.cpp: Removed.
3234         * platform/cairo/ImageCairo.cpp: Removed.
3235         * platform/cairo/ImageSourceCairo.cpp: Removed.
3236         * platform/cairo/cairo/AUTHORS: Removed.
3237         * platform/cairo/cairo/COPYING: Removed.
3238         * platform/cairo/cairo/COPYING-LGPL-2.1: Removed.
3239         * platform/cairo/cairo/COPYING-MPL-1.1: Removed.
3240         * platform/cairo/cairo/INSTALL: Removed.
3241         * platform/cairo/cairo/NEWS: Removed.
3242         * platform/cairo/cairo/README: Removed.
3243         * platform/cairo/cairo/TODO: Removed.
3244         * platform/cairo/cairo/src/Makefile.in: Removed.
3245         * platform/cairo/cairo/src/cairo-arc-private.h: Removed.
3246         * platform/cairo/cairo/src/cairo-arc.c: Removed.
3247         * platform/cairo/cairo/src/cairo-array.c: Removed.
3248         * platform/cairo/cairo/src/cairo-atsui-font.c: Removed.
3249         * platform/cairo/cairo/src/cairo-atsui.h: Removed.
3250         * platform/cairo/cairo/src/cairo-beos-surface.cpp: Removed.
3251         * platform/cairo/cairo/src/cairo-beos.h: Removed.
3252         * platform/cairo/cairo/src/cairo-cache-private.h: Removed.
3253         * platform/cairo/cairo/src/cairo-cache.c: Removed.
3254         * platform/cairo/cairo/src/cairo-clip-private.h: Removed.
3255         * platform/cairo/cairo/src/cairo-clip.c: Removed.
3256         * platform/cairo/cairo/src/cairo-color.c: Removed.
3257         * platform/cairo/cairo/src/cairo-debug.c: Removed.
3258         * platform/cairo/cairo/src/cairo-debug.h: Removed.
3259         * platform/cairo/cairo/src/cairo-directfb-surface.c: Removed.
3260         * platform/cairo/cairo/src/cairo-directfb.h: Removed.
3261         * platform/cairo/cairo/src/cairo-features.h: Removed.
3262         * platform/cairo/cairo/src/cairo-features.h.in: Removed.
3263         * platform/cairo/cairo/src/cairo-fixed.c: Removed.
3264         * platform/cairo/cairo/src/cairo-font-options.c: Removed.
3265         * platform/cairo/cairo/src/cairo-font-subset-private.h: Removed.
3266         * platform/cairo/cairo/src/cairo-font-subset.c: Removed.
3267         * platform/cairo/cairo/src/cairo-font.c: Removed.
3268         * platform/cairo/cairo/src/cairo-ft-font.c: Removed.
3269         * platform/cairo/cairo/src/cairo-ft-private.h: Removed.
3270         * platform/cairo/cairo/src/cairo-ft.h: Removed.
3271         * platform/cairo/cairo/src/cairo-glitz-surface.c: Removed.
3272         * platform/cairo/cairo/src/cairo-glitz.h: Removed.
3273         * platform/cairo/cairo/src/cairo-gstate-private.h: Removed.
3274         * platform/cairo/cairo/src/cairo-gstate.c: Removed.
3275         * platform/cairo/cairo/src/cairo-hash-private.h: Removed.
3276         * platform/cairo/cairo/src/cairo-hash.c: Removed.
3277         * platform/cairo/cairo/src/cairo-hull.c: Removed.
3278         * platform/cairo/cairo/src/cairo-image-surface.c: Removed.
3279         * platform/cairo/cairo/src/cairo-matrix.c: Removed.
3280         * platform/cairo/cairo/src/cairo-meta-surface-private.h: Removed.
3281         * platform/cairo/cairo/src/cairo-meta-surface.c: Removed.
3282         * platform/cairo/cairo/src/cairo-output-stream.c: Removed.
3283         * platform/cairo/cairo/src/cairo-paginated-surface-private.h: Removed.
3284         * platform/cairo/cairo/src/cairo-paginated-surface.c: Removed.
3285         * platform/cairo/cairo/src/cairo-path-bounds.c: Removed.
3286         * platform/cairo/cairo/src/cairo-path-data-private.h: Removed.
3287         * platform/cairo/cairo/src/cairo-path-data.c: Removed.
3288         * platform/cairo/cairo/src/cairo-path-fill.c: Removed.
3289         * platform/cairo/cairo/src/cairo-path-fixed-private.h: Removed.
3290         * platform/cairo/cairo/src/cairo-path-stroke.c: Removed.
3291         * platform/cairo/cairo/src/cairo-path.c: Removed.
3292         * platform/cairo/cairo/src/cairo-pattern.c: Removed.
3293         * platform/cairo/cairo/src/cairo-pdf-surface.c: Removed.
3294         * platform/cairo/cairo/src/cairo-pdf.h: Removed.
3295         * platform/cairo/cairo/src/cairo-pen.c: Removed.
3296         * platform/cairo/cairo/src/cairo-platform.h: Removed.
3297         * platform/cairo/cairo/src/cairo-png.c: Removed.
3298         * platform/cairo/cairo/src/cairo-polygon.c: Removed.
3299         * platform/cairo/cairo/src/cairo-private.h: Removed.
3300         * platform/cairo/cairo/src/cairo-ps-surface.c: Removed.
3301         * platform/cairo/cairo/src/cairo-ps.h: Removed.
3302         * platform/cairo/cairo/src/cairo-quartz-private.h: Removed.
3303         * platform/cairo/cairo/src/cairo-quartz-surface.c: Removed.
3304         * platform/cairo/cairo/src/cairo-quartz.h: Removed.
3305         * platform/cairo/cairo/src/cairo-quartz2-surface.c: Removed.
3306         * platform/cairo/cairo/src/cairo-quartz2.h: Removed.
3307         * platform/cairo/cairo/src/cairo-region.c: Removed.
3308         * platform/cairo/cairo/src/cairo-scaled-font.c: Removed.
3309         * platform/cairo/cairo/src/cairo-slope.c: Removed.
3310         * platform/cairo/cairo/src/cairo-spline.c: Removed.
3311         * platform/cairo/cairo/src/cairo-stroke-style.c: Removed.
3312         * platform/cairo/cairo/src/cairo-surface-fallback-private.h: Removed.
3313         * platform/cairo/cairo/src/cairo-surface-fallback.c: Removed.
3314         * platform/cairo/cairo/src/cairo-surface.c: Removed.
3315         * platform/cairo/cairo/src/cairo-svg-surface.c: Removed.
3316         * platform/cairo/cairo/src/cairo-svg.h: Removed.
3317         * platform/cairo/cairo/src/cairo-traps.c: Removed.
3318         * platform/cairo/cairo/src/cairo-unicode.c: Removed.
3319         * platform/cairo/cairo/src/cairo-wideint.c: Removed.
3320         * platform/cairo/cairo/src/cairo-wideint.h: Removed.
3321         * platform/cairo/cairo/src/cairo-win32-font.c: Removed.
3322         * platform/cairo/cairo/src/cairo-win32-private.h: Removed.
3323         * platform/cairo/cairo/src/cairo-win32-surface.c: Removed.
3324         * platform/cairo/cairo/src/cairo-win32.h: Removed.
3325         * platform/cairo/cairo/src/cairo-xcb-surface.c: Removed.
3326         * platform/cairo/cairo/src/cairo-xcb-xrender.h: Removed.
3327         * platform/cairo/cairo/src/cairo-xcb.h: Removed.
3328         * platform/cairo/cairo/src/cairo-xlib-private.h: Removed.
3329         * platform/cairo/cairo/src/cairo-xlib-screen.c: Removed.
3330         * platform/cairo/cairo/src/cairo-xlib-surface.c: Removed.
3331         * platform/cairo/cairo/src/cairo-xlib-test.h: Removed.
3332         * platform/cairo/cairo/src/cairo-xlib-xrender.h: Removed.
3333         * platform/cairo/cairo/src/cairo-xlib.h: Removed.
3334         * platform/cairo/cairo/src/cairo.c: Removed.
3335         * platform/cairo/cairo/src/cairo.h: Removed.
3336         * platform/cairo/cairo/src/cairoint.h: Removed.
3337         * platform/cairo/cairo/src/test-fallback-surface.c: Removed.
3338         * platform/cairo/cairo/src/test-fallback-surface.h: Removed.
3339         * platform/cairo/cairo/src/test-meta-surface.c: Removed.
3340         * platform/cairo/cairo/src/test-meta-surface.h: Removed.
3341         * platform/cairo/cairo/src/test-paginated-surface.c: Removed.
3342         * platform/cairo/cairo/src/test-paginated-surface.h: Removed.
3343         * platform/cairo/pixman/AUTHORS: Removed.
3344         * platform/cairo/pixman/COPYING: Removed.
3345         * platform/cairo/pixman/README: Removed.
3346         * platform/cairo/pixman/src/Makefile.in: Removed.
3347         * platform/cairo/pixman/src/fbcompose.c: Removed.
3348         * platform/cairo/pixman/src/fbedge.c: Removed.
3349         * platform/cairo/pixman/src/fbedgeimp.h: Removed.
3350         * platform/cairo/pixman/src/fbmmx.c: Removed.
3351         * platform/cairo/pixman/src/fbmmx.h: Removed.
3352         * platform/cairo/pixman/src/fbpict.c: Removed.
3353         * platform/cairo/pixman/src/fbpict.h: Removed.
3354         * platform/cairo/pixman/src/fbtrap.c: Removed.
3355         * platform/cairo/pixman/src/icblt.c: Removed.
3356         * platform/cairo/pixman/src/icbltone.c: Removed.
3357         * platform/cairo/pixman/src/iccolor.c: Removed.
3358         * platform/cairo/pixman/src/icformat.c: Removed.
3359         * platform/cairo/pixman/src/icimage.c: Removed.
3360         * platform/cairo/pixman/src/icimage.h: Removed.
3361         * platform/cairo/pixman/src/icint.h: Removed.
3362         * platform/cairo/pixman/src/icpixels.c: Removed.
3363         * platform/cairo/pixman/src/icrect.c: Removed.
3364         * platform/cairo/pixman/src/icrop.h: Removed.
3365         * platform/cairo/pixman/src/icstipple.c: Removed.
3366         * platform/cairo/pixman/src/ictransform.c: Removed.
3367         * platform/cairo/pixman/src/ictrap.c: Removed.
3368         * platform/cairo/pixman/src/ictri.c: Removed.
3369         * platform/cairo/pixman/src/icutil.c: Removed.
3370         * platform/cairo/pixman/src/pixman-remap.h: Removed.
3371         * platform/cairo/pixman/src/pixman-xserver-compat.h: Removed.
3372         * platform/cairo/pixman/src/pixman.h: Removed.
3373         * platform/cairo/pixman/src/pixregion.c: Removed.
3374         * platform/cairo/pixman/src/pixregionint.h: Removed.
3375         * platform/cairo/pixman/src/renderedge.c: Removed.
3376         * platform/cairo/pixman/src/renderedge.h: Removed.
3377         * platform/cairo/pixman/src/slim_internal.h: Removed.
3378         * platform/cairo/rgb24-hacks.txt: Removed.
3379         * platform/cairo/scale-removal.txt: Removed.
3380         * platform/cg/AffineTransformCG.cpp: Removed.
3381         * platform/cg/FloatPointCG.cpp: Removed.
3382         * platform/cg/FloatRectCG.cpp: Removed.
3383         * platform/cg/FloatSizeCG.cpp: Removed.
3384         * platform/cg/GraphicsContextCG.cpp: Removed.
3385         * platform/cg/GraphicsContextPlatformPrivate.h: Removed.
3386         * platform/cg/ImageCG.cpp: Removed.
3387         * platform/cg/ImageSourceCG.cpp: Removed.
3388         * platform/cg/IntPointCG.cpp: Removed.
3389         * platform/cg/IntRectCG.cpp: Removed.
3390         * platform/cg/IntSizeCG.cpp: Removed.
3391         * platform/cg/PDFDocumentImage.cpp: Removed.
3392         * platform/cg/PDFDocumentImage.h: Removed.
3393         * platform/cg/PathCG.cpp: Removed.
3394         * platform/gdk/ImageGdk.cpp: Removed.
3395         * platform/mac/ColorMac.mm: Removed.
3396         * platform/mac/FloatPointMac.mm: Removed.
3397         * platform/mac/FloatRectMac.mm: Removed.
3398         * platform/mac/FloatSizeMac.mm: Removed.
3399         * platform/mac/GraphicsContextMac.mm:
3400         * platform/mac/IconMac.mm: Removed.
3401         * platform/mac/ImageMac.mm: Removed.
3402         * platform/mac/IntPointMac.mm: Removed.
3403         * platform/mac/IntRectMac.mm: Removed.
3404         * platform/mac/IntSizeMac.mm: Removed.
3405         * platform/qt/AffineTransformQt.cpp: Removed.
3406         * platform/qt/ColorQt.cpp: Removed.
3407         * platform/qt/FloatPointQt.cpp: Removed.
3408         * platform/qt/FloatRectQt.cpp: Removed.
3409         * platform/qt/IconQt.cpp: Removed.
3410         * platform/qt/ImageQt.cpp: Removed.
3411         * platform/qt/ImageSourceQt.cpp: Removed.
3412         * platform/qt/IntPointQt.cpp: Removed.
3413         * platform/qt/IntRectQt.cpp: Removed.
3414         * platform/qt/IntSizeQt.cpp: Removed.
3415         * platform/qt/PathQt.cpp: Removed.
3416         * platform/win/ImageWin.cpp: Removed.
3417         * platform/win/IntPointWin.cpp: Removed.
3418         * platform/win/IntRectWin.cpp: Removed.
3419         * platform/win/IntSizeWin.cpp: Removed.
3420
3421 2006-11-11  Graham Dennis  <graham.dennis@gmail.com>
3422
3423         Reviewed by hyatt.
3424
3425         A layout test was added when this bug was fixed, so none needed now.
3426         
3427         Cleanup after:
3428         REGRESSION (r16122): min/max widths incorrectly calculated for contentEditable text
3429         http://bugs.webkit.org/show_bug.cgi?id=11570
3430         
3431         * rendering/RenderStyle.h:
3432         (WebCore::RenderStyle::isSpace): Removed.
3433         * rendering/RenderText.cpp:
3434         (WebCore::isSpace): Added.
3435         (WebCore::RenderText::calcMinMaxWidth): Use inline function instead of polluting RenderStyle.
3436
3437 2006-11-11  Graham Dennis  <graham.dennis@gmail.com>
3438
3439         Reviewed by mitz.
3440         
3441         REGRESSION (r16122): min/max widths incorrectly calculated for contentEditable text
3442         http://bugs.webkit.org/show_bug.cgi?id=11570
3443
3444         * rendering/RenderStyle.h:
3445         (WebCore::RenderStyle::isSpace): Added.
3446         * rendering/RenderText.cpp:
3447         (WebCore::RenderText::calcMinMaxWidth): For the purposes of calculating the line widths, 
3448         treat non-breaking spaces the same as normal spaces if -webkit-nbsp-mode is 'space'
3449
3450 2006-11-10  Zalan Bujtas <zalan.bujtas@nokia.com>
3451
3452         Reviewed by Maciej.
3453
3454         Added basic types for symbian platform.
3455         http://bugs.webkit.org/show_bug.cgi?id=11540
3456
3457         * config.h:
3458         * platform/AtomicString.h:
3459         (WebCore::AtomicString::AtomicString):
3460         (WebCore::AtomicString::operator TPtrC):
3461         * platform/DeprecatedString.cpp:
3462         (WebCore::initializeHandleNodeBlock):
3463         * platform/DeprecatedString.h: char _internalBuffer has to be in front of
3464           the bitfields as Codewarrior (3.2.5 build 461) compiler cannot cope with
3465           bitfields and breaks byte aligment
3466         * platform/FloatPoint.h:
3467         * platform/FloatRect.h:
3468         * platform/IntPoint.h:
3469         * platform/IntRect.h:
3470         * platform/IntSize.h:
3471         * platform/PlatformString.h:
3472         (WebCore::String::operator TPtrC):
3473         (WebCore::String::des):
3474         * platform/StringImpl.h:
3475         * platform/symbian/DeprecatedStringSymbian.cpp: Added.
3476         (WebCore::DeprecatedString::setBufferFromDes):
3477         (WebCore::DeprecatedString::fromDes):
3478         (WebCore::DeprecatedString::des):
3479         (WebCore::DeprecatedString::des8):
3480         * platform/symbian/FloatPointSymbian.cpp: Added.
3481         (WebCore::FloatPoint::FloatPoint):
3482         (WebCore::FloatPoint::operator TPoint):
3483         * platform/symbian/FloatRectSymbian.cpp: Added.
3484         (WebCore::FloatRect::FloatRect):
3485         (WebCore::FloatRect::operator TRect):
3486         (WebCore::FloatRect::rect):
3487         * platform/symbian/IntPointSymbian.cpp: Added.
3488         (WebCore::IntPoint::IntPoint):
3489         (WebCore::IntPoint::operator TPoint):
3490         * platform/symbian/IntRectSymbian.cpp: Added.
3491         (WebCore::IntRect::IntRect):
3492         (WebCore::IntRect::operator TRect):
3493         (WebCore::IntRect::Rect):
3494         * platform/symbian/IntSizeSymbian.cpp: Added.
3495         (WebCore::IntSize::IntSize):
3496         (WebCore::IntSize::operator TSize):
3497         * platform/symbian/StringImplSymbian.cpp: Added.
3498         (WebCore::StringImpl::StringImpl):
3499         (WebCore::StringImpl::des):
3500         * platform/symbian/StringSymbian.cpp: Added.
3501         (WebCore::String::String):
3502
3503 2006-11-10  Zack Rusin  <zack@kde.org>
3504
3505         Reviewed by Anders.
3506
3507         Adjust to the changes Brady made in the Qt code.
3508
3509         * loader/qt/FrameLoaderClientQt.cpp:
3510         (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3511         * loader/qt/FrameLoaderClientQt.h:
3512
3513 2006-11-10  Justin Garcia  <justin.garcia@apple.com>
3514
3515         Reviewed by harrison
3516         
3517         <rdar://problem/4069359>
3518         Deleting hyperlink text, then typing uses link typing style but loses the link itself
3519         
3520         The removed anchor element needs to stick around temporarily, in the same way
3521         that the typing style hangs off the caret until the user moves it.  Also text
3522         insertion around anchors didn't match TextEdit.
3523
3524         * editing/DeleteSelectionCommand.cpp:
3525         (WebCore::DeleteSelectionCommand::saveFullySelectedAnchor): Added.
3526         (WebCore::DeleteSelectionCommand::doApply): Call saveFullySelectedAnchor.
3527         * editing/DeleteSelectionCommand.h:
3528         * editing/EditCommand.cpp:
3529         (WebCore::EditCommand::apply): Clear the removed anchor after any top level
3530         editing command that doesn't preserve the typing style (matches TextEdit).
3531         * editing/Editor.cpp:
3532         (WebCore::Editor::appliedEditing): Added a fixme: we shouldn't call 
3533         setSelection with a message telling it to clear the typing style 
3534         (and the saved anchor) here.  Save/restore the saved anchor because of this.
3535         * editing/Editor.h:
3536         (WebCore::Editor::removedAnchor): Getter.
3537         (WebCore::Editor::setRemovedAnchor): Setter.
3538         * editing/InsertTextCommand.cpp:
3539         (WebCore::InsertTextCommand::prepareForTextInsertion): Insert the saved anchor
3540         if one exists.
3541         * editing/SelectionController.cpp:
3542         (WebCore::SelectionController::setSelection): Clear the removed anchor whenever
3543         we make a selection change that clears the typing style.
3544         (WebCore::SelectionController::nodeWillBeRemoved): Removed an old outdated FIXME.
3545         * editing/htmlediting.cpp:
3546         (WebCore::positionAvoidingSpecialElementBoundary): Cleaned up and
3547         made some changes to match TextEdit's behavior.  First, insert content
3548         inside the anchor when the caret is after it, unless the caret is at the
3549         end of the document, or if the caret is before it and at the start of a 
3550         paragraph.
3551
3552 === Safari-521.30 ===
3553