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