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