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