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