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