Reviewed by Adele.
[WebKit-https.git] / WebCore / ChangeLog
1 2006-05-12  Darin Adler  <darin@apple.com>
2
3         Reviewed by Adele.
4
5         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8521
6           crash bringing up context menu with CSS generated content
7
8         * bridge/mac/FrameMac.mm: (WebCore::FrameMac::sendContextMenuEvent):
9         Added a null check.
10
11         * manual-tests/context-click-generated-content.html: Added.
12
13 2006-05-12  Darin Adler  <darin@apple.com>
14
15         Reviewed by Adele.
16
17         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8715
18           REGRESSION: Caret to the right of an image is a big black rectangle.
19
20         * rendering/RenderBox.cpp: (WebCore::RenderBox::caretRect): Move caret to the
21         right side of the rect when the offset is non-zero, rather than expanding it.
22
23         * manual-tests/caret-image.html: Added.
24
25 2006-05-12  Mitz Pettel  <opendarwin.org@mitzpettel.com>
26
27         Reviewed and landed by Anders.
28         
29         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8866
30           REGRESSION: Incorrect caret position in RTL text
31
32         Test: fast/text/international/rtl-caret.html
33
34         * rendering/InlineTextBox.cpp:
35         (WebCore::InlineTextBox::positionForOffset): Added missing m_toAdd argument.
36
37 2006-05-12  David Hyatt  <hyatt@apple.com>
38
39         Bug 8864. Lift WebCoreTextStyle up into the API (as TextStyle).
40
41         Reviewed by mjs
42
43         * platform/Font.cpp:
44         (WebCore::m_finalRoundingWidth):
45         (WebCore::WidthIterator::advance):
46         (WebCore::Font::width):
47         (WebCore::Font::drawSimpleText):
48         (WebCore::Font::drawText):
49         (WebCore::Font::floatWidth):
50         (WebCore::Font::floatWidthForSimpleText):
51         * platform/Font.h:
52         (WebCore::TextStyle::m_attemptFontSubstitution):
53         (WebCore::TextStyle::tabWidth):
54         (WebCore::TextStyle::xPos):
55         (WebCore::TextStyle::padding):
56         (WebCore::TextStyle::rtl):
57         (WebCore::TextStyle::ltr):
58         (WebCore::TextStyle::directionalOverride):
59         (WebCore::TextStyle::applyRunRounding):
60         (WebCore::TextStyle::applyWordRounding):
61         (WebCore::TextStyle::attemptFontSubstitution):
62         (WebCore::Font::operator==):
63         * platform/GraphicsContext.cpp:
64         (WebCore::GraphicsContext::drawText):
65         (WebCore::GraphicsContext::drawHighlightForText):
66         * platform/GraphicsContext.h:
67         * platform/mac/FontMac.mm:
68         (WebCore::overrideLayoutOperation):
69         (WebCore::ATSULayoutParameters::initialize):
70         (WebCore::Font::selectionRectForText):
71         (WebCore::Font::drawComplexText):
72         (WebCore::Font::floatWidthForComplexText):
73         (WebCore::Font::offsetForPosition):
74         * rendering/InlineTextBox.cpp:
75         (WebCore::InlineTextBox::selectionRect):
76         (WebCore::InlineTextBox::paint):
77         (WebCore::InlineTextBox::paintSelection):
78         (WebCore::InlineTextBox::paintMarkedTextBackground):
79         (WebCore::InlineTextBox::paintTextMatchMarker):
80         (WebCore::InlineTextBox::offsetForPosition):
81         (WebCore::InlineTextBox::positionForOffset):
82         * rendering/RenderText.cpp:
83         (WebCore::RenderText::widthFromCache):
84         (WebCore::RenderText::calcMinMaxWidth):
85         (WebCore::RenderText::width):
86         * rendering/RenderTextField.cpp:
87         (WebCore::RenderTextField::calcMinMaxWidth):
88         * rendering/render_line.cpp:
89         (WebCore::EllipsisBox::paint):
90
91 2006-05-11  Alexey Proskuryakov  <ap@nypop.com>
92
93         Reviewed by Darin.
94
95         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8770
96           XMLHttpRequest should strip CR/LF characters from the URL
97
98         Test: fast/loader/url-strip-cr-lf-tab.html
99
100         * platform/KURL.cpp:
101         (appendEscapingBadChars): Strip CR, LF and TAB, as Firefox and IE do.
102
103 2006-05-11  David Hyatt  <hyatt@apple.com>
104
105         Remove the misspelling drawing code from Font and FontData.  Implement it
106         natively in GraphicContext instead.
107
108         Reviewed by maciej
109
110         * platform/FontData.h:
111         * platform/GraphicsContext.cpp:
112         * platform/GraphicsContext.h:
113         * platform/cairo/GraphicsContextCairo.cpp:
114         (WebCore::GraphicsContext::drawLineForMisspelling):
115         * platform/mac/FontData.mm:
116         * platform/mac/FontMac.mm:
117         * platform/mac/GraphicsContextMac.mm:
118         (WebCore::GraphicsContext::drawLineForMisspelling):
119         * platform/win/FontWin.cpp:
120         * rendering/InlineTextBox.cpp:
121         (WebCore::InlineTextBox::paintSpellingMarker):
122
123 2006-05-11  David Hyatt  <hyatt@apple.com>
124
125         Remove drawLineForText from the Font API.  Implement it natively in
126         the two GraphicsContexts (CG and Cairo) instead.
127
128         Reviewed by maciej
129
130         * platform/Font.h:
131         * platform/FontData.h:
132         * platform/GraphicsContext.cpp:
133         * platform/GraphicsContext.h:
134         * platform/cairo/GraphicsContextCairo.cpp:
135         (WebCore::GraphicsContext::drawLineForText):
136         * platform/cg/GraphicsContextCG.cpp:
137         (WebCore::GraphicsContext::drawLineForText):
138         * platform/mac/FontData.mm:
139         * platform/mac/FontMac.mm:
140         * platform/win/FontWin.cpp:
141         (WebCore::Font::drawLineForText):
142         * rendering/InlineTextBox.cpp:
143         (WebCore::InlineTextBox::paintDecoration):
144         (WebCore::InlineTextBox::paintMarkedTextUnderline):
145         * rendering/render_line.cpp:
146         (WebCore::InlineFlowBox::paintDecorations):
147
148 2006-05-11  Steve Falkenburg  <sfalken@apple.com>
149
150         Reviewed by eric.
151
152         Fix last fix.
153
154         * dom/QualifiedName.h:
155         (WebCore::QualifiedName::QualifiedName):
156
157 2006-05-11  Steve Falkenburg  <sfalken@apple.com>
158
159         Reviewed by eric.
160
161         Fix crash on static constructors builds at exit due to qualified name default constructor not
162         initializing m_impl.
163
164         * dom/QualifiedName.cpp:
165         (WebCore::QualifiedName::deref):
166
167 2006-05-11  Mitz Pettel  <opendarwin.org@mitzpettel.com>
168
169         Reviewed by hyatt
170
171         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8851
172           REGRESSION: RTL text shifted to the right
173
174         Already covered by several tests in fast/text
175
176         * platform/Font.h:
177         (WebCore::TextRun::TextRun): Added length parameter.
178         * rendering/InlineTextBox.cpp: Pass the length to the TextRun constructor.
179         (WebCore::InlineTextBox::selectionRect):
180         (WebCore::InlineTextBox::paint):
181         (WebCore::InlineTextBox::paintSelection):
182         (WebCore::InlineTextBox::paintMarkedTextBackground):
183         (WebCore::InlineTextBox::paintTextMatchMarker):
184         (WebCore::InlineTextBox::offsetForPosition):
185         (WebCore::InlineTextBox::positionForOffset):
186         * rendering/RenderText.cpp:
187         (WebCore::RenderText::widthFromCache): Pass length and from instead of from and to
188         to the TextRun constructor.
189         (WebCore::RenderText::width): Ditto.
190
191 2006-05-11  David Hyatt  <hyatt@apple.com>
192
193         Fix a regression from the TextRun landing.  Delete the characters in
194         the adjustedRun, not the ones in the original run!
195
196         Reviewed by beth
197
198         * platform/mac/FontMac.mm:
199         (WebCore::Font::drawComplexText):
200
201 2006-05-10  Justin Garcia  <justin.garcia@apple.com>
202
203         Reviewed by thatcher, levi
204
205         * editing/ReplaceSelectionCommand.cpp:
206         (WebCore::ReplaceSelectionCommand::doApply):
207         Removed a use fragment.hasMoreThanOneBlock to decide if the paragraph containing the
208         position pasted into must be split to avoid block nesting.  We now split unnecessarily
209         some times, but the end merge cleans up for us.
210
211 2006-05-11  David Hyatt  <hyatt@apple.com>
212
213         This patch makes drawHighlightForText a completely cross-platform method
214         implemented by the GraphicsContext.  The platform-specific implementations
215         of the method in the Font class have been eliminated.
216
217         Reviewed by andersca
218
219         * platform/Font.h:
220         * platform/FontData.h:
221         Remove the drawHighlight methods.  Change the selectionRect method in
222         Font to return a FloatRect so that the GraphicsContext can do an accurate
223         fill.
224
225         * platform/GraphicsContext.cpp:
226         (WebCore::GraphicsContext::drawHighlightForText):
227         Implement the drawHighlightFunction in terms of the cross-platform
228         Font selectionRect functions and a new float-based fillRect graphics context
229         function.
230
231         * platform/GraphicsContext.h:
232         * platform/cairo/GraphicsContextCairo.cpp:
233         (WebCore::GraphicsContext::fillRect):
234         * platform/cg/GraphicsContextCG.cpp:
235         (WebCore::GraphicsContext::fillRect):
236         Add the new float-based fillRect function for Cairo and CG.
237
238         * platform/mac/FontData.mm:
239         (WebCore::CG_draw):
240         (WebCore::ATSU_draw):
241         Removed the CG and ATSU drawHighlight methods.  Remove the drawing of
242         the background from the deprecated draw methods (they'll be removed
243         soon).
244
245         * platform/mac/FontMac.mm:
246         (WebCore::Font::selectionRectForText):
247         * platform/win/FontWin.cpp:
248         (WebCore::Font::selectionRectForText):
249         Change selectionRectForText to return a FloatRect instead of an IntRect,
250         so that the GraphicsContext can do a precise fill.
251
252         * rendering/InlineTextBox.cpp:
253         (WebCore::InlineTextBox::selectionRect):
254         (WebCore::InlineTextBox::positionForOffset):
255         Modify the callers who expect an int-based selection rect so that they call
256         enclosingIntRect.
257
258 2006-05-11  Darin Adler  <darin@apple.com>
259
260         Reviewed by Adele.
261
262         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8743
263           REGRESSION: focus() on input field selects all text within it
264           (was: cannot select cities on British Rail reservation site)
265
266         Test: fast/forms/double-focus.html
267
268         * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::focus):
269         Changed to only call setFocusNode, select, and revealSelection
270         if the element is not already focused. Also changed to use return
271         a bit more rather than else.
272
273 2006-05-11  Darin Adler  <darin@apple.com>
274
275         Reviewed by Tim Hatcher (earlier version).
276
277         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8821
278           use the preprocessor for IDL files
279
280         * bindings/scripts/IDLParser.pm: Invoke the preprocessor via the "gcc"
281         driver script, passing "-E" so we only preprocess, "-P" so we don't get
282         "#line" directives, and "-x c++" so we handle both C and C++ comments.
283         Removed the code to eliminate comments since the preprocessor handles that.
284         * css/make-css-file-arrays.pl: This already invoked the preprocessor, but
285         updated it to do the same way as above.
286
287 2006-05-11  Anders Carlsson  <acarlsson@apple.com>
288
289         Reviewed by Darin.
290
291         http://bugzilla.opendarwin.org/show_bug.cgi?id=7838
292         Add support for mozilla-style node constructors as properties of the window object
293         
294         * DerivedSources.make:
295         * WebCore.xcodeproj/project.pbxproj:
296         Add new generated files.
297         
298         * bindings/js/JSCanvasRenderingContext2DBase.cpp:
299         (WebCore::JSCanvasRenderingContext2DBaseProtoFunc::callAsFunction):
300         * bindings/js/JSHTMLElementWrapperFactory.cpp:
301         (WebCore::createJSWrapper):
302         Specify the KJS namespace for JSHTMLElmement.
303                 
304         * bindings/js/kjs_dom.cpp:
305         (KJS::toJS):
306         Create a WebCore::JSHTMLDocument for document nodes. Also, create
307         JSDocumentFragments for document fragments (instead of plain node objects).
308         
309         * bindings/js/kjs_html.cpp:
310         (KJS::JSHTMLDocumentProtoFunc::callAsFunction):
311         (KJS::JSHTMLDocument::JSHTMLDocument):
312         (KJS::JSHTMLDocument::getOwnPropertySlot):
313         Add a prototype for JSHTMLDocument and move all functions there.
314         
315         (KJS::JSHTMLElement::JSHTMLElement):
316         (KJS::JSHTMLElement::getOwnPropertySlot):
317         Update since JSHTMLElement now inherits from WebCore::JSHTMLElement.
318         
319         (KJS::JSHTMLElement::getValueProperty):
320         (KJS::JSHTMLElement::putValueProperty):
321         Remove title setter and getter. Those are autogenerated now.
322         
323         * bindings/js/kjs_html.h:
324         (KJS::JSHTMLElement::):
325         Inherit from WebCore::JSHTMLElement. Clarify the inheritance chain.
326         
327         * bindings/scripts/CodeGeneratorJS.pm:
328         Always generate a prototype object, regardless of whether the object has any functions or
329         constants.
330         
331         Use the type of generator attributes to determine what constructor to use. This is useful for
332         the XMLDocument property in DOMWindow.idl, since that's just an alias for the Document constructor.
333         
334         * dom/DocumentFragment.idl: Added.        
335         * html/HTMLDocument.idl: Added.
336         * html/HTMLElement.idl: Added.
337         
338         * page/DOMWindow.idl:
339         Add constructors for DocumentFragment, HTMLElement, HTMLDocument and XMLDocument. XMLDocument is just
340         an alias for the Document constructor.
341         
342 2006-05-11  David Hyatt  <hyatt@apple.com>
343
344         Bug 8845.  Define a TextRun (similar to the old WebCoreTextRun) and
345         make it the new API for Font and GraphicsContext when drawing/measuring
346         text.
347
348         Reviewed by andersca
349
350         * platform/Font.cpp:
351         (WebCore::m_finalRoundingWidth):
352         (WebCore::WidthIterator::advance):
353         (WebCore::WidthIterator::normalizeVoicingMarks):
354         (WebCore::Font::width):
355         (WebCore::Font::canUseGlyphCache):
356         (WebCore::Font::drawSimpleText):
357         (WebCore::Font::drawText):
358         (WebCore::Font::floatWidth):
359         (WebCore::Font::floatWidthForSimpleText):
360         * platform/Font.h:
361         (WebCore::TextRun::m_to):
362         (WebCore::TextRun::operator[]):
363         (WebCore::TextRun::data):
364         (WebCore::TextRun::adjustFrom):
365         (WebCore::TextRun::adjustTo):
366         (WebCore::TextRun::characters):
367         (WebCore::TextRun::length):
368         (WebCore::TextRun::from):
369         (WebCore::TextRun::to):
370         * platform/GraphicsContext.cpp:
371         (WebCore::GraphicsContext::drawText):
372         (WebCore::GraphicsContext::drawHighlightForText):
373         * platform/GraphicsContext.h:
374         * platform/mac/FontMac.mm:
375         (WebCore::addDirectionalOverride):
376         (WebCore::overrideLayoutOperation):
377         (WebCore::ATSULayoutParameters::initialize):
378         (WebCore::Font::selectionRectForText):
379         (WebCore::Font::drawComplexText):
380         (WebCore::Font::drawHighlightForText):
381         (WebCore::Font::floatWidthForComplexText):
382         (WebCore::Font::checkSelectionPoint):
383         * platform/win/FontWin.cpp:
384         (WebCore::hackishExtentForString):
385         (WebCore::Font::floatWidth):
386         (WebCore::Font::drawText):
387         (WebCore::Font::drawHighlightForText):
388         (WebCore::Font::selectionRectForText):
389         (WebCore::Font::checkSelectionPoint):
390         * rendering/InlineTextBox.cpp:
391         (WebCore::InlineTextBox::selectionRect):
392         (WebCore::InlineTextBox::paint):
393         (WebCore::InlineTextBox::paintSelection):
394         (WebCore::InlineTextBox::paintMarkedTextBackground):
395         (WebCore::InlineTextBox::paintTextMatchMarker):
396         (WebCore::InlineTextBox::offsetForPosition):
397         (WebCore::InlineTextBox::positionForOffset):
398         * rendering/RenderBlock.cpp:
399         (WebCore::stripTrailingSpace):
400         * rendering/RenderFlexibleBox.cpp:
401         (WebCore::RenderFlexibleBox::layoutVerticalBox):
402         * rendering/RenderImage.cpp:
403         (WebCore::RenderImage::imageChanged):
404         (WebCore::RenderImage::paint):
405         * rendering/RenderText.cpp:
406         (WebCore::RenderText::cacheWidths):
407         (WebCore::RenderText::widthFromCache):
408         (WebCore::RenderText::trimmedMinMaxWidth):
409         (WebCore::RenderText::calcMinMaxWidth):
410         (WebCore::RenderText::width):
411         * rendering/RenderTextField.cpp:
412         (WebCore::RenderTextField::calcMinMaxWidth):
413         * rendering/bidi.cpp:
414         (WebCore::RenderBlock::tabWidth):
415         (WebCore::RenderBlock::checkLinesForTextOverflow):
416         * rendering/render_line.cpp:
417         (WebCore::EllipsisBox::paint):
418         * rendering/render_list.cpp:
419         (WebCore::RenderListMarker::paint):
420         (WebCore::RenderListMarker::calcMinMaxWidth):
421         (WebCore::RenderListMarker::getRelativeMarkerRect):
422
423 2006-05-10  Justin Garcia  <justin.garcia@apple.com>
424
425         Reviewed by darin
426
427         * editing/ReplaceSelectionCommand.cpp:
428         (WebCore::ReplaceSelectionCommand::doApply):
429         Removed the code to find out if we must later add smart replace whitespace.  We can 
430         wait until we've done the insertion to figure it out, and the position sampled (startPos)
431         to make the decision about trailing whitespace was wrong.
432         Changed the order that work is done during a paste: 1) Insert everything 2) Do one of
433         the following: a) handle a trailing interchange newline, b) uncollapse the last incoming
434         br if it has been collapsed because of quirks mode, c) do an end merge 3) Add smart replace
435         whitespace (2 and 3 were reversed because the end merge must happen before we can know
436         whether or not we need to add a trailing space).
437         Don't do an end merge if the last node inserted was a br because the end merge will 
438         clobber it.
439         
440         (WebCore::ReplaceSelectionCommand::removeEndBRIfNeeded):
441         brs where [br, 0] is at the end of a block and not at the start of a paragraph
442         are the ones that are collapsed because of quirks mode.
443
444 2006-05-10  David Hyatt  <hyatt@apple.com>
445
446         Rename isSpace to treatAsSpace.  Move it and the rounding hack function into
447         Font and make them static methods (inlined in the header).  Make the rounding
448         hack character table a static member as well.  Remove the redundant space/rounding
449         functions from FontData.mm.
450
451         Reviewed by darin
452
453         * platform/Font.cpp:
454         (WebCore::):
455         (WebCore::m_finalRoundingWidth):
456         (WebCore::WidthIterator::advance):
457         * platform/Font.h:
458         (WebCore::Font::treatAsSpace):
459         (WebCore::Font::isRoundingHackCharacter):
460         * platform/mac/FontData.mm:
461         (WebCore::overrideLayoutOperation):
462         (WebCore::createATSULayoutParameters):
463         (WebCore::initializeWidthIterator):
464         (WebCore::advanceWidthIterator):
465         * platform/mac/FontMac.mm:
466         (WebCore::overrideLayoutOperation):
467         (WebCore::ATSULayoutParameters::initialize):
468
469 2006-05-10  Darin Adler  <darin@apple.com>
470
471         * WebCore: Removed an extra WebCore subtree that somehow got checked in.
472
473 >>>>>>> .r14297
474 2006-05-10  David Carson <dacarson@gmail.com>
475
476         - Fix for bug 8833. Removed inline keyword from functions declared
477         in .mm and .cpp files. inline function code needs to reside in the
478         header file for the linker to find the code. 
479         http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.7
480
481         Reviewed by Darin, landed by Timothy.
482
483         * platform/Font.cpp:
484         (WebCore::isSpace):
485         * platform/mac/FontData.mm:
486         (WebCore::widthForGlyph):
487         (WebCore::isRoundingHackCharacter):
488         (WebCore::glyphForCharacter):
489
490 2006-05-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
491
492         Reviewed and landed by Anders.
493
494         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8830
495           REGRESSION: Words render on top of each other when fallback font is used
496
497         Already covered by several pixel tests in fast/text
498
499         * platform/Font.cpp:
500         (WebCore::Font::drawSimpleText):
501
502 2006-05-10  David Hyatt  <hyatt@apple.com>
503
504         Fix for bug 8809, lift the Mac-specific WebTextRenderer code for
505         drawing and measuring of runs up into the Font class.  The fast code
506         path is in Font.cpp and is designed to be mostly cross-platform.  The
507         slow code path is in FontMac.cpp and is Mac-specific.
508
509         Reviewed by darin
510
511         * WebCore.xcodeproj/project.pbxproj:
512         * platform/Font.cpp:
513         (WebCore::isSpace):
514         (WebCore::):
515         (WebCore::isRoundingHackCharacter):
516         (WebCore::m_finalRoundingWidth):
517         (WebCore::WidthIterator::advance):
518         (WebCore::WidthIterator::normalizeVoicingMarks):
519         (WebCore::Font::primaryFont):
520         (WebCore::Font::setAlwaysUseComplexPath):
521         (WebCore::Font::canUseGlyphCache):
522         (WebCore::Font::drawSimpleText):
523         (WebCore::Font::drawText):
524         (WebCore::Font::floatWidth):
525         (WebCore::Font::floatWidthForSimpleText):
526         * platform/Font.h:
527         * platform/FontData.h:
528         (WebCore::FontData::platformData):
529         * platform/GlyphBuffer.h: Added.
530         (WebCore::GlyphBuffer::GlyphBuffer):
531         (WebCore::GlyphBuffer::isEmpty):
532         (WebCore::GlyphBuffer::size):
533         (WebCore::GlyphBuffer::glyphs):
534         (WebCore::GlyphBuffer::advances):
535         (WebCore::GlyphBuffer::fontDataAt):
536         (WebCore::GlyphBuffer::swap):
537         (WebCore::GlyphBuffer::glyphAt):
538         (WebCore::GlyphBuffer::advanceAt):
539         (WebCore::GlyphBuffer::add):
540         * platform/mac/FontData.mm:
541         (WebCore::isSpace):
542         (WebCore::isRoundingHackCharacter):
543         (WebCore::FontData::widthForGlyph):
544         (WebCore::m_ATSUMirrors):
545         (WebCore::FontData::xHeight):
546         (WebCore::FontData::smallCapsFontData):
547         (WebCore::findSubstituteFont):
548         (WebCore::rendererForAlternateFont):
549         (WebCore::findSubstituteRenderer):
550         (WebCore::FontData::findSubstituteFontData):
551         (WebCore::computeWidthForSpace):
552         (WebCore::FontData::updateGlyphMapEntry):
553         (WebCore::extendGlyphMap):
554         (WebCore::extendWidthMap):
555         (WebCore::createATSULayoutParameters):
556         (WebCore::FontData::glyphForCharacter):
557         (WebCore::advanceWidthIterator):
558         (WebCore::shouldUseATSU):
559         * platform/mac/FontMac.mm:
560         (WebCore::ATSULayoutParameters::m_padPerSpace):
561         (WebCore::addDirectionalOverride):
562         (WebCore::initializeATSUStyle):
563         (WebCore::overrideLayoutOperation):
564         (WebCore::ATSULayoutParameters::initialize):
565         (WebCore::disposeATSULayoutParameters):
566         (WebCore::Font::drawComplexText):
567         (WebCore::Font::floatWidthForComplexText):
568         (WebCore::Font::drawGlyphs):
569         * platform/mac/WebCoreTextRenderer.mm:
570         (WebCoreSetAlwaysUseATSU):
571
572 2006-05-10  Darin Adler  <darin@apple.com>
573
574         - another try at fixing the Windows build
575
576         * platform/win/FontWin.cpp: (WebCore::getFontData): Use characters()
577         instead of unicode().
578
579 == Rolled over to ChangeLog-2006-05-10 ==