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