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