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