4138e2f0b46278fd24794e717d18f5ead6625868
[WebKit-https.git] / WebKit / win / ChangeLog
1 2007-11-14  Adam Roben  <aroben@apple.com>
2
3         Another build fix for systems without Cygwin in their PATH
4
5         * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
6         Post-Build Event.
7
8 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
9
10         Reviewed by Adam.
11
12         - Make Drosera show source, source URLs, and function stack on Windows
13         and some minor fixes.
14
15         * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
16         properly before being returned, and changed functionName() to check for
17         Null or if the name is empty.
18         (EnumScopes::Clone):
19         (WebScriptCallFrame::WebScriptCallFrame):
20         (WebScriptCallFrame::createInstance):
21         (WebScriptCallFrame::caller):
22         (WebScriptCallFrame::functionName):
23         * WebScriptCallFrame.h: Ditto
24         * WebScriptDebugServer.cpp: Made the listenerSet static since we were
25         already treating it as if it were. Removed the EnumViews stuff.  This
26         was added by Steve to demonstrate DCOM and he thought it would be needed
27         by Drosera, but I don't believe it will be.
28         Implemented suspendProcessIfPaused() also added calls to it at the end
29         of several functions to ensure we pause if Drosera has told WebKit to.
30         (WebScriptDebugServer::WebScriptDebugServer):
31         (WebScriptDebugServer::sharedWebScriptDebugServer):
32         (WebScriptDebugServer::addListener):
33         (WebScriptDebugServer::removeListener):
34         (WebScriptDebugServer::suspendProcessIfPaused):
35         (WebScriptDebugServer::didLoadMainResourceForDataSource):
36         (WebScriptDebugServer::didParseSource):
37         (WebScriptDebugServer::failedToParseSource):
38         (WebScriptDebugServer::didEnterCallFrame):
39         (WebScriptDebugServer::willExecuteStatement):
40         (WebScriptDebugServer::willLeaveCallFrame):
41         (WebScriptDebugServer::exceptionWasRaised):
42         * WebScriptDebugServer.h: Ditto.
43         * WebScriptDebugger.cpp: The important change here is that leaveFrame()
44         is called before willLeaveCallFrame().  I think there is some EOL stuff
45         going on too.
46         - It was the implementing of these functions that allows source, the
47         source URLs and function stack to be displayed.
48         (WebScriptDebugger::callEvent):
49         (WebScriptDebugger::atStatement):
50         (WebScriptDebugger::returnEvent):
51         (WebScriptDebugger::exception):
52         (WebScriptDebugger::enterFrame):
53         (WebScriptDebugger::leaveFrame):
54         * WebView.cpp: Removed the EnumView functions.
55         (WebView::WebView):
56         (WebView::~WebView):
57
58 2007-11-13  Adam Roben  <aroben@apple.com>
59
60         Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
61
62         The bug was that multiple WebNodeHighlights would subclass the same
63         browser window, leading to infinite recursion within
64         SubclassedWndProc.
65
66         WebNodeHighlight is now a WindowMessageListener, and lets
67         WindowMessageBroadcaster handle subclassing the window.
68
69         Reviewed by Ada.
70
71         * WebNodeHighlight.cpp:
72         (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
73         member.
74         (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
75         m_observedWindow.
76         (WebNodeHighlight::highlight): Register as a listener.
77         (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
78         done in SubclassedWndProc.
79         * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
80         and renamed m_subclassedWindow to m_observedWindow.
81
82 2007-11-13  Adam Roben  <aroben@apple.com>
83
84         Build fix for systems that don't have Cygwin in their PATH
85
86         * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
87         trying to run bash.
88
89 2007-11-13  Steve Falkenburg  <sfalken@apple.com>
90
91         Add IDOMElementPrivate::font() to get an element's font
92         as a WebFontDescription.
93         
94         Reviewed by Darin.
95
96         * DOMCoreClasses.cpp:
97         (DOMElement::font):
98         * DOMCoreClasses.h:
99         * Interfaces/DOMPrivate.idl:
100
101 2007-11-12  Adam Roben  <aroben@apple.com>
102
103         Windows build fix
104
105         * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
106         * WebKit.vcproj/WebKit_debug.def: Ditto.
107
108 2007-11-09  Jon Honeycutt  <jhoneycutt@apple.com>
109
110         Reviewed by Sam.
111
112         <rdar://5585900>: Safari crashes when selected in context menu to open
113         audio format files (au, aif) with QT 7.3
114
115         The crash occurred on a machine where QT 7.3 was failing to initialize.
116         The fix is to avoid sending streams to full-page plugins that've failed 
117         to load
118
119         * WebFrame.cpp:
120         (WebFrame::finishedLoading): Check plugin status before calling manual
121         stream methods
122         (WebFrame::setMainDocumentError): Same
123         (WebFrame::committedLoad): Same
124
125 2007-11-09  Sam Weinig  <sam@webkit.org>
126
127         Rubber stamped by Oliver.
128
129         Make WebCore a dependency of Interfaces.
130
131         * WebKit.vcproj/WebKit.sln:
132
133 2007-11-04  Sam Weinig  <sam@webkit.org>
134
135         Reviewed by Adam Roben.
136
137         <rdar://problem/5435940>
138         The COM bindings for the DOM should be autogenerated like the other DOM bindings
139
140         Initial commit of the autogeneration of the COM DOM Bindings.  No behavior change
141         is being introduced in this patch and to insure that no conflicts arise, a temporary
142         prefix of "GEN_" has been used for all the new classes.
143
144         The build architecture for these bindings differs slightly from the other autogenerated
145         bindings.  Instead of building in WebCore and migrating the resuting code to WebKit (as
146         is done for the Objective-C bindigs currently), the IDLs and generation scripts are
147         migrated to WebKit and built there.  This is done with a series of scripts and Makefiles.
148
149         This commit includes:
150             - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
151               and ref-counting.
152             - Generating all of the Core DOM and most of HTML and CSS
153             - Generating Event, EventTarget, and EventListener
154
155         * DOMCreateInstance.cpp: Added.
156         (domWrapperCache):
157         (getDOMWrapper):
158         (setDOMWrapper):
159         (removeDOMWrapper):
160         (GEN_DOMNode::createInstance):
161         (GEN_DOMImplementation::createInstance):
162         (GEN_DOMCSSRule::createInstance):
163         (GEN_DOMStyleSheet::createInstance):
164         (GEN_DOMCSSValue::createInstance):
165         * DOMCreateInstance.h: Added.
166         Temporary location for createInstance/object caching methods.  This will be broken up
167         into seperate files in the near future.
168
169         * GEN_DOMObject.cpp: Added.
170         (GEN_DOMObject::GEN_DOMObject):
171         (GEN_DOMObject::~GEN_DOMObject):
172         (GEN_DOMObject::QueryInterface):
173         (GEN_DOMObject::AddRef):
174         (GEN_DOMObject::Release):
175         * GEN_DOMObject.h: Added.
176         Hand rolled base class.
177
178         * Interfaces/IGEN_DOMObject.idl: Added. 
179         Hand rolled base interface.
180
181         * WebKit.vcproj/DerivedSources.make: Added.
182         * WebKit.vcproj/FixMIDLHeaders.pl: Added.
183         This script is required because MIDL is producing un-buildable code due to
184         circular dependencies.
185
186         * WebKit.vcproj/Interfaces.vcproj:
187         * WebKit.vcproj/WebKit.vcproj:
188         * WebKit.vcproj/WebKitGUID.vcproj:
189         * WebKit.vcproj/build-generated-files.sh: Added.
190
191 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
192
193         Reviewed by Adam.
194
195         - This patch does two main things.
196         1) It adds pragma warning guards around WebCore includes in WebKit files
197         that were previously overlooked.
198         2) It implements almost the entireity of WebScriptDebugger.  Only one
199         function remains and that implementation is dependent on finishing the
200         implementation of WebScriptScope.
201
202         * WebScriptCallFrame.h:
203         * WebScriptDebugServer.h:
204         * WebScriptDebugger.cpp:
205         (WebScriptDebugger::WebScriptDebugger):
206         (WebScriptDebugger::sourceParsed):
207         (WebScriptDebugger::callEvent):
208         (WebScriptDebugger::atStatement):
209         (WebScriptDebugger::returnEvent):
210         (WebScriptDebugger::exception):
211         (WebScriptDebugger::enterFrame):
212         (WebScriptDebugger::leaveFrame):
213         * WebScriptDebugger.h:
214
215 2007-11-08  Steve Falkenburg  <sfalken@apple.com>
216
217         <rdar://problem/5491463> Wrong dates shown in History menu.
218         
219         Fix off-by-one error in Windows epoch.
220         
221         For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
222         DATE is the number of days since 12/30/1899.
223         
224         Reviewed by Ada.
225
226         * MarshallingHelpers.cpp:
227         (MarshallingHelpers::windowsEpochAbsoluteTime):
228
229 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
230
231         Reviewed by Sam.
232
233         - With this change Drosera can now get the source of a website and the
234         listings of the sources it gets.  This also lays the foundation for
235         letting Drosera show the scope chain of the JavaScript stack.
236
237         * Interfaces/IWebFrame.idl: Changed the signature of the local function,
238         globalContext(), because COM was unable to marshal this object with the
239         other signature.
240         * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
241         a listener cannot be done in a const function.
242         * WebChromeClient.h: Added accessor to the WebView for the new added
243         kit() function in WebFrame.
244         (WebChromeClient::webView):
245         * WebFrame.cpp: Added a script debugger object and the necessary
246         functions to attach and communicate with it. Also needed to change the
247         local function, globalContext(), because of a COM issue.
248         (kit):
249         (WebFrame::WebFrame):
250         (WebFrame::globalContext):
251         (WebFrame::loadData):
252         (WebFrame::attachScriptDebugger):
253         (WebFrame::detachScriptDebugger):
254         (WebFrame::dispatchDidLoadMainResource):
255         (WebFrame::windowObjectCleared):
256         * WebFrame.h: Ditto.
257         * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
258         some source code to display.
259         (WebHTMLRepresentation::WebHTMLRepresentation):
260         (WebHTMLRepresentation::documentSource):
261         * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
262         * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
263         (EnumScopes::EnumScopes): Made an EnumScopes class to create an
264         IEnumVARIANT to wrap a ScopeChain for Drosera.
265         (EnumScopes::QueryInterface):
266         (EnumScopes::AddRef):
267         (EnumScopes::Release):
268         (EnumScopes::Next):
269         (EnumScopes::Skip):
270         (EnumScopes::Reset):
271         (EnumScopes::Clone):
272         (WebScriptCallFrame::caller):
273         (WebScriptCallFrame::scopeChain):
274         (WebScriptCallFrame::functionName):
275         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
276         * WebScriptCallFrame.h: Added member data needed for the above functions
277         * WebScriptDebugServer.cpp: Began implementing. 
278         (WebScriptDebugServer::listenerCount):
279         (EnumViews::QueryInterface):
280         (EnumViews::AddRef):
281         (EnumViews::Release):
282         (EnumViews::Next):
283         (EnumViews::Skip):
284         (EnumViews::Reset):
285         (EnumViews::Clone):
286         (WebScriptDebugServer::WebScriptDebugServer):
287         (WebScriptDebugServer::createInstance):
288         (WebScriptDebugServer::sharedWebScriptDebugServer):
289         (WebScriptDebugServer::AddRef):
290         (WebScriptDebugServer::Release):
291         (WebScriptDebugServer::addListener):
292         (WebScriptDebugServer::removeListener):
293         (WebScriptDebugServer::step):
294         (WebScriptDebugServer::pause):
295         (WebScriptDebugServer::resume):
296         (WebScriptDebugServer::isPaused):
297         (WebScriptDebugServer::suspendProcessIfPaused):
298         (WebScriptDebugServer::didLoadMainResourceForDataSource):
299         (WebScriptDebugServer::didParseSource):
300         (WebScriptDebugServer::failedToParseSource):
301         (WebScriptDebugServer::didEnterCallFrame):
302         (WebScriptDebugServer::willExecuteStatement):
303         (WebScriptDebugServer::willLeaveCallFrame):
304         (WebScriptDebugServer::exceptionWasRaised):
305         * WebScriptDebugServer.h: Began implementing.
306         * WebScriptDebugger.cpp: Added.
307         (WebScriptDebugger::WebScriptDebugger):
308         (WebScriptDebugger::sourceParsed):
309         * WebScriptDebugger.h: Added.
310         * WebScriptScope.cpp: Make this class use createInstance which is more
311         in line with our guidelines.
312         (WebScriptScope::WebScriptScope):
313         (WebScriptScope::createInstance):
314         * WebScriptScope.h:
315
316
317 2007-11-07  Darin Adler  <darin@apple.com>
318
319         Reviewed by Steve.
320
321         * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
322         * WebChromeClient.cpp:
323         (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
324         here by calling through the UI delegate.
325         (WebChromeClient::menubarVisible): Ditto.
326         (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
327
328 2007-11-07  Steve Falkenburg  <sfalken@apple.com>
329
330         Added IWebDocumentText available via QI from WebFrame.
331         
332         Reviewed by Sam.
333
334         * WebFrame.cpp:
335         (WebFrame::QueryInterface): Added IID_IWebDocumentText.
336         (WebFrame::supportsTextEncoding): Stubbed out.
337         (WebFrame::selectedString): Implemented.
338         (WebFrame::selectAll): Stubbed out.
339         (WebFrame::deselectAll): Stubbed out.
340         * WebFrame.h:
341
342 2007-11-07  Adam Roben  <aroben@apple.com>
343
344         Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
345
346         Reviewed by Sam.
347
348         * WebView.cpp:
349         (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
350         Page, not just the first one.
351
352 2007-11-06  Adam Roben  <aroben@apple.com>
353
354         Change WebLocalizableStrings to take UTF-8 C strings
355
356         This matches the way things work on the Mac, and will allow source
357         files containing localizable strings to be shared between Mac and
358         Windows. The old functions have not been removed for compatibility
359         reasons, but are now just wrappers around the new UTF-8 functions.
360
361         Reviewed by Ada.
362
363         * WebKit.vcproj/WebKit.def: Added new functions.
364         * WebKit.vcproj/WebKit_debug.def: Ditto.
365         * WebLocalizableStrings.cpp:
366         (copyLocalizedStringFromBundle): Changed to take a WebCore::String
367         representing the key.
368         (localizedString): Refactored from WebLocalizedString. Takes a
369         WebCore::String representing the key.
370         (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
371         (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
372         (WebLocalizedLPCTSTRUTF8): Ditto.
373         (WebLocalizedString): Changed to call localizedString.
374         (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
375         * WebLocalizableStrings.h: Changed macros to use the new UTF-8
376         functions.
377
378 2007-11-06  Darin Adler  <darin@apple.com>
379
380         Reviewed by Adam and Steve.
381
382         - added hooks needed to implement showModalDialog on Windows
383
384         * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
385         and runModal functions to the end of IWebUIDelegate3.
386
387         * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
388         so it's easier to write client functions.
389         * WebChromeClient.cpp:
390         (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
391         (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
392         (WebChromeClient::runModal): Ditto.
393         (WebChromeClient::uiDelegate): Added.
394         (WebChromeClient::uiDelegate2): Added.
395         (WebChromeClient::uiDelegate3): Added.
396
397 2007-11-06  Alexey Proskuryakov  <ap@webkit.org>
398
399         Rubber-stamped by Adam Roben.
400
401         Windows build fix.
402
403         * WebFrame.cpp:
404         (WebFrame::string): plainText() returns a String now.
405
406 2007-11-05  Ada Chan  <adachan@apple.com>
407
408         <rdar://problem/5579772> Regression: AltGr does not work
409         Testing whether alt-key is down is not the right test for system key event.
410         Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
411         this is a system key event, check that flag instead in handleEditingKeyboardEvent().
412
413         Reviewed by Oliver.
414
415         * WebView.cpp:
416         (WebView::keyUp):
417         (WebView::handleEditingKeyboardEvent):
418         (WebView::keyDown):
419         (WebViewWndProc):
420         * WebView.h:
421
422 2007-11-05  Ada Chan  <adachan@apple.com>
423
424         Build fix.
425
426         Reviewed by Tristan.
427
428         * WebChromeClient.h:
429
430 2007-11-05  Tristan O'Tierney  <tristan@apple.com>
431
432         Reviewed by Darin Adler.
433         
434         Part of the WebKit/WebCore API changes for
435         <rdar://problem/5368188>
436
437         * WebChromeClient.cpp:
438         (WebChromeClient::createWindow):
439         Removed usage of createModalDialog and revised to use new createWindow
440         ChromeClient API.
441
442 2007-11-04  Adam Roben  <aroben@apple.com>
443
444         Add IWebCache::disabled
445
446         This matches the Mac WebCache class.
447
448         Reviewed by Sam.
449
450         * Interfaces/IWebCache.idl:
451         * WebCache.cpp:
452         (WebCache::disabled):
453         * WebCache.h:
454
455 2007-11-04  Adam Roben  <aroben@apple.com>
456
457         Add IWebInspector and a way to get one from a WebView
458
459         This API matches the Mac one added in r27266.
460
461         Reviewed by Sam.
462
463         * Interfaces/IWebInspector.idl: Added.
464         * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
465         match Mac.
466         * WebInspector.cpp: Added.
467         (WebInspector::createInstance):
468         (WebInspector::WebInspector):
469         (WebInspector::~WebInspector):
470         (WebInspector::webViewClosed):
471         (WebInspector::QueryInterface):
472         (WebInspector::AddRef):
473         (WebInspector::Release):
474         (WebInspector::show):
475         (WebInspector::showConsole):
476         (WebInspector::showTimeline):
477         (WebInspector::close):
478         (WebInspector::attach):
479         (WebInspector::detach):
480         * WebInspector.h: Added.
481         * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
482         * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
483         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
484         * WebView.cpp:
485         (WebView::close): Notify the WebInspector that we're closing.
486         (WebView::inspector): Added.
487         * WebView.h:
488
489 2007-11-04  Adam Roben  <aroben@apple.com>
490
491         Cache strings that come directly from WebLocalizedString
492
493         Reviewed by Steve.
494
495         * WebLocalizableStrings.cpp:
496         (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
497         but is now just a static helper function.
498         (findCachedStringInMap): Added static helper.
499         (findCachedString): Refactored and cleaned up code from
500         WebLocalizedLPCTSTR.
501         (cacheString): Ditto.
502         (WebLocalizedString): Rewrote to use the new helper functions.
503         (WebLocalizedLPCTSTR): Changed to use the new helper functions.
504
505 2007-11-03  Adam Roben  <aroben@apple.com>
506
507         Only override the default user agent string if we're actually given a custom one
508
509         Reviewed by Sam.
510
511         * WebView.cpp:
512         (WebView::setCustomUserAgent):
513
514 2007-11-01  Oliver Hunt  <oliver@apple.com>
515
516         Reviewed by Alexey.
517
518         Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
519
520         * WebView.cpp:
521         (WebView::keyDown):
522         (WebView::keyUp):
523
524 2007-11-01  Kevin McCullough  <kmccullough@apple.com>
525
526         - Fixed a build failure
527
528         * WebEditorClient.cpp:
529         (WebEditorClient::textWillBeDeletedInTextField):
530
531 2007-11-01  Adam Roben  <aroben@apple.com>
532
533         Fix the parameter type of WebLocalizedString to match the UI_STRING macro
534
535         Reviewed by Sam.
536
537         * WebLocalizableStrings.cpp:
538         (WebLocalizedString):
539         (WebLocalizedLPCTSTR):
540         * WebLocalizableStrings.h:
541
542 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
543
544         Rubber-stamped by Adam Roben.
545
546         Rolled out r27326 - debug CRT seems to cause no problems after all.
547
548         * WebKit.vcproj/WebKit.vcproj:
549
550 2007-10-31  Adam Roben  <aroben@apple.com>
551
552         Switch the Debug configuration to using the non-debug CRT
553
554         The debug CRT conflicts with what Safari uses, which causes loading
555         problems.
556
557         Reviewed by Steve.
558
559         * WebKit.vcproj/WebKit.vcproj:
560
561 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
562
563         Reviewed by Adam and Geoff.
564
565         - Added the globalContext method so Drosera can ask a WebFrame for its
566         context.
567
568         * Interfaces/IWebFrame.idl:
569         * WebFrame.cpp:
570         * WebFrame.h:
571
572 2007-10-30  Adele Peterson  <adele@apple.com>
573
574         Reviewed by Darin.
575
576         WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
577         <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
578
579         * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
580
581 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
582
583         Reviewed by Adam and Maciej.
584
585         - Added the IWebScriptScope interface which is used by Drosera to get
586         information and run contextually significant code with respect to the
587         current JS stack frame.
588
589         * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
590         but the real changes were to change the return type of scopeChain() and
591         the return type and name of evaluateWebScript() to
592         stringByEvaluatingJavaScriptFromString().
593         * Interfaces/IWebScriptScope.idl: Added.
594         * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
595         * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
596         * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
597         * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
598         asserted so it would be obvious if I accidentally try to use one of
599         these functions before it's implemented.
600         (WebScriptCallFrame::caller):
601         (WebScriptCallFrame::scopeChain):
602         (WebScriptCallFrame::functionName):
603         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
604         * WebScriptCallFrame.h: Changed the return types mentioned above.
605         * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
606         (WebScriptDebugServer::addListener):
607         (WebScriptDebugServer::removeListener):
608         (WebScriptDebugServer::step):
609         (WebScriptDebugServer::pause):
610         (WebScriptDebugServer::resume):
611         (WebScriptDebugServer::isPaused):
612         * WebScriptScope.cpp: Added.
613         (WebScriptScope::WebScriptScope):
614         (WebScriptScope::~WebScriptScope):
615         (WebScriptScope::QueryInterface):
616         (WebScriptScope::AddRef):
617         (WebScriptScope::Release):
618         (WebScriptScope::getVariableNames):
619         (WebScriptScope::getValueForVariable):
620         * WebScriptScope.h: Added.
621
622 2007-10-28  Darin Adler  <darin@apple.com>
623
624         - try to fix Windows build
625
626         * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
627         since we don't want to add !! everywhere, and because HashTable.h has a
628         conversion to bool of this type now.
629
630 2007-10-27  Kevin McCullough  <kmccullough@apple.com>
631
632         Reviewed by Adam.
633
634         - Stubbed out IWebScriptCallFrame for Drosera.
635
636         * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
637         * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
638         * WebScriptCallFrame.cpp: Added.
639         (WebScriptCallFrame::WebScriptCallFrame):
640         (WebScriptCallFrame::~WebScriptCallFrame):
641         (WebScriptCallFrame::createInstance):
642         (WebScriptCallFrame::QueryInterface):
643         (WebScriptCallFrame::AddRef):
644         (WebScriptCallFrame::Release):
645         (WebScriptCallFrame::caller):
646         (WebScriptCallFrame::scopeChain):
647         (WebScriptCallFrame::functionName):
648         (WebScriptCallFrame::evaluateWebScript):
649         * WebScriptCallFrame.h: Added.
650
651 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
652
653         Reviewed by Sam and Steve.
654
655         - Added convenience methods for converting between BSTR and JSSTringRefs
656         - Added WebKit_debug.def to the project.
657
658         * WebKit.vcproj/WebKit.def:
659         * WebKit.vcproj/WebKit.vcproj:
660         * WebKit.vcproj/WebKit_debug.def:
661
662 2007-10-25  Sam Weinig  <sam@webkit.org>
663
664         Reviewed by Adam Roben.
665
666         Make debug builds run again.
667
668         * WebView.cpp:
669         (WebView::notifyPreferencesChanged):
670
671 2007-10-25  Sam Weinig  <sam@webkit.org>
672
673         Reviewed by Adam Roben.
674
675         Remove JSStringRefCFHack.
676
677         * WebKit.vcproj/WebKit.vcproj:
678
679 2007-10-25  Sam Weinig  <sam@webkit.org>
680
681         Reviewed by Steve Falkenburg.
682
683         Fix for <rdar://problem/5463608>
684         Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache) 
685
686         * Interfaces/IWebPreferences.idl: 
687         Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
688
689         * Interfaces/IWebPreferencesPrivate.idl:
690         Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
691      
692         * WebFrame.cpp:
693         (WebFrame::didPerformFirstNavigation):
694         Implement based on the mac version.
695
696         * WebKit.vcproj/WebKit.vcproj:
697         * WebKitSystemBits.cpp: Added.
698         (WebMemorySize): Moved and renamed from WebPreferences.cpp
699         (WebVolumeFreeSize): Added.
700         * WebKitSystemBits.h: Added.
701         * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
702
703         * WebPreferences.cpp:
704         (WebPreferences::sharedStandardPreferences):
705         (WebPreferences::WebPreferences):
706         (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
707         (WebPreferences::webPreferencesChangedNotification):
708         (WebPreferences::webPreferencesRemovedNotification):
709         (WebPreferences::initWithIdentifier): Post a preferences change notification.
710         (WebPreferences::pageCacheSize): Deprecated.
711         (WebPreferences::objectCacheSize): Deprecated.
712         (WebPreferences::cacheModel): Added.
713         (WebPreferences::setCacheModel): Added.
714         (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
715         (WebPreferences::automaticallyDetectsCacheModel): Added.
716         (WebPreferences::willAddToWebView): Added.
717         (WebPreferences::didRemoveFromWebView): Added.
718         * WebPreferences.h:
719
720         * WebView.cpp:
721         (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
722         (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
723         (PreferencesChangedOrRemovedObserver::QueryInterface):
724         (PreferencesChangedOrRemovedObserver::AddRef):
725         (PreferencesChangedOrRemovedObserver::Release):
726         (PreferencesChangedOrRemovedObserver::sharedInstance):
727         (PreferencesChangedOrRemovedObserver::onNotify):
728         (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
729         (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
730         This singleton class updates static properties for all webviews when
731         preferenceChange or preferenceRemoved notifications are fired for
732         any WebPreference.
733         (WebView::WebView):
734         (WebView::~WebView):
735         (initializeStaticObservers):
736         (allWebViewsSet):
737         (WebView::addToAllWebViewsSet):
738         (WebView::removeFromAllWebViewsSet):
739         (WebView::setCacheModel):
740         (WebView::cacheModel):
741         (WebView::didSetCacheModel):
742         (WebView::maxCacheModelInAnyInstance):
743         (WebView::close):
744         (WebViewWndProc):
745         (WebView::developerExtrasEnabled):
746         (WebView::initWithFrame):
747         (WebView::setPreferences):
748         (WebView::preferences):
749         (WebView::onNotify):
750         (WebView::notifyPreferencesChanged):
751         (updateSharedSettingsFromPreferencesIfNeeded):
752         * WebView.h:
753         Match the macs behavior by using explicit postings of notifications to
754         update the preferences.
755
756 2007-10-25  Adam Roben  <aroben@apple.com>
757
758         Update WebKit.sln for the removal of Release dftables
759
760         Reviewed by NOBODY.
761
762         * WebKit.vcproj/WebKit.sln:
763
764 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
765
766         Rubber stamped by Geoff.
767
768         - Stubbed out the WebScriptDebugServer methods to give Drosera something
769         to connect to and now the signature of the interface matches the mac.
770
771         * Interfaces/IWebScriptDebugServer.idl:
772         * WebScriptDebugServer.cpp:
773         (WebScriptDebugServer::addListener):
774         (WebScriptDebugServer::removeListener):
775         (WebScriptDebugServer::step):
776         (WebScriptDebugServer::pause):
777         (WebScriptDebugServer::resume):
778         (WebScriptDebugServer::isPaused):
779         * WebScriptDebugServer.h:
780
781 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
782
783         Reviewed by Darin.
784
785         - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
786         scheme on the mac.
787
788         * Interfaces/IWebDebugProgram.idl: Removed.
789         * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
790         * Interfaces/WebKit.idl: 
791         * WebDebugProgram.cpp: Removed.
792         * WebDebugProgram.h: Removed.
793         * WebKit.vcproj/Interfaces.vcproj:
794         * WebKit.vcproj/WebKit.vcproj:
795         * WebKit.vcproj/WebKitGUID.vcproj:
796         * WebKitClassFactory.cpp:
797         (WebKitClassFactory::CreateInstance):
798         * WebKitDLL.cpp:
799         (RunAsLocalServer):
800         * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
801         (WebScriptDebugServer::WebScriptDebugServer):
802         (WebScriptDebugServer::~WebScriptDebugServer):
803         (WebScriptDebugServer::createInstance):
804         (WebScriptDebugServer::QueryInterface):
805         (WebScriptDebugServer::AddRef):
806         (WebScriptDebugServer::Release):
807         (WebScriptDebugServer::viewAdded):
808         (WebScriptDebugServer::viewRemoved):
809         (WebScriptDebugServer::attach):
810         (WebScriptDebugServer::detach):
811         (WebScriptDebugServer::statistics):
812         (WebScriptDebugServer::webViews):
813         * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
814         * WebView.cpp:
815         (WebView::WebView):
816         (WebView::~WebView):
817
818 2007-10-24  Adam Roben  <aroben@apple.com>
819
820         Fix <rdar://5549919> Initialize the font database before any font code is invoked
821
822         We initialize the database in two places:
823            1. When instantiating WebKitClassFactory, which is guaranteed to
824            happen before any WebView is instantiated.
825            2. When making a WebCore::Font in WebKitGraphics.
826
827         This ensures that the font database will be populated before any font
828         code is invoked. We rely on WebCore to only populate the database
829         once.
830
831         Reviewed by Ada.
832
833         * WebKitClassFactory.cpp:
834         (WebKitClassFactory::WebKitClassFactory): Populate the font database.
835         * WebKitGraphics.cpp:
836         (makeFont): Ditto.
837
838 2007-10-24  Adam Roben  <aroben@apple.com>
839
840         Add [I]WebTextRenderer
841
842         Right now this class can only be used to add private fonts for use by
843         the running process, but will eventually be the home of the
844         WebKitGraphics functions.
845
846         Reviewed by Ada.
847
848         * ForEachCoClass.h: Added WebTextRenderer.
849         * Interfaces/WebKit.idl: Ditto.
850         * WebKit.vcproj/Interfaces.vcproj: Ditto.
851         * WebKit.vcproj/WebKit.vcproj: Ditto.
852         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
853         * WebKitClassFactory.cpp: Ditto.
854         * WebTextRenderer.cpp: Added.
855         (WebTextRenderer::createInstance):
856         (WebTextRenderer::WebTextRenderer):
857         (WebTextRenderer::~WebTextRenderer):
858         (WebTextRenderer::QueryInterface):
859         (WebTextRenderer::AddRef):
860         (WebTextRenderer::Release):
861         (WebTextRenderer::registerPrivateFont):
862         * WebTextRenderer.h: Added.
863
864 2007-10-24  Adam Roben  <aroben@apple.com>
865
866         Use FOR_EACH_COCLASS in WebKitClassFactory
867
868         Reviewed by Ada.
869
870         * WebError.cpp:
871         (WebError::createInstance): Added an overload that takes no arguments
872         to make the macro used in WebKitClassFactory work.
873         * WebError.h:
874         * WebKitClassFactory.cpp:
875         (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
876
877 2007-10-24  Adam Roben  <aroben@apple.com>
878
879         Put FOR_EACH_COCLASS macro into its own file and export it
880
881         The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
882         This way we will be able to use the macro in more places that care
883         about all WebKit's COM classes.
884
885         Reviewed by Ada.
886
887         * ForEachCoClass.h: Added.
888         * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
889         WebKitOutputDir, and added it to the project.
890         * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
891         macros we pass to FOR_EACH_COCLASS after we're done with them.
892
893 2007-10-24  Ada Chan  <adachan@apple.com>
894
895         <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
896
897         Reviewed by Adam.
898
899         * WebView.cpp:
900         (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
901         (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
902         For WM_SYSCHAR message that we don't handle, let it stay in the queue and return 
903         false to let windows handle it.
904
905 2007-10-24  Brady Eidson  <beidson@apple.com>
906
907         Reviewed by Anders
908
909         Windows portion of <rdar://5554130> 
910         
911         Slowly introduce Windows WebKit portion of the Database API that sets the 
912         on-disk location for databases
913         
914         * WebDatabaseManager.cpp: Added.
915         (WebKitSetWebDatabasesPathIfNecessary):
916         * WebDatabaseManager.h: Added.
917         
918         * WebKit.vcproj/WebKit.vcproj:
919         
920         * WebView.cpp:
921         (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
922
923 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
924
925         Reviewed by Sam, Steve and Darin.
926
927         - Added stubs for what will be neede to let Drosera attach to the
928         WebKit process and debug it.
929
930         * Interfaces/IWebScriptCallFrame.idl: Added.
931         * Interfaces/IWebScriptDebugListener.idl: Added.
932         * Interfaces/WebKit.idl:
933         * WebKit.vcproj/Interfaces.vcproj:
934         * WebKit.vcproj/WebKitGUID.vcproj:
935
936 2007-10-23  Adam Roben  <aroben@apple.com>
937
938         Move safe file creation code to WebCore
939
940         Reviewed by Brady.
941
942         * WebPreferences.cpp:
943         (preferencesPath): Made into a static helper function.
944         (WebPreferences::save): Now calls WebCore's safeCreateFile function.
945         (WebPreferences::load): Uses String/CString to handle the UTF-8
946         conversion.
947         * WebPreferences.h: Removed preferencesPath and
948         safeCreateFileWithData.
949
950 2007-10-23  Adam Roben  <aroben@apple.com>
951
952         Reduce code duplication by using WebCore's FileSystem functions
953
954         Reviewed by Brady.
955
956         * WebIconDatabase.cpp: Removed a now-unused function and a fixed
957         FIXME.
958         (WebIconDatabase::init): Changed to use FileSystem functions.
959         * WebPreferences.cpp:
960         (WebPreferences::preferencesPath): Ditto.
961
962 2007-10-23  Sam Weinig  <sam@webkit.org>
963
964         Make the WebNotificationCenter work with null (wildcard) and specific
965         observed objects, matching NSNotificationCenter.
966
967         - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
968           hash against the notification name only and check the object on notification
969           posting.
970         - Use OwnPtr for the WebNotificationCenterPrivate member variable.
971
972         Reviewed by Adam Roben.
973
974         * WebNotificationCenter.cpp:
975         (WebNotificationCenter::WebNotificationCenter):
976         (WebNotificationCenter::~WebNotificationCenter):
977         (WebNotificationCenter::postNotificationInternal):
978         (WebNotificationCenter::addObserver):
979         (WebNotificationCenter::postNotification):
980         (WebNotificationCenter::postNotificationName):
981         (WebNotificationCenter::removeObserver):
982         * WebNotificationCenter.h:
983
984 2007-10-23  Ada Chan  <adachan@apple.com>
985
986         <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
987         Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
988         policy setting on the default cookie storage.  To fix that, I added a new method in
989         WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
990         options such as cookie accept policy, and it's only called to update changes from
991         the shared WebPreferences.
992         
993         Use CLSID_WebPreferences and remove IID_WebPreferences.
994
995         Reviewed by Darin and Adam.
996
997         * WebPreferences.cpp:
998         (WebPreferences::QueryInterface):
999         * WebPreferences.h:
1000         * WebView.cpp:
1001         (WebView::updateWebCoreSettingsFromPreferences):
1002         (WebView::updateGlobalSettingsFromPreferences):
1003         (WebView::updateSettingsFromPreferences):
1004         (WebView::developerExtrasEnabled):
1005         (WebView::initWithFrame):
1006         (WebView::onNotify):
1007         * WebView.h:
1008
1009 2007-10-18  Brady Eidson  <beidson@apple.com>
1010
1011         Reviewed by Anders
1012
1013         Keep windows building with new Chrome additions
1014
1015         * WebChromeClient.cpp:
1016         * WebChromeClient.h:
1017
1018 2007-10-18  Adam Roben  <aroben@apple.com>
1019
1020         Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
1021
1022         Reviewed by Adele.
1023
1024         * ProgIDMacros.h: Always use wide strings instead of relying on the
1025         TEXT macro.
1026
1027 2007-10-17  Adam Roben  <aroben@apple.com>
1028
1029         Fix for clean builds needed after r26683
1030
1031         Reviewed by NOBODY.
1032
1033         * WebView.cpp: Remove #include of non-existant file.
1034
1035 2007-10-17  Anders Carlsson  <andersca@apple.com>
1036
1037         Update for locking primitive changes.
1038
1039         * WebIconDatabase.cpp:
1040         (WebIconDatabase::scheduleNotificationDelivery):
1041
1042 2007-10-16  Adam Roben  <aroben@apple.com>
1043
1044         Remove WebKitInitializer
1045
1046         Reviewed by Sam.
1047
1048         * WebKit.vcproj/WebKit.sln:
1049
1050 2007-10-16  Adam Roben  <aroben@apple.com>
1051
1052         Add FindSafari
1053
1054         Reviewed by Darin.
1055
1056         * WebKit.vcproj/WebKit.sln:
1057
1058 2007-10-16  Adam Roben  <aroben@apple.com>
1059
1060         Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
1061
1062         This is needed so that we can stop having Safari delay-load WebKit,
1063         which in turn is needed so that Maciej can land a JavaScript speedup
1064         which breaks delay-loading.
1065
1066         Reviewed by Kevin McCullough.
1067
1068         * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
1069         of our DLL and module definition file.
1070         * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
1071         * WebKit.vcproj/debug_internal.vsprops: Ditto.
1072         * WebKit.vcproj/release.vsprops: Ditto.
1073
1074 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
1075
1076         Reviewed by Ollie.
1077
1078         <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
1079         MediaPlayer for the first time
1080
1081         Failure to setup the stream in PluginView::didReceiveResponse will lead,
1082         in a full-page plugin, to the main document load being cancelled. This
1083         is the case with at least two versions of Windows Media Player, which
1084         cancels the stream and brings up its own "Welcome to Windows Media
1085         Player" dialog.
1086         
1087         As part of the main document load cancellation, m_pluginView is set to
1088         null, and the crash came from dereferencing this pointer. This patch
1089         adds a null check.
1090
1091         * WebFrame.cpp:
1092         (WebFrame::finishedLoading): Fix some typos
1093         (WebFrame::committedLoad): Added a null check
1094
1095 2007-10-15  Alice Liu  <alice.liu@apple.com>
1096
1097         Reviewed by Sam Weinig.
1098
1099         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1100
1101         * DefaultPolicyDelegate.cpp: Added.
1102         Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
1103         (DefaultPolicyDelegate::DefaultPolicyDelegate):
1104         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
1105         (DefaultPolicyDelegate::sharedInstance):
1106         (DefaultPolicyDelegate::createInstance):
1107         (DefaultPolicyDelegate::QueryInterface):
1108         (DefaultPolicyDelegate::AddRef):
1109         (DefaultPolicyDelegate::Release):
1110         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1111         (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
1112         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1113         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1114         * DefaultPolicyDelegate.h: Added.
1115         * WebFrame.cpp:
1116         (WebFrame::dispatchDecidePolicyForNavigationAction):
1117         Implemented default action
1118         * WebKit.vcproj/WebKit.vcproj:
1119         Adding files to project
1120
1121 2007-10-12  Steve Falkenburg  <sfalken@apple.com>
1122
1123         Move pthreads up in the linker order and don't mark it for delay load.
1124         Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
1125         
1126         Reviewed by Darin, Ada.
1127
1128         * WebKit.vcproj/WebKit.vcproj:
1129
1130 2007-10-11  Steve Falkenburg  <sfalken@apple.com>
1131
1132         Delay load additional libraries to improve startup time.
1133         
1134         Reviewed by Darin, Ada.
1135
1136         * WebKit.vcproj/WebKit.vcproj:
1137
1138 2007-10-11  Ada Chan  <adachan@apple.com>
1139
1140         <rdar://problem/5534421>
1141         Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
1142         Removed usage of ResourceHandle::cookieStorage().
1143
1144         Reviewed by Oliver.
1145
1146         * WebView.cpp:
1147         (WebView::updateWebCoreSettingsFromPreferences):
1148         (WebView::initWithFrame):
1149
1150 2007-10-10  Alice Liu  <alice.liu@apple.com>
1151
1152         Reviewed by Geoff Garen.
1153
1154         Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
1155
1156         * WebFrame.cpp:
1157         (WebFrame::createFrame):
1158         The crash was caused by the early destruction of the subframe.  To resolve this issue, 
1159         the manual deref of the child frame that occurs in between being appended to the 
1160         frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed 
1161         to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of 
1162         child frames because this test case involves removing a child frame immediately after 
1163         loading it, all in an onload handler.  Even better than just moving the deref would be 
1164         to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't 
1165         necessary. This is what was done in this patch. 
1166         * WebFrame.h:
1167         createFrame() now returns a RefPtr instead of a raw Frame pointer. 
1168         Making this change improves the way we handle frames on Windows WebKit. 
1169
1170
1171 2007-10-05  Ada Chan  <adachan@apple.com>
1172
1173         <rdar://problem/5436617>
1174         Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
1175
1176         Reviewed by Brady.
1177
1178         * WebIconDatabase.cpp:
1179         (WebIconDatabase::delayDatabaseCleanup):
1180         (WebIconDatabase::allowDatabaseCleanup):
1181
1182 2007-10-04  Adele Peterson  <adele@apple.com>
1183
1184         * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
1185
1186 2007-10-04  Adele Peterson  <adele@apple.com>
1187
1188         Reviewed by Darin.
1189
1190         WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
1191
1192         * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
1193           and so that it can specify the focus direction.
1194         * WebView.h: ditto.
1195         * Interfaces/IWebViewPrivate.idl: ditto.
1196
1197 2007-10-03  Ada Chan  <adachan@apple.com>
1198
1199         <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
1200
1201         Reviewed by Steve and Brady.
1202
1203         * Interfaces/IWebIconDatabase.idl:
1204         * WebIconDatabase.cpp:
1205         (WebIconDatabase::iconURLForURL):
1206         * WebIconDatabase.h:
1207
1208 2007-10-02  Sam Weinig  <sam@webkit.org>
1209
1210         Rubber-stamped by Adam Roben.
1211
1212         * Interfaces/IWebPreferences.idl: Remove unnecessary comments. 
1213
1214 2007-10-02  Darin Adler  <darin@apple.com>
1215
1216         Reviewed by Adam.
1217
1218         - started using the new OwnPtr everywhere we do DeleteObject
1219
1220         * WebNodeHighlight.cpp:
1221         (WebNodeHighlight::updateWindow):
1222         * WebView.cpp:
1223         (WebView::WebView):
1224         (WebView::deleteBackingStore):
1225         (WebView::ensureBackingStore):
1226         (WebView::addToDirtyRegion):
1227         (WebView::scrollBackingStore):
1228         (WebView::updateBackingStore):
1229         (WebView::paint):
1230         (WebView::paintIntoBackingStore):
1231         (WebView::paintIntoWindow):
1232         * WebView.h:
1233
1234 2007-10-02  Adam Roben  <aroben@apple.com>
1235
1236         Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1237
1238         I also added a few registry keys for our version-independent ProgIDs
1239         that we were missing.
1240
1241         Reviewed by Steve.
1242
1243         * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
1244         * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
1245         places, and added some new keys for version-independent ProgIDs.
1246
1247 2007-10-02  Anders Carlsson  <andersca@apple.com>
1248
1249         Reviewed by Adam.
1250
1251         Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
1252         
1253         Also rename some protection space constants and change their values to match the mac version.
1254         
1255         * Interfaces/IWebURLAuthenticationChallenge.idl:
1256         * WebURLProtectionSpace.cpp:
1257         (WebURLProtectionSpace::initWithHost):
1258         (WebURLProtectionSpace::initWithProxyHost):
1259         (WebURLProtectionSpace::protocol):
1260         (WebURLProtectionSpace::proxyType):
1261
1262 2007-09-29  Adam Roben  <aroben@apple.com>
1263
1264         Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
1265
1266         Reviewed by Steve.
1267
1268         * ProgIDMacros.h: Stringify the passed in class name.
1269         * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
1270         lists stay in the right order, and updated uses of the *_PROGID macros
1271         for to take the stringification into account.
1272
1273 2007-09-27  Kevin McCullough  <kmccullough@apple.com>
1274
1275         Reviewed by Darin.
1276
1277         - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
1278         - Implemented IWebHTTPURLResponse::allHeaderFields so that if the content disposition is "attachment" we will download the file instead of display it.  Also implemented some missing functionality.
1279
1280         * HTTPHeaderPropertyBag.cpp: Added.
1281         (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
1282         (HTTPHeaderPropertyBag::createInstance):
1283         (HTTPHeaderPropertyBag::setResponse):
1284         (HTTPHeaderPropertyBag::response):
1285         (HTTPHeaderPropertyBag::QueryInterface):
1286         (HTTPHeaderPropertyBag::AddRef):
1287         (HTTPHeaderPropertyBag::Release):
1288         (ConvertFromLPCOLESTR):
1289         (ConvertToVariant):
1290         (ConvertFromVariant):
1291         (HTTPHeaderPropertyBag::Read):
1292         (HTTPHeaderPropertyBag::Write):
1293         * HTTPHeaderPropertyBag.h: Added.
1294         * Interfaces/IWebHTTPURLResponse.idl:
1295         * WebKit.vcproj/WebKit.vcproj:
1296         * WebURLResponse.cpp:
1297         (WebURLResponse::allHeaderFields):
1298         (WebURLResponse::isAttachment):
1299         * WebURLResponse.h:
1300
1301 2007-09-27  Ada Chan  <adachan@apple.com>
1302
1303         <rdar://problem/5507481> Added a delegate method to inform the client
1304         app that WebView has painted.
1305
1306         Reviewed by Steve.
1307
1308         * Interfaces/IWebUIDelegatePrivate.idl:
1309         * WebView.cpp:
1310         (WebView::updateBackingStore):
1311
1312 2007-09-25  Adam Roben  <aroben@apple.com>
1313
1314         Add WebKitInitializer to WebKit.sln
1315
1316         Reviewed by Sam.
1317
1318         * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
1319         WebKitInitializer.
1320
1321 2007-09-25  Darin Adler  <darin@apple.com>
1322
1323         Reviewed by Steve.
1324
1325         - fix <rdar://problem/5095701> Download requring HTTP auth fails
1326           (progress bar forever)
1327
1328         The functions in WebDownload relating to authentication challenges needed
1329         to be implemented.
1330
1331         * WebDownload.cpp:
1332         (WebDownload::cancelAuthenticationChallenge): Implement.
1333         (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
1334         (WebDownload::useCredential): Ditto.
1335         (WebDownload::willSendRequest): Fix storage leak by adopting request
1336         and response after creating them. Also retain the result before returning
1337         it, since that's the API contract with CFNetwork.
1338         (WebDownload::didReceiveAuthenticationChallenge): Implement.
1339         (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
1340         (WebDownload::willResumeWithResponse): Ditto.
1341         (WebDownload::didFail): Ditto.
1342
1343         * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
1344         instead using __declspec(uuid). Added a sender parameter to the
1345         create function and an m_sender data member.
1346         * WebURLAuthenticationChallenge.cpp:
1347         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
1348         explicit sender parameter so this can be used with a WebDownload, which
1349         does not involve a ResourceHandle. Later we should clean this up and not
1350         involve WebCore or ResourceHandle directly even for the non-download case.
1351         (WebURLAuthenticationChallenge::createInstance): Added an overload for the
1352         case with an explicit sender parameter.
1353         (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
1354         of this class. In general, we should move to __uuidof as much as possible
1355         and keep the separate macros to a minimum -- but we should do this for all
1356         uses of each class at one time to make sure we don't run into problems
1357         with two different UUIDs for the same class. This patch does it for three
1358         classes.
1359         (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
1360         constructor instead of an explicit QueryInterface for WebURLCredential.
1361         This is another class where I'm switching from CLSID/IID macros to the
1362         use of __uuidof, but in this case the use of __uuidof is implicit.
1363         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
1364         but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
1365         (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
1366         cache the sender object and also use the one that was passed into the
1367         constructor, if any.
1368
1369         * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
1370         instead using __declspec(uuid). Also minimize includes and make data
1371         members private instead of protected.
1372         * WebURLAuthenticationChallengeSender.cpp:
1373         (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
1374         of IID macro.
1375         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
1376         Use query constructor instead of QueryInterface.
1377         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
1378         Ditto.
1379         (WebURLAuthenticationChallengeSender::useCredential): Ditto.
1380
1381         * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
1382         instead of CLSID_WebURLCredential.
1383
1384         - tangentially-related cleanup
1385
1386         * WebFrame.cpp:
1387         (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
1388         constructor instead of a separate adoptRef call.
1389         (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
1390
1391 2007-09-24  Brady Eidson  <beidson@apple.com>
1392
1393         Reviewed by John Sullivan
1394
1395         Fix for <rdar://5493371> - Crash in Icon Database on Windows
1396         
1397         * WebIconDatabase.cpp:
1398         (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
1399
1400 2007-09-24  Adam Roben  <aroben@apple.com>
1401
1402         Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
1403
1404         Reviewed by Darin.
1405
1406         * WebView.cpp:
1407         (WebView::initWithFrame): Set the main FrameView's size to the size of
1408         the WebView.
1409
1410 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
1411
1412         - Fixed a syntax guideline mistake.
1413
1414         * WebChromeClient.cpp:
1415         (WebChromeClient::scrollbarsVisible):
1416
1417 2007-09-20  Oliver Hunt  <oliver@apple.com>
1418
1419         Reviewed by Steve.
1420
1421         <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
1422
1423         Adding support for per-localisation default character encodings on
1424         windows.
1425         
1426         * English.lproj/Localizable.strings:
1427         * WebPreferences.cpp:
1428         (WebPreferences::initializeDefaultSettings):
1429
1430 2007-09-20  Kevin McCullough  <kmccullough@apple.com>
1431
1432         Reviewed by Oliver.
1433
1434         - Added the ability to ask if scrollbars are visible
1435         - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
1436
1437         * WebChromeClient.cpp:
1438         (WebChromeClient::scrollbarsVisible):
1439
1440 2007-09-20  Ada Chan  <adachan@apple.com>
1441
1442         <rdar://problem/5477240> Regression: Footer is too high in print preview
1443
1444         Reviewed by Steve.
1445
1446         * WebFrame.cpp:
1447         (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
1448         (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
1449         computePageRectsForFrame().
1450         (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
1451         minus footer height.
1452         * WebFrame.h:
1453
1454 2007-09-19  Kevin McCullough  <kmccullough@apple.com>
1455
1456         Reviewed by Hyatt.
1457
1458         - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
1459         - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
1460
1461         * Interfaces/IWebFrame.idl:
1462         * Interfaces/IWebFrameView.idl:
1463         * WebChromeClient.cpp:
1464         (WebChromeClient::setScrollbarsVisible):
1465         * WebFrame.cpp:
1466         (WebFrame::setAllowsScrolling):
1467         (WebFrame::allowsScrolling):
1468         (WebFrame::frameView):
1469         * WebFrame.h:
1470
1471 2007-09-20  Brady Eidson  <beidson@apple.com>
1472
1473         Reviewed by Dave Hyatt
1474
1475         <rdar://problem/5245981> - No favicon shows up for cnet.com
1476         
1477         * WebIconDatabase.cpp:
1478         (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
1479         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
1480
1481 2007-09-19  Sam Weinig  <sam@webkit.org>
1482
1483         Rubber stamped by Adam Roben.
1484
1485         * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
1486         to point to their new locations.
1487
1488 2007-09-18  Brady Eidson  <beidson@apple.com>
1489
1490         Reviewed by Adam
1491
1492         Final part of <rdar://problem/5471308> - Hook up async icon database on Windows        
1493
1494         * CFDictionaryPropertyBag.cpp:
1495         (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
1496           since it became available after the initial implementation
1497         (CFDictionaryPropertyBag::setDictionary):
1498         (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
1499         (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
1500         (CFDictionaryPropertyBag::Read):
1501         (CFDictionaryPropertyBag::Write):
1502         * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
1503        
1504         * WebFrame.cpp:
1505         (WebFrame::url): Added accessor, gets the current URL from WebCore
1506         (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
1507         (WebFrame::registerForIconNotification): Ditto
1508         * WebFrame.h:        
1509
1510         * WebIconDatabase.cpp:
1511         (WebIconDatabase::iconDatabaseDidAddIconNotification):
1512         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
1513         (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
1514         (postDidRemoveAllIconsNotification):
1515         (postDidAddIconNotification):
1516         * WebIconDatabase.h:        
1517
1518         * WebView.cpp:
1519         (WebView::close): Unregister for the notification, just in case
1520         (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
1521           in the notification to the current main frame URL.  If they match, calls to dispatchDidReceiveIconFromWebFrame
1522         (WebView::registerForIconNotification): 
1523         (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call.  Once the delegate call is dispatched,
1524           either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the 
1525           IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
1526         (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
1527         * WebView.h:
1528
1529 2007-09-18  Brady Eidson  <beidson@apple.com>
1530
1531         Reviewed by Ada and Geoff
1532
1533         Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
1534         
1535         Hook up main thread delivery of Icon Database notifications from the secondary thread
1536         
1537         * WebIconDatabase.cpp:
1538         (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
1539         (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
1540         (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
1541           ask for the delivery
1542         (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
1543         (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
1544           and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
1545         (postDidRemoveAllIconsNotification):
1546         (postDidAddIconNotification):
1547         (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
1548         * WebIconDatabase.h:
1549
1550 2007-09-17  Geoffrey Garen  <ggaren@apple.com>
1551
1552         Reviewed by Darin Adler.
1553
1554         Fixed a hang due to an infinite script running in the window's unload 
1555         event handler, which may be the cause of <rdar://problem/5479443> 
1556         REGRESSION: Hang due to infinite JS recursion on close @ engadget.com 
1557         (onunload-based ad)
1558         
1559         Added a bunch of WebKitMac's close features, and reordered others to
1560         match WebKitMac.
1561
1562         * WebView.cpp:
1563         (WebView::close):
1564         (WebView::removeDragCaret):
1565
1566 2007-09-17  Adam Roben  <aroben@apple.com>
1567
1568         Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
1569
1570         Reviewed by Hyatt.
1571
1572         * WebView.cpp:
1573         (WebView::keyDown): Attempt to scroll an overflow area before
1574         scrolling the whole frame.
1575
1576 2007-09-17  Brady Eidson  <beidson@apple.com>
1577
1578         Reviewed by Adam
1579         
1580         <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
1581         
1582         Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit. 
1583         Critical now for the IconDatabase and might be for other things in the future.
1584
1585         * WebKitDLL.cpp:
1586         (shutDownWebKit): For now, just close the IconDatabase
1587         (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
1588
1589 2007-09-17  Anders Carlsson  <andersca@apple.com>
1590
1591         Reviewed by Adam.
1592
1593         <rdar://problem/5421997>
1594         http://bugs.webkit.org/show_bug.cgi?id=14247
1595         Display problem with Flash - image does not stop changing
1596
1597         Port the manual load code over from the Mac version.
1598
1599         * WebFrame.cpp:
1600         (WebFrame::WebFramePrivate::WebFramePrivate):
1601         Initialize the plugin pointer.
1602         
1603         (WebFrame::finishedLoading):
1604         (WebFrame::setMainDocumentError):
1605         (WebFrame::committedLoad):
1606         Feed the data to the plug-in.
1607                 
1608         (WebFrame::redirectDataToPlugin):
1609         Store the plug-in widget.
1610
1611 2007-09-14  Steve Falkenburg  <sfalken@apple.com>
1612
1613         Fix build.
1614
1615         * WebFrame.cpp:
1616         (WebFrame::createPlugin):
1617         (WebFrame::createJavaAppletWidget):
1618
1619 2007-09-13  Darin Adler  <darin@apple.com>
1620
1621         Reviewed by Oliver.
1622
1623         - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
1624           <input> elements with maxlength limit
1625
1626         * WebView.cpp:
1627         (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
1628         (WebView::updateSelectionForIME): Update for name changes, and to use new functions
1629         in Editor.
1630         (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
1631         (compositionToUnderlines): Removed startOffset parameter, since setComposition now
1632         handles this.
1633         (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
1634         Logic gets a lot cleaner.
1635         (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
1636         (WebView::onIMERequestCharPosition): Updated for name changes.
1637
1638 2007-09-12  Oliver Hunt  <oliver@apple.com>
1639
1640         Reviewed by Adam.
1641         
1642         Fixing 
1643             <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
1644             <rdar://problem/5224996> Add zoom in and zoom out cursors
1645             
1646         Add images for vertical text and zoom in and out cursors to WebKit resources.
1647             
1648         * WebKit.vcproj/verticalTextCursor.png: Added.
1649         * WebKit.vcproj/WebKit.rc:
1650         * WebKit.vcproj/WebKit.vcproj:
1651         * WebKit.vcproj/resource.h:
1652         * WebKit.vcproj/zoomInCursor.png: Added.
1653         * WebKit.vcproj/zoomOutCursor.png: Added.
1654         * WebKitDLL.cpp:
1655         (loadResourceIntoBuffer):
1656
1657 2007-09-12  Adam Roben  <aroben@apple.com>
1658
1659         Initialize SafariTheme early in WebKit's instantiation
1660
1661         New versions of SafariTheme will require this initialization. We have
1662         to use GetProcAddress for now since the initialize method doesn't
1663         exist in any released SafariTheme.
1664
1665         Reviewed by Ada.
1666
1667         * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
1668         * WebKitClassFactory.cpp:
1669         (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
1670
1671 2007-09-12  Ada Chan  <adachan@apple.com>
1672
1673         <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
1674
1675         Reviewed by Adam.
1676
1677         * WebFrame.cpp:
1678         (WebFrame::spoolPages): the footer rect is relative to the top left of the current page.  So 
1679         instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the 
1680         document), we should pass in headerHeight plus the height of the pageRect.
1681
1682 2007-09-12  Anders Carlsson   <andersca@apple.com>
1683
1684         Reviewed by Darin (reluctantly).
1685
1686         <rdar://problem/5320461>
1687         http://bugs.webkit.org/show_bug.cgi?id=14548
1688         REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
1689         
1690         Add a workaround which converts the string passed in to an URL if it's a path.
1691         
1692         * WebView.cpp:
1693         (WebView::updateWebCoreSettingsFromPreferences):
1694
1695 2007-09-10  Steve Falkenburg  <sfalken@apple.com>
1696
1697         Remove site-specific hacks that we don't need anymore.
1698
1699         Reviewed by Adam.
1700
1701         * WebView.cpp:
1702         (WebView::userAgentForKURL):
1703
1704 2007-09-08  Steve Falkenburg  <sfalken@apple.com>
1705
1706         Prevent WebKit version numbers from containing "4" in Windows.
1707
1708         Reviewed by Darin.
1709
1710         * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
1711         * WebKit.vcproj/auto-version.sh: Add version checking code.
1712
1713 2007-09-08  Brady Eidson  <beidson@apple.com>
1714
1715         <rdar://problem/5434431> - Asynchronous Icon Database
1716
1717         * WebFrame.cpp:
1718         (WebFrame::didPerformFirstNavigation): Empty impl for now
1719         (WebFrame::registerForIconNotification): Ditto
1720         * WebFrame.h:
1721
1722 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
1723
1724         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1725         
1726         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
1727         memory cache, or a very tiny one
1728         
1729         Keep the Windows build working with an empty stub.
1730         
1731         * WebFrame.cpp:
1732         (FrameLoaderClient::didPerformFirstNavigation):
1733         * WebFrame.h:
1734
1735 2007-09-07  Ada Chan  <adachan@apple.com>
1736
1737         Need to let the OS handle Alt+F4.
1738
1739         Reviewed by Hyatt.
1740
1741         * WebView.cpp:
1742         (WebView::keyUp):
1743         (WebView::keyDown):
1744
1745 2007-09-07  Anders Carlsson  <andersca@apple.com>
1746
1747         Reviewed by Oliver.
1748
1749         <rdar://problem/5461487>
1750         Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
1751         
1752         Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty, 
1753         we will try to display the content in a subframe instead, just like Mac WebKit.
1754         
1755         * WebFrame.cpp:
1756         (WebFrame::objectContentType):
1757
1758 2007-09-07  Ada Chan  <adachan@apple.com>
1759
1760         <rdar://problem/5395928> Need to be able to handle context menu item selection by index
1761
1762         Reviewed by Beth.
1763
1764         * WebView.cpp:
1765         (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
1766         item selection via WM_MENUCOMMAND (by specifying byPosition to be true).  In that case, we
1767         get the ContextMenuItem by position rather than by action id.
1768         (WebViewWndProc): handle WM_MENUCOMMAND
1769         * WebView.h:
1770
1771 2007-09-07  Ada Chan  <adachan@apple.com>
1772
1773         <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
1774         The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader.  If
1775         a WebDataSource is still around after the loader has been destroyed, it'll just point to
1776         a stale WebDocumentLoader.
1777         To fix this without a circular reference, WebDataSource now holds a strong reference to the
1778         WebDocumentLoader.  The WebDocumentLoader holds a strong reference to the WebDataSource
1779         until it's detached from the WebFrame.  When the WebDataSource is destroyed, it'll notify
1780         its WebDocumentLoader so the loader will clear any references to it.
1781
1782         Reviewed by Darin.
1783
1784         * WebDataSource.cpp:
1785         (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
1786         will clear any references to this data source
1787         (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
1788         * WebDataSource.h:
1789         * WebDocumentLoader.cpp:
1790         (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
1791         (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
1792         (WebDocumentLoader::setDataSource): add a reference to m_dataSource
1793         (WebDocumentLoader::dataSource): 
1794         (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
1795         (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
1796         (WebDocumentLoader::detachFromFrame): release the reference to the data source
1797         * WebDocumentLoader.h:
1798
1799 2007-09-05  Dave Hyatt <hyatt@apple.com>
1800
1801         Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
1802         detect key combos like ALT+Enter.
1803        
1804         Reviewed by Steve
1805
1806         * WebView.cpp:
1807         (WebView::keyUp):
1808         (WebView::keyDown):
1809         (WebViewWndProc):
1810         * WebView.h:
1811
1812 2007-09-04  Sam Weinig  <sam@webkit.org>
1813
1814         Build fix.
1815
1816         * WebKit.vcproj/WebKit.vcproj:
1817
1818 2007-09-01  Oliver Hunt  <oliver@apple.com>
1819
1820         Reviewed by Sam.
1821
1822         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1823  
1824         When focusing a password field or a non-editable element we disassociate any IME that may have
1825         been active, and reassociate should a non-password editable element is focused.
1826
1827         This makes password input with an IME active simpler, and brings our IME behaviour in line with
1828         IE.        
1829
1830         * WebEditorClient.cpp:
1831         (WebEditorClient::setInputMethodState):
1832         * WebEditorClient.h:
1833         * WebView.cpp:
1834         (IMMDict::IMMDict):
1835         (WebView::setInputMethodState):
1836         * WebView.h:
1837
1838 2007-08-31  Steve Falkenburg  <sfalken@apple.com>
1839
1840         <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
1841         
1842         In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
1843
1844         Reviewed by Oliver.
1845
1846         * WebLocalizableStrings.cpp:
1847         (WebLocalizedLPCTSTR):
1848
1849 2007-08-29  Ada Chan  <adachan@apple.com>
1850
1851         <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
1852
1853         Reviewed by Steve.
1854
1855         * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
1856         * WebError.cpp:
1857         (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
1858         (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
1859         * WebError.h:
1860         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
1861
1862 2007-08-28  Steve Falkenburg  <sfalken@apple.com>
1863
1864         <rdar://problem/5079253> Cannot set different margins for the page
1865         
1866         Added support for setting margins via page setup for Windows printing.
1867         
1868         Reviewed by Adam.
1869
1870         * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
1871         * WebFrame.cpp:
1872         (WebFrame::printerMarginRect): Added.
1873         (WebFrame::computePageRects): Account for margins when calculating page rects.
1874         (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
1875         * WebFrame.h:
1876
1877 2007-08-28  Jon Honeycutt  <jhoneycutt@apple.com>
1878
1879         Reviewed by Adam.
1880
1881         <rdar://problem/5444457>: Content is cut when page orientation changed
1882         in print preview
1883         Fix: Don't return WebFrame::m_pageRects if it exists; let
1884         computePageRectsForFrame clear and rewrite it.
1885
1886         * WebFrame.cpp:
1887         (WebFrame::computePageRects): Removed an early-return case. Added a
1888         space.
1889
1890 2007-08-28  Ada Chan  <adachan@apple.com>
1891
1892         <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
1893
1894         Reviewed by Adam and Steve.
1895
1896         * Interfaces/IWebURLResponsePrivate.idl: Added.
1897         * WebKit.vcproj/Interfaces.vcproj:
1898         * WebKit.vcproj/WebKitGUID.vcproj:
1899         * WebURLResponse.cpp:
1900         (WebURLResponse::QueryInterface):
1901         (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
1902         (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
1903         info from CFNetwork.  We retain the dictionary to ensure the certificate context is valid
1904         throughout the lifetime of the WebURLResponse.
1905         * WebURLResponse.h:
1906
1907 2007-08-27  Steve Falkenburg  <sfalken@apple.com>
1908
1909         <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
1910         
1911         Don't bypass WebView WM_PAINT if the WebView has never committed a page.
1912         
1913         Reviewed by Maciej.
1914
1915         * WebView.cpp:
1916         (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
1917
1918 2007-08-25  Oliver Hunt  <oliver@apple.com>
1919
1920         Reviewed by Adam and Sam
1921         
1922         <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562) 
1923         <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
1924         
1925         WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
1926         to be inserted.  This could cause unexpected behaviour when control characters (eg. escape) are sent,
1927         or could cause data loss when sent a null character (as happens when dead keys are used for international 
1928         input).
1929         
1930         This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent 
1931         to Editor::insertText.  This behaviour matches Firefox.
1932
1933         * WebView.cpp:
1934         (WebView::handleEditingKeyboardEvent):
1935
1936 2007-08-24  Sam Weinig  <sam@webkit.org>
1937
1938         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
1939
1940 2007-08-24  Ada Chan  <adachan@apple.com>
1941
1942         <rdar://problem/5147315> and <rdar://problem/5183935>
1943         Added accelerator key mappings for Select All, Undo, and Redo.
1944
1945         Reviewed by Adam.
1946
1947         * WebView.cpp:
1948
1949 2007-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
1950
1951         Reviewed by Darin.
1952
1953         Part of <rdar://problem/5433236> Print preview of empty txt file crashes
1954         Safari
1955
1956         * WebFrame.cpp:
1957         (WebFrame::computePageRects): Pass m_pageRects by reference into 
1958         computePageRectsForFrame
1959
1960 2007-08-24  Sam Weinig  <sam@webkit.org>
1961
1962         Rubber-stamped by Adam Roben.
1963
1964         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
1965
1966         Rename COM DOM bindings to use Deprecated prefix.
1967
1968         * DOMCSSClasses.cpp:
1969         (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
1970         (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
1971         (DeprecatedDOMCSSStyleDeclaration::createInstance):
1972         (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
1973         (DeprecatedDOMCSSStyleDeclaration::cssText):
1974         (DeprecatedDOMCSSStyleDeclaration::setCssText):
1975         (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
1976         (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
1977         (DeprecatedDOMCSSStyleDeclaration::removeProperty):
1978         (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
1979         (DeprecatedDOMCSSStyleDeclaration::setProperty):
1980         (DeprecatedDOMCSSStyleDeclaration::length):
1981         (DeprecatedDOMCSSStyleDeclaration::item):
1982         (DeprecatedDOMCSSStyleDeclaration::parentRule):
1983         * DOMCSSClasses.h:
1984         (DeprecatedDOMCSSStyleDeclaration::AddRef):
1985         (DeprecatedDOMCSSStyleDeclaration::Release):
1986         (DeprecatedDOMCSSStyleDeclaration::throwException):
1987         (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
1988         (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
1989         (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
1990         (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
1991         (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
1992         (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
1993         (DeprecatedDOMCSSStyleDeclaration::setException):
1994         * DOMCoreClasses.cpp:
1995         (DeprecatedDOMObject::QueryInterface):
1996         (DeprecatedDOMNode::QueryInterface):
1997         (DeprecatedDOMNode::nodeName):
1998         (DeprecatedDOMNode::nodeValue):
1999         (DeprecatedDOMNode::setNodeValue):
2000         (DeprecatedDOMNode::nodeType):
2001         (DeprecatedDOMNode::parentNode):
2002         (DeprecatedDOMNode::childNodes):
2003         (DeprecatedDOMNode::firstChild):
2004         (DeprecatedDOMNode::lastChild):
2005         (DeprecatedDOMNode::previousSibling):
2006         (DeprecatedDOMNode::nextSibling):
2007         (DeprecatedDOMNode::attributes):
2008         (DeprecatedDOMNode::ownerDocument):
2009         (DeprecatedDOMNode::insertBefore):
2010         (DeprecatedDOMNode::replaceChild):
2011         (DeprecatedDOMNode::removeChild):
2012         (DeprecatedDOMNode::appendChild):
2013         (DeprecatedDOMNode::hasChildNodes):
2014         (DeprecatedDOMNode::cloneNode):
2015         (DeprecatedDOMNode::normalize):
2016         (DeprecatedDOMNode::isSupported):
2017         (DeprecatedDOMNode::namespaceURI):
2018         (DeprecatedDOMNode::prefix):
2019         (DeprecatedDOMNode::setPrefix):
2020         (DeprecatedDOMNode::localName):
2021         (DeprecatedDOMNode::hasAttributes):
2022         (DeprecatedDOMNode::isSameNode):
2023         (DeprecatedDOMNode::isEqualNode):
2024         (DeprecatedDOMNode::textContent):
2025         (DeprecatedDOMNode::setTextContent):
2026         (DeprecatedDOMNode::addEventListener):
2027         (DeprecatedDOMNode::removeEventListener):
2028         (DeprecatedDOMNode::dispatchEvent):
2029         (DeprecatedDOMNode::DeprecatedDOMNode):
2030         (DeprecatedDOMNode::~DeprecatedDOMNode):
2031         (DeprecatedDOMNode::createInstance):
2032         (DeprecatedDOMNodeList::QueryInterface):
2033         (DeprecatedDOMNodeList::item):
2034         (DeprecatedDOMNodeList::length):
2035         (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
2036         (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
2037         (DeprecatedDOMNodeList::createInstance):
2038         (DeprecatedDOMDocument::QueryInterface):
2039         (DeprecatedDOMDocument::doctype):
2040         (DeprecatedDOMDocument::implementation):
2041         (DeprecatedDOMDocument::documentElement):
2042         (DeprecatedDOMDocument::createElement):
2043         (DeprecatedDOMDocument::createDocumentFragment):
2044         (DeprecatedDOMDocument::createTextNode):
2045         (DeprecatedDOMDocument::createComment):
2046         (DeprecatedDOMDocument::createCDATASection):
2047         (DeprecatedDOMDocument::createProcessingInstruction):
2048         (DeprecatedDOMDocument::createAttribute):
2049         (DeprecatedDOMDocument::createEntityReference):
2050         (DeprecatedDOMDocument::getElementsByTagName):
2051         (DeprecatedDOMDocument::importNode):
2052         (DeprecatedDOMDocument::createElementNS):
2053         (DeprecatedDOMDocument::createAttributeNS):
2054         (DeprecatedDOMDocument::getElementsByTagNameNS):
2055         (DeprecatedDOMDocument::getElementById):
2056         (DeprecatedDOMDocument::getComputedStyle):
2057         (DeprecatedDOMDocument::createEvent):
2058         (DeprecatedDOMDocument::DeprecatedDOMDocument):
2059         (DeprecatedDOMDocument::~DeprecatedDOMDocument):
2060         (DeprecatedDOMDocument::createInstance):
2061         (DeprecatedDOMElement::QueryInterface):
2062         (DeprecatedDOMElement::boundingBox):
2063         (DeprecatedDOMElement::lineBoxRects):
2064         (DeprecatedDOMElement::tagName):
2065         (DeprecatedDOMElement::getAttribute):
2066         (DeprecatedDOMElement::setAttribute):
2067         (DeprecatedDOMElement::removeAttribute):
2068         (DeprecatedDOMElement::getAttributeNode):
2069         (DeprecatedDOMElement::setAttributeNode):
2070         (DeprecatedDOMElement::removeAttributeNode):
2071         (DeprecatedDOMElement::getElementsByTagName):
2072         (DeprecatedDOMElement::getAttributeNS):
2073         (DeprecatedDOMElement::setAttributeNS):
2074         (DeprecatedDOMElement::removeAttributeNS):
2075         (DeprecatedDOMElement::getAttributeNodeNS):
2076         (DeprecatedDOMElement::setAttributeNodeNS):
2077         (DeprecatedDOMElement::getElementsByTagNameNS):
2078         (DeprecatedDOMElement::hasAttribute):
2079         (DeprecatedDOMElement::hasAttributeNS):
2080         (DeprecatedDOMElement::focus):
2081         (DeprecatedDOMElement::blur):
2082         (DeprecatedDOMElement::coreElement):
2083         (DeprecatedDOMElement::isEqual):
2084         (DeprecatedDOMElement::isFocused):
2085         (DeprecatedDOMElement::innerText):
2086         (DeprecatedDOMElement::style):
2087         (DeprecatedDOMElement::offsetLeft):
2088         (DeprecatedDOMElement::offsetTop):
2089         (DeprecatedDOMElement::offsetWidth):
2090         (DeprecatedDOMElement::offsetHeight):
2091         (DeprecatedDOMElement::offsetParent):
2092         (DeprecatedDOMElement::clientWidth):
2093         (DeprecatedDOMElement::clientHeight):
2094         (DeprecatedDOMElement::scrollLeft):
2095         (DeprecatedDOMElement::setScrollLeft):
2096         (DeprecatedDOMElement::scrollTop):
2097         (DeprecatedDOMElement::setScrollTop):
2098         (DeprecatedDOMElement::scrollWidth):
2099         (DeprecatedDOMElement::scrollHeight):
2100         (DeprecatedDOMElement::scrollIntoView):
2101         (DeprecatedDOMElement::scrollIntoViewIfNeeded):
2102         (DeprecatedDOMElement::DeprecatedDOMElement):
2103         (DeprecatedDOMElement::~DeprecatedDOMElement):
2104         (DeprecatedDOMElement::createInstance):
2105         * DOMCoreClasses.h:
2106         (DeprecatedDOMNode::AddRef):
2107         (DeprecatedDOMNode::Release):
2108         (DeprecatedDOMNode::throwException):
2109         (DeprecatedDOMNode::callWebScriptMethod):
2110         (DeprecatedDOMNode::evaluateWebScript):
2111         (DeprecatedDOMNode::removeWebScriptKey):
2112         (DeprecatedDOMNode::stringRepresentation):
2113         (DeprecatedDOMNode::webScriptValueAtIndex):
2114         (DeprecatedDOMNode::setWebScriptValueAtIndex):
2115         (DeprecatedDOMNode::setException):
2116         (DeprecatedDOMNodeList::AddRef):
2117         (DeprecatedDOMNodeList::Release):
2118         (DeprecatedDOMNodeList::throwException):
2119         (DeprecatedDOMNodeList::callWebScriptMethod):
2120         (DeprecatedDOMNodeList::evaluateWebScript):
2121         (DeprecatedDOMNodeList::removeWebScriptKey):
2122         (DeprecatedDOMNodeList::stringRepresentation):
2123         (DeprecatedDOMNodeList::webScriptValueAtIndex):
2124         (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
2125         (DeprecatedDOMNodeList::setException):
2126         (DeprecatedDOMDocument::AddRef):
2127         (DeprecatedDOMDocument::Release):
2128         (DeprecatedDOMDocument::throwException):
2129         (DeprecatedDOMDocument::callWebScriptMethod):
2130         (DeprecatedDOMDocument::evaluateWebScript):
2131         (DeprecatedDOMDocument::removeWebScriptKey):
2132         (DeprecatedDOMDocument::stringRepresentation):
2133         (DeprecatedDOMDocument::webScriptValueAtIndex):
2134         (DeprecatedDOMDocument::setWebScriptValueAtIndex):
2135         (DeprecatedDOMDocument::setException):
2136         (DeprecatedDOMDocument::nodeName):
2137         (DeprecatedDOMDocument::nodeValue):
2138         (DeprecatedDOMDocument::setNodeValue):
2139         (DeprecatedDOMDocument::nodeType):
2140         (DeprecatedDOMDocument::parentNode):
2141         (DeprecatedDOMDocument::childNodes):
2142         (DeprecatedDOMDocument::firstChild):
2143         (DeprecatedDOMDocument::lastChild):
2144         (DeprecatedDOMDocument::previousSibling):
2145         (DeprecatedDOMDocument::nextSibling):
2146         (DeprecatedDOMDocument::attributes):
2147         (DeprecatedDOMDocument::ownerDocument):
2148         (DeprecatedDOMDocument::insertBefore):
2149         (DeprecatedDOMDocument::replaceChild):
2150         (DeprecatedDOMDocument::removeChild):
2151         (DeprecatedDOMDocument::appendChild):
2152         (DeprecatedDOMDocument::hasChildNodes):
2153         (DeprecatedDOMDocument::cloneNode):
2154         (DeprecatedDOMDocument::normalize):
2155         (DeprecatedDOMDocument::isSupported):
2156         (DeprecatedDOMDocument::namespaceURI):
2157         (DeprecatedDOMDocument::prefix):
2158         (DeprecatedDOMDocument::setPrefix):
2159         (DeprecatedDOMDocument::localName):
2160         (DeprecatedDOMDocument::hasAttributes):
2161         (DeprecatedDOMDocument::isSameNode):
2162         (DeprecatedDOMDocument::isEqualNode):
2163         (DeprecatedDOMDocument::textContent):
2164         (DeprecatedDOMDocument::setTextContent):
2165         (DeprecatedDOMElement::AddRef):
2166         (DeprecatedDOMElement::Release):
2167         (DeprecatedDOMElement::throwException):
2168         (DeprecatedDOMElement::callWebScriptMethod):
2169         (DeprecatedDOMElement::evaluateWebScript):
2170         (DeprecatedDOMElement::removeWebScriptKey):
2171         (DeprecatedDOMElement::stringRepresentation):
2172         (DeprecatedDOMElement::webScriptValueAtIndex):
2173         (DeprecatedDOMElement::setWebScriptValueAtIndex):
2174         (DeprecatedDOMElement::setException):
2175         (DeprecatedDOMElement::nodeName):
2176         (DeprecatedDOMElement::nodeValue):
2177         (DeprecatedDOMElement::setNodeValue):
2178         (DeprecatedDOMElement::nodeType):
2179         (DeprecatedDOMElement::parentNode):
2180         (DeprecatedDOMElement::childNodes):
2181         (DeprecatedDOMElement::firstChild):
2182         (DeprecatedDOMElement::lastChild):
2183         (DeprecatedDOMElement::previousSibling):
2184         (DeprecatedDOMElement::nextSibling):
2185         (DeprecatedDOMElement::attributes):
2186         (DeprecatedDOMElement::ownerDocument):
2187         (DeprecatedDOMElement::insertBefore):
2188         (DeprecatedDOMElement::replaceChild):
2189         (DeprecatedDOMElement::removeChild):
2190         (DeprecatedDOMElement::appendChild):
2191         (DeprecatedDOMElement::hasChildNodes):
2192         (DeprecatedDOMElement::cloneNode):
2193         (DeprecatedDOMElement::normalize):
2194         (DeprecatedDOMElement::isSupported):
2195         (DeprecatedDOMElement::namespaceURI):
2196         (DeprecatedDOMElement::prefix):
2197         (DeprecatedDOMElement::setPrefix):
2198         (DeprecatedDOMElement::localName):
2199         (DeprecatedDOMElement::hasAttributes):
2200         (DeprecatedDOMElement::isSameNode):
2201         (DeprecatedDOMElement::isEqualNode):
2202         (DeprecatedDOMElement::textContent):
2203         (DeprecatedDOMElement::setTextContent):
2204         * DOMEventsClasses.cpp:
2205         (DeprecatedDOMEventListener::QueryInterface):
2206         (DeprecatedDOMEventListener::handleEvent):
2207         (DeprecatedDOMEvent::DeprecatedDOMEvent):
2208         (DeprecatedDOMEvent::~DeprecatedDOMEvent):
2209         (DeprecatedDOMEvent::createInstance):
2210         (DeprecatedDOMEvent::QueryInterface):
2211         (DeprecatedDOMEvent::type):
2212         (DeprecatedDOMEvent::target):
2213         (DeprecatedDOMEvent::currentTarget):
2214         (DeprecatedDOMEvent::eventPhase):
2215         (DeprecatedDOMEvent::bubbles):
2216         (DeprecatedDOMEvent::cancelable):
2217         (DeprecatedDOMEvent::timeStamp):
2218         (DeprecatedDOMEvent::stopPropagation):
2219         (DeprecatedDOMEvent::preventDefault):
2220         (DeprecatedDOMEvent::initEvent):
2221         (DeprecatedDOMUIEvent::QueryInterface):
2222         (DeprecatedDOMUIEvent::view):
2223         (DeprecatedDOMUIEvent::detail):
2224         (DeprecatedDOMUIEvent::initUIEvent):
2225         (DeprecatedDOMUIEvent::keyCode):
2226         (DeprecatedDOMUIEvent::charCode):
2227         (DeprecatedDOMUIEvent::layerX):
2228         (DeprecatedDOMUIEvent::layerY):
2229         (DeprecatedDOMUIEvent::pageX):
2230         (DeprecatedDOMUIEvent::pageY):
2231         (DeprecatedDOMUIEvent::which):
2232         (DeprecatedDOMKeyboardEvent::QueryInterface):
2233         (DeprecatedDOMKeyboardEvent::keyIdentifier):
2234         (DeprecatedDOMKeyboardEvent::keyLocation):
2235         (DeprecatedDOMKeyboardEvent::ctrlKey):
2236         (DeprecatedDOMKeyboardEvent::shiftKey):
2237         (DeprecatedDOMKeyboardEvent::altKey):
2238         (DeprecatedDOMKeyboardEvent::metaKey):
2239         (DeprecatedDOMKeyboardEvent::altGraphKey):
2240         (DeprecatedDOMKeyboardEvent::getModifierState):
2241         (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
2242         (DeprecatedDOMMouseEvent::QueryInterface):
2243         (DeprecatedDOMMouseEvent::screenX):
2244         (DeprecatedDOMMouseEvent::screenY):
2245         (DeprecatedDOMMouseEvent::clientX):
2246         (DeprecatedDOMMouseEvent::clientY):
2247         (DeprecatedDOMMouseEvent::ctrlKey):
2248         (DeprecatedDOMMouseEvent::shiftKey):
2249         (DeprecatedDOMMouseEvent::altKey):
2250         (DeprecatedDOMMouseEvent::metaKey):
2251         (DeprecatedDOMMouseEvent::button):
2252         (DeprecatedDOMMouseEvent::relatedTarget):
2253         (DeprecatedDOMMouseEvent::initMouseEvent):
2254         (DeprecatedDOMMouseEvent::offsetX):
2255         (DeprecatedDOMMouseEvent::offsetY):
2256         (DeprecatedDOMMouseEvent::x):
2257         (DeprecatedDOMMouseEvent::y):
2258         (DeprecatedDOMMouseEvent::fromElement):
2259         (DeprecatedDOMMouseEvent::toElement):
2260         (DeprecatedDOMMutationEvent::QueryInterface):
2261         (DeprecatedDOMMutationEvent::relatedNode):
2262         (DeprecatedDOMMutationEvent::prevValue):
2263         (DeprecatedDOMMutationEvent::newValue):
2264         (DeprecatedDOMMutationEvent::attrName):
2265         (DeprecatedDOMMutationEvent::attrChange):
2266         (DeprecatedDOMMutationEvent::initMutationEvent):
2267         (DeprecatedDOMOverflowEvent::QueryInterface):
2268         (DeprecatedDOMOverflowEvent::orient):
2269         (DeprecatedDOMOverflowEvent::horizontalOverflow):
2270         (DeprecatedDOMOverflowEvent::verticalOverflow):
2271         (DeprecatedDOMWheelEvent::QueryInterface):
2272         (DeprecatedDOMWheelEvent::screenX):
2273         (DeprecatedDOMWheelEvent::screenY):
2274         (DeprecatedDOMWheelEvent::clientX):
2275         (DeprecatedDOMWheelEvent::clientY):
2276         (DeprecatedDOMWheelEvent::ctrlKey):
2277         (DeprecatedDOMWheelEvent::shiftKey):
2278         (DeprecatedDOMWheelEvent::altKey):
2279         (DeprecatedDOMWheelEvent::metaKey):
2280         (DeprecatedDOMWheelEvent::wheelDelta):
2281         (DeprecatedDOMWheelEvent::wheelDeltaX):
2282         (DeprecatedDOMWheelEvent::wheelDeltaY):
2283         (DeprecatedDOMWheelEvent::offsetX):
2284         (DeprecatedDOMWheelEvent::offsetY):
2285         (DeprecatedDOMWheelEvent::x):
2286         (DeprecatedDOMWheelEvent::y):
2287         (DeprecatedDOMWheelEvent::isHorizontal):
2288         (DeprecatedDOMWheelEvent::initWheelEvent):
2289         * DOMEventsClasses.h:
2290         (DeprecatedDOMEventListener::AddRef):
2291         (DeprecatedDOMEventListener::Release):
2292         (DeprecatedDOMEventListener::throwException):
2293         (DeprecatedDOMEventListener::callWebScriptMethod):
2294         (DeprecatedDOMEventListener::evaluateWebScript):
2295         (DeprecatedDOMEventListener::removeWebScriptKey):
2296         (DeprecatedDOMEventListener::stringRepresentation):
2297         (DeprecatedDOMEventListener::webScriptValueAtIndex):
2298         (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
2299         (DeprecatedDOMEventListener::setException):
2300         (DeprecatedDOMEvent::AddRef):
2301         (DeprecatedDOMEvent::Release):
2302         (DeprecatedDOMEvent::throwException):
2303         (DeprecatedDOMEvent::callWebScriptMethod):
2304         (DeprecatedDOMEvent::evaluateWebScript):
2305         (DeprecatedDOMEvent::removeWebScriptKey):
2306         (DeprecatedDOMEvent::stringRepresentation):
2307         (DeprecatedDOMEvent::webScriptValueAtIndex):
2308         (DeprecatedDOMEvent::setWebScriptValueAtIndex):
2309         (DeprecatedDOMEvent::setException):
2310         (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
2311         (DeprecatedDOMUIEvent::AddRef):
2312         (DeprecatedDOMUIEvent::Release):
2313         (DeprecatedDOMUIEvent::throwException):
2314         (DeprecatedDOMUIEvent::callWebScriptMethod):
2315         (DeprecatedDOMUIEvent::evaluateWebScript):
2316         (DeprecatedDOMUIEvent::removeWebScriptKey):
2317         (DeprecatedDOMUIEvent::stringRepresentation):
2318         (DeprecatedDOMUIEvent::webScriptValueAtIndex):
2319         (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
2320         (DeprecatedDOMUIEvent::setException):
2321         (DeprecatedDOMUIEvent::type):
2322         (DeprecatedDOMUIEvent::target):
2323         (DeprecatedDOMUIEvent::currentTarget):
2324         (DeprecatedDOMUIEvent::eventPhase):
2325         (DeprecatedDOMUIEvent::bubbles):
2326         (DeprecatedDOMUIEvent::cancelable):
2327         (DeprecatedDOMUIEvent::timeStamp):
2328         (DeprecatedDOMUIEvent::stopPropagation):
2329         (DeprecatedDOMUIEvent::preventDefault):
2330         (DeprecatedDOMUIEvent::initEvent):
2331         (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
2332         (DeprecatedDOMKeyboardEvent::AddRef):
2333         (DeprecatedDOMKeyboardEvent::Release):
2334         (DeprecatedDOMKeyboardEvent::throwException):
2335         (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
2336         (DeprecatedDOMKeyboardEvent::evaluateWebScript):
2337         (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
2338         (DeprecatedDOMKeyboardEvent::stringRepresentation):
2339         (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
2340         (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
2341         (DeprecatedDOMKeyboardEvent::setException):
2342         (DeprecatedDOMKeyboardEvent::type):
2343         (DeprecatedDOMKeyboardEvent::target):
2344         (DeprecatedDOMKeyboardEvent::currentTarget):
2345         (DeprecatedDOMKeyboardEvent::eventPhase):
2346         (DeprecatedDOMKeyboardEvent::bubbles):
2347         (DeprecatedDOMKeyboardEvent::cancelable):
2348         (DeprecatedDOMKeyboardEvent::timeStamp):
2349         (DeprecatedDOMKeyboardEvent::stopPropagation):
2350         (DeprecatedDOMKeyboardEvent::preventDefault):
2351         (DeprecatedDOMKeyboardEvent::initEvent):
2352         (DeprecatedDOMKeyboardEvent::view):
2353         (DeprecatedDOMKeyboardEvent::detail):
2354         (DeprecatedDOMKeyboardEvent::initUIEvent):
2355         (DeprecatedDOMKeyboardEvent::keyCode):
2356         (DeprecatedDOMKeyboardEvent::charCode):
2357         (DeprecatedDOMKeyboardEvent::layerX):
2358         (DeprecatedDOMKeyboardEvent::layerY):
2359         (DeprecatedDOMKeyboardEvent::pageX):
2360         (DeprecatedDOMKeyboardEvent::pageY):
2361         (DeprecatedDOMKeyboardEvent::which):
2362         (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
2363         (DeprecatedDOMMouseEvent::AddRef):
2364         (DeprecatedDOMMouseEvent::Release):
2365         (DeprecatedDOMMouseEvent::throwException):
2366         (DeprecatedDOMMouseEvent::callWebScriptMethod):
2367         (DeprecatedDOMMouseEvent::evaluateWebScript):
2368         (DeprecatedDOMMouseEvent::removeWebScriptKey):
2369         (DeprecatedDOMMouseEvent::stringRepresentation):
2370         (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
2371         (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
2372         (DeprecatedDOMMouseEvent::setException):
2373         (DeprecatedDOMMouseEvent::type):
2374         (DeprecatedDOMMouseEvent::target):
2375         (DeprecatedDOMMouseEvent::currentTarget):
2376         (DeprecatedDOMMouseEvent::eventPhase):
2377         (DeprecatedDOMMouseEvent::bubbles):
2378         (DeprecatedDOMMouseEvent::cancelable):
2379         (DeprecatedDOMMouseEvent::timeStamp):
2380         (DeprecatedDOMMouseEvent::stopPropagation):
2381         (DeprecatedDOMMouseEvent::preventDefault):
2382         (DeprecatedDOMMouseEvent::initEvent):
2383         (DeprecatedDOMMouseEvent::view):
2384         (DeprecatedDOMMouseEvent::detail):
2385         (DeprecatedDOMMouseEvent::initUIEvent):
2386         (DeprecatedDOMMouseEvent::keyCode):
2387         (DeprecatedDOMMouseEvent::charCode):
2388         (DeprecatedDOMMouseEvent::layerX):
2389         (DeprecatedDOMMouseEvent::layerY):
2390         (DeprecatedDOMMouseEvent::pageX):
2391         (DeprecatedDOMMouseEvent::pageY):
2392         (DeprecatedDOMMouseEvent::which):
2393         (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
2394         (DeprecatedDOMMutationEvent::AddRef):
2395         (DeprecatedDOMMutationEvent::Release):
2396         (DeprecatedDOMMutationEvent::throwException):
2397         (DeprecatedDOMMutationEvent::callWebScriptMethod):
2398         (DeprecatedDOMMutationEvent::evaluateWebScript):
2399         (DeprecatedDOMMutationEvent::removeWebScriptKey):
2400         (DeprecatedDOMMutationEvent::stringRepresentation):
2401         (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
2402         (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
2403         (DeprecatedDOMMutationEvent::setException):
2404         (DeprecatedDOMMutationEvent::type):
2405         (DeprecatedDOMMutationEvent::target):
2406         (DeprecatedDOMMutationEvent::currentTarget):
2407         (DeprecatedDOMMutationEvent::eventPhase):
2408         (DeprecatedDOMMutationEvent::bubbles):
2409         (DeprecatedDOMMutationEvent::cancelable):
2410         (DeprecatedDOMMutationEvent::timeStamp):
2411         (DeprecatedDOMMutationEvent::stopPropagation):
2412         (DeprecatedDOMMutationEvent::preventDefault):
2413         (DeprecatedDOMMutationEvent::initEvent):
2414         (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
2415         (DeprecatedDOMOverflowEvent::AddRef):
2416         (DeprecatedDOMOverflowEvent::Release):
2417         (DeprecatedDOMOverflowEvent::throwException):
2418         (DeprecatedDOMOverflowEvent::callWebScriptMethod):
2419         (DeprecatedDOMOverflowEvent::evaluateWebScript):
2420         (DeprecatedDOMOverflowEvent::removeWebScriptKey):
2421         (DeprecatedDOMOverflowEvent::stringRepresentation):
2422         (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
2423         (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
2424         (DeprecatedDOMOverflowEvent::setException):
2425         (DeprecatedDOMOverflowEvent::type):
2426         (DeprecatedDOMOverflowEvent::target):
2427         (DeprecatedDOMOverflowEvent::currentTarget):
2428         (DeprecatedDOMOverflowEvent::eventPhase):
2429         (DeprecatedDOMOverflowEvent::bubbles):
2430         (DeprecatedDOMOverflowEvent::cancelable):
2431         (DeprecatedDOMOverflowEvent::timeStamp):
2432         (DeprecatedDOMOverflowEvent::stopPropagation):
2433         (DeprecatedDOMOverflowEvent::preventDefault):
2434         (DeprecatedDOMOverflowEvent::initEvent):
2435         (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
2436         (DeprecatedDOMWheelEvent::AddRef):
2437         (DeprecatedDOMWheelEvent::Release):
2438         (DeprecatedDOMWheelEvent::throwException):
2439         (DeprecatedDOMWheelEvent::callWebScriptMethod):
2440         (DeprecatedDOMWheelEvent::evaluateWebScript):
2441         (DeprecatedDOMWheelEvent::removeWebScriptKey):
2442         (DeprecatedDOMWheelEvent::stringRepresentation):
2443         (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
2444         (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
2445         (DeprecatedDOMWheelEvent::setException):
2446         (DeprecatedDOMWheelEvent::type):
2447         (DeprecatedDOMWheelEvent::target):
2448         (DeprecatedDOMWheelEvent::currentTarget):
2449         (DeprecatedDOMWheelEvent::eventPhase):
2450         (DeprecatedDOMWheelEvent::bubbles):
2451         (DeprecatedDOMWheelEvent::cancelable):
2452         (DeprecatedDOMWheelEvent::timeStamp):
2453         (DeprecatedDOMWheelEvent::stopPropagation):
2454         (DeprecatedDOMWheelEvent::preventDefault):
2455         (DeprecatedDOMWheelEvent::initEvent):
2456         (DeprecatedDOMWheelEvent::view):
2457         (DeprecatedDOMWheelEvent::detail):
2458         (DeprecatedDOMWheelEvent::initUIEvent):
2459         (DeprecatedDOMWheelEvent::keyCode):
2460         (DeprecatedDOMWheelEvent::charCode):
2461         (DeprecatedDOMWheelEvent::layerX):
2462         (DeprecatedDOMWheelEvent::layerY):
2463         (DeprecatedDOMWheelEvent::pageX):
2464         (DeprecatedDOMWheelEvent::pageY):
2465         (DeprecatedDOMWheelEvent::which):
2466         * DOMHTMLClasses.cpp:
2467         (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
2468         (DeprecatedDOMHTMLCollection::createInstance):
2469         (DeprecatedDOMHTMLCollection::QueryInterface):
2470         (DeprecatedDOMHTMLCollection::length):
2471         (DeprecatedDOMHTMLCollection::item):
2472         (DeprecatedDOMHTMLCollection::namedItem):
2473         (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
2474         (DeprecatedDOMHTMLOptionsCollection::length):
2475         (DeprecatedDOMHTMLOptionsCollection::setLength):
2476         (DeprecatedDOMHTMLOptionsCollection::item):
2477         (DeprecatedDOMHTMLOptionsCollection::namedItem):
2478         (DeprecatedDOMHTMLDocument::QueryInterface):
2479         (DeprecatedDOMHTMLDocument::title):
2480         (DeprecatedDOMHTMLDocument::setTitle):
2481         (DeprecatedDOMHTMLDocument::referrer):
2482         (DeprecatedDOMHTMLDocument::domain):
2483         (DeprecatedDOMHTMLDocument::URL):
2484         (DeprecatedDOMHTMLDocument::body):
2485         (DeprecatedDOMHTMLDocument::setBody):
2486         (DeprecatedDOMHTMLDocument::images):
2487         (DeprecatedDOMHTMLDocument::applets):
2488         (DeprecatedDOMHTMLDocument::links):
2489         (DeprecatedDOMHTMLDocument::forms):
2490         (DeprecatedDOMHTMLDocument::anchors):
2491         (DeprecatedDOMHTMLDocument::cookie):
2492         (DeprecatedDOMHTMLDocument::setCookie):
2493         (DeprecatedDOMHTMLDocument::open):
2494         (DeprecatedDOMHTMLDocument::close):
2495         (DeprecatedDOMHTMLDocument::write):
2496         (DeprecatedDOMHTMLDocument::writeln):
2497         (DeprecatedDOMHTMLDocument::getElementById_):
2498         (DeprecatedDOMHTMLDocument::getElementsByName):
2499         (DeprecatedDOMHTMLElement::QueryInterface):
2500         (DeprecatedDOMHTMLElement::idName):
2501         (DeprecatedDOMHTMLElement::setIdName):
2502         (DeprecatedDOMHTMLElement::title):
2503         (DeprecatedDOMHTMLElement::setTitle):
2504         (DeprecatedDOMHTMLElement::lang):
2505         (DeprecatedDOMHTMLElement::setLang):
2506         (DeprecatedDOMHTMLElement::dir):
2507         (DeprecatedDOMHTMLElement::setDir):
2508         (DeprecatedDOMHTMLElement::className):
2509         (DeprecatedDOMHTMLElement::setClassName):
2510         (DeprecatedDOMHTMLElement::innerHTML):
2511         (DeprecatedDOMHTMLElement::setInnerHTML):
2512         (DeprecatedDOMHTMLElement::innerText):
2513         (DeprecatedDOMHTMLElement::setInnerText):
2514         (DeprecatedDOMHTMLFormElement::QueryInterface):
2515         (DeprecatedDOMHTMLFormElement::elements):
2516         (DeprecatedDOMHTMLFormElement::length):
2517         (DeprecatedDOMHTMLFormElement::name):
2518         (DeprecatedDOMHTMLFormElement::setName):
2519         (DeprecatedDOMHTMLFormElement::acceptCharset):
2520         (DeprecatedDOMHTMLFormElement::setAcceptCharset):
2521         (DeprecatedDOMHTMLFormElement::action):
2522         (DeprecatedDOMHTMLFormElement::setAction):
2523         (DeprecatedDOMHTMLFormElement::encType):
2524         (DeprecatedDOMHTMLFormElement::setEnctype):
2525         (DeprecatedDOMHTMLFormElement::method):
2526         (DeprecatedDOMHTMLFormElement::setMethod):
2527         (DeprecatedDOMHTMLFormElement::target):
2528         (DeprecatedDOMHTMLFormElement::setTarget):
2529         (DeprecatedDOMHTMLFormElement::submit):
2530         (DeprecatedDOMHTMLFormElement::reset):
2531         (DeprecatedDOMHTMLSelectElement::QueryInterface):
2532         (DeprecatedDOMHTMLSelectElement::type):
2533         (DeprecatedDOMHTMLSelectElement::selectedIndex):
2534         (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
2535         (DeprecatedDOMHTMLSelectElement::value):
2536         (DeprecatedDOMHTMLSelectElement::setValue):
2537         (DeprecatedDOMHTMLSelectElement::length):
2538         (DeprecatedDOMHTMLSelectElement::form):
2539         (DeprecatedDOMHTMLSelectElement::options):
2540         (DeprecatedDOMHTMLSelectElement::disabled):
2541         (DeprecatedDOMHTMLSelectElement::setDisabled):
2542         (DeprecatedDOMHTMLSelectElement::multiple):
2543         (DeprecatedDOMHTMLSelectElement::setMultiple):
2544         (DeprecatedDOMHTMLSelectElement::name):
2545         (DeprecatedDOMHTMLSelectElement::setName):
2546         (DeprecatedDOMHTMLSelectElement::size):
2547         (DeprecatedDOMHTMLSelectElement::setSize):
2548         (DeprecatedDOMHTMLSelectElement::tabIndex):
2549         (DeprecatedDOMHTMLSelectElement::setTabIndex):
2550         (DeprecatedDOMHTMLSelectElement::add):
2551         (DeprecatedDOMHTMLSelectElement::remove):
2552         (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
2553         (DeprecatedDOMHTMLOptionElement::QueryInterface):
2554         (DeprecatedDOMHTMLOptionElement::form):
2555         (DeprecatedDOMHTMLOptionElement::defaultSelected):
2556         (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
2557         (DeprecatedDOMHTMLOptionElement::text):
2558         (DeprecatedDOMHTMLOptionElement::index):
2559         (DeprecatedDOMHTMLOptionElement::disabled):
2560         (DeprecatedDOMHTMLOptionElement::setDisabled):
2561         (DeprecatedDOMHTMLOptionElement::label):
2562         (DeprecatedDOMHTMLOptionElement::setLabel):
2563         (DeprecatedDOMHTMLOptionElement::selected):
2564         (DeprecatedDOMHTMLOptionElement::setSelected):
2565         (DeprecatedDOMHTMLOptionElement::value):
2566         (DeprecatedDOMHTMLOptionElement::setValue):
2567         (DeprecatedDOMHTMLInputElement::QueryInterface):
2568         (DeprecatedDOMHTMLInputElement::defaultValue):
2569         (DeprecatedDOMHTMLInputElement::setDefaultValue):
2570         (DeprecatedDOMHTMLInputElement::defaultChecked):
2571         (DeprecatedDOMHTMLInputElement::setDefaultChecked):
2572         (DeprecatedDOMHTMLInputElement::form):
2573         (DeprecatedDOMHTMLInputElement::accept):
2574         (DeprecatedDOMHTMLInputElement::setAccept):
2575         (DeprecatedDOMHTMLInputElement::accessKey):
2576         (DeprecatedDOMHTMLInputElement::setAccessKey):
2577         (DeprecatedDOMHTMLInputElement::align):
2578         (DeprecatedDOMHTMLInputElement::setAlign):
2579         (DeprecatedDOMHTMLInputElement::alt):
2580         (DeprecatedDOMHTMLInputElement::setAlt):
2581         (DeprecatedDOMHTMLInputElement::checked):
2582         (DeprecatedDOMHTMLInputElement::setChecked):
2583         (DeprecatedDOMHTMLInputElement::disabled):
2584         (DeprecatedDOMHTMLInputElement::setDisabled):
2585         (DeprecatedDOMHTMLInputElement::maxLength):
2586         (DeprecatedDOMHTMLInputElement::setMaxLength):
2587         (DeprecatedDOMHTMLInputElement::name):
2588         (DeprecatedDOMHTMLInputElement::setName):
2589         (DeprecatedDOMHTMLInputElement::readOnly):
2590         (DeprecatedDOMHTMLInputElement::setReadOnly):
2591         (DeprecatedDOMHTMLInputElement::size):
2592         (DeprecatedDOMHTMLInputElement::setSize):
2593         (DeprecatedDOMHTMLInputElement::src):
2594         (DeprecatedDOMHTMLInputElement::setSrc):
2595         (DeprecatedDOMHTMLInputElement::tabIndex):
2596         (DeprecatedDOMHTMLInputElement::setTabIndex):
2597         (DeprecatedDOMHTMLInputElement::type):
2598         (DeprecatedDOMHTMLInputElement::setType):
2599         (DeprecatedDOMHTMLInputElement::useMap):
2600         (DeprecatedDOMHTMLInputElement::setUseMap):
2601         (DeprecatedDOMHTMLInputElement::value):
2602         (DeprecatedDOMHTMLInputElement::setValue):
2603         (DeprecatedDOMHTMLInputElement::select):
2604         (DeprecatedDOMHTMLInputElement::click):
2605         (DeprecatedDOMHTMLInputElement::setSelectionStart):
2606         (DeprecatedDOMHTMLInputElement::selectionStart):
2607         (DeprecatedDOMHTMLInputElement::setSelectionEnd):
2608         (DeprecatedDOMHTMLInputElement::selectionEnd):
2609         (DeprecatedDOMHTMLInputElement::isTextField):
2610         (DeprecatedDOMHTMLInputElement::rectOnScreen):
2611         (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
2612         (DeprecatedDOMHTMLInputElement::selectedRange):
2613         (DeprecatedDOMHTMLInputElement::setAutofilled):
2614         (DeprecatedDOMHTMLInputElement::isUserEdited):
2615         (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
2616         (DeprecatedDOMHTMLTextAreaElement::defaultValue):
2617         (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
2618         (DeprecatedDOMHTMLTextAreaElement::form):
2619         (DeprecatedDOMHTMLTextAreaElement::accessKey):
2620         (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
2621         (DeprecatedDOMHTMLTextAreaElement::cols):
2622         (DeprecatedDOMHTMLTextAreaElement::setCols):
2623         (DeprecatedDOMHTMLTextAreaElement::disabled):
2624         (DeprecatedDOMHTMLTextAreaElement::setDisabled):
2625         (DeprecatedDOMHTMLTextAreaElement::name):
2626         (DeprecatedDOMHTMLTextAreaElement::setName):
2627         (DeprecatedDOMHTMLTextAreaElement::readOnly):
2628         (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
2629         (DeprecatedDOMHTMLTextAreaElement::rows):
2630         (DeprecatedDOMHTMLTextAreaElement::setRows):
2631         (DeprecatedDOMHTMLTextAreaElement::tabIndex):
2632         (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
2633         (DeprecatedDOMHTMLTextAreaElement::type):
2634         (DeprecatedDOMHTMLTextAreaElement::value):
2635         (DeprecatedDOMHTMLTextAreaElement::setValue):
2636         (DeprecatedDOMHTMLTextAreaElement::select):
2637         (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
2638         * DOMHTMLClasses.h:
2639         (DeprecatedDOMHTMLCollection::AddRef):
2640         (DeprecatedDOMHTMLCollection::Release):
2641         (DeprecatedDOMHTMLCollection::throwException):
2642         (DeprecatedDOMHTMLCollection::callWebScriptMethod):
2643         (DeprecatedDOMHTMLCollection::evaluateWebScript):
2644         (DeprecatedDOMHTMLCollection::removeWebScriptKey):
2645         (DeprecatedDOMHTMLCollection::stringRepresentation):
2646         (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
2647         (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
2648         (DeprecatedDOMHTMLCollection::setException):
2649         (DeprecatedDOMHTMLOptionsCollection::AddRef):
2650         (DeprecatedDOMHTMLOptionsCollection::Release):
2651         (DeprecatedDOMHTMLOptionsCollection::throwException):
2652         (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
2653         (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
2654         (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
2655         (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
2656         (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
2657         (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
2658         (DeprecatedDOMHTMLOptionsCollection::setException):
2659         (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
2660         (DeprecatedDOMHTMLDocument::AddRef):
2661         (DeprecatedDOMHTMLDocument::Release):
2662         (DeprecatedDOMHTMLDocument::throwException):
2663         (DeprecatedDOMHTMLDocument::callWebScriptMethod):
2664         (DeprecatedDOMHTMLDocument::evaluateWebScript):
2665         (DeprecatedDOMHTMLDocument::removeWebScriptKey):
2666         (DeprecatedDOMHTMLDocument::stringRepresentation):
2667         (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
2668         (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
2669         (DeprecatedDOMHTMLDocument::setException):
2670         (DeprecatedDOMHTMLDocument::nodeName):
2671         (DeprecatedDOMHTMLDocument::nodeValue):
2672         (DeprecatedDOMHTMLDocument::nodeType):
2673         (DeprecatedDOMHTMLDocument::parentNode):
2674         (DeprecatedDOMHTMLDocument::childNodes):
2675         (DeprecatedDOMHTMLDocument::firstChild):
2676         (DeprecatedDOMHTMLDocument::lastChild):
2677         (DeprecatedDOMHTMLDocument::previousSibling):
2678         (DeprecatedDOMHTMLDocument::nextSibling):
2679         (DeprecatedDOMHTMLDocument::attributes):
2680         (DeprecatedDOMHTMLDocument::ownerDocument):
2681         (DeprecatedDOMHTMLDocument::insertBefore):
2682         (DeprecatedDOMHTMLDocument::replaceChild):
2683         (DeprecatedDOMHTMLDocument::removeChild):
2684         (DeprecatedDOMHTMLDocument::appendChild):
2685         (DeprecatedDOMHTMLDocument::hasChildNodes):
2686         (DeprecatedDOMHTMLDocument::cloneNode):
2687         (DeprecatedDOMHTMLDocument::normalize):
2688         (DeprecatedDOMHTMLDocument::isSupported):
2689         (DeprecatedDOMHTMLDocument::namespaceURI):
2690         (DeprecatedDOMHTMLDocument::prefix):
2691         (DeprecatedDOMHTMLDocument::setPrefix):
2692         (DeprecatedDOMHTMLDocument::localName):
2693         (DeprecatedDOMHTMLDocument::hasAttributes):
2694         (DeprecatedDOMHTMLDocument::isSameNode):
2695         (DeprecatedDOMHTMLDocument::isEqualNode):
2696         (DeprecatedDOMHTMLDocument::textContent):
2697         (DeprecatedDOMHTMLDocument::setTextContent):
2698         (DeprecatedDOMHTMLDocument::doctype):
2699         (DeprecatedDOMHTMLDocument::implementation):
2700         (DeprecatedDOMHTMLDocument::documentElement):
2701         (DeprecatedDOMHTMLDocument::createElement):
2702         (DeprecatedDOMHTMLDocument::createDocumentFragment):
2703         (DeprecatedDOMHTMLDocument::createTextNode):
2704         (DeprecatedDOMHTMLDocument::createComment):
2705         (DeprecatedDOMHTMLDocument::createCDATASection):
2706         (DeprecatedDOMHTMLDocument::createProcessingInstruction):
2707         (DeprecatedDOMHTMLDocument::createAttribute):
2708         (DeprecatedDOMHTMLDocument::createEntityReference):
2709         (DeprecatedDOMHTMLDocument::getElementsByTagName):
2710         (DeprecatedDOMHTMLDocument::importNode):
2711         (DeprecatedDOMHTMLDocument::createElementNS):
2712         (DeprecatedDOMHTMLDocument::createAttributeNS):
2713         (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
2714         (DeprecatedDOMHTMLDocument::getElementById):
2715         (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
2716         (DeprecatedDOMHTMLElement::AddRef):
2717         (DeprecatedDOMHTMLElement::Release):
2718         (DeprecatedDOMHTMLElement::throwException):
2719         (DeprecatedDOMHTMLElement::callWebScriptMethod):
2720         (DeprecatedDOMHTMLElement::evaluateWebScript):
2721         (DeprecatedDOMHTMLElement::removeWebScriptKey):
2722         (DeprecatedDOMHTMLElement::stringRepresentation):
2723         (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
2724         (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
2725         (DeprecatedDOMHTMLElement::setException):
2726         (DeprecatedDOMHTMLElement::nodeName):
2727         (DeprecatedDOMHTMLElement::nodeValue):
2728         (DeprecatedDOMHTMLElement::setNodeValue):
2729         (DeprecatedDOMHTMLElement::nodeType):
2730         (DeprecatedDOMHTMLElement::parentNode):
2731         (DeprecatedDOMHTMLElement::childNodes):
2732         (DeprecatedDOMHTMLElement::firstChild):
2733         (DeprecatedDOMHTMLElement::lastChild):
2734         (DeprecatedDOMHTMLElement::previousSibling):
2735         (DeprecatedDOMHTMLElement::nextSibling):
2736         (DeprecatedDOMHTMLElement::attributes):
2737         (DeprecatedDOMHTMLElement::ownerDocument):
2738         (DeprecatedDOMHTMLElement::insertBefore):
2739         (DeprecatedDOMHTMLElement::replaceChild):
2740         (DeprecatedDOMHTMLElement::removeChild):
2741         (DeprecatedDOMHTMLElement::appendChild):
2742         (DeprecatedDOMHTMLElement::hasChildNodes):
2743         (DeprecatedDOMHTMLElement::cloneNode):
2744         (DeprecatedDOMHTMLElement::normalize):
2745         (DeprecatedDOMHTMLElement::isSupported):
2746         (DeprecatedDOMHTMLElement::namespaceURI):
2747         (DeprecatedDOMHTMLElement::prefix):
2748         (DeprecatedDOMHTMLElement::setPrefix):
2749         (DeprecatedDOMHTMLElement::localName):
2750         (DeprecatedDOMHTMLElement::hasAttributes):
2751         (DeprecatedDOMHTMLElement::isSameNode):
2752         (DeprecatedDOMHTMLElement::isEqualNode):
2753         (DeprecatedDOMHTMLElement::textContent):
2754         (DeprecatedDOMHTMLElement::setTextContent):
2755         (DeprecatedDOMHTMLElement::tagName):
2756         (DeprecatedDOMHTMLElement::getAttribute):
2757         (DeprecatedDOMHTMLElement::setAttribute):
2758         (DeprecatedDOMHTMLElement::removeAttribute):
2759         (DeprecatedDOMHTMLElement::getAttributeNode):
2760         (DeprecatedDOMHTMLElement::setAttributeNode):
2761         (DeprecatedDOMHTMLElement::removeAttributeNode):
2762         (DeprecatedDOMHTMLElement::getElementsByTagName):
2763         (DeprecatedDOMHTMLElement::getAttributeNS):
2764         (DeprecatedDOMHTMLElement::setAttributeNS):
2765         (DeprecatedDOMHTMLElement::removeAttributeNS):
2766         (DeprecatedDOMHTMLElement::getAttributeNodeNS):
2767         (DeprecatedDOMHTMLElement::setAttributeNodeNS):
2768         (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
2769         (DeprecatedDOMHTMLElement::hasAttribute):
2770         (DeprecatedDOMHTMLElement::hasAttributeNS):
2771         (DeprecatedDOMHTMLElement::focus):
2772         (DeprecatedDOMHTMLElement::blur):
2773         (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
2774         (DeprecatedDOMHTMLFormElement::AddRef):
2775         (DeprecatedDOMHTMLFormElement::Release):
2776         (DeprecatedDOMHTMLFormElement::throwException):
2777         (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
2778         (DeprecatedDOMHTMLFormElement::evaluateWebScript):
2779         (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
2780         (DeprecatedDOMHTMLFormElement::stringRepresentation):
2781         (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
2782         (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
2783         (DeprecatedDOMHTMLFormElement::setException):
2784         (DeprecatedDOMHTMLFormElement::nodeName):
2785         (DeprecatedDOMHTMLFormElement::nodeValue):
2786         (DeprecatedDOMHTMLFormElement::setNodeValue):
2787         (DeprecatedDOMHTMLFormElement::nodeType):
2788         (DeprecatedDOMHTMLFormElement::parentNode):
2789         (DeprecatedDOMHTMLFormElement::childNodes):
2790         (DeprecatedDOMHTMLFormElement::firstChild):
2791         (DeprecatedDOMHTMLFormElement::lastChild):
2792         (DeprecatedDOMHTMLFormElement::previousSibling):
2793         (DeprecatedDOMHTMLFormElement::nextSibling):
2794         (DeprecatedDOMHTMLFormElement::attributes):
2795         (DeprecatedDOMHTMLFormElement::ownerDocument):
2796         (DeprecatedDOMHTMLFormElement::insertBefore):
2797         (DeprecatedDOMHTMLFormElement::replaceChild):
2798         (DeprecatedDOMHTMLFormElement::removeChild):
2799         (DeprecatedDOMHTMLFormElement::appendChild):
2800         (DeprecatedDOMHTMLFormElement::hasChildNodes):
2801         (DeprecatedDOMHTMLFormElement::cloneNode):
2802         (DeprecatedDOMHTMLFormElement::normalize):
2803         (DeprecatedDOMHTMLFormElement::isSupported):
2804         (DeprecatedDOMHTMLFormElement::namespaceURI):
2805         (DeprecatedDOMHTMLFormElement::prefix):
2806         (DeprecatedDOMHTMLFormElement::setPrefix):
2807         (DeprecatedDOMHTMLFormElement::localName):
2808         (DeprecatedDOMHTMLFormElement::hasAttributes):
2809         (DeprecatedDOMHTMLFormElement::isSameNode):
2810         (DeprecatedDOMHTMLFormElement::isEqualNode):
2811         (DeprecatedDOMHTMLFormElement::textContent):
2812         (DeprecatedDOMHTMLFormElement::setTextContent):
2813         (DeprecatedDOMHTMLFormElement::tagName):
2814         (DeprecatedDOMHTMLFormElement::getAttribute):
2815         (DeprecatedDOMHTMLFormElement::setAttribute):
2816         (DeprecatedDOMHTMLFormElement::removeAttribute):
2817         (DeprecatedDOMHTMLFormElement::getAttributeNode):
2818         (DeprecatedDOMHTMLFormElement::setAttributeNode):
2819         (DeprecatedDOMHTMLFormElement::removeAttributeNode):
2820         (DeprecatedDOMHTMLFormElement::getElementsByTagName):
2821         (DeprecatedDOMHTMLFormElement::getAttributeNS):
2822         (DeprecatedDOMHTMLFormElement::setAttributeNS):
2823         (DeprecatedDOMHTMLFormElement::removeAttributeNS):
2824         (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
2825         (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
2826         (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
2827         (DeprecatedDOMHTMLFormElement::hasAttribute):
2828         (DeprecatedDOMHTMLFormElement::hasAttributeNS):
2829         (DeprecatedDOMHTMLFormElement::focus):
2830         (DeprecatedDOMHTMLFormElement::blur):
2831         (DeprecatedDOMHTMLFormElement::idName):
2832         (DeprecatedDOMHTMLFormElement::setIdName):
2833         (DeprecatedDOMHTMLFormElement::title):
2834         (DeprecatedDOMHTMLFormElement::setTitle):
2835         (DeprecatedDOMHTMLFormElement::lang):
2836         (DeprecatedDOMHTMLFormElement::setLang):
2837         (DeprecatedDOMHTMLFormElement::dir):
2838         (DeprecatedDOMHTMLFormElement::setDir):
2839         (DeprecatedDOMHTMLFormElement::className):
2840         (DeprecatedDOMHTMLFormElement::setClassName):
2841         (DeprecatedDOMHTMLFormElement::innerHTML):
2842         (DeprecatedDOMHTMLFormElement::setInnerHTML):
2843         (DeprecatedDOMHTMLFormElement::innerText):
2844         (DeprecatedDOMHTMLFormElement::setInnerText):
2845         (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
2846         (DeprecatedDOMHTMLSelectElement::AddRef):
2847         (DeprecatedDOMHTMLSelectElement::Release):
2848         (DeprecatedDOMHTMLSelectElement::throwException):
2849         (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
2850         (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
2851         (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
2852         (DeprecatedDOMHTMLSelectElement::stringRepresentation):
2853         (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
2854         (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
2855         (DeprecatedDOMHTMLSelectElement::setException):
2856         (DeprecatedDOMHTMLSelectElement::nodeName):
2857         (DeprecatedDOMHTMLSelectElement::nodeValue):
2858         (DeprecatedDOMHTMLSelectElement::setNodeValue):
2859         (DeprecatedDOMHTMLSelectElement::nodeType):
2860         (DeprecatedDOMHTMLSelectElement::parentNode):
2861         (DeprecatedDOMHTMLSelectElement::childNodes):
2862         (DeprecatedDOMHTMLSelectElement::firstChild):
2863         (DeprecatedDOMHTMLSelectElement::lastChild):
2864         (DeprecatedDOMHTMLSelectElement::previousSibling):
2865         (DeprecatedDOMHTMLSelectElement::nextSibling):
2866         (DeprecatedDOMHTMLSelectElement::attributes):
2867         (DeprecatedDOMHTMLSelectElement::ownerDocument):
2868         (DeprecatedDOMHTMLSelectElement::insertBefore):
2869         (DeprecatedDOMHTMLSelectElement::replaceChild):
2870         (DeprecatedDOMHTMLSelectElement::removeChild):
2871         (DeprecatedDOMHTMLSelectElement::appendChild):
2872         (DeprecatedDOMHTMLSelectElement::hasChildNodes):
2873         (DeprecatedDOMHTMLSelectElement::cloneNode):
2874         (DeprecatedDOMHTMLSelectElement::normalize):
2875         (DeprecatedDOMHTMLSelectElement::isSupported):
2876         (DeprecatedDOMHTMLSelectElement::namespaceURI):
2877         (DeprecatedDOMHTMLSelectElement::prefix):
2878         (DeprecatedDOMHTMLSelectElement::setPrefix):
2879         (DeprecatedDOMHTMLSelectElement::localName):
2880         (DeprecatedDOMHTMLSelectElement::hasAttributes):
2881         (DeprecatedDOMHTMLSelectElement::isSameNode):
2882         (DeprecatedDOMHTMLSelectElement::isEqualNode):
2883         (DeprecatedDOMHTMLSelectElement::textContent):
2884         (DeprecatedDOMHTMLSelectElement::setTextContent):
2885         (DeprecatedDOMHTMLSelectElement::tagName):
2886         (DeprecatedDOMHTMLSelectElement::getAttribute):
2887         (DeprecatedDOMHTMLSelectElement::setAttribute):
2888         (DeprecatedDOMHTMLSelectElement::removeAttribute):
2889         (DeprecatedDOMHTMLSelectElement::getAttributeNode):
2890         (DeprecatedDOMHTMLSelectElement::setAttributeNode):
2891         (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
2892         (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
2893         (DeprecatedDOMHTMLSelectElement::getAttributeNS):
2894         (DeprecatedDOMHTMLSelectElement::setAttributeNS):
2895         (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
2896         (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
2897         (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
2898         (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
2899         (DeprecatedDOMHTMLSelectElement::hasAttribute):
2900         (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
2901         (DeprecatedDOMHTMLSelectElement::focus):
2902         (DeprecatedDOMHTMLSelectElement::blur):
2903         (DeprecatedDOMHTMLSelectElement::idName):
2904         (DeprecatedDOMHTMLSelectElement::setIdName):
2905         (DeprecatedDOMHTMLSelectElement::title):
2906         (DeprecatedDOMHTMLSelectElement::setTitle):
2907         (DeprecatedDOMHTMLSelectElement::lang):
2908         (DeprecatedDOMHTMLSelectElement::setLang):
2909         (DeprecatedDOMHTMLSelectElement::dir):
2910         (DeprecatedDOMHTMLSelectElement::setDir):
2911         (DeprecatedDOMHTMLSelectElement::className):
2912         (DeprecatedDOMHTMLSelectElement::setClassName):
2913         (DeprecatedDOMHTMLSelectElement::innerHTML):
2914         (DeprecatedDOMHTMLSelectElement::setInnerHTML):
2915         (DeprecatedDOMHTMLSelectElement::innerText):
2916         (DeprecatedDOMHTMLSelectElement::setInnerText):
2917         (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
2918         (DeprecatedDOMHTMLOptionElement::AddRef):
2919         (DeprecatedDOMHTMLOptionElement::Release):
2920         (DeprecatedDOMHTMLOptionElement::throwException):
2921         (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
2922         (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
2923         (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
2924         (DeprecatedDOMHTMLOptionElement::stringRepresentation):
2925         (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
2926         (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
2927         (DeprecatedDOMHTMLOptionElement::setException):
2928         (DeprecatedDOMHTMLOptionElement::nodeName):
2929         (DeprecatedDOMHTMLOptionElement::nodeValue):
2930         (DeprecatedDOMHTMLOptionElement::setNodeValue):
2931         (DeprecatedDOMHTMLOptionElement::nodeType):
2932         (DeprecatedDOMHTMLOptionElement::parentNode):
2933         (DeprecatedDOMHTMLOptionElement::childNodes):
2934         (DeprecatedDOMHTMLOptionElement::firstChild):
2935         (DeprecatedDOMHTMLOptionElement::lastChild):
2936         (DeprecatedDOMHTMLOptionElement::previousSibling):
2937         (DeprecatedDOMHTMLOptionElement::nextSibling):
2938         (DeprecatedDOMHTMLOptionElement::attributes):
2939         (DeprecatedDOMHTMLOptionElement::ownerDocument):
2940         (DeprecatedDOMHTMLOptionElement::insertBefore):
2941         (DeprecatedDOMHTMLOptionElement::replaceChild):
2942         (DeprecatedDOMHTMLOptionElement::removeChild):
2943         (DeprecatedDOMHTMLOptionElement::appendChild):
2944         (DeprecatedDOMHTMLOptionElement::hasChildNodes):
2945         (DeprecatedDOMHTMLOptionElement::cloneNode):
2946         (DeprecatedDOMHTMLOptionElement::normalize):
2947         (DeprecatedDOMHTMLOptionElement::isSupported):
2948         (DeprecatedDOMHTMLOptionElement::namespaceURI):
2949         (DeprecatedDOMHTMLOptionElement::prefix):
2950         (DeprecatedDOMHTMLOptionElement::setPrefix):
2951         (DeprecatedDOMHTMLOptionElement::localName):
2952         (DeprecatedDOMHTMLOptionElement::hasAttributes):
2953         (DeprecatedDOMHTMLOptionElement::isSameNode):
2954         (DeprecatedDOMHTMLOptionElement::isEqualNode):
2955         (DeprecatedDOMHTMLOptionElement::textContent):
2956         (DeprecatedDOMHTMLOptionElement::setTextContent):
2957         (DeprecatedDOMHTMLOptionElement::tagName):
2958         (DeprecatedDOMHTMLOptionElement::getAttribute):
2959         (DeprecatedDOMHTMLOptionElement::setAttribute):
2960         (DeprecatedDOMHTMLOptionElement::removeAttribute):
2961         (DeprecatedDOMHTMLOptionElement::getAttributeNode):
2962         (DeprecatedDOMHTMLOptionElement::setAttributeNode):
2963         (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
2964         (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
2965         (DeprecatedDOMHTMLOptionElement::getAttributeNS):
2966         (DeprecatedDOMHTMLOptionElement::setAttributeNS):
2967         (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
2968         (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
2969         (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
2970         (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
2971         (DeprecatedDOMHTMLOptionElement::hasAttribute):
2972         (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
2973         (DeprecatedDOMHTMLOptionElement::focus):
2974         (DeprecatedDOMHTMLOptionElement::blur):
2975         (DeprecatedDOMHTMLOptionElement::idName):
2976         (DeprecatedDOMHTMLOptionElement::setIdName):
2977         (DeprecatedDOMHTMLOptionElement::title):
2978         (DeprecatedDOMHTMLOptionElement::setTitle):
2979         (DeprecatedDOMHTMLOptionElement::lang):
2980         (DeprecatedDOMHTMLOptionElement::setLang):
2981         (DeprecatedDOMHTMLOptionElement::dir):
2982         (DeprecatedDOMHTMLOptionElement::setDir):
2983         (DeprecatedDOMHTMLOptionElement::className):
2984         (DeprecatedDOMHTMLOptionElement::setClassName):
2985         (DeprecatedDOMHTMLOptionElement::innerHTML):
2986         (DeprecatedDOMHTMLOptionElement::setInnerHTML):
2987         (DeprecatedDOMHTMLOptionElement::innerText):
2988         (DeprecatedDOMHTMLOptionElement::setInnerText):
2989         (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
2990         (DeprecatedDOMHTMLInputElement::AddRef):
2991         (DeprecatedDOMHTMLInputElement::Release):
2992         (DeprecatedDOMHTMLInputElement::throwException):
2993         (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
2994         (DeprecatedDOMHTMLInputElement::evaluateWebScript):
2995         (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
2996         (DeprecatedDOMHTMLInputElement::stringRepresentation):
2997         (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
2998         (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
2999         (DeprecatedDOMHTMLInputElement::setException):
3000         (DeprecatedDOMHTMLInputElement::nodeName):
3001         (DeprecatedDOMHTMLInputElement::nodeValue):
3002         (DeprecatedDOMHTMLInputElement::setNodeValue):
3003         (DeprecatedDOMHTMLInputElement::nodeType):
3004         (DeprecatedDOMHTMLInputElement::parentNode):
3005         (DeprecatedDOMHTMLInputElement::childNodes):
3006         (DeprecatedDOMHTMLInputElement::firstChild):
3007         (DeprecatedDOMHTMLInputElement::lastChild):
3008         (DeprecatedDOMHTMLInputElement::previousSibling):
3009         (DeprecatedDOMHTMLInputElement::nextSibling):
3010         (DeprecatedDOMHTMLInputElement::attributes):
3011         (DeprecatedDOMHTMLInputElement::ownerDocument):
3012         (DeprecatedDOMHTMLInputElement::insertBefore):
3013         (DeprecatedDOMHTMLInputElement::replaceChild):
3014         (DeprecatedDOMHTMLInputElement::removeChild):
3015         (DeprecatedDOMHTMLInputElement::appendChild):
3016         (DeprecatedDOMHTMLInputElement::hasChildNodes):
3017         (DeprecatedDOMHTMLInputElement::cloneNode):
3018         (DeprecatedDOMHTMLInputElement::normalize):
3019         (DeprecatedDOMHTMLInputElement::isSupported):
3020         (DeprecatedDOMHTMLInputElement::namespaceURI):
3021         (DeprecatedDOMHTMLInputElement::prefix):
3022         (DeprecatedDOMHTMLInputElement::setPrefix):
3023         (DeprecatedDOMHTMLInputElement::localName):
3024         (DeprecatedDOMHTMLInputElement::hasAttributes):
3025         (DeprecatedDOMHTMLInputElement::isSameNode):
3026         (DeprecatedDOMHTMLInputElement::isEqualNode):
3027         (DeprecatedDOMHTMLInputElement::textContent):
3028         (DeprecatedDOMHTMLInputElement::setTextContent):
3029         (DeprecatedDOMHTMLInputElement::tagName):
3030         (DeprecatedDOMHTMLInputElement::getAttribute):
3031         (DeprecatedDOMHTMLInputElement::setAttribute):
3032         (DeprecatedDOMHTMLInputElement::removeAttribute):
3033         (DeprecatedDOMHTMLInputElement::getAttributeNode):
3034         (DeprecatedDOMHTMLInputElement::setAttributeNode):
3035         (DeprecatedDOMHTMLInputElement::removeAttributeNode):
3036         (DeprecatedDOMHTMLInputElement::getElementsByTagName):
3037         (DeprecatedDOMHTMLInputElement::getAttributeNS):
3038         (DeprecatedDOMHTMLInputElement::setAttributeNS):
3039         (DeprecatedDOMHTMLInputElement::removeAttributeNS):
3040         (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
3041         (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
3042         (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
3043         (DeprecatedDOMHTMLInputElement::hasAttribute):
3044         (DeprecatedDOMHTMLInputElement::hasAttributeNS):
3045         (DeprecatedDOMHTMLInputElement::focus):
3046         (DeprecatedDOMHTMLInputElement::blur):
3047         (DeprecatedDOMHTMLInputElement::idName):
3048         (DeprecatedDOMHTMLInputElement::setIdName):
3049         (DeprecatedDOMHTMLInputElement::title):
3050         (DeprecatedDOMHTMLInputElement::setTitle):
3051         (DeprecatedDOMHTMLInputElement::lang):
3052         (DeprecatedDOMHTMLInputElement::setLang):
3053         (DeprecatedDOMHTMLInputElement::dir):
3054         (DeprecatedDOMHTMLInputElement::setDir):
3055         (DeprecatedDOMHTMLInputElement::className):
3056         (DeprecatedDOMHTMLInputElement::setClassName):
3057         (DeprecatedDOMHTMLInputElement::innerHTML):
3058         (DeprecatedDOMHTMLInputElement::setInnerHTML):
3059         (DeprecatedDOMHTMLInputElement::innerText):
3060         (DeprecatedDOMHTMLInputElement::setInnerText):
3061         (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
3062         (DeprecatedDOMHTMLTextAreaElement::AddRef):
3063         (DeprecatedDOMHTMLTextAreaElement::Release):
3064         (DeprecatedDOMHTMLTextAreaElement::throwException):
3065         (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
3066         (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
3067         (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
3068         (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
3069         (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
3070         (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
3071         (DeprecatedDOMHTMLTextAreaElement::setException):
3072         (DeprecatedDOMHTMLTextAreaElement::nodeName):
3073         (DeprecatedDOMHTMLTextAreaElement::nodeValue):
3074         (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
3075         (DeprecatedDOMHTMLTextAreaElement::nodeType):
3076         (DeprecatedDOMHTMLTextAreaElement::parentNode):
3077         (DeprecatedDOMHTMLTextAreaElement::childNodes):
3078         (DeprecatedDOMHTMLTextAreaElement::firstChild):
3079         (DeprecatedDOMHTMLTextAreaElement::lastChild):
3080         (DeprecatedDOMHTMLTextAreaElement::previousSibling):
3081         (DeprecatedDOMHTMLTextAreaElement::nextSibling):
3082         (DeprecatedDOMHTMLTextAreaElement::attributes):
3083         (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
3084         (DeprecatedDOMHTMLTextAreaElement::insertBefore):
3085         (DeprecatedDOMHTMLTextAreaElement::replaceChild):
3086         (DeprecatedDOMHTMLTextAreaElement::removeChild):
3087         (DeprecatedDOMHTMLTextAreaElement::appendChild):
3088         (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
3089         (DeprecatedDOMHTMLTextAreaElement::cloneNode):
3090         (DeprecatedDOMHTMLTextAreaElement::normalize):
3091         (DeprecatedDOMHTMLTextAreaElement::isSupported):
3092         (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
3093         (DeprecatedDOMHTMLTextAreaElement::prefix):
3094         (DeprecatedDOMHTMLTextAreaElement::setPrefix):
3095         (DeprecatedDOMHTMLTextAreaElement::localName):
3096         (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
3097         (DeprecatedDOMHTMLTextAreaElement::isSameNode):
3098         (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
3099         (DeprecatedDOMHTMLTextAreaElement::textContent):
3100         (DeprecatedDOMHTMLTextAreaElement::setTextContent):
3101         (DeprecatedDOMHTMLTextAreaElement::tagName):
3102         (DeprecatedDOMHTMLTextAreaElement::getAttribute):
3103         (DeprecatedDOMHTMLTextAreaElement::setAttribute):
3104         (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
3105         (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
3106         (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
3107         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
3108         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
3109         (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
3110         (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
3111         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
3112         (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
3113         (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
3114         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
3115         (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
3116         (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
3117         (DeprecatedDOMHTMLTextAreaElement::focus):
3118         (DeprecatedDOMHTMLTextAreaElement::blur):
3119         (DeprecatedDOMHTMLTextAreaElement::idName):
3120         (DeprecatedDOMHTMLTextAreaElement::setIdName):
3121         (DeprecatedDOMHTMLTextAreaElement::title):
3122         (DeprecatedDOMHTMLTextAreaElement::setTitle):
3123         (DeprecatedDOMHTMLTextAreaElement::lang):
3124         (DeprecatedDOMHTMLTextAreaElement::setLang):
3125         (DeprecatedDOMHTMLTextAreaElement::dir):
3126         (DeprecatedDOMHTMLTextAreaElement::setDir):
3127         (DeprecatedDOMHTMLTextAreaElement::className):
3128         (DeprecatedDOMHTMLTextAreaElement::setClassName):
3129         (DeprecatedDOMHTMLTextAreaElement::innerHTML):
3130         (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
3131         (DeprecatedDOMHTMLTextAreaElement::innerText):
3132         (DeprecatedDOMHTMLTextAreaElement::setInnerText):
3133         * Interfaces/DOMCSS.idl:
3134         * Interfaces/DOMCore.idl:
3135         * Interfaces/DOMEvents.idl:
3136         * Interfaces/DOMExtensions.idl:
3137         * Interfaces/DOMHTML.idl:
3138         * Interfaces/DOMPrivate.idl:
3139         * Interfaces/DOMRange.idl:
3140         * Interfaces/DOMWindow.idl:
3141         * Interfaces/IWebEditingDelegate.idl:
3142         * Interfaces/IWebFormDelegate.idl:
3143         * Interfaces/IWebFrame.idl:
3144         * Interfaces/IWebHTMLRepresentation.idl:
3145         * Interfaces/IWebView.idl:
3146         * WebEditorClient.cpp:
3147         (WebEditorClient::shouldDeleteRange):
3148         (WebEditorClient::shouldInsertText):
3149         (WebEditorClient::textFieldDidBeginEditing):
3150         (WebEditorClient::textFieldDidEndEditing):
3151         (WebEditorClient::textDidChangeInTextField):
3152         (WebEditorClient::doTextFieldCommandFromEvent):
3153         (WebEditorClient::textWillBeDeletedInTextField):
3154         (WebEditorClient::textDidChangeInTextArea):
3155         * WebElementPropertyBag.cpp:
3156         (WebElementPropertyBag::Read):
3157         * WebFrame.cpp:
3158         (elementFromDOMElement):
3159         (formElementFromDOMElement):
3160         (inputElementFromDOMElement):
3161         (WebFrame::DOMDocument):
3162         (WebFrame::frameElement):
3163         (WebFrame::currentForm):
3164         (WebFrame::elementWithName):
3165         (WebFrame::formForElement):
3166         (WebFrame::elementDoesAutoComplete):
3167         (WebFrame::controlsInForm):
3168         (WebFrame::elementIsPassword):
3169         (WebFrame::searchForLabelsBeforeElement):
3170         (WebFrame::matchLabelsAgainstElement):
3171         (WebFrame::dispatchWillSubmitForm):
3172         * WebFrame.h:
3173         * WebHTMLRepresentation.cpp:
3174         (WebHTMLRepresentation::attributedStringFromDOMNodes):
3175         (WebHTMLRepresentation::elementWithName):
3176         (WebHTMLRepresentation::elementDoesAutoComplete):
3177         (WebHTMLRepresentation::elementIsPassword):
3178         (WebHTMLRepresentation::formForElement):
3179         (WebHTMLRepresentation::currentForm):
3180         (WebHTMLRepresentation::controlsInForm):
3181         (WebHTMLRepresentation::searchForLabels):
3182         (WebHTMLRepresentation::matchLabels):
3183         * WebHTMLRepresentation.h:
3184         * WebView.cpp:
3185         (WebView::mainFrameDocument):
3186         (WebView::computedStyleForElement):
3187         (WebView::editableDOMRangeForPoint):
3188         (WebView::setSelectedDOMRange):
3189         (WebView::selectedDOMRange):
3190         (WebView::setTypingStyle):
3191         (WebView::typingStyle):
3192         (WebView::styleDeclarationWithText):
3193         (WebView::replaceSelectionWithNode):
3194         (WebView::applyStyle):
3195         * WebView.h:
3196
3197 2007-08-22  Jon Honeycutt  <jhoneycutt@apple.com>
3198
3199         Reviewed by Adam.
3200
3201         Refactoring of <radr://problem/5220598> Dragging URL out and back
3202         inserts a second copy of the URL
3203
3204         * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
3205         removeCustomDropTarget
3206         * WebView.cpp: 
3207         (WebView::WebView): Initialize m_hasCustomDropTarget
3208         (WebView::setCustomDropTarget): Revoke any existing drop target and set
3209         the incoming drop target.
3210         (WebView::removeCustomDropTarget): Revoke any existing drop target and
3211         set the default drop target.
3212         * WebView.h:
3213
3214 2007-08-21  Ada Chan  <adachan@apple.com>
3215
3216         Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
3217         Placing tooltip window at the topmost in z-order brought windows that were opened in the
3218         background to the front.  Use HWND_TOP instead.
3219
3220         Reviewed by Adam.
3221         
3222         * WebView.cpp:
3223         (WebView::initializeToolTipWindow):
3224
3225 2007-08-21  Adam Roben  <aroben@apple.com>
3226
3227         Switch Windows to using FrameView::layoutIfNeededRecursive
3228
3229         Reviewed by Darin.
3230
3231         * WebFrame.cpp: Removed layoutIfNeededRecursive.
3232         * WebFrame.h: Ditto.
3233         * WebView.cpp:
3234         (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
3235
3236 2007-08-17  Adam Roben  <aroben@apple.com>
3237
3238         Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
3239
3240         We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
3241             1) If DisableWebKitDeveloperExtras is set to true, don't display it
3242             2) If not, and we're in a debug build, display it
3243             3) If not, and we're in a release build, display it if
3244                WebKitDeveloperExtras is set to true
3245
3246         Reviewed by Ada.
3247
3248         * Interfaces/IWebPreferencesPrivate.idl: Added.
3249         * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
3250         file to project.
3251         * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
3252         IWebPreferencesPrivate to project.
3253         * WebPreferenceKeysPrivate.h: Added new keys.
3254         * WebPreferences.cpp: Added IID_WebPreferences.
3255         (WebPreferences::postPreferencesChangesNotification): Added an explicit
3256         cast needed now that WebPreferences implements two interfaces.
3257         (WebPreferences::QueryInterface): Added new cases.
3258         (WebPreferences::setDeveloperExtrasEnabled): Added.
3259         (WebPreferences::developerExtrasEnabled): Added.
3260         (WebPreferences::developerExtrasDisabledByOverride): Added.
3261         * WebPreferences.h: Now implements IWebPreferencesPrivate.
3262         * WebView.cpp:
3263         (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
3264         (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
3265         * WebView.h:
3266
3267 2007-08-17  Adam Roben  <aroben@apple.com>
3268
3269         Add WebPreferences::sharedStandardPreferences
3270
3271         This is a convenience method to get the standard preferences object so
3272         that within WebKit we don't have to deal with the fact that COM doesn't
3273         support static methods.
3274
3275         Reviewed by Ada.
3276
3277         * WebHistory.cpp:
3278         (WebHistory::WebHistory): Use sharedStandardPreferences.
3279         * WebIconDatabase.cpp:
3280         (WebIconDatabase::init): Ditto.
3281         * WebPreferences.cpp:
3282         (WebPreferences::sharedStandardPreferences): Added.
3283         (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
3284         (WebPreferences::standardPreferences): Ditto.
3285         * WebPreferences.h:
3286         * WebView.cpp:
3287         (WebView::preferences): Ditto.
3288
3289 2007-08-17  Anders Carlsson  <andersca@apple.com>
3290
3291         Build fix.
3292         
3293         * WebFrame.cpp:
3294         (WebFrame::createPlugin):
3295         * WebFrame.h:
3296         
3297 2007-08-13  Geoffrey Garen  <ggaren@apple.com>
3298
3299         Reviewed by Dave Hyatt.
3300
3301         WebKit changes to support new cache eviction model in WebCore.
3302
3303         * WebPreferences.cpp:
3304         (WebPreferences::initialize):
3305
3306         * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
3307         * WebView.cpp:
3308         (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
3309         size on low memory systems to avoid affecting the PLT for now.
3310
3311 2007-08-14  Steve Falkenburg  <sfalken@apple.com>
3312
3313         <rdar://problem/5411482> Windows user agent language always returns "en"
3314         
3315         Call WebCore::defaultLanguage() to pick up UA language.
3316         
3317         Reviewed by Oliver.
3318
3319         * WebView.cpp:
3320         (WebView::userAgentForKURL):
3321
3322 2007-08-15  Peter Kasting  <zerodpx@gmail.org>
3323
3324         Reviewed by Darin.
3325         
3326         http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
3327         conversions of wtf::Vector<T> to T* by explicitly calling .data()
3328
3329         * WebView.cpp:
3330         (getCompositionString):
3331
3332 2007-08-12  Adam Roben  <aroben@apple.com>
3333
3334         Store user defaults in a non-mutable CFDictionaryRef
3335
3336         Also renamed WebPreferences' static members:
3337             m_standardPreferences -> s_standardPreferences
3338             m_standardUserDefaults -> s_defaultSettings
3339
3340         Reviewed by Darin and John.
3341
3342         * WebPreferences.cpp:
3343         (WebPreferences::getInstanceForIdentifier):
3344         (WebPreferences::initializeUserDefaults): Construct the dictionary as a
3345         local CFMutableDictionaryRef, then assign it to the non-mutable static
3346         member.
3347         (WebPreferences::valueForKey):
3348         (WebPreferences::removeDefaultsIfNeeded):
3349         (WebPreferences::standardPreferences):
3350         * WebPreferences.h:
3351
3352 2007-08-12  Adam Roben  <aroben@apple.com>
3353
3354         Fix <rdar://problem/5214504> No way to change WebPreferences defaults (all preferences get written to disk)
3355
3356         We now only write to disk values that have been explicitly set, and
3357         never write any default values.
3358
3359         This is not enough, however, as anyone who has used WebKit prior to
3360         this change will have the default values sitting in their preferences
3361         plist on disk. To remedy this, we perform a one-time removal of any
3362         key-value pairs that match a pair in the defaults dictionary.
3363
3364         Reviewed by Steve, John, Ada, and Darin.
3365
3366         * WebPreferenceKeysPrivate.h: Added new key to ensure we only remove
3367         the defaults once.
3368         * WebPreferences.cpp:
3369         (WebPreferences::initializeDefaultSettings): Renamed from initialize, and
3370         made sure we only set up the defaults dictionary once. Now that the
3371         defaults dictionary is never modified after creation, we don't need to
3372         check whether the keys are already present.
3373         (WebPreferences::setStringValue): Don't modify the defaults dictionary.
3374         (WebPreferences::setIntegerValue): Ditto.
3375         (WebPreferences::setBoolValue): Ditto.
3376         (WebPreferences::save): Write out the user's preferences, not the defaults.
3377         (WebPreferences::load):
3378            - Removed gotos and early declarations now that we're using
3379              RetainPtr everywhere.
3380            - Initialize m_privatePrefs with an empty dictionary if we didn't
3381              read in a plist.
3382            - Call migrateDefaultSettingsFromSafari3Beta after loading.
3383         (WebPreferences::migrateDefaultSettingsFromSafari3Beta): Added.
3384         (WebPreferences::removeValuesMatchingDefaultSettings): Added.
3385         (WebPreferences::initWithIdentifier): Don't initialize m_privatePrefs
3386         -- load() does this now.
3387         * WebPreferences.h: Updated/added declarations.
3388
3389 2007-08-12  Adam Roben  <aroben@apple.com>
3390
3391         Use RetainPtr to store WebPreferences::m_privatePrefs
3392
3393         Reviewed by Darin.
3394
3395         * WebPreferences.cpp:
3396         (WebPreferences::setStringValue):
3397         (WebPreferences::setIntegerValue):
3398         (WebPreferences::setBoolValue):
3399         (WebPreferences::initWithIdentifier):
3400         * WebPreferences.h:
3401
3402 2007-08-12  Adam Roben  <aroben@apple.com>
3403
3404         Fix <rdar://problem/5278790> Hole for find-on-page match in subframe isn't clipped by frame bounds
3405
3406         Reviewed by Maciej.
3407
3408         * WebView.cpp:
3409         (WebView::rectsForTextMatches): Ported fix from r23586.
3410
3411 2007-08-12  Adam Roben  <aroben@apple.com>
3412
3413         Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
3414
3415         Reviewed by Maciej.
3416
3417         * WebKitGraphics.cpp:
3418         (makeFont):
3419
3420 2007-08-10  Ada Chan  <adachan@apple.com>
3421
3422         Reviewed by Adam and Darin.
3423         
3424         <rdar://problem/5403095> Crash in WebViewWndProc after closing a window
3425         We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
3426         Bail early in the wndProc if WebView is set to be destroyed.
3427
3428         * WebView.cpp:
3429         (WebViewWndProc):
3430
3431 2007-08-02  Ada Chan  <adachan@apple.com>
3432
3433         Reviewed by Steve.
3434         
3435         <rdar://problem/5079175> Printing header and footer
3436
3437         * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
3438         * WebFrame.cpp:
3439         (WebFrame::headerAndFooterHeights): ask client for the header and 
3440         footer heights via IWebUIDelegate2 methods.
3441         (WebFrame::computePageRects): pass in header and footer heights when
3442         calculating page rect heights.
3443         (WebFrame::spoolPages): ask client to draw header and footer via
3444         IWebUIDelegate2 methods.
3445         * WebFrame.h:
3446         * WebKitGraphics.cpp:
3447         (DrawTextAtPoint): the code assumes color has 4 components - might as well
3448         assert it.
3449
3450 2007-08-01  Steve Falkenburg  <sfalken@apple.com>
3451
3452         Build mod: Fix sln to match configs in vcproj.
3453         
3454         Reviewed by Adam.
3455
3456         * WebKit.vcproj/WebKit.make:
3457         * WebKit.vcproj/WebKit.submit.sln:
3458
3459 2007-07-27  Justin Garcia  <justin.garcia@apple.com>
3460
3461         Reviewed by Tristan.
3462         
3463         <rdar://problem/5098931> Attachments are lost when they are moved into a ToDo after a delete
3464
3465         * WebEditorClient.cpp:
3466         (WebEditorClient::shouldMoveRangeAfterDelete): Method stub.
3467         * WebEditorClient.h:
3468
3469 2007-07-27  Anders Carlsson  <andersca@apple.com>
3470
3471         Reviewed by Adam.
3472
3473         Add FIXME comment.
3474         
3475         * Interfaces/DOMHTML.idl:
3476
3477 2007-07-27  Ada Chan  <adachan@apple.com>
3478
3479         Reviewed by Adam.
3480         
3481         Added methods to track user edited text fields now that 
3482         <rdar://problem/5359921> has been fixed.
3483
3484         * DOMHTMLClasses.cpp:
3485         (DOMHTMLInputElement::QueryInterface):
3486         (DOMHTMLInputElement::isUserEdited):
3487         (DOMHTMLTextAreaElement::QueryInterface):
3488         (DOMHTMLTextAreaElement::isUserEdited):
3489         * DOMHTMLClasses.h:
3490         * Interfaces/DOMPrivate.idl:
3491
3492 2007-07-27  Adam Roben  <aroben@apple.com>
3493
3494         Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows
3495         http://bugs.webkit.org/show_bug.cgi?id=14773
3496
3497         Reviewed by Steve.
3498
3499         * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
3500         inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
3501         can't change its vtable.
3502
3503 2007-07-25  Ada Chan  <adachan@apple.com>
3504
3505         Reviewed by Adam and Steve.
3506         
3507         Implemented some DOM methods and other fixes for <rdar://problem/5311601>.
3508         
3509         * DOMCoreClasses.cpp:
3510         (DOMNode::ownerDocument): implemented
3511         (DOMDocument::getComputedStyle): get the DOMElement via QueryInterface
3512         (DOMElement::QueryInterface):
3513         * DOMHTMLClasses.cpp:
3514         (DOMHTMLDocument::body): fixed leak
3515         (DOMHTMLFormElement::action): implemented
3516         (DOMHTMLFormElement::method): ditto
3517         (DOMHTMLInputElement::form): ditto
3518         (DOMHTMLTextAreaElement::form): ditto
3519         * Interfaces/DOMHTML.idl: IDOMHTMLInputElement should inherit from IDOMHTMLElement
3520
3521 2007-07-24  Steve Falkenburg  <sfalken@apple.com>
3522
3523         Removed touch of WebKit.rc to prevent rebuilds of the rc file.
3524         The autoversion info can get slightly out of date now, but this isn't a huge problem relative to the rebuilds.
3525         
3526         Rubber-stamped by Adam.
3527
3528         * WebKit.vcproj/WebKit.vcproj:
3529
3530 2007-07-23  Steve Falkenburg  <sfalken@apple.com>
3531
3532         Fixes to versioning script.
3533         
3534         Reviewed by Ada.
3535
3536         * WebKit.vcproj/auto-version.sh:
3537
3538 2007-07-23  Adam Roben  <aroben@apple.com>
3539
3540         Implement IWebHistoryItem::[set]AlternateTitle
3541
3542         The argument types were reversed for these two methods, so I fixed that as
3543         well.
3544
3545         Reviewed by Geoff and Oliver.
3546
3547         * Interfaces/IWebHistoryItem.idl:
3548         * WebHistoryItem.cpp:
3549         (WebHistoryItem::setAlternateTitle): Implemented.
3550         (WebHistoryItem::alternateTitle): Implemented.
3551         * WebHistoryItem.h:
3552
3553 2007-07-23  Ada Chan  <adachan@apple.com>
3554
3555         Reviewed by Steve.
3556         
3557         Added a new text drawing method that allows caller to override the font smoothing level.
3558
3559         * WebKit.vcproj/WebKit.def:
3560         * WebKit.vcproj/WebKit_debug.def:
3561         * WebKitGraphics.cpp:
3562         (WebDrawText):
3563         * WebKitGraphics.h:
3564
3565 2007-07-22  Adam Roben  <aroben@apple.com>
3566
3567         Implement IDOMElement::setAttribute
3568
3569         This method was mistakenly called "setResult" in DOMCore.idl, so I
3570         fixed that as well.
3571
3572         Needed for <rdar://problem/5314906>.
3573
3574         Reviewed by Ada.
3575
3576         * DOMCoreClasses.cpp:
3577         (DOMElement::setAttribute): Implemented/renamed.
3578         * DOMCoreClasses.h: Renamed setResult => setAttribute.
3579         * DOMHTMLClasses.h: Ditto.
3580         * Interfaces/DOMCore.idl: Ditto.
3581
3582 2007-07-21  Ada Chan  <adachan@apple.com>
3583
3584         Reviewed by Adam.
3585         
3586         Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
3587         Need to set the last visited time before calling WebHistory::addItem().
3588
3589         * WebHistory.cpp:
3590         (WebHistory::addItemForURL):
3591
3592 2007-07-20  Justin Garcia  <justin.garcia@apple.com>
3593
3594         Reviewed by Darin.
3595         
3596         <rdar://problem/5109817> Ctrl-click on word in non-editable text doesn't select it
3597
3598         * WebEditorClient.cpp: Removed the now unused selectWordBeforeMenuEvent().
3599         * WebEditorClient.h:
3600
3601 2007-07-20  Ada Chan  <adachan@apple.com>
3602
3603         Reviewed by Steve.
3604         
3605         <rdar://problem/5350832> History item's visitedCount wasn't updated correctly
3606
3607         The call to setLastVisitedTimeInterval() in WebHistory::addItemForURL() does not
3608         really increment the visitedCount of the HistoryItem - because we only increment the count
3609         if the last visited time is different.  We should initialize the HistoryItem with
3610         lastVisited time = 0 so when we call setLastVisitedTimeInterval() later, it'll update
3611         the last visited time AND the visitedCount.
3612         
3613         * WebHistory.cpp:
3614         (WebHistory::addItemForURL):
3615
3616 2007-07-20  Oliver Hunt  <oliver@apple.com>
3617
3618         Reviewed by Maciej.
3619
3620         <rdar://problem/5349668> WebKit/Win needs to send same key events during IME composition as it does on mac
3621
3622         Removed guards against sending key events during composition, and added a flag
3623         to indicate a key event is IME related.  This is needed to prevent the first 
3624         keydown from firing a keypress event, and makes WebEditorClient::handleInputMethodKeypress
3625         somewhat cleaner.
3626
3627         * WebEditorClient.cpp:
3628         (WebEditorClient::handleInputMethodKeypress):
3629         * WebView.cpp:
3630         (WebView::keyUp):
3631         (WebView::keyDown):
3632         * WebView.h:
3633         (WebView::inIMEKeyDown):
3634
3635 2007-07-19  Maciej Stachowiak  <mjs@apple.com>
3636
3637         Reviewed by Adam.
3638         
3639         - WebKit part of fix for <rdar://problem/5262230> Crash while loading a popup in addictinggames.com
3640         
3641         Made closeWindowSoon fire on a timer instead of happening synchronously.
3642
3643         * WebChromeClient.cpp:
3644         (WebChromeClient::closeWindowSoon): Actually close the window on a timer, not immediately.
3645         * WebKit.vcproj/WebKit.vcproj:
3646         * WebView.cpp:
3647         (WebView::WebView):
3648         (WebView::closeWindowSoon):
3649         (WebView::closeWindowTimerFired):
3650         * WebView.h:
3651
3652 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3653
3654         Reviewed by Adam.
3655
3656         Make the Page with the now required InspectorClient.
3657
3658         * WebView.cpp:
3659         (WebView::initWithFrame):
3660
3661 2007-07-18  Sam Weinig  <sam@webkit.org>
3662
3663         Build fix.
3664
3665         * WebFrame.cpp:
3666         (WebFrame::dispatchDecidePolicyForMIMEType):
3667         (WebFrame::objectContentType):
3668         * WebView.cpp:
3669         (WebView::canShowMIMEType):
3670
3671 2007-07-17  Brady Eidson <beidson@apple.com>
3672
3673         Blind Windows build fix from r24395
3674
3675         * WebView.cpp:
3676         (WebView::initWithFrame): BSTR, not BString
3677
3678 2007-07-17  Brady Eidson  <beidson@apple.com>
3679
3680         Reviewed by Steve
3681         
3682         <rdar://problem/4516185> - FTP Directory Listings
3683
3684         * Interfaces/IWebUIDelegate.idl: Add IWebUIDelegate2 method for getting the path to the template
3685         
3686         * WebView.cpp:
3687           (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
3688           WebView is initialized
3689
3690 2007-07-17  Ada Chan  <adachan@apple.com>
3691
3692         Rubbet-stamped by Adam.
3693         
3694         Fixed build.
3695
3696         * Interfaces/IWebFramePrivate.idl:
3697         * WebContextMenuClient.cpp:
3698         (fixMenuReceivedFromOldSafari):
3699         * WebFrame.cpp:
3700         (WebFrame::loadURLIntoChild):
3701         (WebFrame::download):
3702         * WebFrame.h:
3703
3704 2007-07-17  Adam Roben  <aroben@apple.com>
3705
3706         Fix Bug 14324: Cannot remove/customize the "Inspect Element" contextual menu item
3707         http://bugs.webkit.org/show_bug.cgi?id=14324
3708
3709         If we detect that we're running against the Safari 3 Beta, we add back
3710         the Inspect Element menu item after passing it off to the delegate
3711         because Safari's UI delegate will remove it.
3712
3713         Reviewed by Tim.
3714
3715         * WebContextMenuClient.cpp:
3716         (isPreInspectElementTagSafari): Added.
3717         (fixMenuReceivedFromOldSafari): Added.
3718         (WebContextMenuClient::getCustomMenuFromDefaultItems): Call
3719         fixMenuReceivedFromOldSafari before returning the new menu.
3720
3721 2007-07-17  Adam Roben  <aroben@apple.com>
3722
3723         Remove WebContextMenuClient::shouldIncludeInspectElementItem
3724
3725         Reviewed by Tim.
3726
3727         * WebContextMenuClient.cpp:
3728         * WebContextMenuClient.h:
3729
3730 2007-07-17  Adam Roben  <aroben@apple.com>
3731
3732         Initialize Settings::developerExtrasEnabled
3733
3734         Reviewed by Tim.
3735
3736         * WebView.cpp:
3737         (WebView::updateWebCoreSettingsFromPreferences):
3738
3739 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
3740
3741         Build fix. 
3742
3743         * WebContextMenuClient.cpp:
3744         (WebContextMenuClient::searchWithGoogle): Pass false for lockHistory 
3745         like we do elsewhere.
3746
3747 2007-07-17  Oliver Hunt  <oliver@apple.com>
3748
3749         Reviewed by Adam.
3750
3751         Fix for <rdar://problem/5339416> Candidate window does not
3752                 appear in the correct location for japanese IME
3753
3754         * WebView.cpp:
3755         (WebView::prepareCandidateWindow):
3756           We now use an exclusion zone so that the composition window never 
3757           overlaps the composition string
3758         (WebView::onIMERequestCharPosition):
3759           Correctly handle character offsets marked regions
3760
3761 2007-07-16  Oliver Hunt  <oliver@apple.com>
3762
3763         Reviewed by Maciej.
3764
3765         Fix for <rdar://problem/5334818> Support IME reconversion in windows
3766
3767         Also includes a small amount of IME refactoring.
3768
3769         * WebView.cpp:
3770         (WebView::onIMERequestCharPosition):
3771         (WebView::onIMERequestReconvertString):
3772         (WebView::onIMERequest):
3773         * WebView.h:
3774
3775 2007-07-16  Brady Eidson  <beidson@apple.com>
3776
3777         Reviewed by Adam
3778
3779         Begin the arduous task of localizing FTP directory listings while removing a global initializer!
3780
3781         * English.lproj/Localizable.strings:
3782         * WebCoreLocalizedStrings.cpp:
3783         (WebCore::unknownFileSizeText):
3784
3785 2007-07-16  Oliver Hunt  <oliver@apple.com>
3786
3787         Reviewed by Maciej.
3788
3789         Fix for <rdar://problem/5334826> Chinese IME composition window does not appear in the correct location
3790
3791         Respect IME requests for character position.
3792
3793         * WebView.cpp:
3794         (WebView::onIMERequestCharPosition):
3795         (WebView::onIMERequest):
3796         * WebView.h:
3797
3798 2007-07-16  Adam Roben  <aroben@apple.com>
3799
3800         WebKit/win part of <rdar://problem/5336005> Calling window.print() on a subframe prints whole page, should only print that subframe
3801
3802         Reviewed by Darin.
3803
3804         * Interfaces/IWebUIDelegate.idl: Rename print to printFrame to closer
3805         match the Mac method, and copy more of the Mac API comments.
3806         * WebChromeClient.cpp:
3807         (WebChromeClient::print): Call printFrame instead of print.
3808
3809 2007-07-16  Adam Roben  <aroben@apple.com>
3810
3811         Updated WebChromeClient for ChromeClient changes.
3812
3813         Reviewed by Darin.
3814
3815         * WebChromeClient.cpp:
3816         (WebChromeClient::print): Added a Frame* parameter.
3817         * WebChromeClient.h: Ditto.
3818
3819 2007-07-16  Oliver Hunt  <oliver@apple.com>
3820
3821         Reviewed by Steve.
3822
3823         Fix for http://bugs.webkit.org/show_bug.cgi?id=14630
3824
3825         Remove bogus assertion
3826
3827         * WebView.cpp:
3828         (WebView::getIMMContext):
3829
3830 2007-07-14  Brady Eidson  <beidson@apple.com>
3831
3832         Reviewed by Sam
3833         
3834         Set the pref to override the policy delegate for FTP directory listings on Windows
3835
3836         * WebView.cpp:
3837         (WebView::updateWebCoreSettingsFromPreferences):
3838
3839 2007-07-13  Oliver Hunt  <oliver@apple.com>
3840
3841         Reviewed by Darin and Alexey.
3842
3843         Fix for <rdar://problem/5231528> Inline input of International text (IME)
3844                 http://bugs.webkit.org/show_bug.cgi?id=14331
3845
3846         This patch adds IME support to WebKit/win, it currently does not support
3847         reconversion (<rdar://problem/5334818>) and has issues with the chinese
3848         IMEs (<rdar://problem/5334826>)
3849
3850         * WebEditorClient.cpp:
3851         (WebEditorClient::respondToChangedSelection):
3852         (WebEditorClient::handleInputMethodKeypress):
3853           Prevent the initial keydown for an IME from triggering a keypressed event
3854         * WebView.cpp:
3855         (WebView::WebView):
3856         (WebView::keyUp):
3857         (WebView::keyDown):
3858         (WebViewWndProc):
3859         (IMMDict::dict):
3860         (IMMDict::IMMDict):
3861            Dynamic loader for IME libraries
3862
3863         (WebView::getIMMContext):
3864         (WebView::releaseIMMContext):
3865         (WebView::prepareCandidateWindow):
3866         (selectionInsideMarkedText):
3867         (setSelectionToEndOfRange):
3868         (WebView::resetIME):
3869         (WebView::updateSelectionForIME):
3870         (WebView::selectionChanged):
3871         (getCompositionString):
3872         (compositionToUnderlines):
3873            Helper functions
3874
3875         (WebView::onIMEStartComposition):
3876         (WebView::onIMEComposition):
3877         (WebView::onIMEEndComposition):
3878         (WebView::onIMEChar):
3879         (WebView::onIMENotify):
3880         (WebView::onIMERequest):
3881         (WebView::onIMESelect):
3882         (WebView::onIMESetContext):
3883            IME event handling, so far most of these are not implemented, but the bulk of functionality 
3884            is performed the the composition event handlers
3885         * WebView.h:
3886
3887 2007-07-12  Alice Liu  <alice.liu@apple.com>
3888
3889         Reviewed by Maciej and Steve.
3890
3891         fixed <rdar://4982432> window.print() needs to be implemented
3892
3893         * Interfaces/IWebUIDelegate.idl:
3894         * WebChromeClient.cpp:
3895         (WebChromeClient::print):
3896         * WebChromeClient.h:
3897
3898 2007-07-11  Steve Falkenburg  <sfalken@apple.com>
3899
3900         Static analysis build fix.
3901         
3902         Only specify /analyze (PREfast) if it is available.
3903         Prevents entire project from rebuilding each time.        
3904
3905         Reviewed by Hyatt.
3906
3907         * WebKit.vcproj/WebKit.vcproj:
3908
3909 2007-07-10  Ada Chan  <adachan@apple.com>
3910         
3911         Fixed build.
3912
3913         * WebView.cpp:
3914
3915 2007-07-09  Alice Liu  <alice.liu@apple.com>
3916
3917         Reviewed by Adam Roben.
3918         
3919         Adding DOM Paste Allowed preference, setters and getters
3920         for the purpose of layout tests.
3921
3922         * Interfaces/IWebPreferences.idl:
3923         * WebPreferenceKeysPrivate.h:
3924         * WebPreferences.cpp:
3925         (WebPreferences::isDOMPasteAllowed):
3926         (WebPreferences::setDOMPasteAllowed):
3927         * WebPreferences.h:
3928         * WebView.cpp:
3929         (WebView::updateWebCoreSettingsFromPreferences):
3930
3931 2007-07-09  Anders Carlsson  <andersca@apple.com>
3932
3933         Build fix.
3934
3935         * WebView.cpp:
3936         (WebView::stringByEvaluatingJavaScriptFromString):
3937
3938 2007-07-05  Adam Roben  <aroben@apple.com>
3939
3940         Fix a leak in WebView::setToolTip
3941
3942         Reviewed by Beth.
3943
3944         * WebView.cpp:
3945         (WebView::setToolTip):
3946
3947 2007-07-05  Adam Roben  <aroben@apple.com>
3948
3949         Fix Bug 14143: Tooltips not displayed on Windows
3950         http://bugs.webkit.org/show_bug.cgi?id=14143
3951         <rdar://problem/4719799>
3952
3953         Reviewed by Oliver.
3954
3955         * WebChromeClient.cpp:
3956         (WebChromeClient::setToolTip): Call up to WebView.
3957         * WebView.cpp:
3958         (WebView::WebView): Initialize m_toolTipHwnd member.
3959         (WebView::initWithFrame): Set up the tool tip window.
3960         (initCommonControls): Added.
3961         (WebView::initializeToolTipWindow): Added.
3962         (WebView::setToolTip): Set the tool tip text and enable/disable the
3963         tool tip.
3964         * WebView.h: Added/updated declarations.
3965
3966 2007-07-04  Adam Roben  <aroben@apple.com>
3967
3968         Added a stub for WebChromeClient::setToolTip
3969
3970         Reviewed by Sam.
3971
3972         * WebChromeClient.cpp:
3973         * WebChromeClient.h:
3974
3975 2007-07-04  Adam Roben  <aroben@apple.com>
3976
3977         Initialize Settings::showsURLsInToolTips
3978
3979         Reviewed by Sam.
3980
3981         * WebView.cpp:
3982         (WebView::updateWebCoreSettingsFromPreferences):
3983
3984 2007-07-04  Adam Roben  <aroben@apple.com>
3985
3986         Removed call to mouseDidMoveOverElement now that WebCore handles it
3987
3988         Reviewed by Sam.
3989
3990         * WebView.cpp:
3991         (WebView::handleMouseEvent):
3992
3993 2007-07-04  Adam Roben  <aroben@apple.com>
3994
3995         Add WebChromeClient::mouseDidMoveOverElement
3996
3997         This is not called yet.
3998
3999         Reviewed by Sam.
4000
4001         * WebChromeClient.cpp:
4002         (WebChromeClient::mouseDidMoveOverElement):
4003         * WebChromeClient.h:
4004
4005 2007-07-03  Adam Roben  <aroben@apple.com>
4006
4007         Merge the Windows and Mac localized strings and exceptions files
4008
4009         Reviewed by Darin and Anders.
4010
4011         * English.lproj/Localizable.strings: Added Mac strings.
4012         * English.lproj/StringsNotToBeLocalized.txt: Removed.
4013
4014 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
4015
4016         Turn on static code analysis.
4017
4018         Reviewed by Oliver.
4019         
4020         Affects only folks that have Visual Studio Team Suite installed,
4021         or who have replaced their compiler with the version shipping in the
4022         Vista SDK.
4023
4024         * CodeAnalysisConfig.h: Added.
4025         * WebKit.vcproj/WebKit.vcproj:
4026         * WebLocalizableStrings.cpp:
4027         (createWebKitBundle):
4028
4029 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
4030
4031         Prefast: Remove variable redefinitions in inner scopes.
4032         
4033         Reviewed by Ada.
4034
4035         * WebDownload.cpp:
4036         (WebDownload::didFinish):
4037         * WebNotificationCenter.cpp:
4038         (WebNotificationCenter::postNotificationInternal):
4039         (WebNotificationCenter::removeObserver):
4040
4041 2007-06-27  Steve Falkenburg  <sfaken@apple.com>
4042
4043         Remove SEH block from around history plist read, since the underlying bug has been fixed.
4044         
4045         Reviewed by Darin.
4046
4047         * WebHistory.cpp:
4048         (createHistoryListFromStream):
4049
4050 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
4051
4052         Prefast: Fix misplaced parenthesis.
4053         
4054         Reviewed by Darin.
4055
4056         * WebView.cpp:
4057         (core):
4058
4059 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
4060
4061         Prefast: Add null check prior to writing into allocated BSTR.
4062         
4063         Reviewed by Darin.
4064
4065         * MarshallingHelpers.cpp:
4066         (MarshallingHelpers::CFStringRefToBSTR):
4067
4068 2007-06-27  Steve Falkenburg  <sfalken@apple.com>
4069
4070         Prefast: Add error handling for SysAllocStringLen where the string length is determined by website content.
4071
4072         Reviewed by Sam, Darin.
4073                 
4074         Allocation failure will result in a null dereference in this case,
4075         so it isn't exploitable.
4076
4077         * DefaultDownloadDelegate.cpp:
4078         (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
4079
4080 2007-06-20  Adam Roben  <aroben@apple.com>
4081
4082         Land the new Inspector.
4083
4084         Co-written with Tim Hatcher.
4085
4086         Reviewed by Anders, Adele, Hyatt, and Sam.
4087
4088         Implement the InspectorClient interface.
4089
4090         * WebInspectorClient.cpp: Added.
4091         (WebInspectorClient::WebInspectorClient):
4092         (WebInspectorClient::~WebInspectorClient):
4093         (WebInspectorClient::inspectorDestroyed):
4094         (WebInspectorClient::createPage):
4095         (WebInspectorClient::showWindow):
4096         (WebInspectorClient::closeWindow):
4097         (WebInspectorClient::windowVisible):
4098         (WebInspectorClient::attachWindow):
4099         (WebInspectorClient::detachWindow):
4100         (WebInspectorClient::highlight):
4101         (WebInspectorClient::hideHighlight):
4102         (WebInspectorClient::inspectedURLChanged):
4103         (WebInspectorClient::updateWindowTitle):
4104         (WebInspectorClient::onSize):
4105         (WebInspectorClient::onClose):
4106         (WebInspectorClient::onWebViewWindowPosChanging):
4107         (WebInspectorWndProc):
4108         (SubclassedWebViewWndProc):
4109         (registerWindowClass):
4110         * WebInspectorClient.h: Added.
4111
4112         Add an easier-to-see highlight.
4113
4114         * WebNodeHighlight.cpp: Added.
4115         (WebNodeHighlight::WebNodeHighlight):
4116         (WebNodeHighlight::~WebNodeHighlight):
4117         (WebNodeHighlight::highlight):
4118         (WebNodeHighlight::hide):
4119         (WebNodeHighlight::visible):
4120         (WebNodeHighlight::updateWindow):
4121         (WebNodeHighlight::removeSubclass):
4122         (registerOverlayClass):
4123         (OverlayWndProc):
4124         (SubclassedWndProc):
4125         * WebNodeHighlight.h: Added.
4126
4127         WebView changes needed for the new Inspector.
4128
4129         * WebView.cpp: Removed old inspectElement method now that this is
4130         handled by WebCore.
4131         (WebView::WebView):
4132         (WebView::close):
4133         (WebView::performContextMenuAction): Removed handling of the Inspect
4134         Element context menu item.
4135         (WebView::initWithFrame): Give each Page an InspectorClient to enable
4136         the Inspector.
4137         (WebView::setProhibitsMainFrameScrolling): Added.
4138         * WebView.h:
4139
4140         Updates needed for WebCore changes.
4141
4142         * Interfaces/IWebUIDelegate.idl:
4143         * WebContextMenuClient.cpp:
4144         (WebContextMenuClient::getCustomMenuFromDefaultItems):
4145         * WebContextMenuClient.h:
4146         * WebCoreLocalizedStrings.cpp:
4147
4148         Remove old Inspector code.
4149
4150         * WebFrame.cpp:
4151         * WebFrame.h:
4152         * WebInspector/WebInspector.cpp: Removed.
4153         * WebInspector/WebInspector.h: Removed.
4154         * WebInspector/webInspector/Images/button.png: Removed.
4155         * WebInspector/webInspector/Images/buttonDivider.png: Removed.
4156         * WebInspector/webInspector/Images/buttonPressed.png: Removed.
4157         * WebInspector/webInspector/Images/close.png: Removed.
4158         * WebInspector/webInspector/Images/closePressed.png: Removed.
4159         * WebInspector/webInspector/Images/downTriangle.png: Removed.
4160         * WebInspector/webInspector/Images/menu.png: Removed.
4161         * WebInspector/webInspector/Images/menuPressed.png: Removed.
4162         * WebInspector/webInspector/Images/popup.png: Removed.
4163         * WebInspector/webInspector/Images/popupPressed.png: Removed.
4164         * WebInspector/webInspector/Images/resize.png: Removed.
4165         * WebInspector/webInspector/Images/rightTriangle.png: Removed.
4166         * WebInspector/webInspector/Images/scrollThumbBottom.png: Removed.
4167         * WebInspector/webInspector/Images/scrollThumbMiddle.png: Removed.
4168         * WebInspector/webInspector/Images/scrollTrackMiddle.png: Removed.
4169         * WebInspector/webInspector/Images/upTriangle.png: Removed.
4170         * WebInspector/webInspector/inspector.css: Removed.
4171         * WebInspector/webInspector/inspector.html: Removed.
4172         * WebInspector/webInspector/inspector.js: Removed.
4173         * WebInspector/webInspector/scrollarea.js: Removed.
4174         * WebInspector/webInspector/scrollbar.js: Removed.
4175         * WebInspector/webInspector/treeoutline.js: Removed.
4176         * WebInspector/webInspector/utilities.js: Removed.
4177
4178         Build-fu:
4179
4180         * WebKit.vcproj/WebKit.vcproj:
4181
4182 2007-06-19  Dave Hyatt  <hyatt@apple.com>
4183
4184         Fix for <rdar://problem/5022197>, backspace and ctrl+left arrow should go back.  Shift+backspace
4185         and ctrl+right arrow should go forward.  Add support for these keybindings to Windows.
4186        
4187         Reviewed by ada
4188
4189         * WebView.cpp:
4190         (WebView::keyDown):
4191
4192 2007-06-18  Dave Hyatt  <hyatt@apple.com>
4193
4194         Let through more newline+modifier key combos in order to support Alt+Enter and Ctrl+Enter in the
4195         SafariWin URL bar.
4196        
4197         Reviewed by mccullough
4198
4199         * WebView.cpp:
4200