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