Patch by David Kilzer, reviewed by Darin.
[WebKit-https.git] / WebCore / ChangeLog
1 2006-03-12  David Kilzer  <ddkilzer@kilzer.net>
2
3         Reviewed by Darin, landed by ap.
4
5         - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7724
6         Minor refactoring to HTMLParser::handleError() to remove duplicate code
7
8         Test: fast/invalid/missing-address-end-tag.html
9         Test: fast/invalid/missing-dl-end-tag.html
10         Test: fast/invalid/missing-dt-end-tag.html
11         Test: fast/invalid/missing-font-end-tag.html
12
13         * khtml/html/htmlparser.cpp:
14         (WebCore::HTMLParser::handleError): Refactored code.
15
16 2006-03-10  Darin Adler  <darin@apple.com>
17
18         - fix Windows build
19
20         * bridge/win/FrameWin.h: Removed declaration of generateFrameName.
21
22 2006-03-10  Darin Adler  <darin@apple.com>
23
24         Reviewed by Adele.
25
26         - removed some unused stuff from Frame and MacFrame
27
28         * page/Frame.h: Removed autoloadImages (the setter), enableMetaRefresh,
29         setCharset, backgroundURL, findTextBegin, findTextNext, preloadStyleSheet,
30         preloadScript, restored, onURL, selectionChanged, htmlError, openFile,
31         updateActions, openURLInFrame, overURL, checkLinkSecurity, and cacheId.
32         * page/FramePrivate.h: Removed m_restored, m_frameNameId, m_strSelectedURL,
33         m_strSelectedURLTarget, m_bDnd, m_bClearing, m_bSecurityInQuestion,
34         m_focusNodeRestored, m_focusNodeNumber, and m_newJSInterpreterExists.
35         * page/Frame.cpp:
36         (WebCore::Frame::didOpenURL): Removed use of m_restored, code to set
37         m_bClearing.
38         (WebCore::Frame::clear): Removed code to set m_bClearing and m_frameNameId.
39         (WebCore::Frame::khtmlMousePressEvent): Removed code to set m_strSelectedURL
40         and m_strSelectedURLTarget.
41
42         * bridge/mac/MacFrame.h: Removed scheduleHistoryNavigation and
43         requestedURLString.
44         * bridge/mac/MacFrame.mm:
45         (WebCore::MacFrame::openURLFromPageCache): Removed use of m_restored.
46         Removed unused requestedURLString.
47
48         * bridge/mac/WebCoreFrameBridge.h: Removed requestedURLString.
49
50 2006-03-10  Darin Adler  <darin@apple.com>
51
52         - fix Windows build
53
54         * page/FrameTree.cpp: Add include of <stdarg.h>.
55
56 2006-03-10  Darin Adler  <darin@apple.com>
57
58         Reviewed by Geoff.
59
60         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3308
61           Pop-up blocking blocks window.open for already open windows
62
63         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7422
64           Setting a frame name to the same value resets it to a generated one
65
66         - refactor frame-name-related functions into the FrameTree object
67
68         * WebCore.xcodeproj/project.pbxproj: Update for rename.
69         * bridge/mac/MacFrame.h: Remove generateFrameName.
70         * bridge/mac/MacFrame.mm: Ditto.
71         * bridge/mac/PageMac.h: Added a declaration for WebCorePageBridge.
72
73         * bridge/mac/WebCoreFrameBridge.h: Remove _frameNamespace, generateFrameName,
74         setFrameNamespace, frameNamespace.
75         * bridge/mac/WebCoreFrameBridge.mm:
76         (-[WebCoreFrameBridge childFrameNamed:]): Change to call the new child
77         function on the FrameTree.
78         (-[WebCoreFrameBridge findFrameNamed:]): Change to call the new find
79         function on the FrameTree.
80         (-[WebCoreFrameBridge RenderObject::nodeInfoAtPoint:]): Change since the
81         contentPart function has been renamed to contentFrame.
82
83         * bridge/mac/WebCoreFrameNamespaces.h: Removed everything except for the
84         one method still used on the WebKit side, framesInNamespace:.
85         * bridge/mac/WebCoreFrameNamespaces.m: Renamed.
86         * bridge/mac/WebCoreFrameNamespaces.mm: Added. Reimplemented the
87         framesInNamespace method to use the namespace in WebCore::Page.
88
89         * bridge/mac/WebCorePageBridge.h: Added setGroupName and groupName.
90         * bridge/mac/WebCorePageBridge.mm:
91         (-[WebCorePageBridge setGroupName:]): Added. Calls through to Page.
92         (-[WebCorePageBridge groupName]): Ditto.
93
94         * khtml/ecma/kjs_html.cpp:
95         (KJS::HTMLDocument::namedItemGetter): Changed to call contentFrame by its new name.
96         (KJS::HTMLElement::frameGetter): Ditto.
97         (KJS::HTMLElement::iFrameGetter): Ditto.
98
99         * khtml/ecma/kjs_window.cpp:
100         (KJS::Window::getValueProperty): Changed to call FrameTree::childCount
101         instead of Frame::frames.
102         (KJS::Window::childFrameGetter): Changed to call FrameTree::child
103         instead of Frame::childFrameNamed.
104         (KJS::Window::namedFrameGetter): Changed to call FrameTree::find
105         instead of Frame::findFrame.
106         (KJS::Window::indexGetter): Changed to call FrameTree::child
107         instead of Frame::frames.
108         (KJS::Window::getOwnPropertySlot): Changed to call FrameTree::child,
109         FrameTree::find, and FrameTree::childCount instead of Frame::childFrameNamed,
110         and Frame::findFrame, and Frame::frames.
111         (KJS::WindowFunc::callAsFunction): Call FrameTree::find to check if the window
112         is already open when considering whether to block a pop-up.
113         (KJS::FrameArray::getValueProperty): Changed to call FrameTree::childCount
114         instead of Frame::frames.
115         (KJS::FrameArray::indexGetter): Changed to call FrameTree::child
116         instead of Frame::frames.
117         (KJS::FrameArray::nameGetter): Changed to call FrameTree::child
118         instead of Frame::findFrame.
119         (KJS::FrameArray::getOwnPropertySlot): Changed to call FrameTree::child,
120         and FrameTree::childCount instead of Frame::findFrame and Frame::frames.
121
122         * khtml/html/html_baseimpl.h:
123         * khtml/html/html_baseimpl.cpp:
124         (WebCore::HTMLFrameElementImpl::isURLAllowed): Changed to call Page::frameCount
125         instead of Frame::topLevelFrameCount.
126         (WebCore::HTMLFrameElementImpl::openURL): Changed to call FrameTree::child
127         instead of Frame::findFrame.
128         (WebCore::HTMLFrameElementImpl::attach): Changed to call Page::incrementFrameCount
129         instead of Frame::incrementFrameCount. Changed to call FrameTree::uniqueChildName
130         instead of Frame::requestFrameName.
131         (WebCore::HTMLFrameElementImpl::close): Changed to call Page::decrementFrameCount
132         instead of Frame::decrementFrameCount. Changed to call FrameTree::child
133         instead of Frame::findFrame.
134         (WebCore::HTMLFrameElementImpl::contentFrame): Renamed from contentPart. Also
135         changed to call FrameTree::child instead of Frame::findFrame.
136         (WebCore::HTMLFrameElementImpl::contentDocument): Updated for name change of
137         contentFrame from contentPart.
138         (WebCore::HTMLIFrameElementImpl::attach): Changed to call Page::incrementFrameCount
139         instead of Frame::incrementFrameCount. Changed to call FrameTree::uniqueChildName
140         instead of Frame::requestFrameName.
141
142         * rendering/render_frames.cpp: (WebCore::isURLAllowed): Changed to call Page::frameCount
143         instead of Frame::topLevelFrameCount.
144
145         * page/Frame.h: Removed frameNames, frames, childFrameNamed, findFrame, currentFrame,
146         frameExists, incrementFrameCount, decrementFrameCount, topLevelFrameCount,
147         generateFrameName, and requestFrameName functions.
148         * page/Frame.cpp: (WebCore::Frame::requestFrame): Changed to use FrameTree::child
149         instead of Frame::childFrameNamed.
150
151         * page/FrameTree.h: Changed name to an atomic string. Changed childCount to unsigned.
152         Added isDescendantOf, traverseNext, child, find, uniqueChildName.
153         * page/FrameTree.cpp:
154         (WebCore::FrameTree::setName): Changed to call uniqueChildName to handle name
155         duplication logic.
156         (WebCore::FrameTree::uniqueChildName): Added. Checks for duplication and generates
157         an appropriate frame name if there is a duplicate.
158         (WebCore::FrameTree::child): Added.
159         (WebCore::FrameTree::find): Added.
160         (WebCore::FrameTree::isDescendantOf): Added.
161         (WebCore::FrameTree::traverseNext): Added.
162
163         * page/Page.h: Added setGroupName, groupName, frameNamespace, incrementFrameCount,
164         decrementFrameCount, and frameCount.
165         * page/Page.cpp:
166         (WebCore::Page::Page): Initialize m_frameCount to 0.
167         (WebCore::Page::~Page): Call setGroupName to remove the page from any group it's in.
168         (WebCore::Page::setGroupName): Added.
169         (WebCore::Page::frameNamespace): Added.
170
171         * platform/win/TemporaryLinkStubs.cpp: Removed FrameWin::generateFrameName.
172
173 2006-03-10  Justin Garcia  <justin.garcia@apple.com>
174         
175         Reviewed by darin, harrison
176         
177         ~3x speedup pasting plain text from the console
178
179         * dom/dom_position.cpp:
180         (WebCore::Position::next): 
181         (WebCore::Position::atEnd): 
182
183 2006-03-10  David Hyatt <hyatt@apple.com>
184
185         More refactoring.  Split the FontData into cross-platform and
186         platform-specific components.
187
188         Reviewed by eric
189
190         * WebCore.vcproj/WebCore/WebCore.vcproj:
191         * platform/FontData.h: Added.
192         (WebCore::FontData:::m_platformData):
193         (WebCore::FontData::platformData):
194         (WebCore::FontData::setMetrics):
195         (WebCore::FontData::ascent):
196         (WebCore::FontData::descent):
197         (WebCore::FontData::xHeight):
198         (WebCore::FontData::lineSpacing):
199         * platform/FontPlatformData.h: Added.
200         (WebCore::FontPlatformData::hfont):
201         (WebCore::FontPlatformData::scaledFont):
202         * platform/win/FontPlatformDataWin.cpp: Added.
203         (WebCore::FontPlatformData::FontPlatformData):
204         (WebCore::FontPlatformData::~FontPlatformData):
205         * platform/win/FontWin.cpp:
206         (WebCore::Font::floatWidth):
207         (WebCore::Font::drawText):
208
209 2006-03-10  Maciej Stachowiak  <mjs@apple.com>
210
211         Reviewed by Eric.
212
213         - fix win32 networking to properly use async load API
214
215         * platform/win/TransferJobWin.cpp:
216         (WebCore::TransferJobWndProc):
217         (WebCore::TransferJob::start):
218
219 2006-03-10  Eric Seidel  <eseidel@apple.com>
220
221         Fix build.
222
223         * platform/win/FontWin.cpp:
224         (WebCore::getFontData):
225         * platform/win/TemporaryLinkStubs.cpp:
226
227 2006-03-10  Adele Peterson  <adele@apple.com>
228
229         Reviewed by Tim Hatcher.
230
231         - fix for <rdar://problem/4469419> 
232         REGRESSION: RadioButtons are not checked in Safari when name attribute comes after checked attribute
233
234         Test: fast/forms/radio-attr-order.html
235
236         * khtml/html/HTMLInputElementImpl.cpp: (WebCore::HTMLInputElementImpl::parseMappedAttribute):
237         When the name attribute gets parsed for radio buttons, if its supposed to be checked by default, call setChecked.
238         Also, when the name changes on a checked button, we don't need to check that 
239         there's a form before removing it as the checked button for that group.  
240         That was an old check from when we required a form to keep track of checked buttons.
241
242 2006-03-10  Eric Seidel  <eseidel@apple.com>
243
244         Reviewed by darin.
245
246         Add real ScrollViewWin implementation (fixes redraw bugs, adds ScrollBar support.)
247
248         * platform/ScrollView.h:
249         * platform/Widget.h:
250         * platform/win/FontWin.cpp:
251         (WebCore::getCairoFont): Fix crasher.
252         * platform/win/ScrollViewWin.cpp:
253         (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
254         (WebCore::ScrollView::ScrollView):
255         (WebCore::ScrollView::~ScrollView):
256         (WebCore::ScrollView::updateContents):
257         (WebCore::ScrollView::visibleWidth):
258         (WebCore::ScrollView::visibleHeight):
259         (WebCore::ScrollView::setContentsPos):
260         (WebCore::ScrollView::resizeContents):
261         (WebCore::ScrollView::contentsX):
262         (WebCore::ScrollView::contentsY):
263         (WebCore::ScrollView::contentsWidth):
264         (WebCore::ScrollView::contentsHeight):
265         (WebCore::ScrollView::viewportToContents):
266         (WebCore::ScrollView::contentsToViewport):
267         (WebCore::ScrollView::scrollXOffset):
268         (WebCore::ScrollView::scrollYOffset):
269         (WebCore::ScrollView::scrollBy):
270         (WebCore::ScrollView::hScrollBarMode):
271         (WebCore::ScrollView::vScrollBarMode):
272         (WebCore::ScrollView::suppressScrollBars):
273         (WebCore::ScrollView::setHScrollBarMode):
274         (WebCore::ScrollView::setVScrollBarMode):
275         (WebCore::ScrollView::setScrollBarsMode):
276         (WebCore::ScrollView::setStaticBackground):
277         (WebCore::ScrollView::updateScrollInfo):
278         (WebCore::ScrollView::updateScrollBars):
279         * platform/win/TemporaryLinkStubs.cpp:
280         (BrowserExtensionWin::goBackOrForward):
281         (BrowserExtensionWin::setIconURL):
282         (ScrollView::scrollPointRecursively):
283         * platform/win/WidgetWin.cpp:
284         (WebCore::Widget::windowHandle): mark as const
285
286 2006-03-10  David Hyatt  <hyatt@apple.com>
287
288         Rename the m_renderer variable to m_dataSet now that the class name
289         has changed.
290
291         Reviewed by adele
292
293         * platform/Font.cpp:
294         (WebCore::m_wordSpacing):
295         (WebCore::Font::Font):
296         (WebCore::Font::operator=):
297         (WebCore::Font::update):
298         * platform/Font.h:
299         * platform/FontDataSet.h:
300         * platform/mac/FontMac.mm:
301         (WebCore::Font::getWebCoreFont):
302         (WebCore::Font::ascent):
303         (WebCore::Font::descent):
304         (WebCore::Font::lineSpacing):
305         (WebCore::Font::xHeight):
306         (WebCore::Font::isFixedPitch):
307         (WebCore::Font::selectionRectForText):
308         (WebCore::Font::drawText):
309         (WebCore::Font::drawHighlightForText):
310         (WebCore::Font::drawLineForText):
311         (WebCore::Font::drawLineForMisspelling):
312         (WebCore::Font::misspellingLineThickness):
313         (WebCore::Font::floatWidth):
314         (WebCore::Font::checkSelectionPoint):
315         * platform/win/FontWin.cpp:
316         (WebCore::FontData::FontData):
317         (WebCore::FontData::~FontData):
318         (WebCore::getFontData):
319         (WebCore::FontDataSet::primaryFont):
320         (WebCore::Font::floatWidth):
321         (WebCore::Font::ascent):
322         (WebCore::Font::descent):
323         (WebCore::Font::xHeight):
324         (WebCore::Font::lineSpacing):
325         (WebCore::Font::isFixedPitch):
326         (WebCore::Font::drawText):
327
328 2006-03-10  David Hyatt  <hyatt@apple.com>
329
330         Rename FontRenderer to FontDataSet.
331
332         Reviewed by adele
333
334         * WebCore.xcodeproj/project.pbxproj:
335         * platform/Font.cpp:
336         (WebCore::Font::update):
337         * platform/Font.h:
338         * platform/FontDataSet.h: Added.
339         * platform/FontRenderer.h: Removed.
340         * platform/mac/FontMac.mm:
341         (WebCore::FontDataSet::~FontDataSet):
342         (WebCore::FontDataSet::getWebCoreFont):
343         (WebCore::FontDataSet::getRenderer):
344         (WebCore::FontDataSet::determinePitch):
345         (WebCore::FontDataSet::invalidate):
346         * platform/win/FontWin.cpp:
347         (WebCore::getCairoFont):
348         (WebCore::FontDataSet::~FontDataSet):
349         (WebCore::FontDataSet::determinePitch):
350         (WebCore::FontDataSet::invalidate):
351         (WebCore::FontDataSet::primaryCairoFont):
352
353 2006-03-09  Justin Garcia  <justin.garcia@apple.com>
354
355         Reviewed by adele
356         
357         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7692>
358         Should use an iterator in CompositeEditCommand::doUnapply()
359         
360         ~30% speedup of a big undo
361
362         * editing/CompositeEditCommand.cpp:
363         (WebCore::CompositeEditCommand::doUnapply):
364         (WebCore::CompositeEditCommand::doReapply):
365
366 2006-03-09  Adele Peterson  <adele@apple.com>
367
368         Reviewed by Tim O.
369
370         Removed unnecessary alerts in TextIterator advance methods.  
371         We want to be able to use advance() even if the iterator is already at the end.
372
373         * editing/visible_text.cpp:
374         (khtml::TextIterator::advance): remove assert since TextIterator will just do nothing if its already at the end.
375         (khtml::CharacterIterator::advance): ditto.
376         * rendering/RenderTextField.cpp: (WebCore::RenderTextField::visiblePositionForIndex):
377         Since the asserts in the iterator are removed, we don't have to check for it.atEnd() before calling advance.
378
379 2006-03-09  David Hyatt <hyatt@apple.com>
380
381         Make text paint with the correct foreground color on Windows.
382         Make the face validation check case insensitive.
383         Force ClearType to be on for font rendering.
384
385         Reviewed by Tim Hatcher
386
387         * platform/win/FontWin.cpp:
388         (WebCore::getCairoFont):
389         (WebCore::Font::drawText):
390
391 2006-03-09  Adele Peterson  <adele@apple.com>
392
393         Reviewed by Hyatt.
394
395         - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7675
396         When new text fields change from visibility:hidden to visibility:visible, value doesn't display
397
398         Test: fast/forms/input-appearance-visibility.html
399
400         * rendering/RenderTextField.cpp: (WebCore::RenderTextField::setStyle):
401         Sets the style directly on the children of the inner div.
402
403 2006-03-09  David Hyatt <hyatt@apple.com>
404
405         Make basic text rendering work on Win32.
406
407         Reviewed by eric
408
409         * WebCore.vcproj/WebCore/WebCore.vcproj:
410         Add FontDescription.h to the Visual Studio project.
411
412         * bridge/win/FrameWin.cpp:
413         (WebCore::FrameWin::FrameWin):
414         Add some good default font settings to KHTMLSettings.
415
416         * platform/Font.cpp:
417         (WebCore::Font::update):
418         Renamed the FontRenderer method to invalidate, so that's what
419         update calls now.
420
421         * platform/FontRenderer.h:
422         * platform/mac/FontMac.mm:
423         (WebCore::FontRenderer::~FontRenderer):
424         (WebCore::FontRenderer::invalidate):
425         Rename the update method to invalidate.  Make sure the Mac
426         font renderer releases its resources when it gets destroyed.
427
428         * platform/win/FontWin.cpp:
429         (WebCore::CairoFont::CairoFont):
430         (WebCore::CairoFont::~CairoFont):
431         (WebCore::CairoFont::hfont):
432         (WebCore::CairoFont::scaledFont):
433         (WebCore::CairoFont::setMetrics):
434         (WebCore::CairoFont::ascent):
435         (WebCore::CairoFont::descent):
436         (WebCore::CairoFont::xHeight):
437         (WebCore::CairoFont::lineSpacing):
438         Implement a new class called CairoFont that encapsulates
439         the windows HFONT, the cairo font face, and the cairo scaled
440         font.
441
442         (WebCore::getCairoFont):
443         The method to look up a Cairo font.  This will eventually use
444         a hash, but for now it just always makes the fonts over and
445         over again.
446
447         (WebCore:::m_pitch):
448         (WebCore::FontRenderer::~FontRenderer):
449         (WebCore::FontRenderer::determinePitch):
450         (WebCore::FontRenderer::invalidate):
451         More of the FontRenderer plumbing.
452
453         (WebCore::FontRenderer::primaryCairoFont):
454         Returns the primary Cairo font for a family list.  This is basically
455         the first family that is present on the system.
456
457         (WebCore::Font::floatWidth):
458         The width method uses GetTextExtentPoint32W for now.  This
459         is totally wrong and will eventually be replaced by Cairo
460         code.
461
462         (WebCore::Font::ascent):
463         (WebCore::Font::descent):
464         (WebCore::Font::xHeight):
465         (WebCore::Font::lineSpacing):
466         (WebCore::Font::isFixedPitch):
467         Accessors for the metrics and pitch info.
468
469         (WebCore::Font::drawText):
470         Drawing of text.  Uses TextOut and is also basically throwaway
471         code.
472
473         * platform/win/TemporaryLinkStubs.cpp:
474         (Font::checkSelectionPoint):
475         Move the checkSelectionPoint method back to the link stubs.
476
477 2006-03-09  Justin Garcia  <justin.garcia@apple.com>
478
479         Reviewed by harrison
480     
481         Fixed formatting and changed functions to take in 
482         a const Selection& instead of a Selection.
483
484         * editing/ModifySelectionListLevelCommand.cpp:
485         (WebCore::ModifySelectionListLevelCommand::canIncreaseSelectionListLevel):
486         (WebCore::ModifySelectionListLevelCommand::canDecreaseSelectionListLevel):
487         (WebCore::ModifySelectionListLevelCommand::increaseSelectionListLevel):
488         (WebCore::ModifySelectionListLevelCommand::decreaseSelectionListLevel):
489         (WebCore::modifySelectionListLevel):
490         (WebCore::getStartEndListChildren):
491         (WebCore::canIncreaseListLevel):
492         (WebCore::canDecreaseListLevel):
493         (WebCore::ModifySelectionListLevelCommand::increaseListLevel):
494         (WebCore::ModifySelectionListLevelCommand::decreaseListLevel):
495         * editing/ModifySelectionListLevelCommand.h:
496
497 2006-03-09  Adele Peterson  <adele@apple.com>
498
499         Reviewed by Darin.
500
501         - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6814
502         Implement selection methods for RenderTextField
503
504         Test: fast/forms/input-appearance-selection.html
505
506         * rendering/RenderTextField.cpp:
507         (WebCore::RenderTextField::createDivStyle): removed extra space.
508         (WebCore::RenderTextField::select): Removed checks for document and m_div since there should always be a document and 
509          m_div will be initialized as the renderer gets attached.
510         (WebCore::RenderTextField::selectionStart): Calls indexForVisiblePosition.
511         (WebCore::RenderTextField::selectionEnd): ditto.
512         (WebCore::RenderTextField::setSelectionStart): calls setSelectionRange.
513         (WebCore::RenderTextField::setSelectionEnd): ditto.
514         (WebCore::RenderTextField::setSelectionRange): gets VisiblePositions for both indices, and sets the selection.
515         (WebCore::RenderTextField::visiblePositionForIndex): Added helper method.
516         (WebCore::RenderTextField::indexForVisiblePosition): Added helper method.
517         * rendering/RenderTextField.h: Added new helper methods for selection.
518
519 2006-03-09  David Carson  <dacarson@gmail.com>
520
521         Test: fast/canvas/fillrect_gradient.html
522
523         Reviewed by Darin.
524
525         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6103
526           Rectangles are not filled according to the Web Applications Working Draft
527
528         * khtml/ecma/kjs_html.cpp: (KJS::Context2DFunction::callAsFunction):
529         Modified fillrect function to check and use a gradient if set.
530         Builds a path to fill rects with a gradient.
531
532 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
533
534         No test because this fixes an existing pixel test (and does not affect
535         the render tree).
536
537         Reviewed by Maciej.
538
539         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7664
540           REGRESSION: tests that include numeric list markers fail in pixel mode
541
542         * platform/GraphicsContext.cpp:
543         (WebCore::GraphicsContext::drawText): Restored AlignRight behavior.
544
545 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
546
547         No test because we couldn't figure out how to write one.
548
549         Reviewed by Darin.
550
551         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7680
552           REGRESSION: Ellipsis painted over the chrome and in invalid contexts
553
554         * rendering/render_line.cpp:
555         (WebCore::EllipsisBox::paint): Replaced call to Font::drawText with
556         GraphicsContext::drawText, which checks the paintingDisabled flag.
557
558 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
559
560         Reviewed by Eric.
561
562         - make link clicks work by propagating them up to a client
563
564         * Viewer/ImageView.cpp:
565         * bridge/win/FrameWin.cpp:
566         * bridge/win/FrameWin.h:
567         * platform/win/TemporaryLinkStubs.cpp:
568         (FrameWin::incomingReferrer):
569
570 2006-03-09  Eric Seidel  <eseidel@apple.com>
571
572         Reviewed by mjs.
573
574         Add support for Timers under 10ms.
575         Fix random crashers due to multi-threaded loading.
576
577         * platform/TransferJob.h:
578         * platform/TransferJobInternal.h:
579         (WebCore::TransferJobInternal::TransferJobInternal):
580         * platform/Widget.h:
581         * platform/win/SharedTimerWin.cpp:
582         (WebCore::TimerWindowWndProc):
583         (WebCore::initializeOffScreenTimerWindow):
584         (WebCore::setSharedTimerFireTime):
585         * platform/win/TemporaryLinkStubs.cpp:
586         (WebCore::TransferJob::assembleResponseHeaders):
587         (WebCore::TransferJob::retrieveCharset):
588         * platform/win/TransferJobWin.cpp:
589         (WebCore::addToOutstandingJobs):
590         (WebCore::removeFromOutstandingJobs):
591         (WebCore::lookupTransferJob):
592         (WebCore::TransferJobWndProc):
593         (WebCore::initializeOffScreenTransferJobWindow):
594         (WebCore::TransferJob::~TransferJob):
595         (WebCore::transferJobStatusCallback):
596         (WebCore::TransferJob::start):
597         (WebCore::TransferJob::cancel):
598         * platform/win/WidgetWin.cpp:
599
600 2006-03-08  Justin Garcia  <justin.garcia@apple.com>
601
602         Reviewed by darin
603         
604         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7579>
605         TinyMCE: Implement execCommand(insertImage, ...)
606         
607         Implemented InsertImage and also changed paste to use a single 
608         rule for when to remove junk that remains after node removal. 
609
610         * editing/ReplaceSelectionCommand.cpp:
611         (WebCore::ReplaceSelectionCommand::removeNodeAndPruneAncestors):
612         (WebCore::ReplaceSelectionCommand::doApply):
613         (WebCore::ReplaceSelectionCommand::removeLinePlaceholderIfNeeded):
614         * editing/ReplaceSelectionCommand.h:
615         * editing/htmlediting.cpp:
616         * editing/jsediting.cpp:
617
618 2006-03-08  Eric Seidel  <eseidel@apple.com>
619
620         Reviewed by hyatt.
621
622         Fix build script to properly copy dll files.
623
624         * WebCore.vcproj/WebCore/build-generated-files.sh:
625
626 2006-03-08  Rob Buis  <buis@kde.org>
627
628         Reviewed by eseidel.
629
630         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6899 SVG <rect> does not respect display: none
631
632         For svg elements that can render, call StyledElementImpl::rendererIsNeeded
633         to decide whether the element should render. In particular this way
634         any setting of display="none" is handled.
635
636         * ksvg2/svg/SVGAElementImpl.h:
637         (WebCore::SVGAElementImpl::rendererIsNeeded):
638         * ksvg2/svg/SVGCircleElementImpl.h:
639         (WebCore::SVGCircleElementImpl::rendererIsNeeded):
640         * ksvg2/svg/SVGEllipseElementImpl.h:
641         (WebCore::SVGEllipseElementImpl::rendererIsNeeded):
642         * ksvg2/svg/SVGForeignObjectElementImpl.h:
643         (WebCore::SVGForeignObjectElementImpl::rendererIsNeeded):
644         * ksvg2/svg/SVGGElementImpl.h:
645         (WebCore::SVGGElementImpl::rendererIsNeeded):
646         * ksvg2/svg/SVGImageElementImpl.h:
647         (WebCore::SVGImageElementImpl::rendererIsNeeded):
648         * ksvg2/svg/SVGLineElementImpl.h:
649         (WebCore::SVGLineElementImpl::rendererIsNeeded):
650         * ksvg2/svg/SVGMarkerElementImpl.h:
651         (WebCore::SVGMarkerElementImpl::rendererIsNeeded):
652         * ksvg2/svg/SVGMaskElementImpl.h:
653         (WebCore::SVGMaskElementImpl::rendererIsNeeded):
654         * ksvg2/svg/SVGPathElementImpl.h:
655         (WebCore::SVGPathElementImpl::rendererIsNeeded):
656         * ksvg2/svg/SVGPatternElementImpl.h:
657         (WebCore::SVGPatternElementImpl::rendererIsNeeded):
658         * ksvg2/svg/SVGPolyElementImpl.h:
659         (WebCore::SVGPolyElementImpl::rendererIsNeeded):
660         * ksvg2/svg/SVGRectElementImpl.h:
661         (WebCore::SVGRectElementImpl::rendererIsNeeded):
662         * ksvg2/svg/SVGSVGElementImpl.h:
663         (WebCore::SVGSVGElementImpl::rendererIsNeeded):
664         * ksvg2/svg/SVGSwitchElementImpl.h:
665         (WebCore::SVGSwitchElementImpl::rendererIsNeeded):
666         * ksvg2/svg/SVGTSpanElementImpl.h:
667         (WebCore::SVGTSpanElementImpl::rendererIsNeeded):
668         * ksvg2/svg/SVGTextElementImpl.h:
669         (WebCore::SVGTextElementImpl::rendererIsNeeded):
670         * ksvg2/svg/SVGUseElementImpl.h:
671         (WebCore::SVGUseElementImpl::rendererIsNeeded):
672
673 2006-03-08  Eric Seidel  <eseidel@apple.com>
674
675         Reviewed by mjs.
676
677         Add stubs to allow JavaScript-enabled WebCore to not crash.
678         Add ScreenWin implementation.
679         Add alert() support.
680
681         * WebCore.vcproj/WebCore/WebCore.vcproj:
682         * bridge/win/FrameWin.cpp:
683         (WebCore::FrameWin::runJavaScriptAlert):
684         (WebCore::FrameWin::runJavaScriptConfirm):
685         * platform/win/ScreenWin.cpp: Added.
686         (WebCore::monitorInfoForWidget):
687         (WebCore::WebCore::screenRect):
688         (WebCore::WebCore::screenDepth):
689         (WebCore::WebCore::usableScreenRect):
690         * platform/win/TemporaryLinkStubs.cpp:
691         (FrameWin::canUndo):
692         (FrameWin::runJavaScriptPrompt):
693         (FrameWin::canPaste):
694         (WebCore::setCookies):
695         (WebCore::cookies):
696         (WebCore::cookiesEnabled):
697         (PlugInInfoStore::createPluginInfoForPluginAtIndex):
698         (PlugInInfoStore::pluginCount):
699         (WebCore::refreshPlugins):
700         (FrameWin::clearUndoRedoOperations):
701         (FrameWin::incomingReferrer):
702
703 2006-03-08  Darin Adler  <darin@apple.com>
704
705         Reviewed by Maciej.
706
707         - fix another instance of the bug I just fixed in the Macintosh-specific code path
708
709         * platform/image-decoders/gif/GIFImageReader.h: Remove not-so-useful 100ms constant.
710         * platform/image-decoders/gif/GIFImageReader.cpp: (GIFImageReader::read):
711         Use the correct rule for minimum frame durations.
712
713 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
714
715         Reviewed by Eric.
716
717         - very rough implementation of networking in TransferJob for windows
718
719         * platform/TransferJob.h:
720         * platform/TransferJobInternal.h:
721         (WebCore::TransferJobInternal::TransferJobInternal):
722         * platform/win/TransferJobWin.cpp:
723         (WebCore::transferJobStatusCallback):
724         (WebCore::TransferJob::start):
725
726 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
727
728         Reviewed by Darin.
729
730         - fix win32 build
731
732         * platform/win/FontWin.cpp:
733         (WebCore::Font::drawText):
734         (WebCore::Font::drawHighlightForText):
735         * platform/win/TemporaryLinkStubs.cpp:
736         (GraphicsContext::clearFocusRing):
737         (GraphicsContext::selectedTextBackgroundColor):
738         (Font::selectionRectForText):
739
740 2006-03-08  Darin Adler  <darin@apple.com>
741
742         Reviewed by Maciej.
743
744         - fix one more thing from http://bugzilla.opendarwin.org/show_bug.cgi?id=7528
745           REGRESSION: GIF animation speeds are wrong on a page with many animated GIFs
746
747         No layout test because I don't know how to test animated GIF speed.
748
749         * platform/mac/ImageSourceMac.cpp: (WebCore::ImageSource::frameDurationAtIndex):
750         Use the correct rule for minimum frame durations. It's a bit non-intuitive, so
751         I made the comment more explicit. The old code in WebKit had this rule.
752
753 2006-03-08  David Hyatt  <hyatt@apple.com>
754
755         Make GraphicsContext call into Font to draw all text and eliminate
756         all knowledge of WebTextRenderers from it.
757
758         Reviewed by darin
759
760         * platform/Font.h:
761         * platform/GraphicsContext.cpp:
762         (WebCore::GraphicsContext::drawText):
763         (WebCore::GraphicsContext::drawHighlightForText):
764         (WebCore::GraphicsContext::drawLineForText):
765         (WebCore::GraphicsContext::drawLineForMisspelling):
766         (WebCore::GraphicsContext::misspellingLineThickness):
767         * platform/GraphicsContext.h:
768         (WebCore::GraphicsContext::platformContext):
769         * platform/cairo/GraphicsContextCairo.cpp:
770         (WebCore::GraphicsContext::platformContext):
771         * platform/mac/FontMac.mm:
772         (WebCore::Font::drawText):
773         (WebCore::Font::drawHighlightForText):
774         (WebCore::Font::drawLineForText):
775         (WebCore::Font::drawLineForMisspelling):
776         (WebCore::Font::misspellingLineThickness):
777         * platform/mac/GraphicsContextMac.mm:
778         * platform/win/FontWin.cpp:
779         (WebCore::Font::drawText):
780         * rendering/InlineTextBox.cpp:
781         (WebCore::InlineTextBox::paint):
782         (WebCore::InlineTextBox::paintSelection):
783         (WebCore::InlineTextBox::paintMarkedTextBackground):
784         (WebCore::InlineTextBox::paintTextMatchMarker):
785
786 2006-03-08  Darin Adler  <darin@apple.com>
787
788         Reviewed by Hyatt.
789
790         - fixed super-fast animation of many animated GIFs
791
792         No layout test because I don't know how to test animated GIF speed.
793
794         * platform/mac/ImageSourceMac.cpp: (WebCore::ImageSource::frameDurationAtIndex):
795         Always take the minimum duration into account, even if there's some kind of failure
796         getting the duration from the GIF.
797
798 2006-03-07  Darin Adler  <darin@apple.com>
799
800         Reviewed by Anders.
801
802         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
803           unwanted output while running layout tests
804
805         * khtml/xsl/xsl_stylesheetimpl.cpp: (WebCore::XSLStyleSheetImpl::parseString):
806         Pass XML_PARSE_NOERROR and XML_PARSE_NOWARNING. We don't want errors and warnings
807         to be logged to stdout or stderr. If we later decide we want the error messages,
808         then we should do the additional work to put them into the web page or the
809         console (along with the JavaScript errors).
810
811         * platform/ArrayImpl.cpp: (WebCore::ArrayImpl::resize): Add a preflight to protect
812         against integer overflow due to large array size. Noticed this while looking into
813         the malloc error message.
814
815 2006-03-07  Darin Adler  <darin@apple.com>
816
817         Reviewed by Adele.
818
819         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7647
820           Crash when typing into text contols
821
822         I missed a couple places that were still saying KWQWidgetHolder
823         in the change I landed late last night.
824
825         * kwq/KWQTextArea.h:
826         * kwq/KWQTextArea.mm:
827         * kwq/KWQTextField.h:
828         Changed them all to say WebCoreWidgetHolder.
829
830 2006-03-07  Eric Seidel  <eseidel@apple.com>
831
832         Reviewed by hyatt.
833
834         Fix cursor support on win32.
835
836         * platform/win/WidgetWin.cpp:
837         (WebCore::Widget::setCursor):
838
839 2006-03-07  Eric Seidel  <eseidel@apple.com>
840
841         Reviewed by hyatt.
842
843         Fix basic text support.
844
845         * WebCore.vcproj/WebCore/WebCore.vcproj:
846         * platform/cairo/GraphicsContextCairo.cpp:
847         (WebCore::GraphicsContext::drawText):
848
849 2006-03-07  Dave Hyatt <hyatt@apple.com>
850
851         Eliminate the unused parameters of the QString version of drawText.
852
853         Reviewed by eric
854
855         * platform/GraphicsContext.h:
856         * platform/cairo/GraphicsContextCairo.cpp:
857         (WebCore::GraphicsContext::drawText):
858         * platform/mac/GraphicsContextMac.mm:
859         (WebCore::GraphicsContext::drawText):
860         * rendering/render_image.cpp:
861         (WebCore::RenderImage::paint):
862         * rendering/render_list.cpp:
863         (WebCore::RenderListMarker::paint):
864
865 2006-03-07  Eric Seidel  <eseidel@apple.com>
866
867         Reviewed by hyatt.
868
869         Add very basic text support.
870         Sort a few more stubs.
871
872         * WebCore.vcproj/WebCore/WebCore.vcproj:
873         * platform/cairo/GraphicsContextCairo.cpp:
874         (WebCore::GraphicsContext::font):
875         (WebCore::GraphicsContext::setFont):
876         (WebCore::GraphicsContext::drawText):
877         * platform/win/FontWin.cpp: Added.
878         (WebCore::Font::drawText):
879         * platform/win/TemporaryLinkStubs.cpp:
880         (QComboBox::focusPolicy):
881         (ScrollView::scrollXOffset):
882         (Font::isFixedPitch):
883         (Path::boundingRect):
884
885 2006-03-07  Adele Peterson  <adele@apple.com>
886
887         Reviewed by Hyatt.
888
889         - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7319
890         Can't see caret at the end of a contenteditable div with overflow:hidden
891
892         No tests added since I don't think the blinking caret will show up in our tests.
893
894         * rendering/RenderBlock.cpp:
895         (WebCore::RenderBlock::rightmostPosition): When calculating the rightmostPosition for editable blocks, 
896         we need to account for the caret that can be drawn 1 px past the last child inline box.
897
898 2006-03-07  David Kilzer  <ddkilzer@kilzer.net>
899
900         Reviewed by Darin.
901
902         - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3905
903         Missing </title> makes page blank
904
905         Test: fast/js/exception-linenums-in-html-1.html
906         Test: fast/js/exception-linenums-in-html-2.html
907         Test: fast/js/missing-title-end-tag-js.html
908         Test: fast/tokenizer/missing-title-end-tag-1.html
909         Test: fast/tokenizer/missing-title-end-tag-2.html
910
911         * khtml/html/htmlparser.cpp:
912         (WebCore::HTMLParser::handleError): Add check for missing </title> tag and handle
913         this condition if identified.
914         * khtml/html/htmltokenizer.cpp:
915         (WebCore::HTMLTokenizer::parseTag): If parseSpecial() consumes the rest of the
916         document looking for a </title> tag, reset the state of the tokenizer and
917         retokenize with no special handling for <title>.  The parser will handle the
918         missing </title> tag in HTMLParser::handleError().
919         * platform/SegmentedString.cpp:
920         (WebCore::SegmentedString::SegmentedString): Added copy constructor.
921         (WebCore::SegmentedString::operator=): Added assignment operator.  Previously the
922         compiler was generating a default method for the assignment operator, but it did
923         not handle m_currentChar properly.
924         * platform/SegmentedString.h: Added prototypes for copy constructor and
925         assignment operator.
926
927 2006-03-07  Eric Seidel  <eseidel@apple.com>
928
929         Fix win32 link stubs.
930
931         * platform/win/TemporaryLinkStubs.cpp:
932         (WebCore::searchableIndexIntroduction):
933         (WebCore::setCookies):
934         (WebCore::cookies):
935         (WebCore::cookiesEnabled):
936         (WebCore::findNextSentenceFromIndex):
937         (WebCore::findSentenceBoundary):
938         (WebCore::findNextWordFromIndex):
939         (WebCore::findWordBoundary):
940         (WebCore::submitButtonDefaultLabel):
941         (WebCore::inputElementAltText):
942         (WebCore::resetButtonDefaultLabel):
943         (WebCore::defaultLanguage):
944
945 2006-03-07  Darin Adler  <darin@apple.com>
946
947         Reviewed by Adele, except for the first change listed.
948
949         - fix recently-introduced bug that GuardMalloc found while I was debugging my other change
950
951         * rendering/render_frames.cpp: (WebCore::RenderPart::~RenderPart):
952         Set m_widget to 0 before calling deref so we don't end up trying to do unwanted work.
953
954         - removed 10 more files from KWQ
955
956         * ForwardingHeaders/klocale.h: Removed.
957
958         * khtml/misc/helper.cpp: Removed.
959         * khtml/misc/helper.h: Removed.
960
961         * kwq/KWQCollection.h: Removed.
962         * kwq/KWQKCookieJar.h: Removed.
963         * kwq/KWQKCookieJar.mm: Removed.
964         * kwq/KWQKLocale.h: Removed.
965         * kwq/KWQKLocale.mm: Removed.
966         * kwq/KWQKURL.h: Removed.
967         * kwq/KWQKURL.mm: Removed.
968         * kwq/KWQTextUtilities.h: Removed.
969         * kwq/KWQTextUtilities.mm: Removed.
970         * kwq/KWQView.h: Removed.
971
972         * platform/CookieJar.h: Added.
973         * platform/Language.h: Added.
974         * platform/LocalizedStrings.h: Added.
975         * platform/TextBoundaries.h: Added.
976         * platform/mac/CookieJar.mm: Added.
977         * platform/mac/Language.mm: Added.
978         * platform/mac/LocalizedStringsMac.mm: Added.
979         * platform/mac/TextBoundaries.mm: Added.
980         * platform/mac/WebCoreWidgetHolder.h: Added.
981
982         * WebCore.xcodeproj/project.pbxproj: Updated for removed and added files.
983         * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for removed and added files.
984
985         * bridge/mac/WebCoreFrameBridge.mm: Updated includes.
986         (-[WebCoreFrameBridge elementForView:]): Changed KWQWidgetHolder to WebCoreWidgetHolder.
987
988         * editing/visible_units.cpp:
989         (WebCore::previousWordPositionBoundary):
990         (WebCore::nextWordPositionBoundary):
991         (WebCore::previousSentencePositionBoundary):
992         (WebCore::nextSentencePositionBoundary):
993         Call TextBoundaries.h functions instead of helper.h ones.
994
995         * khtml/ecma/kjs_navigator.cpp: (KJS::Navigator::getValueProperty):
996         * ksvg2/svg/SVGTestsImpl.cpp: (WebCore::SVGTestsImpl::isValid):
997         Changed to call defaultLanguage; cleaned up formatting.
998
999         * khtml/html/HTMLFormElementImpl.cpp: Removed stray comment.
1000
1001         * khtml/html/html_documentimpl.cpp:
1002         (WebCore::HTMLDocumentImpl::cookie):
1003         (WebCore::HTMLDocumentImpl::setCookie):
1004         Call CookieJar.h functions.
1005
1006         * css/css_valueimpl.cpp:
1007         * css/cssparser.cpp:
1008         * css/cssstyleselector.cpp:
1009         * dom/DocumentImpl.cpp:
1010         * dom/dom_position.cpp:
1011         * khtml/ecma/kjs_window.cpp:
1012         * khtml/html/HTMLInputElementImpl.cpp:
1013         * khtml/html/html_headimpl.cpp:
1014         * khtml/html/htmlparser.cpp:
1015         * khtml/misc/decoder.cpp:
1016         * ksvg2/svg/SVGDocumentImpl.cpp:
1017         * kwq/KWQComboBox.mm:
1018         * kwq/KWQKSSLKeyGen.mm:
1019         * kwq/KWQListBox.mm:
1020         * kwq/KWQListImpl.cpp:
1021         * kwq/KWQListImpl.h:
1022         * kwq/KWQScrollBar.mm:
1023         * kwq/KWQSlider.mm:
1024         * kwq/KWQTextField.mm:
1025         * kwq/KWQValueList.h:
1026         * loader/DocLoader.cpp:
1027         * page/Frame.cpp:
1028         * page/FrameView.cpp:
1029         * platform/mac/WidgetMac.mm:
1030         (WebCore::Widget::beforeMouseDown):
1031         (WebCore::Widget::afterMouseDown):
1032         * rendering/render_applet.cpp:
1033         * rendering/render_form.cpp:
1034         * rendering/render_image.cpp:
1035         * rendering/render_list.cpp:
1036         Updated includes and protocol names.
1037
1038         * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::write): Remove
1039         QT_VERSION code.
1040         * platform/QString.h: Remove QT_VERSION.
1041
1042         * kwq/KWQPtrList.h: Change to no longer use QPtrCollection.
1043
1044         * kwq/KWQRenderTreeDebug.h:
1045         * kwq/KWQRenderTreeDebug.cpp: (externalRepresentation):
1046         Remove unused debuggingRenderTree boolean.
1047
1048 2006-03-07  Eric Seidel  <eseidel@apple.com>
1049
1050         Reviewed by darin.
1051
1052         * platform/mac/GraphicsContextMac.mm: Add Widget.h to fix no-svg build.
1053
1054 2006-03-06  Eric Seidel  <eseidel@apple.com>
1055
1056         Reviewed by hyatt.
1057
1058         Make spinneret run again, fix webview to support dynamic resize.
1059
1060         * platform/win/TemporaryLinkStubs.cpp:
1061         (Widget::setDrawingAlpha):
1062         * platform/win/WidgetWin.cpp:
1063         (WebCore::Widget::Widget):
1064         (WebCore::Widget::setClient):
1065         (WebCore::Widget::client):
1066         (WebCore::Widget::frameGeometry):
1067
1068 2006-03-06  Eric Seidel  <eseidel@apple.com>
1069
1070         Reviewed by darin.
1071
1072         Fix win32 build.
1073
1074         * platform/win/TemporaryLinkStubs.cpp:
1075         (QScrollBar::QScrollBar):
1076         (QTextEdit::setAlignment):
1077         (Widget::client):
1078         (Widget::setClient):
1079         (QLineEdit::setAlignment):
1080
1081 2006-03-06  Beth Dakin  <bdakin@apple.com>
1082
1083         Reviewed by Darin.
1084
1085         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7566 (also 
1086         <rdar://problem/4467128> ). Must call update() on a Font before 
1087         attempting to use it because the FontRenderer is not created until 
1088         update() is called.
1089
1090         * kwq/KWQListBox.mm:
1091         (QListBox::sizeForNumberOfLines): Call update()
1092         (-[KWQTableView drawRow:clipRect:]): Call update()
1093
1094 2006-03-06  Darin Adler  <darin@apple.com>
1095
1096         Reviewed by Adele.
1097
1098         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7564
1099           remove QObject, QGuardedPtr, slots, and signals
1100
1101         I had written a detailed change log entry, but I lost it!
1102         I'm too annoyed to write one all over again.
1103
1104         * ForwardingHeaders/qguardedptr.h: Removed.
1105         * ForwardingHeaders/qobject.h: Removed.
1106
1107         * kwq/KWQGuardedPtr.cpp: Removed.
1108         * kwq/KWQGuardedPtr.h: Removed.
1109         * kwq/KWQNamespace.h: Removed.
1110         * kwq/KWQObject.cpp: Removed.
1111         * kwq/KWQObject.h: Removed.
1112         * kwq/KWQSignal.cpp: Removed.
1113         * kwq/KWQSignal.h: Removed.
1114         * kwq/KWQSlot.cpp: Removed.
1115         * kwq/KWQSlot.h: Removed.
1116
1117         * platform/WidgetClient.h: Added.
1118
1119         * WebCore.xcodeproj/project.pbxproj: Updated for removed and added files.
1120         * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
1121
1122         * bindings/js/JSDOMCore.cpp: Touched.
1123         * bindings/js/JSDOMEvents.cpp: Ditto.
1124
1125         * bridge/BrowserExtension.h:
1126         (WebCore::BrowserExtension::~BrowserExtension):
1127         * bridge/mac/WebCoreFrameBridge.mm:
1128         (-[WebCoreFrameBridge elementForView:]):
1129         * dom/CDATASectionImpl.cpp:
1130         (WebCore::CDATASectionImpl::cloneNode):
1131         * dom/DocumentImpl.cpp:
1132         (WebCore::DocumentImpl::~DocumentImpl):
1133         * dom/DocumentImpl.h:
1134         * kcanvas/device/KRenderingDevice.h:
1135         * khtml/ecma/kjs_css.cpp:
1136         (KJS::DOMCSSStyleDeclaration::put):
1137         * khtml/ecma/kjs_window.cpp:
1138         (KJS::FrameArray::indexGetter):
1139         (KJS::FrameArray::nameGetter):
1140         * khtml/html/html_documentimpl.cpp:
1141         (WebCore::HTMLDocumentImpl::createTokenizer):
1142         * khtml/html/htmlparser.cpp:
1143         (WebCore::HTMLParser::HTMLParser):
1144         (WebCore::HTMLParser::insertNode):
1145         (WebCore::HTMLParser::handleError):
1146         (WebCore::HTMLParser::commentCreateErrorCheck):
1147         (WebCore::HTMLParser::noscriptCreateErrorCheck):
1148         (WebCore::HTMLParser::isInline):
1149         (WebCore::HTMLParser::finished):
1150         * khtml/html/htmlparser.h:
1151         * khtml/html/htmltokenizer.cpp:
1152         (WebCore::HTMLTokenizer::HTMLTokenizer):
1153         (WebCore::HTMLTokenizer::scriptHandler):
1154         (WebCore::HTMLTokenizer::scriptExecution):
1155         (WebCore::HTMLTokenizer::parseComment):
1156         (WebCore::HTMLTokenizer::parseTag):
1157         (WebCore::HTMLTokenizer::stopParsing):
1158         (WebCore::HTMLTokenizer::timerFired):
1159         (WebCore::HTMLTokenizer::processToken):
1160         (WebCore::parseHTMLDocumentFragment):
1161         * khtml/html/htmltokenizer.h:
1162         * kwq/KWQComboBox.h:
1163         * kwq/KWQComboBox.mm:
1164         (-[KWQPopUpButton setPopulatingMenu:QComboBox:::]):
1165         (QComboBox::itemSelected):
1166         (-[KWQPopUpButton becomeFirstResponder]):
1167         (-[KWQPopUpButton resignFirstResponder]):
1168         * kwq/KWQFileButton.h:
1169         (KWQFileButton::filename):
1170         * kwq/KWQFileButton.mm:
1171         (KWQFileButton::KWQFileButton):
1172         (KWQFileButton::filenameChanged):
1173         (-[KWQFileButtonAdapter filenameChanged:]):
1174         (-[KWQFileButtonAdapter focusChanged:]):
1175         (-[KWQFileButtonAdapter clicked]):
1176         * kwq/KWQLineEdit.h:
1177         * kwq/KWQLineEdit.mm:
1178         (QLineEdit::QLineEdit):
1179         (QLineEdit::setAlignment):
1180         (KWQNSTextAlignment):
1181         * kwq/KWQListBox.h:
1182         (QListBox::changingSelection):
1183         * kwq/KWQListBox.mm:
1184         (QListBox::QListBox):
1185         (-[KWQTableView becomeFirstResponder]):
1186         (-[KWQTableView resignFirstResponder]):
1187         (-[KWQTableView tableViewSelectionDidChange:]):
1188         * kwq/KWQScrollBar.h:
1189         (WebCore::):
1190         (QScrollBar::orientation):
1191         * kwq/KWQScrollBar.mm:
1192         (-[KWQScrollBar initWithQScrollBar:]):
1193         (QScrollBar::QScrollBar):
1194         (QScrollBar::valueChanged):
1195         (QScrollBar::scroll):
1196         * kwq/KWQSlider.h:
1197         * kwq/KWQSlider.mm:
1198         (-[KWQSlider mouseDown:]):
1199         (-[KWQSlider slide:]):
1200         (-[KWQSlider becomeFirstResponder]):
1201         (-[KWQSlider resignFirstResponder]):
1202         (QSlider::QSlider):
1203         (QSlider::sliderValueChanged):
1204         (QSlider::dimensions):
1205         * kwq/KWQTextArea.mm:
1206         (-[KWQTextAreaTextView textViewDidChangeSelection:]):
1207         (-[KWQTextAreaTextView textDidChange:]):
1208         (-[KWQTextAreaTextView becomeFirstResponder]):
1209         (-[KWQTextAreaTextView resignFirstResponder]):
1210         (-[KWQTextAreaTextView mouseDown:]):
1211         (-[KWQTextAreaTextView dispatchHTMLEvent:]):
1212         * kwq/KWQTextEdit.h:
1213         * kwq/KWQTextEdit.mm:
1214         (QTextEdit::QTextEdit):
1215         (QTextEdit::setAlignment):
1216         * kwq/KWQTextField.mm:
1217         (-[KWQTextFieldController action:]):
1218         (-[KWQTextFieldController controlTextDidEndEditing:]):
1219         (-[KWQTextFieldController controlTextDidChange:]):
1220         (-[KWQTextFieldController textChanged]):
1221         (-[KWQTextFieldController textView:didHandleEvent:]):
1222         (-[KWQTextFieldController setHasFocus:]):
1223         (-[KWQTextFieldController textViewDidChangeSelection:]):
1224         * loader/CachedObject.h:
1225         * page/Frame.cpp:
1226         (WebCore::Frame::Frame):
1227         (WebCore::Frame::~Frame):
1228         (WebCore::Frame::setOpener):
1229         (WebCore::Frame::nodeForWidget):
1230         (WebCore::Frame::disconnectOwnerRenderer):
1231         * page/Frame.h:
1232         * page/FramePrivate.h:
1233         (WebCore::FramePrivate::FramePrivate):
1234         * page/FrameView.cpp:
1235         (WebCore::FrameView::~FrameView):
1236         * platform/Brush.h:
1237         * platform/Pen.h:
1238         * platform/Widget.cpp:
1239         (WebCore::Widget::isFrameView):
1240         * platform/Widget.h:
1241         (WebCore::):
1242         * platform/mac/GraphicsContextMac.mm:
1243         (WebCore::GraphicsContext::drawText):
1244         * platform/mac/WidgetMac.mm:
1245         (WebCore::Widget::Widget):
1246         (WebCore::Widget::focusPolicy):
1247         (WebCore::Widget::sendConsumedMouseUp):
1248         (WebCore::Widget::setClient):
1249         (WebCore::Widget::client):
1250         * rendering/InlineTextBox.cpp:
1251         (WebCore::InlineTextBox::operator delete):
1252         * rendering/render_applet.cpp:
1253         (WebCore::RenderApplet::createWidgetIfNecessary):
1254         * rendering/render_form.cpp:
1255         (WebCore::RenderFormElement::clicked):
1256         (WebCore::RenderFormElement::textAlignment):
1257         (WebCore::RenderLineEdit::RenderLineEdit):
1258         (WebCore::RenderLineEdit::selectionChanged):
1259         (WebCore::RenderLineEdit::returnPressed):
1260         (WebCore::RenderLineEdit::performSearch):
1261         (WebCore::RenderLineEdit::valueChanged):
1262         (WebCore::RenderFileButton::RenderFileButton):
1263         (WebCore::RenderFileButton::returnPressed):
1264         (WebCore::RenderFileButton::valueChanged):
1265         (WebCore::RenderLegend::RenderLegend):
1266         (WebCore::RenderSelect::RenderSelect):
1267         (WebCore::RenderSelect::updateFromElement):
1268         (WebCore::RenderSelect::valueChanged):
1269         (WebCore::RenderSelect::selectionChanged):
1270         (WebCore::RenderSelect::createListBox):
1271         (WebCore::RenderTextArea::RenderTextArea):
1272         (WebCore::RenderTextArea::valueChanged):
1273         (WebCore::RenderTextArea::selectionChanged):
1274         (WebCore::RenderSlider::RenderSlider):
1275         (WebCore::RenderSlider::valueChanged):
1276         * rendering/render_form.h:
1277         (WebCore::RenderFormElement::element):
1278         (WebCore::RenderLineEdit::element):
1279         (WebCore::RenderFileButton::element):
1280         (WebCore::RenderFileButton::isEditable):
1281         (WebCore::RenderSelect::element):
1282         (WebCore::RenderTextArea::element):
1283         (WebCore::RenderSlider::element):
1284         * rendering/render_frames.cpp:
1285         (WebCore::RenderPart::RenderPart):
1286         (WebCore::RenderPart::~RenderPart):
1287         (WebCore::RenderPart::setFrame):
1288         (WebCore::RenderPart::setWidget):
1289         (WebCore::RenderPart::deleteWidget):
1290         (WebCore::RenderFrame::RenderFrame):
1291         (WebCore::RenderPartObject::RenderPartObject):
1292         (WebCore::RenderPartObject::layout):
1293         * rendering/render_frames.h:
1294         * rendering/render_layer.cpp:
1295         (WebCore::RenderLayer::RenderLayer):
1296         (WebCore::RenderLayer::~RenderLayer):
1297         (WebCore::RenderLayer::valueChanged):
1298         (WebCore::RenderLayer::setHasHorizontalScrollbar):
1299         (WebCore::RenderLayer::setHasVerticalScrollbar):
1300         (WebCore::RenderLayer::hitTest):
1301         * rendering/render_layer.h:
1302         (WebCore::RenderLayer::parent):
1303         (WebCore::RenderLayer::previousSibling):
1304         (WebCore::RenderLayer::nextSibling):
1305         (WebCore::RenderLayer::firstChild):
1306         (WebCore::RenderLayer::lastChild):
1307         * rendering/render_list.cpp:
1308         (WebCore::RenderListMarker::paint):
1309         * rendering/render_replaced.cpp:
1310         (WebCore::RenderWidget::RenderWidget):
1311         (WebCore::RenderWidget::destroy):
1312         (WebCore::RenderWidget::~RenderWidget):
1313         (WebCore::RenderWidget::setWidget):
1314         (WebCore::RenderWidget::layout):
1315         (WebCore::RenderWidget::sendConsumedMouseUp):
1316         (WebCore::RenderWidget::focusIn):
1317         (WebCore::RenderWidget::focusOut):
1318         (WebCore::RenderWidget::scrollToVisible):
1319         (WebCore::RenderWidget::isVisible):
1320         (WebCore::RenderWidget::element):
1321         (WebCore::RenderWidget::deleteWidget):
1322         * rendering/render_replaced.h:
1323         * xml/xmlhttprequest.cpp:
1324         (WebCore::requestsByDocument):
1325         (WebCore::addToRequestsByDocument):
1326         (WebCore::removeFromRequestsByDocument):
1327         (WebCore::XMLHttpRequest::getResponseText):
1328         (WebCore::XMLHttpRequest::getResponseXML):
1329         (WebCore::XMLHttpRequest::XMLHttpRequest):
1330         (WebCore::XMLHttpRequest::~XMLHttpRequest):
1331         (WebCore::XMLHttpRequest::callReadyStateChangeListener):
1332         (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
1333         (WebCore::XMLHttpRequest::open):
1334         (WebCore::XMLHttpRequest::send):
1335         (WebCore::XMLHttpRequest::abort):
1336         (WebCore::XMLHttpRequest::overrideMIMEType):
1337         (WebCore::XMLHttpRequest::setRequestHeader):
1338         (WebCore::XMLHttpRequest::getRequestHeader):
1339         (WebCore::XMLHttpRequest::getAllResponseHeaders):
1340         (WebCore::XMLHttpRequest::getResponseHeader):
1341         (WebCore::XMLHttpRequest::getSpecificHeader):
1342         (WebCore::XMLHttpRequest::responseIsXML):
1343         (WebCore::XMLHttpRequest::getStatus):
1344         (WebCore::XMLHttpRequest::getStatusText):
1345         (WebCore::XMLHttpRequest::receivedAllData):
1346         (WebCore::XMLHttpRequest::receivedRedirect):
1347         (WebCore::XMLHttpRequest::receivedData):
1348         (WebCore::XMLHttpRequest::cancelRequests):
1349         (WebCore::XMLHttpRequest::detachRequests):
1350         * xml/xmlhttprequest.h:
1351
1352 2006-03-06  Eric Seidel  <eseidel@apple.com>
1353
1354         Reviewed by beth.
1355
1356         Reorganize link stubs (alphabetically).
1357         Stub out Path methods to make cnn.com work.
1358
1359         * platform/win/TemporaryLinkStubs.cpp:
1360         (FrameView::viewportToGlobal):
1361         (FrameView::updateBorder):
1362         (FrameView::isFrameView):
1363         (FrameView::topLevelWidget):
1364         (QScrollBar::~QScrollBar):
1365         (QScrollBar::setSteps):
1366         (QScrollBar::scroll):
1367         (QScrollBar::QScrollBar):
1368         (QScrollBar::setValue):
1369         (QScrollBar::setKnobProportion):
1370         (QListBox::QListBox):
1371         (QListBox::setSelected):
1372         (QListBox::sizeForNumberOfLines):
1373         (QListBox::isSelected):
1374         (QListBox::appendItem):
1375         (QListBox::doneAppendingItems):
1376         (ScrollView::scrollXOffset):
1377         (QComboBox::focusPolicy):
1378         (QTextEdit::QTextEdit):
1379         (QTextEdit::~QTextEdit):
1380         (QTextEdit::textWithHardLineBreaks):
1381         (QTextEdit::sizeWithColumnsAndRows):
1382         (QTextEdit::setColors):
1383         (QTextEdit::setFont):
1384         (QTextEdit::setWritingDirection):
1385         (QTextEdit::checksDescendantsForFocus):
1386         (QTextEdit::selectionStart):
1387         (QTextEdit::hasSelectedText):
1388         (QTextEdit::setReadOnly):
1389         (QTextEdit::setDisabled):
1390         (QTextEdit::setLineHeight):
1391         (QTextEdit::setSelectionStart):
1392         (QTextEdit::text):
1393         (QTextEdit::setWordWrap):
1394         (QTextEdit::setAlignment):
1395         (QTextEdit::getCursorPosition):
1396         (QTextEdit::setSelectionRange):
1397         (Widget::enableFlushDrawing):
1398         (Widget::isEnabled):
1399         (Widget::focusPolicy):
1400         (Widget::disableFlushDrawing):
1401         (Widget::setIsSelected):
1402         (Widget::unlockDrawingFocus):
1403         (KJavaAppletWidget::KJavaAppletWidget):
1404         (ScrollView::scrollPointRecursively):
1405         (ScrollView::scrollBy):
1406         (QLineEdit::selectAll):
1407         (QLineEdit::addSearchResult):
1408         (QLineEdit::selectionStart):
1409         (QLineEdit::hasSelectedText):
1410         (QLineEdit::selectedText):
1411         (QLineEdit::setAutoSaveName):
1412         (QLineEdit::checksDescendantsForFocus):
1413         (QLineEdit::setMaxResults):
1414         (GraphicsContext::GraphicsContext):
1415         (GraphicsContext::addFocusRingRect):
1416         (GraphicsContext::drawLineForMisspelling):
1417         (GraphicsContext::drawFocusRing):
1418         (GraphicsContext::selectedTextBackgroundColor):
1419         (GraphicsContext::drawHighlightForText):
1420         (GraphicsContext::misspellingLineThickness):
1421         (GraphicsContext::addRoundedRectClip):
1422         (QSlider::QSlider):
1423         (QSlider::sizeHint):
1424         (QSlider::setValue):
1425         (QSlider::setMaxValue):
1426         (QSlider::~QSlider):
1427         (QSlider::setFont):
1428         (QListBox::setFont):
1429         (QListBox::~QListBox):
1430         (QListBox::setSelectionMode):
1431         (QListBox::setEnabled):
1432         (QListBox::clear):
1433         (QListBox::checksDescendantsForFocus):
1434         (KWQFileButton::KWQFileButton):
1435         (KWQFileButton::click):
1436         (KWQFileButton::sizeForCharacterWidth):
1437         (KWQFileButton::frameGeometry):
1438         (KWQFileButton::setFilename):
1439         (KWQFileButton::baselinePosition):
1440         (KWQFileButton::setFrameGeometry):
1441         (QSlider::focusPolicy):
1442         (QListBox::focusPolicy):
1443         (Cursor::Cursor):
1444         (MouseEvent::MouseEvent):
1445         (KWQKCookieJar::cookieEnabled):
1446         (WebCore::screenDepth):
1447         (WebCore::usableScreenRect):
1448         (FrameWin::createPlugin):
1449         (ScrollView::resizeContents):
1450         (ScrollView::visibleHeight):
1451         (ScrollView::visibleWidth):
1452         (ScrollView::setContentsPos):
1453         (ScrollView::contentsHeight):
1454         (ScrollView::contentsWidth):
1455         (ScrollView::inWindow):
1456         (Path::~Path):
1457         (Path::Path):
1458         (Path::contains):
1459         (Path::translate):
1460         (Path::boundingRect):
1461         (Path::operator=):
1462
1463 2006-03-03  Justin Garcia  <justin.garcia@apple.com>
1464
1465         Reviewed by darin
1466         
1467         <http://bugzilla.opendarwin.org/show_bug.cgi?id=6844>
1468         elementAtPoint returns the list when the point is over a list marker
1469
1470         Call RenderObject::setInnerNode(), which sets both the 
1471         innerNode and the innerNonSharedNode.
1472
1473         * rendering/render_list.cpp:
1474         (WebCore::RenderListItem::nodeAtPoint):
1475         * rendering/render_list.h:
1476
1477 2006-03-05  Darin Adler  <darin@apple.com>
1478
1479         * WebCore.vcproj/WebCore/WebCore.vcproj: Removed a lot of long-ago-deleted files
1480         from the kwq directory.
1481
1482 2006-03-05  Darin Adler  <darin@apple.com>
1483
1484         Reviewed by Maciej.
1485
1486         - moved all the remnants of the public C++ DOM API out of khtml/dom
1487         - changed from "int" to "ExceptionCode" for DOM exceptions
1488         - removed unused CSS_HTML_RELATIVE
1489         - changed offsetInCharacters to be a member function of NodeImpl
1490         - changed DOM functions that take a NodeType to use NodeType instead of
1491           unsigned short for clarity (will still be unsigned short in bindings)
1492         - changed exception constants so they can be used directly in the
1493           implementation code (added in the offsets for different types of exceptions)
1494         - replaced the eventListenerType function with an isHTMLEventListener function
1495         - got rid of EventListenerEvent, which is a synonym for EventImpl*
1496         - eliminated handleEventImpl, whish is now the same as handleEvent
1497
1498         - did other preparation for the "remove Impl suffix" renaming
1499           (tested by using a script that does the renaming)
1500
1501         * khtml/dom/css_rule.h: Removed.
1502         * khtml/dom/css_stylesheet.h: Removed.
1503         * khtml/dom/css_value.h: Removed.
1504         * khtml/dom/dom2_events.cpp: Removed.
1505         * khtml/dom/dom2_events.h: Removed.
1506         * khtml/dom/dom2_range.h: Removed.
1507         * khtml/dom/dom2_traversal.cpp: Removed.
1508         * khtml/dom/dom2_traversal.h: Removed.
1509         * khtml/dom/dom_exception.h: Removed.
1510         * khtml/dom/dom_node.h: Removed.
1511
1512         * dom/EventListener.h: Added.
1513         * dom/ExceptionCode.h: Added.
1514
1515         * WebCore+SVG/kdom.h: Removed NodeType and ExceptionCodes
1516         * WebCore+SVG/kdomevents.h: Removed.
1517
1518         * WebCore.xcodeproj/project.pbxproj: Updated for file changes.
1519         * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
1520
1521         * bindings/scripts/CodeGeneratorJS.pm: Removed unneeded DOM:: prefix. Updated file
1522         names and exception prefix for changes in DOM exceptions.
1523
1524         * bindings/js/JSDOMCore.cpp: Touched to cause auto-generated code to be
1525         recompiled. We need to get this fixed!
1526         * bindings/js/JSDOMEvents.cpp: Ditto.
1527
1528         * dom/Attr.idl:
1529         * dom/CharacterData.idl:
1530         * dom/DOMImplementation.idl:
1531         * dom/DocumentType.idl:
1532         * dom/Element.idl:
1533         * dom/Entity.idl:
1534         * dom/MutationEvent.idl:
1535         * dom/Notation.idl:
1536         * dom/ProcessingInstruction.idl:
1537         * dom/Text.idl:
1538         * dom/WheelEvent.idl:
1539         Touched all IDL files so that changes in CodeGeneratorJS.pm would take effect.
1540         Added license headers.
1541
1542         * bindings/objc/DOM.mm: Fixed garbled license agreement. Updated includes.
1543         Changed from a single "using namespace WebCore" to individual using statements
1544         because of the imminent conflict between DOMImplementation in Objective C
1545         and WebCore::DOMImplementation (currently has an Impl suffix). Added a typedef
1546         for WebCore::DOMImplementationImpl. Changed to use ExceptionCode instead of int.
1547
1548         * bindings/objc/DOMCSS.h: Removed DOMCSSException and the special CSS exception
1549         codes. This is a feature of DOM Level 1 only. In DOM Level 2 these were eliminated
1550         and use basic DOM exception codes instead. We might have to do something for binary
1551         compatibility eventually, but perhaps not.
1552
1553         * bindings/objc/DOMCSS.mm:
1554         * bindings/objc/DOMEvents.mm:
1555         * bindings/objc/DOMEventsInternal.h:
1556         * bindings/objc/DOMHTML.mm:
1557         * bindings/objc/DOMHTMLInternal.h:
1558         * bindings/objc/DOMViews.mm:
1559         * bindings/objc/DOMViewsInternal.h:
1560         Fixed garbled license agreements.
1561         Changed to use ExceptionCode instead of int and name the variable "ec".
1562
1563         * bindings/objc/DOMInternal.h: Changed addDOMWrapperImpl to take NSObject* instead
1564         of id. This helps with overload resolution when addDOMWrapperImpl is renamed to be
1565         addDOMWrapper. Changed ALLOW_DOM_CAST to always use "class" in from of the type name
1566         of the WebCore class. This helps work around what seems like a bug in namespace support
1567         in Objective-C mode, although the bug only happens after the "remove Impl" renaming.
1568         * bindings/objc/DOMInternal.mm:
1569         (getDOMWrapperImpl): Changed to use HashMap.
1570         (addDOMWrapperImpl): Ditto.
1571         (removeDOMWrapper): Ditto.
1572         (raiseDOMException): Update to use new names for exception number ranges.
1573
1574         * bridge/mac/WebCoreFrameBridge.mm:
1575         * khtml/ecma/xmlserializer.cpp:
1576         * kwq/KWQAccObject.mm:
1577         Removed unneeded includes.
1578
1579         * css/css_ruleimpl.h: Moved "rule type" into this header.
1580
1581         * dom/CommentImpl.h:
1582         * dom/CommentImpl.cpp: (WebCore::CommentImpl::offsetInCharacters): Added. Returns true.
1583
1584         * khtml/ecma/XSLTProcessor.cpp: (KJS::XSLTProcessorProtoFunc::callAsFunction):
1585         Changed this around so we don't have a local variable named docImpl.
1586
1587         * khtml/ecma/kjs_binding.cpp: (KJS::setDOMException): Updated for new form of exception
1588         constants.
1589
1590         * khtml/ecma/kjs_events.h:
1591         * khtml/ecma/kjs_events.cpp:
1592         (KJS::JSAbstractEventListener::handleEvent): Changed to no longer use EventListenerEvent.
1593         (KJS::JSAbstractEventListener::isHTMLEventListener): Added.
1594
1595         * rendering/RenderTextField.h: Updated includes. Tweaked the code formatting of
1596         InputMutationListener. (Might be unnecessary since this class might be deleted soon.)
1597
1598         * bridge/mac/MacFrame.mm:
1599         * css/css_computedstyle.cpp:
1600         * css/css_computedstyle.h:
1601         * css/css_ruleimpl.cpp:
1602         * css/css_stylesheetimpl.cpp:
1603         * css/css_stylesheetimpl.h:
1604         * css/css_valueimpl.cpp:
1605         * css/css_valueimpl.cpp:
1606         * css/css_valueimpl.h:
1607         * css/css_valueimpl.h:
1608         * css/cssparser.cpp:
1609         * css/cssstyleselector.cpp:
1610         * dom/CDATASectionImpl.cpp:
1611         * dom/CDATASectionImpl.h:
1612         * dom/CharacterDataImpl.cpp:
1613         * dom/CharacterDataImpl.h:
1614         * dom/ContainerNodeImpl.cpp:
1615         * dom/DOMImplementationImpl.cpp:
1616         * dom/DocumentFragmentImpl.cpp:
1617         * dom/DocumentFragmentImpl.h:
1618         * dom/DocumentImpl.cpp:
1619         * dom/DocumentImpl.h:
1620         * dom/DocumentTypeImpl.cpp:
1621         * dom/DocumentTypeImpl.h:
1622         * dom/NamedNodeMapImpl.h:
1623         * dom/NodeImpl.cpp:
1624         * dom/NodeImpl.h:
1625         * dom/NodeListImpl.cpp:
1626         * dom/TextImpl.cpp:
1627         * dom/TextImpl.h:
1628         * dom/dom2_eventsimpl.cpp:
1629         * dom/dom2_eventsimpl.h:
1630         * dom/dom2_rangeimpl.cpp:
1631         * dom/dom2_rangeimpl.h:
1632         * dom/dom2_traversalimpl.cpp:
1633         * dom/dom2_traversalimpl.h:
1634         * dom/dom_elementimpl.cpp:
1635         * dom/dom_elementimpl.h:
1636         * dom/dom_position.cpp:
1637         * dom/dom_xmlimpl.cpp:
1638         * dom/dom_xmlimpl.h:
1639         * dom/xml_tokenizer.cpp:
1640         * editing/AppendNodeCommand.cpp:
1641         * editing/ApplyStyleCommand.cpp:
1642         * editing/CompositeEditCommand.cpp:
1643         * editing/DeleteFromTextNodeCommand.cpp:
1644         * editing/InsertIntoTextNodeCommand.cpp:
1645         * editing/InsertLineBreakCommand.cpp:
1646         * editing/InsertNodeBeforeCommand.cpp:
1647         * editing/InsertParagraphSeparatorCommand.cpp:
1648         * editing/JoinTextNodesCommand.cpp:
1649         * editing/MergeIdenticalElementsCommand.cpp:
1650         * editing/RemoveNodeAttributeCommand.cpp:
1651         * editing/RemoveNodeCommand.cpp:
1652         * editing/ReplaceSelectionCommand.cpp:
1653         * editing/Selection.cpp:
1654         * editing/SelectionController.cpp:
1655         * editing/SelectionController.h:
1656         * editing/SetNodeAttributeCommand.cpp:
1657         * editing/SplitElementCommand.cpp:
1658         * editing/SplitTextNodeCommand.cpp:
1659         * editing/VisiblePosition.cpp:
1660         * editing/WrapContentsInDummySpanCommand.cpp:
1661         * editing/htmlediting.cpp:
1662         * editing/markup.cpp:
1663         * editing/visible_text.cpp:
1664         * khtml/ecma/kjs_binding.h:
1665         * khtml/ecma/kjs_css.cpp:
1666         * khtml/ecma/kjs_dom.cpp:
1667         * khtml/ecma/kjs_html.cpp:
1668         * khtml/ecma/kjs_range.cpp:
1669         * khtml/ecma/kjs_traversal.cpp:
1670         * khtml/ecma/kjs_traversal.h:
1671         * khtml/ecma/kjs_window.cpp:
1672         * khtml/html/HTMLElementImpl.cpp:
1673         * khtml/html/HTMLOptionElementImpl.cpp:
1674         * khtml/html/HTMLOptionElementImpl.h:
1675         * khtml/html/HTMLOptionsCollectionImpl.cpp:
1676         * khtml/html/HTMLSelectElementImpl.cpp:
1677         * khtml/html/HTMLTextAreaElementImpl.cpp:
1678         * khtml/html/html_documentimpl.cpp:
1679         * khtml/html/html_documentimpl.h:
1680         * khtml/html/html_headimpl.cpp:
1681         * khtml/html/html_tableimpl.cpp:
1682         * khtml/html/html_tableimpl.h:
1683         * khtml/html/htmlparser.cpp:
1684         * khtml/xbl/xbl_tokenizer.cpp:
1685         * khtml/xsl/xsl_stylesheetimpl.cpp:
1686         * ksvg2/misc/SVGDocumentExtensions.cpp:
1687         * ksvg2/svg/SVGAnimationElementImpl.cpp:
1688         * ksvg2/svg/SVGDOMImplementationImpl.cpp:
1689         * ksvg2/svg/SVGDOMImplementationImpl.h:
1690         * ksvg2/svg/SVGDocumentImpl.cpp:
1691         * ksvg2/svg/SVGDocumentImpl.h:
1692         * ksvg2/svg/SVGElementImpl.cpp:
1693         * ksvg2/svg/SVGLengthImpl.cpp:
1694         * ksvg2/svg/SVGLocatableImpl.cpp:
1695         * ksvg2/svg/SVGPolyElementImpl.cpp:
1696         * ksvg2/svg/SVGSVGElementImpl.cpp:
1697         * ksvg2/svg/SVGStyleElementImpl.cpp:
1698         * ksvg2/svg/SVGStyleElementImpl.h:
1699         * ksvg2/svg/SVGUseElementImpl.cpp:
1700         * page/Frame.cpp:
1701         * page/FrameView.cpp:
1702         * rendering/render_object.cpp:
1703         * xml/xmlhttprequest.cpp:
1704         Changed to use ExceptionCode instead of int and name the variable "ec".
1705         Also updated use of exception codes and other constants to get them from
1706         their new locations.
1707
1708 2006-03-06  Eric Seidel  <eseidel@apple.com>
1709
1710         Reviewed by mjs.
1711
1712         Fix more pages (apple.com, yahoo.com) by returning empty error image.
1713         Empty a couple more stubs and clean up stub style a little.
1714
1715         * platform/cairo/ImageCairo.cpp:
1716         (WebCore::Image::loadResource):
1717         * platform/win/TemporaryLinkStubs.cpp:
1718         (QListBox::isSelected):
1719         (QSlider::sizeHint):
1720         (QScrollBar::~QScrollBar):
1721         (FrameWin::getObjectInstanceForWidget):
1722         (FrameWin::getEmbedInstanceForWidget):
1723         (FrameWin::recordFormValue):
1724         (FrameWin::getAppletInstanceForWidget):
1725         (FrameWin::passMouseDownEventToWidget):
1726         (FrameWin::passWheelEventToChildWidget):
1727         (FrameWin::createPlugin):
1728         (BrowserExtensionWin::createNewWindow):
1729         (Path::Path):
1730         (QLineEdit::~QLineEdit):
1731         (QLineEdit::setLiveSearch):
1732         (QComboBox::~QComboBox):
1733
1734 2006-03-06  Eric Seidel  <eseidel@apple.com>
1735
1736         Reviewed by andersca.
1737
1738         Empty enough stubs to make apple.com load.
1739
1740         * platform/win/TemporaryLinkStubs.cpp:
1741         (QTextEdit::sizeWithColumnsAndRows):
1742         (GraphicsContext::misspellingLineThickness):
1743         (QTextEdit::selectAll):
1744         (QTextEdit::setSelectionStart):
1745         (Widget::unlockDrawingFocus):
1746         (QLineEdit::setAutoSaveName):
1747         (ScrollView::scrollYOffset):
1748         (KWQFileButton::setFilename):
1749         (QListBox::setFont):
1750         (GraphicsContext::beginTransparencyLayer):
1751         (GraphicsContext::endTransparencyLayer):
1752         (QComboBox::QComboBox):
1753         (QComboBox::setFont):
1754         (QComboBox::baselinePosition):
1755         (QComboBox::setWritingDirection):
1756         (QComboBox::clear):
1757         (QComboBox::appendItem):
1758         (QComboBox::setCurrentItem):
1759         (QComboBox::sizeHint):
1760         (QComboBox::frameGeometry):
1761         (QComboBox::setFrameGeometry):
1762         (QLineEdit::setLiveSearch):
1763
1764 2006-03-06  Eric Seidel  <eseidel@apple.com>
1765
1766         Reviewed by darin.
1767
1768         Fix external resource loading.
1769         Make a bunch of stubs not abort (to fix slashdot).
1770
1771         * platform/win/TemporaryLinkStubs.cpp:
1772         (QTextEdit::textWithHardLineBreaks):
1773         (KWQFileButton::click):
1774         (QComboBox::setFrameGeometry):
1775         (QTextEdit::setText):
1776         (QListBox::appendItem):
1777         (GraphicsContext::endTransparencyLayer):
1778         (QLineEdit::selectionStart):
1779         (QTextEdit::QTextEdit):
1780         (QListBox::isSelected):
1781         (QComboBox::focusPolicy):
1782         (QTextEdit::setCursorPosition):
1783         (QTextEdit::setAlignment):
1784         (QLineEdit::selectedText):
1785         (ScrollView::scrollPointRecursively):
1786         (QScrollBar::setSteps):
1787         (QComboBox::appendItem):
1788         (GraphicsContext::drawLineForMisspelling):
1789         (KWQFileButton::setFilename):
1790         (QListBox::setWritingDirection):
1791         (QListBox::focusPolicy):
1792         (MouseEvent::MouseEvent):
1793         (QSlider::setFont):
1794         (Widget::setEnabled):
1795         (Widget::paint):
1796         (ScrollView::addChild):
1797         (ScrollView::inWindow):
1798         (GraphicsContext::setShadow):
1799         (GraphicsContext::clearShadow):
1800         (RenderThemeWin::paintCheckbox):
1801         (RenderThemeWin::paintRadio):
1802         (RenderThemeWin::paintButton):
1803         (RenderThemeWin::paintTextField):
1804         (QLineEdit::QLineEdit):
1805         (QLineEdit::setFont):
1806         (QLineEdit::setAlignment):
1807         (QLineEdit::setWritingDirection):
1808         (QLineEdit::maxLength):
1809         (QLineEdit::setMaxLength):
1810         (QLineEdit::text):
1811         (QLineEdit::setText):
1812         (QLineEdit::cursorPosition):
1813         (QLineEdit::setCursorPosition):
1814         (QLineEdit::setEdited):
1815         (QLineEdit::setReadOnly):
1816         (QLineEdit::setPlaceholderString):
1817         (QLineEdit::setColors):
1818         (QLineEdit::sizeForCharacterWidth):
1819         (QLineEdit::baselinePosition):
1820         * platform/win/TransferJobWin.cpp:
1821         (WebCore::TransferJob::fileLoadTimer):
1822         (WebCore::TransferJob::cancel):
1823
1824 2006-03-05  Darin Adler  <darin@apple.com>
1825
1826         Reviewed by Maciej.
1827
1828         - fix failure seen running editing layout tests
1829
1830         * editing/ReplaceSelectionCommand.cpp:
1831         (WebCore::ReplacementFragment::ReplacementFragment):
1832         Use selectNodeContents instead of rolling our own.
1833         It handles the "nothing at all" edge case properly.
1834
1835 2006-03-05  Eric Seidel  <eseidel@apple.com>
1836
1837         Reviewed by darin.
1838
1839         Make updateContents invalidate entire window for now.
1840         Fix indentation in fileLoadTimer.
1841
1842         * platform/win/ScrollViewWin.cpp:
1843         (WebCore::ScrollView::updateContents):
1844         * platform/win/TransferJobWin.cpp:
1845         (WebCore::TransferJob::fileLoadTimer):
1846
1847 2006-03-05  Eric Seidel  <eseidel@apple.com>
1848
1849         Reviewed by adele.
1850
1851         Add missing files to vcproj (fix win32 build).
1852         Also add svn:eol-style=native to new files.
1853
1854         * WebCore.vcproj/WebCore/WebCore.vcproj:
1855
1856 2006-03-05  Darin Adler  <mjs@apple.com>
1857
1858         - fix build
1859
1860         * rendering/render_style.h: (compareEqual): Made it inline, fixed variable name.
1861
1862 2006-03-05  Adele Peterson  <adele@apple.com>
1863
1864         Reviewed by Darin.
1865
1866         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6987
1867         Implement maxlength for new text fields
1868
1869         Test added:
1870         * fast/forms/input-appearance-maxlength.html
1871
1872         * WebCore.xcodeproj/project.pbxproj: 
1873          Added BeforeTextInsertedEventImpl.h, BeforeTextInsertedEventImpl.cpp, HTMLTextFieldInnerElementImpl.h, and HTMLTextFieldInnerElementImpl.cpp
1874
1875         * khtml/html/HTMLInputElementImpl.cpp:
1876         (WebCore::HTMLInputElementImpl::init): initialize max length to 1024.
1877         (WebCore::HTMLInputElementImpl::defaultEventHandler): Added case to use the khtmlBeforeTextInsertedEvent to check for maxlength.
1878         (WebCore::HTMLInputElementImpl::parseMappedAttribute): Makes sure that maxlength is between 0 and 1024.
1879
1880         * editing/ReplaceSelectionCommand.cpp:
1881         (WebCore::ReplacementFragment::ReplacementFragment): After doing a test insert of the fragment,
1882          Send khtmlBeforeTextInsertedEvent to the root editable element so the event handler can update the text, and we can update the fragment.
1883         * editing/TypingCommand.cpp:
1884         (WebCore::TypingCommand::insertText): Send khtmlBeforeTextInsertedEvent to the root editable element so the event handler can update the text if necessary.
1885         * editing/EditCommand.cpp:
1886         (WebCore::EditCommand::apply): If we've just applied a command, send the khtmlTextInsertedEvent to the root editable element. 
1887         (WebCore::EditCommand::unapply): ditto.
1888         (WebCore::EditCommand::reapply): ditto.
1889
1890         * khtml/html/HTMLTextFieldInnerElementImpl.h: Added this class to store a pointer to the input element for the text field and to handle default events.
1891         (DOM::HTMLTextFieldInnerElementImpl::shadowParentNode): Added.
1892         (DOM::HTMLTextFieldInnerElementImpl::setShadowParentNode): Added.
1893         * khtml/html/HTMLTextFieldInnerElementImpl.cpp: Added.
1894         (WebCore::HTMLTextFieldInnerElementImpl::HTMLTextFieldInnerElementImpl):
1895         (WebCore::HTMLTextFieldInnerElementImpl::~HTMLTextFieldInnerElementImpl):
1896         (WebCore::HTMLTextFieldInnerElementImpl::defaultEventHandler):
1897          Sends khtmlBeforeTextInsertedEvents to the shadowParentNode, 
1898          and handles khtmlTextInsertedEvents by telling the renderer that the subtree has changed.
1899
1900         * rendering/RenderTextField.cpp: Removed InputMutationListener since subtreeHasChanged is now called from the editing code.
1901         (WebCore::RenderTextField::~RenderTextField): removed event listener code.
1902         (WebCore::RenderTextField::updateFromElement): ditto.  And creates HTMLTextFieldInnerElementImpl.
1903         (WebCore::RenderTextField::subtreeHasChanged): calls new text() method.
1904         (WebCore::RenderTextField::text): created to get a String of all text in the RenderTextField.
1905         * rendering/RenderTextField.h: Removed InputMutationListener class.
1906
1907         * dom/EventNames.h: Added khtmlTextInserted and khtmlBeforeTextInserted.
1908         * dom/BeforeTextInsertedEventImpl.cpp: Added.
1909         (WebCore::BeforeTextInsertedEventImpl::BeforeTextInsertedEventImpl):
1910         * dom/BeforeTextInsertedEventImpl.h: Added.
1911         (WebCore::BeforeTextInsertedEventImpl::isBeforeTextInsertedEvent):
1912         (WebCore::BeforeTextInsertedEventImpl::text):
1913         * dom/dom2_eventsimpl.cpp: (WebCore::EventImpl::isBeforeTextInsertedEvent): Added.
1914         * dom/dom2_eventsimpl.h: Added isBeforeTextInsertedEvent.
1915
1916 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
1917
1918         - fix build, give this a return type.
1919
1920         * rendering/render_style.h:
1921         (compareEqual):
1922
1923 2006-03-05  Eric Seidel  <eseidel@apple.com>
1924
1925         Add "Font.h" to (try to) fix the no-svg build.
1926
1927         * platform/mac/GraphicsContextMac.mm:
1928
1929 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
1930
1931         Rubber stamped by Darin.
1932
1933         - fix win32 build by avoiding use of typeof
1934
1935         * rendering/render_style.h:
1936         (compareEqual):
1937
1938 2006-03-05  Geoffrey Garen  <ggaren@apple.com>
1939
1940         Reviewed by Maciej.
1941
1942         - Second cut at fixing <rdar://problem/4467143> JavaScript enumeration 
1943         of HTML element properties skips DOM node properties
1944  
1945         The approach here is for prototypes, in their constructor methods, 
1946         to set their own prototypes, preserving the prototype 
1947         chain in cases of multiple levels of inheritance. (Previously, our
1948         code assumed that a prototype never had a prototype of its own,
1949         and always used an empty object as a prototype's prototype).
1950
1951         * bindings/scripts/CodeGeneratorJS.pm: Use the new
1952         DEFINE_PROTOTYPE_WITH_PROTOTYPE macro in place of the  
1953         KJS_IMPLEMENT_PROTOTYPE_WITH_PARENT macro.
1954         * khtml/ecma/kjs_dom.cpp: Ditto.
1955         * khtml/ecma/kjs_dom.h: Ditto.
1956         * khtml/ecma/kjs_events.cpp: Ditto.
1957
1958         Touched these files to force a rebuild:
1959
1960         * bindings/js/JSDOMCore.cpp:
1961         * bindings/js/JSDOMEvents.cpp:
1962         * dom/Attr.idl:
1963         * dom/CharacterData.idl:
1964         * dom/DOMImplementation.idl:
1965         * dom/DocumentType.idl:
1966         * dom/Element.idl:
1967         * dom/Entity.idl:
1968         * dom/MutationEvent.idl:
1969         * dom/Notation.idl:
1970         * dom/ProcessingInstruction.idl:
1971         * dom/Text.idl:
1972         * dom/WheelEvent.idl:
1973
1974 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
1975
1976         Reviewed by Darin.
1977
1978         - use unsigned bitfields when storing enums in them, to avoid mangling on win32 (was causing all layout to be RTL)
1979         http://bugzilla.opendarwin.org/show_bug.cgi?id=7618
1980
1981         * css/css_base.cpp:
1982         (WebCore::CSSSelector::operator == ):
1983         (WebCore::CSSSelector::selectorText):
1984         * css/css_base.h:
1985         (WebCore::CSSSelector::CSSSelector):
1986         (WebCore::CSSSelector::pseudoType):
1987         (WebCore::CSSSelector::relation):
1988         * css/css_grammar.y:
1989         * css/cssstyleselector.cpp:
1990         (WebCore::CSSStyleSelector::checkSelector):
1991         (WebCore::CSSStyleSelector::checkOneSelector):
1992         * kcanvas/KCanvasPath.cpp:
1993         (WebCore::operator<<):
1994         * kcanvas/KCanvasPath.h:
1995         (WebCore::KCClipData::windRule):
1996         (WebCore::KCClipDataList::addPath):
1997         * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
1998         (WebCore::KCanvasClipperQuartz::applyClip):
1999         * khtml/ecma/kjs_html.h:
2000         * khtml/html/HTMLButtonElementImpl.h:
2001         * khtml/html/HTMLInputElementImpl.cpp:
2002         (WebCore::HTMLInputElementImpl::setInputType):
2003         * khtml/html/HTMLInputElementImpl.h:
2004         (DOM::HTMLInputElementImpl::inputType):
2005         * khtml/html/html_tableimpl.h:
2006         * khtml/xbl/xbl_protohandler.cpp:
2007         (XBL::m_button):
2008         * khtml/xbl/xbl_protohandler.h:
2009         * ksvg2/css/SVGRenderStyle.h:
2010         (WebCore::SVGRenderStyle::InheritedFlags::):
2011         (WebCore::SVGRenderStyle::NonInheritedFlags::):
2012         (WebCore::SVGRenderStyle::setBitDefaults):
2013         * ksvg2/svg/SVGAnimateTransformElementImpl.h:
2014         * ksvg2/svg/SVGAnimationElementImpl.cpp:
2015         (SVGAnimationElementImpl::targetAttribute):
2016         (SVGAnimationElementImpl::setTargetAttribute):
2017         * ksvg2/svg/SVGAnimationElementImpl.h:
2018         * ksvg2/svg/SVGLengthImpl.cpp:
2019         (SVGLengthImpl::value):
2020         * ksvg2/svg/SVGLengthImpl.h:
2021         * kwq/KWQKHTMLSettings.h:
2022         * loader/CachedImage.h:
2023         * loader/DocLoader.cpp:
2024         (WebCore::DocLoader::setCachePolicy):
2025         (WebCore::DocLoader::setShowAnimations):
2026         * loader/DocLoader.h:
2027         (WebCore::DocLoader::showAnimations):
2028         * platform/FontDescription.h:
2029         (WebCore::FontDescription::genericFamily):
2030         * platform/QString.cpp:
2031         (HandleNode::):
2032         * platform/QString.h:
2033         * rendering/RenderBlock.cpp:
2034         (WebCore::RenderBlock::setSelectionState):
2035         (WebCore::RenderBlock::leftRelOffset):
2036         (WebCore::RenderBlock::rightRelOffset):
2037         (WebCore::RenderBlock::leftBottom):
2038         (WebCore::RenderBlock::rightBottom):
2039         (WebCore::RenderBlock::addOverhangingFloats):
2040         (WebCore::RenderBlock::addIntrudingFloats):
2041         * rendering/RenderBlock.h:
2042         (WebCore::RenderBlock::selectionState):
2043         (WebCore::RenderBlock::FloatingObject::FloatingObject):
2044         (WebCore::RenderBlock::FloatingObject::type):
2045         * rendering/RenderTable.h:
2046         (WebCore::RenderTable::getRules):
2047         * rendering/bidi.cpp:
2048         (khtml::BidiContext::BidiContext):
2049         (khtml::operator==):
2050         (khtml::embed):
2051         (khtml::RenderBlock::computeHorizontalPositionsForLine):
2052         (khtml::RenderBlock::bidiReorderLine):
2053         (khtml::RenderBlock::layoutInlineChildren):
2054         * rendering/bidi.h:
2055         (khtml::BidiContext::dir):
2056         (khtml::BidiContext::basicDir):
2057         (khtml::BidiRun::BidiRun):
2058         * rendering/render_canvasimage.h:
2059         * rendering/render_layer.h:
2060         (WebCore::Marquee::whiteSpace):
2061         * rendering/render_object.cpp:
2062         (WebCore::RenderObject::paintBorderImage):
2063         * rendering/render_replaced.cpp:
2064         (WebCore::RenderWidget::setSelectionState):
2065         * rendering/render_replaced.h:
2066         (WebCore::RenderReplaced::selectionState):
2067         * rendering/render_style.cpp:
2068         (WebCore::RenderStyle::getPseudoStyle):
2069         * rendering/render_style.h:
2070         (khtml::BorderValue::BorderValue):
2071         (khtml::BorderValue::style):
2072         (khtml::BorderValue::nonZero):
2073         (khtml::BorderValue::operator==):
2074         (khtml::OutlineValue::operator==):
2075         (khtml::CollapsedBorderValue::style):
2076         (khtml::BorderImage::horizontalRule):
2077         (khtml::BorderImage::verticalRule):
2078         (khtml::BorderData::borderLeftWidth):
2079         (khtml::BorderData::borderRightWidth):
2080         (khtml::BorderData::borderTopWidth):
2081         (khtml::BorderData::borderBottomWidth):
2082         (khtml::BackgroundLayer::backgroundClip):
2083         (khtml::BackgroundLayer::backgroundOrigin):
2084         (khtml::BackgroundLayer::backgroundRepeat):
2085         (khtml::RenderStyle::styleType):
2086         (khtml::RenderStyle::display):
2087         (khtml::RenderStyle::originalDisplay):
2088         (khtml::RenderStyle::position):
2089         (khtml::RenderStyle::floating):
2090         (khtml::RenderStyle::borderLeftStyle):
2091         (khtml::RenderStyle::borderLeftColor):
2092         (khtml::RenderStyle::borderRightStyle):
2093         (khtml::RenderStyle::borderRightColor):
2094         (khtml::RenderStyle::borderTopStyle):
2095         (khtml::RenderStyle::borderTopColor):
2096         (khtml::RenderStyle::borderBottomStyle):
2097         (khtml::RenderStyle::borderBottomColor):
2098         (khtml::RenderStyle::outlineWidth):
2099         (khtml::RenderStyle::outlineStyle):
2100         (khtml::RenderStyle::overflow):
2101         (khtml::RenderStyle::visibility):
2102         (khtml::RenderStyle::verticalAlign):
2103         (khtml::RenderStyle::unicodeBidi):
2104         (khtml::RenderStyle::clear):
2105         (khtml::RenderStyle::tableLayout):
2106         (khtml::RenderStyle::textAlign):
2107         (khtml::RenderStyle::textTransform):
2108         (khtml::RenderStyle::direction):
2109         (khtml::RenderStyle::whiteSpace):
2110         (khtml::RenderStyle::backgroundRepeat):
2111         (khtml::RenderStyle::backgroundClip):
2112         (khtml::RenderStyle::backgroundOrigin):
2113         (khtml::RenderStyle::emptyCells):
2114         (khtml::RenderStyle::captionSide):
2115         (khtml::RenderStyle::listStyleType):
2116         (khtml::RenderStyle::listStylePosition):
2117         (khtml::RenderStyle::cursor):
2118         (khtml::RenderStyle::pageBreakInside):
2119         (khtml::RenderStyle::pageBreakBefore):
2120         (khtml::RenderStyle::pageBreakAfter):
2121         (khtml::RenderStyle::outlineOffset):
2122         (khtml::RenderStyle::appearance):
2123         (khtml::RenderStyle::boxAlign):
2124         (khtml::RenderStyle::boxDirection):
2125         (khtml::RenderStyle::boxLines):
2126         (khtml::RenderStyle::boxOrient):
2127         (khtml::RenderStyle::boxPack):
2128         (khtml::RenderStyle::boxSizing):
2129         (khtml::RenderStyle::marqueeBehavior):
2130         (khtml::RenderStyle::marqueeDirection):
2131         (khtml::RenderStyle::userModify):
2132         (khtml::RenderStyle::userDrag):
2133         (khtml::RenderStyle::userSelect):
2134         (khtml::RenderStyle::marginTopCollapse):
2135         (khtml::RenderStyle::marginBottomCollapse):
2136         (khtml::RenderStyle::wordWrap):
2137         (khtml::RenderStyle::nbspMode):
2138         (khtml::RenderStyle::khtmlLineBreak):
2139         (khtml::RenderStyle::matchNearestMailBlockquoteColor):
2140         (khtml::RenderStyle::setBorderLeftWidth):
2141         (khtml::RenderStyle::setBorderLeftStyle):
2142         (khtml::RenderStyle::setBorderLeftColor):
2143         (khtml::RenderStyle::setBorderRightWidth):
2144         (khtml::RenderStyle::setBorderRightStyle):
2145         (khtml::RenderStyle::setBorderRightColor):
2146         (khtml::RenderStyle::setBorderTopWidth):
2147         (khtml::RenderStyle::setBorderTopStyle):
2148         (khtml::RenderStyle::setBorderTopColor):
2149         (khtml::RenderStyle::setBorderBottomWidth):
2150         (khtml::RenderStyle::setBorderBottomStyle):
2151         (khtml::RenderStyle::setBorderBottomColor):
2152         (khtml::RenderStyle::setOutlineWidth):
2153         (khtml::RenderStyle::setOutlineStyle):
2154         (khtml::RenderStyle::pseudoState):
2155
2156 2006-03-05  Geoffrey Garen  <ggaren@apple.com>
2157
2158         - Rolled out the fix for <rdar://problem/4467143> because it's the
2159         wrong approach. Maciej and I discussed this on IRC.
2160
2161         * khtml/ecma/kjs_dom.cpp:
2162         (KJS::): Don't use classInfo to express prototype inheritance.
2163         classInfo is only for representing a c++ superclass relationship.
2164
2165 2006-03-05  Eric Seidel  <eseidel@apple.com>
2166
2167         Move improperly placed #endif causing no-svg build to fail.
2168
2169         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
2170
2171 2006-03-05  Alexander Kellett  <lypanov@kde.org>
2172
2173         Reviewed by Eric.
2174
2175         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6890
2176           and http://bugzilla.opendarwin.org/show_bug.cgi?id=6951
2177           by being more tolerant towards invalid points data
2178
2179         - new tests:
2180           svg/custom/polyline-setattribute-points-null.svg
2181           svg/custom/polyline-invalid-points.svg
2182
2183         * ksvg2/svg/svgpathparser.cpp:
2184         (SVGPolyParser::parsePoints):
2185
2186 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
2187
2188         Rubber stamped by Eric.
2189
2190         - remove no longer used KDOMSettings and KSVGSettings
2191
2192         * WebCore+SVG/KDOMSettings.cpp: Removed.
2193         * WebCore+SVG/KDOMSettings.h: Removed.
2194         * WebCore.xcodeproj/project.pbxproj:
2195         * ksvg2/KSVGSettings.h: Removed.
2196         * ksvg2/svg/SVGStyledElementImpl.cpp:
2197
2198 2006-03-05  Eric Seidel  <eseidel@apple.com>
2199
2200         Reviewed by mjs.
2201
2202         * platform/Font.cpp:
2203         (WebCore::Font::update): remove extra ref causing large leak.
2204
2205 2006-03-04  Eric Seidel  <eseidel@apple.com>
2206
2207         Reviewed by hyatt.
2208
2209         Re-work ImageViewer to use GraphicsContext.
2210         Add GraphicsContext(cairo_t*) constructor to make double-buffering easier.
2211         Add one more stub to prevent slashdot from crashing.
2212         Also fixed win32 build after Font change.
2213
2214         * Viewer.vcproj:
2215         * Viewer/ImageView.cpp:
2216         * platform/Color.h:
2217         * platform/GraphicsContext.h:
2218         * platform/cairo/GraphicsContextCairo.cpp:
2219         (WebCore::GraphicsContext::GraphicsContext):
2220         * platform/win/TemporaryLinkStubs.cpp:
2221         (FrameWin::createPlugin):
2222         (BrowserExtensionWin::setTypedIconURL):
2223
2224 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2225
2226         Reviewed by Darin, landed by ap.
2227
2228         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4840
2229           Frames only resize wider, can't make them narrower
2230
2231         * khtml/html/html_baseimpl.cpp:
2232         (WebCore::HTMLFrameSetElementImpl::HTMLFrameSetElementImpl): Removed unused m_resizing flag.
2233         * khtml/html/html_baseimpl.h:
2234         * manual-tests/bugzilla-4840.html: Added.
2235         * page/FrameView.cpp:
2236         (WebCore::FrameViewPrivate::reset):
2237         (WebCore::FrameView::viewportMouseMoveEvent):
2238         (WebCore::FrameView::viewportMouseReleaseEvent):
2239         (WebCore::FrameView::setResizingFrameSet): New method. When a resizing frameset is set,
2240         mouse move and mouse release events target it instead of hit-testing.
2241         * page/FrameView.h:
2242         * rendering/render_frames.cpp:
2243         (WebCore::RenderFrameSet::setResizing): Inform the FrameView that we are resizing (or not).
2244
2245 2006-03-04  David Hyatt  <hyatt@apple.com>
2246
2247         Fix for bug 7586, eliminate QFontMetrics.
2248
2249         Reviewed by eric
2250
2251         * WebCore.xcodeproj/project.pbxproj:
2252         * css/css_valueimpl.cpp:
2253         (WebCore::CSSPrimitiveValueImpl::computeLengthFloat):
2254         * ksvg2/svg/SVGLengthImpl.cpp:
2255         (SVGLengthImpl::updateValue):
2256         * kwq/KWQFontMetrics.h: Removed.
2257         * kwq/KWQFontMetrics.mm: Removed.
2258         * platform/Font.cpp:
2259         (WebCore::m_wordSpacing):
2260         (WebCore::Font::Font):
2261         (WebCore::Font::operator=):
2262         (WebCore::Font::~Font):
2263         (WebCore::Font::update):
2264         (WebCore::Font::width):
2265         * platform/Font.h:
2266         (WebCore::Font::operator==):
2267         (WebCore::Font::width):
2268         (WebCore::Font::height):
2269         * platform/FontRenderer.h: Added.
2270         (WebCore::FontRenderer::isFixedPitch):
2271         * platform/GraphicsContext.h:
2272         * platform/mac/FontMac.mm: Added.
2273         (WebCore::m_renderer):
2274         (WebCore::FontRenderer::getWebCoreFont):
2275         (WebCore::FontRenderer::getRenderer):
2276         (WebCore::FontRenderer::determinePitch):
2277         (WebCore::FontRenderer::update):
2278         (WebCore::Font::getWebCoreFont):
2279         (WebCore::Font::ascent):
2280         (WebCore::Font::descent):
2281         (WebCore::Font::lineSpacing):
2282         (WebCore::Font::xHeight):
2283         (WebCore::Font::isFixedPitch):
2284         (WebCore::Font::selectionRectForText):
2285         (WebCore::Font::drawHighlightForText):
2286         (WebCore::Font::drawText):
2287         (WebCore::Font::floatWidth):
2288         (WebCore::Font::checkSelectionPoint):
2289         * platform/mac/GraphicsContextMac.mm:
2290         * rendering/InlineTextBox.h:
2291         * rendering/RenderBlock.cpp:
2292         (WebCore::stripTrailingSpace):
2293         * rendering/RenderText.cpp:
2294         (WebCore::RenderText::trimmedMinMaxWidth):
2295         * rendering/RenderText.h:
2296         * rendering/RenderTextField.cpp:
2297         (WebCore::RenderTextField::calcMinMaxWidth):
2298         * rendering/bidi.cpp:
2299         (khtml::RenderBlock::tabWidth):
2300         (khtml::RenderBlock::checkLinesForTextOverflow):
2301         * rendering/render_box.cpp:
2302         (WebCore::RenderBox::caretRect):
2303         * rendering/render_br.cpp:
2304         (WebCore::RenderBR::lineHeight):
2305         * rendering/render_flow.cpp:
2306         (WebCore::RenderFlow::lineHeight):
2307         (WebCore::RenderFlow::caretRect):
2308         * rendering/render_image.cpp:
2309         (WebCore::RenderImage::imageChanged):
2310         (WebCore::RenderImage::paint):
2311         * rendering/render_line.cpp:
2312         (WebCore::InlineFlowBox::placeBoxesVertically):
2313         * rendering/render_list.cpp:
2314         (WebCore::toHebrew):
2315         (WebCore::RenderListMarker::paint):
2316         (WebCore::RenderListMarker::calcMinMaxWidth):
2317         (WebCore::RenderListMarker::baselinePosition):
2318         (WebCore::RenderListMarker::getRelativeMarkerRect):
2319         * rendering/render_object.cpp:
2320         (WebCore::RenderObject::getVerticalPosition):
2321         (WebCore::RenderObject::lineHeight):
2322         (WebCore::RenderObject::baselinePosition):
2323         * rendering/render_object.h:
2324         * rendering/render_style.h:
2325
2326 2006-03-04  Eric Seidel  <eseidel@apple.com>
2327
2328         Reviewed by ggaren.
2329
2330         Add urlSelected stub, adjust font metrics, and fix view size/move bug.
2331
2332         * platform/win/TemporaryLinkStubs.cpp:
2333         (MouseEvent::MouseEvent):
2334         (FrameWin::urlSelected):
2335         (QFontMetrics::height):
2336         (QFontMetrics::xHeight):
2337         (QFontMetrics::ascent):
2338         (QFontMetrics::descent):
2339         (ScrollView::resizeContents):
2340         (ScrollView::setContentsPos):
2341
2342 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
2343
2344         Reviewed by Eric.
2345
2346         - stop background image loads from crashing
2347
2348         * platform/cairo/GraphicsContextCairo.cpp:
2349         (WebCore::GraphicsContext::drawTiledImage):
2350         (WebCore::GraphicsContext::drawScaledAndTiledImage):
2351
2352         - fix termination condition on file load loop
2353
2354         * platform/win/TransferJobWin.cpp:
2355         (WebCore::TransferJob::fileLoadTimer):
2356
2357 2006-03-04  Geoffrey Garen  <ggaren@apple.com>
2358
2359         Reviewed by Darin.
2360
2361         - Fixed <rdar://problem/4467143> JavaScript enumeration of HTML 
2362         element properties skips DOM node properties
2363
2364         No test case yet because this is a preliminary step toward enabling my
2365         uber test case for DOM support, which will cover this.
2366
2367         * khtml/ecma/kjs_dom.cpp:
2368         (KJS::): Make DOMNode's classinfo reflect inheritance from 
2369         DOMNodeProto, so a for in enumeration can properly walk the 
2370         inheritance chain.
2371         * khtml/ecma/kjs_html.cpp:
2372         (KJS::): Used a script to sort classInfo data alphbetically.
2373         (KJS::KJS::HTMLElement::classInfo): Ditto.
2374
2375 2006-03-04  Maciej Stachowiak  <mjs@apple.com
2376
2377         Reviewed by Eric.
2378
2379          - fix mistake in TransferJob::start that made it cause a crash
2380         on non-file URLs
2381
2382         * platform/win/TransferJobWin.cpp:
2383         (WebCore::TransferJob::start):
2384
2385 2006-03-04  Maciej Stachowiak  <mjs@apple.com
2386
2387         Reviewed by Eric.
2388
2389         - make TransferJobWin handle file: URLs, and fix other bugs
2390         as needed to make local file image loads work
2391         http://bugzilla.opendarwin.org/show_bug.cgi?id=7587
2392
2393         * WebCore.vcproj/WebCore/WebCore.vcproj: add TransferJobWin
2394         to build.
2395         * bridge/win/FrameWin.cpp:
2396         (WebCore::FrameWin::FrameWin): Set autoLoadImages to true.
2397         * platform/TransferJob.cpp:
2398         (WebCore::TransferJob::TransferJob): Pass this to internal
2399         constructor, so windows version can initialize timer
2400         * platform/TransferJob.h:
2401         * platform/TransferJobInternal.h:
2402         (WebCore::TransferJobInternal::TransferJobInternal): On windows,
2403         prepare a timer for file loads.
2404         * platform/cairo/GraphicsContextCairo.cpp:
2405         (WebCore::GraphicsContext::drawFloatImage): If passed-in context
2406         is null, use our built-in context (this is probably not the best,
2407         but should work for now).
2408         * platform/win/TemporaryLinkStubs.cpp:
2409         (FrameWin::issueRedoCommand): Don't break.
2410         (WebCore::TransferJob::assembleResponseHeaders): ditto
2411         (FrameWin::saveDocumentState): ditto
2412         (FrameWin::clearUndoRedoOperations): ditto
2413         * platform/win/TransferJobWin.cpp:
2414         (WebCore::TransferJobInternal::~TransferJobInternal): Close file
2415         handle if we have one.
2416         (WebCore::TransferJob::~TransferJob): Empty.
2417         (WebCore::TransferJob::start): Open a windows file handle.
2418         (WebCore::TransferJob::fileLoadTimer): Load from windows file
2419         handle.
2420         (WebCore::TransferJob::cancel): Stop timer and close windows file 
2421         handle if present.
2422
2423 2006-03-03  Eric Seidel  <eseidel@apple.com>
2424
2425         Reviewed by hyatt.
2426
2427         Fix QString crasher on Win32, also remove c-style casts from file.
2428         Add a few more stubs to allow more layout tests to not crash.
2429         Make dlls only copy when changed.
2430         Add RenderThemeWin stubs.
2431
2432         * WebCore.vcproj/WebCore/WebCore.vcproj:
2433         * WebCore.vcproj/WebCore/build-generated-files.sh:
2434         * platform/QString.cpp:
2435         (QString::stripWhiteSpace):
2436         (QString::simplifyWhiteSpace):
2437         (QString::setLatin1):
2438         (QString::sprintf):
2439         (QString::insert):
2440         (QString::fill):
2441         * platform/win/TemporaryLinkStubs.cpp:
2442         (WebCore::usableScreenRect):
2443         (FrameWin::respondToChangedContents):
2444         (FrameWin::unfocusWindow):
2445         (FrameWin::locationbarVisible):
2446         (FrameWin::clearUndoRedoOperations):
2447         (FrameWin::issueRedoCommand):
2448         (FrameWin::canRedo):
2449         (FrameWin::canUndo):
2450         (FrameWin::saveDocumentState):
2451         (FrameWin::print):
2452         (FrameWin::issueCutCommand):
2453         (FrameWin::issueCopyCommand):
2454         (FrameWin::issueUndoCommand):
2455         (FrameWin::mimeTypeForFileName):
2456         (FrameWin::clearRecordedFormValues):
2457         (FrameWin::issuePasteCommand):
2458         (FrameWin::scheduleClose):
2459         (FrameWin::menubarVisible):
2460         (FrameWin::personalbarVisible):
2461         (FrameWin::statusbarVisible):
2462         (FrameWin::toolbarVisible):
2463         (FrameWin::issueTransposeCommand):
2464         (FrameWin::canPaste):
2465         (FrameWin::incomingReferrer):
2466         (FrameWin::canGoBackOrForward):
2467         (FrameWin::issuePasteAndMatchStyleCommand):
2468         (FrameWin::createPlugin):
2469         (BrowserExtensionWin::getHistoryLength):
2470         (BrowserExtensionWin::canRunModal):
2471         (BrowserExtensionWin::openURLNotify):
2472         (BrowserExtensionWin::canRunModalNow):
2473         (BrowserExtensionWin::runModal):
2474         (QListBox::setFont):
2475         (WebCore::TransferJob::assembleResponseHeaders):
2476         (WebCore::TransferJob::~TransferJob):
2477         (QFontMetrics::QFontMetrics):
2478         (QFontMetrics::lineSpacing):
2479         (QFontMetrics::xHeight):
2480         (QFontMetrics::ascent):
2481         (FrameWin::shouldChangeSelection):
2482         (FrameWin::generateFrameName):
2483         (FrameWin::createFrame):
2484         (RenderThemeWin::paintCheckbox):
2485         (RenderThemeWin::paintRadio):
2486         (RenderThemeWin::paintButton):
2487         (RenderThemeWin::paintTextField):
2488         * rendering/RenderThemeWin.cpp: Added.
2489         (WebCore::theme):
2490         * rendering/RenderThemeWin.h: Added.
2491
2492 2006-03-03  Geoffrey Garen  <ggaren@apple.com>
2493
2494         Test case for <rdar://problem/4465598> REGRESSION (TOT): Crash occurs at 
2495         http://maps.google.com/?output=html ( KJS::Identifier::add(KJS::UString::Rep*)
2496
2497         * manual-tests/property-map-save-crash.html: Added.
2498
2499 2006-03-03  Eric Seidel  <eseidel@apple.com>
2500
2501         Reviewed by adele.
2502
2503         Fix clearly bogus cairo elipse drawing code.
2504         Make QFontMetrics stubs slightly more sane.
2505
2506         * platform/cairo/GraphicsContextCairo.cpp:
2507         (WebCore::GraphicsContext::drawEllipse):
2508         * platform/win/TemporaryLinkStubs.cpp:
2509         (QFontMetrics::floatWidth):
2510         (QFontMetrics::height):
2511         (QFontMetrics::width):
2512         (QFontMetrics::isFixedPitch):
2513
2514 2006-03-03  Darin Adler  <darin@apple.com>
2515
2516         Reviewed by Eric.
2517
2518         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7480
2519           non-HTML elems w/o children in HTML docs get serialized self-closing
2520         - fix problem where the HTML tokenizer would discard the first newline after </pre>
2521
2522         Test: fast/innerHTML/innerHTML-custom-tag.html
2523
2524         * editing/markup.cpp: (WebCore::shouldSelfClose): Refined rule so that it doesn't
2525         try to do any self-closing tags in HTML documents at all; updated comment.
2526
2527         * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::parseTag): Added a check
2528         of beginTag in the <pre> tag case. We were accidentally discarding a newline after
2529         a </pre> tag.
2530
2531 2006-03-03  Maciej Stachowiak  <mjs@apple.com>
2532
2533         Rubber stamped by Eric.
2534
2535         - add new files to build, fix link stubs.
2536
2537         * WebCore.vcproj/WebCore/WebCore.vcproj:
2538         * platform/win/TemporaryLinkStubs.cpp:
2539         (KWQKCookieJar::cookieEnabled):
2540         (WebCore::TransferJob::retrieveCharset):
2541         (WebCore::TransferJob::assembleResponseHeaders):
2542         (WebCore::TransferJob::~TransferJob):
2543         * platform/win/TransferJobWin.cpp: Added.
2544
2545 2006-03-03  Maciej Stachowiak  <mjs@apple.com>
2546
2547         - add file I forgot in my last commit.
2548
2549         * platform/TransferJobInternal.h: Added.
2550         (WebCore::TransferJobInternal::TransferJobInternal):
2551
2552 2006-03-03  Eric Seidel  <eseidel@apple.com>
2553
2554         Reviewed by mjs.
2555
2556         Wire up WidgetWin, CursorWin, ScrollViewWin.
2557         Stub out methods for selection and cursors.
2558
2559         * Viewer/ImageDocument.h:
2560         * WebCore.vcproj/WebCore/WebCore.vcproj:
2561         * bridge/win/FrameWin.cpp:
2562         * khtml/ecma/kjs_proxy.cpp:
2563         (WebCore::KJSProxyImpl::initScriptIfNeeded):
2564         * platform/IntRect.h:
2565         (WebCore::IntRect::IntRect):
2566         * platform/Widget.h:
2567         * platform/win/CursorWin.cpp:
2568         (WebCore::eastResizeCursor):
2569         (WebCore::northResizeCursor):
2570         (WebCore::northEastResizeCursor):
2571         (WebCore::northWestResizeCursor):
2572         (WebCore::southResizeCursor):
2573         (WebCore::southEastResizeCursor):
2574         (WebCore::southWestResizeCursor):
2575         (WebCore::westResizeCursor):
2576         * platform/win/IntRectWin.cpp:
2577         (WebCore::IntRect::IntRect):
2578         (WebCore::IntRect::operator RECT):
2579         * platform/win/MouseEventWin.cpp:
2580         * platform/win/ScrollViewWin.cpp: Added.
2581         (WebCore::ScrollView::updateContents):
2582         * platform/win/TemporaryLinkStubs.cpp:
2583         (QTextEdit::textWithHardLineBreaks):
2584         (QLineEdit::setPlaceholderString):
2585         (QScrollBar::scroll):
2586         (GraphicsContext::beginTransparencyLayer):
2587         (Widget::setIsSelected):
2588         (QLineEdit::selectedText):
2589         (QComboBox::sizeHint):
2590         (KWQFileButton::focusPolicy):
2591         (QTextEdit::focusPolicy):
2592         (QSlider::focusPolicy):
2593         (QListBox::focusPolicy):
2594         (QLineEdit::focusPolicy):
2595         (WebCore::moveCursor):
2596         (ScrollView::scrollBy):
2597         (KWQKCookieJar::cookieEnabled):
2598         (WebCore::TransferJob::TransferJob):
2599         (WebCore::screenDepth):
2600         (WebCore::usableScreenRect):
2601         (FrameWin::getObjectInstanceForWidget):
2602         (FrameWin::getEmbedInstanceForWidget):
2603         (FrameWin::getAppletInstanceForWidget):
2604         (FrameWin::passMouseDownEventToWidget):
2605         (FrameWin::issuePasteCommand):
2606         (FrameWin::issueTransposeCommand):
2607         (QSlider::setFont):
2608         (QLineEdit::setFont):
2609         (QListBox::setFont):
2610         (QFontMetrics::QFontMetrics):
2611         (QComboBox::setFont):
2612         (QTextEdit::setFont):
2613         (QTextEdit::setWritingDirection):
2614         (QFontMetrics::setFontDescription):
2615         (QFontMetrics::checkSelectionPoint):
2616         (FrameWin::addMessageToConsole):
2617         (FrameWin::shouldChangeSelection):
2618         (ScrollView::resizeContents):
2619         (ScrollView::visibleHeight):
2620         (ScrollView::visibleWidth):
2621         (ScrollView::setContentsPos):
2622         (ScrollView::contentsX):
2623         (ScrollView::contentsY):
2624         (ScrollView::contentsHeight):
2625         (ScrollView::contentsWidth):
2626         (ScrollView::viewportToContents):
2627         * platform/win/WidgetWin.cpp: Added.
2628         (WebCore::Widget::Widget):
2629         (WebCore::Widget::~Widget):
2630         (WebCore::Widget::windowHandle):
2631         (WebCore::Widget::setWindowHandle):
2632         (WebCore::Widget::setActiveWindow):
2633         (WebCore::Widget::frameGeometry):
2634         (WebCore::Widget::hasFocus):
2635         (WebCore::Widget::setFocus):
2636         (WebCore::Widget::clearFocus):
2637         (WebCore::Widget::font):
2638         (WebCore::Widget::setFont):
2639         (WebCore::Widget::setCursor):
2640         (WebCore::Widget::show):
2641         (WebCore::Widget::hide):
2642         (WebCore::Widget::setFrameGeometry):
2643         (WebCore::Widget::mapFromGlobal):
2644
2645 2006-03-03  Maciej Stachowiak  <mjs@apple.com>
2646
2647         Reviewed by Eric.
2648
2649         - move TransferJob from kwq to platform, separate platform from non-platform bits
2650
2651         * ForwardingHeaders/kio/job.h: Removed.
2652         * ForwardingHeaders/kio/jobclasses.h: Removed.
2653         * WebCore.xcodeproj/project.pbxproj:
2654         * bridge/mac/MacFrame.mm:
2655         * dom/xml_tokenizer.cpp:
2656         * khtml/xsl/xslt_processorimpl.cpp:
2657         * kwq/KWQKJobClasses.h: Removed.
2658         * kwq/KWQKJobClasses.mm: Removed.
2659         * kwq/KWQLoader.mm:
2660         * kwq/KWQResourceLoader.mm:
2661         * kwq/TransferJobClient.h: Removed.
2662         * loader/Cache.cpp:
2663         * loader/loader.cpp:
2664         * page/Frame.cpp:
2665         * platform/TransferJob.cpp: Added.
2666         (WebCore::TransferJob::TransferJob):
2667         (WebCore::TransferJob::queryMetaData):
2668         (WebCore::TransferJob::addMetaData):
2669         * platform/TransferJob.h: Added.
2670         * platform/TransferJobClient.h: Added.
2671         * platform/mac/TransferJobMac.mm: Added.
2672         (WebCore::TransferJobInternal::~TransferJobInternal):
2673         (WebCore::TransferJob::retrieveCharset):
2674         (WebCore::TransferJob::cancel):
2675         * xml/xmlhttprequest.cpp:
2676
2677 2006-03-03  Maciej Stachowiak  <mjs@apple.com>
2678
2679         Reviewed by Eric.
2680
2681         - enough link stubs to "display" local copy of WebKit site w/o hitting breakpoint
2682
2683         * platform/win/TemporaryLinkStubs.cpp:
2684         (QLineEdit::setReadOnly):
2685         (QTextEdit::setCursorPosition):
2686         (QLineEdit::setCursorPosition):
2687         (QFontMetrics::width):
2688         (GraphicsContext::drawText):
2689         (GraphicsContext::drawLineForText):
2690
2691 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
2692
2693         Rubber stamped by Eric.
2694
2695         - remove function that is now gone
2696
2697         * platform/win/TemporaryLinkStubs.cpp:
2698
2699 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
2700
2701         Reviewed by Eric.
2702         
2703         - move logic to kick off load from KWQLoader function to a TransferJob method
2704
2705         * kwq/KWQKJobClasses.h:
2706         * kwq/KWQKJobClasses.mm:
2707         (WebCore::TransferJob::start):
2708         * kwq/KWQLoader.h:
2709         * kwq/KWQLoader.mm:
2710         * loader/loader.cpp:
2711         (WebCore::Loader::servePendingRequests):
2712         * xml/xmlhttprequest.cpp:
2713         (WebCore::XMLHttpRequest::send):
2714
2715 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
2716
2717         Rubber stamped by Eric.
2718
2719         - remove unused loader parameter to KWQServeRequest.
2720
2721         * kwq/KWQLoader.h:
2722         * kwq/KWQLoader.mm:
2723         (KWQServeRequest):
2724         * loader/loader.cpp:
2725         (WebCore::Loader::servePendingRequests):
2726         * xml/xmlhttprequest.cpp:
2727         (WebCore::XMLHttpRequest::send):
2728
2729 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
2730
2731         Reviewed by Eric.
2732
2733         - remove one of the versions of KWQServeRequest.
2734
2735         * kwq/KWQLoader.h:
2736         * kwq/KWQLoader.mm:
2737         * loader/loader.cpp:
2738         (WebCore::Loader::servePendingRequests):
2739         * platform/win/TemporaryLinkStubs.cpp:
2740         (Widget::isEnabled):
2741         (KWQServeRequest):
2742
2743 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
2744
2745         Rubber stamped by Eric.
2746
2747         - win32 build fix.
2748
2749         * platform/win/MouseEventWin.cpp:
2750
2751 2006-03-02  Justin Garcia  <justin.garcia@apple.com>
2752
2753         Reviewed by eric
2754         
2755         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3894>
2756         uses of <cmath> should change to <math>
2757
2758         * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
2759         * ksvg2/svg/SVGAnimationElementImpl.cpp:
2760         * ksvg2/svg/SVGHelper.cpp:
2761         * ksvg2/svg/SVGLengthImpl.cpp:
2762
2763 2006-03-02  Andrew Wellington  <proton@wiretapped.net>
2764
2765         Reviewed by Darin, landed by Beth
2766
2767         Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3230
2768         CSS1: Words with inline elements get extra capital letters
2769
2770         Does not use UBreakIterator (yet?) for this, but a relatively
2771         simple change that fixes our failure in the CSS1 test suite 
2772         (5.4.5).
2773
2774         * platform/StringImpl.cpp:
2775         (WebCore::StringImpl::capitalize): Specify if this is a run-on
2776         * platform/StringImpl.h:
2777         * rendering/RenderContainer.cpp:
2778         (WebCore::RenderContainer::addChild): Change to re-run 
2779         capitalisation when added into tree as previous text node changes
2780         * rendering/RenderText.cpp:
2781         (WebCore::RenderText::setText): Check if previous node is text that
2782         doesn't end in a space
2783
2784 2006-03-02  Justin Garcia  <justin.garcia@apple.com>
2785
2786         Reviewed by sullivan
2787         
2788         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7542>
2789         REGRESSION: (r13028) Scrolling causes incomplete drawing of <ul> bullets
2790
2791         * rendering/render_list.cpp:
2792         (WebCore::RenderListMarker::paint):
2793
2794 2006-03-02  Eric Seidel  <eseidel@apple.com>
2795
2796         Reviewed by ggaren.
2797
2798         Add (partially stubbed out) mouse event handling for Win32.
2799
2800         * WebCore.vcproj/WebCore/WebCore.vcproj:
2801         * platform/IntPoint.h:
2802         * platform/MouseEvent.h:
2803         * platform/win/IntPointWin.cpp: Added.
2804         (WebCore::IntPoint::IntPoint):
2805         (WebCore::IntPoint::operator POINT):
2806         * platform/win/MouseEventWin.cpp: Added.
2807         (WebCore::MouseEvent::MouseEvent):
2808         * platform/win/TemporaryLinkStubs.cpp:
2809         (QLineEdit::setMaxLength):
2810         (ScrollView::scrollBy):
2811         (WebCore::Widget::setFocus):
2812         (FrameWin::respondToChangedSelection):
2813         (FrameWin::runJavaScriptPrompt):
2814         (FrameWin::recordFormValue):
2815         (FrameWin::registerCommandForRedo):
2816         (FrameWin::runJavaScriptAlert):
2817         (FrameWin::runJavaScriptConfirm):
2818         (FrameWin::openURL):
2819         (FrameWin::registerCommandForUndo):
2820         (FrameWin::addMessageToConsole):
2821         (FrameWin::mimeTypeForFileName):
2822         (FrameWin::shouldChangeSelection):
2823         (FrameWin::markMisspellingsInAdjacentWords):
2824         (FrameWin::markMisspellings):
2825         (FrameWin::personalbarVisible):
2826         (FrameWin::objectContentType):
2827         (FrameWin::createFrame):
2828         (FrameWin::createPlugin):
2829         (BrowserExtensionWin::setTypedIconURL):
2830         (BrowserExtensionWin::getHistoryLength):
2831         (BrowserExtensionWin::canRunModal):
2832         (BrowserExtensionWin::openURLNotify):
2833         (BrowserExtensionWin::createNewWindow):
2834         (BrowserExtensionWin::canRunModalNow):
2835         (BrowserExtensionWin::runModal):
2836         (BrowserExtensionWin::goBackOrForward):
2837         (BrowserExtensionWin::setIconURL):
2838         (FrameWin::passSubframeEventToSubframe):
2839         (FrameWin::lastEventIsMouseUp):
2840         (BrowserExtensionWin::BrowserExtensionWin):
2841         (Widget::setCursor):
2842         (ScrollView::visibleHeight):
2843         (ScrollView::visibleWidth):
2844         (ScrollView::setContentsPos):
2845         (ScrollView::contentsX):
2846         (ScrollView::contentsY):
2847         (ScrollView::contentsHeight):
2848         (ScrollView::contentsWidth):
2849         (ScrollView::viewportToContents):
2850         (TransferJob::TransferJob):
2851         (TransferJob::addMetaData):
2852
2853 2006-03-02  Justin Garcia  <justin.garcia@apple.com>
2854
2855         Reviewed by mjs
2856         
2857         <http://tinymce.moxiecode.com/example_full.php?example=true>
2858         TinyMCE: Undo still enabled after a location change, crashes if performed
2859         
2860         Can't clear undo/redo operations registered by subframes in didOpenURL,
2861         because subframes have already been detached.
2862
2863         * page/Frame.cpp:
2864         (WebCore::Frame::didOpenURL):
2865         (WebCore::Frame::closeURL):
2866
2867 2006-03-01  Maciej Stachowiak  <mjs@apple.com>
2868
2869         Reviewed by Darin.
2870
2871         - WebCore updates for "Set up new prototype macros and avoid using #if without defined() in JSC"
2872         http://bugzilla.opendarwin.org/show_bug.cgi?id=7387
2873         
2874         Add Platform.h 
2875
2876         * ForwardingHeaders/kxmlcore/Platform.h: Added.
2877         * bridge/mac/WebCoreFrameNamespaces.m:
2878         * bridge/mac/WebCoreViewFactory.m:
2879         * bridge/mac/WebDashboardRegion.m:
2880         * config.h:
2881         * platform/Logging.cpp:
2882         * platform/mac/ScrollViewMac.mm:
2883         (WebCore::ScrollView::addChild):
2884         * platform/mac/WebCoreCookieAdapter.m:
2885         * platform/mac/WebCoreGraphicsBridge.m:
2886         * platform/mac/WebCoreHistory.m:
2887         * platform/mac/WebCoreImageRendererFactory.m:
2888         * platform/mac/WebCoreKeyGenerator.m:
2889         * platform/mac/WebCoreView.m:
2890
2891 2006-03-02  Eric Seidel  <eseidel@apple.com>
2892
2893         * WebCore.xcodeproj/project.pbxproj: update GraphicsContext.cpp path to fix build
2894
2895 2006-03-01  Eric Seidel  <eseidel@apple.com>
2896
2897         Reviewed by andersca.
2898
2899         Add first-stab GraphicsContextCairo.
2900         Shuffle a few more link stubs around, remove uncessary WebCore::
2901
2902         * WebCore.vcproj/WebCore/WebCore.vcproj:
2903         * platform/GraphicsContext.cpp: Added.
2904         * platform/GraphicsContext.h:
2905         * platform/cairo/GraphicsContextCairo.cpp:
2906         (WebCore::GraphicsContextState::GraphicsContextState):
2907         (WebCore::setColor):
2908         (WebCore::fillRectSourceOver):
2909         (WebCore::GraphicsContextPrivate::GraphicsContextPrivate):
2910         (WebCore::GraphicsContextPrivate::~GraphicsContextPrivate):
2911         (WebCore::GraphicsContext::GraphicsContext):
2912         (WebCore::GraphicsContext::~GraphicsContext):
2913         (WebCore::GraphicsContext::pen):
2914         (WebCore::GraphicsContext::setPen):
2915         (WebCore::GraphicsContext::setBrush):
2916         (WebCore::GraphicsContext::brush):
2917         (WebCore::GraphicsContext::save):
2918         (WebCore::GraphicsContext::restore):
2919         (WebCore::GraphicsContext::drawRect):
2920         (WebCore::GraphicsContext::setColorFromBrush):
2921         (WebCore::GraphicsContext::setColorFromPen):
2922         (WebCore::adjustLineToPixelBounderies):
2923         (WebCore::GraphicsContext::drawLine):
2924         (WebCore::GraphicsContext::drawEllipse):
2925         (WebCore::GraphicsContext::drawArc):
2926         (WebCore::GraphicsContext::drawConvexPolygon):
2927         (WebCore::GraphicsContext::drawFloatImage):
2928         (WebCore::GraphicsContext::drawTiledImage):
2929         (WebCore::GraphicsContext::drawScaledAndTiledImage):
2930         (WebCore::GraphicsContext::fillRect):
2931         (WebCore::GraphicsContext::addClip):
2932         (WebCore::GraphicsContext::setPaintingDisabled):
2933         (WebCore::GraphicsContext::paintingDisabled):
2934         * platform/cairo/ImageCairo.cpp:
2935         * platform/cg/GraphicsContextCG.cpp: Removed.
2936         * platform/win/TemporaryLinkStubs.cpp:
2937         (QLineEdit::selectAll):
2938         (Widget::mapFromGlobal):
2939         (QLineEdit::cursorPosition):
2940         (QTextEdit::setScrollBarModes):
2941         (QTextEdit::selectAll):
2942         (QComboBox::focusPolicy):
2943         (GraphicsContext::clearShadow):
2944         (QTextEdit::setCursorPosition):
2945         (GraphicsContext::drawText):
2946         (QLineEdit::setLiveSearch):
2947         (QComboBox::QComboBox):
2948         (Widget::lockDrawingFocus):
2949         (QTextEdit::setSelectionRange):
2950         (QSlider::QSlider):
2951         (ScrollView::scrollYOffset):
2952         (QComboBox::sizeHint):
2953         (QLineEdit::edited):
2954         (QTextEdit::text):
2955         (QSlider::value):
2956         (WebCore::Widget::setFocus):
2957         (WebCore::TransferJob::addMetaData):
2958         (FrameWin::respondToChangedContents):
2959         (FrameWin::unfocusWindow):
2960         (FrameWin::locationbarVisible):
2961         (FrameWin::respondToChangedSelection):
2962         (FrameWin::clearUndoRedoOperations):
2963         (FrameWin::issueRedoCommand):
2964         (FrameWin::getObjectInstanceForWidget):
2965         (FrameWin::getEmbedInstanceForWidget):
2966         (FrameWin::canRedo):
2967         (FrameWin::canUndo):
2968         (FrameWin::runJavaScriptPrompt):
2969         (FrameWin::recordFormValue):
2970         (FrameWin::registerCommandForRedo):
2971         (FrameWin::runJavaScriptAlert):
2972         (FrameWin::runJavaScriptConfirm):
2973         (FrameWin::openURL):
2974         (FrameWin::saveDocumentState):
2975         (FrameWin::print):
2976         (FrameWin::getAppletInstanceForWidget):
2977         (FrameWin::passMouseDownEventToWidget):
2978         (FrameWin::registerCommandForUndo):
2979         (FrameWin::issueCutCommand):
2980         (FrameWin::issueCopyCommand):
2981         (FrameWin::addMessageToConsole):
2982         (FrameWin::passWheelEventToChildWidget):
2983         (FrameWin::issueUndoCommand):
2984         (FrameWin::mimeTypeForFileName):
2985         (FrameWin::clearRecordedFormValues):
2986         (FrameWin::issuePasteCommand):
2987         (FrameWin::shouldChangeSelection):
2988         (FrameWin::scheduleClose):
2989         (FrameWin::markMisspellingsInAdjacentWords):
2990         (FrameWin::markMisspellings):
2991         (FrameWin::menubarVisible):
2992         (FrameWin::personalbarVisible):
2993         (FrameWin::lastEventIsMouseUp):
2994         (FrameWin::statusbarVisible):
2995         (FrameWin::toolbarVisible):
2996         (FrameWin::issueTransposeCommand):
2997         (FrameWin::userAgent):
2998         (FrameWin::canPaste):
2999         (FrameWin::incomingReferrer):
3000         (FrameWin::objectContentType):
3001         (FrameWin::passSubframeEventToSubframe):
3002         (FrameWin::createFrame):
3003         (FrameWin::canGoBackOrForward):
3004         (FrameWin::issuePasteAndMatchStyleCommand):
3005         (FrameWin::createPlugin):
3006         (FrameWin::generateFrameName):
3007         (QTextEdit::setWritingDirection):
3008         (QFontMetrics::checkSelectionPoint):
3009         (GraphicsContext::GraphicsContext):
3010         (QFontMetrics::isFixedPitch):
3011         (FrameWin::restoreDocumentState):
3012         (FrameWin::partClearedInBegin):
3013         (FrameWin::createEmptyDocument):
3014         (FrameWin::overrideMediaType):
3015         (FrameWin::setTitle):
3016         (FrameWin::handledOnloadEvents):
3017         (FrameWin::markedTextRange):
3018         (GraphicsContext::font):
3019         (GraphicsContext::setFont):
3020
3021 2006-03-02  Alexey Proskuryakov  <ap@nypop.com>
3022
3023         Reviewed by Darin.
3024
3025         Changed an Objective-C forward declaration from "class" to "@class".
3026         This doesn't appear to fix any problems, though.
3027
3028         * platform/StringImpl.h:
3029
3030 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
3031
3032         Reviewed by darin
3033         
3034         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7059>
3035         TinyMCE: Select All + delete sends you Back intsead of deleting
3036
3037         * page/Frame.cpp:
3038         (WebCore::Frame::selectFrameElementInParentIfFullySelected):
3039
3040 2006-03-01  David Harrison  <harrison@apple.com>
3041
3042         Reviewed by Justin.
3043         (missed these in my earlier commit for <rdar://problem/4359736>)
3044
3045         * bridge/mac/WebCoreFrameBridge.h:
3046         * bridge/mac/WebCoreFrameBridge.mm:
3047         (-[WebCoreFrameBridge canIncreaseSelectionListLevel]):
3048         (-[WebCoreFrameBridge canDecreaseSelectionListLevel]):
3049         (-[WebCoreFrameBridge increaseSelectionListLevel]):
3050         (-[WebCoreFrameBridge decreaseSelectionListLevel]):
3051
3052 2006-03-01  Eric Seidel  <eseidel@apple.com>
3053
3054         Reviewed by mjs.
3055
3056         Fix win32 build, add IntRectWin and GraphicsContextCairo stub.
3057
3058         * Viewer/ImageDocument.cpp:
3059         * Viewer/ImageMainFrame.cpp:
3060         * WebCore.vcproj/WebCore/WebCore.vcproj:
3061         * platform/IntRect.h:
3062         * platform/cairo/GraphicsContextCairo.cpp: Added.
3063         * platform/win/TemporaryLinkStubs.cpp:
3064         (GraphicsContext::drawLineForText):
3065         (WebCore::GraphicsContext::fillRect):
3066         (WebCore::TransferJob::TransferJob):
3067         (GraphicsContext::GraphicsContext):
3068         (WebCore::GraphicsContext::~GraphicsContext):
3069
3070 2006-02-23  David Harrison  <harrison@apple.com>
3071
3072         Reviewed by Justin.
3073
3074         <rdar://problem/4359736> Support outlining ability with lists
3075
3076         Added Mail SPI for list level changes.  It is SPI because it is not complete support
3077         for outlining.  See <rdar://problem/4457070> "API for html lists as note outlines".
3078         Additional support is to end a list when return is typed on empty list item.
3079
3080         * WebCore.vcproj/WebCore/WebCore.vcproj:
3081         * WebCore.xcodeproj/project.pbxproj:
3082         Added ModifySelectionListLevelCommand.cpp and ModifySelectionListLevelCommand.h
3083         
3084         * bridge/mac/WebCoreFrameBridge.h:
3085         * bridge/mac/WebCoreFrameBridge.mm:
3086         (-[WebCoreFrameBridge canIncreaseSelectionListLevel]):
3087         (-[WebCoreFrameBridge canDecreaseSelectionListLevel]):
3088         (-[WebCoreFrameBridge increaseSelectionListLevel]):
3089         (-[WebCoreFrameBridge decreaseSelectionListLevel]):
3090         Supply list level calls in the bridge.
3091         
3092         * editing/InsertParagraphSeparatorCommand.cpp:
3093         (WebCore::createListItemElement):
3094         New.  Creates an li.
3095         
3096         (WebCore::InsertParagraphSeparatorCommand::doApply):
3097         - slight logic cleanup
3098         - on empty list item, end the list
3099         
3100         * editing/ModifySelectionListLevelCommand.cpp: Added.
3101         (WebCore::ModifySelectionListLevelCommand::ModifySelectionListLevelCommand):
3102         (WebCore::ModifySelectionListLevelCommand::preservesTypingStyle):
3103         (WebCore::ModifySelectionListLevelCommand::doApply):
3104         (WebCore::ModifySelectionListLevelCommand::canIncreaseSelectionListLevel):
3105         (WebCore::ModifySelectionListLevelCommand::canDecreaseSelectionListLevel):
3106         (WebCore::ModifySelectionListLevelCommand::increaseSelectionListLevel):
3107         (WebCore::ModifySelectionListLevelCommand::decreaseSelectionListLevel):
3108         (WebCore::modifySelectionListLevel):
3109         (WebCore::getStartEndListChildren):
3110         (WebCore::canIncreaseListLevel):
3111         (WebCore::canDecreaseListLevel):
3112         (WebCore::ModifySelectionListLevelCommand::insertSiblingNodeRangeBefore):
3113         (WebCore::ModifySelectionListLevelCommand::insertSiblingNodeRangeAfter):
3114         (WebCore::ModifySelectionListLevelCommand::appendSiblingNodeRange):
3115         (WebCore::ModifySelectionListLevelCommand::increaseListLevel):
3116         (WebCore::ModifySelectionListLevelCommand::decreaseListLevel):
3117         * editing/ModifySelectionListLevelCommand.h: Added.
3118         New editing command for adjusting the list level.
3119         
3120         * editing/ReplaceSelectionCommand.cpp:
3121         (WebCore::ReplaceSelectionCommand::doApply):
3122         Slight logic cleanup
3123
3124         * editing/htmlediting.cpp:
3125         (WebCore::isListElement):
3126         (WebCore::enclosingListChild):
3127         New helpers.
3128         
3129         (WebCore::isTableElement):
3130         Allow caller to pass 0... return false in that case.
3131         
3132         * editing/htmlediting.h:
3133         New helpers.
3134         
3135         * rendering/RenderContainer.cpp:
3136         (WebCore::updateListMarkerNumbers):
3137         Allow for list children that are not li nodes.  Ignore and continue rather than stopping.
3138         
3139         (WebCore::RenderContainer::addChild):
3140         Allow for nil beforeChild, meaning "add at end".
3141         
3142 2006-03-01  Eric Seidel  <eseidel@apple.com>
3143
3144         Reviewed by justing.
3145
3146         Update ESelectionGranulartiy enum to use newer CamelCase styling.
3147
3148         * bridge/mac/WebCoreFrameBridge.mm:
3149         (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]):
3150         * editing/Selection.cpp:
3151         (WebCore::Selection::Selection):
3152         (WebCore::Selection::validate):
3153         * editing/SelectionController.cpp:
3154         (WebCore::SelectionController::modifyExtendingRightForward):
3155         (WebCore::SelectionController::modifyMovingRightForward):
3156         (WebCore::SelectionController::modifyExtendingLeftBackward):
3157         (WebCore::SelectionController::modifyMovingLeftBackward):
3158         (WebCore::SelectionController::modify):
3159         * editing/TypingCommand.cpp:
3160         (WebCore::TypingCommand::deleteKeyPressed):
3161         (WebCore::TypingCommand::forwardDeleteKeyPressed):
3162         * editing/jsediting.cpp:
3163         * editing/text_granularity.h:
3164         (WebCore::):
3165         * page/Frame.cpp:
3166         (WebCore::Frame::selectClosestWordFromMouseEvent):
3167         (WebCore::Frame::handleMousePressEventTripleClick):
3168         (WebCore::Frame::handleMousePressEventSingleClick):
3169         (WebCore::Frame::handleMouseMoveEventSelection):
3170
3171 2006-03-01  Alexander Kellett  <lypanov@kde.org>
3172
3173         Reviewed by Maciej.
3174
3175         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5966
3176
3177         Fixes already existing test:
3178           svg/W3C-SVG-1.1/coords-viewattr-02-b.svg
3179
3180         * kcanvas/RenderSVGImage.cpp:
3181         (WebCore::RenderSVGImage::adjustRectsForAspectRatio):
3182         (WebCore::RenderSVGImage::paint):
3183         * kcanvas/RenderSVGImage.h:
3184
3185 2006-03-01  Alexey Proskuryakov  <ap@nypop.com>
3186
3187         Reviewed by Darin.
3188
3189         - http://bugzilla.opendarwin.org/show_bug.cgi?id=3812
3190           XMLHttpRequest: PUT, DELETE, HEAD and all other methods but POST actually do a GET.
3191
3192         HEAD is currently unimplemented because of what seems to be a bug in NSURLConnection,
3193         and does a GET instead.
3194
3195         * kwq/KWQKJobClasses.h: Add a method parameter to TransferJob.
3196         * kwq/KWQKJobClasses.mm:
3197         (WebCore::TransferJobPrivate::TransferJobPrivate):
3198         (WebCore::TransferJob::TransferJob):
3199         (WebCore::TransferJob::method):
3200         * bridge/mac/WebCoreFrameBridge.h: URL loading functions now take a method parameter.
3201         * dom/xml_tokenizer.cpp:
3202         (WebCore::openFunc):
3203         * khtml/xsl/xslt_processorimpl.cpp:
3204         (DOM::docLoaderFunc):
3205         * kwq/KWQLoader.mm:
3206         (KWQServeRequest):
3207         (KWQServeSynchronousRequest):
3208         * loader/loader.cpp:
3209         (WebCore::Loader::servePendingRequests):
3210         * page/Frame.cpp:
3211         (WebCore::Frame::didOpenURL):
3212         * xml/xmlhttprequest.cpp:
3213         (WebCore::XMLHttpRequest::send): Honor the method passed in open().
3214         * khtml/ecma/JSXMLHttpRequest.cpp:
3215         (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Don't serialize null as "null".
3216
3217 2006-03-01  Timothy Hatcher  <timothy@apple.com>
3218
3219         Reviewed by Darin.
3220         
3221         http://bugzilla.opendarwin.org/show_bug.cgi?id=7450
3222         elementAtPoint is expensive and should return a smart dictionary
3223         
3224         <rdar://problem/2952761> moving the mouse around eats more CPU than I would expect (7450)
3225
3226         Support for WebKit. This removes the old elementAtPoint: on the bridge.
3227         WebKit now uses the bridge method getInnerNonSharedNode:innerNode:URLElement:atPoint:
3228
3229         * WebCore.exp: removes the WebCore* dictionary keys
3230         * bindings/objc/DOM.mm:
3231         (-[DOMElement image]): new method to get an NSImage if the element has an image renderer
3232         * bindings/objc/DOMHTML.mm:
3233         (-[DOMHTMLElement titleDisplayString]): new method that returns the title after doing the backslash as currency symbol conversion
3234         (-[DOMHTMLInputElement altDisplayString]): ditto for alt
3235         (-[DOMHTMLImageElement altDisplayString]): ditto
3236         (-[DOMHTMLAppletElement altDisplayString]): ditto
3237         (-[DOMHTMLAreaElement altDisplayString]): ditto
3238         (-[DOMHTMLAnchorElement absoluteLinkURL]): new method to get the absolute NSURL
3239         (-[DOMHTMLAreaElement absoluteLinkURL]): ditto
3240         (-[DOMHTMLLinkElement absoluteLinkURL]): ditto
3241         (-[DOMHTMLInputElement absoluteImageURL]): new method to get the absolute image location as an NSURL
3242         (-[DOMHTMLImageElement absoluteImageURL]): ditto
3243         (-[DOMHTMLObjectElement absoluteImageURL]): ditto
3244         * bindings/objc/DOMPrivate.h:
3245         * bridge/mac/WebCoreFrameBridge.h:
3246         * bridge/mac/WebCoreFrameBridge.mm:
3247         (-[WebCoreFrameBridge getInnerNonSharedNode:innerNode:URLElement:atPoint:]):
3248         (-[WebCoreFrameBridge isPointInsideSelection:]):
3249         * dom/DocumentImpl.cpp:
3250         (WebCore::DocumentImpl::prepareMouseEvent):
3251         (WebCore::DocumentImpl::backslashAsCurrencySymbol):
3252         * dom/DocumentImpl.h:
3253         * rendering/render_layer.cpp:
3254         (WebCore::RenderLayer::hitTest):
3255         * rendering/render_object.h:
3256         (WebCore::RenderObject::NodeInfo::URLElement):
3257         (WebCore::RenderObject::NodeInfo::setURLElement):
3258
3259 2006-03-01  Mitz Pettel  <opendarwin.org@mitzpettel.com>
3260
3261         Test: fast/css/hover-subselector.html
3262
3263         Reviewed by Hyatt.
3264
3265         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7327
3266           REGRESSION (r12869): :hover subselector does not work in quirks mode
3267
3268         * css/cssstyleselector.h:
3269         * css/cssstyleselector.cpp:
3270         (WebCore::CSSStyleSelector::checkSelector): Pass flag to indicate sub-selector.
3271         (WebCore::CSSStyleSelector::checkOneSelector): Apply the *:hover and *:active quirks only
3272         when there are no sub-selectors.
3273
3274 2006-03-01  Maciej Stachowiak  <mjs@apple.com>
3275
3276         Rubber stamped by Hyatt.
3277
3278         - fix win32 build (and make dumprendertree run)
3279
3280         * kwq/KWQComboBox.h:
3281         * platform/win/TemporaryLinkStubs.cpp:
3282         (QTextEdit::selectionEnd):
3283         (Widget::~Widget):
3284         (GraphicsContext::beginTransparencyLayer):
3285         (QComboBox::populate):
3286         (GraphicsContext::drawConvexPolygon):
3287         (QFontMetrics::selectionRectForText):
3288         (GraphicsContext::setShadow):
3289         (GraphicsContext::clearFocusRing):
3290         (GraphicsContext::drawImageInRect):
3291         (KWQFileButton::setFilename):
3292         (KWQFileButton::focusPolicy):
3293         (KWQFileButton::frameGeometry):
3294         (QSlider::focusPolicy):
3295         (WebCore::GraphicsContext::font):
3296         (QTextEdit::setWritingDirection):
3297         (QFontMetrics::checkSelectionPoint):
3298         (QFontMetrics::isFixedPitch):
3299         (WebCore::TransferJob::addMetaData):
3300
3301 2006-02-28  Darin Adler  <darin@apple.com>
3302
3303         Reviewed by Eric.
3304
3305         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7444
3306           move QPainter to platform directory and name it GraphicsContext
3307
3308         * platform/GraphicsContext.h: Added.
3309         * platform/TextDirection.h: Added.
3310         * platform/cg/GraphicsContextCG.cpp: Added.
3311         * platform/mac/GraphicsContextMac.mm: Added.
3312
3313         * kwq/KWQPainter.h: Removed.
3314         * kwq/KWQPainter.mm: Removed.
3315         * ForwardingHeaders/qpainter.h: Removed.
3316
3317         * WebCore.xcodeproj/project.pbxproj: Updated for moved files.
3318         * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for moved files.
3319         * platform/win/TemporaryLinkStubs.cpp: Updated.
3320
3321         * bridge/mac/MacFrame.mm: (WebCore::MacFrame::setDisplaysWithFocusAttributes):
3322         * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge drawRect:]):
3323         * editing/SelectionController.h:
3324         * editing/SelectionController.cpp: (WebCore::SelectionController::paintCaret):
3325         * kcanvas/KCanvasResources.cpp: (WebCore::KCanvasMarker::draw):
3326         * khtml/ecma/kjs_html.cpp:
3327         (KJS::KJS::Context2DFunction::callAsFunction):
3328         (KJS::Context2D::putValueProperty):
3329         (KJS::drawPattern):
3330         * page/Frame.h:
3331         * page/Frame.cpp:
3332         (WebCore::Frame::paintCaret):
3333         (WebCore::Frame::paintDragCaret):
3334         (WebCore::Frame::paint):
3335         (WebCore::Frame::adjustPageHeight):
3336         * page/FrameView.h:
3337         * platform/Font.h:
3338         * platform/Font.cpp:
3339         (WebCore::Font::selectionRectForText):
3340         (WebCore::Font::drawHighlightForText):
3341         (WebCore::Font::drawText):
3342         * platform/Widget.h:
3343         * platform/mac/WidgetMac.mm: (WebCore::Widget::paint):
3344         * rendering/InlineTextBox.h:
3345         * rendering/InlineTextBox.cpp:
3346         (WebCore::InlineTextBox::paint):
3347         (WebCore::InlineTextBox::paintSelection):
3348         (WebCore::InlineTextBox::paintMarkedTextBackground):
3349         (WebCore::InlineTextBox::paintDecoration):
3350         (WebCore::InlineTextBox::paintSpellingMarker):
3351         (WebCore::InlineTextBox::paintTextMatchMarker):
3352         (WebCore::InlineTextBox::paintAllMarkersOfType):
3353         (WebCore::InlineTextBox::paintMarkedTextUnderline):
3354         (WebCore::InlineTextBox::offsetForPosition):
3355         * rendering/RenderTableCell.cpp:
3356         (WebCore::outlineBox):
3357         (WebCore::RenderTableCell::paintCollapsedBorder):
3358         (WebCore::RenderTableCell::paintBoxDecorations):
3359         * rendering/RenderTableCell.h:
3360         * rendering/render_box.cpp:
3361         (WebCore::RenderBox::paintBackgrounds):
3362         (WebCore::RenderBox::paintBackground):
3363         (WebCore::RenderBox::paintBackgroundExtended):
3364         (WebCore::RenderBox::outlineBox):
3365         * rendering/render_box.h:
3366         * rendering/render_button.cpp:
3367         (WebCore::RenderButton::RenderButton):
3368         (WebCore::RenderButton::paintObject):
3369         * rendering/render_button.h:
3370         (WebCore::RenderButton::removeLeftoverAnonymousBoxes):
3371         * rendering/render_canvas.cpp:
3372         * rendering/render_canvasimage.cpp:
3373         (WebCore::RenderCanvasImage::paint):
3374         * rendering/render_flow.cpp:
3375         (WebCore::RenderFlow::addFocusRingRects):
3376         (WebCore::RenderFlow::paintFocusRing):
3377         (WebCore::RenderFlow::paintOutlines):
3378         (WebCore::RenderFlow::paintOutlineForLine):
3379         * rendering/render_flow.h:
3380         * rendering/render_form.cpp:
3381         (WebCore::RenderLineEdit::setStyle):
3382         (WebCore::RenderFieldset::paintBorderMinusLegend):
3383         (WebCore::RenderSelect::setWidgetWritingDirection):
3384         (WebCore::RenderTextArea::setStyle):
3385         * rendering/render_form.h:
3386         (WebCore::RenderFieldset::renderName):
3387         * rendering/render_frames.cpp:
3388         (WebCore::RenderFrameSet::userResize):
3389         * rendering/render_image.cpp:
3390         (WebCore::RenderImage::paint):
3391         * rendering/render_layer.cpp:
3392         (WebCore::RenderLayer::beginTransparencyLayers):
3393         (WebCore::RenderLayer::paintScrollbars):
3394         (WebCore::RenderLayer::paint):
3395         (WebCore::setClip):
3396         (WebCore::restoreClip):
3397         (WebCore::RenderLayer::paintLayer):
3398         (WebCore::Marquee::direction):
3399         * rendering/render_layer.h:
3400         * rendering/render_line.cpp:
3401         (WebCore::InlineFlowBox::paintBackgrounds):
3402         (WebCore::InlineFlowBox::paintBackground):
3403         (WebCore::InlineFlowBox::paintBackgroundAndBorder):
3404         (WebCore::InlineFlowBox::paintDecorations):
3405         (WebCore::EllipsisBox::paint):
3406         * rendering/render_line.h:
3407         * rendering/render_list.cpp:
3408         (WebCore::RenderListMarker::paint):
3409         * rendering/render_object.cpp:
3410         (WebCore::RenderObject::drawBorder):
3411         (WebCore::RenderObject::paintBorderImage):
3412         (WebCore::RenderObject::paintBorder):
3413         (WebCore::RenderObject::addFocusRingRects):
3414         (WebCore::RenderObject::paintOutline):
3415         (WebCore::RenderObject::selectionColor):
3416         * rendering/render_object.h:
3417         (WebCore::RenderObject::element):
3418         (WebCore::RenderObject::document):
3419         (WebCore::RenderObject::setNode):
3420         (WebCore::RenderObject::node):
3421         (WebCore::RenderObject::PaintInfo::PaintInfo):
3422         (WebCore::RenderObject::paintBoxDecorations):
3423         (WebCore::RenderObject::paintBackgroundExtended):
3424         (WebCore::RenderObject::printBoxDecorations):
3425         * rendering/render_replaced.cpp: (WebCore::RenderReplaced::selectionColor):
3426         * rendering/render_replaced.h:
3427         Updated to use GraphicsContext instead of QPainter.
3428
3429         * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
3430         * kwq/KWQComboBox.h:
3431         * kwq/KWQComboBox.mm: (QComboBox::setWritingDirection):
3432         * kwq/KWQLineEdit.h:
3433         * kwq/KWQLineEdit.mm: (QLineEdit::setWritingDirection):
3434         * kwq/KWQListBox.h:
3435         * kwq/KWQListBox.mm: (QListBox::setWritingDirection):
3436         * kwq/KWQTextEdit.h:
3437         * kwq/KWQTextEdit.mm: (QTextEdit::setWritingDirection):
3438         * rendering/bidi.cpp:
3439         (khtml::bidiNext):
3440         (khtml::bidiFirst):
3441         Updated to use TextDirection instead of QPainter::TextDirection and EDirection.
3442
3443         * kcanvas/device/KRenderingDevice.h: Added renderingDevice here to
3444         replace QPainter::renderingDevice for now.
3445
3446         * khtml/ecma/kjs_html.h: Fixed comments to mention GraphicsContext.
3447
3448         * khtml/html/html_imageimpl.h:
3449         * page/FrameView.cpp:
3450         * rendering/RenderBlock.cpp:
3451         Added include needed since I reduced includes elsewhere.
3452
3453         * kwq/KWQFontMetrics.h:
3454         * kwq/KWQFontMetrics.mm: (QFontMetrics::checkSelectionPoint):
3455         Changed QChar* to be const QChar*.
3456
3457         * platform/FontDescription.h: Added include that was missing.
3458         * rendering/render_theme.cpp: Ditto.
3459
3460         * platform/Image.h: Removed unnecessary forward declaration of QPainter.
3461
3462         * rendering/RenderText.h: Clean up types, use const.
3463
3464         * rendering/render_style.h: Removed EDirection and replaced it with TextDirection.
3465
3466         * kcanvas/KCanvasCreator.cpp:
3467         (WebCore::KCanvasCreator::createRoundedRectangle):
3468         (WebCore::KCanvasCreator::createRectangle):
3469         (WebCore::KCanvasCreator::createEllipse):
3470         (WebCore::KCanvasCreator::createLine):
3471         * kcanvas/KCanvasPath.cpp: (WebCore::operator<<):
3472         * kcanvas/KCanvasTreeDebug.cpp: (WebCore::operator<<):
3473         * kcanvas/RenderForeignObject.cpp: (WebCore::RenderForeignObject::paint):
3474         * kcanvas/RenderPath.cpp: (WebCore::RenderPath::paint):
3475         * kcanvas/RenderSVGImage.cpp:
3476         (WebCore::RenderSVGImage::paint):
3477         (WebCore::RenderSVGImage::translateForAttributes):
3478         * kcanvas/RenderSVGText.cpp:
3479         (WebCore::RenderSVGText::paint):
3480         * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
3481         (WebCore::KCanvasFilterQuartz::prepareFilter):
3482         (WebCore::KCanvasFilterQuartz::applyFilter):
3483         * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
3484         (WebCore::KCanvasMaskerQuartz::applyMask):
3485         * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
3486         (WebCore::KCanvasContainerQuartz::paint):
3487         (WebCore::KCanvasClipperQuartz::applyClip):
3488         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
3489         (WebCore::KRenderingDeviceQuartz::pushContext):
3490         (WebCore::KRenderingDeviceQuartz::popContext):
3491         (WebCore::renderingDevice):
3492         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
3493         (WebCore::KRenderingPaintServerGradientQuartz::setup):
3494         (WebCore::KRenderingPaintServerGradientQuartz::renderPath):
3495         (WebCore::KRenderingPaintServerGradientQuartz::teardown):
3496         * ksvg2/misc/KCanvasRenderingStyle.cpp: (WebCore::sharedSolidPaintServer):
3497         * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::createRenderer):
3498         * ksvg2/svg/SVGClipPathElementImpl.cpp: (SVGClipPathElementImpl::canvasResource):
3499         * ksvg2/svg/SVGFEBlendElementImpl.cpp: (SVGFEBlendElementImpl::filterEffect):
3500         * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp: (SVGFEColorMatrixElementImpl::filterEffect):
3501         * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp: (SVGFEComponentTransferElementImpl::filterEffect):
3502         * ksvg2/svg/SVGFECompositeElementImpl.cpp: (SVGFECompositeElementImpl::filterEffect):
3503         * ksvg2/svg/SVGFEDiffuseLightingElementImpl.cpp: (WebCore::SVGFEDiffuseLightingElementImpl::filterEffect):
3504         * ksvg2/svg/SVGFEDisplacementMapElementImpl.cpp: (SVGFEDisplacementMapElementImpl::filterEffect):
3505         * ksvg2/svg/SVGFEFloodElementImpl.cpp: (SVGFEFloodElementImpl::filterEffect):
3506         * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp: (SVGFEGaussianBlurElementImpl::filterEffect):
3507         * ksvg2/svg/SVGFEImageElementImpl.cpp: (SVGFEImageElementImpl::filterEffect):
3508         * ksvg2/svg/SVGFEMergeElementImpl.cpp: (SVGFEMergeElementImpl::filterEffect):
3509         * ksvg2/svg/SVGFEOffsetElementImpl.cpp: (SVGFEOffsetElementImpl::filterEffect):
3510         * ksvg2/svg/SVGFESpecularLightingElementImpl.cpp: (SVGFESpecularLightingElementImpl::filterEffect):
3511         * ksvg2/svg/SVGFETileElementImpl.cpp: (SVGFETileElementImpl::filterEffect):
3512         * ksvg2/svg/SVGFETurbulenceElementImpl.cpp: (SVGFETurbulenceElementImpl::filterEffect):
3513         * ksvg2/svg/SVGFilterElementImpl.cpp: (SVGFilterElementImpl::canvasResource):
3514         * ksvg2/svg/SVGGElementImpl.cpp: (SVGGElementImpl::createRenderer):
3515         * ksvg2/svg/SVGGradientElementImpl.cpp: (SVGGradientElementImpl::canvasResource):
3516         * ksvg2/svg/SVGMarkerElementImpl.cpp:
3517         (WebCore::SVGMarkerElementImpl::canvasResource):
3518         (WebCore::SVGMarkerElementImpl::createRenderer):
3519         * ksvg2/svg/SVGMaskElementImpl.cpp:
3520         (WebCore::SVGMaskElementImpl::drawMaskerContent):
3521         (WebCore::SVGMaskElementImpl::createRenderer):
3522         (WebCore::SVGMaskElementImpl::canvasResource):
3523         * ksvg2/svg/SVGPathElementImpl.cpp: (WebCore::SVGPathElementImpl::toPathData):
3524         * ksvg2/svg/SVGPatternElementImpl.cpp:
3525         (WebCore::SVGPatternElementImpl::drawPatternContentIntoTile):
3526         (WebCore::SVGPatternElementImpl::createRenderer):
3527         (WebCore::SVGPatternElementImpl::canvasResource):
3528         * ksvg2/svg/SVGPolygonElementImpl.cpp: (SVGPolygonElementImpl::toPathData):
3529         * ksvg2/svg/SVGPolylineElementImpl.cpp: (SVGPolylineElementImpl::toPathData):
3530         * ksvg2/svg/SVGSVGElementImpl.cpp: (WebCore::SVGSVGElementImpl::createRenderer):
3531         * ksvg2/svg/SVGStyledElementImpl.cpp: (WebCore::SVGStyledElementImpl::createRenderer):
3532         * ksvg2/svg/SVGSwitchElementImpl.cpp: (SVGSwitchElementImpl::createRenderer):
3533         * ksvg2/svg/SVGUseElementImpl.cpp: (SVGUseElementImpl::createRenderer):
3534         Updated to use renderingDevice instead of QPainter::renderingDevice.
3535
3536 2006-02-28  Darin Adler  <darin@apple.com>
3537
3538         - fixed part of the reason the build is broken
3539
3540         * WebCore.xcodeproj/project.pbxproj: Updated project file.
3541
3542 2006-02-28  Darin Adler  <darin@apple.com>
3543
3544         Rubber-stamped by Hyatt.
3545
3546         - moved the WebCoreXXX files from kwq to appropriate directories
3547
3548         No changes to the contents of the files.
3549
3550         * WebCore.xcodeproj/project.pbxproj: Updated project file.
3551         * bridge/mac/WebCoreCache.h: Added.
3552         * bridge/mac/WebCoreCache.mm: Added.
3553         * bridge/mac/WebCoreEncodings.h: Added.
3554         * bridge/mac/WebCoreEncodings.mm: Added.
3555         * bridge/mac/WebCoreFrameNamespaces.h: Added.
3556         * bridge/mac/WebCoreFrameNamespaces.m: Added.
3557         * bridge/mac/WebCoreFrameView.h: Added.
3558         * bridge/mac/WebCoreJavaScript.h: Added.
3559         * bridge/mac/WebCoreJavaScript.mm: Added.
3560         * bridge/mac/WebCoreKeyboardAccess.h: Added.
3561         * bridge/mac/WebCoreResourceLoader.h: Added.
3562         * bridge/mac/WebCoreScriptDebugger.h: Added.
3563         * bridge/mac/WebCoreScriptDebugger.mm: Added.
3564         * bridge/mac/WebCoreSettings.h: Added.
3565         * bridge/mac/WebCoreSettings.mm: Added.
3566         * bridge/mac/WebCoreTextDecoder.h: Added.
3567         * bridge/mac/WebCoreTextDecoder.mm: Added.
3568         * bridge/mac/WebCoreViewFactory.h: Added.
3569         * bridge/mac/WebCoreViewFactory.m: Added.
3570         * bridge/mac/WebDashboardRegion.h: Added.
3571         * bridge/mac/WebDashboardRegion.m: Added.
3572         * kwq/WebCoreCache.h: Removed.
3573         * kwq/WebCoreCache.mm: Removed.
3574         * kwq/WebCoreCookieAdapter.h: Removed.
3575         * kwq/WebCoreCookieAdapter.m: Removed.
3576         * kwq/WebCoreEncodings.h: Removed.
3577         * kwq/WebCoreEncodings.mm: Removed.
3578         * kwq/WebCoreFrameNamespaces.h: Removed.
3579         * kwq/WebCoreFrameNamespaces.m: Removed.
3580         * kwq/WebCoreFrameView.h: Removed.
3581         * kwq/WebCoreGraphicsBridge.h: Removed.
3582         * kwq/WebCoreGraphicsBridge.m: Removed.
3583         * kwq/WebCoreHistory.h: Removed.
3584         * kwq/WebCoreHistory.m: Removed.
3585         * kwq/WebCoreImageRenderer.h: Removed.
3586         * kwq/WebCoreImageRendererFactory.h: Removed.
3587         * kwq/WebCoreImageRendererFactory.m: Removed.
3588         * kwq/WebCoreJavaScript.h: Removed.
3589         * kwq/WebCoreJavaScript.mm: Removed.
3590         * kwq/WebCoreKeyGenerator.h: Removed.
3591         * kwq/WebCoreKeyGenerator.m: Removed.
3592         * kwq/WebCoreKeyboardAccess.h: Removed.
3593         * kwq/WebCoreResourceLoader.h: Removed.
3594         * kwq/WebCoreScriptDebugger.h: Removed.
3595         * kwq/WebCoreScriptDebugger.mm: Removed.
3596         * kwq/WebCoreSettings.h: Removed.
3597         * kwq/WebCoreSettings.mm: Removed.
3598         * kwq/WebCoreTextDecoder.h: Removed.
3599         * kwq/WebCoreTextDecoder.mm: Removed.
3600         * kwq/WebCoreTextRenderer.h: Removed.
3601         * kwq/WebCoreTextRendererFactory.h: Removed.
3602         * kwq/WebCoreTextRendererFactory.mm: Removed.
3603         * kwq/WebCoreView.h: Removed.
3604         * kwq/WebCoreView.m: Removed.
3605         * kwq/WebCoreViewFactory.h: Removed.
3606         * kwq/WebCoreViewFactory.m: Removed.
3607         * kwq/WebDashboardRegion.h: Removed.