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