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