Reviewed by Darin, Adele.
[WebKit-https.git] / WebCore / ChangeLog
1 2006-08-23  Adam Roben  <aroben@apple.com>
2
3         Reviewed by Darin, Adele.
4
5         Some popup refactoring/cleanup.
6
7         * html/HTMLSelectElement.cpp:
8         (WebCore::HTMLSelectElement::defaultEventHandler):
9         * rendering/RenderMenuList.cpp:
10         (WebCore::RenderMenuList::RenderMenuList):
11         (WebCore::RenderMenuList::~RenderMenuList):
12         (WebCore::RenderMenuList::showPopup):
13         (WebCore::RenderMenuList::hidePopup):
14         * rendering/RenderMenuList.h:
15         (WebCore::RenderMenuList::popup):
16         (WebCore::RenderMenuList::popupIsVisible):
17         * rendering/RenderPopupMenu.h:
18         * rendering/RenderPopupMenuMac.h:
19         (WebCore::RenderPopupMenuMac::hidePopup):
20
21 2006-08-23  Nikolas Zimmermann  <zimmermann@kde.org>
22
23         Reviewed by Anders. Landed by rwlbuis.
24
25         Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
26         WebKit should have Qt platform support
27
28         * platform/qt/ResourceLoaderCurl.cpp: Added.
29         (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
30         (WebCore::ResourceLoader::~ResourceLoader):
31         (WebCore::ResourceLoader::start):
32         (WebCore::ResourceLoader::cancel):
33         (WebCore::ResourceLoader::assembleResponseHeaders):
34         (WebCore::ResourceLoader::retrieveCharset):
35         (WebCore::ResourceLoader::receivedResponse):
36         * platform/qt/ResourceLoaderManager.cpp: Added.
37         (WebCore::ResourceLoaderManager::ResourceLoaderManager):
38         (WebCore::ResourceLoaderManager::get):
39         (WebCore::ResourceLoaderManager::useSimpleTransfer):
40         (WebCore::writeCallback):
41         (WebCore::headerCallback):
42         (WebCore::ResourceLoaderManager::downloadTimerCallback):
43         (WebCore::ResourceLoaderManager::remove):
44         (WebCore::ResourceLoaderManager::add):
45         (WebCore::ResourceLoaderManager::cancel):
46         * platform/qt/ResourceLoaderManager.h: Added.
47         * platform/qt/StringQt.cpp: Added.
48         (WebCore::String::String):
49         (WebCore::String::operator QString):
50         (WebCore::DeprecatedString::operator QString):
51
52 2006-08-23  Brady Eidson  <beidson@apple.com>
53
54         Reviewed by Maciej
55
56         Added escapeSQLString() - a helper to escape strings to be used in textual SQL queries
57
58         * WebCore.xcodeproj/project.pbxproj: Reordered some files
59         * loader/icon/IconDataCache.cpp: Use the new escapeSQLString()
60         (WebCore::IconDataCache::writeToDatabase):
61         * loader/icon/IconDatabase.cpp: Use the new escapeSQLString() throughout
62         (WebCore::IconDatabase::retainIconURL):
63         (WebCore::IconDatabase::releaseIconURL):
64         (WebCore::IconDatabase::forgetIconForIconURLFromDatabase):
65         (WebCore::IconDatabase::establishIconIDForIconURL):
66         (WebCore::imageDataForIconURLQuery):
67         (WebCore::timeStampForIconURLQuery):
68         (WebCore::iconURLForPageURLQuery):
69         (WebCore::forgetPageURLQuery):
70         (WebCore::setIconIDForPageURLQuery):
71         (WebCore::getIconIDForIconURLQuery):
72         (WebCore::addIconForIconURLQuery):
73         (WebCore::hasIconForIconURLQuery):
74         * loader/icon/SQLDatabase.h:
75         (WebCore::escapeSQLString): Added
76
77 2006-08-22  Maciej Stachowiak  <mjs@apple.com>
78
79         Reviewed by Brady.
80
81         - assorted style cleanup of icon loader code:
82         
83         - wrapped all implementation files in namespace WebCore {} instead of "using namespace WebCore;" at top
84         - split headers to be one per class, to match impl files
85         - made files that are purely local in IconDatabase.cpp static
86         - make each impl file include config.h as first header (and no config.h includes in other headers)
87         - avoid multiple copies of Vector<unsigned char> for image data
88
89         * WebCore.xcodeproj/project.pbxproj:
90         * loader/icon/IconDataCache.cpp:
91         * loader/icon/IconDataCache.h: Added.
92         (WebCore::):
93         (WebCore::IconDataCache::getTimestamp):
94         (WebCore::IconDataCache::setTimestamp):
95         (WebCore::IconDataCache::getIconURL):
96         * loader/icon/IconDatabase.cpp:
97         (WebCore::IconDatabase::imageDataForIconURL):
98         (WebCore::IconDatabase::iconForPageURL):
99         (WebCore::pageURLTableIsEmptyQuery):
100         (WebCore::imageDataForIconURLQuery):
101         (WebCore::timeStampForIconURLQuery):
102         (WebCore::iconURLForPageURLQuery):
103         (WebCore::forgetPageURLQuery):
104         (WebCore::setIconIDForPageURLQuery):
105         (WebCore::getIconIDForIconURLQuery):
106         (WebCore::addIconForIconURLQuery):
107         (WebCore::hasIconForIconURLQuery):
108         * loader/icon/IconDatabase.h:
109         * loader/icon/SQLDatabase.cpp:
110         * loader/icon/SQLDatabase.h:
111         * loader/icon/SQLStatement.cpp:
112         (WebCore::SQLStatement::getColumnBlobAsVector):
113         * loader/icon/SQLStatement.h: Added.
114         (WebCore::SQLStatement::isPrepared):
115         (WebCore::SQLStatement::prepareAndStep):
116         (WebCore::SQLStatement::lastError):
117         (WebCore::SQLStatement::lastErrorMsg):
118         * loader/icon/SQLTransaction.cpp:
119         * loader/icon/SQLTransaction.h: Added.
120
121 2006-08-22  Brady Eidson  <beidson@apple.com>
122
123         Reviewed by Maciej
124
125         The role of the SiteIcon is now the original intention - to be a cache of data relating to an Icon
126         As such, I'm renaming it to IconDataCache.
127         Also, the IconDatabase has to manually set the image data on the IconDataCache and also sets the 
128         TimeStamp when an icon is created or the data is changed.
129         IconDataCache now has a method to write itself *to* a given database, instead of read itself from one.
130         IconDatabase schema changes to have the timestamp set manually instead of via a trigger.
131         The overall purpose of this change is to cache the timestamp, killing off a very common SQL query.
132
133         * WebCore.xcodeproj/project.pbxproj: Renamed a file
134         * loader/icon/IconDataCache.cpp: Added.
135         (IconDataCache::IconDataCache):
136         (IconDataCache::getImage): Now either returns the stored image, or 0 - no attempt to grab data
137         (IconDataCache::manuallySetImageData): Delete the old image and create the new one
138         (IconDataCache::writeToDatabase): Write the current iconURL, data, and timestamp to the given DB
139         (IconDataCache::imageDataStatus): Determine if an IconDataCache is new without data versus actually having null data
140         * loader/icon/IconDatabase.cpp:
141         (WebCore::IconDatabase::createDatabaseTables): Changed DB schema to version 5 (hopefully the final version)
142         (WebCore::IconDatabase::iconForPageURL): 
143         (WebCore::IconDatabase::isIconExpiredForIconURL): Uses the timestamp in the IconDataCache object instead of always querying
144         (WebCore::IconDatabase::getOrCreateIconDataCache): Added, to handle creation of new IconDataCache when appropriate
145         (WebCore::IconDatabase::setIconDataForIconURL): Puts data in SiteIcon then marks it for a future write
146         (WebCore::IconDatabase::syncDatabase): Now syncs SiteIconsPendingUpdate
147         * loader/icon/IconDatabase.h:
148         (WebCore::IconDataCache::getTimestamp):
149         (WebCore::IconDataCache::setTimestamp):
150         * loader/icon/SiteIcon.cpp: Removed.
151
152
153 2006-08-22  Justin Garcia  <justin.garcia@apple.com>
154
155         Reviewed by harrison
156         
157         <http://bugzilla.opendarwin.org/show_bug.cgi?id=10449>
158         REGRESSION(r15918): drag-into-marker.html failing
159
160         * editing/ReplaceSelectionCommand.cpp:
161         (WebCore::ReplaceSelectionCommand::doApply): Don't avoid nesting
162         in a list item.
163
164 2006-08-22  Brady Eidson  <beidson@apple.com>
165
166         Reviewed by Kevin
167
168         Added a check in getTIFFRepresentation to not proceed if the frame count is zero
169         This is an error condition that was handled gracefully before - in certain circumstances
170         the call to CGImageDestinationCreateWithData will spam the Console if it is passed null/empty data
171         or invalid data.  This small change bails out before that call if that call will definitely fail
172
173         * platform/mac/ImageMac.mm:
174         (WebCore::Image::getTIFFRepresentation):
175
176 2006-08-22  David Harrison  <harrison@apple.com>
177
178         Backed out my last change (r15966) because it broke lots of layout tests.
179
180         * editing/TextIterator.cpp:
181         (WebCore::TextIterator::advance):
182
183 2006-08-22  Maciej Stachowiak  <mjs@apple.com>
184
185         Reviewed by Anders.
186
187         - added some SPI indirections to support the following in WebKit/Loader:
188             - pull more WebDataSource code into WebFrameLoader
189             - make WebMainResourceLoader not depend on WebKit or on SPI
190
191         * WebCore.exp:
192         * WebCore.xcodeproj/project.pbxproj:
193         * platform/mac/WebCoreSystemInterface.h:
194         * platform/mac/WebCoreSystemInterface.mm:
195
196 2006-08-22  Justin Garcia  <justin.garcia@apple.com>
197
198         Reviewed by harrison
199
200         <rdar://problem/4052343&4052343&4426622> Mail hung on paste text
201         
202         * editing/ReplaceSelectionCommand.cpp:
203         (WebCore::isInterchangeNewlineNode):
204         (WebCore::isInterchangeConvertedSpaceSpan):
205         (WebCore::ReplacementFragment::ReplacementFragment):
206         (WebCore::ReplaceSelectionCommand::removeRedundantStyles): Compute the redundant inheritable styles and
207         remove them and remove style nodes and style spans which were only contributing redundant styles.
208         (WebCore::ReplaceSelectionCommand::doApply):
209         * editing/ReplaceSelectionCommand.h:
210
211 2006-08-22  David Harrison  <harrison@apple.com>
212
213         Reviewed by Darin.
214
215         <rdar://problem/4077676> Inline hole line adheres to the Japanese characters in inline hole
216
217         This happens because the underline is always 2 pixels thick, and placed 3 pixels above the bottom of the text box.
218
219         Test case added:
220         * manual-tests/inline-input-marking.html: Added.
221         Check that underlining of the inline input hole does not obscure the glyphs.
222         
223         * rendering/InlineTextBox.cpp:
224         (WebCore::InlineTextBox::paintMarkedTextUnderline):
225         Position underline at bottom of text box.
226         Height of underline is reduced to 1 px when font's descent is less than or equal to 2 px.
227
228 2006-08-22  Rob Buis  <buis@kde.org>
229
230         Reviewed by Eric.
231
232         http://bugzilla.opendarwin.org/show_bug.cgi?id=10402
233         REPRO: SVG crashes inside gradient code
234
235         Make sure we do not try to update the canvas resource/gradient paintserver when it is not yet built.
236
237         * ksvg2/svg/SVGGradientElement.cpp:
238         (SVGGradientElement::notifyAttributeChange):
239         (SVGGradientElement::resourceNotification):
240
241 2006-08-22  David Harrison  <harrison@apple.com>
242
243         Reviewed by John.
244
245         <rdar://problem/4523606> Represent heading elements in AXAttributedStringForTextMarkerRange
246
247         * bridge/mac/WebCoreAXObject.mm:
248         (headingLevel):
249         (-[WebCoreAXObject headingLevel]):
250         (-[WebCoreAXObject isHeading]):
251         New. Heading level is per the tag (h1 == 1, h2 == 2, etc.)
252         
253         (-[WebCoreAXObject role]):
254         (-[WebCoreAXObject roleDescription]):
255         Add role and roleDescription for headings.
256         
257         (-[WebCoreAXObject value]):
258         Value is the headingLevel.
259         
260         (AXAttributeStringSetHeadingLevel):
261         (AXAttributedStringAppendText):
262         Put text's heading level (if applicable) in the attributes.
263         
264 2006-08-22  David Harrison  <harrison@apple.com>
265
266         Reviewed by John.
267
268         <rdar://problem/4522205> Represent controls in AXAttributedStringForTextMarkerRange
269
270         Treat controls as replaced elements, so that AXAttributedStringForTextMarkerRange will, too.
271         
272         * editing/TextIterator.cpp:
273         (WebCore::TextIterator::advance):
274         Include controls.
275
276 2006-08-22  David Harrison  <harrison@apple.com>
277
278         Reviewed by Maciej.
279
280         <rdar://problem/4407336> Some non-text elements return AXTextMarkerRangeForUIElement with equal start and end marker
281
282         * bridge/mac/WebCoreAXObject.mm:
283         (-[WebCoreAXObject textMarkerRange]):
284         Use 0 and maxDeepOffset(), instead of caretMinOffset() and caretMaxRenderedOffset().
285         Check for VisiblePositions being equal.  If so, adjust end one to its next().
286         That happens with, e.g., buttons.
287
288 2006-08-22  Rob Buis  <buis@kde.org>
289
290         Reviewed by Eric.
291
292         http://bugzilla.opendarwin.org/show_bug.cgi?id=10491
293         KCanvasMatrix removal
294
295         Remove KCanvasMatrix from project, using AffineTransform instead.
296
297         * WebCore.xcodeproj/project.pbxproj:
298         * kcanvas/KCanvasMatrix.cpp: Removed.
299         * kcanvas/KCanvasMatrix.h: Removed.
300         * kcanvas/KCanvasResources.cpp:
301         (WebCore::KCanvasMarker::draw):
302         * kcanvas/KCanvasResources.h:
303         * kcanvas/RenderForeignObject.cpp:
304         * kcanvas/RenderPath.h:
305         * kcanvas/RenderSVGContainer.cpp:
306         (WebCore::RenderSVGContainer::viewportTransform):
307         (WebCore::RenderSVGContainer::getAspectRatio):
308         * kcanvas/RenderSVGContainer.h:
309         * kcanvas/RenderSVGText.cpp:
310         * kcanvas/device/KRenderingDevice.h:
311         * kcanvas/device/KRenderingPaintServerGradient.cpp:
312         (WebCore::KRenderingPaintServerGradient::gradientTransform):
313         (WebCore::KRenderingPaintServerGradient::setGradientTransform):
314         (WebCore::KRenderingPaintServerGradient::externalRepresentation):
315         * kcanvas/device/KRenderingPaintServerGradient.h:
316         * kcanvas/device/KRenderingPaintServerPattern.cpp:
317         (WebCore::KRenderingPaintServerPattern::patternTransform):
318         (WebCore::KRenderingPaintServerPattern::setPatternTransform):
319         (WebCore::KRenderingPaintServerPattern::externalRepresentation):
320         * kcanvas/device/KRenderingPaintServerPattern.h:
321         * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
322         * kcanvas/device/quartz/KCanvasItemQuartz.mm:
323         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
324         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
325         (WebCore::KRenderingDeviceContextQuartz::concatCTM):
326         (WebCore::KRenderingDeviceContextQuartz::ctm):
327         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
328         (WebCore::KRenderingPaintServerGradientQuartz::renderPath):
329         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
330         (WebCore::KRenderingPaintServerPatternQuartz::setup):
331         * kcanvas/device/quartz/QuartzSupport.mm:
332         * ksvg2/misc/KCanvasRenderingStyle.h:
333         * ksvg2/svg/SVGAnimateTransformElement.cpp:
334         * ksvg2/svg/SVGAnimateTransformElement.h:
335         * ksvg2/svg/SVGLinearGradientElement.cpp:
336         (SVGLinearGradientElement::buildGradient):
337         * ksvg2/svg/SVGPatternElement.cpp:
338         (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
339         (WebCore::SVGPatternElement::drawPatternContentIntoTile):
340         (WebCore::SVGPatternElement::notifyAttributeChange):
341         * ksvg2/svg/SVGPatternElement.h:
342         * ksvg2/svg/SVGRadialGradientElement.cpp:
343         (WebCore::SVGRadialGradientElement::buildGradient):
344
345 2006-08-22  Rob Buis  <buis@kde.org>
346
347         Reviewed by Eric.
348
349         http://bugzilla.opendarwin.org/show_bug.cgi?id=10405
350         REPRO: SVG Maze crashes in RenderPath code
351
352         Do not render a path when it is empty so maze15.svg does not crash anymore.
353         Also get rid of a runtime warning issued by CGContextGetPathBoundingBox.
354
355         * kcanvas/RenderPath.cpp:
356         (WebCore::RenderPath::paint):
357         * kcanvas/device/quartz/KCanvasPathQuartz.mm:
358         (WebCore::KCanvasPathQuartz::strokeBoundingBox):
359
360 2006-08-21  Brady Eidson  <beidson@apple.com>
361
362         Reviewed by Maciej
363
364         <rdar://4690949> - New IconDB: Need to prune unretained icons on startup
365
366         Added a flag to track whether or not the initial pruning has taken place on startup
367         If that flag is not set, IconURL retain counts will be tracked in a temporary db table
368         in addition to the in-memory hash.  Then when the timer fires after initial retains
369         are complete, we prune those icons not in the retain table, prune dangling PageURL
370         references, delete the temporary table, and set the flag - and carry on as normal
371
372         * loader/icon/IconDatabase.cpp:
373         (WebCore::IconDatabase::IconDatabase): initialize the flag
374         (WebCore::IconDatabase::open): changed the schema of the temporary table
375         (WebCore::IconDatabase::retainIconURL): store the icon retain to the temp table if starting up
376         (WebCore::IconDatabase::releaseIconURL): ditto
377         (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): remove all icons *not* in the retain table, then
378           wipe all the PageURLs who no longer point to a valid IconURL
379         * loader/icon/IconDatabase.h:
380
381 2006-08-21  Alexey Proskuryakov  <ap@nypop.com>
382
383         Reviewed by Eric.
384
385         http://bugzilla.opendarwin.org/show_bug.cgi?id=10419
386         XSLTProcessor transformToFragment fails because of an XML declaration
387
388         Test: fast/xsl/transformToFragment-XML-declaration.html
389
390         * xml/XSLTProcessor.cpp:
391         (WebCore::XSLTProcessor::transformToString): Always inhibit XML declaration printout.
392
393 2006-08-21  David Harrison  <harrison@apple.com>
394
395         Reviewed by Justin.
396
397         <rdar://problem/4471481> Represent misspellings in AXAttributedStringForTextMarkerRange
398
399         Added support for the NSAccessibilityMisspelledTextAttribute.
400         
401         Test cases added: None.  Manual AX testing is way too awkward, and automated testing
402         is not possible.  See following bug...
403             <rdar://problem/4256882> Need automated testing support for accessibility APIs
404
405         * bridge/mac/WebCoreAXObject.mm:
406         Lots of trivial formatting in many methods.
407         
408         (-[WebCoreAXObject accessibilityAttributeValue:]):
409         Fixed AXStartTextMarker and AXEndTextMarker to use startOfDocument and endOfDocument, instead of
410         of positionForCoordinates. I had seen erroneous endOfDocument results while testing the spelling
411         attribute.
412
413         (WebCore::AXAttributeStringSetSpelling): 
414         New. Adds the NSAccessibilityMisspelledTextAttribute for misspelled words.
415
416         (-[WebCoreAXObject AXAttributedStringAppendText:]):
417         Added call to AXAttributeStringSetSpelling.
418         
419         * editing/visible_units.cpp:
420         (WebCore::startOfDocument):
421         (WebCore::endOfDocument):
422         Added for AXStartTextMarker/AXEndTextMarker fix, these forms of the familiar functions take a Node*,
423         so a previously existing VisiblePosition is not required.
424         
425         * editing/visible_units.h:
426         Declare new forms of startOfDocument and endOfDocument.
427
428 2006-08-21  Nikolas Zimmermann  <zimmermann@kde.org>
429
430         Reviewed by Eric.
431
432         Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
433         WebKit should have Qt platform support
434
435         * platform/qt/TemporaryLinkStubs.cpp: Added.
436         (JavaAppletWidget::JavaAppletWidget):
437         (Font::selectionRectForComplexText):
438         (Font::offsetForPositionForComplexText):
439         (WebCore::refreshPlugins):
440         (WebCore::focusRingColor):
441         (Image::drawTiled):
442         (WebCore::TextField::selectAll):
443         (WebCore::TextField::addSearchResult):
444         (WebCore::TextField::selectionStart):
445         (WebCore::TextField::hasSelectedText):
446         (WebCore::TextField::selectedText):
447         (WebCore::TextField::setAutoSaveName):
448         (WebCore::TextField::checksDescendantsForFocus):
449         (WebCore::TextField::setSelection):
450         (WebCore::TextField::setMaxResults):
451         (WebCore::TextField::edited):
452         (WebCore::TextField::focusPolicy):
453         (WebCore::TextField::TextField):
454         (WebCore::TextField::~TextField):
455         (WebCore::TextField::setFont):
456         (WebCore::TextField::setAlignment):
457         (WebCore::TextField::setWritingDirection):
458         (WebCore::TextField::maxLength):
459         (WebCore::TextField::setMaxLength):
460         (WebCore::TextField::text):
461         (WebCore::TextField::setText):
462         (WebCore::TextField::cursorPosition):
463         (WebCore::TextField::setCursorPosition):
464         (WebCore::TextField::setEdited):
465         (WebCore::TextField::setReadOnly):
466         (WebCore::TextField::setPlaceholderString):
467         (WebCore::TextField::setColors):
468         (WebCore::TextField::sizeForCharacterWidth):
469         (WebCore::TextField::baselinePosition):
470         (WebCore::TextField::setLiveSearch):
471         (WebCore::Slider::Slider):
472         (WebCore::Slider::sizeHint):
473         (WebCore::Slider::~Slider):
474         (WebCore::Slider::setValue):
475         (WebCore::Slider::setMaxValue):
476         (WebCore::Slider::setMinValue):
477         (WebCore::Slider::setFont):
478         (WebCore::Slider::value):
479         (WebCore::Slider::focusPolicy):
480         (WebCore::ScrollBar::ScrollBar):
481         (WebCore::ScrollBar::setSteps):
482         (WebCore::ScrollBar::scroll):
483         (WebCore::ScrollBar::setValue):
484         (WebCore::ScrollBar::setKnobProportion):
485         (WebCore::PlatformScrollBar::PlatformScrollBar):
486         (WebCore::PlatformScrollBar::~PlatformScrollBar):
487         (WebCore::PlatformScrollBar::width):
488         (WebCore::PlatformScrollBar::height):
489         (WebCore::PlatformScrollBar::setEnabled):
490         (WebCore::PlatformScrollBar::paint):
491         (WebCore::PlatformScrollBar::setScrollBarValue):
492         (WebCore::PlatformScrollBar::setKnobProportion):
493         (WebCore::PlatformScrollBar::setRect):
494         (WebCore::PlatformMouseEvent::PlatformMouseEvent):
495         (WebCore::CheckCacheObjectStatus):
496         (WebCore::CheckIfReloading):
497         (WebCore::ServeSynchronousRequest):
498         (WebCore::historyContains):
499         (WebCore::submitButtonDefaultLabel):
500         (WebCore::inputElementAltText):
501         (WebCore::resetButtonDefaultLabel):
502         (WebCore::defaultLanguage):
503         (WebCore::findNextSentenceFromIndex):
504         (WebCore::findSentenceBoundary):
505         (WebCore::findNextWordFromIndex):
506         (WebCore::findWordBoundary):
507         (Frame::setNeedsReapplyStyles):
508         (WebCore::screenDepthPerComponent):
509         (WebCore::screenIsMonochrome):
510         (WebCore::searchableIndexIntroduction):
511         (WebCore::setFocusRingColorChangeFunction):
512         (FrameView::updateBorder):
513         (loadResourceIntoArray):
514         (PlugInInfoStore::createPluginInfoForPluginAtIndex):
515         (PlugInInfoStore::pluginCount):
516         (WebCore::PlugInInfoStore::supportsMIMEType):
517         (FileButton::FileButton):
518         (FileButton::click):
519         (FileButton::sizeForCharacterWidth):
520         (FileButton::focusPolicy):
521         (FileButton::frameGeometry):
522         (FileButton::setFilename):
523         (FileButton::baselinePosition):
524         (FileButton::setFrameGeometry):
525         (FileButton::setDisabled):
526         (WebCore::supportedKeySizes):
527         (WebCore::signedPublicKeyAndChallengeString):
528
529 2006-08-21  Nikolas Zimmermann  <zimmermann@kde.org>
530
531         Reviewed by Maciej.
532
533         Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
534         WebKit should have Qt platform support
535
536         * platform/qt/CursorQt.cpp: Added.
537         (WebCore::Cursor::Cursor):
538         (WebCore::Cursor::~Cursor):
539         (WebCore::Cursor::operator=):
540         (WebCore::Cursors::Cursors::self):
541         (WebCore::moveCursor):
542         (WebCore::crossCursor):
543         (WebCore::handCursor):
544         (WebCore::iBeamCursor):
545         (WebCore::waitCursor):
546         (WebCore::helpCursor):
547         (WebCore::eastResizeCursor):
548         (WebCore::northResizeCursor):
549         (WebCore::northEastResizeCursor):
550         (WebCore::northWestResizeCursor):
551         (WebCore::southResizeCursor):
552         (WebCore::southEastResizeCursor):
553         (WebCore::southWestResizeCursor):
554         (WebCore::westResizeCursor):
555         (WebCore::northSouthResizeCursor):
556         (WebCore::eastWestResizeCursor):
557         (WebCore::northEastSouthWestResizeCursor):
558         (WebCore::northWestSouthEastResizeCursor):
559         (WebCore::columnResizeCursor):
560         (WebCore::rowResizeCursor):
561         * platform/qt/RenderThemeQt.cpp: Added.
562         (WebCore::RenderThemeQt::RenderThemeQt):
563         (WebCore::RenderThemeQt::supportsHover):
564         (WebCore::RenderThemeQt::paintCheckbox):
565         (WebCore::RenderThemeQt::paintRadio):
566         (WebCore::theme):
567         (WebCore::RenderThemeQt::isControlStyled):
568         (WebCore::RenderThemeQt::controlSupportsTints):
569         (WebCore::RenderThemeQt::systemFont):
570         (WebCore::RenderThemeQt::createPopupMenu):
571         (WebCore::RenderThemeQt::addIntrinsicMargins):
572         (WebCore::RenderThemeQt::stylePainterAndWidgetForPaintInfo):
573         (WebCore::RenderThemeQt::setCheckboxSize):
574         (WebCore::RenderThemeQt::setRadioSize):
575         (WebCore::RenderThemeQt::supportsFocus):
576         (WebCore::RenderThemeQt::applyTheme):
577         (WebCore::RenderThemeQt::adjustButtonStyle):
578         (WebCore::RenderThemeQt::paintButton):
579         (WebCore::RenderThemeQt::adjustTextFieldStyle):
580         (WebCore::RenderThemeQt::paintTextField):
581
582 2006-08-21  Nikolas Zimmermann  <zimmermann@kde.org>
583
584         Reviewed by Maciej.
585
586         Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
587         WebKit should have Qt platform support
588
589         * platform/qt/SharedTimerQt.cpp: Added.
590         (WebCore:setSharedTimerFiredFunction):
591         (WebCore::setSharedTimerFireTime):
592         (WebCore::stopSharedTimer):
593         * platform/qt/SharedTimerQt.h: Added.
594         (WebCore::SharedTimerQt::SharedTimerQt):
595         (WebCore::SharedTimerQt::~SharedTimerQt):
596         (WebCore::SharedTimerQt::inst):
597         (WebCore::SharedTimerQt::fire):
598         * platform/qt/SystemTimeQt.cpp: Added.
599         (WebCore::currentTime):
600
601 2006-08-21  Brady Eidson  <beidson@apple.com>
602
603         Reviewed by John
604
605         -Defers writing to the database via a timer and handles starting the timer
606          intelligently
607
608         * loader/icon/IconDatabase.cpp:
609         (WebCore::IconDatabase::IconDatabase):
610         (WebCore::IconDatabase::open): Don't start the update timer by default
611         (WebCore::IconDatabase::close): Call syncDatabase()
612         (WebCore::IconDatabase::setPrivateBrowsingEnabled): Call syncDatabase()
613         (WebCore::IconDatabase::setIconURLForPageURL): Setup the cached url, but defer the DB call
614         (WebCore::IconDatabase::setIconURLForPageURLInDatabase): Actually commit the url to the DB
615         (WebCore::IconDatabase::pruneUnretainedIconsOnStartup):
616         (WebCore::IconDatabase::updateDatabase): The updateTimer calls this, which just calls syncDatabase()
617         (WebCore::IconDatabase::syncDatabase): Add and remove pending pageURLs and iconURLs, and stop the updateTimer
618         * loader/icon/IconDatabase.h:
619
620 2006-08-21  Alexey Proskuryakov  <ap@nypop.com>
621
622         Reviewed by Eric.
623
624         - http://bugzilla.opendarwin.org/show_bug.cgi?id=10429
625           XSLTProcessor.transformToFragment crashes if the owner document is empty
626
627         Test: fast/js/xslt-fragment-in-empty-doc.html
628
629         * dom/XMLTokenizer.cpp:
630         (WebCore::XMLTokenizer::XMLTokenizer): Don't iterate over the element stack if it's empty.
631
632 2006-08-21  Brady Eidson  <beidson@apple.com>
633
634         Reviewed by Anders
635
636         -Added timer-based, deferred deletion of database records - PageURLs and Icons handled seperately
637          In the near future, we'll also have timer-based deferred *addition* of database records
638         -Keep retain/release counts in a hash instead of a DB table
639         -Keep only one hash record for the SiteIcons
640         -Renamed some methods for clarity
641
642         * bridge/mac/WebCoreIconDatabaseBridge.h: Renamed method for clarity
643         * bridge/mac/WebCoreIconDatabaseBridge.mm: Ditto
644         (-[WebCoreIconDatabaseBridge _hasEntryForIconURL:]): Ditto
645         * loader/icon/IconDatabase.cpp:
646         (WebCore::IconDatabase::IconDatabase):
647         (WebCore::IconDatabase::open): Added new timer setup
648         (WebCore::IconDatabase::iconForPageURL): Only work with one hash of the SiteIcons
649         (WebCore::IconDatabase::retainIconForPageURL): Keep count in a hash
650         (WebCore::IconDatabase::releaseIconForPageURL): Keep count in a hash, use deferred deletion
651         (WebCore::IconDatabase::retainIconURL): Added
652         (WebCore::IconDatabase::releaseIconURL): Added
653         (WebCore::IconDatabase::forgetPageURL):  Added
654         (WebCore::IconDatabase::isIconURLRetained): New and improved simplicity
655         (WebCore::IconDatabase::setIconDataForIconURL): Cleanup
656         (WebCore::IconDatabase::setIconURLForPageURL):
657         (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): Renamed
658         (WebCore::IconDatabase::pruneIconsPendingDeletion): Added
659         (WebCore::IconDatabase::hasEntryForIconURL): Renamed for clarity
660         * loader/icon/IconDatabase.h: Added multiple stuffs
661
662 2006-08-21  Brady Eidson  <beidson@apple.com>
663
664         Reviewed by Maciej's rubberstamp
665
666         Removed stale file references from the Xcode.proj
667
668         * WebCore.xcodeproj/project.pbxproj:
669
670 2006-08-20  Nikolas Zimmermann  <zimmermann@kde.org>
671
672         Reviewed by Maciej. Landed by rwlbuis.
673
674         Fixes parts of: http://bugzilla.opendarwin.org/show_bug.cgi?id=10463
675         WebKit should have Qt platform support
676
677         Removing HelperQt.h usage by creating appropriate operators
678         constructor in some of the platform classes, as suggested by Darin.
679
680         * CMakeLists.txt:
681         * platform/DeprecatedString.h:
682         * platform/Font.h:
683         * platform/PlatformString.h:
684         * platform/qt/ComboBoxQt.cpp:
685         (WebCore::PlatformComboBox::appendItem):
686         (WebCore::PlatformComboBox::appendGroupLabel):
687         (WebCore::PlatformComboBox::setFont):
688         * platform/qt/LineEditQt.cpp:
689         (WebCore::PlatformLineEdit::setFont):
690         (WebCore::PlatformLineEdit::setText):
691         (WebCore::PlatformLineEdit::text):
692         (WebCore::PlatformLineEdit::selectedText):
693         * platform/qt/ListBoxQt.cpp:
694         (WebCore::ListBox::setFont):
695         (WebCore::ListBox::appendItem):
696         * platform/qt/PlatformKeyboardEventQt.cpp:
697         (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
698         * platform/qt/ScrollViewQt.cpp:
699         * platform/qt/StringQt.cpp: Added.
700         (WebCore::String::String):
701         (WebCore::String::operator QString):
702         (WebCore::DeprecatedString::operator QString):
703         * platform/qt/TextEditQt.cpp:
704         * platform/qt/WidgetQt.cpp:
705         (WebCore::Widget::setFont):
706
707 2006-08-18  Steve Falkenburg  <sfalken@apple.com>
708
709         Rubber stamped by adele.
710         
711         Fix call to WebFormDelegate's textFieldDidBeginEditing.
712
713         * rendering/RenderTextControl.cpp:
714         (WebCore::RenderTextControl::subtreeHasChanged):
715
716 2006-08-19  Nikolas Zimmermann  <zimmermann@kde.org>
717
718         Reviewed by Eric. Landed by rwlbuis.
719
720         Next chunk of the implementation for:
721         http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
722
723         WebKit should have Qt platform support
724
725         * platform/qt/KeyboardCodes.h: Added.
726         * platform/qt/PlatformKeyboardEventQt.cpp: Added.
727         (WebCore::keyIdentifierForQtKeyCode):
728         (WebCore::windowsKeyCodeForKeyEvent):
729         (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
730         * platform/qt/PlatformMouseEventQt.cpp: Added.
731         (WebCore::):
732         (WebCore::PlatformMouseEvent::PlatformMouseEvent):
733
734 2006-08-19  Nikolas Zimmermann  <zimmermann@kde.org>
735
736         Reviewed by Eric. Landed by rwlbuis.
737
738         Next chunk of the implementation for:
739         http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
740
741         WebKit should have Qt platform support
742
743         * platform/qt/AffineTransformQt.cpp: Added.
744         (WebCore::AffineTransform::AffineTransform):
745         (WebCore::AffineTransform::setMatrix):
746         (WebCore::AffineTransform::map):
747         (WebCore::AffineTransform::mapRect):
748         (WebCore::AffineTransform::isIdentity):
749         (WebCore::AffineTransform::m11):
750         (WebCore::AffineTransform::m12):
751         (WebCore::AffineTransform::m21):
752         (WebCore::AffineTransform::m22):
753         (WebCore::AffineTransform::dx):
754         (WebCore::AffineTransform::dy):
755         (WebCore::AffineTransform::reset):
756         (WebCore::AffineTransform::scale):
757         (WebCore::AffineTransform::rotate):
758         (WebCore::AffineTransform::translate):
759         (WebCore::AffineTransform::shear):
760         (WebCore::AffineTransform::det):
761         (WebCore::AffineTransform::invert):
762         (WebCore::AffineTransform::operator QMatrix):
763         (WebCore::AffineTransform::operator==):
764         (WebCore::AffineTransform::operator*=):
765         (WebCore::AffineTransform::operator*):
766         * platform/qt/BrowserExtensionQt.cpp: Added.
767         (WebCore::BrowserExtensionQt::BrowserExtensionQt):
768         (WebCore::BrowserExtensionQt::canRunModal):
769         (WebCore::BrowserExtensionQt::createNewWindow):
770         (WebCore::BrowserExtensionQt::canRunModalNow):
771         (WebCore::BrowserExtensionQt::runModal):
772         (WebCore::BrowserExtensionQt::goBackOrForward):
773         (WebCore::BrowserExtensionQt::historyURL):
774         (WebCore::BrowserExtensionQt::setTypedIconURL):
775         (WebCore::BrowserExtensionQt::setIconURL):
776         (WebCore::BrowserExtensionQt::getHistoryLength):
777         * platform/qt/BrowserExtensionQt.h: Added.
778         * platform/qt/CookieJarQt.cpp: Added.
779         (WebCore::setCookies):
780         (WebCore::cookies):
781         (WebCore::cookiesEnabled):
782         * platform/qt/PageQt.cpp: Added.
783         (WebCore::rootWindowForFrame):
784         (WebCore::Page::windowRect):
785         (WebCore::Page::setWindowRect):
786         * platform/qt/PathQt.cpp: Added.
787         (WebCore::Path::Path):
788         (WebCore::Path::~Path):
789         (WebCore::Path::operator=):
790         (WebCore::Path::contains):
791         (WebCore::Path::translate):
792         (WebCore::Path::boundingRect):
793         (WebCore::Path::moveTo):
794         (WebCore::Path::addLineTo):
795         (WebCore::Path::addQuadCurveTo):
796         (WebCore::Path::addBezierCurveTo):
797         (WebCore::Path::addArcTo):
798         (WebCore::Path::closeSubpath):
799         (WebCore::Path::addArc):
800         (WebCore::Path::addRect):
801         (WebCore::Path::addEllipse):
802         (WebCore::Path::clear):
803         * platform/qt/ScreenQt.cpp: Added.
804         (WebCore::screenRect):
805         (WebCore::screenDepth):
806         (WebCore::usableScreenRect):
807
808
809 2006-08-19  Nikolas Zimmermann  <zimmermann@kde.org>
810
811         Reviewed by Eric. Landed by rwlbuis.
812
813         First chunk of the implementation for:
814         http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
815
816         WebKit should have Qt platform support
817
818         * platform/qt/ComboBoxQt.cpp: Added.
819         (WebCore::PlatformComboBox::PlatformComboBox):
820         (WebCore::PlatformComboBox::~PlatformComboBox):
821         (WebCore::PlatformComboBox::setParentWidget):
822         (WebCore::PlatformComboBox::clear):
823         (WebCore::PlatformComboBox::appendItem):
824         (WebCore::PlatformComboBox::appendGroupLabel):
825         (WebCore::PlatformComboBox::appendSeparator):
826         (WebCore::PlatformComboBox::setCurrentItem):
827         (WebCore::PlatformComboBox::sizeHint):
828         (WebCore::PlatformComboBox::frameGeometry):
829         (WebCore::PlatformComboBox::setFrameGeometry):
830         (WebCore::PlatformComboBox::baselinePosition):
831         (WebCore::PlatformComboBox::setFont):
832         (WebCore::PlatformComboBox::focusPolicy):
833         (WebCore::PlatformComboBox::itemSelected):
834         (WebCore::PlatformComboBox::setWritingDirection):
835         (WebCore::PlatformComboBox::populate):
836         (WebCore::PlatformComboBox::populateMenu):
837         * platform/qt/LineEditQt.cpp: Added.
838         (WebCore::PlatformLineEdit::PlatformLineEdit):
839         (WebCore::PlatformLineEdit::~PlatformLineEdit):
840         (WebCore::PlatformLineEdit::setParentWidget):
841         (WebCore::PlatformLineEdit::setColors):
842         (WebCore::PlatformLineEdit::setAlignment):
843         (WebCore::PlatformLineEdit::setCursorPosition):
844         (WebCore::PlatformLineEdit::cursorPosition):
845         (WebCore::PlatformLineEdit::setEdited):
846         (WebCore::PlatformLineEdit::edited):
847         (WebCore::PlatformLineEdit::setFont):
848         (WebCore::PlatformLineEdit::setMaxLength):
849         (WebCore::PlatformLineEdit::maxLength):
850         (WebCore::PlatformLineEdit::setReadOnly):
851         (WebCore::PlatformLineEdit::isReadOnly):
852         (WebCore::PlatformLineEdit::setText):
853         (WebCore::PlatformLineEdit::text):
854         (WebCore::PlatformLineEdit::setWritingDirection):
855         (WebCore::PlatformLineEdit::selectAll):
856         (WebCore::PlatformLineEdit::hasSelectedText):
857         (WebCore::PlatformLineEdit::selectionStart):
858         (WebCore::PlatformLineEdit::selectedText):
859         (WebCore::PlatformLineEdit::setSelection):
860         (WebCore::PlatformLineEdit::sizeForCharacterWidth):
861         (WebCore::PlatformLineEdit::baselinePosition):
862         (WebCore::PlatformLineEdit::focusPolicy):
863         (WebCore::PlatformLineEdit::checksDescendantsForFocus):
864         (WebCore::PlatformLineEdit::setLiveSearch):
865         (WebCore::PlatformLineEdit::setAutoSaveName):
866         (WebCore::PlatformLineEdit::setMaxResults):
867         (WebCore::PlatformLineEdit::setPlaceholderString):
868         (WebCore::PlatformLineEdit::addSearchResult):
869         * platform/qt/ListBoxQt.cpp: Added.
870         (WebCore::ListBox::ListBox):
871         (WebCore::ListBox::~ListBox):
872         (WebCore::ListBox::setParentWidget):
873         (WebCore::ListBox::sizeForNumberOfLines):
874         (WebCore::ListBox::setSelectionMode):
875         (WebCore::ListBox::clear):
876         (WebCore::ListBox::doneAppendingItems):
877         (WebCore::ListBox::setSelected):
878         (WebCore::ListBox::isSelected):
879         (WebCore::ListBox::setEnabled):
880         (WebCore::ListBox::isEnabled):
881         (WebCore::ListBox::setWritingDirection):
882         (WebCore::ListBox::focusPolicy):
883         (WebCore::ListBox::checksDescendantsForFocus):
884         (WebCore::ListBox::clearCachedTextRenderers):
885         (WebCore::ListBox::setFont):
886         (WebCore::ListBox::appendItem):
887         * platform/qt/ScrollViewQt.cpp: Added.
888         (WebCore::ScrollView::ScrollView):
889         (WebCore::ScrollView::~ScrollView):
890         (WebCore::ScrollView::setParentWidget):
891         (WebCore::ScrollView::updateContents):
892         (WebCore::ScrollView::visibleWidth):
893         (WebCore::ScrollView::visibleHeight):
894         (WebCore::ScrollView::visibleContentRect):
895         (WebCore::ScrollView::setContentsPos):
896         (WebCore::ScrollView::resizeContents):
897         (WebCore::ScrollView::contentsX):
898         (WebCore::ScrollView::contentsY):
899         (WebCore::ScrollView::contentsWidth):
900         (WebCore::ScrollView::contentsHeight):
901         (WebCore::ScrollView::viewportToContents):
902         (WebCore::ScrollView::contentsToViewport):
903         (WebCore::ScrollView::scrollOffset):
904         (WebCore::ScrollView::scrollBy):
905         (WebCore::ScrollView::hScrollBarMode):
906         (WebCore::ScrollView::vScrollBarMode):
907         (WebCore::ScrollView::suppressScrollBars):
908         (WebCore::ScrollView::setHScrollBarMode):
909         (WebCore::ScrollView::setVScrollBarMode):
910         (WebCore::ScrollView::setScrollBarsMode):
911         (WebCore::ScrollView::setStaticBackground):
912         (WebCore::ScrollView::addChild):
913         (WebCore::ScrollView::removeChild):
914         (WebCore::ScrollView::scrollPointRecursively):
915         (WebCore::ScrollView::inWindow):
916         * platform/qt/TextEditQt.cpp: Added.
917         (WebCore::PlatformTextEdit::PlatformTextEdit):
918         (WebCore::PlatformTextEdit::~PlatformTextEdit):
919         (WebCore::PlatformTextEdit::setParentWidget):
920         (WebCore::PlatformTextEdit::setColors):
921         (WebCore::PlatformTextEdit::setAlignment):
922         (WebCore::PlatformTextEdit::setLineHeight):
923         (WebCore::PlatformTextEdit::setCursorPosition):
924         (WebCore::PlatformTextEdit::getCursorPosition):
925         (WebCore::PlatformTextEdit::setFont):
926         (WebCore::PlatformTextEdit::setReadOnly):
927         (WebCore::PlatformTextEdit::isReadOnly):
928         (WebCore::PlatformTextEdit::setDisabled):
929         (WebCore::PlatformTextEdit::isDisabled):
930         (WebCore::PlatformTextEdit::hasSelectedText):
931         (WebCore::PlatformTextEdit::setText):
932         (WebCore::PlatformTextEdit::text):
933         (WebCore::PlatformTextEdit::textWithHardLineBreaks):
934         (WebCore::PlatformTextEdit::focusPolicy):
935         (WebCore::PlatformTextEdit::setWordWrap):
936         (WebCore::PlatformTextEdit::wordWrap):
937         (WebCore::PlatformTextEdit::setScrollBarModes):
938         (WebCore::PlatformTextEdit::setWritingDirection):
939         (WebCore::PlatformTextEdit::selectionStart):
940         (WebCore::PlatformTextEdit::selectionEnd):
941         (WebCore::PlatformTextEdit::setSelectionStart):
942         (WebCore::PlatformTextEdit::setSelectionEnd):
943         (WebCore::PlatformTextEdit::selectAll):
944         (WebCore::PlatformTextEdit::setSelectionRange):
945         (WebCore::PlatformTextEdit::sizeWithColumnsAndRows):
946         (WebCore::PlatformTextEdit::checksDescendantsForFocus):
947         * platform/qt/WidgetQt.cpp: Added.
948         (WebCore::WidgetPrivate::WidgetPrivate):
949         (WebCore::WidgetPrivate::~WidgetPrivate):
950         (WebCore::Widget::Widget):
951         (WebCore::Widget::~Widget):
952         (WebCore::Widget::setClient):
953         (WebCore::Widget::client):
954         (WebCore::Widget::frameGeometry):
955         (WebCore::Widget::hasFocus):
956         (WebCore::Widget::setFocus):
957         (WebCore::Widget::clearFocus):
958         (WebCore::Widget::font):
959         (WebCore::Widget::setFont):
960         (WebCore::Widget::setCursor):
961         (WebCore::Widget::show):
962         (WebCore::Widget::hide):
963         (WebCore::Widget::setQWidget):
964         (WebCore::Widget::qwidget):
965         (WebCore::Widget::setParentWidget):
966         (WebCore::Widget::parentWidget):
967         (WebCore::Widget::setFrameGeometry):
968         (WebCore::Widget::mapFromGlobal):
969         (WebCore::Widget::scaleFactor):
970         (WebCore::Widget::lockDrawingFocus):
971         (WebCore::Widget::unlockDrawingFocus):
972         (WebCore::Widget::paint):
973         (WebCore::Widget::enableFlushDrawing):
974         (WebCore::Widget::isEnabled):
975         (WebCore::Widget::setIsSelected):
976         (WebCore::Widget::disableFlushDrawing):
977         (WebCore::Widget::setEnabled):
978         (WebCore::Widget::focusPolicy):
979
980 2006-08-19  Nikolas Zimmermann  <zimmermann@kde.org>
981
982         Reviewed by Eric. Landed by rwlbuis.
983
984         First chunk of the implementation for:
985         http://bugzilla.opendarwin.org/show_bug.cgi?id=10467
986
987         WebKit should have Qt platform support
988
989         * platform/qt/ColorQt.cpp: Added.
990         (WebCore::Color::Color):
991         (WebCore::Color::operator QColor):
992         * platform/qt/FloatPointQt.cpp: Added.
993         (WebCore::FloatPoint::FloatPoint):
994         (WebCore::FloatPoint::operator QPointF):
995         * platform/qt/FloatRectQt.cpp: Added.
996         (WebCore::FloatRect::FloatRect):
997         (WebCore::FloatRect::operator QRectF):
998         * platform/qt/IntPointQt.cpp: Added.
999         (WebCore::IntPoint::IntPoint):
1000         (WebCore::IntPoint::operator QPoint):
1001         * platform/qt/IntRectQt.cpp: Added.
1002         (WebCore::IntRect::IntRect):
1003         (WebCore::IntRect::operator QRect):
1004         * platform/qt/IntSizeQt.cpp: Added.
1005         (WebCore::IntSize::IntSize):
1006         (WebCore::IntSize::operator QSize):
1007
1008  2006-08-18  Nikolas Zimmermann  <zimmermann@kde.org>
1009  
1010          Reviewed by Eric. Landed by rwlbuis.
1011  
1012          Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10470
1013          The Qt platform needs a KCanvas device.
1014  
1015          * kcanvas/device/qt/KCanvasClipperQt.cpp: Added.
1016          (WebCore::KCanvasClipperQt::applyClip):
1017          * kcanvas/device/qt/KCanvasClipperQt.h: Added.
1018          (WebCore::KCanvasClipperQt::KCanvasClipperQt):
1019          * kcanvas/device/qt/KCanvasPathQt.cpp: Added.
1020          (WebCore::KCanvasPathQt::KCanvasPathQt):
1021          (WebCore::KCanvasPathQt::~KCanvasPathQt):
1022          (WebCore::KCanvasPathQt::isEmpty):
1023          (WebCore::KCanvasPathQt::moveTo):
1024          (WebCore::KCanvasPathQt::lineTo):
1025          (WebCore::KCanvasPathQt::curveTo):
1026          (WebCore::KCanvasPathQt::closeSubpath):
1027          (WebCore::KCanvasPathQt::boundingBox):
1028          (WebCore::KCanvasPathQt::strokeBoundingBox):
1029          (WebCore::KCanvasPathQt::strokeContainsPoint):
1030          (WebCore::KCanvasPathQt::containsPoint):
1031          * kcanvas/device/qt/KCanvasPathQt.h: Added.
1032          (WebCore::KCanvasPathQt::qtPath):
1033          * kcanvas/device/qt/KRenderingDeviceQt.cpp: Added.
1034          (WebCore::KRenderingDeviceContextQt::KRenderingDeviceContextQt):
1035          (WebCore::KRenderingDeviceContextQt::~KRenderingDeviceContextQt):
1036          (WebCore::KRenderingDeviceContextQt::concatCTM):
1037          (WebCore::KRenderingDeviceContextQt::ctm):
1038          (WebCore::KRenderingDeviceContextQt::mapFromVisual):
1039          (WebCore::KRenderingDeviceContextQt::mapToVisual):
1040          (WebCore::KRenderingDeviceContextQt::clearPath):
1041          (WebCore::KRenderingDeviceContextQt::addPath):
1042          (WebCore::KRenderingDeviceContextQt::createGraphicsContext):
1043          (WebCore::KRenderingDeviceContextQt::painter):
1044          (WebCore::KRenderingDeviceContextQt::pathBBox):
1045          (WebCore::KRenderingDeviceContextQt::setFillRule):
1046          (WebCore::KRenderingDeviceContextQt::fillPath):
1047          (WebCore::KRenderingDeviceContextQt::strokePath):
1048          (WebCore::KRenderingDeviceQt::KRenderingDeviceQt):
1049          (WebCore::KRenderingDeviceQt::~KRenderingDeviceQt):
1050          (WebCore::KRenderingDeviceQt::popContext):
1051          (WebCore::KRenderingDeviceQt::pushContext):
1052          (WebCore::KRenderingDeviceQt::qtContext):
1053          (WebCore::KRenderingDeviceQt::contextForImage):
1054          (WebCore::KRenderingDeviceQt::stringForPath):
1055          (WebCore::KRenderingDeviceQt::createResource):
1056          (WebCore::KRenderingDeviceQt::createPaintServer):
1057          (WebCore::KRenderingDeviceQt::createFilterEffect):
1058
1059 2006-08-17  Nikolas Zimmermann  <zimmermann@kde.org>
1060
1061         Reviewed by Eric. Landed by rwlbuis.
1062
1063         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10466
1064         WebKit should have Qt platform support.
1065
1066         * platform/Color.h:
1067         * platform/Cursor.h:
1068         (WebCore::Cursor::Cursor):
1069         * platform/FloatPoint.h:
1070         * platform/FloatRect.h:
1071         * platform/GlyphBuffer.h:
1072         (WebCore::GlyphBuffer::glyphAt):
1073         (WebCore::GlyphBuffer::advanceAt):
1074         (WebCore::GlyphBuffer::add):
1075         * platform/GraphicsContext.h:
1076         * platform/ImageSource.h:
1077         * platform/IntPoint.h:
1078         * platform/IntRect.h:
1079         * platform/IntSize.h:
1080         * platform/ListBox.h:
1081         * platform/Path.h:
1082         * platform/PlatformKeyboardEvent.h:
1083         * platform/PlatformMouseEvent.h:
1084         * platform/ResourceLoader.h:
1085         * platform/ResourceLoaderClient.h:
1086         * platform/ResourceLoaderInternal.h:
1087         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
1088         * platform/ScrollView.h:
1089         * platform/Widget.h:
1090
1091 2006-08-17  Nikolas Zimmermann  <zimmermann@kde.org>
1092
1093         Reviewed by Eric. Landed by rwlbuis.
1094
1095         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10465
1096         General WebKit Linux build fixes.
1097
1098         * kcanvas/KCanvasFilters.cpp:
1099         (WebCore::operator<<):
1100         * kcanvas/RenderSVGImage.cpp:
1101         * ksvg2/css/SVGCSSStyleSelector.cpp:
1102         * ksvg2/svg/SVGAnimateColorElement.cpp:
1103         * ksvg2/svg/SVGMaskElement.cpp:
1104         * ksvg2/svg/SVGPatternElement.cpp:
1105         * page/Frame.h:
1106         * rendering/RenderStyle.h:
1107         (WebCore::RenderStyle::deleteBindingURIs):
1108         * xml/DOMParser.cpp:
1109
1110 2006-08-17  Nikolas Zimmermann  <zimmermann@kde.org>
1111
1112         Reviewed by Eric. Landed by rwlbuis.
1113
1114         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10464
1115         Offer a cmake build system for Qt platform.
1116
1117         * CMakeLists.txt: Added.
1118
1119 2006-08-17  David Harrison  <harrison@apple.com>
1120
1121         Reviewed by John Sullivan.
1122
1123         <rdar://problem/4671069> REGRESSION: Popup buttons in web pages aren't exposed as AXPopupButtons
1124
1125         Accessorized RenderMenuList objects.
1126         
1127         * bridge/mac/WebCoreAXObject.mm:
1128         (-[WebCoreAXObject mouseButtonListener]):
1129         Trivial formatting.
1130         
1131         (-[WebCoreAXObject actionElement]):
1132         Return the HTMLSelectElement.
1133         
1134         (-[WebCoreAXObject firstChild]):
1135         (-[WebCoreAXObject lastChild]):
1136         (-[WebCoreAXObject previousSibling]):
1137         (-[WebCoreAXObject nextSibling]):
1138         (-[WebCoreAXObject parentObject]):
1139         (-[WebCoreAXObject parentObjectUnignored]):
1140         (-[WebCoreAXObject isAttachment]):
1141         (-[WebCoreAXObject attachmentView]):
1142         Trivial formatting.
1143
1144         (-[WebCoreAXObject role]):
1145         Return NSAccessibilityPopUpButtonRole.
1146
1147         (-[WebCoreAXObject subrole]):
1148         Trivial formatting.
1149         
1150         (-[WebCoreAXObject roleDescription]):
1151         Return NSAccessibilityPopUpButtonRole.
1152         
1153         (-[WebCoreAXObject textUnderElement]):
1154         Trivial formatting.
1155
1156         (-[WebCoreAXObject value]):
1157         Return the RenderMenuList::text().
1158         
1159         (-[WebCoreAXObject position]):
1160          Trivial formatting.
1161
1162         (-[WebCoreAXObject accessibilityIsIgnored]):
1163         - Ignore popup menu items because AppKit does.
1164         - Remove redundant check for buttonTag (earlier isControl() check suffices).
1165         
1166         (-[WebCoreAXObject accessibilityAttributeNames]):
1167         (-[WebCoreAXObject accessibilityActionNames]):
1168         (-[WebCoreAXObject accessibilityAttributeValue:]):
1169         Trivial formatting.
1170         
1171         (-[WebCoreAXObject doAXTextMarkerRangeForUnorderedTextMarkers:]):
1172         Removed old debugging code that is no longer needed.
1173         Trivial formatting.
1174         
1175         (-[WebCoreAXObject doAXSentenceTextMarkerRangeForTextMarker:]):
1176         (-[WebCoreAXObject doAXParagraphTextMarkerRangeForTextMarker:]):
1177         (-[WebCoreAXObject removeAXObjectID]):
1178         Trivial formatting.
1179         
1180         * html/HTMLSelectElement.cpp:
1181         (WebCore::HTMLSelectElement::accessKeyAction):
1182         Call click() instead of focus().
1183         
1184         * rendering/RenderMenuList.cpp:
1185         (WebCore::RenderMenuList::text):
1186         Added for easy access to popup's current text.
1187         
1188         * rendering/RenderMenuList.h:
1189         (WebCore::RenderMenuList::isMenuList):
1190         * rendering/RenderObject.h:
1191         (WebCore::RenderObject::isMenuList):
1192         Added so popups can be identified.
1193
1194 2006-08-17  David Harrison  <harrison@apple.com>
1195
1196         Reviewed by Maciej.
1197
1198         <rdar://problem/4527201> REGRESSION: AXTextMarkerRangeForUnorderedTextMarkers returns out of order range
1199
1200         Test cases added: None.  Manual AX testing is way too awkward, and automated testing
1201         is not possible.  See following bug...
1202             <rdar://problem/4256882> Need automated testing support for accessibility APIs
1203
1204         * bridge/mac/AXObjectCacheMac.mm:
1205         (WebCore::AXObjectCache::visiblePositionForTextMarker):
1206         Validate the marker by comparing the node and offset to those of the resulting VisiblePosition.
1207
1208 2006-08-17  Nikolas Zimmermann  <zimmermann@kde.org>
1209
1210         Reviewed by Anders.
1211
1212         Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10447
1213         AffineTransform should be multi-platform compatible
1214
1215         * platform/AffineTransform.h:
1216         * platform/cg/AffineTransformCG.cpp:
1217         (WebCore::AffineTransform::m11):
1218         (WebCore::AffineTransform::m12):
1219         (WebCore::AffineTransform::m21):
1220         (WebCore::AffineTransform::m22):
1221         (WebCore::AffineTransform::dx):
1222         (WebCore::AffineTransform::dy):
1223
1224 2006-08-16  David Hyatt  <hyatt@apple.com>
1225
1226         Fix an issue with CSS2 system fonts where they did not respect text
1227         zoom.  This was most visible with the new control fonts used for form
1228         controls (they stopped swapping between small/mini/regular as you zoomed).
1229
1230         Reviewed by beth
1231
1232         * css/cssstyleselector.cpp:
1233         (WebCore::CSSStyleSelector::applyProperty):
1234
1235 2006-08-15  Justin Garcia  <justin.garcia@apple.com>
1236
1237         Reviewed by thatcher
1238         
1239         First part of fix for:
1240         <rdar://problem/4384589>
1241         Mail hung on paste text
1242         
1243         Fixes:
1244         <http://bugzilla.opendarwin.org/show_bug.cgi?id=8592>
1245         Extra line left after deleting whitespace:pre text
1246         <rdar://problem/4128080> Paste as HTML does not yield equivalent style
1247         <rdar://problem/4046469> Box styles on first element aren't copied/pasted
1248         Copy/paste of arstechnica.com
1249         
1250         Here's how we avoid adding redundant style information on paste: insert 
1251         the fragment and do a test rendering, save away style information for 
1252         every node in the fragment, remove all style information from the fragment, 
1253         remove the fragment, insert it into the appropriate place in the document, 
1254         then restore only those styles gathered during the test insertion that aren't
1255         redundant.  Restoring the styles in this way results in an ApplyStyleCommand 
1256         and a layout for nearly every inserted node.  
1257         Instead we want to insert the fragment into the document without removing the 
1258         style information, then mark style nodes and inline style declarations for 
1259         removal if they are redundant, and sweep to remove them.  This means that we 
1260         can't rely on ReplacementFragment::wasBlock anymore, because blocks will now 
1261         have style spans around them.  This patch removes the use of wasBlock in 
1262         ReplaceSelectionCommand.
1263         
1264         * editing/CompositeEditCommand.cpp:
1265         (WebCore::CompositeEditCommand::moveParagraphs): Added code
1266         to remove the line placeholder left after a move from preserveNewline text.
1267         * editing/DeleteSelectionCommand.cpp:
1268         (WebCore::DeleteSelectionCommand::doApply): Don't add a placeholder if 
1269         we're deleting a paragraph in preserveNewline text.
1270         * editing/JSEditor.cpp: Pass true to prevent nesting.
1271         * editing/ReplaceSelectionCommand.cpp: Removed wasBlock and friends.
1272         (WebCore::ReplacementFragment::ReplacementFragment): Ditto.
1273         (WebCore::ReplacementFragment::saveRenderingInfo): Ditto.
1274         (WebCore::RenderingInfo::RenderingInfo): Ditto.
1275         (WebCore::ReplaceSelectionCommand::ReplaceSelectionCommand):
1276         (WebCore::ReplaceSelectionCommand::shouldMergeStart): Combined the to/from
1277         merging rules into one method.
1278         (WebCore::ReplaceSelectionCommand::shouldMergeEnd):
1279         (WebCore::ReplaceSelectionCommand::shouldMerge):
1280         (WebCore::ReplaceSelectionCommand::doApply): 
1281         Don't do nesting prevention when pasting into an empty paragraph, this
1282         fixes 4046469, the common cause of paste fidelity bugs, but needs
1283         to be tweaked a little because this can lead to margin/border build-up
1284         on repeated copy/pastes.
1285         Don't track startPos in addition to insertionPos.  It was never used.
1286         Fixed a bug where a fragment starting with an interchange newline would
1287         cause content to be put outside of an editable region when pasting at the 
1288         very end of it.
1289         Adjust insertionPos before insertion (not during) and do not consult wasBlock
1290         to decide whether or not to do so.
1291         Changed the way we do the start merge: insert the fragment, then stich 
1292         paragraphs together, in the same way that we do the end merge.  This 
1293         doesn't require wasBlock and fixes bugs.
1294         Replaced some uses of insertionPos with endOfInsertedContent.
1295         Fixed a bug in the expansion of the last incoming br (a "collapsed" br
1296         is one where !isStartOfParagraph([br,0])).
1297         Removed the special case code that did the end merge for the preserveNewline 
1298         case, since this patch fixes the moveParagraph bug in the preserveNewline case.
1299         Removed some unused variables.
1300         (WebCore::ReplaceSelectionCommand::shouldRemoveEndBR): An endBR that was 
1301         holding a line open should always be displaced by inserted content, unless 
1302         the inserted content ends with a br.
1303         (WebCore::ReplaceSelectionCommand::updateNodesInserted):
1304         * editing/ReplaceSelectionCommand.h:
1305         (WebCore::RenderingInfo::style):
1306         * editing/markup.cpp:
1307         (WebCore::createMarkup): Only add mail blockquotes and list/table/pre when
1308         annotate is true (when we're creating markup for the pasteboard).
1309
1310 2006-08-16  John Sullivan  <sullivan@apple.com>
1311
1312         Reviewed by Brady Eidson
1313         
1314         - fixed <rdar://problem/4637156> underlines appearing in white selection text
1315
1316         * rendering/InlineFlowBox.cpp:
1317         (WebCore::InlineFlowBox::paintDecorations):
1318         bail out if phase is PaintPhaseSelection and forceWhiteText is true
1319
1320 2006-08-16  Brady Eidson  <beidson@apple.com>
1321
1322         Reviewed by John
1323
1324         Updated the DB version number and added a helpful comment explaining its meaning
1325
1326         * loader/icon/IconDatabase.cpp:
1327
1328 2006-08-16  Brady Eidson  <beidson@apple.com>
1329
1330         Reviewed by Maciej
1331
1332         Major refactoring of new iconDB:
1333         -Instead of private browsing being handled by in-memory tables, it's now handled
1334          by a separate in-memory database with the same table names.  This allows us to 
1335          re-use the same SQL on either the main or private-browsing database
1336         -So it follows, I broke out much of the SQL queries into seperate methods suffixed with
1337          "Query" that take a database as the method's argument so the same language can run on
1338          both private and main tables
1339         -Now that we have two DBs, moved the retain/release count to the m_mainDB
1340         -While I was at it, updated the schema to combine the Icon and IconResource table - cuts 
1341          down on some high-usage, low value queries which were too expensive
1342         -Ditched the _url -> url convention for escaping urls for SQL.  Now its url and escapedURL
1343         -Pruned tons of unused methods from previous revisions
1344
1345      * bridge/mac/WebCoreIconDatabaseBridge.h: Removed isIconExpiredForPageURL as it was never used 
1346         * bridge/mac/WebCoreIconDatabaseBridge.mm: Ditto
1347         * loader/icon/IconDatabase.cpp:
1348         (WebCore::IconDatabase::IconDatabase): Updated initializer list
1349         (WebCore::IconDatabase::open): Sets up both databases
1350         (WebCore::IconDatabase::close): Closes both databases
1351         (WebCore::IconDatabase::isEmpty): Queries both databases for at least 1 record
1352         (WebCore::IconDatabase::isValidDatabase): Reflect the updated schema
1353         (WebCore::IconDatabase::clearDatabaseTables): Ditto - and takes DB as a parameter
1354         (WebCore::IconDatabase::createDatabaseTables): Ditto
1355         (WebCore::IconDatabase::imageDataForIconURL): style cleanup, and using a query-function
1356         (WebCore::IconDatabase::setPrivateBrowsingEnabled): Resets private DB instead of private tables
1357         (WebCore::IconDatabase::isIconExpiredForIconURL): Uses a query-function on each DB
1358         (WebCore::IconDatabase::iconURLForPageURL): Uses a query-function on each DB
1359         (WebCore::IconDatabase::retainIconForPageURL): Retain count DB changes 
1360         (WebCore::IconDatabase::releaseIconForPageURL): Ditto
1361         (WebCore::IconDatabase::isIconURLRetained): Determine if it's time to prune a released icon yet
1362         (WebCore::IconDatabase::forgetIconForIconURLFromDatabase): Alot simpler
1363         (WebCore::IconDatabase::setIconDataForIconURL): Style cleanup
1364         (WebCore::IconDatabase::setHaveNoIconForIconURL): Ditto
1365         (WebCore::IconDatabase::setIconURLForPageURL): Ditto - and using a query-function
1366         (WebCore::IconDatabase::establishIconIDForIconURL): Style cleanup
1367         (WebCore::IconDatabase::pruneUnreferencedIcons): DB name change
1368         (WebCore::IconDatabase::pruneUnretainedIcons): Ditto
1369         (WebCore::IconDatabase::hasIconForIconURL): Simpler, using a query-function
1370         (WebCore::IconDatabase::~IconDatabase):
1371         (WebCore::pageURLTableIsEmptyQuery): Self-explanatory SQL query
1372         (WebCore::imageDataForIconURLQuery): Self-explanatory SQL query
1373         (WebCore::timeStampForIconURLQuery): Self-explanatory SQL query
1374         (WebCore::iconURLForPageURLQuery): Self-explanatory SQL query
1375         (WebCore::forgetPageURLQuery): Self-explanatory SQL query
1376         (WebCore::setIconIDForPageURLQuery): Self-explanatory SQL query
1377         (WebCore::getIconIDForIconURLQuery): Self-explanatory SQL query
1378         (WebCore::addIconForIconURLQuery): Self-explanatory SQL query
1379         (WebCore::hasIconForIconURLQuery): Self-explanatory SQL query
1380      * loader/icon/IconDatabase.h: Some new/changed methods, pruned methods, and new comments
1381         (WebCore::IconDatabase::isOpen):  Changed our meaning of "isOpen" to reflect the 2 databases
1382
1383 2006-08-15  Jonas Witt <jonas.witt@gmail.com>
1384
1385         Reviewed by Darin.
1386
1387         - added ObjC wrappers for the KeyboardEvent and WheelEvent initializers
1388           http://bugzilla.opendarwin.org/show_bug.cgi?id=9736
1389
1390         * bindings/objc/DOMEvents.mm:
1391         (-[DOMKeyboardEvent initKeyboardEvent::::::::::]):
1392         * bindings/objc/DOMEventsNonstandard.mm:
1393         (-[DOMWheelEvent initWheelEvent:::::::::::]):
1394         * bindings/objc/DOMPrivate.h:
1395
1396         - added an initializer for the WheelEvent
1397
1398         * dom/WheelEvent.cpp:
1399         (WebCore::WheelEvent::initWheelEvent):
1400         * dom/WheelEvent.h:
1401
1402 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
1403
1404         Reviewed by Tim H.
1405
1406         Build fix:  DWARF and -gfull are incompatible with symbol separation.
1407
1408         * WebCore.xcodeproj/project.pbxproj:
1409
1410 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
1411
1412         Reviewed by Tim H.
1413
1414         http://bugzilla.opendarwin.org/show_bug.cgi?id=10394
1415         Bug 10394: WebKit Release and Production configurations should enable dead code stripping
1416
1417         * WebCore.xcodeproj/project.pbxproj:
1418
1419 2006-08-15  Geoffrey Garen  <ggaren@apple.com>
1420
1421         Reviewed by Darin.
1422         
1423         - This patch reworks a previous fix for <rdar://problem/3524912> repro 
1424         crash in KHTMLParser::parseToken, due to parser's current element being 
1425         destroyed (www.gnnetcom.dk), along with subsequent adjustments to fix
1426         leaks.
1427         
1428         The previous solutions caused a ~2% performance regression on iBench HTML,
1429         due to RefPtr churn. The optimizations here gain back that ~2% plus ~1% more,
1430         for a total win of ~3% vs current TOT.
1431         
1432         We can merge this fix to the branch to fix <rdar://problem/4661982> 
1433         (crash in KHTMLParser::popBlock).
1434         
1435         The solution here is:
1436         (1) Don't let the parser ref document nodes -- that causes leaks.
1437         (2) Handle ref/deref manually, to avoid RefPtr churn. Specifically, when 
1438         moving a node between stacks or to/from 'current', rather than deref'ing
1439         and then ref'ing again, simply move the node, along with its refcount, to
1440         its new location, and overwrite its old location.
1441  
1442         * WebCore.xcodeproj/project.pbxproj:
1443         * html/HTMLParser.cpp:
1444         (WebCore::HTMLStackElem::HTMLStackElem):
1445         (WebCore::HTMLStackElem::derefNode):
1446         (WebCore::HTMLParser::HTMLParser):
1447         (WebCore::HTMLParser::setCurrent):
1448         (WebCore::HTMLParser::insertNode):
1449         (WebCore::HTMLParser::popNestedHeaderTag):
1450         (WebCore::HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
1451         (WebCore::HTMLParser::reopenResidualStyleTags):
1452         (WebCore::HTMLParser::pushBlock):
1453         (WebCore::HTMLParser::popBlock):
1454         (WebCore::HTMLParser::popOneBlockCommon):
1455         (WebCore::HTMLParser::popOneBlock):
1456         (WebCore::HTMLParser::moveOneBlockToStack):
1457         * html/HTMLParser.h:
1458
1459 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
1460
1461         Reviewed by Tim H.
1462
1463         http://bugzilla.opendarwin.org/show_bug.cgi?id=10384
1464         Bug 10384: Switch to DWARF for Release configuration
1465
1466         * WebCore.xcodeproj/project.pbxproj:
1467
1468 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
1469
1470         Reviewed by Hyatt.
1471         Tweaked and landed by Darin.
1472
1473         http://bugzilla.opendarwin.org/show_bug.cgi?id=10399
1474         Bug 10399: RenderTextArea is unused
1475
1476         * WebCore.vcproj/WebCore/WebCore.vcproj:
1477         * WebCore.xcodeproj/project.pbxproj:
1478         * WebCoreSources.bkl:
1479         Removed RenderTextArea source files.
1480
1481         * html/HTMLTextAreaElement.cpp: Removed include of RenderTextArea.h.
1482         * html/HTMLTextAreaElement.h: Removed forward declaration of RenderTextArea.
1483
1484         * platform/mac/WidgetMac.mm: (WebCore::Widget::paint): Updated a comment.
1485
1486         * platform/TextBox.h: Removed.
1487         * platform/mac/TextBoxMac.mm: Removed.
1488         * platform/mac/WebCoreTextArea.h: Removed.
1489         * platform/mac/WebCoreTextArea.mm: Removed.
1490         * rendering/RenderTextArea.cpp: Removed.
1491         * rendering/RenderTextArea.h: Removed.
1492
1493 2006-08-15  Brady Eidson  <beidson@apple.com>
1494
1495         Reviewed by THE OTHER Maciej...
1496
1497         Two small fixes -
1498         1) Renamed retain/release methods to add PageUrl in - we're being consistent and clear in the WebCore API
1499         2) Fixed a bug where a null SiteIcon reference would be added into the pageURLToSiteIcon map causing a
1500         null dereference later
1501
1502         * bridge/mac/WebCoreIconDatabaseBridge.mm:
1503         (-[WebCoreIconDatabaseBridge retainIconForURL:]):  Changed IconDatabase method name
1504         (-[WebCoreIconDatabaseBridge releaseIconForURL:]):  ditto
1505         * loader/icon/IconDatabase.cpp:
1506         (WebCore::IconDatabase::retainIconForPageURL):  Name change
1507         (WebCore::IconDatabase::releaseIconForPageURL):  ditto
1508         (WebCore::IconDatabase::setIconURLForPageURL):  Added the null site-icon check when changing a PageURL's iconURL
1509         * loader/icon/IconDatabase.h:  Some renames
1510
1511 2006-08-14  Eric Seidel  <eric@eseidel.com>
1512
1513         Reviewed by mjs.
1514
1515         <mask>, <marker>, <pattern> inside <defs> do not work
1516         http://bugzilla.opendarwin.org/show_bug.cgi?id=6548
1517
1518         * ksvg2/svg/SVGDefsElement.cpp:
1519         (WebCore::SVGDefsElement::SVGDefsElement): moved to .cpp file
1520         (WebCore::SVGDefsElement::isValid): moved to .cpp file
1521         (WebCore::SVGDefsElement::rendererIsNeeded): Added.
1522         (WebCore::SVGDefsElement::createRenderer): Added.
1523         * ksvg2/svg/SVGDefsElement.h:
1524         * ksvg2/svg/SVGGElement.cpp:
1525         (WebCore::SVGGElement::SVGGElement): adjusted spacing
1526         (WebCore::SVGGElement::parseMappedAttribute): adjusted spacing
1527         (WebCore::SVGDummyElement::SVGDummyElement): adjusted spacing
1528
1529 2006-08-14  Eric Seidel  <eric@eseidel.com>
1530
1531         Reviewed by darin and mjs.
1532         
1533         Add better SVGLoad event support.
1534         http://bugzilla.opendarwin.org/show_bug.cgi?id=6010
1535         There will still need to be additional support added for <link> and <script> elements.
1536         Not all of the error -> loaded -> error transition cases work yet.
1537
1538         * dom/EventTargetNode.cpp:
1539         (WebCore::EventTargetNode::dispatchGenericEvent):
1540         * html/HTMLImageLoader.cpp:
1541         (WebCore::HTMLImageLoader::dispatchLoadEvent):
1542         * html/HTMLImageLoader.h:
1543         (WebCore::HTMLImageLoader::haveFiredLoadEvent):
1544         (WebCore::HTMLImageLoader::setHaveFiredLoadEvent):
1545         * ksvg2/misc/SVGImageLoader.cpp:
1546         (WebCore::SVGImageLoader::SVGImageLoader):
1547         (WebCore::SVGImageLoader::dispatchLoadEvent):
1548         * ksvg2/misc/SVGImageLoader.h:
1549         * ksvg2/svg/SVGAElement.cpp:
1550         (WebCore::SVGAElement::parseMappedAttribute):
1551         * ksvg2/svg/SVGAnimatedBoolean.h:
1552         * ksvg2/svg/SVGElement.cpp:
1553         (WebCore::SVGElement::SVGElement):
1554         (WebCore::SVGElement::parseMappedAttribute):
1555         (WebCore::SVGElement::haveLoadedRequiredResources):
1556         (WebCore::SVGElement::sendSVGLoadEventIfPossible):
1557         (WebCore::SVGElement::closeRenderer):
1558         * ksvg2/svg/SVGElement.h:
1559         (WebCore::SVGElement::rendererIsNeeded):
1560         (WebCore::svg_dynamic_cast):
1561         * ksvg2/svg/SVGExternalResourcesRequired.h:
1562         * ksvg2/svg/SVGImageElement.cpp:
1563         (SVGImageElement::SVGImageElement):
1564         (SVGImageElement::haveLoadedRequiredResources):
1565         * ksvg2/svg/SVGImageElement.h:
1566         * ksvg2/svg/SVGSVGElement.cpp:
1567         (WebCore::SVGSVGElement::parseMappedAttribute):
1568         * ksvg2/svg/SVGScriptElement.cpp:
1569         (WebCore::SVGScriptElement::SVGScriptElement):
1570         (WebCore::SVGScriptElement::parseMappedAttribute):
1571         (WebCore::SVGScriptElement::executeScript):
1572         * xml/xmlhttprequest.cpp:
1573         (WebCore::XMLHttpRequest::callReadyStateChangeListener): use new Event() instead of createEvent
1574
1575 2006-08-14  Anders Carlsson  <acarlsson@apple.com>
1576
1577         Reviewed by Maciej.
1578
1579         http://bugzilla.opendarwin.org/show_bug.cgi?id=10393
1580         Autogenerate NodeIterator and TreeWalker.
1581         
1582         * DerivedSources.make:
1583         * WebCore.xcodeproj/project.pbxproj:
1584         Add new files.
1585         
1586         * bindings/js/JSNodeIteratorCustom.cpp: Added.
1587         (WebCore::JSNodeIterator::mark):
1588         * bindings/js/JSTreeWalkerCustom.cpp: Added.
1589         (WebCore::JSTreeWalker::mark):
1590         
1591         * bindings/js/kjs_traversal.cpp:
1592         * bindings/js/kjs_traversal.h:
1593         Remove implementations of DOMNodeIterator and DOMTreeWalker.
1594
1595         * bindings/scripts/CodeGeneratorJS.pm:
1596         Add "CustomMarkFunction" attribute for classes where mark() needs to be overridden.
1597         
1598         * bindings/objc/DOM.mm:
1599         (-[DOMNodeIterator detach]):
1600         * dom/NodeIterator.cpp:
1601         (WebCore::NodeIterator::detach):
1602         * dom/NodeIterator.h:
1603         Get rid of exception in detach, it isn't used at all and this function can't throw an exception according to the spec.
1604         * dom/NodeIterator.idl: Added.
1605         * dom/TreeWalker.idl: Added.
1606
1607 2006-08-14  Brady Eidson  <beidson@apple.com>
1608
1609         Reviewed by John
1610
1611         The changes are plentiful, but small, mostly to improve performance
1612         1) Add a bool flag to SiteIcon to stop it from querying the database over and over
1613         2) Added a pageURL->iconURL hashmap to cache database results, as an optimization
1614         3) Fix a bug in setIconURLForPageURL code where the pageURL would still point to an old icon
1615         4) Added isIconURLRetained() to optimize the retain count check
1616         5) Prune old, unused code
1617
1618         * loader/icon/IconDatabase.cpp:
1619         (WebCore::IconDatabase::imageDataForIconID): Removed unused code
1620         (WebCore::IconDatabase::imageDataForIconURL): Removed unused code
1621         (WebCore::IconDatabase::imageDataForPageURL): Removed unused code
1622         (WebCore::IconDatabase::isIconExpiredForIconURL): Removed LOG msg
1623         (WebCore::IconDatabase::isIconExpiredForPageURL): Removed LOG msg
1624         (WebCore::IconDatabase::iconURLForPageURL): Added a hashmap cache to avoid common queries
1625         (WebCore::IconDatabase::releaseIconForURL): Changed to is isRetained() instead of retainCount()
1626         (WebCore::IconDatabase::isIconURLRetained): Added - we don't care about the actual retain count
1627           for an icon so much as whether or not it is retained
1628         (WebCore::IconDatabase::setIconURLForPageURL): If the new and old iconURLs are the same, skip the
1629           SQLite code
1630         * loader/icon/IconDatabase.h:  Added new methods/variables
1631         * loader/icon/SiteIcon.cpp:
1632         (SiteIcon::SiteIcon): Added a flag so it only queries the database for icon data once
1633         (SiteIcon::getImage): Ditto
1634
1635 2006-08-14  David Hyatt  <hyatt@apple.com>
1636
1637         Fix for bug 10385, add more support for crappy pseudo-XML-in-HTML.
1638
1639         Reviewed by ggaren
1640
1641         Added fast/parser/bad-xml-slash.html
1642
1643         * html/HTMLTokenizer.cpp:
1644         (WebCore::HTMLTokenizer::parseTag):
1645
1646 2006-08-14  Darin Adler  <darin@apple.com>
1647
1648         Reviewed by John Sullivan.
1649
1650         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10204
1651           REGRESSION: title tag parsing problem breaks Travelocity and Google Analytics pages
1652
1653         Test: fast/parser/title-error-test.html
1654
1655         * html/HTMLParser.cpp: (WebCore::HTMLParser::handleError): Fixed an error
1656         handling case that was skipping until a </style> tag in code that was shared
1657         between both <title> and <style>. Also rearranged the code a tiny bit.
1658
1659 2006-08-14  Darin Adler  <darin@apple.com>
1660
1661         Reviewed by Hyatt.
1662
1663         - fixed some storage leaks
1664           (part of http://bugzilla.opendarwin.org/show_bug.cgi?id=10259)
1665
1666         * platform/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::start):
1667         Rearrange code so that "delete this" is called any time the function returns
1668         false -- ownership was inconsistent before.
1669
1670         * rendering/RenderContainer.cpp: (WebCore::RenderContainer::removeChildNode):
1671         Call deleteLineBoxWrapper even when documentBeingDestroyed() is true, because
1672         some of what it does has to be done during destruction. A little awkward since
1673         I preserved the order of operations. Perhaps we could structure this better later.
1674
1675 2006-08-14  David Harrison  <harrison@apple.com>
1676
1677         Reviewed by John Sullivan and Geoff Garen.
1678
1679         <rdar://problem/3854950> AX Seed: Blackboard Learning Systems - frame names need to be put in AXDescription AXAttribute
1680
1681         Test cases added: None.  Manual AX testing is way too awkward, and automated testing
1682         is not possible.  See following bug...
1683             <rdar://problem/4256882> Need automated testing support for accessibility APIs
1684
1685         * bridge/mac/WebCoreAXObject.mm:
1686         (-[WebCoreAXObject accessibilityDescription]):
1687         For a web area, return the name of the owning frame or iframe.
1688         
1689         (-[WebCoreAXObject accessibilityAttributeNames]):
1690         Advertize NSAccessibilityDescriptionAttribute.
1691         
1692         (-[WebCoreAXObject rendererForView:]):
1693         Clean up some old naming.
1694
1695 2006-08-11  Anders Carlsson  <acarlsson@apple.com>
1696
1697         Reviewed by Darin.
1698
1699         http://bugzilla.opendarwin.org/show_bug.cgi?id=10353
1700         XMLSerializer and DOMParser should have real implementations
1701         
1702         Make real implementation files for DOMParser and XMLSerializer and wrap them
1703         using our bindings generation.
1704         
1705         * DerivedSources.make:
1706         * WebCore.xcodeproj/project.pbxproj:
1707         * bindings/js/JSDOMParser.cpp: Removed.
1708         * bindings/js/JSDOMParser.h: Removed.
1709         * bindings/js/JSXMLSerializer.cpp: Removed.
1710         * bindings/js/JSXMLSerializer.h: Removed.
1711         * bindings/js/kjs_window.cpp:
1712         (KJS::Window::getValueProperty):
1713         * bindings/js/kjs_window.h:
1714         (KJS::Window::):
1715         * page/DOMWindow.idl:
1716         * xml/DOMParser.cpp: Added.
1717         (WebCore::DOMParser::parseFromString):
1718         * xml/DOMParser.h: Added.
1719         * xml/DOMParser.idl: Added.
1720         * xml/XMLSerializer.cpp: Added.
1721         (WebCore::XMLSerializer::serializeToString):
1722         * xml/XMLSerializer.h: Added.
1723         * xml/XMLSerializer.idl: Added.
1724
1725 2006-08-14  Maciej Stachowiak  <mjs@apple.com>
1726
1727         Reviewed by Brady.
1728
1729         - removed WebKit-level dependencies from WebFormDataStream. Use WebCore version of system interface
1730
1731         * WebCore.exp: export new functions
1732         * platform/mac/WebCoreSystemInterface.h: Added CFReadStream related functions
1733         * platform/mac/WebCoreSystemInterface.mm: ditto
1734
1735 2006-08-13  Maks Orlovich  <maksim@kde.org>
1736
1737         Reviewed (and tweaked a little) by Maciej.
1738         
1739         - shrank the size of JSObject by 8 bytes and made the corresponding reduction to the cell size, resulting
1740         in a 1.2% speed improvement on JS iBench (and probably overall memory savings).
1741
1742         The WebCore part of this is to expect only FunctionImp to have a scope, not all JSObjects.
1743         
1744         * bindings/js/kjs_events.cpp:
1745         (KJS::JSLazyEventListener::parseCode):
1746
1747 2006-08-12  Eric Seidel  <eric@eseidel.com>
1748
1749         Reviewed by hyatt and mjs.
1750
1751         Fix two missing null checks causing layout test crashes.
1752
1753         * css/cssstyleselector.cpp:
1754         (WebCore::CSSStyleSelector::adjustRenderStyle): check e for null (null for pseudo styles)
1755         * kcanvas/RenderSVGContainer.cpp:
1756         (WebCore::RenderSVGContainer::requiresLayer): check parent()->element() for null
1757
1758
1759 2006-08-11  Eric Seidel  <eric@eseidel.com>
1760
1761         Reviewed by andersca.
1762
1763         The outermost <svg> element needs to clip itself
1764         http://bugzilla.opendarwin.org/show_bug.cgi?id=5358
1765
1766         * css/cssstyleselector.cpp:
1767         (WebCore::CSSStyleSelector::adjustRenderStyle): adjust for SVG overflow rules
1768         * kcanvas/RenderSVGContainer.cpp:
1769         (WebCore::RenderSVGContainer::requiresLayer): only require layers for absolute/relative positioning of outermost SVG
1770         (WebCore::RenderSVGContainer::paint):
1771         * kcanvas/device/KRenderingDevice.h:
1772         * kcanvas/device/quartz/KRenderingDeviceQuartz.h: remove dead methods
1773         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: remove dead methods
1774         (WebCore::KRenderingDeviceContextQuartz::KRenderingDeviceContextQuartz):
1775         * ksvg2/svg/SVGPaint.cpp: spacing changes
1776         (WebCore::SVGPaint::SVGPaint): spacing cleanup
1777         * ksvg2/svg/SVGSVGElement.cpp:
1778         (WebCore::SVGSVGElement::parseMappedAttribute): spacing cleanup
1779         * platform/GraphicsContext.h: Added concatCTM
1780         * platform/cg/GraphicsContextCG.cpp:
1781         (WebCore::GraphicsContext::concatCTM): Added.
1782
1783 2006-08-11  Brady Eidson  <beidson@apple.com>
1784
1785         Reviewed by Maciej
1786
1787         Renamed a method/parameter for clarity and consistency, as well as some style
1788         cleanups and removing some ridiculously verbose log messages.
1789         Also added an _isEmpty method to the database and bridge for WebKit's use.
1790         Finally, added a central way for both WebKit and WebCore to get the icon database filename
1791
1792         * bridge/mac/WebCoreIconDatabaseBridge.h:  Added _isEmpty and defaultDatabaseFilename
1793         * bridge/mac/WebCoreIconDatabaseBridge.mm:  Removed an unnecessary semicolon off most of these methods
1794         (-[WebCoreIconDatabaseBridge openSharedDatabaseWithPath:]):
1795         (-[WebCoreIconDatabaseBridge closeSharedDatabase]):
1796         (-[WebCoreIconDatabaseBridge isOpen]):
1797         (-[WebCoreIconDatabaseBridge _isEmpty]):  Added
1798         (-[WebCoreIconDatabaseBridge setPrivateBrowsingEnabled:]):
1799         (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]):
1800         (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]):
1801         (-[WebCoreIconDatabaseBridge iconURLForPageURL:]):
1802         (-[WebCoreIconDatabaseBridge defaultIconWithSize:]):
1803         (-[WebCoreIconDatabaseBridge retainIconForURL:]):
1804         (-[WebCoreIconDatabaseBridge releaseIconForURL:]):
1805         (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]):
1806         (-[WebCoreIconDatabaseBridge _setHaveNoIconForIconURL:]):
1807         (-[WebCoreIconDatabaseBridge _setIconURL:forPageURL:]):
1808         (-[WebCoreIconDatabaseBridge _hasIconForIconURL:]):
1809         (-[WebCoreIconDatabaseBridge defaultDatabaseFilename]):  Added
1810
1811         * loader/icon/IconDatabase.cpp:
1812         (WebCore::IconDatabase::defaultDatabaseFilename):  Added
1813         (WebCore::IconDatabase::open):  
1814         (WebCore::IconDatabase::isEmpty):  Added
1815         (WebCore::IconDatabase::retainIconForURL):  Removed log message
1816         (WebCore::IconDatabase::releaseIconForURL):  Removed log message
1817         * loader/icon/IconDatabase.h: 
1818
1819 2006-08-11  David Hyatt  <hyatt@apple.com>
1820
1821         Eliminate RenderImageButton.
1822
1823         Reviewed by darin
1824
1825         * WebCore.xcodeproj/project.pbxproj:
1826         * bridge/mac/WebCoreAXObject.mm:
1827         (-[WebCoreAXObject isImageButton]):
1828         * html/HTMLInputElement.cpp:
1829         (WebCore::HTMLInputElement::createRenderer):
1830         * rendering/RenderImage.h:
1831         (WebCore::RenderImage::isImage):
1832
1833 2006-08-11  Adele Peterson  <adele@apple.com>
1834
1835         Reviewed by Brady.
1836
1837         - Fix for <rdar://problem/4656274> 
1838         REGRESSION: option elements are selected when added regardless of "selected" property
1839
1840         Test: fast/forms/option-constructor-selected.html
1841
1842         * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setOption):
1843         When adding an option element, check that the option element is selected before calling setSelectedIndex.
1844
1845 2006-08-11  David Hyatt  <hyatt@apple.com>
1846
1847         Fix for bug 10349, make sure to call setChanged when an anchor changes
1848         from not being a link to being a link (and vice versa).
1849
1850         Test is in fast/dynamic/link-href-change.html
1851
1852         Reviewed by darin
1853
1854         * html/HTMLAnchorElement.cpp:
1855         (WebCore::HTMLAnchorElement::HTMLAnchorElement):
1856         (WebCore::HTMLAnchorElement::parseMappedAttribute):
1857         * html/HTMLAnchorElement.h:
1858         * html/HTMLAreaElement.cpp:
1859         (WebCore::HTMLAreaElement::parseMappedAttribute):
1860
1861 2006-08-09  Rob Buis  <buis@kde.org>
1862
1863         Reviewed by Darin.
1864
1865         Revert an over-optimization step that messed up the HashSet lookup.
1866
1867         * dom/DOMImplementation.cpp:
1868
1869 2006-08-12  Oliver  <ojh16@student.canterbury.ac.nz>
1870
1871         Rubber stamped by tim
1872
1873         Removed commented out code
1874
1875         * kcanvas/RenderSVGImage.cpp:
1876         (WebCore::RenderSVGImage::paint):
1877
1878 2006-08-12  Oliver  <ojh16@student.canterbury.ac.nz>
1879
1880         Reviewed by geoff
1881
1882         Fixed regression in SVG image layout
1883         (see bug #10346)
1884
1885         * kcanvas/RenderSVGImage.cpp:
1886         (WebCore::RenderSVGImage::paint):
1887
1888 2006-08-10  Anders Carlsson  <acarlsson@apple.com>
1889
1890         Rubber-stamped by Maciej.
1891
1892         Move xpath to xml.
1893         
1894         * DerivedSources.make:
1895         * WebCore.vcproj/WebCore/WebCore.vcproj:
1896         * WebCore.xcodeproj/project.pbxproj:
1897         * xpath/XPathEvaluator.cpp: Removed.
1898         * xpath/XPathEvaluator.h: Removed.
1899         * xpath/XPathEvaluator.idl: Removed.
1900         * xpath/XPathExpression.cpp: Removed.
1901         * xpath/XPathExpression.h: Removed.
1902         * xpath/XPathExpression.idl: Removed.
1903         * xpath/XPathNSResolver.cpp: Removed.
1904         * xpath/XPathNSResolver.h: Removed.
1905         * xpath/XPathNSResolver.idl: Removed.
1906         * xpath/XPathNamespace.cpp: Removed.
1907         * xpath/XPathNamespace.h: Removed.
1908         * xpath/XPathResult.cpp: Removed.
1909         * xpath/XPathResult.h: Removed.
1910         * xpath/XPathResult.idl: Removed.
1911         * xpath/impl/XPathExpressionNode.cpp: Removed.
1912         * xpath/impl/XPathExpressionNode.h: Removed.
1913         * xpath/impl/XPathFunctions.cpp: Removed.
1914         * xpath/impl/XPathFunctions.h: Removed.
1915         * xpath/impl/XPathGrammar.y: Removed.
1916         * xpath/impl/XPathParser.cpp: Removed.
1917         * xpath/impl/XPathParser.h: Removed.
1918         * xpath/impl/XPathPath.cpp: Removed.
1919         * xpath/impl/XPathPath.h: Removed.
1920         * xpath/impl/XPathPredicate.cpp: Removed.
1921         * xpath/impl/XPathPredicate.h: Removed.
1922         * xpath/impl/XPathStep.cpp: Removed.
1923         * xpath/impl/XPathStep.h: Removed.
1924         * xpath/impl/XPathUtil.cpp: Removed.
1925         * xpath/impl/XPathUtil.h: Removed.
1926         * xpath/impl/XPathValue.cpp: Removed.
1927         * xpath/impl/XPathValue.h: Removed.
1928         * xpath/impl/XPathVariableReference.cpp: Removed.
1929         * xpath/impl/XPathVariableReference.h: Removed.
1930
1931 2006-08-10  David Harrison  <harrison@apple.com>
1932
1933         Reviewed by John Sullivan.
1934
1935         <rdar://problem/4600112> REGRESSION: VO no longer able to review text within an edit field on web pages
1936
1937         Test cases added: None.  Manual AX testing is way too awkward, and automated testing
1938         is not possible.  See following bug...
1939             <rdar://problem/4256882> Need automated testing support for accessibility APIs
1940
1941         * bridge/mac/WebCoreAXObject.mm:
1942         (-[WebCoreAXObject value]):
1943         Add handling for text input fields.
1944
1945 2006-08-09  Graham Dennis  <graham.dennis@gmail.com>
1946
1947         Reviewed by Darin.
1948
1949         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10247
1950         REGRESSION: Unable to build webkit without SVG/XPATH
1951
1952         * bindings/js/kjs_binding.cpp:
1953         (KJS::setDOMException):
1954         * bindings/js/kjs_dom.cpp:
1955         (KJS::toJS):
1956         * bindings/js/kjs_html.cpp:
1957         (KJS::HTMLElementFunction::callAsFunction):
1958         * bindings/js/kjs_proxy.cpp:
1959         * bindings/js/kjs_proxy.h:
1960         * bindings/objc/DOMInternal.h:
1961         * bindings/objc/DOMInternal.mm:
1962         (raiseDOMException):
1963         * bindings/objc/DOMXPath.mm:
1964         * bindings/objc/DOMXPathInternal.h:
1965         * bindings/scripts/CodeGeneratorJS.pm:
1966         * bridge/mac/WebCoreFrameBridge.mm:
1967         (+[WebCoreFrameBridge supportedNonImageMIMETypes]):
1968         * css/CSSGrammar.y:
1969         * css/CSSStyleDeclaration.cpp:
1970         (WebCore::propertyID):
1971         * css/cssparser.cpp:
1972         (WebCore::CSSParser::parseValue):
1973         * css/cssparser.h:
1974         * css/cssstyleselector.cpp:
1975         (WebCore::CSSStyleSelector::loadDefaultStyle):
1976         (WebCore::CSSStyleSelector::applyProperty):
1977         * css/cssstyleselector.h:
1978         * dom/Document.cpp:
1979         (WebCore::Document::Document):
1980         (WebCore::Document::~Document):
1981         (WebCore::Document::createElementNS):
1982         (WebCore::Document::implicitClose):
1983         (WebCore::Document::recalcStyleSelector):
1984         (WebCore::Document::createEvent):
1985         * dom/Document.h:
1986         * dom/Document.idl:
1987         * dom/Node.cpp:
1988         (WebCore::Node::createRendererIfNeeded):
1989         * dom/Node.h:
1990         * dom/XMLTokenizer.cpp:
1991         (WebCore::XMLTokenizer::endElementNs):
1992         (WebCore::XMLTokenizer::insertErrorMessageBlock):
1993         * html/HTMLEmbedElement.cpp:
1994         * html/HTMLEmbedElement.h:
1995         * html/HTMLObjectElement.cpp:
1996         * html/HTMLObjectElement.h:
1997         * kcanvas/KCanvasCreator.cpp:
1998         * kcanvas/KCanvasCreator.h:
1999         * kcanvas/KCanvasFilters.cpp:
2000         * kcanvas/KCanvasFilters.h:
2001         * kcanvas/KCanvasImage.h:
2002         * kcanvas/KCanvasMatrix.cpp:
2003         * kcanvas/KCanvasMatrix.h:
2004         * kcanvas/KCanvasPath.cpp:
2005         * kcanvas/KCanvasPath.h:
2006         * kcanvas/KCanvasResourceListener.h:
2007         * kcanvas/KCanvasResources.cpp:
2008         * kcanvas/KCanvasResources.h:
2009         * kcanvas/KCanvasTreeDebug.cpp:
2010         * kcanvas/RenderForeignObject.cpp:
2011         * kcanvas/RenderForeignObject.h:
2012         * kcanvas/RenderPath.cpp:
2013         * kcanvas/RenderPath.h:
2014         * kcanvas/RenderSVGContainer.cpp:
2015         * kcanvas/RenderSVGContainer.h:
2016         * kcanvas/RenderSVGImage.cpp:
2017         * kcanvas/RenderSVGImage.h:
2018         * kcanvas/RenderSVGText.cpp:
2019         * kcanvas/RenderSVGText.h:
2020         * kcanvas/device/KRenderingDevice.cpp:
2021         * kcanvas/device/KRenderingDevice.h:
2022         * kcanvas/device/KRenderingFillPainter.cpp:
2023         * kcanvas/device/KRenderingFillPainter.h:
2024         * kcanvas/device/KRenderingPaintServer.h:
2025         * kcanvas/device/KRenderingPaintServerGradient.cpp:
2026         * kcanvas/device/KRenderingPaintServerGradient.h:
2027         * kcanvas/device/KRenderingPaintServerPattern.cpp:
2028         * kcanvas/device/KRenderingPaintServerPattern.h:
2029         * kcanvas/device/KRenderingPaintServerSolid.cpp:
2030         * kcanvas/device/KRenderingPaintServerSolid.h:
2031         * kcanvas/device/KRenderingStrokePainter.cpp:
2032         * kcanvas/device/KRenderingStrokePainter.h:
2033         * kcanvas/device/quartz/KCanvasFilterQuartz.h:
2034         * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
2035         * kcanvas/device/quartz/KCanvasItemQuartz.mm:
2036         * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
2037         * kcanvas/device/quartz/KCanvasPathQuartz.mm:
2038         * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
2039         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
2040         * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
2041         * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
2042         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
2043         * kcanvas/device/quartz/QuartzSupport.h:
2044         * kcanvas/device/quartz/QuartzSupport.mm:
2045         * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
2046         * ksvg2/bindings/js/JSSVGElementWrapperFactory.h:
2047         * ksvg2/css/SVGCSSParser.cpp:
2048         * ksvg2/css/SVGCSSStyleSelector.cpp:
2049         * ksvg2/css/SVGRenderStyle.cpp:
2050         * ksvg2/css/SVGRenderStyle.h:
2051         * ksvg2/css/SVGRenderStyleDefs.cpp:
2052         * ksvg2/css/SVGRenderStyleDefs.h:
2053         * ksvg2/ecma/GlobalObject.cpp:
2054         * ksvg2/ecma/GlobalObject.h:
2055         * ksvg2/events/JSSVGLazyEventListener.cpp:
2056         * ksvg2/events/JSSVGLazyEventListener.h:
2057         * ksvg2/events/SVGZoomEvent.cpp:
2058         * ksvg2/events/SVGZoomEvent.h:
2059         * ksvg2/ksvg.h:
2060         * ksvg2/misc/KCanvasRenderingStyle.cpp:
2061         * ksvg2/misc/KCanvasRenderingStyle.h:
2062         * ksvg2/misc/KSVGTimeScheduler.cpp:
2063         * ksvg2/misc/KSVGTimeScheduler.h:
2064         * ksvg2/misc/SVGDocumentExtensions.cpp:
2065         * ksvg2/misc/SVGDocumentExtensions.h:
2066         * ksvg2/misc/SVGImageLoader.cpp:
2067         * ksvg2/misc/SVGImageLoader.h:
2068         * ksvg2/svg/DOMList.h:
2069         * ksvg2/svg/SVGAElement.cpp:
2070         * ksvg2/svg/SVGAElement.h:
2071         * ksvg2/svg/SVGAngle.cpp:
2072         * ksvg2/svg/SVGAngle.h:
2073         * ksvg2/svg/SVGAnimateColorElement.cpp:
2074         * ksvg2/svg/SVGAnimateColorElement.h:
2075         * ksvg2/svg/SVGAnimateElement.cpp:
2076         * ksvg2/svg/SVGAnimateElement.h:
2077         * ksvg2/svg/SVGAnimateTransformElement.cpp:
2078         * ksvg2/svg/SVGAnimateTransformElement.h:
2079         * ksvg2/svg/SVGAnimatedAngle.cpp:
2080         * ksvg2/svg/SVGAnimatedAngle.h:
2081         * ksvg2/svg/SVGAnimatedBoolean.cpp:
2082         * ksvg2/svg/SVGAnimatedBoolean.h:
2083         * ksvg2/svg/SVGAnimatedColor.cpp:
2084         * ksvg2/svg/SVGAnimatedColor.h:
2085         * ksvg2/svg/SVGAnimatedEnumeration.cpp:
2086         * ksvg2/svg/SVGAnimatedEnumeration.h:
2087         * ksvg2/svg/SVGAnimatedInteger.cpp:
2088         * ksvg2/svg/SVGAnimatedInteger.h:
2089         * ksvg2/svg/SVGAnimatedLength.cpp:
2090         * ksvg2/svg/SVGAnimatedLength.h:
2091         * ksvg2/svg/SVGAnimatedLengthList.cpp:
2092         * ksvg2/svg/SVGAnimatedLengthList.h:
2093         * ksvg2/svg/SVGAnimatedNumber.cpp:
2094         * ksvg2/svg/SVGAnimatedNumber.h:
2095         * ksvg2/svg/SVGAnimatedNumberList.cpp:
2096         * ksvg2/svg/SVGAnimatedNumberList.h:
2097         * ksvg2/svg/SVGAnimatedPathData.cpp:
2098         * ksvg2/svg/SVGAnimatedPathData.h:
2099         * ksvg2/svg/SVGAnimatedPoints.cpp:
2100         * ksvg2/svg/SVGAnimatedPoints.h:
2101         * ksvg2/svg/SVGAnimatedPreserveAspectRatio.cpp:
2102         * ksvg2/svg/SVGAnimatedPreserveAspectRatio.h:
2103         * ksvg2/svg/SVGAnimatedRect.cpp:
2104         * ksvg2/svg/SVGAnimatedRect.h:
2105         * ksvg2/svg/SVGAnimatedString.cpp:
2106         * ksvg2/svg/SVGAnimatedString.h:
2107         * ksvg2/svg/SVGAnimatedTemplate.h:
2108         * ksvg2/svg/SVGAnimatedTransformList.cpp:
2109         * ksvg2/svg/SVGAnimatedTransformList.h:
2110         * ksvg2/svg/SVGAnimationElement.cpp:
2111         * ksvg2/svg/SVGAnimationElement.h:
2112         * ksvg2/svg/SVGCircleElement.cpp:
2113         * ksvg2/svg/SVGCircleElement.h:
2114         * ksvg2/svg/SVGClipPathElement.cpp:
2115         * ksvg2/svg/SVGClipPathElement.h:
2116         * ksvg2/svg/SVGColor.cpp:
2117         * ksvg2/svg/SVGColor.h:
2118         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
2119         * ksvg2/svg/SVGComponentTransferFunctionElement.h:
2120         * ksvg2/svg/SVGCursorElement.cpp:
2121         * ksvg2/svg/SVGCursorElement.h:
2122         * ksvg2/svg/SVGDOMImplementation.cpp:
2123         * ksvg2/svg/SVGDOMImplementation.h:
2124         * ksvg2/svg/SVGDefsElement.cpp:
2125         * ksvg2/svg/SVGDefsElement.h:
2126         * ksvg2/svg/SVGDescElement.cpp:
2127         * ksvg2/svg/SVGDescElement.h:
2128         * ksvg2/svg/SVGDocument.cpp:
2129         * ksvg2/svg/SVGDocument.h:
2130         * ksvg2/svg/SVGElement.cpp:
2131         * ksvg2/svg/SVGElement.h:
2132         * ksvg2/svg/SVGElementInstance.cpp:
2133         * ksvg2/svg/SVGElementInstance.h:
2134         * ksvg2/svg/SVGElementInstanceList.cpp:
2135         * ksvg2/svg/SVGElementInstanceList.h:
2136         * ksvg2/svg/SVGEllipseElement.cpp:
2137         * ksvg2/svg/SVGEllipseElement.h:
2138         * ksvg2/svg/SVGExternalResourcesRequired.cpp:
2139         * ksvg2/svg/SVGExternalResourcesRequired.h:
2140         * ksvg2/svg/SVGFEBlendElement.cpp:
2141         * ksvg2/svg/SVGFEBlendElement.h:
2142         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
2143         * ksvg2/svg/SVGFEColorMatrixElement.h:
2144         * ksvg2/svg/SVGFEComponentTransferElement.cpp:
2145         * ksvg2/svg/SVGFEComponentTransferElement.h:
2146         * ksvg2/svg/SVGFECompositeElement.cpp:
2147         * ksvg2/svg/SVGFECompositeElement.h:
2148         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
2149         * ksvg2/svg/SVGFEDiffuseLightingElement.h:
2150         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
2151         * ksvg2/svg/SVGFEDisplacementMapElement.h:
2152         * ksvg2/svg/SVGFEDistantLightElement.cpp:
2153         * ksvg2/svg/SVGFEDistantLightElement.h:
2154         * ksvg2/svg/SVGFEFloodElement.cpp:
2155         * ksvg2/svg/SVGFEFloodElement.h:
2156         * ksvg2/svg/SVGFEFuncAElement.cpp:
2157         * ksvg2/svg/SVGFEFuncAElement.h:
2158         * ksvg2/svg/SVGFEFuncBElement.cpp:
2159         * ksvg2/svg/SVGFEFuncBElement.h:
2160         * ksvg2/svg/SVGFEFuncGElement.cpp:
2161         * ksvg2/svg/SVGFEFuncGElement.h:
2162         * ksvg2/svg/SVGFEFuncRElement.cpp:
2163         * ksvg2/svg/SVGFEFuncRElement.h:
2164         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
2165         * ksvg2/svg/SVGFEGaussianBlurElement.h:
2166         * ksvg2/svg/SVGFEImageElement.cpp:
2167         * ksvg2/svg/SVGFEImageElement.h:
2168         * ksvg2/svg/SVGFELightElement.cpp:
2169         * ksvg2/svg/SVGFELightElement.h:
2170         * ksvg2/svg/SVGFEMergeElement.cpp:
2171         * ksvg2/svg/SVGFEMergeElement.h:
2172         * ksvg2/svg/SVGFEMergeNodeElement.cpp:
2173         * ksvg2/svg/SVGFEMergeNodeElement.h:
2174         * ksvg2/svg/SVGFEOffsetElement.cpp:
2175         * ksvg2/svg/SVGFEOffsetElement.h:
2176         * ksvg2/svg/SVGFEPointLightElement.cpp:
2177         * ksvg2/svg/SVGFEPointLightElement.h:
2178         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
2179         * ksvg2/svg/SVGFESpecularLightingElement.h:
2180         * ksvg2/svg/SVGFESpotLightElement.cpp:
2181         * ksvg2/svg/SVGFESpotLightElement.h:
2182         * ksvg2/svg/SVGFETileElement.cpp:
2183         * ksvg2/svg/SVGFETileElement.h:
2184         * ksvg2/svg/SVGFETurbulenceElement.cpp:
2185         * ksvg2/svg/SVGFETurbulenceElement.h:
2186         * ksvg2/svg/SVGFilterElement.cpp:
2187         * ksvg2/svg/SVGFilterElement.h:
2188         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
2189         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
2190         * ksvg2/svg/SVGFitToViewBox.cpp:
2191         * ksvg2/svg/SVGFitToViewBox.h:
2192         * ksvg2/svg/SVGForeignObjectElement.cpp:
2193         * ksvg2/svg/SVGForeignObjectElement.h:
2194         * ksvg2/svg/SVGGElement.cpp:
2195         * ksvg2/svg/SVGGElement.h:
2196         * ksvg2/svg/SVGGradientElement.cpp:
2197         * ksvg2/svg/SVGGradientElement.h:
2198         * ksvg2/svg/SVGHelper.cpp:
2199         * ksvg2/svg/SVGHelper.h:
2200         * ksvg2/svg/SVGImageElement.cpp:
2201         * ksvg2/svg/SVGImageElement.h:
2202         * ksvg2/svg/SVGLangSpace.cpp:
2203         * ksvg2/svg/SVGLangSpace.h:
2204         * ksvg2/svg/SVGLength.cpp:
2205         * ksvg2/svg/SVGLength.h:
2206         * ksvg2/svg/SVGLengthList.cpp:
2207         * ksvg2/svg/SVGLengthList.h:
2208         * ksvg2/svg/SVGLineElement.cpp:
2209         * ksvg2/svg/SVGLineElement.h:
2210         * ksvg2/svg/SVGLinearGradientElement.cpp:
2211         * ksvg2/svg/SVGLinearGradientElement.h:
2212         * ksvg2/svg/SVGList.h:
2213         * ksvg2/svg/SVGLocatable.cpp:
2214         * ksvg2/svg/SVGLocatable.h:
2215         * ksvg2/svg/SVGMarkerElement.cpp:
2216         * ksvg2/svg/SVGMarkerElement.h:
2217         * ksvg2/svg/SVGMaskElement.cpp:
2218         * ksvg2/svg/SVGMaskElement.h:
2219         * ksvg2/svg/SVGMatrix.cpp:
2220         * ksvg2/svg/SVGMatrix.h:
2221         * ksvg2/svg/SVGNumber.cpp:
2222         * ksvg2/svg/SVGNumber.h:
2223         * ksvg2/svg/SVGNumberList.cpp:
2224         * ksvg2/svg/SVGNumberList.h:
2225         * ksvg2/svg/SVGPaint.cpp:
2226         * ksvg2/svg/SVGPaint.h:
2227         * ksvg2/svg/SVGPathElement.cpp:
2228         * ksvg2/svg/SVGPathElement.h:
2229         * ksvg2/svg/SVGPathSeg.cpp:
2230         * ksvg2/svg/SVGPathSeg.h:
2231         * ksvg2/svg/SVGPathSegArc.cpp:
2232         * ksvg2/svg/SVGPathSegArc.h:
2233         * ksvg2/svg/SVGPathSegClosePath.cpp:
2234         * ksvg2/svg/SVGPathSegClosePath.h:
2235         * ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
2236         * ksvg2/svg/SVGPathSegCurvetoCubic.h:
2237         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
2238         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
2239         * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
2240         * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
2241         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
2242         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
2243         * ksvg2/svg/SVGPathSegLineto.cpp:
2244         * ksvg2/svg/SVGPathSegLineto.h:
2245         * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
2246         * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
2247         * ksvg2/svg/SVGPathSegLinetoVertical.cpp:
2248         * ksvg2/svg/SVGPathSegLinetoVertical.h:
2249         * ksvg2/svg/SVGPathSegList.cpp:
2250         * ksvg2/svg/SVGPathSegList.h:
2251         * ksvg2/svg/SVGPathSegMoveto.cpp:
2252         * ksvg2/svg/SVGPathSegMoveto.h:
2253         * ksvg2/svg/SVGPatternElement.cpp:
2254         * ksvg2/svg/SVGPatternElement.h:
2255         * ksvg2/svg/SVGPoint.cpp:
2256         * ksvg2/svg/SVGPoint.h:
2257         * ksvg2/svg/SVGPointList.cpp:
2258         * ksvg2/svg/SVGPointList.h:
2259         * ksvg2/svg/SVGPolyElement.cpp:
2260         * ksvg2/svg/SVGPolyElement.h:
2261         * ksvg2/svg/SVGPolygonElement.cpp:
2262         * ksvg2/svg/SVGPolygonElement.h:
2263         * ksvg2/svg/SVGPolylineElement.cpp:
2264         * ksvg2/svg/SVGPolylineElement.h:
2265         * ksvg2/svg/SVGPreserveAspectRatio.cpp:
2266         * ksvg2/svg/SVGPreserveAspectRatio.h:
2267         * ksvg2/svg/SVGRadialGradientElement.cpp:
2268         * ksvg2/svg/SVGRadialGradientElement.h:
2269         * ksvg2/svg/SVGRect.cpp:
2270         * ksvg2/svg/SVGRect.h:
2271         * ksvg2/svg/SVGRectElement.cpp:
2272         * ksvg2/svg/SVGRectElement.h:
2273         * ksvg2/svg/SVGSVGElement.cpp:
2274         * ksvg2/svg/SVGSVGElement.h:
2275         * ksvg2/svg/SVGScriptElement.cpp:
2276         * ksvg2/svg/SVGScriptElement.h:
2277         * ksvg2/svg/SVGSetElement.cpp:
2278         * ksvg2/svg/SVGSetElement.h:
2279         * ksvg2/svg/SVGStopElement.cpp:
2280         * ksvg2/svg/SVGStopElement.h:
2281         * ksvg2/svg/SVGStringList.cpp:
2282         * ksvg2/svg/SVGStringList.h:
2283         * ksvg2/svg/SVGStylable.cpp:
2284         * ksvg2/svg/SVGStylable.h:
2285         * ksvg2/svg/SVGStyleElement.cpp:
2286         * ksvg2/svg/SVGStyleElement.h:
2287         * ksvg2/svg/SVGStyledElement.cpp:
2288         * ksvg2/svg/SVGStyledElement.h:
2289         * ksvg2/svg/SVGStyledLocatableElement.cpp:
2290         * ksvg2/svg/SVGStyledLocatableElement.h:
2291         * ksvg2/svg/SVGStyledTransformableElement.cpp:
2292         * ksvg2/svg/SVGStyledTransformableElement.h:
2293         * ksvg2/svg/SVGSwitchElement.cpp:
2294         * ksvg2/svg/SVGSwitchElement.h:
2295         * ksvg2/svg/SVGSymbolElement.cpp:
2296         * ksvg2/svg/SVGSymbolElement.h:
2297         * ksvg2/svg/SVGTRefElement.cpp:
2298         * ksvg2/svg/SVGTRefElement.h:
2299         * ksvg2/svg/SVGTSpanElement.cpp:
2300         * ksvg2/svg/SVGTSpanElement.h:
2301         * ksvg2/svg/SVGTests.cpp:
2302         * ksvg2/svg/SVGTests.h:
2303         * ksvg2/svg/SVGTextContentElement.cpp:
2304         * ksvg2/svg/SVGTextContentElement.h:
2305         * ksvg2/svg/SVGTextElement.cpp:
2306         * ksvg2/svg/SVGTextElement.h:
2307         * ksvg2/svg/SVGTextPositioningElement.cpp:
2308         * ksvg2/svg/SVGTextPositioningElement.h:
2309         * ksvg2/svg/SVGTitleElement.cpp:
2310         * ksvg2/svg/SVGTitleElement.h:
2311         * ksvg2/svg/SVGTransform.cpp:
2312         * ksvg2/svg/SVGTransform.h:
2313         * ksvg2/svg/SVGTransformList.cpp:
2314         * ksvg2/svg/SVGTransformList.h:
2315         * ksvg2/svg/SVGTransformable.cpp:
2316         * ksvg2/svg/SVGTransformable.h:
2317         * ksvg2/svg/SVGURIReference.cpp:
2318         * ksvg2/svg/SVGURIReference.h:
2319         * ksvg2/svg/SVGUseElement.cpp:
2320         * ksvg2/svg/SVGUseElement.h:
2321         * ksvg2/svg/SVGViewElement.cpp:
2322         * ksvg2/svg/SVGViewElement.h:
2323         * ksvg2/svg/SVGZoomAndPan.cpp:
2324         * ksvg2/svg/SVGZoomAndPan.h:
2325         * ksvg2/svg/svgpathparser.cpp:
2326         * ksvg2/svg/svgpathparser.h:
2327         * page/DOMWindow.idl:
2328         * page/Frame.cpp:
2329         (WebCore::Frame::Frame):
2330         (WebCore::Frame::begin):
2331         (WebCore::Frame::pauseTimeouts):
2332         (WebCore::Frame::resumeTimeouts):
2333         * platform/GraphicsContext.h:
2334         * platform/cg/GraphicsContextCG.cpp:
2335         * rendering/RenderLayer.cpp:
2336         (WebCore::RenderLayer::isTransparent):
2337         * rendering/RenderObject.cpp:
2338         (WebCore::RenderObject::containingBlock):
2339         * rendering/RenderObject.h:
2340         * rendering/RenderStyle.cpp:
2341         (WebCore::RenderStyle::RenderStyle):
2342         (WebCore::RenderStyle::inheritFrom):
2343         (WebCore::RenderStyle::operator==):
2344         (WebCore::RenderStyle::inheritedNotEqual):
2345         (WebCore::RenderStyle::diff):
2346         * rendering/RenderStyle.h:
2347         * rendering/RenderTreeAsText.cpp:
2348         (WebCore::write):
2349         (WebCore::externalRepresentation):
2350         * xpath/XPathEvaluator.cpp:
2351         * xpath/XPathEvaluator.h:
2352         * xpath/XPathExpression.cpp:
2353         * xpath/XPathExpression.h:
2354         * xpath/XPathNSResolver.cpp:
2355         * xpath/XPathNSResolver.h:
2356         * xpath/XPathNamespace.cpp:
2357         * xpath/XPathNamespace.h:
2358         * xpath/XPathResult.cpp:
2359         * xpath/XPathResult.h:
2360         * xpath/impl/XPathExpressionNode.cpp:
2361         * xpath/impl/XPathExpressionNode.h:
2362         * xpath/impl/XPathFunctions.cpp:
2363         * xpath/impl/XPathFunctions.h:
2364         * xpath/impl/XPathGrammar.y:
2365         * xpath/impl/XPathParser.cpp:
2366         * xpath/impl/XPathParser.h:
2367         * xpath/impl/XPathPath.cpp:
2368         * xpath/impl/XPathPath.h:
2369         * xpath/impl/XPathPredicate.cpp:
2370         * xpath/impl/XPathPredicate.h:
2371         * xpath/impl/XPathStep.cpp:
2372         * xpath/impl/XPathStep.h:
2373         * xpath/impl/XPathUtil.cpp:
2374         * xpath/impl/XPathUtil.h:
2375         * xpath/impl/XPathValue.cpp:
2376         * xpath/impl/XPathValue.h:
2377         * xpath/impl/XPathVariableReference.cpp:
2378         * xpath/impl/XPathVariableReference.h:
2379
2380         Change all #if SVG_SUPPORT to #ifdef SVG_SUPPORT and
2381         #if XPATH_SUPPORT to #ifdef XPATH_SUPPORT
2382         (except for one #if !SVG_SUPPORT to a #ifndef SVG_SUPPORT
2383         in RenderTreeAsText.cpp)
2384
2385 2006-08-08  Rob Buis  <buis@kde.org>
2386
2387         Reviewed by Darin.
2388
2389         http://bugzilla.opendarwin.org/show_bug.cgi?id=10230
2390         SVGDOMImplementation should die (and be rolled into DOMImplementation)
2391
2392         Delete SVGDOMImplementation and references to it. The
2393         svg specific functionality is now in DOMImplementation.
2394
2395         * WebCore.xcodeproj/project.pbxproj:
2396         * dom/DOMImplementation.cpp:
2397         (WebCore::svgFeatureSet):
2398         (WebCore::DOMImplementation::hasFeature):
2399         (WebCore::DOMImplementation::createDocument):
2400         (WebCore::DOMImplementation::createSVGDocument):
2401         * dom/DOMImplementation.h:
2402         * ksvg2/bindings/idl/svg/SVGDOMImplementation.idl: Removed.
2403         * ksvg2/misc/KSVGTimeScheduler.cpp:
2404         * ksvg2/svg/SVGColor.cpp:
2405         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
2406         * ksvg2/svg/SVGDocument.cpp:
2407         (WebCore::SVGDocument::SVGDocument):
2408         * ksvg2/svg/SVGDocument.h:
2409         * ksvg2/svg/SVGElement.cpp:
2410         (WebCore::SVGElement::isSupported):
2411         * ksvg2/svg/SVGFEBlendElement.cpp:
2412         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
2413         * ksvg2/svg/SVGFEComponentTransferElement.cpp:
2414         * ksvg2/svg/SVGFECompositeElement.cpp:
2415         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
2416         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
2417         * ksvg2/svg/SVGFEFloodElement.cpp:
2418         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
2419         * ksvg2/svg/SVGFELightElement.cpp:
2420         * ksvg2/svg/SVGFEMergeElement.cpp:
2421         * ksvg2/svg/SVGFEOffsetElement.cpp:
2422         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
2423         * ksvg2/svg/SVGFETileElement.cpp:
2424         * ksvg2/svg/SVGFETurbulenceElement.cpp:
2425         * ksvg2/svg/SVGGradientElement.cpp:
2426         * ksvg2/svg/SVGPatternElement.cpp:
2427         * ksvg2/svg/SVGPolyElement.cpp:
2428         * ksvg2/svg/SVGStopElement.cpp:
2429         * ksvg2/svg/SVGStyledElement.cpp:
2430         * ksvg2/svg/SVGStyledTransformableElement.cpp:
2431         * ksvg2/svg/SVGTests.cpp:
2432         (WebCore::SVGTests::isValid):
2433         * ksvg2/svg/SVGTransformable.cpp:
2434         * page/Frame.cpp:
2435         (WebCore::Frame::begin):
2436
2437 2006-08-07  Brady Eidson  <beidson@apple.com>
2438
2439         Reviewed by Anders and John
2440
2441         Icons can now refresh when new data is sent from WebKit, both on disk and in memory
2442
2443         * bridge/mac/WebCoreIconDatabaseBridge.h:
2444         * bridge/mac/WebCoreIconDatabaseBridge.mm:
2445         (WebCore::IconDatabase::loadIconFromURL):  Allows WebCore/Kit to kick off a load
2446         outside of any greater context
2447         (-[WebCoreIconDatabaseBridge isIconExpiredForIconURL:]):
2448         (-[WebCoreIconDatabaseBridge isIconExpiredForPageURL:]): Allows WebKit
2449         to get whether or not an icon has expired
2450
2451         * loader/icon/IconDatabase.cpp:
2452         (WebCore::IconDatabase::recreateDatabase): Changed database schema slightly
2453         (WebCore::IconDatabase::createPrivateTables): Changed database schema slightly
2454         (WebCore::IconDatabase::iconForPageURL): 
2455         (WebCore::IconDatabase::isIconExpiredForIconURL): Get if an icon has expired
2456         (WebCore::IconDatabase::isIconExpiredForPageURL): Get if an icon has expired
2457         (WebCore::IconDatabase::setIconDataForIconURL): Force a refresh of the in memory
2458         image when new icon data is loaded
2459         (WebCore::IconDatabase::setIconURLForPageURL): added a check for null iconID
2460
2461         * loader/icon/IconDatabase.h: added/changed some methods
2462         * loader/icon/SiteIcon.cpp:
2463         (SiteIcon::getImage): simplified/removed debugging code
2464         (SiteIcon::manuallySetImageData): allow the image data to be changed when new icon
2465         data is loaded
2466
2467 2006-08-05  Darin Adler  <darin@apple.com>
2468
2469         Reviewed by Eric Seidel.
2470
2471         - fix a storage leak
2472
2473         * rendering/RenderView.cpp: (WebCore::RenderView::setSelection):
2474         Delete the values if we are going to exit without using the maps.
2475         Otherwise all the values leak.
2476
2477 2006-08-05  Darin Adler  <darin@apple.com>
2478
2479         Reviewed by Hyatt.
2480
2481         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10213
2482           REGRESSION: Crash in WebCore::RenderLayer::isTransparent involving <iframe> and <select>
2483
2484         Test: fast/frames/iframe-option-crash.xhtml
2485
2486         * rendering/RenderView.cpp: (WebCore::RenderView::paintBoxDecorations):
2487         Check for a nil renderer.
2488
2489 2006-08-04  David Hyatt  <hyatt@apple.com>
2490
2491         Fix for Radar bug #4644045, regression where dragging selection no longer
2492         works for floats contained inside layers.  I added an optimization to
2493         refine dirty rect checking for layers, and it incorrectly excluded floats
2494         from the paint bounds since PaintPhaseSelection was not considered when
2495         analyzing the floatRect().
2496
2497         Reviewed by beth
2498
2499         * rendering/RenderBlock.cpp:
2500         (WebCore::RenderBlock::paint):
2501
2502 2006-08-04  David Hyatt  <hyatt@apple.com>
2503
2504         Fix remove() so that it is equivalent to calling removeChild on the
2505         parent.  This involved moving three operations that remove did.
2506
2507         (1) Move the accessibility object cache removal into the destroy methods,
2508         since this really should just happen when a render object is going away.
2509
2510         (2) removeFromObjectLists shifted into removeChild, which means it will
2511         now be called more often (this is a correct change).  Note that there is
2512         also now a new guard on removeFromObjectLists so that it won't do any
2513         work unless the document is not being destroyed.
2514
2515         (3) The big one.  deleteLineBoxWrapper was not getting called to clean up
2516         the line box tree.  This moved right into RenderContainer's removeChildNode so
2517         that it is now done even in the lowest level RenderContainer removal primitive.
2518
2519         Reviewed by beth
2520
2521         * rendering/RenderContainer.cpp:
2522         (WebCore::RenderContainer::removeChildNode):
2523         (WebCore::RenderContainer::removeChild):
2524         * rendering/RenderObject.cpp:
2525         (WebCore::RenderObject::removeFromObjectLists):
2526         (WebCore::RenderObject::destroy):
2527         * rendering/RenderObject.h:
2528         (WebCore::RenderObject::remove):
2529         * rendering/RenderWidget.cpp:
2530         (WebCore::RenderWidget::destroy):
2531
2532 2006-08-04  David Hyatt  <hyatt@apple.com>
2533
2534         Back out the fix for list marker crashes.  The actual bug here is that
2535         there is a confusing mismatch between remove() and removeChild() in the
2536         render tree.  remove() does a little bit of extra work that removeChild
2537         should be doing instead (so that remove() can just be a shorthand for
2538         removeChild).
2539
2540         This conservative fix does not solve the remove/removeChild mismatch
2541         but instead just changes the list marker updating code to use remove
2542         instead.
2543
2544         Reviewed by beth
2545
2546         Test Case: fast/lists/dynamic-marker-crash.html
2547
2548         * rendering/ListMarkerBox.cpp:
2549         * rendering/ListMarkerBox.h:
2550         * rendering/RenderListItem.cpp:
2551         (WebCore::RenderListItem::updateMarkerLocation):
2552
2553 2006-08-04  Sam Weinig  <sam.weinig@gmail.com>
2554
2555         Reviewed by Darin.
2556
2557         - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10192
2558           Make WebCore (and friends) compile with -Wshorten-64-to-32
2559
2560           * Adds -Wshorten-64-to-32 flag to Xcode project.
2561           * Adds 'f' to float literals where expecting a float.
2562           * Use cosf() instead of cos() when assigning to a float.
2563
2564         * WebCore.xcodeproj/project.pbxproj:
2565         * kcanvas/device/quartz/filters/WKDiffuseLightingFilter.m:
2566         (+[WKDiffuseLightingFilter initialize]):
2567         * kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m:
2568         (-[WKDiscreteTransferFilter outputImage]):
2569         * kcanvas/device/quartz/filters/WKDisplacementMapFilter.m:
2570         (+[WKDisplacementMapFilter initialize]):
2571         * kcanvas/device/quartz/filters/WKSpecularLightingFilter.m:
2572         (+[WKSpecularLightingFilter initialize]):
2573         * kcanvas/device/quartz/filters/WKSpotLightFilter.m:
2574         (-[WKSpotLightFilter outputImage]):
2575         * kcanvas/device/quartz/filters/WKTableTransferFilter.m:
2576         (-[WKTableTransferFilter outputImage]):
2577
2578 2006-08-03  David Hyatt  <hyatt@apple.com>
2579
2580         Fix for bug 10229, don't bother trying to clear when no floats are
2581         present.  I suspect there's still a bug in the math that follows, but
2582         this fix is safer in that it just does the obvious thing (and doesn't
2583         compute any clearance if no floats are even around).
2584
2585         Reviewed by maciej
2586
2587         * ChangeLog:
2588         * rendering/RenderBlock.cpp:
2589         (WebCore::RenderBlock::getClearDelta):
2590
2591 2006-08-03  Justin Garcia  <justin.garcia@apple.com>
2592
2593         Reviewed by harrison
2594         
2595         <rdar://problem/4641033/4515463/4052426/4046570/4053718/4053724/4060115/4062858>
2596         Copy/Paste fidelity was bad.
2597
2598         * editing/ApplyStyleCommand.cpp:
2599         (WebCore::ApplyStyleCommand::applyInlineStyle):
2600         * editing/markup.cpp:
2601         (WebCore::startMarkup): We were not adding non-inheritable styles
2602         to the markup for an element unless they were in the elements inline
2603         style declaration.
2604
2605 2006-08-03  Sam Weinig  <sam.weinig@gmail.com>
2606
2607         Reviewed by Darin.
2608
2609         - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
2610           Make WebCore compile with -Wundef
2611
2612           * Adds -Wundef flag to Xcode project
2613           * Converts #ifs to #ifdef and #ifndefs where needed.
2614           * Replaces #ifdef WIN32 with #if PLATFORM(WIN_OS) or PLATFORM(WIN)
2615             (and in one instance in config.h with #if !COMPILER(MSVC))
2616           * Added #define YYMAXDEPTH 10000 in XPathGrammar.y and CSSGrammar.y
2617             to fix a warning from within Bison.
2618           * Cleaned up style a little in surrounding code.
2619
2620         * WebCore.xcodeproj/project.pbxproj:
2621         * bridge/mac/WebCoreAXObject.mm:
2622         (-[WebCoreAXObject doAXTextMarkerRangeForUnorderedTextMarkers:]):
2623         * config.h:
2624         * css/CSSGrammar.y:
2625         * css/MediaFeatureNames.cpp:
2626         * css/MediaFeatureNames.h:
2627         * css/cssparser.cpp:
2628         * dom/ContainerNode.cpp:
2629         (WebCore::ContainerNode::setActive):
2630         * dom/Element.cpp:
2631         (WebCore::Element::attach):
2632         * dom/Element.h:
2633         * dom/EventNames.cpp:
2634         * dom/EventNames.h:
2635         * dom/NamedAttrMap.h:
2636         * dom/Position.cpp:
2637         * dom/QualifiedName.cpp:
2638         * dom/QualifiedName.h:
2639         * dom/Range.h:
2640         * dom/XMLTokenizer.cpp:
2641         (WebCore::XMLTokenizer::error):
2642         * html/HTMLTokenizer.cpp:
2643         (WebCore::HTMLTokenizer::scriptHandler):
2644         (WebCore::HTMLTokenizer::scriptExecution):
2645         (WebCore::HTMLTokenizer::parseTag):
2646         (WebCore::HTMLTokenizer::continueProcessing):
2647         (WebCore::HTMLTokenizer::write):
2648         (WebCore::HTMLTokenizer::timerFired):
2649         (WebCore::HTMLTokenizer::notifyFinished):
2650         * kcanvas/device/quartz/KCanvasFilterQuartz.h:
2651         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
2652         * ksvg2/css/SVGRenderStyle.h:
2653         * ksvg2/css/SVGRenderStyleDefs.h:
2654         * ksvg2/scripts/make_names.pl:
2655         * loader/CachedResource.h:
2656         * loader/LoaderFunctions.h:
2657         * loader/loader.h:
2658         * page/Frame.cpp:
2659         * page/FrameTree.cpp:
2660         * page/FrameView.cpp:
2661         (WebCore::FrameView::clear):
2662         (WebCore::FrameView::layout):
2663         (WebCore::FrameView::layoutTimerFired):
2664         (WebCore::FrameView::scheduleRelayout):
2665         (WebCore::FrameView::unscheduleRelayout):
2666         * platform/AtomicString.cpp:
2667         * platform/AtomicString.h:
2668         * platform/Cursor.h:
2669         * platform/DeprecatedArray.h:
2670         * platform/DeprecatedString.cpp:
2671         (WebCore::allocateHandle):
2672         (WebCore::initializeHandleNodeBlock):
2673         (WebCore::freeHandle):
2674         * platform/FloatPoint.h:
2675         * platform/FloatRect.h:
2676         * platform/FloatSize.h:
2677         * platform/GraphicsContext.h:
2678         * platform/Image.h:
2679         * platform/IntPoint.h:
2680         * platform/IntRect.h:
2681         (WebCore::IntRect::inflateX):
2682         (WebCore::IntRect::inflateY):
2683         * platform/IntSize.h:
2684         * platform/PlatformKeyboardEvent.h:
2685         * platform/PlatformMouseEvent.h:
2686         * platform/PlatformString.h:
2687         * platform/ResourceLoader.h:
2688         * platform/ResourceLoaderInternal.h:
2689         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
2690         * platform/ScrollView.h:
2691         * platform/StaticConstructors.h:
2692         * platform/StreamingTextDecoderICU.cpp:
2693         (WebCore::StreamingTextDecoderICU::convert):
2694         * platform/StringImpl.h:
2695         * platform/Widget.h:
2696         * platform/mac/BlockExceptions.mm:
2697         * platform/mac/ColorMac.mm:
2698         (+[WebCoreControlTintObserver WebCore]):
2699         * platform/mac/FloatPointMac.mm:
2700         * platform/mac/FloatRectMac.mm:
2701         * platform/mac/FloatSizeMac.mm:
2702         * platform/mac/FontMac.mm:
2703         * platform/mac/GraphicsContextMac.mm:
2704         (WebCore::GraphicsContext::drawFocusRing):
2705         * platform/mac/IntPointMac.mm:
2706         * platform/mac/IntRectMac.mm:
2707         * platform/mac/IntSizeMac.mm:
2708         * platform/mac/WebCoreSystemInterface.h:
2709         * rendering/RenderBlock.h:
2710         * rendering/RenderTableCell.h:
2711         * rendering/bidi.cpp:
2712         (WebCore::appendRun):
2713         (WebCore::RenderBlock::layoutInlineChildren):
2714         * xml/XSLTProcessor.cpp:
2715         (WebCore::parseErrorFunc):
2716         * xpath/impl/XPathGrammar.y:
2717
2718 2006-08-03  Adam Roben  <aroben@apple.com>
2719
2720         Reviewed by Maciej and Beth.
2721
2722         Fix use-after-dispose heap corruption bug.
2723
2724         * rendering/ListMarkerBox.cpp:
2725         (WebCore::ListMarkerBox::destroy): Only call removeChild if we're not
2726         destroying the document
2727
2728 2006-08-03  Adam Roben  <aroben@apple.com>
2729
2730         Reviewed by Anders.
2731
2732         - Fixed Windows build.
2733
2734         * platform/Color.cpp:
2735         (WebCore::makeRGBAFromHSLA): Whitespace change
2736         * platform/win/TemporaryLinkStubs.cpp: Add new method stubs
2737         (PlatformScrollBar::PlatformScrollBar):
2738         (PlatformScrollBar::~PlatformScrollBar):
2739         (PlatformScrollBar::width):
2740         (PlatformScrollBar::height):
2741         (PlatformScrollBar::setEnabled):
2742         (PlatformScrollBar::paint):
2743         (PlatformScrollBar::setScrollBarValue):
2744         (PlatformScrollBar::setKnobProportion):
2745         (PlatformScrollBar::setRect):
2746         (ScrollBar::ScrollBar):
2747         (ScrollBar::scroll):
2748         (ScrollBar::setValue):
2749
2750 2006-08-02  Justin Garcia  <justin.garcia@apple.com>
2751
2752         Reviewed by mjs
2753         
2754         <http://bugzilla.opendarwin.org/show_bug.cgi?id=10225>
2755         GMail Editor: Change Hilite Color doesn't work
2756
2757         * editing/JSEditor.cpp: Added support for execCommand("HiliteColor", ...).
2758         It's what GMail uses to implement text hiliting.  It's just a synonym for BackColor.
2759         * editing/SelectionController.cpp:
2760         (WebCore::SelectionController::nodeWillBeRemoved): Moved a comment
2761         a more appropriate place.
2762
2763 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2764
2765         Reviewed by Adele and Darin.
2766
2767         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10177
2768           REGRESSION: Successfully dragging text into a disabled field
2769
2770         Test: fast/forms/textfield-drag-into-disabled.html
2771
2772         * rendering/RenderTextControl.cpp:
2773         (WebCore::RenderTextControl::createDivStyle): Changed to set -webkit-user-modify
2774         to read-only on the inner div if the control is disabled.       
2775         (WebCore::RenderTextControl::updateFromElement): Ditto.
2776
2777 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2778
2779         Reviewed by Darin.
2780
2781         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10198
2782           REGRESSION: WebKit r15750 crashes while loading anthem.com
2783
2784         Test: fast/overflow/generated-content-crash.html
2785
2786         * rendering/RenderLayer.cpp:
2787         (WebCore::RenderLayer::updateScrollInfoAfterLayout): Added a null check for
2788         the renderer's element. Generated content does not have an element and
2789         therefore does not need to maintain overflow status.
2790
2791 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2792
2793         Reviewed by Anders.
2794
2795         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10202
2796           REGRESSION: Repro crash when loading an empty image document
2797
2798         Test: fast/tokenizer/image-empty-crash.html
2799
2800         * loader/ImageDocument.cpp:
2801         (WebCore::ImageTokenizer::stopParsing): Added null check for m_imageElement.
2802         (WebCore::ImageTokenizer::finish): Ditto.
2803
2804 2006-08-03  Darin Adler  <darin@apple.com>
2805
2806         Reviewed by Anders.
2807
2808         - clean up "flip"-related code a tiny bit
2809
2810         * platform/Screen.h: Removed redundant parameter names.
2811         * platform/mac/ScreenMac.mm:
2812         (WebCore::flipScreenRect): Changed to call flipScreenPoint so we only have one
2813         copy of the flipping code.
2814         (WebCore::flipScreenPoint): Fixed indentation.
2815
2816         * bridge/mac/WebCoreFrameBridge.mm: (globalPoint): Removed type casts and
2817         simplified a bit.
2818
2819         * platform/mac/PlatformMouseEventMac.mm: (WebCore::globalPositionForEvent):
2820         * platform/mac/WheelEventMac.mm: (WebCore::globalPositionForEvent):
2821         Removed unneeded local variable.
2822
2823 2006-08-02  David Hyatt  <hyatt@apple.com>
2824
2825         Abstract RenderLayer scrollbar creation and destruction so that there
2826         is a clean spot in which to drop in engine scrollbar stuff.
2827
2828         Reviewed by timo
2829
2830         * platform/ScrollBar.h:
2831         (WebCore::ScrollBar::hasPlatformScrollBars):
2832         * rendering/RenderLayer.cpp:
2833         (WebCore::RenderLayer::createScrollbar):
2834         (WebCore::RenderLayer::destroyScrollbar):
2835         (WebCore::RenderLayer::setHasHorizontalScrollbar):
2836         (WebCore::RenderLayer::setHasVerticalScrollbar):
2837         * rendering/RenderLayer.h:
2838
2839 2006-08-02  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2840
2841         Reviewed by Darin.
2842
2843         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3438
2844           incorrect display of transparent 1x1 PNGs
2845
2846         Test: fast/replaced/image-solid-color-with-alpha.html
2847
2848         * platform/mac/ImageMac.mm:
2849         (WebCore::Image::checkForSolidColor): Changed to divide each color component
2850         by the alpha component. You need to do that since the bitmap context has
2851         premultiplied alpha but m_solidColor should be non-premultiplied.
2852
2853 2006-08-02  Adam Roben  <aroben@apple.com>
2854
2855         Reviewed by Brady.
2856
2857         - Remove redundant #include
2858
2859         * loader/loader.cpp:
2860
2861 2006-07-31  Sam Weinig  <sam.weinig@gmail.com>
2862
2863         Reviewed by Darin.
2864
2865         - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=9955
2866         Colors scaled from [0, 1] range to [0, 255] incorrectly
2867         
2868         Fixes scaling issue and fixes Color to follow style guidelines.
2869
2870         * css/cssstyleselector.cpp:
2871         (WebCore::CSSStyleSelector::getColorFromPrimitiveValue):
2872         * platform/Color.cpp:
2873         (WebCore::calcHue):
2874         (WebCore::makeRGBAFromHSLA):
2875         (WebCore::Color::Color):
2876         (WebCore::Color::name):
2877         (WebCore::Color::setNamedColor):
2878         (WebCore::Color::light):
2879         (WebCore::Color::dark):
2880         (WebCore::blend):
2881         * platform/Color.h:
2882         (WebCore::Color::Color):
2883         (WebCore::Color::isValid):
2884         (WebCore::Color::red):
2885         (WebCore::Color::green):
2886         (WebCore::Color::blue):
2887         (WebCore::Color::alpha):
2888         (WebCore::Color::rgb):
2889         (WebCore::Color::setRGB):
2890         (WebCore::operator==):
2891         (WebCore::operator!=):
2892         * rendering/RenderObject.cpp:
2893         (WebCore::RenderObject::drawBorder):
2894
2895 2006-07-31  Mitz Pettel  <opendarwin.org@mitzpettel.com>
2896
2897         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10158
2898           REGRESSION: Selection highlight is dark and opaque when solid-color images are used
2899
2900         Reviewed by Darin.
2901
2902         Pixel test: fast/backgrounds/solid-color-context-restore.html
2903
2904         * platform/mac/ImageMac.mm:
2905         (WebCore::Image::draw): Added calls to preserve the graphics context
2906         around the painting of a solid color image.
2907         (WebCore::Image::drawTiled): Ditto.
2908
2909 2006-07-31  Maciej Stachowiak  <mjs@apple.com>
2910
2911         Rubber-stamped by Tim Hatcher.
2912
2913         - renamed TransferJob to ResourceLoader
2914
2915         * Projects/gdk/webcore-gdk.bkl:
2916         * WebCore.vcproj/WebCore/WebCore.vcproj:
2917         * WebCore.xcodeproj/project.pbxproj:
2918         * WebCoreSources.bkl:
2919         * bridge/mac/FrameMac.mm:
2920         * bridge/mac/WebCoreResourceLoaderImp.h:
2921         * bridge/mac/WebCoreResourceLoaderImp.mm:
2922         (-[WebCoreResourceLoaderImp redirectedToURL:]):
2923         (-[WebCoreResourceLoaderImp addData:]):
2924         (-[WebCoreResourceLoaderImp finishJobAndHandle:]):
2925         * bridge/win/FrameWin.cpp:
2926         * dom/XMLTokenizer.cpp:
2927         (WebCore::openFunc):
2928         * loader/Cache.cpp:
2929         * loader/LoaderFunctions.h:
2930         * loader/loader.cpp:
2931         (WebCore::Loader::servePendingRequests):
2932         (WebCore::Loader::receivedAllData):
2933         (WebCore::Loader::receivedResponse):
2934         (WebCore::Loader::receivedData):
2935         (WebCore::Loader::cancelRequests):
2936         (WebCore::Loader::jobForRequest):
2937         * loader/loader.h:
2938         * loader/mac/LoaderFunctionsMac.mm:
2939         (WebCore::ServeSynchronousRequest):
2940         * platform/ResourceLoader.cpp: Added.
2941         (WebCore::ResourceLoader::ResourceLoader):
2942         (WebCore::ResourceLoader::isErrorPage):
2943         (WebCore::ResourceLoader::error):
2944         (WebCore::ResourceLoader::setError):
2945         (WebCore::ResourceLoader::queryMetaData):
2946         (WebCore::ResourceLoader::addMetaData):
2947         (WebCore::ResourceLoader::kill):
2948         (WebCore::ResourceLoader::url):
2949         (WebCore::ResourceLoader::postData):
2950         (WebCore::ResourceLoader::method):
2951         (WebCore::ResourceLoader::client):
2952         * platform/ResourceLoader.h: Added.
2953         (WebCore::ResourceLoader::getInternal):
2954         * platform/ResourceLoaderClient.h: Added.
2955         (WebCore::ResourceLoaderClient::~ResourceLoaderClient):
2956         (WebCore::ResourceLoaderClient::receivedRedirect):
2957         (WebCore::ResourceLoaderClient::receivedResponse):
2958         (WebCore::ResourceLoaderClient::receivedData):
2959         (WebCore::ResourceLoaderClient::receivedAllData):
2960         * platform/ResourceLoaderInternal.h: Added.
2961         (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
2962         * platform/TransferJob.cpp: Removed.
2963         * platform/TransferJob.h: Removed.
2964         * platform/TransferJobClient.h: Removed.
2965         * platform/TransferJobInternal.h: Removed.
2966         * platform/gdk/FrameGdk.cpp:
2967         (WebCore::FrameGdk::openURL):
2968         (WebCore::FrameGdk::urlSelected):
2969         (WebCore::FrameGdk::receivedData):
2970         (WebCore::FrameGdk::receivedAllData):
2971         * platform/gdk/FrameGdk.h:
2972         * platform/gdk/ResourceLoaderCurl.cpp: Added.
2973         (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
2974         (WebCore::ResourceLoader::~ResourceLoader):
2975         (WebCore::ResourceLoader::start):
2976         (WebCore::ResourceLoader::cancel):
2977         * platform/gdk/ResourceLoaderManager.cpp: Added.
2978         (WebCore::ResourceLoaderManager::ResourceLoaderManager):
2979         (WebCore::ResourceLoaderManager::get):
2980         (WebCore::ResourceLoaderManager::useSimpleTransfer):
2981         (WebCore::writeCallback):
2982         (WebCore::ResourceLoaderManager::downloadTimerCallback):
2983         (WebCore::ResourceLoaderManager::remove):
2984         (WebCore::ResourceLoaderManager::add):
2985         (WebCore::ResourceLoaderManager::cancel):
2986         * platform/gdk/ResourceLoaderManager.h: Added.
2987         * platform/gdk/TemporaryLinkStubs.cpp:
2988         (WebCore::ServeSynchronousRequest):
2989         (WebCore::ResourceLoader::assembleResponseHeaders):
2990         (WebCore::ResourceLoader::retrieveCharset):
2991         * platform/gdk/TransferJobCurl.cpp: Removed.
2992         * platform/gdk/TransferJobManager.cpp: Removed.
2993         * platform/gdk/TransferJobManager.h: Removed.
2994         * platform/mac/ResourceLoaderMac.mm: Added.
2995         (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
2996         (WebCore::ResourceLoader::~ResourceLoader):
2997         (WebCore::ResourceLoader::start):
2998         (WebCore::ResourceLoader::assembleResponseHeaders):
2999         (WebCore::ResourceLoader::retrieveCharset):
3000         (WebCore::ResourceLoader::setLoader):
3001         (WebCore::ResourceLoader::receivedResponse):
3002         (WebCore::ResourceLoader::cancel):
3003         * platform/mac/TransferJobMac.mm: Removed.
3004         * platform/win/ResourceLoaderWin.cpp: Added.
3005         (WebCore::addToOutstandingJobs):
3006         (WebCore::lookupResourceLoader):
3007         (WebCore::ResourceLoaderWndProc):
3008         (WebCore::initializeOffScreenResourceLoaderWindow):
3009         (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
3010         (WebCore::ResourceLoader::~ResourceLoader):
3011         (WebCore::ResourceLoader::start):
3012         (WebCore::ResourceLoader::fileLoadTimer):
3013         (WebCore::ResourceLoader::cancel):
3014         * platform/win/ResourceLoaderWin.h: Added.
3015         * platform/win/TemporaryLinkStubs.cpp:
3016         (WebCore::ServeSynchronousRequest):
3017         (WebCore::ResourceLoader::assembleResponseHeaders):
3018         (WebCore::ResourceLoader::retrieveCharset):
3019         * platform/win/TransferJobWin.cpp: Removed.
3020         * platform/win/TransferJobWin.h: Removed.
3021         * xml/XSLTProcessor.cpp:
3022         (WebCore::docLoaderFunc):
3023         * xml/xmlhttprequest.cpp:
3024         (WebCore::XMLHttpRequest::send):
3025         (WebCore::XMLHttpRequest::receivedAllData):
3026         (WebCore::XMLHttpRequest::receivedRedirect):
3027         (WebCore::XMLHttpRequest::receivedData):
3028         * xml/xmlhttprequest.h:
3029
3030 2006-07-31  Darin Adler  <darin@apple.com>
3031
3032         Reviewed by Hyatt.
3033
3034         - removed obsolete cell margin hack
3035
3036         * rendering/RenderBox.cpp: (WebCore::RenderBox::calcVerticalMargins):
3037         Set top and bottom margins to 0 for table cells instead of -16384.
3038         No effect on layout (including layout tests).
3039
3040         * css/CSSComputedStyleDeclaration.cpp:
3041         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3042         Added a few comments about differences between this class and the
3043         what the CSS specification says about computed style.
3044
3045 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
3046
3047         Reviewed by Maciej.
3048
3049         http://bugzilla.opendarwin.org/show_bug.cgi?id=9738
3050         Bug 9738: Unqualified :hover selector ignored in strict parsing mode
3051
3052         * css/cssstyleselector.cpp:
3053         (WebCore::CSSStyleSelector::checkSelector): Restrict the :hover and :active
3054         exclusion based on onlyHoverActive to quirks mode.
3055
3056 2006-07-31  David Hyatt  <hyatt@apple.com>
3057
3058         Fix for bug 10179, digg.com scrolls slowly.  Improve fixed positioning
3059         and fixed backgrounds so that a count of them is kept on the FrameView.
3060         This allows us to switch slow scrolling on and off as these objects come
3061         and go.
3062
3063         * css/cssstyleselector.cpp:
3064         (WebCore::CSSStyleSelector::adjustRenderStyle):
3065         (WebCore::CSSStyleSelector::applyProperty):
3066         * page/FrameView.cpp:
3067         (WebCore::FrameViewPrivate::reset):
3068         (WebCore::FrameView::layout):
3069         (WebCore::FrameView::useSlowRepaints):
3070         (WebCore::FrameView::setUseSlowRepaints):
3071         (WebCore::FrameView::addSlowRepaintObject):
3072         (WebCore::FrameView::removeSlowRepaintObject):
3073         * page/FrameView.h:
3074         * rendering/RenderBox.cpp:
3075         (WebCore::RenderBox::paintBackgroundExtended):
3076         * rendering/RenderObject.cpp:
3077         (WebCore::RenderObject::setStyle):
3078         * rendering/RenderView.cpp:
3079         (WebCore::RenderView::paintBoxDecorations):
3080
3081 2006-07-31  David Hyatt  <hyatt@apple.com>
3082
3083         Begin disentangling of scrollbar logic in preparation for engine-implemented
3084         scrollbars.  Split ScrollBar into two classes, an abstract base (still named
3085         ScrollBar) and a new PlatformScrollBar subclass.  This subclass is used only
3086         by platforms that want to continue to use a platform scrollbar (rather than
3087         the engine one).
3088
3089         Reviewed by darin
3090
3091         * WebCore.xcodeproj/project.pbxproj:
3092         * html/HTMLCanvasElement.h:
3093         * page/Frame.cpp:
3094         * platform/PlatformScrollBar.h: Added.
3095         (WebCore::PlatformScrollBar::isWidget):
3096         * platform/ScrollBar.h:
3097         (WebCore::ScrollBarClient::~ScrollBarClient):
3098         (WebCore::ScrollBar::~ScrollBar):
3099         (WebCore::ScrollBar::orientation):
3100         (WebCore::ScrollBar::value):
3101         (WebCore::ScrollBar::client):
3102         * platform/mac/PlatformScrollBarMac.mm: Added.
3103         (-[WebCoreScrollBar initWithPlatformScrollBar:]):
3104         (-[WebCoreScrollBar detachPlatformScrollBar]):
3105         (-[WebCoreScrollBar scroll:]):
3106         (-[WebCoreScrollBar widget]):
3107         (-[WebCoreScrollBar mouseDown:]):
3108         (WebCore::PlatformScrollBar::PlatformScrollBar):
3109         (WebCore::PlatformScrollBar::~PlatformScrollBar):
3110         (WebCore::PlatformScrollBar::setScrollBarValue):
3111         (WebCore::PlatformScrollBar::setKnobProportion):
3112         (WebCore::PlatformScrollBar::scrollbarHit):
3113         (WebCore::PlatformScrollBar::width):
3114         (WebCore::PlatformScrollBar::height):
3115         (WebCore::PlatformScrollBar::setRect):
3116         (WebCore::PlatformScrollBar::setEnabled):
3117         (WebCore::PlatformScrollBar::paint):
3118         * platform/mac/ScrollBarMac.mm: Removed.
3119         * platform/mac/WebCoreTextArea.mm:
3120         * rendering/RenderBlock.cpp:
3121         (WebCore::RenderBlock::isPointInScrollbar):
3122         * rendering/RenderFormElement.cpp:
3123         * rendering/RenderLayer.cpp:
3124         (WebCore::RenderLayer::horizontalScrollbarWidget):
3125         (WebCore::RenderLayer::verticalScrollbarWidget):
3126         (WebCore::RenderLayer::valueChanged):
3127         (WebCore::RenderLayer::setHasHorizontalScrollbar):
3128         (WebCore::RenderLayer::setHasVerticalScrollbar):
3129         (WebCore::RenderLayer::positionScrollbars):
3130         * rendering/RenderLayer.h:
3131         * rendering/RenderWidget.h:
3132
3133 2006-07-31  Adele Peterson  <adele@apple.com>
3134
3135         Reviewed by John and Anders.
3136
3137         - Fix for <rdar://problem/4380576> onChange does not get called when field changed by return key
3138
3139         Test: fast/forms/onchange-enter-submit.html
3140
3141         Blur (which will fire onChange appropriately) before submitting a form when pressing Enter.
3142         This matches the sequence of events fired in WinIE.
3143
3144         * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler):
3145         * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::defaultEventHandler):
3146
3147 2006-07-31  Geoffrey Garen  <ggaren@apple.com>
3148
3149         Reviewed by Kevin.
3150
3151         Moved string debug function outside of the WebCore namespace so that it's
3152         easier to call in the debugger. I will never doubt Darin again (x100).
3153
3154         * platform/String.cpp:
3155         (string):
3156
3157 2006-07-31  David Hyatt  <hyatt@apple.com>
3158
3159         Partial fix for 5453.  Improve overflow so that when it changes
3160         dynamically from scroll/auto to hidden that we properly hide the
3161         scrollbars.  Also refine the dirty dashboard region updating so that
3162         it only happens if the scrollbars genuinely come and go.
3163
3164         Also eliminate the extra repaint of the entire block.  This should not be
3165         necessary, since the scrollbars repaint themselves already and children
3166         will repaint already if they move.
3167
3168         Reviewed by darin
3169
3170         Adding test case from bug into fast/overflow/dynamic-hidden.html
3171
3172         * rendering/RenderLayer.cpp:
3173         (WebCore::RenderLayer::setHasHorizontalScrollbar):
3174         (WebCore::RenderLayer::setHasVerticalScrollbar):
3175         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
3176
3177 2006-07-31  Graham Dennis  <graham.dennis@gmail.com>
3178
3179         Reviewed by justin
3180         
3181         <http://bugzilla.opendarwin.org/show_bug.cgi?id=9507>
3182         Empty style spans created in applyInlineStyle
3183         
3184         Improves paste fidelity because some of these empty font/style spans had a non-zero
3185         size and were messing up the layout of pasted content:
3186         <rdar://problem/4515463>
3187         REGRESSION: Blot and Mail both do a very poor job of pasting the main www.apple.com page   
3188
3189         * editing/ApplyStyleCommand.cpp:
3190         (WebCore::ApplyStyleCommand::applyInlineStyle): Use the adjusted start node instead 
3191         of start.node().  Don't do any application if the endpoints are swapped.  Adjust
3192         endNode if the start node is a descendant of it, so that the pre-order traversal will
3193         terminate properly.
3194
3195 2006-07-31  Geoffrey Garen  <ggaren@apple.com>
3196
3197         Reviewed by Darin.
3198
3199         * platform/String.cpp:
3200         (WebCore::string): Added a debugging function to create a String from a
3201         const char*.
3202
3203 2006-07-31  Anders Carlsson  <acarlsson@apple.com>
3204
3205         * css/CSSPrimitiveValue.cpp:
3206         Fix windows build.
3207
3208 2006-07-31  Geoffrey Garen  <ggaren@apple.com>
3209
3210         Reinstating my last change. Everything builds now.
3211         
3212 2006-07-31  Geoffrey Garen  <ggaren@apple.com>
3213
3214         Backing out my last change because it causes a build failure in some
3215         configurations. This seems to be the cleanest way to get svn to cooperate.
3216
3217 2006-07-31  Geoffrey Garen  <ggaren@apple.com>
3218
3219         Reviewed by Maciej.
3220
3221         Moved files around to make WebCore's structure clearer
3222         and easier to explain.
3223
3224         DerivedSources/JS* -> bindings/js/DerivedSources/ (so JS* files
3225         show up when you search inside bindings/js/, but are marked, at
3226         the same time, as files that you should not edit manually)
3227
3228         WebCore+SVG/DOMList.h -> ksvg2/svg/ (only files inside ksvg2/svg/
3229         use DOMList.h)
3230
3231         icon -> loader/icon
3232
3233         I tested that everything still builds.
3234
3235 2006-07-30  Darin Adler  <darin@apple.com>
3236
3237         Reviewed by Tim Hatcher.
3238
3239         - some improvements for the benefit of the style pane of the inspector
3240
3241         * css/CSSComputedStyleDeclaration.cpp: Removed background-position
3242         and border-spacing from the list of properties that show up in
3243         computed style, because of background-position-x, background-position-y,
3244         -webkit-border-horizontal-spacing and -webkit-border-vertical-spacing.
3245         (WebCore::valueForLength): Added handling for undefinedLength, intrinsic,
3246         and min-intrinsic.
3247         (WebCore::primitiveValueFromLength): Removed code that would add a
3248         space to the string for no good reason.
3249         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added a
3250         special case for a line clamp of -1, which should come back as "none"
3251         rather than an actual "-1".
3252         (WebCore::CSSComputedStyleDeclaration::length): Return 0 if the
3253         declaration has no corresponding node or no renderer.
3254         (WebCore::CSSComputedStyleDeclaration::item): Check against length()
3255         so that the two stay consistent rather than using a constant.
3256
3257         * css/CSSPrimitiveValue.cpp:
3258         (WebCore::isCSSTokenizerIdentifier): Added.
3259         (WebCore::isCSSTokenizerURL): Added.
3260         (WebCore::quoteString): Added.
3261         (WebCore::quoteStringIfNeeded): Changed to quote strings in many more
3262         cases -- any cases where they would not parse in the CSS parser otherwise.
3263         The main case this affects is font names with spaces in them.
3264         (WebCore::quoteURLIfNeeded): Added.
3265         (WebCore::CSSPrimitiveValue::cssText): Use quoteURLIfNeeded in the case
3266         where we're making the text form of a URI.
3267
3268         * css/tokenizer.flex: Whitespace tweaks to line things up better.
3269
3270 2006-07-30  Eric Seidel  <eric@eseidel.com>
3271
3272         Reviewed by gramps!
3273
3274         Remove some unused SVG code.
3275
3276         * ksvg2/ecma/Ecma.cpp: Removed.
3277         * ksvg2/ecma/Ecma.h: Removed.
3278         * ksvg2/ecma/GlobalObject.cpp: remove a couple dead functions.
3279         * ksvg2/ecma/GlobalObject.h: add a comment about this dead code.
3280         * ksvg2/ecma/SVGLookup.h: Removed.
3281
3282 2006-07-29  Darin Adler  <darin@apple.com>
3283
3284         - Removed tabs from these source files that still had them.
3285           We don't use them; that way source files look fine in editors
3286           that have tabs set to 8 spaces or to 4 spaces.
3287         - Removed allow-tabs Subversion property from the files too.
3288
3289         * bindings/objc/WebScriptObject.h:
3290         * bindings/objc/WebScriptObject.mm:
3291         * platform/FontData.cpp:
3292
3293 2006-07-29  Sam Weinig  <sam.weinig@gmail.com>
3294
3295         Reviewed by Darin.
3296
3297         - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10080
3298           Adopt pedantic changes from the Unity project to improve 
3299           cross-compiler compatibility
3300
3301           Changes include:
3302           * Removing trailing semicolon from namespace braces.
3303           * Removing trailing comma from last enum declaration.
3304           * Updating to match style guidelines.
3305           * Adding missing newline to the end of the file.
3306           * Turning on gcc warning for missing newline at the end of a source file
3307             (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
3308           * Alphabetical sorting of Xcode source list files.
3309           * Use abs() function from <math.h> instead of ABS() macro.
3310           * Use C-style comments instead of C++ comments in files that might
3311             be included by either C or C++ files.
3312           * Use -numeric_limits<double>::infinity() instead of -HUGE_VAL.
3313
3314         * WebCore+SVG/DOMList.h:
3315         * WebCore.xcodeproj/project.pbxproj:
3316         * WebCorePrefix.h:
3317         * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
3318         * bindings/js/JSXSLTProcessor.h:
3319         * bindings/js/kjs_domnode.h:
3320         (KJS::DOMNode::):
3321         * bindings/objc/DOMCSS.h:
3322         (-[DOMCSSValue enum]):
3323         * bindings/objc/DOMCore.h:
3324         (-[DOMImplementation createDocument:::]):
3325         * bindings/objc/DOMEvents.h:
3326         (-[DOMOverflowEvent enum]):
3327         * bindings/objc/DOMRange.h:
3328         * bindings/objc/DOMTraversal.h:
3329         * bindings/objc/DOMXPath.h:
3330         (-[DOMXPathNSResolver lookupNamespaceURI:]):
3331         * bridge/mac/WebCoreFrameBridge.h:
3332         * bridge/mac/WebCoreKeyboardAccess.h:
3333         * css/makeprop:
3334         * css/makevalues:
3335         * dom/ChildNodeList.h:
3336         * dom/DocPtr.h:
3337         * dom/Document.h:
3338         (WebCore::Document::):
3339         * dom/DocumentMarker.h:
3340         (WebCore::DocumentMarker::):
3341         (WebCore::DocumentMarker::operator==):
3342         (WebCore::DocumentMarker::operator!=):
3343         * dom/EventTargetNode.h:
3344         * dom/KeyboardEvent.h:
3345         (WebCore::KeyboardEvent::):
3346         * dom/NameNodeList.h:
3347         (WebCore::NameNodeList::rootNodeChildrenChanged):
3348         * dom/QualifiedName.cpp:
3349         * editing/TypingCommand.h:
3350         (WebCore::TypingCommand::):
3351         * editing/UnlinkCommand.h:
3352         (WebCore::UnlinkCommand::editingAction):
3353         * html/FormDataList.h:
3354         (WebCore::FormDataListItem::FormDataListItem):
3355         (WebCore::FormDataList::appendData):
3356         * html/HTMLBlockquoteElement.h:
3357         * html/HTMLDivElement.h:
3358         * html/HTMLFormElement.h:
3359         * html/HTMLHRElement.h:
3360         * html/HTMLHeadingElement.h:
3361         * html/HTMLMarqueeElement.h:
3362         * html/HTMLParagraphElement.h:
3363         * html/HTMLPlugInElement.h:
3364         * html/HTMLPreElement.h:
3365         * html/HTMLTokenizer.h:
3366         (WebCore::HTMLTokenizer::State::):
3367         * icon/IconDatabase.cpp:
3368         * icon/SQLStatement.cpp:
3369         * kcanvas/KCanvasFilters.h:
3370         (WebCore::):
3371         (WebCore::KCanvasPoint3F::KCanvasPoint3F):
3372         (WebCore::KCanvasFilter::KCanvasFilter):
3373         (WebCore::KCanvasFilter::~KCanvasFilter):
3374         (WebCore::KCanvasFilterEffect::~KCanvasFilterEffect):
3375         (WebCore::KCComponentTransferFunction::KCComponentTransferFunction):
3376         (WebCore::KCanvasFEConvolveMatrix::KCanvasFEConvolveMatrix):
3377         (WebCore::KCLightSource::KCLightSource):
3378         (WebCore::KCDistantLightSource::KCDistantLightSource):
3379         (WebCore::KCPointLightSource::KCPointLightSource):
3380         (WebCore::KCSpotLightSource::KCSpotLightSource):
3381         (WebCore::KCanvasFEDiffuseLighting::KCanvasFEDiffuseLighting):
3382         (WebCore::KCanvasFEDisplacementMap::KCanvasFEDisplacementMap):
3383         (WebCore::KCanvasFEImage::KCanvasFEImage):
3384         (WebCore::KCanvasFESpecularLighting::KCanvasFESpecularLighting):
3385         * kcanvas/RenderSVGImage.h:
3386         * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
3387         * ksvg2/css/SVGRenderStyle.h:
3388         (WebCore::SVGRenderStyle::InheritedFlags::):
3389         (WebCore::SVGRenderStyle::NonInheritedFlags::):
3390         * ksvg2/css/SVGRenderStyleDefs.h:
3391         (WebCore::):
3392         * ksvg2/events/SVGZoomEvent.h:
3393         * ksvg2/ksvg.h:
3394         (WebCore::):
3395         * ksvg2/misc/KCanvasRenderingStyle.h:
3396         * ksvg2/misc/SVGImageLoader.h:
3397         * ksvg2/scripts/make_names.pl:
3398         * ksvg2/svg/SVGAElement.h:
3399         * ksvg2/svg/SVGAngle.h:
3400         * ksvg2/svg/SVGAnimateColorElement.h:
3401         * ksvg2/svg/SVGAnimateElement.h:
3402         * ksvg2/svg/SVGAnimateTransformElement.h:
3403         * ksvg2/svg/SVGAnimatedAngle.h:
3404         * ksvg2/svg/SVGAnimatedBoolean.h:
3405         * ksvg2/svg/SVGAnimatedColor.h:
3406         * ksvg2/svg/SVGAnimatedEnumeration.h:
3407         * ksvg2/svg/SVGAnimatedInteger.h:
3408         * ksvg2/svg/SVGAnimatedLength.h:
3409         * ksvg2/svg/SVGAnimatedLengthList.h:
3410         * ksvg2/svg/SVGAnimatedNumber.h:
3411         * ksvg2/svg/SVGAnimatedNumberList.h:
3412         * ksvg2/svg/SVGAnimatedPathData.h:
3413         * ksvg2/svg/SVGAnimatedPoints.h:
3414         * ksvg2/svg/SVGAnimatedPreserveAspectRatio.h:
3415         * ksvg2/svg/SVGAnimatedRect.h:
3416         * ksvg2/svg/SVGAnimatedString.h:
3417         * ksvg2/svg/SVGAnimatedTemplate.h:
3418         * ksvg2/svg/SVGAnimatedTransformList.h:
3419         * ksvg2/svg/SVGAnimationElement.cpp:
3420         (SVGAnimationElement::calculateCurrentValueItem):
3421         (SVGAnimationElement::calculateRelativeTimePercentage):
3422         * ksvg2/svg/SVGAnimationElement.h:
3423         (WebCore::):
3424         * ksvg2/svg/SVGCircleElement.h:
3425         * ksvg2/svg/SVGClipPathElement.h:
3426         * ksvg2/svg/SVGColor.h:
3427         * ksvg2/svg/SVGComponentTransferFunctionElement.h:
3428         * ksvg2/svg/SVGCursorElement.h:
3429         * ksvg2/svg/SVGDOMImplementation.h:
3430         * ksvg2/svg/SVGDefsElement.h:
3431         * ksvg2/svg/SVGDescElement.h:
3432         * ksvg2/svg/SVGDocument.h:
3433         * ksvg2/svg/SVGElement.h:
3434         (WebCore::SVGElement::rendererIsNeeded):
3435         (WebCore::svg_dynamic_cast):
3436         * ksvg2/svg/SVGElementInstance.h:
3437         * ksvg2/svg/SVGElementInstanceList.h:
3438         * ksvg2/svg/SVGEllipseElement.h:
3439         * ksvg2/svg/SVGExternalResourcesRequired.h:
3440         * ksvg2/svg/SVGFEBlendElement.h:
3441         * ksvg2/svg/SVGFEColorMatrixElement.h:
3442         * ksvg2/svg/SVGFEComponentTransferElement.h:
3443         * ksvg2/svg/SVGFECompositeElement.h:
3444         * ksvg2/svg/SVGFEDiffuseLightingElement.h:
3445         * ksvg2/svg/SVGFEDisplacementMapElement.h:
3446         * ksvg2/svg/SVGFEDistantLightElement.h:
3447         * ksvg2/svg/SVGFEFloodElement.h:
3448         * ksvg2/svg/SVGFEFuncAElement.h:
3449         * ksvg2/svg/SVGFEFuncBElement.h:
3450         * ksvg2/svg/SVGFEFuncGElement.h:
3451         * ksvg2/svg/SVGFEFuncRElement.h:
3452         * ksvg2/svg/SVGFEGaussianBlurElement.h:
3453         * ksvg2/svg/SVGFEImageElement.h:
3454         * ksvg2/svg/SVGFELightElement.h:
3455         * ksvg2/svg/SVGFEMergeElement.h:
3456         * ksvg2/svg/SVGFEMergeNodeElement.h:
3457         * ksvg2/svg/SVGFEOffsetElement.h:
3458         * ksvg2/svg/SVGFEPointLightElement.h:
3459         * ksvg2/svg/SVGFESpecularLightingElement.h:
3460         * ksvg2/svg/SVGFESpotLightElement.h:
3461         * ksvg2/svg/SVGFETileElement.h:
3462         * ksvg2/svg/SVGFETurbulenceElement.h:
3463         * ksvg2/svg/SVGFilterElement.h:
3464         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
3465         * ksvg2/svg/SVGFitToViewBox.h:
3466         * ksvg2/svg/SVGForeignObjectElement.cpp:
3467         * ksvg2/svg/SVGForeignObjectElement.h:
3468         * ksvg2/svg/SVGGElement.h:
3469         * ksvg2/svg/SVGGradientElement.h:
3470         * ksvg2/svg/SVGHelper.h:
3471         (WebCore::):
3472         * ksvg2/svg/SVGImageElement.h:
3473         * ksvg2/svg/SVGLangSpace.h:
3474         * ksvg2/svg/SVGLength.h:
3475         * ksvg2/svg/SVGLengthList.h:
3476         * ksvg2/svg/SVGLineElement.h:
3477         * ksvg2/svg/SVGLinearGradientElement.h:
3478         * ksvg2/svg/SVGList.h:
3479         * ksvg2/svg/SVGLocatable.h:
3480         * ksvg2/svg/SVGMarkerElement.h:
3481         * ksvg2/svg/SVGMaskElement.h:
3482         * ksvg2/svg/SVGMatrix.h:
3483         * ksvg2/svg/SVGNumber.h:
3484         * ksvg2/svg/SVGNumberList.h:
3485         * ksvg2/svg/SVGPaint.h:
3486         * ksvg2/svg/SVGPathElement.h:
3487         * ksvg2/svg/SVGPathSeg.h:
3488         * ksvg2/svg/SVGPathSegArc.h:
3489         * ksvg2/svg/SVGPathSegClosePath.h:
3490         * ksvg2/svg/SVGPathSegCurvetoCubic.h:
3491         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
3492         * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
3493         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
3494         * ksvg2/svg/SVGPathSegLineto.h:
3495         * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
3496         * ksvg2/svg/SVGPathSegLinetoVertical.h:
3497         * ksvg2/svg/SVGPathSegList.h:
3498         * ksvg2/svg/SVGPathSegMoveto.h:
3499         * ksvg2/svg/SVGPatternElement.h:
3500         * ksvg2/svg/SVGPoint.h:
3501         * ksvg2/svg/SVGPointList.h:
3502         * ksvg2/svg/SVGPolyElement.h:
3503         * ksvg2/svg/SVGPolygonElement.h:
3504         * ksvg2/svg/SVGPolylineElement.h:
3505         * ksvg2/svg/SVGPreserveAspectRatio.h:
3506         * ksvg2/svg/SVGRadialGradientElement.h:
3507         * ksvg2/svg/SVGRect.h:
3508         * ksvg2/svg/SVGRectElement.h:
3509         * ksvg2/svg/SVGSVGElement.h:
3510         * ksvg2/svg/SVGScriptElement.h:
3511         * ksvg2/svg/SVGSetElement.h:
3512         * ksvg2/svg/SVGStopElement.h:
3513         * ksvg2/svg/SVGStringList.h:
3514         * ksvg2/svg/SVGStylable.h:
3515         * ksvg2/svg/SVGStyleElement.h:
3516         * ksvg2/svg/SVGStyledElement.h:
3517         (WebCore::SVGStyledElement::rendererIsNeeded):
3518         (WebCore::SVGStyledElement::canvasResource):
3519         * ksvg2/svg/SVGStyledLocatableElement.h:
3520         * ksvg2/svg/SVGStyledTransformableElement.h:
3521         * ksvg2/svg/SVGSwitchElement.h:
3522         * ksvg2/svg/SVGSymbolElement.h:
3523         * ksvg2/svg/SVGTRefElement.h:
3524         * ksvg2/svg/SVGTSpanElement.h:
3525         * ksvg2/svg/SVGTests.h:
3526         * ksvg2/svg/SVGTextContentElement.h:
3527         * ksvg2/svg/SVGTextElement.h:
3528         * ksvg2/svg/SVGTextPositioningElement.h:
3529         * ksvg2/svg/SVGTitleElement.h:
3530         * ksvg2/svg/SVGTransform.h:
3531         * ksvg2/svg/SVGTransformList.h:
3532         * ksvg2/svg/SVGTransformable.h:
3533         * ksvg2/svg/SVGURIReference.h:
3534         * ksvg2/svg/SVGUseElement.h:
3535         * ksvg2/svg/SVGViewElement.h:
3536         * ksvg2/svg/SVGZoomAndPan.h:
3537         * ksvg2/svg/svgpathparser.h:
3538         * page/Frame.h:
3539         (WebCore::):
3540         * platform/AffineTransform.h:
3541         * platform/FontCache.cpp:
3542         (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
3543         * platform/FontData.cpp:
3544         (WebCore::FontData::FontData):
3545         * platform/FontData.h:
3546         * platform/TextBox.h:
3547         (WebCore::TextBox::):
3548         * platform/Timer.cpp:
3549         (WebCore::TimerBase::heapPop):
3550         * platform/mac/FontCacheMac.mm:
3551         * platform/mac/GlyphMapMac.cpp:
3552         * platform/mac/WebFontCache.mm:
3553         (betterChoice):