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