JavaScriptCore:
[WebKit-https.git] / WebCore / ChangeLog
1 2007-10-02  Darin Adler  <darin@apple.com>
2
3         Reviewed by Adam.
4
5         - add support for GDI objects to OwnPtr; I plan to use this
6           to fix some GDI handle leaks
7
8         * css/CSSGrammar.y: Change parser to avoid macro that conflicts
9         with macro defined in Windows system headers: FLOAT. This is needed
10         because OwnPtr.h will now include <windows.h>.
11         * css/CSSParser.cpp: (WebCore::CSSParser::lex): Ditto.
12         * css/tokenizer.flex: Ditto.
13
14         * platform/win/CursorWin.cpp: (WebCore::Cursor::Cursor):
15         Use OwnPtr for a few HBITMAP objects as a test case.
16
17         * platform/win/COMPtr.h: (COMPtr::COMPtr): Fix so that we can use
18         Query with other COMPtr. Before this would not compile if it was
19         ever instantiated.
20
21 2007-10-02  Steve Falkenburg  <sfalken@apple.com>
22
23         Reviewed by Adam, Ada.
24
25         Fix leak of GDI handle when we call MLANG.
26
27         * platform/win/FontCacheWin.cpp:
28         (WebCore::FontCache::getFontDataForCharacters):
29
30 2007-10-02  Lars Knoll  <lars@trolltech.com>
31
32         Reviewed by Olliej.
33
34         The cookies() method should only return the value of the
35         cookie, not additional info such as the expiration date.
36
37         * platform/qt/CookieJarQt.cpp:
38         (WebCore::cookies):
39
40 2007-10-01  Lars Knoll  <lars@trolltech.com>
41
42         Reviewed by Eric.
43
44         Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
45
46         * platform/qt/MIMETypeRegistryQt.cpp:
47         (WebCore::):
48
49 2007-10-01  Justin Garcia  <justin.garcia@apple.com>
50
51         Reviewed by Harrison.
52
53         <rdar://problem/5516183> REGRESSION: Creating a ToDo on an incoming message fails
54         
55         Rolling out r25721.
56
57         * editing/ReplaceSelectionCommand.cpp:
58         (WebCore::ReplaceSelectionCommand::doApply):
59         * editing/ReplaceSelectionCommand.h:
60
61 2007-10-01  Beth Dakin  <bdakin@apple.com>
62
63         Reviewed by Adam.
64
65         Fix for <rdar://problem/5515426> NetNewsWire 3 crashes at launch in 
66         WebCore::FrameView::layout (other repro scenarios too)
67
68         The new call to updateWidget() that we added to FrameView::layout() 
69         can destroy the RenderPartObject. And so we were crashing on the 
70         subsequent call to updateWidgetPosition(). This patch fixes that by 
71         checking to make sure the RenderPartObject is still in the HashSet 
72         after updateWidget(). Because m_widgetUpdateSet can be modified 
73         during the call to updateWidget(), we need it to be intact while we 
74         are iterating through the copy, so we cannot use the HashSet::swap 
75         call we were using before. This patch instead uses a Vector to 
76         iterate through the HashSet data and calls clear() on the HashSet 
77         at the end.
78
79         * page/FrameView.cpp:
80         (WebCore::FrameView::layout):
81
82 2007-10-01  Eli Fidler  <eli@staikos.net>
83
84         Reviewed by George Staikos.
85
86         Switch bogus assert to a conditional and return.  This case happens
87         when a widget is hidden.
88
89         * platform/qt/WidgetQt.cpp:
90         (WebCore::Widget::invalidateRect):
91
92 2007-09-30  Darin Adler  <darin@apple.com>
93
94         Reviewed by Maciej.
95
96         - tone down the assertion I asked Harrison to include in his fix for
97           <rdar://problem/5511128>; it's OK to re-ref and deref the document
98           as long as you do so after the children are done being destroyed
99
100         No effect on release builds. Assertion change only.
101
102         Besides the changes listed below, renamed m_hasDeleted flag to
103         m_deletionHasBegun.
104
105         * dom/ContainerNode.cpp: (WebCore::ContainerNode::removeAllChildren):
106         Added code to set the m_deletionHasBegun flag and some assertions
107         that test its state.
108
109         * dom/Document.h: Removed m_hasDeleted -- we now use m_deletionHasBegun
110         in the base class TreeShared.
111         * dom/Document.cpp:
112         (WebCore::Document::Document): Removed initialization of m_hasDeleted.
113         (WebCore::Document::removedLastRef): Added code to clear
114         m_inRemovedLastRefFunction if we end up deciding not to delete this.
115
116         * platform/Shared.h:
117         (WebCore::TreeShared::TreeShared): Added m_deletionHasBegun in addition to
118         m_inRemovedLastRefFunction (formerly named m_hasRemovedLastRef).
119         (WebCore::TreeShared::~TreeShared): Assert that m_deletionHasBegun is true.
120         (WebCore::TreeShared::ref): Assert neither flag is true.
121         (WebCore::TreeShared::deref): Ditto.
122         (WebCore::TreeShared::hasOneRef): Ditto.
123         (WebCore::TreeShared::removedLastRef): Made private. Added code to
124         set m_hasDeleted to true. Also removed cast; since this class template
125         has a virtual destructor, we don't need to cast before calling delete.
126
127 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
128
129         Reviewed by Mark.
130
131         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
132         Remove Bakefiles from svn.
133
134         * Projects/gdk/webcore-gdk.bkl: Removed.
135         * Projects/wx/webcore-wx.bkl: Removed.
136         * WebCoreSources.bkl: Removed.
137         * webcore-base.bkl: Removed.
138
139 2007-09-28  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
140
141         Reviewed by Mark.
142
143         -Fix http://bugs.webkit.org/show_bug.cgi?id=15254.
144
145         * platform/gtk/RenderThemeGtk.cpp:
146         (WebCore::RenderThemeGtk::determineState):
147             - Apply state if control is readonly
148             - Added state GTK_STATE_SELECTED of object is checked
149             - Apply GTK_STATE_ACTIVE if RenderObject isFocused()
150         (WebCore::RenderThemeGtk::paintTextField):
151         (WebCore::RenderThemeGtk::gtkEntry):
152             - Implemented theme-aware text field based on gtk/gtkentry.c implementation
153
154 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
155
156         Reviewed by Eric.
157
158         Build fix for Mac Gtk+ and Qt builds. In revision 25798 changing
159         XSLTProcessor.cpp was forgotten.
160
161         * xml/XSLTProcessor.cpp: Use PLATFORM(MAC) instead of PLATFORM(DARWIN)
162
163 2007-09-29  Adam Roben  <aroben@apple.com>
164
165         Fix <rdar://4965715> Horizontal scrollwheel scrolling moves in opposite direction on Vista
166
167         Reviewed by Sam.
168
169         No regression test possible.
170
171         * platform/win/WheelEventWin.cpp:
172         (WebCore::PlatformWheelEvent::PlatformWheelEvent): Use a negative
173         delta when scrolling right to match EventHandler's expectations (which
174         are based on AppKit).
175
176 2007-09-28  Kevin Decker  <kdecker@apple.com>
177
178         Reviewed by Mark Rowe
179
180         Build fix for Mac Gtk+ and Qt builds.
181         
182         * xml/XSLStyleSheet.cpp: Use PLATFORM(MAC) instead of PLATFORM(DARWIN)
183         * xml/XSLTExtensions.cpp: Ditto.
184
185 2007-09-28  David Harrison  <harrison@apple.com>
186
187         Reviewed by Darin Adler.
188
189         <rdar://problem/5511128> Crash closing or reloading this SVG
190
191         * dom/ContainerNode.cpp:
192         (WebCore::dispatchChildInsertionEvents):
193         (WebCore::dispatchChildRemovalEvents):
194         Use DocPtr instead of RefPtr, since these events are dispatched
195         when the Document is being being torn down by removedLastRef().
196
197         * dom/DocPtr.h:
198         (WebCore::DocPtr::DocPtr):
199         Fix longstanding typo in template so that the DocPtr(DocPtr) constructor can be used.
200
201         * dom/Document.cpp:
202         (WebCore::Document::Document):
203         (WebCore::Document::removedLastRef):
204         * dom/Document.h:
205         (WebCore::Document::selfOnlyRef):
206         (WebCore::Document::selfOnlyDeref):
207         * platform/Shared.h:
208         (WebCore::Shared::Shared):
209         (WebCore::Shared::ref):
210         (WebCore::Shared::deref):
211         (WebCore::Shared::hasOneRef):
212         (WebCore::TreeShared::TreeShared):
213         (WebCore::TreeShared::ref):
214         (WebCore::TreeShared::deref):
215         (WebCore::TreeShared::hasOneRef):
216         (WebCore::TreeShared::refCount):
217         Add debug-only checks for a document being ref-counted while being deleted.
218
219 2007-09-27  Kevin McCullough  <kmccullough@apple.com>
220
221         Reviewed by Darin.
222
223         - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
224
225         Function for use by WebKit. Currently used only on Windows.
226
227         * platform/network/ResourceResponse.cpp:
228         (WebCore::ResourceResponse::isAttachment):
229         * platform/network/ResourceResponse.h:
230
231 2007-09-27  Mitz Pettel  <mitz@webkit.org>
232
233         Reviewed by Dave Hyatt.
234
235         - fix http://bugs.webkit.org/show_bug.cgi?id=15262
236           REGRESSION: Margin-top:18px is pushing down the multiple select list box outside the div.
237
238         Reflected in existing tests.
239
240         * css/html4.css: Changed listboxes to use border-box sizing, to match Firefox,
241         WinIE and apparently also Safari 2.
242
243 2007-09-27  Kevin Decker  <kdecker@apple.com>
244
245         <rdar://problem/5493093>
246     
247         Rubber stamped by John Sullivan.
248         
249         * WebCore.order: Added.
250         * WebCore.xcodeproj/project.pbxproj:  We're changing from using an order file built by another team to using one
251          we actually check into our project repository. Linker settings for Symbol Ordering Flags have been updated
252          accordingly.
253          
254 2007-09-27  Antti Koivisto  <antti@apple.com>
255
256         Reviewed by Geoff.
257         
258         Fix for <rdar://problem/5499125>
259         REGRESSION (r21367): After launching Kidzui beta, a webview frame fails to appear in its main window
260         
261         If window object properties were modified when it had initial empty document (synchronously after 
262         window.open() for example) those modifications were lost when the real document was switched in.
263         
264         Match Firefox behavior where window properties are not cleared if the inital document and the loaded one
265         have matching security domains.
266
267         Tests: fast/dom/Window/window-early-properties.html
268                http/tests/security/window-properties-clear-domain.html
269                http/tests/security/window-properties-clear-port.html
270                http/tests/security/window-properties-pass.html
271
272         * WebCore.exp:
273         * loader/FrameLoader.cpp:
274         (WebCore::FrameLoader::FrameLoader):
275         (WebCore::FrameLoader::init):
276         (WebCore::FrameLoader::clear):
277         (WebCore::FrameLoader::isSecureTransition):
278         (WebCore::FrameLoader::begin):
279         * loader/FrameLoader.h:
280         If we are transitioning from initial empty document to the final one, do a domain security check
281         between old security policy URL and new URL. If that passes don't clear script proxy and script objects.
282         
283         * bindings/js/kjs_proxy.cpp:
284         (WebCore::KJSProxy::updateDocumentWrapper):
285         * bindings/js/kjs_proxy.h:
286         * page/Frame.cpp:
287         (WebCore::Frame::setDocument):
288         Since we don't always clear window properties anymore, we need to update the document property to point to
289         the newly created one. 
290         
291 2007-09-27  Kevin Decker  <kdecker@apple.com>
292
293         Reviewed by Darin.
294
295         <rdar://problem/5493093>
296         
297         * WebCore.xcodeproj/project.pbxproj: Removed libxslt from statically linked frameworks.
298         * platform/mac/SoftLinking.h: Formatting tweakes, added SOFT_LINK_LIBRARY, and if'def for 
299         PLATFORM(DARWIN)
300         * xml/XSLStyleSheet.cpp: Soft-linked libxslt.
301         * xml/XSLTExtensions.cpp: Removed the call to xsltGenericError, and added a FIXME comment stating
302         that it might be helpful to push any errors from xmlXPathNewValueTree up to the Javascript Console. 
303         * xml/XSLTProcessor.cpp: Soft-linked libxslt.
304         
305 2007-09-27  Adele Peterson  <adele@apple.com>
306
307         Reviewed by Brady.
308
309         Fix for <rdar://problem/5453350> REGRESSION (r18541, Tiger only): Refreshing a cached https page does not reload CSS and JavaScript resources
310         http://bugs.webkit.org/show_bug.cgi?id=15121
311
312         * loader/FrameLoader.cpp: (WebCore::FrameLoader::addExtraFieldsToRequest): Now sets the cache policy to ReloadIgnoringCacheData.  Without setting the cache policy,
313         the default policy in this case was ReturnCacheDataElseLoad.  If we're in a situation where the resource is in the cache, we want to make sure to avoid loading from the cache in this case.
314
315 2007-09-27  Timothy Hatcher  <timothy@apple.com>
316
317         Reviewed by Darin.
318
319         <rdar://problem/5199546> CrashTracer: [REGRESSION] 8216 crashes in Safari at com.apple.WebCore: WebCore::ResourceHandle::client const + 6
320
321         On Tiger NSURLConnection can sometimes call the connection:willCacheResponse: delegate method on
322         a secondary thread instead of the main thread. This was never an issue before, since the implementation 
323         of this method was very simple and thread safe.
324
325         The fix is to block during connection:willCacheResponse: and perform the work on the main thread.
326         We need to block since this delegate method needs to return a result. If we are already on the
327         main thread (which sometimes we are), the method does nothing different. If we are on a secondary
328         thread, we make a mutable dictionary to hold all the arguments and later the result object.
329         Then performSelectorOnMainThread:withObject: using the _callConnectionWillCacheResponseWithInfo:
330         selector. This new method just pulls the arguments out for the dictionary and calls the real
331         connection:willCacheResponse: delegate method (this time on the main thread). The result is stored
332         in the dictionary, and when performSelectorOnMainThread:withObject: finishes the result is pulled
333         out and returned.
334
335         * platform/network/mac/ResourceHandleMac.mm:
336         (-[WebCoreResourceHandleAsDelegate _callConnectionWillCacheResponseWithInfo:]):
337         (-[WebCoreResourceHandleAsDelegate connection:willCacheResponse:]):
338
339 2007-09-27  David Hyatt  <hyatt@apple.com>
340
341         Update to reflect the minimal WebKitSystemInterface changes required
342         to support @font-face.
343
344         Reviewed by john
345
346         * platform/mac/FontDataMac.mm:
347         (WebCore::FontData::platformInit):
348         (WebCore::FontData::platformWidthForGlyph):
349         * platform/mac/WebCoreSystemInterface.h:
350         * platform/mac/WebCoreSystemInterface.mm:
351
352 2007-09-26  Darin Adler  <darin@apple.com>
353
354         - fix Windows build
355
356         * platform/win/ClipboardWin.cpp:
357         (WebCore::writeURL): Add a check for empty URL. Remove the check for invalid URL.
358         (WebCore::ClipboardWin::setData): Remove the check for invalid URL.
359         * plugins/win/PluginViewWin.cpp:
360         (WebCore::PluginViewWin::start): Check for empty URL instead of invalid URL.
361         (WebCore::PluginViewWin::load): Same here.
362
363 2007-09-26  Darin Adler  <darin@apple.com>
364
365         Reviewed by John Sullivan.
366
367         - fix <rdar://problem/5491054> REGRESSION (Mail, plain-text only): Nothing happens
368           when you click on rdar://<num>&<num> links (or AOL links in Safari)
369
370         Remove the non-useful concept of a "malformed"/"invalid" URL.
371
372         There are URLs we can parse, and others we can't, but that's not sufficient to
373         determine if we should try to work with the URL. It's entirely possible that
374         a so-called "malformed" URL will work just fine if it's passed to the right
375         software.
376
377         * platform/KURL.h: Removed isMalformed() and isValid().
378
379         * loader/Cache.cpp: (WebCore::Cache::requestResource): Removed unneeded check
380         if the URL is valid. But do check for an empty URL just to guarantee we don't
381         trip up with a null string. It's possible we can remove this empty URL check
382         later, but it's less risky to leave the empty string behavior alone for now.
383
384         * loader/FrameLoader.cpp:
385         (WebCore::FrameLoader::urlSelected): Removed unneeded check if the URL is valid.
386         Back on 2007-07-08, we realized that we needed to allow empty URLs. But we also
387         need to allow other URLs here. This is the code path from the Mail case.
388         (WebCore::FrameLoader::submitForm): Replaced URL validity check with a check
389         for an empty URL (same reasoning as for requestResource above).
390
391         * page/InspectorController.cpp: (WebCore::InspectorResource::type):
392         * rendering/RenderObject.cpp: (WebCore::RenderObject::addPDFURLRect):
393         Removed unneeded check for an invalid URL. In both of these cases it's definitely
394         safe to allow event an empty URL.
395
396 2007-09-26  George Staikos  <staikos@kde.org>
397
398         Reviewed by John Sullivan.
399
400         Only highlight the applicable portion of the text run for a search
401         highlight.  No way to make a testcase for this presently.
402
403         * rendering/InlineTextBox.cpp:
404         (WebCore::InlineTextBox::paintTextMatchMarker):
405
406 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
407
408         Reviewed by Adam.
409
410         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
411           LGPL'ed files contain incorrect FSF address
412
413         * LICENSE-LGPL-2:
414         * LICENSE-LGPL-2.1:
415         * WebCorePrefix.h:
416         * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
417         * bindings/js/JSDOMWindowCustom.cpp:
418         * bindings/js/JSDocumentCustom.cpp:
419         * bindings/js/JSHTMLCollectionCustom.cpp:
420         * bindings/js/JSHTMLElementWrapperFactory.cpp:
421         * bindings/js/JSHTMLElementWrapperFactory.h:
422         * bindings/js/JSHTMLInputElementBase.cpp:
423         * bindings/js/JSHTMLInputElementBase.h:
424         * bindings/js/JSHTMLOptionElementConstructor.cpp:
425         * bindings/js/JSHTMLOptionElementConstructor.h:
426         * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
427         * bindings/js/JSHTMLSelectElementCustom.cpp:
428         * bindings/js/JSNodeFilterCondition.cpp:
429         * bindings/js/JSNodeFilterCondition.h:
430         * bindings/js/JSNodeIteratorCustom.cpp:
431         * bindings/js/JSSVGElementWrapperFactory.cpp:
432         * bindings/js/JSSVGElementWrapperFactory.h:
433         * bindings/js/JSSVGMatrixCustom.cpp:
434         * bindings/js/JSSVGPathSegCustom.cpp:
435         * bindings/js/JSSVGPathSegListCustom.cpp:
436         * bindings/js/JSSVGPointListCustom.cpp:
437         * bindings/js/JSTreeWalkerCustom.cpp:
438         * bindings/js/JSXMLHttpRequest.cpp:
439         * bindings/js/JSXMLHttpRequest.h:
440         * bindings/js/kjs_binding.cpp:
441         * bindings/js/kjs_binding.h:
442         * bindings/js/kjs_css.cpp:
443         * bindings/js/kjs_css.h:
444         * bindings/js/kjs_dom.cpp:
445         * bindings/js/kjs_dom.h:
446         * bindings/js/kjs_events.cpp:
447         * bindings/js/kjs_events.h:
448         * bindings/js/kjs_html.cpp:
449         * bindings/js/kjs_html.h:
450         * bindings/js/kjs_navigator.cpp:
451         * bindings/js/kjs_navigator.h:
452         * bindings/js/kjs_proxy.cpp:
453         * bindings/js/kjs_proxy.h:
454         * bindings/js/kjs_window.cpp:
455         * bindings/js/kjs_window.h:
456         * bindings/objc/DOMImplementationFront.cpp:
457         * bindings/objc/DOMImplementationFront.h:
458         * bindings/scripts/CodeGenerator.pm:
459         * bindings/scripts/CodeGeneratorJS.pm:
460         * bindings/scripts/CodeGeneratorObjC.pm:
461         * bindings/scripts/IDLParser.pm:
462         * bindings/scripts/IDLStructure.pm:
463         * bindings/scripts/generate-bindings.pl:
464         * config.h:
465         * css/CSSBorderImageValue.cpp:
466         * css/CSSBorderImageValue.h:
467         * css/CSSCharsetRule.cpp:
468         * css/CSSCharsetRule.h:
469         * css/CSSCharsetRule.idl:
470         * css/CSSComputedStyleDeclaration.cpp:
471         * css/CSSComputedStyleDeclaration.h:
472         * css/CSSCursorImageValue.cpp:
473         * css/CSSCursorImageValue.h:
474         * css/CSSFontFaceRule.cpp:
475         * css/CSSFontFaceRule.h:
476         * css/CSSFontFaceRule.idl:
477         * css/CSSGrammar.y:
478         * css/CSSHelper.cpp:
479         * css/CSSHelper.h:
480         * css/CSSImageValue.cpp:
481         * css/CSSImageValue.h:
482         * css/CSSImportRule.cpp:
483         * css/CSSImportRule.h:
484         * css/CSSImportRule.idl:
485         * css/CSSInheritedValue.cpp:
486         * css/CSSInheritedValue.h:
487         * css/CSSInitialValue.cpp:
488         * css/CSSInitialValue.h:
489         * css/CSSMediaRule.cpp:
490         * css/CSSMediaRule.h:
491         * css/CSSMediaRule.idl:
492         * css/CSSMutableStyleDeclaration.cpp:
493         * css/CSSMutableStyleDeclaration.h:
494         * css/CSSNamespace.h:
495         * css/CSSPageRule.cpp:
496         * css/CSSPageRule.h:
497         * css/CSSPageRule.idl:
498         * css/CSSParser.cpp:
499         * css/CSSParser.h:
500         * css/CSSPrimitiveValue.cpp:
501         * css/CSSPrimitiveValue.h:
502         * css/CSSPrimitiveValue.idl:
503         * css/CSSProperty.cpp:
504         * css/CSSProperty.h:
505         * css/CSSQuirkPrimitiveValue.h:
506         * css/CSSRule.cpp:
507         * css/CSSRule.h:
508         * css/CSSRule.idl:
509         * css/CSSRuleList.cpp:
510         * css/CSSRuleList.h:
511         * css/CSSSelector.cpp:
512         * css/CSSSelector.h:
513         * css/CSSStyleDeclaration.cpp:
514         * css/CSSStyleDeclaration.h:
515         * css/CSSStyleDeclaration.idl:
516         * css/CSSStyleRule.cpp:
517         * css/CSSStyleRule.h:
518         * css/CSSStyleRule.idl:
519         * css/CSSStyleSelector.cpp:
520         * css/CSSStyleSelector.h:
521         * css/CSSStyleSheet.cpp:
522         * css/CSSStyleSheet.h:
523         * css/CSSStyleSheet.idl:
524         * css/CSSUnknownRule.h:
525         * css/CSSUnknownRule.idl:
526         * css/CSSValue.h:
527         * css/CSSValue.idl:
528         * css/CSSValueList.cpp:
529         * css/CSSValueList.h:
530         * css/Counter.h:
531         * css/Counter.idl:
532         * css/DashboardRegion.h:
533         * css/FontFamilyValue.cpp:
534         * css/FontFamilyValue.h:
535         * css/FontValue.cpp:
536         * css/FontValue.h:
537         * css/MediaFeatureNames.cpp:
538         * css/MediaFeatureNames.h:
539         * css/MediaList.cpp:
540         * css/MediaList.h:
541         * css/Pair.h:
542         * css/RGBColor.idl:
543         * css/Rect.h:
544         * css/Rect.idl:
545         * css/ShadowValue.cpp:
546         * css/ShadowValue.h:
547         * css/StyleBase.cpp:
548         * css/StyleBase.h:
549         * css/StyleList.cpp:
550         * css/StyleList.h:
551         * css/StyleSheet.cpp:
552         * css/StyleSheet.h:
553         * css/StyleSheet.idl:
554         * css/StyleSheetList.cpp:
555         * css/StyleSheetList.h:
556         * css/StyleSheetList.idl:
557         * css/html4.css:
558         * css/make-css-file-arrays.pl:
559         * css/makegrammar.pl:
560         * css/makeprop.pl:
561         * css/maketokenizer:
562         * css/makevalues.pl:
563         * css/quirks.css:
564         * dom/AtomicStringList.h:
565         * dom/Attr.cpp:
566         * dom/Attr.h:
567         * dom/Attr.idl:
568         * dom/Attribute.cpp:
569         * dom/Attribute.h:
570         * dom/BeforeUnloadEvent.cpp:
571         * dom/BeforeUnloadEvent.h:
572         * dom/CDATASection.cpp:
573         * dom/CDATASection.h:
574         * dom/CDATASection.idl:
575         * dom/CSSMappedAttributeDeclaration.cpp:
576         * dom/CSSMappedAttributeDeclaration.h:
577         * dom/CharacterData.cpp:
578         * dom/CharacterData.h:
579         * dom/CharacterData.idl:
580         * dom/ChildNodeList.cpp:
581         * dom/ChildNodeList.h:
582         * dom/Clipboard.h:
583         * dom/ClipboardEvent.cpp:
584         * dom/ClipboardEvent.h:
585         * dom/Comment.cpp:
586         * dom/Comment.h:
587         * dom/Comment.idl:
588         * dom/ContainerNode.cpp:
589         * dom/ContainerNode.h:
590         * dom/DOMImplementation.cpp:
591         * dom/DOMImplementation.h:
592         * dom/DOMImplementation.idl:
593         * dom/DocPtr.h:
594         * dom/Document.cpp:
595         * dom/Document.h:
596         * dom/Document.idl:
597         * dom/DocumentFragment.cpp:
598         * dom/DocumentFragment.h:
599         * dom/DocumentFragment.idl:
600         * dom/DocumentMarker.h:
601         * dom/DocumentType.cpp:
602         * dom/DocumentType.h:
603         * dom/DocumentType.idl:
604         * dom/EditingText.cpp:
605         * dom/EditingText.h:
606         * dom/Element.cpp:
607         * dom/Element.h:
608         * dom/Element.idl:
609         * dom/Entity.cpp:
610         * dom/Entity.h:
611         * dom/Entity.idl:
612         * dom/EntityReference.cpp:
613         * dom/EntityReference.h:
614         * dom/EntityReference.idl:
615         * dom/Event.cpp:
616         * dom/Event.h:
617         * dom/Event.idl:
618         * dom/EventListener.h:
619         * dom/EventListener.idl:
620         * dom/EventNames.cpp:
621         * dom/EventNames.h:
622         * dom/EventTarget.idl:
623         * dom/EventTargetNode.cpp:
624         * dom/EventTargetNode.h:
625         * dom/ExceptionCode.h:
626         * dom/KeyboardEvent.cpp:
627         * dom/KeyboardEvent.h:
628         * dom/KeyboardEvent.idl:
629         * dom/MappedAttribute.cpp:
630         * dom/MappedAttribute.h:
631         * dom/MappedAttributeEntry.h:
632         * dom/MouseEvent.cpp:
633         * dom/MouseEvent.h:
634         * dom/MouseEvent.idl:
635         * dom/MouseRelatedEvent.cpp:
636         * dom/MouseRelatedEvent.h:
637         * dom/MutationEvent.cpp:
638         * dom/MutationEvent.h:
639         * dom/MutationEvent.idl:
640         * dom/NameNodeList.cpp:
641         * dom/NameNodeList.h:
642         * dom/NamedAttrMap.cpp:
643         * dom/NamedAttrMap.h:
644         * dom/NamedMappedAttrMap.cpp:
645         * dom/NamedMappedAttrMap.h:
646         * dom/NamedNodeMap.h:
647         * dom/NamedNodeMap.idl:
648         * dom/Node.cpp:
649         * dom/Node.h:
650         * dom/Node.idl:
651         * dom/NodeFilter.cpp:
652         * dom/NodeFilter.h:
653         * dom/NodeFilter.idl:
654         * dom/NodeFilterCondition.cpp:
655         * dom/NodeFilterCondition.h:
656         * dom/NodeIterator.cpp:
657         * dom/NodeIterator.h:
658         * dom/NodeIterator.idl:
659         * dom/NodeList.cpp:
660         * dom/NodeList.h:
661         * dom/NodeList.idl:
662         * dom/Notation.cpp:
663         * dom/Notation.h:
664         * dom/Notation.idl:
665         * dom/ProcessingInstruction.cpp:
666         * dom/ProcessingInstruction.h:
667         * dom/ProcessingInstruction.idl:
668         * dom/QualifiedName.cpp:
669         * dom/QualifiedName.h:
670         * dom/Range.cpp:
671         * dom/Range.h:
672         * dom/Range.idl:
673         * dom/RangeException.h:
674         * dom/RangeException.idl:
675         * dom/RegisteredEventListener.cpp:
676         * dom/RegisteredEventListener.h:
677         * dom/StyleElement.cpp:
678         * dom/StyleElement.h:
679         * dom/StyledElement.cpp:
680         * dom/StyledElement.h:
681         * dom/Text.cpp:
682         * dom/Text.h:
683         * dom/Text.idl:
684         * dom/Tokenizer.h:
685         * dom/Traversal.cpp:
686         * dom/Traversal.h:
687         * dom/TreeWalker.cpp:
688         * dom/TreeWalker.h:
689         * dom/TreeWalker.idl:
690         * dom/UIEvent.cpp:
691         * dom/UIEvent.h:
692         * dom/UIEvent.idl:
693         * dom/UIEventWithKeyState.cpp:
694         * dom/UIEventWithKeyState.h:
695         * dom/WheelEvent.cpp:
696         * dom/WheelEvent.h:
697         * dom/WheelEvent.idl:
698         * dom/XMLTokenizer.cpp:
699         * dom/XMLTokenizer.h:
700         * html/FormDataList.cpp:
701         * html/FormDataList.h:
702         * html/HTMLAnchorElement.cpp:
703         * html/HTMLAnchorElement.h:
704         * html/HTMLAnchorElement.idl:
705         * html/HTMLAppletElement.cpp:
706         * html/HTMLAppletElement.h:
707         * html/HTMLAppletElement.idl:
708         * html/HTMLAreaElement.cpp:
709         * html/HTMLAreaElement.h:
710         * html/HTMLAreaElement.idl:
711         * html/HTMLBRElement.cpp:
712         * html/HTMLBRElement.h:
713         * html/HTMLBRElement.idl:
714         * html/HTMLBaseElement.cpp:
715         * html/HTMLBaseElement.h:
716         * html/HTMLBaseElement.idl:
717         * html/HTMLBaseFontElement.cpp:
718         * html/HTMLBaseFontElement.h:
719         * html/HTMLBaseFontElement.idl:
720         * html/HTMLBlockquoteElement.cpp:
721         * html/HTMLBlockquoteElement.h:
722         * html/HTMLBlockquoteElement.idl:
723         * html/HTMLBodyElement.cpp:
724         * html/HTMLBodyElement.h:
725         * html/HTMLBodyElement.idl:
726         * html/HTMLButtonElement.cpp:
727         * html/HTMLButtonElement.h:
728         * html/HTMLButtonElement.idl:
729         * html/HTMLCollection.cpp:
730         * html/HTMLCollection.h:
731         * html/HTMLCollection.idl:
732         * html/HTMLDListElement.cpp:
733         * html/HTMLDListElement.h:
734         * html/HTMLDListElement.idl:
735         * html/HTMLDirectoryElement.cpp:
736         * html/HTMLDirectoryElement.h:
737         * html/HTMLDirectoryElement.idl:
738         * html/HTMLDivElement.cpp:
739         * html/HTMLDivElement.h:
740         * html/HTMLDivElement.idl:
741         * html/HTMLDocument.cpp:
742         * html/HTMLDocument.h:
743         * html/HTMLDocument.idl:
744         * html/HTMLElement.cpp:
745         * html/HTMLElement.h:
746         * html/HTMLElement.idl:
747         * html/HTMLElementFactory.cpp:
748         * html/HTMLElementFactory.h:
749         * html/HTMLEmbedElement.cpp:
750         * html/HTMLEmbedElement.h:
751         * html/HTMLEmbedElement.idl:
752         * html/HTMLEntityNames.gperf:
753         * html/HTMLFieldSetElement.cpp:
754         * html/HTMLFieldSetElement.h:
755         * html/HTMLFieldSetElement.idl:
756         * html/HTMLFontElement.cpp:
757         * html/HTMLFontElement.h:
758         * html/HTMLFontElement.idl:
759         * html/HTMLFormCollection.cpp:
760         * html/HTMLFormCollection.h:
761         * html/HTMLFormElement.cpp:
762         * html/HTMLFormElement.h:
763         * html/HTMLFormElement.idl:
764         * html/HTMLFrameElement.cpp:
765         * html/HTMLFrameElement.h:
766         * html/HTMLFrameElement.idl:
767         * html/HTMLFrameElementBase.cpp:
768         * html/HTMLFrameElementBase.h:
769         * html/HTMLFrameOwnerElement.cpp:
770         * html/HTMLFrameOwnerElement.h:
771         * html/HTMLFrameSetElement.cpp:
772         * html/HTMLFrameSetElement.h:
773         * html/HTMLFrameSetElement.idl:
774         * html/HTMLGenericFormElement.cpp:
775         * html/HTMLGenericFormElement.h:
776         * html/HTMLHRElement.cpp:
777         * html/HTMLHRElement.h:
778         * html/HTMLHRElement.idl:
779         * html/HTMLHeadElement.cpp:
780         * html/HTMLHeadElement.h:
781         * html/HTMLHeadElement.idl:
782         * html/HTMLHeadingElement.cpp:
783         * html/HTMLHeadingElement.h:
784         * html/HTMLHeadingElement.idl:
785         * html/HTMLHtmlElement.cpp:
786         * html/HTMLHtmlElement.h:
787         * html/HTMLHtmlElement.idl:
788         * html/HTMLIFrameElement.cpp:
789         * html/HTMLIFrameElement.h:
790         * html/HTMLIFrameElement.idl:
791         * html/HTMLImageElement.cpp:
792         * html/HTMLImageElement.h:
793         * html/HTMLImageElement.idl:
794         * html/HTMLImageLoader.cpp:
795         * html/HTMLImageLoader.h:
796         * html/HTMLInputElement.cpp:
797         * html/HTMLInputElement.h:
798         * html/HTMLInputElement.idl:
799         * html/HTMLIsIndexElement.cpp:
800         * html/HTMLIsIndexElement.h:
801         * html/HTMLIsIndexElement.idl:
802         * html/HTMLKeygenElement.cpp:
803         * html/HTMLKeygenElement.h:
804         * html/HTMLLIElement.cpp:
805         * html/HTMLLIElement.h:
806         * html/HTMLLIElement.idl:
807         * html/HTMLLabelElement.cpp:
808         * html/HTMLLabelElement.h:
809         * html/HTMLLabelElement.idl:
810         * html/HTMLLegendElement.cpp:
811         * html/HTMLLegendElement.h:
812         * html/HTMLLegendElement.idl:
813         * html/HTMLLinkElement.cpp:
814         * html/HTMLLinkElement.h:
815         * html/HTMLLinkElement.idl:
816         * html/HTMLMapElement.cpp:
817         * html/HTMLMapElement.h:
818         * html/HTMLMapElement.idl:
819         * html/HTMLMarqueeElement.cpp:
820         * html/HTMLMarqueeElement.h:
821         * html/HTMLMarqueeElement.idl:
822         * html/HTMLMenuElement.cpp:
823         * html/HTMLMenuElement.h:
824         * html/HTMLMenuElement.idl:
825         * html/HTMLMetaElement.cpp:
826         * html/HTMLMetaElement.h:
827         * html/HTMLMetaElement.idl:
828         * html/HTMLModElement.cpp:
829         * html/HTMLModElement.h:
830         * html/HTMLModElement.idl:
831         * html/HTMLNameCollection.cpp:
832         * html/HTMLNameCollection.h:
833         * html/HTMLOListElement.cpp:
834         * html/HTMLOListElement.h:
835         * html/HTMLOListElement.idl:
836         * html/HTMLObjectElement.cpp:
837         * html/HTMLObjectElement.h:
838         * html/HTMLObjectElement.idl:
839         * html/HTMLOptGroupElement.cpp:
840         * html/HTMLOptGroupElement.h:
841         * html/HTMLOptGroupElement.idl:
842         * html/HTMLOptionElement.cpp:
843         * html/HTMLOptionElement.h:
844         * html/HTMLOptionElement.idl:
845         * html/HTMLOptionsCollection.cpp:
846         * html/HTMLOptionsCollection.h:
847         * html/HTMLOptionsCollection.idl:
848         * html/HTMLParagraphElement.cpp:
849         * html/HTMLParagraphElement.h:
850         * html/HTMLParagraphElement.idl:
851         * html/HTMLParamElement.cpp:
852         * html/HTMLParamElement.h:
853         * html/HTMLParamElement.idl:
854         * html/HTMLParser.cpp:
855         * html/HTMLParser.h:
856         * html/HTMLPlugInElement.cpp:
857         * html/HTMLPlugInElement.h:
858         * html/HTMLPreElement.cpp:
859         * html/HTMLPreElement.h:
860         * html/HTMLPreElement.idl:
861         * html/HTMLQuoteElement.cpp:
862         * html/HTMLQuoteElement.h:
863         * html/HTMLQuoteElement.idl:
864         * html/HTMLScriptElement.cpp:
865         * html/HTMLScriptElement.h:
866         * html/HTMLScriptElement.idl:
867         * html/HTMLSelectElement.cpp:
868         * html/HTMLSelectElement.h:
869         * html/HTMLSelectElement.idl:
870         * html/HTMLStyleElement.cpp:
871         * html/HTMLStyleElement.h:
872         * html/HTMLStyleElement.idl:
873         * html/HTMLTableCaptionElement.cpp:
874         * html/HTMLTableCaptionElement.h:
875         * html/HTMLTableCaptionElement.idl:
876         * html/HTMLTableCellElement.cpp:
877         * html/HTMLTableCellElement.h:
878         * html/HTMLTableCellElement.idl:
879         * html/HTMLTableColElement.cpp:
880         * html/HTMLTableColElement.h:
881         * html/HTMLTableColElement.idl:
882         * html/HTMLTableElement.cpp:
883         * html/HTMLTableElement.h:
884         * html/HTMLTableElement.idl:
885         * html/HTMLTablePartElement.cpp:
886         * html/HTMLTablePartElement.h:
887         * html/HTMLTableRowElement.cpp:
888         * html/HTMLTableRowElement.h:
889         * html/HTMLTableRowElement.idl:
890         * html/HTMLTableSectionElement.cpp:
891         * html/HTMLTableSectionElement.h:
892         * html/HTMLTableSectionElement.idl:
893         * html/HTMLTextAreaElement.cpp:
894         * html/HTMLTextAreaElement.h:
895         * html/HTMLTextAreaElement.idl:
896         * html/HTMLTitleElement.cpp:
897         * html/HTMLTitleElement.h:
898         * html/HTMLTitleElement.idl:
899         * html/HTMLTokenizer.cpp:
900         * html/HTMLTokenizer.h:
901         * html/HTMLUListElement.cpp:
902         * html/HTMLUListElement.h:
903         * html/HTMLUListElement.idl:
904         * ksvg2/css/SVGCSSParser.cpp:
905         * ksvg2/css/SVGCSSStyleSelector.cpp:
906         * ksvg2/css/SVGRenderStyle.cpp:
907         * ksvg2/css/SVGRenderStyle.h:
908         * ksvg2/css/SVGRenderStyleDefs.cpp:
909         * ksvg2/css/SVGRenderStyleDefs.h:
910         * ksvg2/events/JSSVGLazyEventListener.cpp:
911         * ksvg2/events/JSSVGLazyEventListener.h:
912         * ksvg2/events/SVGZoomEvent.cpp:
913         * ksvg2/events/SVGZoomEvent.h:
914         * ksvg2/misc/KCanvasRenderingStyle.cpp:
915         * ksvg2/misc/KCanvasRenderingStyle.h:
916         * ksvg2/misc/PointerEventsHitRules.cpp:
917         * ksvg2/misc/PointerEventsHitRules.h:
918         * ksvg2/misc/SVGDocumentExtensions.cpp:
919         * ksvg2/misc/SVGDocumentExtensions.h:
920         * ksvg2/misc/SVGImageLoader.cpp:
921         * ksvg2/misc/SVGImageLoader.h:
922         * ksvg2/misc/SVGTimer.cpp:
923         * ksvg2/misc/SVGTimer.h:
924         * ksvg2/misc/TimeScheduler.cpp:
925         * ksvg2/misc/TimeScheduler.h:
926         * ksvg2/scripts/cssmakeprops:
927         * ksvg2/scripts/cssmakevalues:
928         * ksvg2/svg/ColorDistance.cpp:
929         * ksvg2/svg/ColorDistance.h:
930         * ksvg2/svg/GradientAttributes.h:
931         * ksvg2/svg/LinearGradientAttributes.h:
932         * ksvg2/svg/PatternAttributes.h:
933         * ksvg2/svg/RadialGradientAttributes.h:
934         * ksvg2/svg/SVGAElement.cpp:
935         * ksvg2/svg/SVGAElement.h:
936         * ksvg2/svg/SVGAngle.cpp:
937         * ksvg2/svg/SVGAngle.h:
938         * ksvg2/svg/SVGAngle.idl:
939         * ksvg2/svg/SVGAnimateColorElement.cpp:
940         * ksvg2/svg/SVGAnimateColorElement.h:
941         * ksvg2/svg/SVGAnimateElement.cpp:
942         * ksvg2/svg/SVGAnimateElement.h:
943         * ksvg2/svg/SVGAnimateMotionElement.cpp:
944         * ksvg2/svg/SVGAnimateMotionElement.h:
945         * ksvg2/svg/SVGAnimateTransformElement.cpp:
946         * ksvg2/svg/SVGAnimateTransformElement.h:
947         * ksvg2/svg/SVGAnimatedPathData.cpp:
948         * ksvg2/svg/SVGAnimatedPathData.h:
949         * ksvg2/svg/SVGAnimatedPoints.cpp:
950         * ksvg2/svg/SVGAnimatedPoints.h:
951         * ksvg2/svg/SVGAnimatedTemplate.h:
952         * ksvg2/svg/SVGAnimationElement.cpp:
953         * ksvg2/svg/SVGAnimationElement.h:
954         * ksvg2/svg/SVGCircleElement.cpp:
955         * ksvg2/svg/SVGCircleElement.h:
956         * ksvg2/svg/SVGClipPathElement.cpp:
957         * ksvg2/svg/SVGClipPathElement.h:
958         * ksvg2/svg/SVGColor.cpp:
959         * ksvg2/svg/SVGColor.h:
960         * ksvg2/svg/SVGColor.idl:
961         * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
962         * ksvg2/svg/SVGComponentTransferFunctionElement.h:
963         * ksvg2/svg/SVGCursorElement.cpp:
964         * ksvg2/svg/SVGCursorElement.h:
965         * ksvg2/svg/SVGDefsElement.cpp:
966         * ksvg2/svg/SVGDefsElement.h:
967         * ksvg2/svg/SVGDescElement.cpp:
968         * ksvg2/svg/SVGDescElement.h:
969         * ksvg2/svg/SVGDocument.cpp:
970         * ksvg2/svg/SVGDocument.h:
971         * ksvg2/svg/SVGDocument.idl:
972         * ksvg2/svg/SVGElement.cpp:
973         * ksvg2/svg/SVGElement.h:
974         * ksvg2/svg/SVGElement.idl:
975         * ksvg2/svg/SVGElementInstance.cpp:
976         * ksvg2/svg/SVGElementInstance.h:
977         * ksvg2/svg/SVGElementInstanceList.cpp:
978         * ksvg2/svg/SVGElementInstanceList.h:
979         * ksvg2/svg/SVGEllipseElement.cpp:
980         * ksvg2/svg/SVGEllipseElement.h:
981         * ksvg2/svg/SVGException.h:
982         * ksvg2/svg/SVGExternalResourcesRequired.cpp:
983         * ksvg2/svg/SVGExternalResourcesRequired.h:
984         * ksvg2/svg/SVGFEBlendElement.cpp:
985         * ksvg2/svg/SVGFEBlendElement.h:
986         * ksvg2/svg/SVGFEColorMatrixElement.cpp:
987         * ksvg2/svg/SVGFEColorMatrixElement.h:
988         * ksvg2/svg/SVGFEComponentTransferElement.cpp:
989         * ksvg2/svg/SVGFEComponentTransferElement.h:
990         * ksvg2/svg/SVGFECompositeElement.cpp:
991         * ksvg2/svg/SVGFECompositeElement.h:
992         * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
993         * ksvg2/svg/SVGFEDiffuseLightingElement.h:
994         * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
995         * ksvg2/svg/SVGFEDisplacementMapElement.h:
996         * ksvg2/svg/SVGFEDistantLightElement.cpp:
997         * ksvg2/svg/SVGFEDistantLightElement.h:
998         * ksvg2/svg/SVGFEFloodElement.cpp:
999         * ksvg2/svg/SVGFEFloodElement.h:
1000         * ksvg2/svg/SVGFEFuncAElement.cpp:
1001         * ksvg2/svg/SVGFEFuncAElement.h:
1002         * ksvg2/svg/SVGFEFuncBElement.cpp:
1003         * ksvg2/svg/SVGFEFuncBElement.h:
1004         * ksvg2/svg/SVGFEFuncGElement.cpp:
1005         * ksvg2/svg/SVGFEFuncGElement.h:
1006         * ksvg2/svg/SVGFEFuncRElement.cpp:
1007         * ksvg2/svg/SVGFEFuncRElement.h:
1008         * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
1009         * ksvg2/svg/SVGFEGaussianBlurElement.h:
1010         * ksvg2/svg/SVGFEImageElement.cpp:
1011         * ksvg2/svg/SVGFEImageElement.h:
1012         * ksvg2/svg/SVGFELightElement.cpp:
1013         * ksvg2/svg/SVGFELightElement.h:
1014         * ksvg2/svg/SVGFEMergeElement.cpp:
1015         * ksvg2/svg/SVGFEMergeElement.h:
1016         * ksvg2/svg/SVGFEMergeNodeElement.cpp:
1017         * ksvg2/svg/SVGFEMergeNodeElement.h:
1018         * ksvg2/svg/SVGFEOffsetElement.cpp:
1019         * ksvg2/svg/SVGFEOffsetElement.h:
1020         * ksvg2/svg/SVGFEPointLightElement.cpp:
1021         * ksvg2/svg/SVGFEPointLightElement.h:
1022         * ksvg2/svg/SVGFESpecularLightingElement.cpp:
1023         * ksvg2/svg/SVGFESpecularLightingElement.h:
1024         * ksvg2/svg/SVGFESpotLightElement.cpp:
1025         * ksvg2/svg/SVGFESpotLightElement.h:
1026         * ksvg2/svg/SVGFETileElement.cpp:
1027         * ksvg2/svg/SVGFETileElement.h:
1028         * ksvg2/svg/SVGFETurbulenceElement.cpp:
1029         * ksvg2/svg/SVGFETurbulenceElement.h:
1030         * ksvg2/svg/SVGFilterElement.cpp:
1031         * ksvg2/svg/SVGFilterElement.h:
1032         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
1033         * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
1034         * ksvg2/svg/SVGFitToViewBox.cpp:
1035         * ksvg2/svg/SVGFitToViewBox.h:
1036         * ksvg2/svg/SVGForeignObjectElement.cpp:
1037         * ksvg2/svg/SVGForeignObjectElement.h:
1038         * ksvg2/svg/SVGGElement.cpp:
1039         * ksvg2/svg/SVGGElement.h:
1040         * ksvg2/svg/SVGGradientElement.cpp:
1041         * ksvg2/svg/SVGGradientElement.h:
1042         * ksvg2/svg/SVGImageElement.cpp:
1043         * ksvg2/svg/SVGImageElement.h:
1044         * ksvg2/svg/SVGLangSpace.cpp:
1045         * ksvg2/svg/SVGLangSpace.h:
1046         * ksvg2/svg/SVGLength.cpp:
1047         * ksvg2/svg/SVGLength.h:
1048         * ksvg2/svg/SVGLength.idl:
1049         * ksvg2/svg/SVGLengthList.cpp:
1050         * ksvg2/svg/SVGLengthList.h:
1051         * ksvg2/svg/SVGLineElement.cpp:
1052         * ksvg2/svg/SVGLineElement.h:
1053         * ksvg2/svg/SVGLinearGradientElement.cpp:
1054         * ksvg2/svg/SVGLinearGradientElement.h:
1055         * ksvg2/svg/SVGList.h:
1056         * ksvg2/svg/SVGListTraits.h:
1057         * ksvg2/svg/SVGLocatable.cpp:
1058         * ksvg2/svg/SVGLocatable.h:
1059         * ksvg2/svg/SVGMPathElement.cpp:
1060         * ksvg2/svg/SVGMPathElement.h:
1061         * ksvg2/svg/SVGMarkerElement.cpp:
1062         * ksvg2/svg/SVGMarkerElement.h:
1063         * ksvg2/svg/SVGMaskElement.cpp:
1064         * ksvg2/svg/SVGMaskElement.h:
1065         * ksvg2/svg/SVGMatrix.idl:
1066         * ksvg2/svg/SVGMetadataElement.cpp:
1067         * ksvg2/svg/SVGMetadataElement.h:
1068         * ksvg2/svg/SVGMetadataElement.idl:
1069         * ksvg2/svg/SVGNumber.idl:
1070         * ksvg2/svg/SVGNumberList.cpp:
1071         * ksvg2/svg/SVGNumberList.h:
1072         * ksvg2/svg/SVGPaint.cpp:
1073         * ksvg2/svg/SVGPaint.h:
1074         * ksvg2/svg/SVGParserUtilities.cpp:
1075         * ksvg2/svg/SVGParserUtilities.h:
1076         * ksvg2/svg/SVGPathElement.cpp:
1077         * ksvg2/svg/SVGPathElement.h:
1078         * ksvg2/svg/SVGPathSeg.h:
1079         * ksvg2/svg/SVGPathSegArc.cpp:
1080         * ksvg2/svg/SVGPathSegArc.h:
1081         * ksvg2/svg/SVGPathSegClosePath.cpp:
1082         * ksvg2/svg/SVGPathSegClosePath.h:
1083         * ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
1084         * ksvg2/svg/SVGPathSegCurvetoCubic.h:
1085         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
1086         * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
1087         * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
1088         * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
1089         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
1090         * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
1091         * ksvg2/svg/SVGPathSegLineto.cpp:
1092         * ksvg2/svg/SVGPathSegLineto.h:
1093         * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
1094         * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
1095         * ksvg2/svg/SVGPathSegLinetoVertical.cpp:
1096         * ksvg2/svg/SVGPathSegLinetoVertical.h:
1097         * ksvg2/svg/SVGPathSegList.cpp:
1098         * ksvg2/svg/SVGPathSegList.h:
1099         * ksvg2/svg/SVGPathSegMoveto.cpp:
1100         * ksvg2/svg/SVGPathSegMoveto.h:
1101         * ksvg2/svg/SVGPatternElement.cpp:
1102         * ksvg2/svg/SVGPatternElement.h:
1103         * ksvg2/svg/SVGPoint.idl:
1104         * ksvg2/svg/SVGPointList.cpp:
1105         * ksvg2/svg/SVGPointList.h:
1106         * ksvg2/svg/SVGPolyElement.cpp:
1107         * ksvg2/svg/SVGPolyElement.h:
1108         * ksvg2/svg/SVGPolygonElement.cpp:
1109         * ksvg2/svg/SVGPolygonElement.h:
1110         * ksvg2/svg/SVGPolylineElement.cpp:
1111         * ksvg2/svg/SVGPolylineElement.h:
1112         * ksvg2/svg/SVGPreserveAspectRatio.cpp:
1113         * ksvg2/svg/SVGPreserveAspectRatio.h:
1114         * ksvg2/svg/SVGRadialGradientElement.cpp:
1115         * ksvg2/svg/SVGRadialGradientElement.h:
1116         * ksvg2/svg/SVGRect.idl:
1117         * ksvg2/svg/SVGRectElement.cpp:
1118         * ksvg2/svg/SVGRectElement.h:
1119         * ksvg2/svg/SVGRenderingIntent.h:
1120         * ksvg2/svg/SVGSVGElement.cpp:
1121         * ksvg2/svg/SVGSVGElement.h:
1122         * ksvg2/svg/SVGSVGElement.idl:
1123         * ksvg2/svg/SVGScriptElement.cpp:
1124         * ksvg2/svg/SVGScriptElement.h:
1125         * ksvg2/svg/SVGSetElement.cpp:
1126         * ksvg2/svg/SVGSetElement.h:
1127         * ksvg2/svg/SVGStopElement.cpp:
1128         * ksvg2/svg/SVGStopElement.h:
1129         * ksvg2/svg/SVGStringList.cpp:
1130         * ksvg2/svg/SVGStringList.h:
1131         * ksvg2/svg/SVGStylable.cpp:
1132         * ksvg2/svg/SVGStylable.h:
1133         * ksvg2/svg/SVGStyleElement.cpp:
1134         * ksvg2/svg/SVGStyleElement.h:
1135         * ksvg2/svg/SVGStyledElement.cpp:
1136         * ksvg2/svg/SVGStyledElement.h:
1137         * ksvg2/svg/SVGStyledLocatableElement.cpp:
1138         * ksvg2/svg/SVGStyledLocatableElement.h:
1139         * ksvg2/svg/SVGStyledTransformableElement.cpp:
1140         * ksvg2/svg/SVGStyledTransformableElement.h:
1141         * ksvg2/svg/SVGSwitchElement.cpp:
1142         * ksvg2/svg/SVGSwitchElement.h:
1143         * ksvg2/svg/SVGSymbolElement.cpp:
1144         * ksvg2/svg/SVGSymbolElement.h:
1145         * ksvg2/svg/SVGTRefElement.cpp:
1146         * ksvg2/svg/SVGTRefElement.h:
1147         * ksvg2/svg/SVGTSpanElement.cpp:
1148         * ksvg2/svg/SVGTSpanElement.h:
1149         * ksvg2/svg/SVGTests.cpp:
1150         * ksvg2/svg/SVGTests.h:
1151         * ksvg2/svg/SVGTextContentElement.cpp:
1152         * ksvg2/svg/SVGTextContentElement.h:
1153         * ksvg2/svg/SVGTextElement.cpp:
1154         * ksvg2/svg/SVGTextElement.h:
1155         * ksvg2/svg/SVGTextPositioningElement.cpp:
1156         * ksvg2/svg/SVGTextPositioningElement.h:
1157         * ksvg2/svg/SVGTitleElement.cpp:
1158         * ksvg2/svg/SVGTitleElement.h:
1159         * ksvg2/svg/SVGTransform.cpp:
1160         * ksvg2/svg/SVGTransform.h:
1161         * ksvg2/svg/SVGTransform.idl:
1162         * ksvg2/svg/SVGTransformDistance.cpp:
1163         * ksvg2/svg/SVGTransformDistance.h:
1164         * ksvg2/svg/SVGTransformList.cpp:
1165         * ksvg2/svg/SVGTransformList.h:
1166         * ksvg2/svg/SVGTransformable.cpp:
1167         * ksvg2/svg/SVGTransformable.h:
1168         * ksvg2/svg/SVGURIReference.cpp:
1169         * ksvg2/svg/SVGURIReference.h:
1170         * ksvg2/svg/SVGUnitTypes.h:
1171         * ksvg2/svg/SVGUseElement.cpp:
1172         * ksvg2/svg/SVGUseElement.h:
1173         * ksvg2/svg/SVGViewElement.cpp:
1174         * ksvg2/svg/SVGViewElement.h:
1175         * ksvg2/svg/SVGZoomAndPan.cpp:
1176         * ksvg2/svg/SVGZoomAndPan.h:
1177         * loader/Cache.cpp:
1178         * loader/Cache.h:
1179         * loader/CachedCSSStyleSheet.cpp:
1180         * loader/CachedCSSStyleSheet.h:
1181         * loader/CachedImage.cpp:
1182         * loader/CachedImage.h:
1183         * loader/CachedResource.cpp:
1184         * loader/CachedResource.h:
1185         * loader/CachedResourceClient.h:
1186         * loader/CachedResourceClientWalker.cpp:
1187         * loader/CachedResourceClientWalker.h:
1188         * loader/CachedScript.cpp:
1189         * loader/CachedScript.h:
1190         * loader/CachedXBLDocument.cpp:
1191         * loader/CachedXBLDocument.h:
1192         * loader/CachedXSLStyleSheet.cpp:
1193         * loader/CachedXSLStyleSheet.h:
1194         * loader/DocLoader.cpp:
1195         * loader/DocLoader.h:
1196         * loader/FTPDirectoryParser.cpp:
1197         * loader/FTPDirectoryParser.h:
1198         * loader/Request.cpp:
1199         * loader/Request.h:
1200         * loader/TextResourceDecoder.cpp:
1201         * loader/TextResourceDecoder.h:
1202         * loader/loader.cpp:
1203         * loader/loader.h:
1204         * page/Chrome.cpp:
1205         * page/Chrome.h:
1206         * page/ChromeClient.h:
1207         * page/Frame.cpp:
1208         * page/Frame.h:
1209         * page/FramePrivate.h:
1210         * page/FrameTree.cpp:
1211         * page/FrameTree.h:
1212         * page/FrameView.cpp:
1213         * page/FrameView.h:
1214         * page/MouseEventWithHitTestResults.cpp:
1215         * page/MouseEventWithHitTestResults.h:
1216         * page/Page.cpp:
1217         * page/Page.h:
1218         * page/Plugin.h:
1219         * page/mac/ChromeMac.mm:
1220         * platform/Arena.cpp:
1221         * platform/Arena.h:
1222         * platform/AtomicString.cpp:
1223         * platform/AtomicString.h:
1224         * platform/AtomicStringImpl.h:
1225         * platform/BidiContext.cpp:
1226         * platform/BidiContext.h:
1227         * platform/BidiResolver.h:
1228         * platform/Font.cpp:
1229         * platform/Font.h:
1230         * platform/FontData.h:
1231         * platform/FontDescription.h:
1232         * platform/FontFallbackList.h:
1233         * platform/PlatformString.h:
1234         * platform/PopupMenu.h:
1235         * platform/PopupMenuClient.h:
1236         * platform/SearchPopupMenu.h:
1237         * platform/SegmentedString.cpp:
1238         * platform/SegmentedString.h:
1239         * platform/Shared.h:
1240         * platform/StaticConstructors.h:
1241         * platform/String.cpp:
1242         * platform/StringHash.h:
1243         * platform/StringImpl.cpp:
1244         * platform/StringImpl.h:
1245         * platform/TextBreakIterator.h:
1246         * platform/TextBreakIteratorICU.cpp:
1247         * platform/TextBreakIteratorInternalICU.h:
1248         * platform/TextStyle.h:
1249         * platform/UnicodeRange.cpp:
1250         * platform/UnicodeRange.h:
1251         * platform/cf/StringCF.cpp:
1252         * platform/cf/StringImplCF.cpp:
1253         * platform/graphics/FloatPoint3D.cpp:
1254         * platform/graphics/FloatPoint3D.h:
1255         * platform/graphics/Icon.h:
1256         * platform/graphics/IntSizeHash.h:
1257         * platform/graphics/PathTraversalState.cpp:
1258         * platform/graphics/cairo/CairoPath.h:
1259         * platform/graphics/cairo/PathCairo.cpp:
1260         * platform/graphics/mac/IconMac.mm:
1261         * platform/graphics/qt/IconQt.cpp:
1262         * platform/graphics/svg/SVGResourceFilter.cpp:
1263         * platform/graphics/svg/SVGResourceFilter.h:
1264         * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
1265         * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
1266         * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
1267         * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
1268         * platform/graphics/svg/filters/SVGDistantLightSource.h:
1269         * platform/graphics/svg/filters/SVGFEBlend.cpp:
1270         * platform/graphics/svg/filters/SVGFEBlend.h:
1271         * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
1272         * platform/graphics/svg/filters/SVGFEColorMatrix.h:
1273         * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
1274         * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
1275         * platform/graphics/svg/filters/SVGFEComposite.cpp:
1276         * platform/graphics/svg/filters/SVGFEComposite.h:
1277         * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
1278         * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
1279         * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
1280         * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
1281         * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
1282         * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
1283         * platform/graphics/svg/filters/SVGFEFlood.cpp:
1284         * platform/graphics/svg/filters/SVGFEFlood.h:
1285         * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
1286         * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
1287         * platform/graphics/svg/filters/SVGFEImage.cpp:
1288         * platform/graphics/svg/filters/SVGFEImage.h:
1289         * platform/graphics/svg/filters/SVGFEMerge.cpp:
1290         * platform/graphics/svg/filters/SVGFEMerge.h:
1291         * platform/graphics/svg/filters/SVGFEMorphology.cpp:
1292         * platform/graphics/svg/filters/SVGFEMorphology.h:
1293         * platform/graphics/svg/filters/SVGFEOffset.cpp:
1294         * platform/graphics/svg/filters/SVGFEOffset.h:
1295         * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
1296         * platform/graphics/svg/filters/SVGFESpecularLighting.h:
1297         * platform/graphics/svg/filters/SVGFETile.h:
1298         * platform/graphics/svg/filters/SVGFETurbulence.cpp:
1299         * platform/graphics/svg/filters/SVGFETurbulence.h:
1300         * platform/graphics/svg/filters/SVGFilterEffect.cpp:
1301         * platform/graphics/svg/filters/SVGFilterEffect.h:
1302         * platform/graphics/svg/filters/SVGLightSource.cpp:
1303         * platform/graphics/svg/filters/SVGLightSource.h:
1304         * platform/graphics/svg/filters/SVGPointLightSource.h:
1305         * platform/graphics/svg/filters/SVGSpotLightSource.h:
1306         * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
1307         * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
1308         * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
1309         * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
1310         * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
1311         * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
1312         * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
1313         * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm:
1314         * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
1315         * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
1316         * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
1317         * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
1318         * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm:
1319         * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
1320         * platform/graphics/svg/filters/cg/SVGFETileCg.mm:
1321         * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm:
1322         * platform/graphics/svg/qt/RenderPathQt.cpp:
1323         * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp:
1324         * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
1325         * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp:
1326         * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
1327         * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
1328         * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
1329         * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
1330         * platform/graphics/svg/qt/SVGResourceFilterQt.cpp:
1331         * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
1332         * platform/graphics/win/IconWin.cpp:
1333         * platform/gtk/FontPlatformData.h:
1334         * platform/gtk/FontPlatformDataGtk.cpp:
1335         * platform/gtk/PopupMenuGtk.cpp:
1336         * platform/gtk/RenderThemeGtk.cpp:
1337         * platform/gtk/RenderThemeGtk.h:
1338         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
1339         * platform/image-decoders/png/PNGImageDecoder.cpp:
1340         * platform/mac/FontMac.mm:
1341         * platform/mac/FontPlatformData.h:
1342         * platform/mac/LocalCurrentGraphicsContext.h:
1343         * platform/mac/LocalCurrentGraphicsContext.mm:
1344         * platform/mac/PopupMenuMac.mm:
1345         * platform/mac/SearchPopupMenuMac.mm:
1346         * platform/mac/StringImplMac.mm:
1347         * platform/mac/StringMac.mm:
1348         * platform/mac/TextBreakIteratorInternalICUMac.mm:
1349         * platform/network/FormData.cpp:
1350         * platform/network/FormData.h:
1351         * platform/qt/FileChooserQt.cpp:
1352         * platform/qt/FontQt.cpp:
1353         * platform/qt/MenuEventProxy.h:
1354         * platform/qt/PlugInInfoStoreQt.cpp:
1355         * platform/qt/PopupMenuQt.cpp:
1356         * platform/qt/QWebPopup.cpp:
1357         * platform/qt/QWebPopup.h:
1358         * platform/qt/RenderThemeQt.cpp:
1359         * platform/qt/RenderThemeQt.h:
1360         * platform/qt/SearchPopupMenuQt.cpp:
1361         * platform/qt/TextBreakIteratorQt.cpp:
1362         * platform/qt/WheelEventQt.cpp:
1363         * platform/win/FontPlatformData.h:
1364         * platform/win/FontPlatformDataWin.cpp:
1365         * platform/win/PopupMenuWin.cpp:
1366         * platform/win/SearchPopupMenuWin.cpp:
1367         * platform/win/TextBreakIteratorInternalICUWin.cpp:
1368         * rendering/AutoTableLayout.cpp:
1369         * rendering/AutoTableLayout.h:
1370         * rendering/CounterNode.cpp:
1371         * rendering/CounterNode.h:
1372         * rendering/DataRef.h:
1373         * rendering/EllipsisBox.cpp:
1374         * rendering/EllipsisBox.h:
1375         * rendering/FixedTableLayout.cpp:
1376         * rendering/FixedTableLayout.h:
1377         * rendering/GapRects.h:
1378         * rendering/HitTestRequest.h:
1379         * rendering/HitTestResult.cpp:
1380         * rendering/HitTestResult.h:
1381         * rendering/InlineBox.cpp:
1382         * rendering/InlineBox.h:
1383         * rendering/InlineFlowBox.cpp:
1384         * rendering/InlineFlowBox.h:
1385         * rendering/InlineRunBox.h:
1386         * rendering/InlineTextBox.cpp:
1387         * rendering/InlineTextBox.h:
1388         * rendering/Length.h:
1389         * rendering/ListMarkerBox.cpp:
1390         * rendering/ListMarkerBox.h:
1391         * rendering/RenderApplet.cpp:
1392         * rendering/RenderApplet.h:
1393         * rendering/RenderArena.cpp:
1394         * rendering/RenderArena.h:
1395         * rendering/RenderBR.cpp:
1396         * rendering/RenderBR.h:
1397         * rendering/RenderBlock.cpp:
1398         * rendering/RenderBlock.h:
1399         * rendering/RenderBox.cpp:
1400         * rendering/RenderBox.h:
1401         * rendering/RenderButton.cpp:
1402         * rendering/RenderButton.h:
1403         * rendering/RenderContainer.cpp:
1404         * rendering/RenderContainer.h:
1405         * rendering/RenderCounter.cpp:
1406         * rendering/RenderCounter.h:
1407         * rendering/RenderFieldset.cpp:
1408         * rendering/RenderFieldset.h:
1409         * rendering/RenderFileUploadControl.cpp:
1410         * rendering/RenderFileUploadControl.h:
1411         * rendering/RenderFlexibleBox.cpp:
1412         * rendering/RenderFlexibleBox.h:
1413         * rendering/RenderFlow.cpp:
1414         * rendering/RenderFlow.h:
1415         * rendering/RenderForeignObject.cpp:
1416         * rendering/RenderForeignObject.h:
1417         * rendering/RenderFrame.cpp:
1418         * rendering/RenderFrame.h:
1419         * rendering/RenderFrameSet.cpp:
1420         * rendering/RenderFrameSet.h:
1421         * rendering/RenderImage.cpp:
1422         * rendering/RenderImage.h:
1423         * rendering/RenderInline.cpp:
1424         * rendering/RenderInline.h:
1425         * rendering/RenderLayer.cpp:
1426         * rendering/RenderLayer.h:
1427         * rendering/RenderLegend.cpp:
1428         * rendering/RenderLegend.h:
1429         * rendering/RenderListItem.cpp:
1430         * rendering/RenderListItem.h:
1431         * rendering/RenderListMarker.cpp:
1432         * rendering/RenderListMarker.h:
1433         * rendering/RenderMenuList.cpp:
1434         * rendering/RenderMenuList.h:
1435         * rendering/RenderObject.cpp:
1436         * rendering/RenderObject.h:
1437         * rendering/RenderPart.cpp:
1438         * rendering/RenderPart.h:
1439         * rendering/RenderPartObject.cpp:
1440         * rendering/RenderPartObject.h:
1441         * rendering/RenderPath.cpp:
1442         * rendering/RenderPath.h:
1443         * rendering/RenderReplaced.cpp:
1444         * rendering/RenderReplaced.h:
1445         * rendering/RenderSVGBlock.cpp:
1446         * rendering/RenderSVGBlock.h:
1447         * rendering/RenderSVGContainer.cpp:
1448         * rendering/RenderSVGContainer.h:
1449         * rendering/RenderSVGGradientStop.cpp:
1450         * rendering/RenderSVGGradientStop.h:
1451         * rendering/RenderSVGHiddenContainer.cpp:
1452         * rendering/RenderSVGHiddenContainer.h:
1453         * rendering/RenderSVGImage.cpp:
1454         * rendering/RenderSVGImage.h:
1455         * rendering/RenderSVGInline.cpp:
1456         * rendering/RenderSVGInline.h:
1457         * rendering/RenderSVGInlineText.cpp:
1458         * rendering/RenderSVGInlineText.h:
1459         * rendering/RenderSVGTSpan.cpp:
1460         * rendering/RenderSVGTSpan.h:
1461         * rendering/RenderSVGText.cpp:
1462         * rendering/RenderSVGText.h:
1463         * rendering/RenderSlider.cpp:
1464         * rendering/RenderSlider.h:
1465         * rendering/RenderStyle.cpp:
1466         * rendering/RenderStyle.h:
1467         * rendering/RenderTable.cpp:
1468         * rendering/RenderTable.h:
1469         * rendering/RenderTableCell.cpp:
1470         * rendering/RenderTableCell.h:
1471         * rendering/RenderTableCol.cpp:
1472         * rendering/RenderTableCol.h:
1473         * rendering/RenderTableRow.cpp:
1474         * rendering/RenderTableRow.h:
1475         * rendering/RenderTableSection.cpp:
1476         * rendering/RenderTableSection.h:
1477         * rendering/RenderText.cpp:
1478         * rendering/RenderText.h:
1479         * rendering/RenderTextControl.cpp:
1480         * rendering/RenderTextControl.h:
1481         * rendering/RenderTextFragment.cpp:
1482         * rendering/RenderTextFragment.h:
1483         * rendering/RenderTheme.cpp:
1484         * rendering/RenderTheme.h:
1485         * rendering/RenderThemeMac.h:
1486         * rendering/RenderThemeMac.mm:
1487         * rendering/RenderThemeSafari.cpp:
1488         * rendering/RenderThemeSafari.h:
1489         * rendering/RenderThemeWin.cpp:
1490         * rendering/RenderThemeWin.h:
1491         * rendering/RenderView.cpp:
1492         * rendering/RenderView.h:
1493         * rendering/RenderWidget.cpp:
1494         * rendering/RenderWidget.h:
1495         * rendering/RootInlineBox.cpp:
1496         * rendering/RootInlineBox.h:
1497         * rendering/SVGInlineFlowBox.cpp:
1498         * rendering/SVGInlineFlowBox.h:
1499         * rendering/SVGInlineTextBox.cpp:
1500         * rendering/SVGInlineTextBox.h:
1501         * rendering/SVGRootInlineBox.cpp:
1502         * rendering/SVGRootInlineBox.h:
1503         * rendering/TableLayout.h:
1504         * rendering/bidi.cpp:
1505         * rendering/bidi.h:
1506         * rendering/break_lines.cpp:
1507         * rendering/break_lines.h:
1508         * xml/DOMParser.cpp:
1509         * xml/DOMParser.h:
1510         * xml/DOMParser.idl:
1511         * xml/XMLHttpRequest.cpp:
1512         * xml/XMLHttpRequest.h:
1513         * xml/XMLSerializer.cpp:
1514         * xml/XMLSerializer.h:
1515         * xml/XMLSerializer.idl:
1516         * xml/XPathEvaluator.idl:
1517         * xml/XPathExpression.idl:
1518         * xml/XPathNSResolver.idl:
1519         * xml/XPathResult.idl:
1520         * xml/XSLImportRule.cpp:
1521         * xml/XSLImportRule.h:
1522         * xml/XSLStyleSheet.cpp:
1523         * xml/XSLStyleSheet.h:
1524         * xml/XSLTProcessor.cpp:
1525         * xml/XSLTProcessor.h:
1526
1527 2007-09-25  Darin Adler  <darin@apple.com>
1528
1529         Reviewed by Harrison.
1530
1531         - fix <rdar://problem/5503225> CrashTracer: [USER] 2 crashes in Dashcode
1532           at com.apple.WebCore: WebCore::Frame::document const + 0
1533
1534         * page/FrameView.cpp: (WebCore::FrameView::updateControlTints):
1535         Added null check.
1536
1537 2007-09-25  Beth Dakin  <bdakin@apple.com>
1538
1539         Reviewed by Darin.
1540
1541         Fixes http://bugs.webkit.org/show_bug.cgi?id=15282 r25726 caused 
1542         plugins/mouse-events.html to fail
1543
1544         * page/FrameView.cpp:
1545         (WebCore::FrameView::layout): We need to call 
1546         updateWidgetPosition() after updating each widget.
1547
1548 2007-09-25  Anders Carlsson  <andersca@apple.com>
1549
1550         Build fix.
1551         
1552         * page/Chrome.cpp:
1553         (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
1554
1555 2007-09-25  Anders Carlsson  <andersca@apple.com>
1556
1557         Reviewed by Geoff.
1558
1559         <rdar://problem/5283916>
1560         JavaScript timers may be firing while JavaScript alerts are displayed.
1561         
1562         Pause JavaScript timeouts while calling UI delegate methods that might show dialogs.
1563         
1564         * page/Chrome.cpp:
1565         (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
1566         (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
1567
1568 2007-09-26  Holger Hans Peter Freyther  <zecke@selfish.org>
1569
1570         Reviewed by Anders.
1571
1572         Implement PopupMenu using GtkMenu.
1573
1574         * platform/PopupMenu.h:
1575         * platform/gtk/PopupMenuGtk.cpp:
1576         (WebCore::PopupMenu::PopupMenu):
1577         (WebCore::PopupMenu::~PopupMenu):
1578         (WebCore::PopupMenu::show):
1579         (WebCore::PopupMenu::hide):
1580         (WebCore::PopupMenu::updateFromElement):
1581         (WebCore::PopupMenu::itemWritingDirectionIsNatural):
1582         (WebCore::PopupMenu::menuItemActivated):
1583         (WebCore::PopupMenu::menuUnmapped):
1584         (WebCore::PopupMenu::menuPositionFunction):
1585         (WebCore::PopupMenu::menuRemoveItem):
1586
1587 2007-09-23  Holger Hans Peter Freyther  <zecke@selfish.org>
1588
1589         Rubber stamped by Mark.
1590
1591         Obey the Coding-Style and move the asterisk to the
1592         left to be part of the type.
1593
1594         * platform/gtk/RenderThemeGtk.h:
1595
1596 2007-09-25  Beth Dakin  <bdakin@apple.com>
1597
1598         Reviewed by Darin.
1599
1600         Fix for <rdar://problem/5466459> CrashTracer: [USER] 1 crash in 
1601         NetNewsWire at com.apple.WebCore: WebCore::bidiNext + 485 (15241)
1602
1603         Mitz discovered that this crash appeared because r25128 made it 
1604         possible for RenderPartObject::updateWidget() to be called during 
1605         layout. updateWidget() can, through a series of calls, cause an 
1606         attach/detach to happen, which is very bad in the middle of a 
1607         layout and is what led to this crash. This patch fixes that by 
1608         having the FrameView keep track of a queue of RenderPartObjects 
1609         that need to call updateWidget(), and it goes through the queue 
1610         calling updateWidget() as soon as layout is done.
1611
1612         * page/FrameView.cpp: We only want to call updateWidget() if we are 
1613         not in a nested layout. Unfortunately, the existing variables on 
1614         FrameViewPrivate do not have exactly the information that we need, 
1615         so I added nestedLayoutCount.
1616         (WebCore::FrameViewPrivate::reset): Reset nestedLayoutCount.
1617         (WebCore::FrameView::layout): Increment nestedLayoutCount once we 
1618         have gotten through all of the early returns. Call updateWidget() 
1619         after layout is nestedLayoutCount is 1 and there are widgets to 
1620         update. Decrement nestedLayoutCount at the end.
1621         (WebCore::FrameView::addWidgetToUpdate):
1622         (WebCore::FrameView::removeWidgetToUpdate):
1623         * page/FrameView.h:
1624         * rendering/RenderPartObject.cpp:
1625         (WebCore::RenderPartObject::~RenderPartObject): Remove this from 
1626         the FrameView's update set.
1627         (WebCore::RenderPartObject::layout): Instead of calling 
1628         updateWidget() immediately, add this to the update widget set on 
1629         FrameView.
1630         * rendering/RenderPartObject.h:
1631
1632 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
1633
1634         Reviewed by Mark Rowe.
1635
1636         - fix http://bugs.webkit.org/show_bug.cgi?id=15275
1637           SVG dependency on WebCore/dom/XMLTokenizer.cpp
1638
1639         * dom/XMLTokenizer.cpp: Moved #include "SVGStyleElement.h" into #if ENABLE(SVG).
1640
1641 2007-09-25  Justin Garcia  <justin.garcia@apple.com>
1642
1643         Reviewed by Darin.
1644
1645         <rdar://problem/5483567> 
1646         REGRESSION (Tiger only, workaround in AppKit on Leopard): Pasting words copied from TextEdit in Mail adds extra newline
1647         
1648         * editing/ReplaceSelectionCommand.cpp:
1649         (WebCore::ReplaceSelectionCommand::removeUnrenderedNodes): Added.
1650         (WebCore::ReplaceSelectionCommand::doApply): Call removeUnrenderedNodes
1651         to prevent unrendered spaces from interfering with paragraph merging.
1652         * editing/ReplaceSelectionCommand.h:
1653
1654 2007-09-24  Steve Falkenburg  <sfalken@apple.com>
1655
1656         Reviewed by Darin.
1657
1658         - fix <rdar://problem/5502513>
1659
1660         * platform/win/FontCacheWin.cpp:
1661         (WebCore::FontCache::getFontLinkInterface):
1662         Roll back this file; the old code leaked a global COM object, but that's
1663         no big deal and the new code caused a crash on quit.
1664
1665 2007-09-24  Anders Carlsson  <andersca@apple.com>
1666
1667         Reviewed by Adam.
1668
1669         <rdar://problem/5494608>
1670         Seed: Safari will follow links in Flash movies without clicking.
1671
1672         Make sure to handle mouseover and mouseout so the plug-in can track when the mouse is over it.
1673                 
1674         * plugins/win/PluginViewWin.cpp:
1675         (WebCore::PluginViewWin::handleMouseEvent):
1676
1677 2007-09-24  Mike Fenton  <mike@staikos.net>
1678
1679         Reviewed by George Staikos.
1680
1681         Switch to using a QImage instead of a QPixmap to make transparency work.
1682
1683         * html/CanvasRenderingContext2D.cpp:
1684         (WebCore::CanvasRenderingContext2D::drawImage):
1685         * html/HTMLCanvasElement.cpp:
1686         (WebCore::HTMLCanvasElement::paint):
1687         (WebCore::HTMLCanvasElement::createDrawingContext):
1688         (WebCore::HTMLCanvasElement::createPlatformImage):
1689         * html/HTMLCanvasElement.h:
1690
1691 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
1692
1693         Reviewed by Sam.
1694
1695         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1696
1697         * WebCore.vcproj/WebCore.vcproj:
1698
1699 2007-09-24  Brady Eidson  <beidson@apple.com>
1700
1701         Reviewed by John Sullivan
1702
1703         * loader/icon/IconDatabase.cpp:
1704         (WebCore::IconDatabase::iconForPageURL): Assert the page url is non-null
1705
1706 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
1707
1708         Rubber stamped by Adam.
1709
1710         Renamed files from *Gdk to *Gtk (see #14732) using the
1711         work of Juan A. Suarez Romero as a base.
1712
1713         GDK -> GTK
1714
1715         * Projects/gdk/webcore-gdk.bkl:
1716         * WebCore.pro:
1717         * WebCoreSources.bkl:
1718         * loader/gdk: Removed.
1719         * loader/gdk/DocumentLoaderGdk.cpp: Removed.
1720         * loader/gtk: Added.
1721         * loader/gtk/DocumentLoaderGdk.cpp: Removed.
1722         * loader/gtk/DocumentLoaderGtk.cpp: Added.
1723         * page/FrameView.cpp:
1724         * page/FrameView.h:
1725         * page/gdk: Removed.
1726         * page/gdk/DragControllerGdk.cpp: Removed.
1727         * page/gdk/EventHandlerGdk.cpp: Removed.
1728         * page/gdk/FrameGdk.cpp: Removed.
1729         * page/gtk: Added.
1730         * page/gtk/DragControllerGdk.cpp: Removed.
1731         * page/gtk/DragControllerGtk.cpp: Added.
1732         * page/gtk/EventHandlerGdk.cpp: Removed.
1733         * page/gtk/EventHandlerGtk.cpp: Added.
1734         (WebCore::EventHandler::createDraggingClipboard):
1735         * page/gtk/FrameGdk.cpp: Removed.
1736         * page/gtk/FrameGtk.cpp: Added.
1737         * platform/ContextMenuItem.h:
1738         * platform/Cursor.h:
1739         * platform/DragData.h:
1740         * platform/DragImage.h:
1741         * platform/FontData.h:
1742         * platform/NotImplemented.h:
1743         * platform/PlatformKeyboardEvent.h:
1744         * platform/PlatformMenuDescription.h:
1745         * platform/PlatformMouseEvent.h:
1746         * platform/PlatformWheelEvent.h:
1747         * platform/ScrollView.h:
1748         * platform/Widget.h:
1749         * platform/gdk: Removed.
1750         * platform/gdk/ClipboardGdk.cpp: Removed.
1751         * platform/gdk/ClipboardGdk.h: Removed.
1752         * platform/gdk/ContextMenuGdk.cpp: Removed.
1753         * platform/gdk/ContextMenuItemGdk.cpp: Removed.
1754         * platform/gdk/CookieJarGdk.cpp: Removed.
1755         * platform/gdk/CursorGdk.cpp: Removed.
1756         * platform/gdk/DragDataGdk.cpp: Removed.
1757         * platform/gdk/DragImageGdk.cpp: Removed.
1758         * platform/gdk/FileChooserGdk.cpp: Removed.
1759         * platform/gdk/FileSystemGdk.cpp: Removed.
1760         * platform/gdk/FontCacheGdk.cpp: Removed.
1761         * platform/gdk/FontDataGdk.cpp: Removed.
1762         * platform/gdk/FontGdk.cpp: Removed.
1763         * platform/gdk/FontPlatformData.h: Removed.
1764         * platform/gdk/FontPlatformDataGdk.cpp: Removed.
1765         * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
1766         * platform/gdk/KeyEventGdk.cpp: Removed.
1767         * platform/gdk/KeyboardCodes.h: Removed.
1768         * platform/gdk/LocalizedStringsGdk.cpp: Removed.
1769         * platform/gdk/LoggingGdk.cpp: Removed.
1770         * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
1771         * platform/gdk/MouseEventGdk.cpp: Removed.
1772         * platform/gdk/PasteboardGdk.cpp: Removed.
1773         * platform/gdk/PlatformScreenGdk.cpp: Removed.
1774         * platform/gdk/PlatformScrollBar.h: Removed.
1775         * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
1776         * platform/gdk/PopupMenuGdk.cpp: Removed.
1777         * platform/gdk/RenderThemeGdk.cpp: Removed.
1778         * platform/gdk/RenderThemeGdk.h: Removed.
1779         * platform/gdk/ScrollViewGdk.cpp: Removed.
1780         * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
1781         * platform/gdk/SharedTimerLinux.cpp: Removed.
1782         * platform/gdk/SoundGdk.cpp: Removed.
1783         * platform/gdk/SystemTimeLinux.cpp: Removed.
1784         * platform/gdk/TemporaryLinkStubs.cpp: Removed.
1785         * platform/gdk/WheelEventGdk.cpp: Removed.
1786         * platform/gdk/WidgetGdk.cpp: Removed.
1787         * platform/graphics/GraphicsContext.h:
1788         * platform/graphics/cairo/GraphicsContextCairo.cpp:
1789         (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
1790         (WebCore::GraphicsContext::setPlatformFont):
1791         * platform/graphics/gdk: Removed.
1792         * platform/graphics/gdk/IconGdk.cpp: Removed.
1793         * platform/graphics/gdk/ImageGdk.cpp: Removed.
1794         * platform/graphics/gtk: Added.
1795         * platform/graphics/gtk/IconGdk.cpp: Removed.
1796         * platform/graphics/gtk/IconGtk.cpp: Added.
1797         * platform/graphics/gtk/ImageGdk.cpp: Removed.
1798         * platform/graphics/gtk/ImageGtk.cpp: Added.
1799         * platform/gtk: Added.
1800         * platform/gtk/ClipboardGdk.cpp: Removed.
1801         * platform/gtk/ClipboardGdk.h: Removed.
1802         * platform/gtk/ClipboardGtk.cpp: Added.
1803         (WebCore::ClipboardGtk::ClipboardGtk):
1804         (WebCore::ClipboardGtk::~ClipboardGtk):
1805         (WebCore::ClipboardGtk::clearData):
1806         (WebCore::ClipboardGtk::clearAllData):
1807         (WebCore::ClipboardGtk::getData):
1808         (WebCore::ClipboardGtk::setData):
1809         (WebCore::ClipboardGtk::types):
1810         (WebCore::ClipboardGtk::dragLocation):
1811         (WebCore::ClipboardGtk::dragImage):
1812         (WebCore::ClipboardGtk::setDragImage):
1813         (WebCore::ClipboardGtk::dragImageElement):
1814         (WebCore::ClipboardGtk::setDragImageElement):
1815         (WebCore::ClipboardGtk::createDragImage):
1816         (WebCore::ClipboardGtk::declareAndWriteDragImage):
1817         (WebCore::ClipboardGtk::writeURL):
1818         (WebCore::ClipboardGtk::writeRange):
1819         (WebCore::ClipboardGtk::hasData):
1820         * platform/gtk/ClipboardGtk.h: Added.
1821         * platform/gtk/ContextMenuGdk.cpp: Removed.
1822         * platform/gtk/ContextMenuGtk.cpp: Added.
1823         * platform/gtk/ContextMenuItemGdk.cpp: Removed.
1824         * platform/gtk/ContextMenuItemGtk.cpp: Added.
1825         * platform/gtk/CookieJarGdk.cpp: Removed.
1826         * platform/gtk/CookieJarGtk.cpp: Added.
1827         * platform/gtk/CursorGdk.cpp: Removed.
1828         * platform/gtk/CursorGtk.cpp: Added.
1829         * platform/gtk/DragDataGdk.cpp: Removed.
1830         * platform/gtk/DragDataGtk.cpp: Added.
1831         * platform/gtk/DragImageGdk.cpp: Removed.
1832         * platform/gtk/DragImageGtk.cpp: Added.
1833         * platform/gtk/FileChooserGdk.cpp: Removed.
1834         * platform/gtk/FileChooserGtk.cpp: Added.
1835         * platform/gtk/FileSystemGdk.cpp: Removed.
1836         * platform/gtk/FileSystemGtk.cpp: Added.
1837         * platform/gtk/FontCacheGdk.cpp: Removed.
1838         * platform/gtk/FontCacheGtk.cpp: Added.
1839         * platform/gtk/FontDataGdk.cpp: Removed.
1840         * platform/gtk/FontDataGtk.cpp: Added.
1841         * platform/gtk/FontGdk.cpp: Removed.
1842         * platform/gtk/FontGtk.cpp: Added.
1843         * platform/gtk/FontPlatformDataGdk.cpp: Removed.
1844         * platform/gtk/FontPlatformDataGtk.cpp: Added.
1845         * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
1846         * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
1847         * platform/gtk/KeyEventGdk.cpp: Removed.
1848         * platform/gtk/KeyEventGtk.cpp: Added.
1849         * platform/gtk/LocalizedStringsGdk.cpp: Removed.
1850         * platform/gtk/LocalizedStringsGtk.cpp: Added.
1851         * platform/gtk/LoggingGdk.cpp: Removed.
1852         * platform/gtk/LoggingGtk.cpp: Added.
1853         * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
1854         * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
1855         * platform/gtk/MouseEventGdk.cpp: Removed.
1856         * platform/gtk/MouseEventGtk.cpp: Added.
1857         * platform/gtk/PasteboardGdk.cpp: Removed.
1858         * platform/gtk/PasteboardGtk.cpp: Added.
1859         * platform/gtk/PlatformScreenGdk.cpp: Removed.
1860         * platform/gtk/PlatformScreenGtk.cpp: Added.
1861         * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
1862         * platform/gtk/PlatformScrollBarGtk.cpp: Added.
1863         * platform/gtk/PopupMenuGdk.cpp: Removed.
1864         * platform/gtk/PopupMenuGtk.cpp: Added.
1865         * platform/gtk/RenderThemeGdk.cpp: Removed.
1866         * platform/gtk/RenderThemeGdk.h: Removed.
1867         * platform/gtk/RenderThemeGtk.cpp: Added.
1868         (WebCore::theme):
1869         (WebCore::RenderThemeGtk::RenderThemeGtk):
1870         (WebCore::RenderThemeGtk::close):
1871         (WebCore::RenderThemeGtk::addIntrinsicMargins):
1872         (WebCore::RenderThemeGtk::supportsFocus):
1873         (WebCore::RenderThemeGtk::determineState):
1874         (WebCore::RenderThemeGtk::determineShadow):
1875         (WebCore::RenderThemeGtk::getThemeData):
1876         (WebCore::RenderThemeGtk::setCheckboxSize):
1877         (WebCore::RenderThemeGtk::paintCheckbox):
1878         (WebCore::RenderThemeGtk::setRadioSize):
1879         (WebCore::RenderThemeGtk::paintRadio):
1880         (WebCore::RenderThemeGtk::paintButton):
1881         (WebCore::RenderThemeGtk::adjustTextFieldStyle):
1882         (WebCore::RenderThemeGtk::paintTextField):
1883         (WebCore::RenderThemeGtk::paintTextArea):
1884         (WebCore::RenderThemeGtk::adjustButtonStyle):
1885         (WebCore::RenderThemeGtk::systemFont):
1886         (WebCore::RenderThemeGtk::gtkButton):
1887         (WebCore::RenderThemeGtk::gtkCheckbox):
1888         (WebCore::RenderThemeGtk::gtkRadioButton):
1889         (WebCore::RenderThemeGtk::gtkWindowContainer):
1890         * platform/gtk/RenderThemeGtk.h: Added.
1891         * platform/gtk/ScrollViewGdk.cpp: Removed.
1892         * platform/gtk/ScrollViewGtk.cpp: Added.
1893         * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
1894         * platform/gtk/SearchPopupMenuGtk.cpp: Added.
1895         * platform/gtk/SoundGdk.cpp: Removed.
1896         * platform/gtk/SoundGtk.cpp: Added.
1897         * platform/gtk/WheelEventGdk.cpp: Removed.
1898         * platform/gtk/WheelEventGtk.cpp: Added.
1899         * platform/gtk/WidgetGdk.cpp: Removed.
1900         * platform/gtk/WidgetGtk.cpp: Added.
1901         * platform/network/ResourceHandle.h:
1902
1903 2007-09-23  Rob Buis  <buis@kde.org>
1904
1905         Reviewed by Hyatt.
1906
1907         http://bugs.webkit.org/show_bug.cgi?id=15025
1908         Background repeat css property is not inherited from parent if unspecified
1909
1910         Don't let invalid url specification in background shorthand make
1911         the entire shorthand invalid.
1912
1913         * css/CSSParser.cpp:
1914         (WebCore::CSSParser::parseBackgroundImage):
1915         (WebCore::CSSParser::parseBackgroundProperty):
1916         * css/CSSParser.h:
1917
1918 2007-09-22  Adam Roben  <aroben@apple.com>
1919
1920         Fix Bug 15251: REGRESSION: <input type=range> doesn't respond to form.reset() or setting input.value
1921
1922         http://bugs.webkit.org/show_bug.cgi?id=15251
1923         <rdar://5498169>
1924
1925         Reviewed by Maciej.
1926
1927         Test: fast/forms/range-reset.html
1928
1929         * html/HTMLInputElement.cpp:
1930         (WebCore::HTMLInputElement::storesValueSeparateFromAttribute): <input
1931         type=range> should be storing its value separately from the value
1932         attribute, as do all of our variable-input input types.
1933
1934 2007-09-21  Mark Rowe  <mrowe@apple.com>
1935
1936         Build fix for non-Mac platforms after r25697.
1937         
1938         Rename Frame::cleanupPlatformScriptObjects to Frame::clearPlatformScriptObjects.
1939
1940         * bridge/win/FrameWin.cpp:
1941         * page/gdk/FrameGdk.cpp:
1942         * page/qt/FrameQt.cpp:
1943         * platform/wx/TemporaryLinkStubs.cpp:
1944
1945 2007-09-21  Adele Peterson  <adele@apple.com>
1946
1947         Reviewed by Sam.
1948
1949         Fix for <rdar://problem/5497357> REGRESSION: Safari doesn't show the month days on AirFrance reservation page
1950
1951         Test: fast/dom/HTMLSelectElement/options-collection-set-string-length.html
1952
1953         * bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::setLength):
1954           Convert the value to a number.  We already have code here to check if the value is not a number.
1955           This matches other browsers, which allow a string value to be used to set the length.
1956
1957 2007-09-21  Timothy Hatcher  <timothy@apple.com>
1958
1959         Reviewed by Darin.
1960
1961         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded
1962
1963         Calling -[WebView windowScriptObject] before the page loads would give you nil. This behavior didn't match Tiger.
1964         The API behavior in Tiger let you get the window script object once and keep ahold of it as long as you needed it.
1965         The window object would remain valid even after page loads. This change restores the Tiger behavior.
1966
1967         <rdar://problem/5495790> NULL dereference crash beneath Bindings::RootObject::interpreter when saving Dashcode document
1968
1969         The changes to WebScriptObject's _isSafeScript call also fixed the crash in Dashcode.
1970
1971         * bindings/objc/WebScriptObject.mm:
1972         (-[WebScriptObject _setOriginRootObject:andRootObject:]): New method used to update the the root objects,
1973         so the WebScriptObject can still be used after a page load.
1974         (-[WebScriptObject _isSafeScript]): Call [self _rootObject] instead of accessing the data member directly.
1975         DOMNode has an override for the _rootObject method, and it can return 0 when _private->_rootObject
1976         is non-zero. We would return YES here when it wasn't safe and later crash with my modified layout tests.
1977         Checking _rootObject first prevents other calls sites from needing to check for a valid root object,
1978         this fixed the Dashcode crash.
1979         (-[WebScriptObject _imp]): Ditto.
1980
1981         * bindings/objc/WebScriptObjectPrivate.h: Add _setOriginRootObject:andRootObject:.
1982
1983         * loader/FrameLoader.cpp:
1984         (WebCore::FrameLoader::clear): Call the renamed clearScriptObjects function.
1985         (WebCore::FrameLoader::dispatchWindowObjectAvailable): Some gratuitous code cleanup.
1986
1987         * page/Frame.cpp:
1988         (WebCore::Frame::clearScriptObjects): Renamed cleanupScriptObject to clearScriptObjects.
1989         Call clearPlatformScriptObjects last so m_bindingRootObject is already NULL.
1990         (WebCore::Frame::windowScriptNPObject): Hold a JSLock before accessing the window. This
1991         change is unrelated to the bug, but should be fixed.
1992
1993         * page/mac/FrameMac.mm:
1994         (WebCore::Frame::windowScriptObject): Return a script object even if the interpreter is NULL.
1995         This resotres the Tiger behavior of always being able to access the window object.
1996         (WebCore::Frame::clearPlatformScriptObjects): Keep the window script object around, and update
1997         the root objects for the window script object.
1998
1999         * page/Frame.h: Rename cleanupScriptObject to clearScriptObjects.
2000         * page/FramePrivate.h: Use a RetainPtr for m_windowScriptObject.
2001
2002 2007-09-21  Mike Fenton  <mike@staikos.net>
2003
2004         Reviewed by George Staikos.
2005
2006         Fix styled pen support by not clobbering QPen properties.
2007
2008         * html/CanvasStyle.cpp:
2009         (WebCore::CanvasStyle::applyStrokeColor):
2010         (WebCore::CanvasStyle::applyFillColor):
2011
2012 2007-09-21  Oliver Hunt  <oliver@apple.com>
2013
2014         Reviewed by Tristan and Darin
2015
2016         http://bugs.webkit.org/show_bug.cgi?id=15239
2017         <rdar://problem/5491955> REGRESSION (r25547): With Hanin IME, one cannot input characters into forms (15239)
2018         
2019         This problem was caused by the setComposition method failing to clear
2020         the composition markers in the presence of an empty string.  This would 
2021         result in the caret being locked within the 0 length bounds of the "composition"
2022         and so preventing basic keyboard interaction.
2023
2024         * editing/Editor.cpp:
2025         (WebCore::Editor::setComposition):
2026
2027 2007-09-21  Adele Peterson  <adele@apple.com>
2028
2029         Reviewed by Tristan.
2030
2031         Fix for <rdar://problem/5497346> "Check spelling when I click Send" crashes on stationery messages every time
2032
2033         No test. I wasn't able to find a way to get this to occur with Safari or DumpRenderTree.
2034
2035         * editing/Editor.cpp: (WebCore::Editor::advanceToNextMisspelling): Updated comment.
2036         * editing/htmlediting.cpp:
2037         (WebCore::firstEditablePositionAfterPositionInRoot): Only return the root position if its editable.
2038         (WebCore::maxDeepOffset): Added nil check & assert.
2039
2040 2007-09-21  Anders Carlsson  <andersca@apple.com>
2041
2042         Reviewed by Steve.
2043
2044         <rdar://problem/5404339>
2045         Site redirects continuosly, starving UI thread, causing app to hang.
2046         
2047         Use GetQueueStatus to see if there are input messages in the queue that aren't being processed.
2048         If so, use a low-priority timer instead of PostMessage.
2049         
2050         * platform/win/SharedTimerWin.cpp:
2051         (WebCore::setSharedTimerFireTime):
2052
2053 2007-09-22  Darin Adler  <darin@apple.com>
2054
2055         Reviewed by Anders.
2056
2057         - add QueryInterface capabilities to COMPtr
2058
2059         * platform/win/COMPtr.h:
2060         (COMPtr::COMPtr): Added constructor that takes a Query tag and
2061         does an appropriate QueryInterface.
2062         (COMPtr::query): Added function to do a queryInterface.
2063         (COMPtr::copyQueryInterfaceRef): Added private helper used by
2064         both of the above. Note that when the query fails you get a 0,
2065         which is the same thing you get if a 0 pointer is passed in.
2066
2067         * platform/win/FontCacheWin.cpp:
2068         (WebCore::FontCache::getFontLinkInterface): Convert to using
2069         the new query as a test case. Also eliminate the unnecessary
2070         second global variable and use COMPtr objects rather than just
2071         leaking references.
2072
2073         * platform/win/WCDataObject.h: Removed unneeded include and
2074         using statements.
2075
2076 2007-09-21  Anders Carlsson  <andersca@apple.com>
2077
2078         Reviewed by Adam.
2079
2080         <rdar://problem/5494790>
2081         clicking any link in the Flash regions at bananarepublic.com results in bad page
2082
2083         Don't replace the frame contents, the Mac version doesn't do this.
2084         
2085         * plugins/win/PluginViewWin.cpp:
2086         (WebCore::PluginViewWin::performRequest):
2087
2088 2007-09-21  Anders Carlsson  <andersca@apple.com>
2089
2090         Reviewed by Darin.
2091
2092         <rdar://problem/5496700>
2093         Repro crash loading http://www.tivo.com/whatistivo/tivohd/index.html
2094
2095         Don't continue if the plug-in cancelled the stream.
2096                 
2097         * loader/win/NetscapePlugInStreamLoaderWin.cpp:
2098         (WebCore::NetscapePlugInStreamLoader::didReceiveResponse):
2099
2100 2007-09-21  Kevin Decker  <kdecker@apple.com>
2101
2102         * platform/mac/SoftLinking.h: Build fix; added necessary #imports. 
2103
2104 2007-09-21  Kevin Decker  <kdecker@apple.com>
2105
2106         Reviewed by Darin Adler.
2107
2108         * WebCore.xcodeproj/project.pbxproj: Added SoftLinking.h to the project.
2109         * platform/mac/SoftLinking.h: Contains a new macro; useful in helping to lazily load frameworks.
2110
2111 2007-09-20  Ada Chan  <adachan@apple.com>
2112
2113         <rdar://problem/5477240> Regression: Footer is too high in print preview
2114         Make computePageRectsForFrame() return the height of the page adjusted for margins.
2115
2116         Reviewed by Steve.
2117
2118         * bridge/win/FrameWin.cpp:
2119         (WebCore::computePageRectsForFrame):
2120         * bridge/win/FrameWin.h:
2121
2122 2007-09-19  Kevin McCullough  <kmccullough@apple.com>
2123
2124         Reviewed by Hyatt.
2125
2126         - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
2127         - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
2128
2129         * platform/ScrollView.h:
2130         * platform/win/ScrollViewWin.cpp:
2131         (WebCore::ScrollView::ScrollViewPrivate::setAllowsScrolling):
2132         (WebCore::ScrollView::ScrollViewPrivate::allowsScrolling):
2133         (WebCore::ScrollView::updateScrollbars):
2134         (WebCore::ScrollView::setAllowsScrolling):
2135         (WebCore::ScrollView::allowsScrolling):
2136
2137 2007-09-20  Brady Eidson  <beidson@apple.com>
2138
2139         Reviewed by Dave Hyatt
2140
2141         <rdar://problem/5245981> - No favicon shows up for cnet.com
2142         
2143         CNet's favicon has two images in it - a 32x32 white square, and a 16x16 image that is their actual icon
2144         Till now on Windows we've always gone straight for the first image in an icon for the favicon, now we
2145         actually do proper size matching
2146
2147         * platform/graphics/BitmapImage.h:
2148
2149         * platform/graphics/Image.h:
2150         (WebCore::Image::getHBITMAPOfSize): 
2151         (WebCore::Image::drawFrameMatchingSourceSize): Search through the frames of the image for the correct size
2152
2153         * platform/graphics/win/ImageWin.cpp:
2154         (WebCore::BitmapImage::getHBITMAP):
2155         (WebCore::BitmapImage::getHBITMAPOfSize):
2156         (WebCore::BitmapImage::drawFrameMatchingSourceSize):
2157
2158 2007-09-20  Steve Falkenburg  <sfalken@apple.com>
2159
2160         Reviewed by Brady.
2161
2162         Call ascii() instead of utf8() from debug logging code to avoid threading
2163         issues associated w/ converting to UTF8.
2164
2165         * loader/icon/IconDatabase.cpp:
2166         (WebCore::makeAllDirectories):
2167         (WebCore::IconDatabase::retainIconForPageURL):
2168         (WebCore::IconDatabase::releaseIconForPageURL):
2169         (WebCore::IconDatabase::setIconDataForIconURL):
2170         (WebCore::IconDatabase::setIconURLForPageURL):
2171         (WebCore::IconDatabase::loadDecisionForIconURL):
2172         (WebCore::IconDatabase::getOrCreatePageURLRecord):
2173         (WebCore::IconDatabase::iconDatabaseSyncThread):
2174         (WebCore::IconDatabase::performOpenInitialization):
2175         (WebCore::IconDatabase::checkIntegrity):
2176         (WebCore::IconDatabase::performURLImport):
2177         (WebCore::IconDatabase::readFromDatabase):
2178         (WebCore::IconDatabase::writeToDatabase):
2179         (WebCore::readySQLStatement):
2180         (WebCore::IconDatabase::setIconURLForPageURLInSQLDatabase):
2181         (WebCore::IconDatabase::setIconIDForPageURLInSQLDatabase):
2182         (WebCore::IconDatabase::removePageURLFromSQLDatabase):
2183         (WebCore::IconDatabase::getIconIDForIconURLFromSQLDatabase):
2184         (WebCore::IconDatabase::addIconURLToSQLDatabase):
2185         (WebCore::IconDatabase::getImageDataForIconURLFromSQLDatabase):
2186         (WebCore::IconDatabase::removeIconFromSQLDatabase):
2187         (WebCore::IconDatabase::writeIconSnapshotToSQLDatabase):
2188
2189 2007-09-20  Mike Fenton  <mike@staikos.net>
2190
2191         Reviewed by George Staikos.
2192
2193         Implement gradients and more of canvas for Qt.  Style changes and some
2194         of the stroking fixes by George.
2195
2196         * html/CanvasGradient.cpp:
2197         (WebCore::CanvasGradient::CanvasGradient):
2198         (WebCore::CanvasGradient::~CanvasGradient):
2199         (WebCore::CanvasGradient::addColorStop):
2200         (WebCore::CanvasGradient::platformShading):
2201         * html/CanvasGradient.h:
2202         * html/CanvasRenderingContext2D.cpp:
2203         (WebCore::CanvasRenderingContext2D::fill):
2204         (WebCore::CanvasRenderingContext2D::stroke):
2205         (WebCore::CanvasRenderingContext2D::fillRect):
2206         (WebCore::CanvasRenderingContext2D::applyFillPattern):
2207
2208 2007-09-20  Rob Buis  <buis@kde.org>
2209
2210         Reviewed by Mitz.
2211
2212         http://bugs.webkit.org/show_bug.cgi?id=15235
2213         Options can not be removed from a Select element with OptGroup's using JavaScript
2214         <rdar://problem/5494123>
2215
2216         Remove HTMLOptionElement children against the proper parent node.
2217
2218         * html/HTMLSelectElement.cpp:
2219         (WebCore::HTMLSelectElement::remove):
2220
2221 2007-09-19  John Sullivan  <sullivan@apple.com>
2222
2223         Reviewed by Darin Adler.
2224         
2225         - WebCore part of speculative fix for <rdar://problem/5490627>, about crashes constructing a
2226           String using the values filled in by checkSpellingOfString()
2227
2228         * editing/Editor.cpp:
2229         (WebCore::findFirstMisspellingInRange):
2230         initialize out parameters the way we do elsewhere; add many assertions for improper results
2231         from checkSpellingOfString(); don't create a String at all until we've checked all the ways
2232         that checkSpellingOfString() results could indicate invalid string, even the unexpected ones;
2233         as an optimization, don't construct a String at all when looping through to mark all instances.
2234
2235 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2236
2237         Reviewed by Adam.
2238
2239         There is no need to have FTPDirectoryDocument stubs. We can
2240         compile FTPDirectoryDocument.cpp and FTPDirectoryTokenizer.cpp
2241         instead.
2242
2243         * WebCore.pro:
2244         * platform/gdk/TemporaryLinkStubs.cpp:
2245         * platform/qt/TemporaryLinkStubs.cpp:
2246
2247 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2248
2249         Reviewed by Adam.
2250
2251         Remove includes that are not needed.
2252
2253         * platform/gdk/TemporaryLinkStubs.cpp:
2254
2255 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2256
2257         Reviewed by Adam.
2258
2259         Move the Pasteboard stubs to PasteboardGdk.cpp.
2260
2261         * WebCore.pro:
2262         * platform/gdk/PasteboardGdk.cpp: Added.
2263         (WebCore::Pasteboard::generalPasteboard):
2264         (WebCore::Pasteboard::writeSelection):
2265         (WebCore::Pasteboard::writeURL):
2266         (WebCore::Pasteboard::writeImage):
2267         (WebCore::Pasteboard::clear):
2268         (WebCore::Pasteboard::canSmartReplace):
2269         (WebCore::Pasteboard::documentFragment):
2270         (WebCore::Pasteboard::plainText):
2271         (WebCore::Pasteboard::Pasteboard):
2272         * platform/gdk/TemporaryLinkStubs.cpp:
2273
2274 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2275
2276         Reviewed by Adam.
2277
2278         Move the Icon stubs to IconGdk.cpp
2279
2280         * WebCore.pro:
2281         * platform/gdk/TemporaryLinkStubs.cpp:
2282         * platform/graphics/gdk/IconGdk.cpp: Added.
2283         (WebCore::Icon::Icon):
2284         (WebCore::Icon::~Icon):
2285         (WebCore::Icon::newIconForFile):
2286
2287 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2288
2289         Reviewed by Adam.
2290
2291         Move the Font stubs to FontGdk.cpp
2292
2293         * platform/gdk/FontGdk.cpp:
2294         (WebCore::Font::drawComplexText):
2295         (WebCore::Font::floatWidthForComplexText):
2296         (WebCore::Font::offsetForPositionForComplexText):
2297         (WebCore::Font::selectionRectForComplexText):
2298         * platform/gdk/TemporaryLinkStubs.cpp:
2299
2300 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2301
2302         Reviewed by Adam.
2303
2304         Move the SearchPopupMenu stubs to SearchPopupMenuGdk.cpp
2305
2306         * WebCore.pro:
2307         * platform/gdk/SearchPopupMenuGdk.cpp: Added.
2308         (WebCore::SearchPopupMenu::SearchPopupMenu):
2309         (WebCore::SearchPopupMenu::saveRecentSearches):
2310         (WebCore::SearchPopupMenu::loadRecentSearches):
2311         (WebCore::SearchPopupMenu::enabled):
2312         * platform/gdk/TemporaryLinkStubs.cpp:
2313
2314 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2315
2316         Reviewed by Adam.
2317
2318         Move the ContextMenu and ContextMenuItem stubs to
2319         ContextMenuGdk.cpp and ContextMenuItemGdk.cpp.
2320
2321         * WebCore.pro:
2322         * platform/gdk/ContextMenuGdk.cpp: Added.
2323         (WebCore::ContextMenu::ContextMenu):
2324         (WebCore::ContextMenu::~ContextMenu):
2325         (WebCore::ContextMenu::appendItem):
2326         (WebCore::ContextMenu::setPlatformDescription):
2327         (WebCore::ContextMenu::platformDescription):
2328         (WebCore::ContextMenu::releasePlatformDescription):
2329         * platform/gdk/ContextMenuItemGdk.cpp: Added.
2330         (WebCore::ContextMenuItem::ContextMenuItem):
2331         (WebCore::ContextMenuItem::~ContextMenuItem):
2332         (WebCore::ContextMenuItem::releasePlatformDescription):
2333         (WebCore::ContextMenuItem::type):
2334         (WebCore::ContextMenuItem::setType):
2335         (WebCore::ContextMenuItem::action):
2336         (WebCore::ContextMenuItem::setAction):
2337         (WebCore::ContextMenuItem::title):
2338         (WebCore::ContextMenuItem::setTitle):
2339         (WebCore::ContextMenuItem::platformSubMenu):
2340         (WebCore::ContextMenuItem::setSubMenu):
2341         (WebCore::ContextMenuItem::setChecked):
2342         * platform/gdk/TemporaryLinkStubs.cpp:
2343
2344 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2345
2346         Reviewed by Adam.
2347
2348         Implement the WebCore::fileSize function using g_stat.
2349
2350         * platform/gdk/FileSystemGdk.cpp:
2351         (WebCore::fileSize):
2352         * platform/gdk/TemporaryLinkStubs.cpp:
2353
2354 2007-09-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2355
2356         Reviewed by Adam.
2357
2358         Move the ResourceHandle stubs from TemporaryLinkStubs
2359         to the ResourceHandleCurl.cpp file. This affects the
2360         Gtk+ and wx port as they share the curl implementation.
2361
2362
2363         * platform/gdk/TemporaryLinkStubs.cpp:
2364         * platform/network/curl/ResourceHandleCurl.cpp:
2365         (WebCore::ResourceHandle::willLoadFromCache):
2366         (WebCore::ResourceHandle::loadsBlocked):
2367         * platform/wx/TemporaryLinkStubs.cpp:
2368
2369 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
2370
2371         Reviewed by Mark.
2372
2373         Take http://bugs.webkit.org/show_bug.cgi?id=15221 into account
2374         and change the variable names from nameSystem to systemName and
2375         change the name of the function to stringByAdoptingFileSystemRepresentation.
2376
2377         * platform/gdk/FileChooserGdk.cpp:
2378         (WebCore::stringByAdoptingFileSystemRepresentation):
2379         (WebCore::FileChooser::basenameForWidth):
2380
2381 2007-09-19  Sam Weinig  <sam@webkit.org>
2382
2383         Reviewed by Geoff Garen.
2384
2385         Fix <rdar://problem/5492141> Assertion in isdigit() on windows Safari
2386
2387         Test: fast/css/hexColor-isDigit-assert.html
2388
2389         * platform/DeprecatedString.cpp:
2390         (WebCore::isCharacterAllowedInBase): Check that the character is ascii 
2391         to avoid an assertions on Windows.
2392
2393 2007-09-19  Anders Carlsson  <andersca@apple.com>
2394
2395         Reviewed by Geoff.
2396
2397         <rdar://problem/5489879>
2398         Combination of real player with high connection quality in selecting player makes Safari quit.
2399         
2400         Prevent the Real Player plug-in from calling the window proc recursively.
2401         
2402         * plugins/win/PluginViewWin.cpp:
2403         (WebCore::PluginViewWin::wndProc):
2404         (WebCore::PluginViewWin::setNPWindowRect):
2405         (WebCore::PluginViewWin::determineQuirks):
2406         (WebCore::PluginViewWin::PluginViewWin):
2407         * plugins/win/PluginViewWin.h:
2408         (WebCore::):
2409
2410 2007-09-18  Adele Peterson  <adele@apple.com>
2411
2412         Reviewed by Maciej.
2413
2414         Fix for <rdar://problem/5472062> -webkit-user-select: none makes selection difficult
2415         and for <rdar://problem/5472056> REGRESSION: Cannot type into edit fields on a form (sccsheriff.org)
2416
2417         Tests:
2418
2419         This fix has a few steps:
2420         1) Removes the ignore value for the -webkit-user-select property.  We now decide when to prevent selection from starting by calling canStartSelection on the node.
2421         2) Implements canStartSelection which returns false for all elements that used to have -webkit-user-select:ignore set, true for content editable nodes, 
2422            and walks up the tree to ask the parent before allowing selection to be started on any other nodes.
2423         3) We used to disallow selection from starting within -webkit-user-select:none blocks, but now we only use canStartSelection for that.  This will allow easy selections
2424            in cases like iChat where there's a mix of selectable and non-selectable content.
2425         4) Makes -webkit-user-select inherited.  After removing the "ignore" value, -webkit-user-select would behave like it was inherited anyways since we already allowed the text value to override the none value.
2426
2427
2428         * css/html4.css: Removed all usage of -webkit-user-select: ignore.  This is now handled internally with canStartSelection().
2429           Now -webkit-user-select won't be unintentionally overridden by nodes that don't want to allow selection to be started, but do want to honor the -webkit-user-select to
2430           determine whether or not selection is allowed at all.
2431
2432         * editing/SelectionController.cpp: (WebCore::SelectionController::selectAll):
2433           Don't try to determine whether selection is allowed inside the root node here.  VisiblePosition and Selection creation will keep Selection endpoints out of -webkit-user-select:none regions.
2434         
2435         * dom/Node.h:
2436         * dom/Node.cpp: (WebCore::Node::canStartSelection): Added. Always allows selection to be started in a content editable node.  If there's a parent, ask the parent if starting a selection is allowed.
2437           If there's no parent, default to allowing selection.
2438         * html/HTMLAnchorElement.h:
2439         * html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::canStartSelection): Added. If its not a link, then calls the base class. Disallows selection for non-editable links.
2440           Allows selection for editable links.
2441           This logic used to be done in CSSStyleSelector by changing the user-select property.
2442         * html/HTMLButtonElement.h: (WebCore::HTMLButtonElement::canStartSelection): Added. Disallows selection from starting in buttons.
2443         * html/HTMLImageElement.h: (WebCore::HTMLImageElement::canStartSelection): Added. Disallows selection from starting in images.
2444         * html/HTMLInputElement.h:
2445         * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::canStartSelection): Added. Disallows selection from anything that's not a text field.  Text fields call up to the base class.
2446           When they're editable, text controls will always be selectable because of the case for content editable content. Otherwise, they'll respect their parent element's decision about starting a selection. 
2447         * html/HTMLSelectElement.h: (WebCore::HTMLSelectElement::canStartSelection): Added. Disallows selection from starting in popup buttons.
2448
2449         * page/EventHandler.cpp:
2450         (WebCore::EventHandler::selectClosestWordFromMouseEvent): Use canMouseDownStartSelect instead of the ambiguously named shouldSelect().
2451         (WebCore::EventHandler::handleMousePressEventTripleClick): ditto.
2452         (WebCore::EventHandler::handleMousePressEventSingleClick): ditto.
2453         (WebCore::EventHandler::updateSelectionForMouseDrag): Use canMouseDragExtendSelect.
2454         (WebCore::EventHandler::selectCursor): Paint an ibeam in any region that allows you to click to create a selection.
2455         (WebCore::EventHandler::canMouseDownStartSelect): Now fires the selectStart event, and calls canStartSelection instead of checking the user-select property.
2456         (WebCore::EventHandler::canMouseDragExtendSelect): This is identical to canMouseDownStartSelect because of 12823, even though it seems strange that we would fire the selectStart event here.
2457         * page/EventHandler.h:
2458         * page/FocusController.cpp: (WebCore::clearSelectionIfNeeded): Calls canStartSelection instead of checking the user-select property to decide when to prevent selection creation. 
2459         * rendering/RenderObject.cpp: (WebCore::RenderObject::draggableNode): ditto.
2460         * rendering/RenderObject.h: Removed helper methods that are no longer needed.
2461
2462         * rendering/RenderStyle.h: Made userSelect inherited.  After removing the "ignore" value, -webkit-user-select would behave like it was inherited 
2463           anyways since we already allowed the text value to override the none value.
2464           Removed the SELECT_AUTO and SELECT_IGNORE values since they're no longer used.
2465         (WebCore::):
2466         (WebCore::RenderStyle::userSelect):
2467         (WebCore::RenderStyle::setUserSelect):
2468         (WebCore::RenderStyle::initialUserSelect):
2469         * rendering/RenderStyle.cpp:
2470         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
2471         (WebCore::StyleRareNonInheritedData::operator==):
2472         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
2473         (WebCore::StyleRareInheritedData::operator==):
2474         (WebCore::RenderStyle::diff):
2475
2476         * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Remove case for SELECT_AUTO and SELECT_IGNORE
2477         * css/CSSStyleSelector.cpp:
2478         (WebCore::CSSStyleSelector::adjustRenderStyle):  Remove adjustment for links.  This is now handled in HTMLAnchorElement::canStartSelection.
2479         (WebCore::CSSStyleSelector::applyProperty): Map CSS_VAL_AUTO to SELECT_TEXT.  Remove CSS_VAL_IGNORE.
2480
2481 2007-09-18  Timothy Hatcher  <timothy@apple.com>
2482
2483         Reviewed by Darin.
2484
2485         <rdar://problem/5478250> REGRESSION: After pasting text copied from Mail subject and typing return, the cursor disappears because of negative left margin
2486
2487         When pasting text from the Mail subject line, the RTF pasteboard contains text that has a first line negative indent along with a
2488         paragraph indent that has a counteracting positive indent. This results in the first line being flush left justified, and the remaining
2489         wrapped lines being indented. When this is converted to a DOM fragment, AppKit makes a block element with a margin-left and a negative
2490         text-indent that matches the RTF. So far this is all correct behavior.
2491
2492         When this content is pasted on the line of an existing paragraph that has content, ReplaceSelectionCommand will decided to merge the paragraphs.
2493         This will convert the block element to a style span that has all inherited style properties. These inherited properties will still contain block
2494         properties that have no affect on inline elements. These block properties will hang around on the style span and will get cloned to new block
2495         elements if the user hit return on that line. The new block elements would then have the text-indent but not the margin-left, so the text would be
2496         hidden off the left edge of the page.
2497
2498         In the end, we should never hang on to block-only properties in our style spans. This cuts out meaningless properties and prevents properties
2499         from magically affecting blocks later if the style is cloned for a new block element during a future editing operation.
2500
2501         * editing/ReplaceSelectionCommand.cpp:
2502         (WebCore::ReplaceSelectionCommand::removeRedundantStyles): Remove any inherited block properties that are now in the span's style.
2503         * editing/markup.cpp:
2504         (WebCore::createMarkup): Ditto.
2505
2506 2007-09-18  Dave Hyatt  <hyatt@apple.com>
2507
2508         Land a UnicodeRange helper class (ported from Mozilla) that we are going to use to prepare for making
2509         language-sensitive fallback choices for fonts.
2510
2511         Reviewed by olliej
2512
2513         * WebCore.vcproj/WebCore.vcproj:
2514         * platform/UnicodeRange.cpp: Added.
2515         (WebCore::):
2516         (WebCore::findCharUnicodeRange):
2517         (WebCore::langGroupFromUnicodeRange):
2518         * platform/UnicodeRange.h: Added.
2519
2520 2007-09-18  Dave Hyatt  <hyatt@apple.com>
2521
2522         Fix a bug in my previous patch.  Make sure to select the old font back into the HDC and to also release the HDC.
2523        
2524         Reviewed by aroben
2525
2526         * platform/win/FontCacheWin.cpp:
2527         (WebCore::FontCache::getFontDataForCharacters):
2528
2529 2007-09-18  Sam Weinig  <sam@webkit.org>
2530
2531         Reviewed by Darin.
2532
2533         Patch for <rdar://problem/5488478> Safari crashes when passing null to Range.insertNode()
2534
2535         Test: fast/dom/Range-insertNode-crash.html
2536
2537         * dom/Range.cpp:
2538         (WebCore::Range::insertNode): Null check the passed in node to insert.
2539
2540 2007-09-18  Mike Fenton  <mike@staikos.net>
2541
2542         Reviewed by George Staikos.
2543
2544         Retain the pen properties when changing one aspect of the pen.
2545
2546         * html/CanvasStyle.cpp:
2547         (WebCore::CanvasStyle::applyStrokeColor):
2548
2549 2007-09-18  Mike Fenton  <mike@staikos.net>
2550
2551         Reviewed by George Staikos.
2552
2553         Make <canvas> work in more cases by restarting the painter after we
2554         finish painting, and restoring the pen and opacity.
2555
2556         * html/HTMLCanvasElement.cpp:
2557         (WebCore::HTMLCanvasElement::paint):
2558
2559 2007-09-18  Mitz Pettel  <mitz@webkit.org>
2560
2561         Reviewed by Darin.
2562
2563         - fix http://bugs.webkit.org/show_bug.cgi?id=15169
2564           Freeze on Google maps using the "Dig a hole" tool
2565           <rdar://problem/5477414>
2566
2567         Test: fast/dom/CSSStyleDeclaration-empty-string-property.html
2568
2569         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
2570         (WebCore::cssPropertyName): Added an early return if the property name
2571         is the empty string, thus avoiding a loop that is not prepared for that
2572         case.
2573
2574 2007-09-19  Darin Adler <darin@apple.com>
2575
2576         Reviewed by Adam.
2577
2578         - fix <rdar://problem/5415734> <select> draws incorrectly if size of menu options
2579           is changed after it pops up once
2580
2581         * platform/win/PopupMenuWin.cpp:
2582         (WebCore::PopupMenu::PopupMenu): Removed unnecessary initialization of IntRect.
2583         (WebCore::PopupMenu::show): Check that the clientRect is empty instead of checking
2584         the entire windowRect -- this fixes a bug where we pop up a tiny 2-pixel high black
2585         box when you click on an empty menu.
2586         (WebCore::PopupMenu::visibleItems): Base the number of items on the client rect
2587         instead of the window rect. Rounding down means this would have worked anyway, but
2588         it's more correct to do it this way.
2589         (WebCore::PopupMenu::paint): Deallocate the bitmap so it gets reallocated if it
2590         has the wrong width or height (or if GetObject returns false, which should not
2591         happen in practice).
2592
2593 2007-09-18  David Harrison  <harrison@apple.com>
2594
2595         Reviewed by Darin.
2596
2597         <rdar://problem/5486974> REGRESSION(r25373): 1/4 second to doubleclick word in GMail when using Kotoeri IM, also slow in other IMs (15163)
2598
2599         Updated tests:
2600         * fast/dom/Window/window-xy-properties-expected.txt:
2601         * fast/dom/plugin-attributes-enumeration-expected.txt:
2602         * fast/events/onerror-bubbling-expected.txt:
2603         * fast/events/related-target-expected.txt:
2604         * fast/forms/select-namedItem-expected.txt:
2605         * fast/table/incomplete-table-in-fragment-2-expected.txt:
2606         * fast/table/incomplete-table-in-fragment-hang-expected.txt:
2607         * fast/table/large-rowspan-crash-expected.txt:
2608         * plugins/embed-attributes-setting-expected.txt:
2609
2610         * editing/TextIterator.cpp:
2611         (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
2612         Avoid VisiblePosition check if the current node is a descendant
2613         of the start container and the start offset was 0. In that case
2614         we already had enough context to correctly decide whether to emit
2615         a newline after a preceding block. We chose not to emit
2616         (m_haveEmitted is false), so don't second guess that.
2617             
2618         (WebCore::TextIterator::exitNode):
2619         Changed some comments.
2620
2621 2007-09-17  Geoffrey Garen  <ggaren@apple.com>
2622
2623         Reviewed by Darin Adler.
2624
2625         Speculative fix for <rdar://problem/5479443> REGRESSION: Hang due to 
2626         infinite JS recursion on close @ engadget.com (onunload-based ad)
2627         
2628         If page is NULL, shouldInterruptScript now returns true, so you can't 
2629         get stuck in a state in which a script executes forever without putting 
2630         up a UI to ask if it should stop.
2631
2632         * bindings/js/kjs_binding.cpp:
2633         (KJS::ScriptInterpreter::shouldInterruptScript):
2634
2635 2007-09-17  Dave Hyatt  <hyatt@apple.com>
2636
2637         Fix for bug 14743, missing glyphs on many international sites because of MLang's tiny cache.
2638         
2639         Bypass Mlang's cache entirely.  Get the mapped font from MLang, obtain the font name, and then feed
2640         the name back into our own system so that it gets created and cached again without MLang being involved.
2641         Then free up the font obtained from MLang immediately so that its cache just remains empty.
2642            
2643         Reviewed by aroben
2644
2645         * platform/FontData.h:
2646         (WebCore::FontData::isSystemFont):
2647         * platform/win/FontCacheWin.cpp:
2648         (WebCore::FontCache::getFontDataForCharacters):
2649         * platform/win/FontDataWin.cpp:
2650         (WebCore::FontData::platformInit):
2651         (WebCore::FontData::platformDestroy):
2652         * platform/win/UniscribeController.cpp:
2653         (WebCore::UniscribeController::shapeAndPlaceItem):
2654         
2655 2007-09-17  Adam Roben  <aroben@apple.com>
2656
2657         Fix <rdar://5423441> Should get focus ring color from SafariTheme
2658
2659         Reviewed by Hyatt.
2660
2661         No regression test possible.
2662
2663         * WebCore.vcproj/WebCore.vcproj: Added ColorSafari.cpp.
2664         * platform/graphics/win/ColorSafari.cpp: Added.
2665         (WebCore::makeRGBAFromCGColor): Added.
2666         (WebCore::focusRingColor): Added. Gets the focus ring color from
2667         SafariTheme if SafariTheme has support for it.
2668         (WebCore::setFocusRingColorChangeFunction): Added.
2669         * platform/win/TemporaryLinkStubs.cpp: Removed focus ring color
2670         functions.
2671
2672 2007-09-17  Anders Carlsson  <andersca@apple.com>
2673
2674         Fix Windows build.
2675
2676         * WebCore.vcproj/WebCore.vcproj:
2677         * loader/NetscapePlugInStreamLoader.h:
2678
2679 2007-09-17  Anders Carlsson  <andersca@apple.com>
2680
2681         Fix Mac build.
2682         
2683         * loader/NetscapePlugInStreamLoader.cpp:
2684         * loader/NetscapePlugInStreamLoader.h:
2685         * loader/win/NetscapePlugInStreamLoaderWin.cpp: Copied from loader/NetscapePlugInStreamLoader.cpp.
2686
2687 2007-09-17  Anders Carlsson  <andersca@apple.com>
2688
2689         Reviewed by Adam.
2690
2691         <rdar://problem/5483346>
2692         crash at vw.com WebCore::PluginViewWin::disconnectStream.
2693         
2694         The following events would lead to this crash:
2695         
2696         1. a plug-in stream finishes loading and calls NPP_DestroyStream.
2697         2. the DestroyStream handler calls NPN_Evaluate, submitting a form through JavaScript.
2698         3. A new page is going to be loaded and DocumentLoader::stopLoading is called.
2699         4. DocumentLoader::stopLoading will stop all loader, including the one that is done loading!
2700         
2701         The fix is to port NetscapePluginStreamLoader over from the Mac code and use it instead. This fixes the crash
2702         because it disassociates the stream loader with the document loader _before_ calling NPP_DestroyStream, whereas
2703         SubresourceLoader does this _after_ calling NPP_DestroyStream. 
2704         
2705         * loader/NetscapePlugInStreamLoader.cpp:
2706         (WebCore::NetscapePlugInStreamLoader::NetscapePlugInStreamLoader):
2707         (WebCore::NetscapePlugInStreamLoader::~NetscapePlugInStreamLoader):
2708         (WebCore::NetscapePlugInStreamLoader::create):
2709         (WebCore::NetscapePlugInStreamLoader::isDone):
2710         (WebCore::NetscapePlugInStreamLoader::releaseResources):
2711         (WebCore::NetscapePlugInStreamLoader::didReceiveResponse):
2712         (WebCore::NetscapePlugInStreamLoader::didReceiveData):
2713         (WebCore::NetscapePlugInStreamLoader::didFinishLoading):
2714         (WebCore::NetscapePlugInStreamLoader::didFail):
2715         (WebCore::NetscapePlugInStreamLoader::didCancel):
2716         * loader/NetscapePlugInStreamLoader.h:
2717         (WebCore::NetscapePlugInStreamLoaderClient::didFinishLoading):
2718         * plugins/win/PluginStreamWin.cpp:
2719         (WebCore::PluginStreamWin::start):
2720         (WebCore::PluginStreamWin::didReceiveResponse):
2721         (WebCore::PluginStreamWin::didReceiveData):
2722         (WebCore::PluginStreamWin::didFail):
2723         (WebCore::PluginStreamWin::didFinishLoading):
2724         * plugins/win/PluginStreamWin.h:
2725         * plugins/win/PluginViewWin.cpp:
2726         (WebCore::PluginViewWin::load):
2727
2728 2007-09-17  Anders Carlsson  <andersca@apple.com>
2729
2730         Reviewed by Adam.
2731
2732         <rdar://problem/5483839>
2733         Crash loading http://www.microsoft.com if Silverlight 1.0 is installed.
2734         
2735         Work around a problem in our NPRuntime implementation by never unloading the silverlight plug-in dll.
2736         
2737         * plugins/win/PluginViewWin.cpp:
2738         (WebCore::PluginViewWin::~PluginViewWin):
2739         (WebCore::PluginViewWin::determineQuirks):
2740         * plugins/win/PluginViewWin.h:
2741         (WebCore::):
2742
2743 2007-09-17  Brady Eidson  <beidson@apple.com>
2744
2745         Reviewed by John Sullivan
2746
2747         Fix for http://bugs.webkit.org/show_bug.cgi?id=15178
2748         and
2749         <rdar://problem/5474001>
2750
2751         The stress test proves that this was an overzealous ASSERT.  It is very possible to mark an icon
2752         for addition to the on-disk database and then mark it for removal before it is ever written out.  
2753         This is not an error and was already handled gracefully
2754
2755         * loader/icon/IconDatabase.cpp:
2756         (WebCore::IconDatabase::removeIconFromSQLDatabase): Don't ASSERT of log if the icon wasn't on disk
2757
2758 2007-09-17  Brady Eidson  <beidson@apple.com>
2759
2760         Reviewed by Oliver
2761
2762         <rdar://problem/5487048> - ASSERT in stress test in IconDatabase
2763
2764         If a PageURLRecord went away, it never clears its URL from the IconRecord it retained.
2765
2766         * loader/icon/PageURLRecord.cpp:
2767         (WebCore::PageURLRecord::~PageURLRecord): Set the icon record to 0, clearing the page url
2768         * loader/icon/PageURLRecord.h: Add the destructor
2769
2770 2007-09-17  Antti Koivisto  <antti@apple.com>
2771
2772         Reviewed by Darin.
2773         
2774         Fix <rdar://problem/5480050>
2775         Leopard9A551 with Dashcode 112: Dashcode crash when dragging image into canvas.
2776         
2777         If @import stylesheet was modified through CSS DOM style selector would not get updated. This
2778         could lead to crashes.
2779
2780         Test: fast/css/import-style-update.html
2781
2782         * css/CSSStyleSheet.cpp:
2783         (WebCore::CSSStyleSheet::styleSheetChanged):
2784
2785 2007-09-17  Anders Carlsson  <andersca@apple.com>
2786
2787         Reviewed by Adam.
2788
2789         <rdar://problem/5421997>
2790         http://bugs.webkit.org/show_bug.cgi?id=14247
2791         Display problem with Flash - image does not stop changing
2792         
2793         Port the manual load code over from the Mac version.
2794
2795         * plugins/win/PluginDatabaseWin.cpp:
2796         (WebCore::PluginDatabaseWin::createPluginView):
2797         * plugins/win/PluginDatabaseWin.h:
2798         Add load manually parameter.
2799         
2800         * plugins/win/PluginStreamWin.cpp:
2801         (WebCore::PluginStreamWin::stop):
2802         If we're loading manually, cancel the main resource load.
2803          
2804         (WebCore::PluginStreamWin::destroyStream):
2805         Don't disconnect the stream if we're loading manually.
2806         
2807         * plugins/win/PluginViewWin.cpp:
2808         (WebCore::PluginViewWin::setFrameGeometry):
2809         Always call updateWindow()
2810         
2811         (WebCore::PluginViewWin::PluginViewWin):
2812         Initialize loadManually.
2813         
2814         (WebCore::PluginViewWin::init):
2815         Don't set the width and height of the window here since it will make the plug-in HWND show briefly
2816         before it's been positioned.
2817         
2818         (WebCore::PluginViewWin::didReceiveResponse):
2819         Create the manual stream.
2820         
2821         (WebCore::PluginViewWin::didReceiveData):
2822         (WebCore::PluginViewWin::didFinishLoading):
2823         (WebCore::PluginViewWin::didFail):
2824         Call through to the manual stream.
2825         
2826         * plugins/win/PluginViewWin.h:
2827
2828 2007-09-16  Sam Weinig  <sam@webkit.org>
2829
2830         Reviewed by Maciej.
2831
2832         Fix for http://bugs.webkit.org/show_bug.cgi?id=14693
2833         document.width/height doesn't force layout
2834
2835         Test: fast/dom/document-width-height-force-layout.html
2836
2837         * html/HTMLDocument.cpp:
2838         (WebCore::HTMLDocument::width): Force layout.
2839         (WebCore::HTMLDocument::height): ditto.
2840         * html/HTMLDocument.h:
2841
2842 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
2843
2844         Reviewed by Mark.
2845
2846         Convert the filenames from WebCore::String to the filesystem encoding
2847         and vice versa using g_filename_{from,to}_utf8 functions. Also add the needed NULL
2848         checks for the return values where glib and gtk+ can return NULL.
2849
2850         * platform/gdk/FileChooserGdk.cpp:
2851         (WebCore::convertToStringByAdoptingTheFilesystemRepresentation):
2852         (WebCore::FileChooser::openFileChooser):
2853         (WebCore::FileChooser::basenameForWidth):
2854
2855 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
2856
2857         Reviewed by Mark.
2858
2859         Use the new WebCore::String::fromUTF8 function to create
2860         the labels.
2861
2862         * platform/gdk/LocalizedStringsGdk.cpp:
2863         (WebCore::submitButtonDefaultLabel):
2864         (WebCore::inputElementAltText):
2865         (WebCore::resetButtonDefaultLabel):
2866         (WebCore::searchableIndexIntroduction):
2867         (WebCore::fileButtonChooseFileLabel):
2868         (WebCore::fileButtonNoFileSelectedLabel):
2869         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
2870         (WebCore::contextMenuItemTagDownloadLinkToDisk):
2871         (WebCore::contextMenuItemTagCopyLinkToClipboard):
2872         (WebCore::contextMenuItemTagOpenImageInNewWindow):
2873         (WebCore::contextMenuItemTagDownloadImageToDisk):
2874         (WebCore::contextMenuItemTagCopyImageToClipboard):
2875         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
2876         (WebCore::contextMenuItemTagCopy):
2877         (WebCore::contextMenuItemTagGoBack):
2878         (WebCore::contextMenuItemTagGoForward):
2879         (WebCore::contextMenuItemTagStop):
2880         (WebCore::contextMenuItemTagReload):
2881         (WebCore::contextMenuItemTagCut):
2882         (WebCore::contextMenuItemTagPaste):
2883         (WebCore::contextMenuItemTagNoGuessesFound):
2884         (WebCore::contextMenuItemTagIgnoreSpelling):
2885         (WebCore::contextMenuItemTagLearnSpelling):
2886         (WebCore::contextMenuItemTagSearchWeb):
2887         (WebCore::contextMenuItemTagLookUpInDictionary):
2888         (WebCore::contextMenuItemTagOpenLink):
2889         (WebCore::contextMenuItemTagIgnoreGrammar):
2890         (WebCore::contextMenuItemTagSpellingMenu):
2891         (WebCore::contextMenuItemTagShowSpellingPanel):
2892         (WebCore::contextMenuItemTagCheckSpelling):
2893         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
2894         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
2895         (WebCore::contextMenuItemTagFontMenu):
2896         (WebCore::contextMenuItemTagBold):
2897         (WebCore::contextMenuItemTagItalic):
2898         (WebCore::contextMenuItemTagUnderline):
2899         (WebCore::contextMenuItemTagOutline):
2900         (WebCore::contextMenuItemTagWritingDirectionMenu):
2901         (WebCore::contextMenuItemTagDefaultDirection):
2902         (WebCore::contextMenuItemTagLeftToRight):
2903         (WebCore::contextMenuItemTagRightToLeft):
2904         (WebCore::contextMenuItemTagInspectElement):
2905         (WebCore::searchMenuNoRecentSearchesText):
2906         (WebCore::searchMenuRecentSearchesText):
2907         (WebCore::searchMenuClearRecentSearchesText):
2908
2909 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
2910
2911         Reviewed by Mark.
2912
2913         Add WebCore::String::fromUTF8 to convert from UTF-8
2914         to a WebCore::String. This is meant to be used by
2915         the Gtk+ port and the signature and implementation
2916         is similiar to the one of DeprecatedString.
2917
2918         * platform/PlatformString.h:
2919         * platform/String.cpp:
2920         (WebCore::String::fromUTF8):
2921
2922 2007-09-13  Holger Hans Peter Freyther  <zecke@selfish.org>
2923
2924         Reviewed by Anders.
2925
2926         Implement the fileExists and deleteFile functions
2927         using glib.
2928
2929         * WebCore.pro:
2930         * platform/gdk/FileSystemGdk.cpp: Added.
2931         (WebCore::fileExists):
2932         * platform/gdk/TemporaryLinkStubs.cpp:
2933
2934 2007-09-16  David Harrison  <harrison@apple.com>
2935
2936         Reviewed by Darin.
2937
2938         <rdar://problem/5472125> REGRESSION (9A535-9A548): No VO cursor shown when navigating in a mail message body
2939
2940         The problem was that the visible units code was mishandling non-editable content, generating null
2941         VisiblePositions instead of the actual boundary VisiblePositions.
2942         
2943         Updated tests:
2944         * fast/dom/Window/window-xy-properties-expected.txt:
2945         * fast/dom/plugin-attributes-enumeration-expected.txt:
2946         * fast/events/onerror-bubbling-expected.txt:
2947         * fast/events/related-target-expected.txt:
2948         * fast/forms/select-namedItem-expected.txt:
2949         * fast/table/incomplete-table-in-fragment-2-expected.txt:
2950         * fast/table/incomplete-table-in-fragment-hang-expected.txt:
2951         * fast/table/large-rowspan-crash-expected.txt:
2952         * plugins/embed-attributes-setting-expected.txt:
2953        
2954         Source Changes:
2955         * editing/VisiblePosition.cpp:
2956         (WebCore::VisiblePosition::next):
2957         (WebCore::VisiblePosition::previous):
2958         (WebCore::VisiblePosition::honorEditableBoundaryAtOrBefore):
2959         (WebCore::VisiblePosition::honorEditableBoundaryAtOrAfter):
2960         Rename firstEditablePositionAtOrAfter to honorEditableBoundaryAtOrAfter.
2961         Rename firstEditablePositionAtOrBefore to honorEditableBoundaryAtOrBefore.
2962         Changed these two functions to handle non-editable positions.
2963         
2964         * editing/VisiblePosition.h:
2965         * editing/visible_units.cpp:
2966         (WebCore::previousWordPosition):
2967         (WebCore::nextWordPosition):
2968         (WebCore::positionAvoidingFirstPositionInTable):
2969         (WebCore::startPositionForLine):
2970         (WebCore::startOfLine):
2971         (WebCore::endOfLine):
2972         (WebCore::previousSentencePosition):
2973         (WebCore::nextSentencePosition):
2974         Rename firstEditablePositionAtOrAfter to honorEditableBoundaryAtOrAfter.
2975         Rename firstEditablePositionAtOrBefore to honorEditableBoundaryAtOrBefore.
2976         Also, startOfLine() now calls positionAvoidingFirstPositionInTable() in the empty block early return case.
2977         positionAvoidingFirstPositionInTable() was the logic startOfLine() used in the normal case. Now in a reusable function.
2978
2979 2007-09-14  Oliver Hunt  <oliver@apple.com>
2980
2981         Reviewed by Adam.
2982
2983         Mac doesn't have any kind of not implemented macro, so we'll actually implement
2984         fileSize.
2985
2986         * platform/mac/FileSystemMac.mm:
2987         (WebCore::fileSize):
2988
2989 2007-09-14  Timothy Hatcher  <timothy@apple.com>
2990
2991         Initialize m_dialogArguments to 0. Fixes the newly crashing layout tests.
2992
2993         * bindings/js/kjs_window.cpp:
2994         (KJS::WindowPrivate::WindowPrivate):
2995
2996 2007-09-14  Oliver Hunt  <oliver@apple.com>
2997
2998         Reviewed by Brady, John H.
2999
3000         <rdar://problem/5483632> File system operation wrappers are unimplemented on windows
3001         
3002         Implement Windows versions of fileExists and deleteFile. 
3003         Also corrects fileSize to use a 64-bit version of stat.
3004
3005         * platform/win/FileSystemWin.cpp:
3006         (WebCore::fileSize):  
3007           Renamed argument to be more consistent with others.
3008           And converted to _stat32i64 to allow 64-bit filesizes
3009         (WebCore::fileExists):
3010         (WebCore::deleteFile):
3011         * platform/win/TemporaryLinkStubs.cpp:
3012
3013 2007-09-14  Oliver Hunt  <oliver@apple.com>
3014
3015         Reviewed by Sam and Geoff.
3016
3017         <rdar://problem/5333272> Cannot upload files when path contains 
3018         non-ascii/multibyte characters
3019
3020         We can't use _stat to determine file size on Windows as it may not 
3021         correctly handle multibyte characters, so we have to use _wstat.
3022         
3023         In deference to the fact that we may one day use the FormDataStreamCFNet.cpp
3024         on Mac i've wrapped the call to _wstat with a generic fileSize
3025         method in FileSystem.h
3026
3027         * WebCore.vcproj/WebCore.vcproj:
3028         * platform/FileSystem.h:
3029         * platform/network/cf/FormDataStreamCFNet.cpp:
3030         * platform/win/FileSystemWin.cpp: Added.
3031         (WebCore::setHTTPBody):
3032         * platform/gdk/TemporaryLinkStubs.cpp:
3033         * platform/mac/FileSystemMac.mm:
3034         (WebCore::fileSize):
3035         * platform/qt/TemporaryLinkStubs.cpp:
3036
3037 2007-09-14  Timothy Hatcher  <timothy@apple.com>
3038
3039         Reviewed by Sam.
3040
3041         <rdar://problem/5472970> REGRESSION (r24276): TinyMCE popups show an empty window with no content
3042
3043         Accessing the document of a window before the load finished would cause the window
3044         object to hold onto the initial empty document, and never switch over to the real document
3045         once the load finished. This regression was caused by r24276 which added a check to prevent
3046         clearing the window object when the load finished. The absence of this clear allowed the
3047         dialogArguments set with showModalDialog to persist on the window after the load. However,
3048         not clearing the window would keep other properties (and the empty document object) around.
3049
3050         So the fix is to store away the dialog arguments that were passed to showModalDialog and
3051         put them back on the window object in the dialogArguments property each time
3052         the window is cleared.
3053
3054         * bindings/js/kjs_window.cpp:
3055         (KJS::createWindow): No longer put dialogArguments on the window here.
3056         (KJS::showModalDialog): Put dialogArguments on the window and call
3057         setDialogArgumentsAndReturnValueSlot to remember the arguments.
3058         (KJS::Window::clear): Put m_dialogArguments back on the window as dialogArguments.
3059         (KJS::WindowFunc::callAsFunction): Call the new setDialogArgumentsAndReturnValue.
3060         (KJS::Window::setDialogArgumentsAndReturnValue): Store the arguments in m_dialogArguments.
3061         * bindings/js/kjs_window.h: Rename setReturnValueSlot to setDialogArgumentsAndReturnValueSlot.
3062         * manual-tests/modal-dialog-arguments.html: Confirmed that this test still passes.
3063
3064         Reverted r24276 which was all the changes in FrameLoader.cpp and FrameLoader.h.
3065
3066         * loader/FrameLoader.cpp:
3067         (WebCore::FrameLoader::FrameLoader): Remove m_shouldClearWindowProperties.
3068         (WebCore::FrameLoader::createWindow): Remove the call to setShouldClearWindowProperties.
3069         (WebCore::FrameLoader::clear): No longer check m_shouldClearWindowProperties, clear the
3070         window whenever clearWindowProperties is set.
3071         (WebCore::FrameLoader::begin): Remove m_shouldClearWindowProperties.
3072         (WebCore::FrameLoader::open): Ditto.
3073         * loader/FrameLoader.h: Remove m_shouldClearWindowProperties.
3074
3075 2007-09-14  Brady Eidson  <beidson@apple.com>
3076
3077         How about a build fix that works on *all* platforms?
3078
3079         * platform/Threading.h:
3080         (WebCore::initializeThreading):
3081
3082 2007-09-14  Brady Eidson  <beidson@apple.com>
3083
3084         Roll out my previous build fix and just make the stupid thing inline
3085         (I knew there was something easier but oh boy, no coffee yet... weinig?)
3086
3087 2007-09-14  Brady Eidson  <beidson@apple.com>
3088
3089         Rubberstamped by Mark Rowe
3090
3091         Add the logging channel I just created to the initialize list on Mac
3092
3093         * platform/mac/LoggingMac.mm:
3094         (WebCore::InitializeLoggingChannelsIfNecessary):
3095
3096 2007-09-14  Brady Eidson  <beidson@apple.com>
3097
3098         Build fix
3099
3100         That method can't go in the header, apparently
3101
3102         * platform/Threading.h:
3103         * platform/gdk/TemporaryLinkStubs.cpp:
3104         (WebCore::initializeThreading):
3105         * platform/mac/Threading.mm:
3106         (WebCore::initializeThreading):
3107         * platform/qt/TemporaryLinkStubs.cpp:
3108         (WebCore::initializeThreading):
3109
3110 2007-09-14  Brady Eidson  <beidson@apple.com>
3111
3112         Reviewed by Darin
3113
3114         -Add callOnMainThread() implementation to Windows
3115
3116         * WebCore.vcproj/WebCore.vcproj:
3117         
3118         * loader/icon/IconDatabase.cpp:
3119         (WebCore::IconDatabase::open): Call initializeThreading() from the main thread before kicking off the secondary thread
3120         
3121         * platform/Logging.cpp: Added Threading logging channel
3122         (WebCore::):
3123         * platform/Logging.h: Ditto
3124         
3125         * platform/Threading.h:
3126         (WebCore::initializeThreading): Added - only needs Windows impl for now
3127         * platform/win/ThreadingWin.cpp: Added.
3128         (WebCore::callFunctionsOnMainThread): Calls each function currently in the main-thread queue
3129         (WebCore::ThreadingWindowWndProc):
3130         (WebCore::initializeThreading): Creates a message-only window to use for callOnMainThread()
3131         (WebCore::callOnMainThread): Queues the function to be called and posts a message to the threading
3132           window such that the function-call-queue can be addressed
3133         
3134         * platform/win/TemporaryLinkStubs.cpp:
3135         (WebCore::signedPublicKeyAndChallengeString):
3136         
3137 2007-09-14  Anders Carlsson  <andersca@apple.com>
3138
3139         Reviewed by Adam.
3140
3141         <rdar://problem/5316743>
3142         Safari does not handle filename parameter of content-disposition
3143         
3144         Use CFURLResponseCopySuggestedFilename instead of our own hand-rolled implementation. 
3145         
3146         While we do return the correct filename in all cases I've tried, using CFNetwork is better because
3147         it might handle corner cases that we don't.
3148         
3149         * platform/network/cf/ResourceResponseCFNet.cpp:
3150         (WebCore::ResourceResponse::doUpdateResourceResponse):
3151         
3152 2007-09-14  Geoffrey Garen  <ggaren@apple.com>
3153
3154         Reviewed by Adam Roben.
3155
3156         Fixed http://bugs.webkit.org/show_bug.cgi?id=15209
3157         Sometimes removing an iframe from the DOM does not remove its frame 
3158         from the page
3159
3160         * loader/FrameLoader.cpp:
3161         (WebCore::FrameLoader::requestFrame): Use the contentFrame pointer
3162         directly instead of searching for a frame by the frame element's name, 
3163         because the frame element's name may have changed. (Another reason to do
3164         this is that it's just plain more straight-forward and efficient.)
3165
3166 2007-09-14  Darin Adler  <darin@apple.com>
3167
3168         Reviewed by Mitz and Kevin Decker.
3169
3170         - fix http://bugs.webkit.org/show_bug.cgi?id=15197
3171           <rdar://problem/5478271> REGRESSION: Some Yahoo text entry fields
3172           render as lines rather than text entry boxes
3173
3174         Test: fast/forms/textarea-rows-cols.html
3175
3176         * html/HTMLTextAreaElement.cpp:
3177         (WebCore::HTMLTextAreaElement::HTMLTextAreaElement): Use constants for the default number
3178         of rows and columns.
3179         (WebCore::HTMLTextAreaElement::parseMappedAttribute): If rows/cols attribute has a value
3180         that's missing, non-numeric, or zero, then use the default value. Also check for the
3181         case where the effective value of the attribute isn't changing.
3182
3183 2007-09-14  Sven Herzberg  <sven@imendio.com>
3184
3185         Reviewed by George.
3186
3187         Don't maintain obsolete code, fixes:
3188         http://bugs.webkit.org/show_bug.cgi?id=15215
3189
3190         * platform/gdk/FontPlatformData.cpp: remove static
3191         FontPlatformData::list() (isn't used at any place)
3192
3193 2007-09-14  Sven Herzberg  <sven@imendio.com>
3194
3195         Reviewed by Adam Roben.
3196
3197         Don't use fontconfig types if necessary, fixes:
3198         http://bugs.webkit.org/show_bug.cgi?id=15203
3199
3200         * platform/gdk/FontPlatformData.cpp: don't use an FcBool to store the
3201         initialized state, use a plain c++ bool instead
3202
3203 2007-09-13  Brady Eidson  <beidson@apple.com>
3204
3205         Reviewed by Maciej
3206
3207         <rdar://problem/5480437> - No site icon at launch and related error messages
3208
3209         The error message was actually indicative of a larger bug that might've resulted in icons getting
3210         improperly pruned because they were never added to the set of retained page URLs.
3211
3212         To solve the no-icon-at-launch problem, we send the "didReceiveIcon:" delegate call for every page 
3213         load that has an icon, whether the icon comes in from network, from disk, or was already in ram
3214
3215         * loader/FrameLoader.cpp:
3216         (WebCore::FrameLoader::startIconLoader): Always send the didReceiveIcon delegate call when an icon's 
3217           image data is known
3218
3219         * loader/icon/IconDatabase.cpp:
3220         (WebCore::IconDatabase::retainIconForPageURL): Much more accurately track the set of retained pages by
3221           adding them when their retain count moves from 0 to 1
3222
3223         * loader/icon/PageURLRecord.h:
3224         (WebCore::PageURLRecord::retain): Correctly distinguish the "retain count just went from 0 to 1" case
3225           in the return value
3226
3227 2007-09-13  Brady Eidson  <beidson@apple.com>
3228
3229         Rubberstamped by Geoff and Maciej
3230
3231         Fix MSVC build warning due to out of range data in a char array
3232
3233         * loader/icon/IconDatabase.cpp:
3234         (WebCore::IconDatabase::defaultIcon): The buffer is now unsigned data
3235
3236         * platform/SharedBuffer.cpp:
3237         (WebCore::SharedBuffer::SharedBuffer): Add the "unsigned char*" c'tor
3238         * platform/SharedBuffer.h:
3239
3240 2007-09-13  Darin Adler  <darin@apple.com>
3241
3242         Reviewed by Oliver.
3243
3244         - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
3245           <input> elements with maxlength limit
3246
3247         * editing/Editor.h: Moved MarkedTextUnderline here and renamed it CompositionUnderline.
3248         Moved the rest of the marked text API here and used the term that will be more familiar
3249         to those on platforms other than Macintosh, "composition". This helps prevent confusion
3250         with the other kinds of mark -- the emacs "mark" and spelling/grammar marks. Also
3251         cleaned up the conditionals a bit for the Macintosh-specific parts of this header.
3252
3253         * editing/Editor.cpp:
3254         (WebCore::Editor::Editor): Updated for name change.
3255         (WebCore::Editor::clear): Added. To be called by FrameLoader::clear().
3256         (WebCore::Editor::insertTextWithoutSendingTextEvent): Removed code to make inserted
3257         text replace the marked text range -- we now deal with this explicitly by not
3258         calling this function to replace marked text. Also removed unneeded code that was
3259         specific to the use of this to replace the marked text.
3260         (WebCore::Editor::selectComposition): Renamed from selectMarkedText. Updated since
3261         the composition range is not stored as a Range.
3262         (WebCore::Editor::confirmComposition): Added. To be called when changing a composition
3263         into actual text. Unlike the old code path, deletes the composition first, then inserts
3264         the text, triggering the normal insertion code path and events. This is helpful because
3265         it means the inserted text will be truncated by the <input> element, for example.
3266         (WebCore::Editor::confirmCompositionWithoutDisturbingSelection): Added.
3267         (WebCore::Editor::setComposition): Added. To be called when changing the composition.
3268         Takes parameters for the underlines and selection. Unlike the old code path, this passes
3269         a flag down that indicates the inserted text is part of a composition. This is helpful
3270         because we don't send the event that will cause the <input> element to do truncation.
3271         It's also a better API for future improvements to our input method handling.
3272         (WebCore::Editor::revealSelectionAfterEditingOperation): Updated for name change.
3273         (WebCore::Editor::setIgnoreCompositionSelectionChange): Ditto.
3274         (WebCore::Editor::compositionRange): Added. Needed now that the composition is not
3275         stored as a Range.
3276         (WebCore::Editor::getCompositionSelection): Added.
3277
3278         * editing/TypingCommand.h:
3279         * editing/TypingCommand.cpp: (WebCore::TypingCommand::insertText):
3280         Added an insertedTextIsComposition parameter, and don't send the BeforeTextInsertedEvent
3281         if it's true.
3282
3283         * loader/FrameLoader.cpp: (WebCore::FrameLoader::clear): Replaced the Macintosh-specific
3284         call to setMarkedTextRange with a call to the new Editor::clear().
3285
3286         * page/Frame.h:
3287         * page/Frame.cpp:
3288         * page/FramePrivate.h:
3289         * page/mac/FrameMac.mm:
3290         Removed the marked text code. It was streamlined and moved to Editor, except for the
3291         Mac-specific code, which was moved into WebKit.
3292
3293         * page/mac/WebCoreFrameBridge.h:
3294         * page/mac/WebCoreFrameBridge.mm: Removed some now-unneeded marked text code.
3295         (-[WebCoreFrameBridge markedTextNSRange]): Updated for name/API change.
3296
3297         * rendering/InlineTextBox.h:
3298         * rendering/InlineTextBox.cpp:
3299         (WebCore::InlineTextBox::paint): Updated marked text code for name changes, and also
3300         streamlined the code a bit for the case where there is no composition.
3301         (WebCore::InlineTextBox::paintCompositionBackground): Name change.
3302         (WebCore::InlineTextBox::paintCompositionUnderline): Ditto.
3303
3304         * rendering/RenderTextControl.h:
3305         * rendering/RenderTextControl.cpp:
3306         (WebCore::RenderTextControl::finishText): Added. Helper function shared by the
3307         (WebCore::RenderTextControl::text):
3308         (WebCore::getNextSoftBreak):
3309         (WebCore::RenderTextControl::textWithHardLineBreaks):
3310
3311         * platform/CharacterNames.h: Added newlineCharacter.
3312
3313         * dom/Range.h: Remove the now-unneeded version of toString that converts <br>
3314         elements into newlines.
3315         * dom/Range.cpp:
3316         (WebCore::Range::toString): Changed this to use a Vector<UChar> instead of
3317         a String so it will not have pathological reallocation performance, and removed
3318         the <br> feature.
3319         (WebCore::Range::pastEndNode): Made this return 0 when there is no start node.
3320         This bit of extra robustness guarantees you can't do a null dereference if the
3321         start node is 0 and the end node is not. Not sure this case really exists.
3322
3323         * page/ContextMenuController.cpp: (ContextMenuController::contextMenuItemSelected):
3324         Removed a semi-bogus use of Range::toString(true). The right function to use here
3325         is plainText().
3326
3327         * bridge/EditorClient.h: Removed obsolete markedTextAbandoned function.
3328
3329         * WebCore.exp: Updated for above changes. 
3330
3331 2007-09-13  Anders Carlsson  <andersca@apple.com>
3332
3333         Reviewed by Adam and Geoff.
3334
3335         <rdar://problem/5304000>
3336         Windows Safari doesn't always call NPP_SetWindow() for NPAPI plugins.
3337         
3338         This does two things:
3339         
3340         1. Makes sure that the plug-in get the correct initial size.
3341         
3342         2. Always updates the size of the HWND, even if the widget size didn't change. This is because
3343         the widget size can be different before the HWND has been created.
3344         
3345         * plugins/win/PluginDatabaseWin.cpp:
3346         (WebCore::PluginDatabaseWin::createPluginView):
3347         * plugins/win/PluginDatabaseWin.h:
3348         * plugins/win/PluginViewWin.cpp:
3349         (WebCore::PluginViewWin::setFrameGeometry):
3350         (WebCore::PluginViewWin::PluginViewWin):
3351         * plugins/win/PluginViewWin.h:
3352
3353 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
3354
3355         Reviewed by Geof, Sam, Adam, Hyatt, Darin.
3356
3357         - <rdar://problem/5480234> JS setTimeout function requires a second argument
3358         - Removed check for number of arguments in setTimeout to behave like other browsers.
3359         - Added layoutTest setTimeout-no-arguments.html
3360
3361         * bindings/js/kjs_window.cpp:
3362         (KJS::WindowFunc::callAsFunction):
3363
3364 2007-09-13   Dave Hyatt  <hyatt@apple.com>
3365
3366         Some minor Windows font improvements before I make the larger changes.
3367         
3368         Reviewed by aroben, weinig
3369
3370         * platform/win/FontCacheWin.cpp:
3371         (WebCore::FontCache::getFontDataForCharacters):
3372         Don't use the currently selected font in the HDC when passing priority code pages to MLANG.  Make
3373         sure to use ACP code pages instead so that there won't be any confusion regarding traditional vs.
3374         simplified chinese, etc.
3375
3376         * platform/win/FontDataWin.cpp:
3377         (WebCore::FontData::containsCharacters):
3378         Rewrite containsCharacters so that it isn't glyph-dependent (since CG doesn't shape, this call is
3379         rejecting fonts that it shouldn't).  Re-implement this method in terms of MLang and use code page
3380         testing.
3381         
3382         * platform/win/UniscribeController.cpp:
3383         (WebCore::UniscribeController::itemizeShapeAndPlace):
3384         Add some comments to explain the additional item in the items array.
3385        
3386         (WebCore::UniscribeController::shape):
3387         Fix up the missing glyph check when doing uniscribe shaping.  Only wgDefault matters as far as doing
3388         font fallback.
3389         
3390 2007-09-13  kuchhal  <kuchhal@yahoo.com>
3391
3392         Reviewed, tweaked and landed by Anders.
3393
3394         <rdar://problem/5461153> 
3395         http://bugs.webkit.org/show_bug.cgi?id=15143
3396         Crash seen on Windows
3397         
3398         Null check frame before calling Frame::settings.
3399         
3400         * loader/PluginDocument.cpp:
3401         (WebCore::PluginTokenizer::writeRawData):
3402
3403 2007-09-12  Holger Hans Peter Freyther  <zecke@selfish.org>
3404
3405         Reviewed by Mark.
3406
3407         Implement the FileChooser for the WebKit/Gtk+ port by using
3408         the GtkFileChooserDialog and g_path_get_basename to get the
3409         basename for the current filename.
3410
3411
3412         * WebCore.pro:
3413         * platform/gdk/FileChooserGdk.cpp: Added.
3414         (WebCore::FileChooser::FileChooser):
3415         (WebCore::FileChooser::~FileChooser):
3416         (WebCore::FileChooser::openFileChooser):
3417         (WebCore::FileChooser::basenameForWidth):
3418         * platform/gdk/TemporaryLinkStubs.cpp:
3419
3420 2007-09-12  Holger Hans Peter Freyther  <zecke@selfish.org>
3421
3422         Reviewed by Mark.
3423
3424         Move the "string" functions from the TemporaryLinkStubs.cpp
3425         to LocalizedStringsGdk.cpp and implement them using the text
3426         from the win port and glib-i18n (gettext).
3427
3428         * platform/gdk/LocalizedStringsGdk.cpp: Added.
3429         (WebCore::submitButtonDefaultLabel):
3430         (WebCore::inputElementAltText):
3431         (WebCore::resetButtonDefaultLabel):
3432         (WebCore::searchableIndexIntroduction):
3433         (WebCore::fileButtonChooseFileLabel):
3434         (WebCore::fileButtonNoFileSelectedLabel):
3435         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
3436         (WebCore::contextMenuItemTagDownloadLinkToDisk):
3437         (WebCore::contextMenuItemTagCopyLinkToClipboard):
3438         (WebCore::contextMenuItemTagOpenImageInNewWindow):
3439         (WebCore::contextMenuItemTagDownloadImageToDisk):
3440         (WebCore::contextMenuItemTagCopyImageToClipboard):
3441         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
3442         (WebCore::contextMenuItemTagCopy):
3443         (WebCore::contextMenuItemTagGoBack):
3444         (WebCore::contextMenuItemTagGoForward):
3445         (WebCore::contextMenuItemTagStop):
3446         (WebCore::contextMenuItemTagReload):
3447         (WebCore::contextMenuItemTagCut):
3448         (WebCore::contextMenuItemTagPaste):
3449         (WebCore::contextMenuItemTagNoGuessesFound):
3450         (WebCore::contextMenuItemTagIgnoreSpelling):
3451         (WebCore::contextMenuItemTagLearnSpelling):
3452         (WebCore::contextMenuItemTagSearchWeb):
3453         (WebCore::contextMenuItemTagLookUpInDictionary):
3454         (WebCore::contextMenuItemTagOpenLink):
3455         (WebCore::contextMenuItemTagIgnoreGrammar):
3456         (WebCore::contextMenuItemTagSpellingMenu):
3457         (WebCore::contextMenuItemTagShowSpellingPanel):
3458         (WebCore::contextMenuItemTagCheckSpelling):
3459         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
3460         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
3461         (WebCore::contextMenuItemTagFontMenu):
3462         (WebCore::contextMenuItemTagBold):
3463         (WebCore::contextMenuItemTagItalic):
3464         (WebCore::contextMenuItemTagUnderline):
3465         (WebCore::contextMenuItemTagOutline):
3466         (WebCore::contextMenuItemTagWritingDirectionMenu):
3467         (WebCore::contextMenuItemTagDefaultDirection):
3468         (WebCore::contextMenuItemTagLeftToRight):
3469         (WebCore::contextMenuItemTagRightToLeft):
3470         (WebCore::contextMenuItemTagInspectElement):
3471         (WebCore::searchMenuNoRecentSearchesText):
3472         (WebCore::searchMenuRecentSearchesText):
3473         (WebCore::searchMenuClearRecentSearchesText):
3474         (WebCore::unknownFileSizeText):
3475         * platform/gdk/TemporaryLinkStubs.cpp:
3476
3477 2007-09-10  Holger Hans Peter Freyther  <zecke@selfish.org>
3478
3479         Reviewed by Mark.
3480
3481         EventHandlerGdk::createDraggingClipboard must succeed otherwise an
3482         ASSERT is hit. Add Clipboard stubs for the Gdk/Gtk+ port and
3483         instantiate ClipboardGdk from the EventHandlerGdk to make the ASSERT
3484         go away. In contrast to the Windows and Mac port this clipboard is not
3485         inheriting CachedResourceClient. This was proposed by Oliver.
3486
3487         * WebCore.pro:
3488         * page/gdk/EventHandlerGdk.cpp:
3489         * platform/gdk/ClipboardGdk.cpp: Added.
3490         (WebCore::ClipboardGdk::ClipboardGdk):
3491         (WebCore::ClipboardGdk::~ClipboardGdk):
3492         (WebCore::ClipboardGdk::clearData):
3493         (WebCore::ClipboardGdk::clearAllData):
3494         (WebCore::ClipboardGdk::getData):
3495         (WebCore::ClipboardGdk::setData):
3496         (WebCore::ClipboardGdk::types):
3497         (WebCore::ClipboardGdk::dragLocation):
3498         (WebCore::ClipboardGdk::dragImage):
3499         (WebCore::ClipboardGdk::setDragImage):
3500         (WebCore::ClipboardGdk::dragImageElement):
3501         (WebCore::ClipboardGdk::setDragImageElement):
3502         (WebCore::ClipboardGdk::createDragImage):
3503         (WebCore::ClipboardGdk::declareAndWriteDragImage):
3504         (WebCore::ClipboardGdk::writeURL):
3505         (WebCore::ClipboardGdk::writeRange):
3506         (WebCore::ClipboardGdk::hasData):
3507         * platform/gdk/ClipboardGdk.h: Added.
3508
3509 2007-09-12  Oliver Hunt  <oliver@apple.com>
3510
3511         Reviewed by Adam.
3512
3513         Corrections missed in previous revision
3514
3515         * platform/Cursor.h:
3516         * platform/win/CursorWin.cpp:
3517         (WebCore::loadCursorByName):
3518
3519 2007-09-12  Oliver Hunt  <oliver@apple.com>
3520
3521         Reviewed by Adam.
3522
3523         Fixing 
3524             <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
3525             <rdar://problem/5224996> Add zoom in and zoom out cursors
3526
3527         Added SharedCursor for CursorWin so we can correctly track lifetime of custom/image
3528         based cursors, such as the vertical text and zooming cursors.
3529
3530         * platform/Cursor.h:
3531         (WebCore::SharedCursor::SharedCursor):
3532         (WebCore::SharedCursor::~SharedCursor):
3533         (WebCore::SharedCursor::nativeCursor):
3534         * platform/win/CursorWin.cpp:
3535         (WebCore::Cursor::Cursor):
3536         (WebCore::loadCursorByName):
3537         (WebCore::loadSharedCursor):
3538         (WebCore::pointerCursor):
3539         (WebCore::crossCursor