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