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