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