Home | History | Annotate | Download | only in win
      1     2009-06-15  Dan Bernstein  <mitz (a] apple.com>
      2 
      3         Reviewed by Tim Hatcher.
      4 
      5         - use a nice source code font in the Web Inspector
      6 
      7         * WebCoreSupport/WebInspectorClient.cpp:
      8         (WebInspectorClient::createPage): Set the default monospace font to
      9             13px Courier New, which is the default source code font in Visual
     10             Studio.
     11 
     12 2009-06-13  Adam Barth  <abarth (a] webkit.org>
     13 
     14         Reviewed by Darin Fisher.
     15 
     16         https://bugs.webkit.org/show_bug.cgi?id=24492
     17 
     18         Move registerURLSchemeAsLocal from FrameLoader to SecurityOrigin.
     19 
     20         * WebView.cpp:
     21         (WebView::registerURLSchemeAsLocal):
     22 
     23 2009-06-12  Peter Kasting  <pkasting (a] google.com>
     24 
     25         Reviewed by Eric Seidel.
     26 
     27         * ChangeLog: Update my email address.
     28 
     29 2009-06-03  Brent Fulgham  <bfulgham (a] webkit.org>
     30 
     31         Build fix for Windows Cairo.
     32 
     33         * WebKit.vcproj/WebKit.vcproj: Remove unneeded giflib.lib
     34           link command.
     35 
     36 2009-06-01  Brent Fulgham  <bfulgham (a] webkit.org>
     37 
     38         Build fix for Cairo Windows target.  Windows link definition
     39         files were out of sync with the Apple Windows link files.
     40 
     41         * WebKit.vcproj/WebKit_Cairo.def:
     42         * WebKit.vcproj/WebKit_Cairo_debug.def:
     43 
     44 2009-05-29  Adam Roben  <aroben (a] apple.com>
     45 
     46         Implement WebFrame::startDownload
     47 
     48         Fixes the WebKit side of Bug 25729: Alt-clicking a link doesn't start
     49         a download <https://bugs.webkit.org/show_bug.cgi?id=25729>. Fixing
     50         this all the way will require a change in Safari.
     51 
     52         Reviewed by Darin Adler.
     53 
     54         * WebFrame.cpp:
     55         (WebFrame::startDownload): Call through to WebView::downloadURL.
     56 
     57 2009-05-29  Adam Roben  <aroben (a] apple.com>
     58 
     59         Move WebContextMenuClient's downloading code to WebView
     60 
     61         This will allow other code to trigger downloads using this code, and
     62         matches Mac.
     63 
     64         Reviewed by Darin Adler.
     65 
     66         * WebCoreSupport/WebContextMenuClient.cpp:
     67         (WebContextMenuClient::downloadURL): Moved code from here...
     68         * WebView.cpp:
     69         (WebView::downloadURL): ...to here. Also tightened up the code a
     70         little bit and removed an unnecessary LOG_ERROR.
     71 
     72         * WebView.h: Added downloadURL.
     73 
     74 2009-05-29  Brent Fulgham  <bfulgham (a] webkit.org>
     75 
     76         Reviewed by Darin Adler.
     77 
     78         Correct Windows Cairo build error caused by @r42767.
     79         http://bugs.webkit.org/show_bug.cgi?id=26082.
     80 
     81         * WebError.cpp:
     82         (WebError::localizedDescription):
     83 
     84 2009-05-23  David Kilzer  <ddkilzer (a] apple.com>
     85 
     86         Windows build fix for PassOwnPtr
     87 
     88         * WebHistory.cpp:
     89         (WebHistory::visitedURL): Changed
     90         std::auto_ptr<Vector<String> >() to 0.
     91         * WebHistoryItem.cpp:
     92         (WebHistoryItem::initFromDictionaryRepresentation): Changed type
     93         of redirectURLsVector from std::auto_ptr<Vector<String> > to
     94         OwnPtr<Vector<String> >.
     95 
     96 2009-05-23  David Kilzer  <ddkilzer (a] apple.com>
     97 
     98         Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
     99 
    100         <https://bugs.webkit.org/show_bug.cgi?id=25495>
    101 
    102         Reviewed by Oliver Hunt.
    103 
    104         * WebCoreSupport/WebChromeClient.h:
    105         (WebChromeClient::createHTMLParserQuirks): Return a PassOwnPtr<>
    106         instead of a raw HTMLParserQuirks pointer.
    107 
    108 2009-05-22  Brent Fulgham  <bfulgham (a] webkit.org>
    109 
    110         Reviewed by Adam Roben.
    111 
    112         https://bugs.webkit.org/show_bug.cgi?id=25971
    113         Correct some build errors for Windows Cairo variant.
    114 
    115         * WebKit.vcproj/WebKit.vcproj: Remove WTF.lib link commands as
    116           the new JavaScriptCore.dll supplies this now.
    117 
    118 2009-05-22  Brent Fulgham <bfulgham (a] webkit.org>
    119 
    120         Reviewed by Steve Falkenburg.
    121 
    122         https://bugs.webkit.org/show_bug.cgi?id=25950
    123         JavaScriptCore Fails to build on Windows (Cairo) due to
    124         CoreFoundation link requirement.
    125 
    126         * WebKit.vcproj/WebKit.sln: Modify Debug_Cairo and Release_Cairo
    127           targets to use new Debug_CFLite and Release_CFLite targets
    128           for JavaScriptCore.
    129 
    130 2009-05-21  Darin Fisher  <darin (a] chromium.org>
    131 
    132         Fix-up coding style.
    133 
    134         * WebCoreSupport/WebEditorClient.cpp:
    135         (WebEditorClient::getAutoCorrectSuggestionForMisspelledWord):
    136 
    137 2009-05-20  Siddhartha Chattopadhyay  <sidchat (a] google.com>
    138 
    139         Reviewed by Justin Garcia.
    140         
    141         Add automatic spell correction support in WebKit
    142 
    143         https://bugs.webkit.org/show_bug.cgi?id=24953
    144 
    145         * WebCoreSupport/WebEditorClient.cpp:
    146         (WebEditorClient::getAutoCorrectSuggestionForMisspelledWord):
    147         * WebCoreSupport/WebEditorClient.h:
    148 
    149 2009-05-20  Brady Eidson  <beidson (a] apple.com>
    150 
    151         Reviewed by Darin Adler.
    152 
    153         More protocolInHTTPFamily() cleanup.
    154 
    155         * WebHistory.cpp:
    156         (WebHistory::visitedURL):
    157 
    158 2009-05-20  Holger Hans Peter Freyther  <zecke (a] selfish.org>
    159 
    160         Reviewed by Darin Adler.
    161 
    162         https://bugs.webkit.org/show_bug.cgi?id=25834
    163 
    164         Make ChromeClient a interface again
    165 
    166         With recent additions to ChromeClient.h empty defaults were
    167         added. This is bad for porters as these changes go unnoticed
    168         and at runtime no notImplemented warning is logged and grepping
    169         for notImplemented will not show anything. Change this Client
    170         to be like the other Clients again and always have pure virtuals
    171         (but for stuff inside #ifdef PLATFORM(MAC)).
    172 
    173         Update the various WebKit/* implementations to compile again.
    174 
    175         * WebCoreSupport/WebChromeClient.cpp:
    176         (WebChromeClient::requestGeolocationPermissionForFrame):
    177         * WebCoreSupport/WebChromeClient.h:
    178         (WebChromeClient::scrollRectIntoView):
    179 
    180 2009-05-18  Steve Falkenburg  <sfalken (a] apple.com>
    181 
    182         <rdar://problem/6899044> Can't see Apple ad on nytimes.com unless I spoof the user agent
    183         
    184         Add user agent hack for pointroll.com.
    185         
    186         Reviewed by Sam Weinig.
    187 
    188         * WebView.cpp:
    189 
    190 2009-05-13  Dmitry Titov  <dimich (a] chromium.org>
    191 
    192         Rubber-stamped by Mark Rowe.
    193 
    194         https://bugs.webkit.org/show_bug.cgi?id=25746
    195         Revert http://trac.webkit.org/changeset/43507 which caused crash in PPC nightlies with Safari 4.
    196 
    197         * WebKit.vcproj/WebKit.def:
    198         * WebKit.vcproj/WebKit_debug.def:
    199 
    200 2009-05-12  Steve Falkenburg  <sfalken (a] apple.com>
    201 
    202         Build fix for Windows nightlies.
    203         Change link order to work around CFNetwork bug.
    204 
    205         * WebKit.vcproj/WebKit.vcproj:
    206 
    207 2009-05-11  Dmitry Titov  <dimich (a] chromium.org>
    208 
    209         Reviewed by Alexey Proskuryakov and Adam Roben.
    210 
    211         https://bugs.webkit.org/show_bug.cgi?id=25348
    212         Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.
    213 
    214         Most of the change is in WTF and WebCore.
    215 
    216         * WebKit.vcproj/WebKit.def: replaced decorated names of WTF threading functions with new ones.
    217         Also, aliased the old implementations so the public Safari 4 beta can load the old WTF functions
    218         which it uses. Next time Safari 4 builds, it will pick up new functions and the deprecated ones
    219         can be removed.
    220         * WebKit.vcproj/WebKit_debug.def: same.
    221 
    222 2009-05-10  Alexey Proskuryakov  <ap (a] webkit.org>
    223 
    224         Reviewed by Dan Bernstein.
    225 
    226         <rdar://problem/6870383> Have to enter credentials twice when downloading from a protected page
    227 
    228         * WebDownloadCFNet.cpp: (WebDownload::didReceiveAuthenticationChallenge): Try to use
    229         credentials from WebCore storage.
    230 
    231 2009-05-07  Mark Rowe  <mrowe (a] apple.com>
    232 
    233         Rubber-stamped by Oliver Hunt.
    234 
    235         Fix <https://bugs.webkit.org/show_bug.cgi?id=25640>.
    236         Bug 25640: Crash on quit in r43384 nightly build on Leopard w/ Safari 4 beta installed
    237         
    238         Roll out r43366 as it removed symbols that Safari 4 Beta uses.
    239 
    240         * WebKit.vcproj/WebKit.def:
    241         * WebKit.vcproj/WebKit_debug.def:
    242 
    243 2009-05-06  Steve Falkenburg  <sfalken (a] apple.com>
    244 
    245         Change default value of WebKitPaintNativeControls to true.
    246         
    247         Reviewed by Adam Roben.
    248 
    249         * WebPreferences.cpp:
    250         (WebPreferences::initializeDefaultSettings):
    251 
    252 2009-05-05  Ben Murdoch  <benm (a] google.com>
    253 
    254         Reviewed by Eric Seidel.
    255         
    256         Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds.
    257         https://bugs.webkit.org/show_bug.cgi?id=24776
    258 
    259         * ForEachCoClass.h:
    260         * WebCoreSupport/WebChromeClient.cpp:
    261         * WebCoreSupport/WebChromeClient.h:
    262         * WebDatabaseManager.cpp:
    263         * WebDatabaseManager.h:
    264         * WebSecurityOrigin.cpp:
    265         (WebSecurityOrigin::usage):
    266         (WebSecurityOrigin::quota):
    267         (WebSecurityOrigin::setQuota):
    268         * WebSecurityOrigin.h:
    269         * WebView.cpp:
    270         (WebView::initWithFrame):
    271 
    272 2009-05-04  Adam Roben  <aroben (a] apple.com>
    273 
    274         Add a call to notify the UI delegate when the WebView gets invalidated
    275 
    276         Reviewed by Steve Falkenburg.
    277 
    278         * Interfaces/IWebUIDelegatePrivate.idl: Added webViewDidInvalidate.
    279         * WebView.cpp:
    280         (WebView::addToDirtyRegion): Call webViewDidInvalidate.
    281 
    282 2009-05-04  Darin Adler  <darin (a] apple.com>
    283 
    284         First try at fixing the Windows build.
    285 
    286         * DOMHTMLClasses.cpp: Added include of HTMLCollection.h.
    287 
    288 2009-05-01  Geoffrey Garen  <ggaren (a] apple.com>
    289 
    290         Rubber Stamped by Sam Weinig.
    291         
    292         Renamed JSValuePtr => JSValue.
    293 
    294         * WebView.cpp:
    295         (WebView::stringByEvaluatingJavaScriptFromString):
    296 
    297 2009-05-01  Pavel Feldman  <pfeldman (a] chromium.org>
    298 
    299         Reviewed by Timothy Hatcher.
    300 
    301         Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest.
    302 
    303         https://bugs.webkit.org/show_bug.cgi?id=25347
    304 
    305         * WebCoreSupport/WebFrameLoaderClient.cpp:
    306         (WebFrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest):
    307         * WebCoreSupport/WebFrameLoaderClient.h:
    308 
    309 2009-04-30  David Kilzer  <ddkilzer (a] apple.com>
    310 
    311         Provide a mechanism to create a quirks delegate for HTMLParser
    312 
    313         Reviewed by David Hyatt.
    314 
    315         * WebCoreSupport/WebChromeClient.h:
    316         (WebChromeClient::createHTMLParserQuirks): Added.  The default
    317         implementation of this factory method returns 0.
    318 
    319 2009-04-30  Pavel Feldman  <pfeldman (a] chromium.org>
    320 
    321         Reviewed by Dimitri Glazkov.
    322 
    323         https://bugs.webkit.org/show_bug.cgi?id=25342
    324         Add MessageSource and MessageLevel parameters to the ChromeClient::addMessageToConsole.
    325 
    326         * WebCoreSupport/WebChromeClient.cpp:
    327         (WebChromeClient::addMessageToConsole):
    328         * WebCoreSupport/WebChromeClient.h:
    329 
    330 2009-04-29  Eric Seidel  <eric (a] webkit.org>
    331 
    332         No review, rolling out a patch.
    333 
    334         Revert 43020 as it caused accessibility/lists.html to fail
    335         and no one is around to tell me if it's a progression or not.
    336 
    337         * AccessibleBase.cpp:
    338         (MSAARole):
    339 
    340 2009-04-29  Sankar Aditya Tanguturi  <sankaraditya (a] gmail.com>
    341 
    342         Reviewed by Jon Honeycutt.
    343 
    344         Add a new accessibility role for list items. Part of
    345         http://bugs.webkit.org/show_id.cgi?id=20013
    346 
    347         * win/AccessibleBase.cpp:
    348         (MSAARole): Return ROLE_SYSTEM_LISTITEM for list item role.
    349 
    350 2009-04-29  Sankar Aditya Tanguturi  <sankaraditya (a] gmail.com>
    351 
    352         Reviewed by Adele Peterson.
    353 
    354         https://bugs.webkit.org/show_bug.cgi?id=23583
    355         Populate role attribute for document objects correctly
    356         on Windows platform.
    357 
    358         * AccessibleDocument.cpp:
    359         (AccessibleDocument::role): Return ROLE_SYSTEM_DOCUMENT for
    360         document objects on windows. (Matching Firefox).
    361         * AccessibleDocument.h: Add the role function prototype in
    362         header file.
    363 
    364 2009-04-22  Ada Chan  <adachan (a] apple.com>
    365 
    366         <rdar://problem/5115298> Don't get error msg when download is interrupted and cannot resume due to server unavailability
    367         If we fail to get an error description back from CFNetwork, try to get the localized description
    368         based on the error code.
    369 
    370         Reviewed by Darin Adler.
    371 
    372         * WebError.cpp:
    373         (WebError::localizedDescription):
    374 
    375 2009-04-21  Jon Honeycutt  <jhoneycutt (a] apple.com>
    376 
    377         Allow the UI delegate to control cursor-setting.
    378 
    379         Reviewed by Ada Chan.
    380 
    381         * Interfaces/IWebUIDelegatePrivate.idl:
    382         Added a function to the IWebUIDelegatePrivate5 interface.
    383 
    384         * WebCoreSupport/WebChromeClient.cpp:
    385         (WebChromeClient::setCursor):
    386         Try to call the UI delegate's webViewSetCursor() method. If it fails,
    387         fall back to calling SetCursor() with the passed cursor.
    388 
    389         * WebCoreSupport/WebChromeClient.h:
    390 
    391         * WebView.cpp:
    392         (WebViewWndProc):
    393         Call the Chrome's setCursor() method with the last set cursor.
    394 
    395 2009-04-21  Dan Bernstein  <mitz (a] apple.com>
    396 
    397         Reviewed by Jon Honeycutt.
    398 
    399         - Windows part of fixing <rdar://problem/6755137> Action dictionary for
    400           policy decision is missing keys when full-page zoom is used
    401 
    402         * WebActionPropertyBag.cpp:
    403         (WebActionPropertyBag::Read): Use absoluteLocation() instead of
    404         clientX() and clientY(), which are adjusted for zoom.
    405 
    406 2009-04-21  Dan Bernstein  <mitz (a] apple.com>
    407 
    408         Reviewed by Jon Honeycutt.
    409 
    410         - implement DOMNode::nodeName()
    411 
    412         * DOMCoreClasses.cpp:
    413         (DOMNode::nodeName):
    414 
    415 2009-04-21  Steve Falkenburg  <sfalken (a] apple.com>
    416 
    417         Minor clean-ups to WebKitCreateInstance change.
    418         
    419         Reviewed by Jon Honeycutt.
    420 
    421         * WebKitCOMAPI.cpp:
    422         (classFactory):
    423         (WebKitCreateInstance):
    424 
    425 2009-04-21  Steve Falkenburg  <sfalken (a] apple.com>
    426 
    427         Add registry-free CoCreateInstance API for WebKit clients: WebKitCreateInstance.
    428 
    429         Manifest-based registry-free COM continues to work for clients that have embedded
    430         manifests with isolated COM information.
    431         
    432         Reviewed by Adam Roben.
    433 
    434         * WebKit.vcproj/WebKit.def: Added WebKitCreateInstance.
    435         * WebKit.vcproj/WebKit.vcproj: Link against rpcrt4.dll for UUID hashing.
    436         * WebKit.vcproj/WebKit_debug.def: Added WebKitCreateInstance.
    437         * WebKitCOMAPI.cpp: Added.
    438         (CLSIDHash::hash):
    439         (CLSIDHash::equal):
    440         (CLSIDHashTraits::constructDeletedValue):
    441         (CLSIDHashTraits::isDeletedValue):
    442         (classFactory):
    443         (WebKitCreateInstance): New API.
    444         * WebKitCOMAPI.h: Added.
    445 
    446 2009-04-21  Adam Roben  <aroben (a] apple.com>
    447 
    448         Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug
    449         configuration
    450 
    451         This matches the naming scheme for WebKit.dll, and will be necessary
    452         once Safari links against JavaScriptCore.dll. This change also causes
    453         run-safari not to fail (because the launcher printed by FindSafari was
    454         always looking for JavaScriptCore.dll, never
    455         JavaScriptCore_debug.dll).
    456 
    457         Part of Bug 25305: can't run safari or drt on windows
    458         <https://bugs.webkit.org/show_bug.cgi?id=25305>
    459 
    460         Reviewed by Steve Falkenburg and Sam Weinig.
    461 
    462         * WebKit.vcproj/WebKit.vcproj: Use $(WebKitDLLConfigSuffix) for naming
    463         JavaScriptCore.{dll,lib}.
    464 
    465 2009-04-20  Adam Roben  <aroben (a] apple.com>
    466 
    467         Build fix
    468 
    469         * MemoryStream.cpp:
    470         (MemoryStream::Clone): Fix typo introduced when implementing
    471         suggestions from patch review.
    472 
    473 2009-04-20  Adam Roben  <aroben (a] apple.com>
    474 
    475         First part of <rdar://6395825> It takes over 20 sec to launch Safari
    476         with 500KB history file
    477 
    478         This ports the changes that were made to WebKit/mac's WebHistory
    479         implementation in r25275 to WebKit/win. WebHistory now stores a
    480         HashMap from CFAbsoluteTime (stored as int64_t) to CFArray of
    481         IWebHistoryItem*. The HashMap lets us look up the CFArray for a
    482         particular day's history in constant time rather than linear time. The
    483         precise reasons why we store the CFAbsoluteTime as an int64_t are lost
    484         to the mists of time, but it is likely because these CFAbsoluteTimes
    485         never have a decimal part, and integer comparisons are faster than
    486         floating-point comparisons, so storing them as int64_t should improve
    487         performance without losing precision. We also now use a binary search
    488         instead of a linear search when determining the index at which to
    489         insert a WebHistoryItem into its day's CFArray.
    490 
    491         This patch reduces the time needed to load a 100,000-item
    492         History.plist from ~15 seconds to ~7.5 seconds. Further improvements
    493         could likely be made by reducing the number of string conversions,
    494         reducing calls to CFTimeZone functions, and removing all the
    495         WebHistoryItemsAdded notifications that are sent (Mac doesn't send any
    496         while loading history).
    497 
    498         Reviewed by Darin Adler.
    499 
    500         * WebHistory.cpp:
    501         (WebHistoryWriter::WebHistoryWriter): Changed to take a
    502         DateToEntriesMap instead of a CFArrayRef. Initialize m_dateKeys to
    503         contain the keys from m_entriesByDate in ascending order.
    504         (WebHistoryWriter::writeHistoryItems): Now loops through m_dateKeys in
    505         reverse order and gets the entries array from the DateToEntriesMap.
    506         (WebHistory::WebHistory): Removed code to initialize
    507         m_datesWithEntries (which has been removed) and m_entriesByDate (which
    508         has been converted to a HashMap).
    509         (WebHistory::removeAllItems): Clear out m_entriesByDate and
    510         m_orderedLastVisitedDays.
    511         (WebHistory::orderedLastVisitedDays): If we don't already have a
    512         cached m_orderedLastVisitedDays array, create one by converting the
    513         keys from m_entriesByDate to DATEs and sorting them in descending
    514         order. Then copy m_orderedLastVisitedDays to the output buffer.
    515         (WebHistory::orderedItemsLastVisitedOnDay): Updated to use findKey
    516         instead of findIndex and to treat m_entriesByDate as a HashMap.
    517         Now that the items in each day's CFArray are stored in descending
    518         order (newest to oldest), we don't have to reverse them when filling
    519         in the output buffer. (The old comment about putting the items in
    520         oldest-to-newest order was incorrect -- it was putting them in
    521         newest-to-oldest order.)
    522 
    523         (WebHistory::addItemToDateCaches):
    524         (WebHistory::removeItemFromDateCaches):
    525         Changed to use findKey instead of findIndex and to treat
    526         m_entriesByDate as a HashMap. If we're adding a key to or removing a
    527         key from m_entriesByDate, also clear m_orderedLastVisitedDays so that
    528         we will regenerate it for the current set of keys the next time it is
    529         needed.
    530 
    531         (timeIntervalForBeginningOfDay): Added. Returns the CFAbsoluteTime
    532         that corresponds to the beginning of the day in which the passed-in
    533         DATE occurs.
    534         (WebHistory::findKey): Returns the key used in m_entriesByDate to
    535         store the CFArray that should contain the IWebHistoryItem that
    536         corresponds to the passed-in DATE. Replaces findIndex.
    537         (WebHistory::insertItem): Changed to treat m_entriesByDate as a
    538         HashMap rather than a CFArray. We now optimize for inserting at the
    539         beginning and end of the array, and use a binary rather than linear
    540         search when inserting into the middle of the array.
    541         (WebHistory::data): Changed to treat m_entriesByDate as a HashMap.
    542 
    543         * WebHistory.h: Changed m_entriesByDate to a DateToEntriesMap, removed
    544         m_datesWithEntries, added m_orderedLastVisitedDays.
    545 
    546 2009-04-20  Adam Roben  <aroben (a] apple.com>
    547 
    548         Change MemoryStream::createInstance to return a COMPtr
    549 
    550         Part of Bug 25294: All WebKit/win classes should return COMPtrs from
    551         their static constructor members
    552         <https://bugs.webkit.org/show_bug.cgi?id=25294>
    553 
    554         Reviewed by Darin Adler.
    555 
    556         * MemoryStream.cpp:
    557         (MemoryStream::createInstance): Changed to return a COMPtr.
    558         (MemoryStream::Clone): Updated for createInstance change.
    559         * MemoryStream.h: Changed createInstance to return a COMPtr.
    560 
    561         * WebArchive.cpp:
    562         (WebArchive::data):
    563         * WebCoreSupport/EmbeddedWidget.cpp:
    564         (EmbeddedWidget::didReceiveData):
    565         * WebDataSource.cpp:
    566         (WebDataSource::data):
    567         * WebHistory.cpp:
    568         (WebHistory::data):
    569         * WebIconFetcher.cpp:
    570         (WebIconFetcherClient::finishedFetchingIcon):
    571         * WebResource.cpp:
    572         (WebResource::createInstance):
    573         Updated for changes to MemoryStream::createInstance.
    574 
    575 2009-04-20  Adam Roben  <aroben (a] apple.com>
    576 
    577         Fix Bug 25295: Remove WebKit/win code that was used for Drosera
    578         support
    579 
    580         <https://bugs.webkit.org/show_bug.cgi?id=25295>
    581 
    582         Reviewed by Sam Weinig.
    583 
    584         * ForEachCoClass.h: Removed WebScriptDebugServer.
    585 
    586         * Interfaces/WebKit.idl: Removed WebScriptDebugServer and references
    587         to removed IDL files.
    588 
    589         * WebKit.vcproj/Interfaces.vcproj:
    590         * WebKit.vcproj/WebKit.vcproj:
    591         Removed IDL and source files for IWebScriptCallFrame,
    592         IWebScriptDebugListener, IWebScriptDebugServer, WebScriptCallFrame,
    593         and WebScriptDebugServer.
    594 
    595         * WebCoreSupport/WebFrameLoaderClient.cpp:
    596         * WebKitClassFactory.cpp:
    597         * WebKitDLL.cpp:
    598         Removed #includes of WebScriptDebugServer.h.
    599 
    600         * Interfaces/IWebScriptCallFrame.idl: Removed.
    601         * Interfaces/IWebScriptDebugListener.idl: Removed.
    602         * Interfaces/IWebScriptDebugServer.idl: Removed.
    603         * WebScriptCallFrame.cpp: Removed.
    604         * WebScriptCallFrame.h: Removed.
    605         * WebScriptDebugServer.cpp: Removed.
    606         * WebScriptDebugServer.h: Removed.
    607 
    608 2009-04-20  Steve Falkenburg  <sfalken (a] apple.com>
    609 
    610         Separate JavaScriptCore.dll from WebKit.dll.
    611         Slight performance improvement or no change on benchmarks.
    612         
    613         Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
    614         and simplifies standalone JavaScriptCore builds.
    615 
    616         Reviewed by Oliver Hunt.
    617 
    618         * WebKit.vcproj/WebKit.def: Mark JavaScriptCore re-exports as deprecated.
    619         * WebKit.vcproj/WebKit.vcproj: Link against JavaScriptCore.dll
    620         * WebKit.vcproj/WebKit_debug.def: Mark JavaScriptCore re-exports as deprecated.
    621 
    622 2009-04-17  Ada Chan  <adachan (a] apple.com>
    623 
    624         <rdar://problem/6803905> Lots of ASSERTs firing when trying to clear history
    625 
    626         Reviewed by Steve Falkenburg.
    627 
    628         * WebHistory.cpp:
    629         (WebHistory::data): Return null if there are no history items.
    630 
    631 2009-04-17  Ada Chan  <adachan (a] apple.com>
    632 
    633         - Fix a leak in WebHistoryItem::children() by adopting the created instance of WebHistoryItem.
    634         - Remove the unnecessary call to QueryInterface() which is not related to the leak.
    635 
    636         Reviewed by Adam Roben.
    637 
    638         * WebHistoryItem.cpp:
    639         (WebHistoryItem::children):
    640 
    641 2009-04-17  Ada Chan  <adachan (a] apple.com>
    642 
    643         Fix a leak in WebHistory::data().
    644 
    645         Reviewed by Adam Roben.
    646 
    647         * WebHistory.cpp:
    648         (WebHistory::data):
    649 
    650 2009-04-16  Alice Liu  <alice.liu (a] apple.com>
    651 
    652         Reviewed by Mark Rowe.
    653 
    654         Fix for heavy leakage of WebURLResponses seen during the stress test 
    655 
    656         * WebCoreSupport/WebFrameLoaderClient.cpp:
    657         (WebFrameLoaderClient::shouldCacheResponse):
    658 
    659 2009-04-16  Xan Lopez  <xlopez (a] igalia.com>
    660 
    661         Unreviewed build fix.
    662 
    663         * WebView.cpp:
    664 
    665 2009-04-16  Xan Lopez  <xlopez (a] igalia.com>
    666 
    667         Reviewed by Sam Weinig.
    668 
    669         https://bugs.webkit.org/show_bug.cgi?id=25241
    670         Remove superfluous NotImplemented.h includes
    671 
    672         * WebDownloadCFNet.cpp:
    673         * WebURLAuthenticationChallengeSender.cpp:
    674         * WebView.cpp:
    675 
    676 2009-04-14  Adam Roben  <aroben (a] apple.com>
    677 
    678         Remove support for profile-guided optimization on Windows
    679 
    680         Rubber-stamped by Steve Falkenburg.
    681 
    682         * WebKit.vcproj/WebKit.vcproj: Removed the Release_PGOInstrument and
    683         Release_PGOOptimize configurations.
    684 
    685 2009-04-13  Adam Roben  <aroben (a] apple.com>
    686 
    687         Windows part 2 of <rdar://5438063> Saving history containing 100,000
    688         entries causes pauses of 2s while browsing
    689 
    690         Reviewed by Brady Eidson.
    691 
    692         * Interfaces/IWebHistoryPrivate.idl: Added data, analagous to
    693         WebKit/mac's -[WebHistory _data] method.
    694 
    695         * WebHistory.cpp:
    696         (WebHistory::saveHistoryGuts): Changed to call data() to get the data for
    697         saving.
    698         (WebHistory::data): Added. Returns the data for saving as an IStream.
    699         (WebHistory::data): Added. Returns the data for saving as a CFDataRef.
    700 
    701         * WebHistory.h: Added data.
    702 
    703 2009-04-10  Steve Falkenburg  <sfalken (a] apple.com>
    704 
    705         <rdar://problem/6676024> REGRESSION (PB-40B1): Safari crashes on launch on tablet PC
    706         
    707         r21436 changed the semantics of AXObjectCache::get() to not create
    708         objects on demand. Changing this get() call into a getOrCreate() call
    709         fixes the crash.
    710         
    711         Rubber stamped by Jon Honeycutt.
    712 
    713         * AccessibleDocument.cpp:
    714         (AccessibleDocument::AccessibleDocument):
    715 
    716 2009-04-10  Adam Roben  <aroben (a] apple.com>
    717 
    718         Add our invidual IDL files back to Interfaces.vcproj, but disable them
    719 
    720         This allows the IDL files to be found in Solution Explorer.
    721 
    722         Rubber-stamped in advance by Steve Falkenburg.
    723 
    724         * WebKit.vcproj/Interfaces.vcproj:
    725 
    726 2009-04-09  Adam Roben  <aroben (a] apple.com>
    727 
    728         Windows part 1 of <rdar://problem/5438063> Saving history containing
    729         100,000 entries causes pauses of 2s while browsing
    730 
    731         Use HistoryPropertyListWriter to implement IWebHistory::saveToURL.
    732 
    733         Reviewed by Darin Adler.
    734 
    735         * WebHistory.cpp:
    736         (WebHistoryWriter::WebHistoryWriter): Added.
    737         (WebHistoryWriter::writeHistoryItems): Added. Loop backwards through
    738         the entries for each date, and pass the corresponding
    739         WebCore::HistoryItem to writeHistoryItem.
    740         (WebHistory::saveHistoryGuts): Use WebHistoryWriter to serialize
    741         m_entriesByDate, then write the serialized data to disk using
    742         CFWriteStream.
    743 
    744         * WebHistory.h: Removed datesArray.
    745 
    746 2009-04-08  Adam Roben  <aroben (a] apple.com>
    747 
    748         Fix security/block-test-no-port.html on Windows
    749 
    750         Reviewed by Beth Dakin.
    751 
    752         * WebMutableURLRequest.cpp:
    753         (WebMutableURLRequest::mainDocumentURL): Return the ResourceRequest's
    754         mainDocumentURL, not its URL.
    755 
    756 2009-04-01  Darin Adler  <darin (a] apple.com>
    757 
    758         Reviewed by Geoff Garen.
    759 
    760         Bug 22378: Crash submitting a form when parsing an XHTML document
    761         https://bugs.webkit.org/show_bug.cgi?id=22378
    762         rdar://problem/6388377
    763 
    764         * WebFrame.cpp:
    765         (WebFrame::dispatchWillSubmitForm): Updated for the new
    766         textFieldValues function in FormState.
    767 
    768 2009-03-30  Adam Roben  <aroben (a] apple.com>
    769 
    770         Build fixes after recent FrameLoader changes
    771 
    772         * WebCoreSupport/WebContextMenuClient.cpp:
    773         (WebContextMenuClient::searchWithGoogle): Updated to match
    774         urlSelected's current signature. We pass true for the userGesture
    775         parameter, since the user must have selected this item from the
    776         context menu.
    777 
    778         * WebCoreSupport/WebFrameLoaderClient.cpp: Removed
    779         loadURLIntoChildFrame.
    780         (WebFrameLoaderClient::createFrame): Changed to call
    781         FrameLoader::loadURLIntoChildFrame. This probably should have been
    782         done way back around r31281 when that function was added.
    783 
    784         * WebCoreSupport/WebFrameLoaderClient.h: Removed
    785         loadURLIntoChildFrame.
    786 
    787 2009-03-27  Adam Roben  <aroben (a] apple.com>
    788 
    789         Don't include substitute data URLs in global history redirect chains
    790 
    791         <rdar://6690169>
    792 
    793         Reviewed by Darin Adler.
    794 
    795         * WebCoreSupport/WebFrameLoaderClient.cpp:
    796         (WebFrameLoaderClient::updateGlobalHistory): Don't call
    797         updateGlobalHistoryRedirectLinks. FrameLoader calls this for us now.
    798         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
    799         Added an assertion to help catch cases where we might be adding a
    800         substitute data URL into a redirect chain.
    801 
    802 2009-03-26  Dan Bernstein  <mitz (a] apple.com>
    803 
    804         Reviewed by Adam Roben.
    805 
    806         - add close() to the WebView API.
    807 
    808         * Interfaces/IWebView.idl:
    809         * WebView.cpp:
    810         (WebView::close):
    811         * WebView.h:
    812 
    813 2009-03-24  Brent Fulgham  <bfulgham (a] webkit.org>
    814 
    815         Reviewed by Adam Roben.
    816 
    817         https://bugs.webkit.org/show_bug.cgi?id=24779
    818         Conditionalize CFNetwork-specific code in WebView to permit
    819         support for other network backends.
    820 
    821         * WebView.cpp:
    822         (WebView::setCacheModel): Add CFNETWORK check around CFNetwork
    823         specific cache implementation.
    824         (updateSharedSettingsFromPreferencesIfNeeded): Add CFNETWORK
    825         check around use of CFHTTPCookie code.
    826 
    827 2009-03-23  Sam Weinig  <sam (a] webkit.org>
    828 
    829         Reviewed by Dan Bernstein.
    830 
    831         Fix for <rdar://problem/6140966>
    832         Empty Caches does not clear the Cross-site XMLHttpRequest preflight cache
    833 
    834         * WebCache.cpp:
    835         (WebCache::empty): Also add application cache emptying to match the mac.
    836 
    837 2009-03-18  Steve Falkenburg  <sfalken (a] apple.com>
    838 
    839         Add webViewClosing to private UI delegate.
    840 
    841         Reviewed by Adam Roben.
    842 
    843         * Interfaces/IWebUIDelegatePrivate.idl:
    844         * Interfaces/WebKit.idl:
    845         * WebView.cpp:
    846         (WebView::close):
    847 
    848 2009-03-17  Dan Bernstein  <mitz (a] apple.com>
    849 
    850         Reviewed by Adam Roben.
    851 
    852         - WebKit part of adding a mechanism for controlling the caching of
    853           responses through WebFrameLoaderClient
    854 
    855         * Interfaces/IWebResourceLoadDelegatePrivate.idl: Added the
    856         IWebResourceLoadDelegatePrivate3 interface, containing the new
    857         delegate method shouldCacheResponse().
    858 
    859         * Interfaces/IWebURLRequest.idl: Added the isEqual() method.
    860 
    861         * WebCoreSupport/WebFrameLoaderClient.cpp:
    862         (WebFrameLoaderClient::shouldCacheResponse): Implemented this new
    863         FrameLoaderDelegate method by calling through to the resource load
    864         delegate, if it implements shouldCacheResponse(), and returning true
    865         otherwise.
    866 
    867         * WebCoreSupport/WebFrameLoaderClient.h:
    868 
    869         * WebMutableURLRequest.cpp:
    870         (WebMutableURLRequest::isEqual): Added.
    871         (WebMutableURLRequest::setValue): Implemented.
    872 
    873         * WebMutableURLRequest.h: Declared isEqual().
    874 
    875 2009-03-16  Darin Adler  <darin (a] apple.com>
    876 
    877         Reviewed by Dan Bernstein.
    878 
    879         <rdar://problem/6577174> Rename the text directionality submenus to Paragraph Direction and Selection Direction
    880 
    881         For now, change only the localized strings, not the terminology in the code.
    882 
    883         * WebCoreLocalizedStrings.cpp:
    884         (WebCore::contextMenuItemTagWritingDirectionMenu): Changed string here.
    885         (WebCore::contextMenuItemTagTextDirectionMenu): And here.
    886 
    887 2009-03-16  Adam Roben  <aroben (a] apple.com>
    888 
    889         Add IWebFramePrivate::isDisplayingStandaloneImage
    890 
    891         This uses the same logic that -[WebFrame _isDisplayingStandaloneImage]
    892         uses.
    893 
    894         Reviewed by Darin Adler.
    895 
    896         * Interfaces/IWebFramePrivate.idl: Added isDisplayingStandaloneImage.
    897 
    898         * WebFrame.cpp:
    899         (WebFrame::isDisplayingStandaloneImage): Added. Returns true if our
    900         Document is an image document.
    901 
    902         * WebFrame.h: Added isDisplayingStandaloneImage.
    903 
    904 2009-03-12  Peter Kasting  <pkasting (a] google.com>
    905 
    906         Reviewed by Darin Fisher.
    907 
    908         https://bugs.webkit.org/show_bug.cgi?id=24502
    909         Make horizontal scrolling on Windows always go the correct direction.
    910 
    911         * WebView.cpp:
    912         (WebView::mouseWheel):
    913         (WebViewWndProc):
    914         * WebView.h:
    915 
    916 2009-03-12  Adam Roben  <aroben (a] apple.com>
    917 
    918         Implement DOMHTMLDocument::title
    919 
    920         Reviewed by Dan Bernstein.
    921 
    922         * DOMHTMLClasses.cpp:
    923         (DOMHTMLDocument::title): Call through to WebCore::Document (with
    924         obligatory COM error checking/type conversions).
    925 
    926 2009-03-11  Adam Roben  <aroben (a] apple.com>
    927 
    928         Export functions needed by ThreadSpecific from WebKit
    929 
    930         Reviewed by John Sullivan.
    931 
    932         * WebKit.vcproj/WebKit.def:
    933         * WebKit.vcproj/WebKit_debug.def:
    934         Export WTF::tlsKeyCount and WTF::tlsKeys.
    935 
    936 2009-03-10  Steve Falkenburg  <sfalken (a] apple.com>
    937 
    938         <rdar://problem/6662167> When clicking in Top Sites search field, WebHistory::findIndex fails causing crash in BookmarksSearcher::collectHistorySearchResults
    939         
    940         Round CFAbsoluteDates to the nearest second when converting to/from the Windows DATE format.
    941         
    942         This corrects for inaccuracies introduced by round-tripping between DATE (day based) and CFAbsoluteDate (second based).
    943         The WebKit COM API on Windows uses DATE, while our history storage uses CFAbsoluteTime. This could lead to WebKit
    944         saying there was browsing history for a particular day, and then return no history items when we requested a
    945         list of sites visited that day.        
    946         
    947         Reviewed by Ada Chan.
    948 
    949         * MarshallingHelpers.cpp:
    950         (MarshallingHelpers::DATEToCFAbsoluteTime):
    951         (MarshallingHelpers::CFAbsoluteTimeToDATE):
    952 
    953 2009-03-08  Mark Rowe  <mrowe (a] apple.com>
    954 
    955         Reviewed by Oliver Hunt.
    956 
    957         Split ScrollAlignment and ScrollBehavior out of RenderLayer.h so that
    958         Frame.h no longer needs to include it.  This cuts the size of the symbols
    959         for a debug build by around 3%.
    960 
    961         * WebView.cpp:
    962         (WebView::centerSelectionInVisibleArea):
    963 
    964 2009-03-07  Dan Bernstein  <mitz (a] apple.com>
    965 
    966         Reviewed by Mark Rowe.
    967 
    968         - WebKit part of removing build-time and run-time support for legacy
    969           versions of CFNetwork and Core Graphics
    970 
    971         * WebView.cpp:
    972         (WebView::setCacheModel):
    973 
    974 2009-03-04  Adam Barth  <abath (a] webkit.org>
    975 
    976         Reviewed by Alexey Proskuryakov.
    977 
    978         https://bugs.webkit.org/show_bug.cgi?id=24356
    979 
    980         Fix WebKit style for allowUniversalAccessFromFileURLs.
    981 
    982         * Interfaces/IWebPreferencesPrivate.idl:
    983         * WebPreferenceKeysPrivate.h:
    984         * WebPreferences.cpp:
    985         (WebPreferences::initializeDefaultSettings):
    986         (WebPreferences::allowUniversalAccessFromFileURLs):
    987         (WebPreferences::setAllowUniversalAccessFromFileURLs):
    988         * WebPreferences.h:
    989         * WebView.cpp:
    990         (WebView::notifyPreferencesChanged):
    991 
    992 2009-02-27  Adam Barth  <abarth (a] webkit.org>
    993 
    994         Reviewed by Eric Seidel.
    995 
    996         Add a preference to reduce the power of file:// URLs.
    997 
    998         * Interfaces/IWebPreferencesPrivate.idl:
    999         * WebPreferenceKeysPrivate.h:
   1000         * WebPreferences.cpp:
   1001         (WebPreferences::initializeDefaultSettings):
   1002         (WebPreferences::allowUniversalAccessFromFileUrls):
   1003         (WebPreferences::setAllowUniversalAccessFromFileUrls):
   1004         * WebPreferences.h:
   1005         * WebView.cpp:
   1006         (WebView::notifyPreferencesChanged):
   1007 
   1008 2009-02-19  Alexey Proskuryakov  <ap (a] webkit.org>
   1009 
   1010         Reviewed by Darin Adler.
   1011 
   1012         https://bugs.webkit.org/show_bug.cgi?id=24024
   1013         REGRESSION (r39845): Assertion failure in -[WebHistoryItem dictionaryRepresentation] when
   1014         archiving a submission to about:blank
   1015 
   1016         I don't know how to make an automated test for this bug.
   1017 
   1018         * WebHistory.cpp: (WebHistory::visitedURL): Account for the fact that HTTP method may be
   1019         non-empty for non-HTTP requests.
   1020 
   1021 2009-02-25  Andreia Gaita  <shana (a] jitted.com>
   1022 
   1023         Reviewed by Alp Toker.
   1024 
   1025         Update Win def files with recent JavaScriptCore API additions.
   1026 
   1027         * WebKit.vcproj/WebKit.def:
   1028         * WebKit.vcproj/WebKit_Cairo.def:
   1029         * WebKit.vcproj/WebKit_debug.def:
   1030 
   1031 2009-02-24  Sam Weinig  <sam (a] webkit.org>
   1032 
   1033         Reviewed by Geoffrey Garen.
   1034 
   1035         Related to <rdar://problem/6590295>
   1036         Allow disabling javascript: urls.
   1037 
   1038         * Interfaces/IWebViewPrivate.idl:
   1039         * WebView.cpp:
   1040         (WebView::setJavaScriptURLsAreAllowed):
   1041         * WebView.h:
   1042 
   1043 2009-02-24  Adam Roben  <aroben (a] apple.com>
   1044 
   1045         Windows build fix
   1046 
   1047         * WebKit.vcproj/WebKit.def:
   1048         * WebKit.vcproj/WebKit_debug.def:
   1049         Export WTF::ThreadCondition::timedWait.
   1050 
   1051 2009-02-12  Brady Eidson  <beidson (a] apple.com>
   1052 
   1053         Reviewed by Kevin Decker
   1054 
   1055         <rdar://problem/6582180> - Wrong HTTP method applied to history item.
   1056 
   1057         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1058         (WebFrameLoaderClient::updateGlobalHistory): Check the original request, not any
   1059           redirected request.
   1060 
   1061 2009-02-11  Brady Eidson  <beidson (a] apple.com>
   1062 
   1063         Fix my last checkin for more effect.
   1064 
   1065         * WebHistoryItem.cpp:
   1066         (WebHistoryItem::initFromDictionaryRepresentation):
   1067 
   1068 2009-02-11  Adam Roben  <aroben (a] apple.com>
   1069 
   1070         Windows fix for Bug 22239: Implement missing animation & transition
   1071         APIs on LayoutTestController for non-mac platforms
   1072 
   1073         <https://bugs.webkit.org/show_bug.cgi?id=22239>
   1074 
   1075         Reviewed by Simon Fraser.
   1076 
   1077         * Interfaces/IWebFramePrivate.idl: Added pauseAnimation,
   1078         pauseTransition, and numberOfActiveAnimations.
   1079 
   1080         * WebFrame.cpp:
   1081         (WebFrame::pauseAnimation):
   1082         (WebFrame::pauseTransition):
   1083         (WebFrame::numberOfActiveAnimation):
   1084         Added. These all call through to AnimationController.
   1085 
   1086         * WebFrame.h: Added pauseAnimation, pauseTransition, and
   1087         numberOfActiveAnimations.
   1088 
   1089 2009-02-11  Brady Eidson  <beidson (a] apple.com>
   1090 
   1091         Reviewed by Mark Rowe
   1092 
   1093         <rdar://problem/6570573> Some visit counts in History.plist have insanely high values, can roll over to negative
   1094 
   1095         Remove the item from the date caches before registering the visit.  Otherwise it might not be successfully removed 
   1096         and when we add it back later it will exist in the list twice.  This will cause the entry to be written out twice,
   1097         which would lead to doubling (or more!) the visit count on next launch when these multiple items are merged.
   1098 
   1099         * WebHistory.cpp:
   1100         (WebHistory::loadHistoryGutsFromURL):
   1101         (WebHistory::addItems):
   1102         (WebHistory::addItem): Add a mode that allows the entry being added to be discarded if an entry for the URL already 
   1103           exists.  Use that mode when reading the History.plist so only the most recent entry for a given URL will be used.
   1104         (WebHistory::visitedURL): Swap the removeItemFromDateCaches and visitedWithTitle calls.
   1105         * WebHistory.h:
   1106 
   1107         * WebHistoryItem.cpp:
   1108         (WebHistoryItem::initFromDictionaryRepresentation):  Add the negative-visit-count-correction-logic as implemented
   1109           for Mac in http://trac.webkit.org/changeset/40851.
   1110 
   1111 2009-02-11  Dimitri Dupuis-latour  <dupuislatour (a] apple.com>
   1112 
   1113         Stub out WebInspectorClient::hiddenPanels.
   1114 
   1115         Reviewed by Timothy Hatcher.
   1116 
   1117         * WebCoreSupport/WebInspectorClient.cpp:
   1118         (WebInspectorClient::hiddenPanels):
   1119         * WebCoreSupport/WebInspectorClient.h:
   1120 
   1121 2009-02-11  Adam Roben  <aroben (a] apple.com>
   1122 
   1123         Don't release the shared WebHistory instance on quit
   1124 
   1125         This matches Mac, and prevents a race condition when the process exits
   1126         that depends on the order in which global destructors are invoked.
   1127 
   1128         Reviewed by Alexey Proskuryakov.
   1129 
   1130         * WebHistory.cpp:
   1131         (sharedHistoryStorage): Changed to use DEFINE_STATIC_LOCAL so the
   1132         destructor is never called.
   1133 
   1134 2009-02-10  Adam Roben  <aroben (a] apple.com>
   1135 
   1136         Fix recursive WebView destruction when running DumpRenderTree
   1137 
   1138         DumpRenderTree would call DestroyWindow on a WebView's host window,
   1139         which would send a WM_DESTROY message to the WebView's window. Inside
   1140         the WebView's WndProc, we would hold a ref to the WebView, then call
   1141         close() and revokeDragDrop(), which would release all remaining
   1142         references to the WebView other than the ref we held in the WndProc.
   1143         When the WndProc exited, the final ref to the WebView would be
   1144         released, invoking WebView's destructor. At this point,
   1145         IsWindow(m_viewWindow) would return true, since we were still in the
   1146         process of handling WM_DESTROY, so we would call DestroyWindow on the
   1147         WebView's window again, re-entering the WndProc and re-reffing the
   1148         WebView, leading to recursive destruction.
   1149 
   1150         Reviewed by Alexey Proskuryakov.
   1151 
   1152         * WebView.cpp:
   1153         (WebView::~WebView): Don't call DestroyWindow if our window is already
   1154         being destroyed.
   1155         (WebViewWndProc): Only hold an extra ref to the WebView when we're not
   1156         being destroyed.
   1157 
   1158 2009-02-06  Adam Roben  <aroben (a] apple.com>
   1159 
   1160         Build fix
   1161 
   1162         Reviewed by Sam Weinig.
   1163 
   1164         * WebCoreSupport/WebFrameLoaderClient.cpp: Added missing #include.
   1165         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): Removed
   1166         incorrect .get(), and changed to use the new overload of
   1167         WebHistory::itemForURLString.
   1168 
   1169         * WebHistory.cpp:
   1170         (WebHistory::itemForURLString): Made this const.
   1171         (WebHistory::itemForURLString): Added an overload that takes a
   1172         WebCore::String and returns the IWebHistoryItem instead of using an
   1173         out parameter.
   1174 
   1175         * WebHistory.h: Added public overload of itemForURLString.
   1176 
   1177         * WebView.cpp:
   1178         (WebView::prepareCandidateWindow):
   1179         (WebView::onIMERequestCharPosition):
   1180         (WebView::onIMERequestReconvertString):
   1181         Updated for toRange -> toNormalizedRange rename.
   1182 
   1183 2009-02-06  Geoffrey Garen  <ggaren (a] apple.com>
   1184 
   1185         Reviewed by Sam Weinig.
   1186 
   1187         Part III of <rdar://problem/6552272>.
   1188         
   1189         Refactored to use the redirect data WebCore makes available, instead of
   1190         tracking loading state in WebKit.
   1191         
   1192         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1193         (WebFrameLoaderClient::updateGlobalHistory):
   1194         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
   1195         * WebCoreSupport/WebFrameLoaderClient.h:
   1196         * WebHistory.cpp:
   1197         (WebHistory::visitedURL):
   1198         * WebHistory.h:
   1199 
   1200 2009-02-06  Dan Bernstein  <mitz (a] apple.com>
   1201 
   1202         Reviewed by Anders Carlsson.
   1203 
   1204         - fix an assertion failure in Vector::at() beneath
   1205           WebHistoryItem::dictionaryRepresentation.
   1206 
   1207         * WebHistoryItem.cpp:
   1208         (WebHistoryItem::dictionaryRepresentation): Give the numbers vector initial
   1209         size. Also reduced the inline capacity of the vector used for weekly visit
   1210         counts to 5, which is the expected maximum size.
   1211 
   1212 2009-02-06  Brent Fulgham  <bfulgham (a] webkit.org>
   1213 
   1214         Build fix.  
   1215 
   1216         * WebKit.vcproj/WebKit.vcproj: Re-enable missing file in Release
   1217           target of Cairo.
   1218 
   1219 2009-02-06  Maciej Stachowiak  <mjs (a] apple.com>
   1220 
   1221         Rubber stamped by Dan Bernstein.
   1222 
   1223         - fix obvious problem in previous commit (|| used instead of &&)
   1224 
   1225         * WebHistoryItem.cpp:
   1226         (WebHistoryItem::initFromDictionaryRepresentation):
   1227 
   1228 2009-02-05  Maciej Stachowiak  <mjs (a] apple.com> and Brady Eidson  <beidson (a] apple.com>
   1229 
   1230         Reviewed by Dan Bernstein and Geoff Garen..
   1231 
   1232         - WebKit code to track per-day and per-week visit counts in history
   1233 
   1234         For now this data is only exposed via SPI for performance reasons.
   1235 
   1236         * Interfaces/IWebHistoryItemPrivate.idl: Added new interface.
   1237         * WebHistory.cpp:
   1238         (WebHistory::visitedURL): Use new recordInitialVisit method.
   1239         * WebHistoryItem.cpp:
   1240         (WebHistoryItem::initFromDictionaryRepresentation): Add parsing support
   1241         for new data.
   1242         (WebHistoryItem::dictionaryRepresentation): Add saving support for
   1243         new data.
   1244         (WebHistoryItem::getDailyVisitCounts): SPI accessor.
   1245         (WebHistoryItem::getWeeklyVisitCounts): SPI accessor.
   1246         (WebHistoryItem::recordInitialVisit): Tell WebCore to record an initial visit.
   1247         * WebHistoryItem.h:
   1248 
   1249 2009-02-05  Brent Fulgham  <bfulgham (a] webkit.org>
   1250 
   1251         Reviewed by Sam Weinig <sam (a] webkit.org>
   1252 
   1253         Build fix.  Update file for recently removed EventTargetNodeCast.
   1254         * DOMCoreClasses.cpp:
   1255         (DOMNode::dispatchEvent):
   1256 
   1257 2009-02-05  Aaron Boodman  <aa (a] chromium.org>
   1258 
   1259         Reviewed by Dave Hyatt.
   1260 
   1261         https://bugs.webkit.org/show_bug.cgi?id=23708
   1262         Adds documentElementAvailable() callback to FrameLoaderClient.
   1263 
   1264         * WebFrame.cpp:
   1265         (WebFrame::documentElementAvailable):
   1266         Stub out documentElementAvailable()
   1267         * WebFrame.h:
   1268         Ditto.
   1269 
   1270 2009-02-04  Geoffrey Garen  <ggaren (a] apple.com>
   1271 
   1272         Build fix.
   1273 
   1274         * WebHistory.cpp:
   1275         (WebHistory::visitedURL):
   1276 
   1277 2009-02-04  Geoffrey Garen  <ggaren (a] apple.com>
   1278 
   1279         Reviewed by Mark Rowe.
   1280         
   1281         Part I of <rdar://problem/6552272>.
   1282 
   1283         Clear the redirectURLs entry when first visiting a site, so sites that
   1284         only redirect you the first time you visit them can later learn that
   1285         they don't redirect.
   1286 
   1287         * WebHistory.cpp:
   1288         (WebHistory::visitedURL):
   1289 
   1290 2009-02-03  Geoffrey Garen  <ggaren (a] apple.com>
   1291 
   1292         Build fix.
   1293 
   1294         * WebHistory.cpp:
   1295         (WebHistory::visitedURL):
   1296 
   1297 2009-02-02  Geoffrey Garen  <ggaren (a] apple.com>
   1298 
   1299         Build fix.
   1300 
   1301         * WebHistory.cpp:
   1302         (WebHistory::visitedURL):
   1303 
   1304 2009-02-02  Hiroaki Nakamura <hnakamur (a] gmail.com>
   1305 
   1306         Reviewed by Adam Roben.
   1307 
   1308         Fixes https://bugs.webkit.org/show_bug.cgi?id=15813
   1309         Modify pre-build step to properly handle the errorlevel
   1310         shell command.
   1311 
   1312         * WebKit.vcproj/WebKit.vcproj: Change errorlevel handling
   1313         for all targets so prefast is only enabled in builds
   1314         where /analyze is available.
   1315 
   1316 2009-02-02  Geoffrey Garen  <ggaren (a] apple.com>
   1317 
   1318         Reviewed by Sam Weinig.
   1319 
   1320         Track redirects in global history.
   1321 
   1322         * Interfaces/IWebFramePrivate.idl: Updated for WebCore rename.
   1323 
   1324         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1325         (WebFrameLoaderClient::updateGlobalHistory):
   1326         (WebFrameLoaderClient::updateGlobalHistoryForRedirectWithoutHistoryItem):
   1327         Store redirect information in global history.
   1328 
   1329         (WebFrameLoaderClient::loadURLIntoChild): Updated for extra parameter.
   1330 
   1331         * WebCoreSupport/WebFrameLoaderClient.h: See above.
   1332 
   1333         * WebFrame.cpp:
   1334         (WebFrame::loadRequest):
   1335         (WebFrame::loadData): Updated for extra parameter.
   1336 
   1337         * WebHistory.cpp:
   1338         (WebHistory::visitedURL):
   1339         (WebHistory::visitedURLForRedirectWithoutHistoryItem): Store redirect
   1340         information in global history.
   1341 
   1342         * WebHistory.h: See above.
   1343 
   1344 2009-02-02  Brady Eidson  <beidson (a] apple.com>
   1345 
   1346         Reviewed by Dan Bernstein
   1347 
   1348         Transition Windows WebHistory to using the same "update already existing History Items" technique that Mac does.
   1349 
   1350         * Interfaces/IWebHistoryItemPrivate.idl:
   1351         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1352         (WebFrameLoaderClient::updateGlobalHistory):
   1353 
   1354         * WebHistory.cpp:
   1355         (WebHistory::visitedURL):
   1356         * WebHistory.h:
   1357 
   1358         * WebHistoryItem.cpp:
   1359         (WebHistoryItem::visitedWithTitle):
   1360         * WebHistoryItem.h:
   1361 
   1362 2009-02-02  Anders Carlsson  <andersca (a] apple.com>
   1363 
   1364         Fix build.
   1365         
   1366         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1367         (WebFrameLoaderClient::createPlugin):
   1368         * WebCoreSupport/WebFrameLoaderClient.h:
   1369 
   1370 2009-02-02  Anders Carlsson  <andersca (a] apple.com>
   1371 
   1372         Reviewed by Dan Bernstein.
   1373 
   1374         Update for changes to WebCore.
   1375 
   1376         * WebFrame.cpp:
   1377         (WebFrame::createJavaAppletWidget):
   1378         * WebFrame.h:
   1379 
   1380 2009-02-02  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   1381 
   1382         Reviewed by Darin Adler.
   1383 
   1384         Move Frame::forceLayout, Frame::adjustPageHeight and Frame::forceLayoutWithPageWidthRange to FrameView
   1385 
   1386         https://bugs.webkit.org/show_bug.cgi?id=23428
   1387 
   1388         FrameView::forceLayout could be killed but the comment might
   1389         contain a value over the the plain FrameView::layout...
   1390 
   1391         Adjust the WebCore/WebKit consumers of these methods.
   1392 
   1393         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1394         (WebFrameLoaderClient::forceLayout):
   1395 
   1396 2009-01-31  Matt Lilek  <webkit (a] mattlilek.com>
   1397 
   1398         Not reviewed, build fixes.
   1399 
   1400         * WebCoreSupport/WebContextMenuClient.cpp:
   1401         (WebContextMenuClient::searchWithGoogle):
   1402         * WebFrame.cpp:
   1403         (WebFrame::setInPrintingMode):
   1404         (WebFrame::isFrameSet):
   1405         * WebView.cpp:
   1406         (WebView::notifyPreferencesChanged):
   1407 
   1408 2009-01-30  Adam Barth  <abarth (a] webkit.org>
   1409 
   1410         Reviewed by Sam Weinig.
   1411 
   1412         Add a pref to disable web security.
   1413 
   1414         * Interfaces/IWebPreferencesPrivate.idl:
   1415         * WebPreferenceKeysPrivate.h:
   1416         * WebPreferences.cpp:
   1417         (WebPreferences::initializeDefaultSettings):
   1418         (WebPreferences::isWebSecurityEnabled):
   1419         (WebPreferences::setWebSecurityEnabled):
   1420         * WebPreferences.h:
   1421         * WebView.cpp:
   1422         (WebView::notifyPreferencesChanged):
   1423 
   1424 2009-01-30  Geoffrey Garen  <ggaren (a] apple.com>
   1425 
   1426         Build fix.
   1427 
   1428         * Interfaces/IWebFramePrivate.idl:
   1429         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1430         (WebFrameLoaderClient::loadURLIntoChild):
   1431 
   1432 2009-01-30  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   1433 
   1434         Reviewed by Simon Hausmann.
   1435 
   1436         Kill FrameLoaderClient.cpp, move the code over to Frame::createView
   1437 
   1438         FrameLoaderClient is supposed to be an interface, move the
   1439         to be shared code to Frame which is a controller and is
   1440         allowed to create a FrameView.
   1441 
   1442         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1443         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   1444 
   1445 2009-01-30  Brady Eidson  <beidson (a] apple.com>
   1446 
   1447         Reviewed by Sam Weinig
   1448 
   1449         Remove FrameLoaderClient code that is now handled by FrameLoader itself
   1450 
   1451         * WebFrame.cpp:
   1452         (WebFrame::frameLoadCompleted):
   1453 
   1454 2009-01-29  Sam Weinig  <sam (a] webkit.org>
   1455 
   1456         Fix Windows build
   1457 
   1458         * WebHistoryItem.cpp:
   1459         (WebHistoryItem::initFromDictionaryRepresentation):
   1460 
   1461 2009-01-29  Sam Weinig  <sam (a] webkit.org>
   1462 
   1463         Reviewed by Anders Carlsson.
   1464 
   1465         Second step in tracking the urls a HistoryItem was redirected through
   1466         Add SPI to access the array of redirect urls associated with a HistoryItem.
   1467 
   1468         * Interfaces/IWebHistoryItemPrivate.idl:
   1469         * WebHistoryItem.cpp:
   1470         (WebHistoryItem::dictionaryRepresentation):
   1471         (WebHistoryItem::redirectURLs):
   1472         * WebHistoryItem.h:
   1473 
   1474 2009-01-29  Sam Weinig  <sam (a] webkit.org>
   1475 
   1476         Reviewed by Mark Rowe.
   1477 
   1478         First step in tracking the urls a HistoryItem was redirected through.
   1479 
   1480         * WebHistoryItem.cpp:
   1481         (WebHistoryItem::initFromDictionaryRepresentation):
   1482         (WebHistoryItem::dictionaryRepresentation):
   1483 
   1484 2009-01-29  Adam Roben  <aroben (a] apple.com>
   1485 
   1486         Fix Bug 23623: Windowed Flash instances aren't captured when a WebView
   1487         receives a WM_PRINTCLIENT message
   1488 
   1489         <https://bugs.webkit.org/show_bug.cgi?id=23623>
   1490         <rdar://problem/6513921>
   1491         <rdar://problem/6536874>
   1492 
   1493         Reviewed by Darin Adler.
   1494 
   1495         * WebFrame.cpp:
   1496         (WebFrame::paintDocumentRectToContext):
   1497         (WebFrame::spoolPages):
   1498         Call GraphicsContext::setShouldIncludeChildWindows so that child
   1499         windows will be painted into the GraphicsContext rather than painted
   1500         directly to the screen.
   1501 
   1502         * WebView.cpp:
   1503         (WebView::updateBackingStore): Added a windowsToPaint parameter, which
   1504         we pass along to paintIntoBackingStore.
   1505 
   1506         (WebView::paint): Tell updateBackingStore to paint child windows if
   1507         we're not painting to the screen.
   1508 
   1509         (WebView::paintIntoBackingStore): Added a windowsToPaint paramter,
   1510         which we use to tell our GraphicsContext whether or not to include
   1511         child windows.
   1512 
   1513         * WebView.h: Added windowsToPaint parameters to paintIntoBackingStore
   1514         and updateBackingStore (which I also made private).
   1515 
   1516 2009-01-29  Adam Roben  <aroben (a] apple.com>
   1517 
   1518         Build fix after r40353
   1519 
   1520         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1521         (WebFrameLoaderClient::loadURLIntoChild): Removed the check for
   1522         FrameLoadTypeReloadAllowingStaleData.
   1523 
   1524 2009-01-28  Geoffrey Garen  <ggaren (a] apple.com>
   1525 
   1526         Reviewed by Sam Weinig.
   1527 
   1528         Updated for WebCore rename.
   1529         
   1530         * WebView.cpp:
   1531         (WebView::setCustomTextEncodingName):
   1532 
   1533 2009-01-27  Brady Eidson  <beidson (a] apple.com>
   1534 
   1535         Reviewed by Dan Bernstein
   1536 
   1537         Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
   1538 
   1539         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1540         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
   1541         (WebFrameLoaderClient::transitionToCommittedFromCachedFrame):
   1542         * WebCoreSupport/WebFrameLoaderClient.h:
   1543 
   1544         * WebFrame.cpp:
   1545         * WebFrame.h:
   1546 
   1547 2009-01-26  Adam Roben  <aroben (a] apple.com>
   1548 
   1549         Fix an assertion failure when Safari loads an error page
   1550 
   1551         Reviewed by Alexey Proskuryakov.
   1552 
   1553         * WebFrame.cpp:
   1554         (WebFrame::loadData): Use the two-argument version of KURL and
   1555         MarshallingHelpers::BSTRToKURL, for reasons mentioned in r40248.
   1556 
   1557 2009-01-26  Adam Roben  <aroben (a] apple.com>
   1558 
   1559         Fix an assertion on launch in KURL::KURL
   1560 
   1561         All URL strings passed in to the WebKit API need to be passed to
   1562         MarshallingHelpers::BSTRToKURL so that they may be properly parsed.
   1563 
   1564         Reviewed by Alexey Proskuryakov.
   1565 
   1566         * MarshallingHelpers.cpp:
   1567         (MarshallingHelpers::BSTRToKURL): Changed to use the two-argument
   1568         constructor for KURL so that the strings will be parsed rather than
   1569         assumed to be in the correct encoding/form.
   1570 
   1571         * WebResource.cpp:
   1572         (WebResource::initWithData):
   1573         * WebURLResponse.cpp:
   1574         (WebURLResponse::initWithURL):
   1575         * WebView.cpp:
   1576         (WebView::userAgentForURL):
   1577         (WebView::copyURL):
   1578         Changed to use MarshallingHelpers::BSTRToKURL instead of trying to do
   1579         the work manually.
   1580 
   1581 2009-01-25  Darin Adler  <darin (a] apple.com>
   1582 
   1583         Try to fix Windows build.
   1584 
   1585         * WebView.cpp: Added FloatQuad.h.
   1586 
   1587 2009-01-23  Brent Fulgham  <bfulgham (a] webkit.org>
   1588 
   1589         Reviewed by Darin Adler
   1590 
   1591         https://bugs.webkit.org/show_bug.cgi?id=23492
   1592         Exclude calls to WebKitSystemInterface functions when not
   1593         using CoreGraphics.
   1594 
   1595         * WebPreferences.cpp:
   1596         (WebPreferences::setFontSmoothing): 
   1597         (WebPreferences::setFontSmoothingContrast):
   1598         * WebTextRenderer.cpp:
   1599         (WebTextRenderer::registerPrivateFont):
   1600 
   1601 2009-01-23  Brady Eidson  <beidson (a] apple.com>
   1602 
   1603         Rubberstamped by Darin Adler
   1604 
   1605         Rename CachedPagePlatformData to CachedFramePlatformData to more accurately reflect its true role.
   1606 
   1607         * WebCachedFramePlatformData.h: Copied from WebKit/win/WebCachedPagePlatformData.h.
   1608         (WebCachedFramePlatformData::WebCachedFramePlatformData):
   1609         * WebCachedPagePlatformData.h: Removed.
   1610 
   1611         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1612         (WebFrameLoaderClient::savePlatformDataToCachedPage):
   1613 
   1614         * WebKit.vcproj/WebKit.vcproj:
   1615 
   1616 2009-01-22  Eric Roman  <eroman (a] chromium.org>
   1617 
   1618         Reviewed by Eric Seidel.
   1619 
   1620         https://bugs.webkit.org/show_bug.cgi?id=20806
   1621         Deprecate RSSFeedReferrer() and setRSSFeedReferrer().
   1622 
   1623         * WebHistoryItem.cpp:
   1624         (WebHistoryItem::RSSFeedReferrer):
   1625         (WebHistoryItem::setRSSFeedReferrer):
   1626 
   1627 2009-01-19  Sam Weinig  <sam (a] webkit.org>
   1628 
   1629         Rubber-stamped by Gavin Barraclough.
   1630 
   1631         Remove temporary operator-> from JSValuePtr.
   1632 
   1633         * WebScriptCallFrame.cpp:
   1634         (WebScriptCallFrame::jsValueToString):
   1635         * WebView.cpp:
   1636         (WebView::stringByEvaluatingJavaScriptFromString):
   1637 
   1638 2009-01-19  Adam Roben  <aroben (a] apple.com>
   1639 
   1640         Windows build fix
   1641 
   1642         * DOMCoreClasses.cpp: Replaced "using namespace WebCore" with
   1643         individual using directives for each type we need from that namespace,
   1644         to avoid conflicts between DOMObject and WebCore::DOMObject.
   1645         (DOMElement::font): Added a now-needed WebCore::.
   1646 
   1647 2009-01-17  Steve Falkenburg  <sfalken (a] apple.com>
   1648 
   1649         Build fix.
   1650 
   1651         * WebCoreSupport/WebDragClient.cpp:
   1652         (WebDragClient::createDragImageForLink):
   1653 
   1654 2009-01-17  David Hyatt  <hyatt (a] apple.com>
   1655 
   1656         Eliminate dependencies on backslashAsCurrencySymbol from WebKit.
   1657 
   1658         Reviewed by Oliver Hunt
   1659 
   1660         * WebFrame.cpp:
   1661         (WebFrame::selectedString):
   1662 
   1663 2009-01-16  Steve Falkenburg  <sfalken (a] apple.com>
   1664 
   1665         <rdar://problem/6502511> Safari crashes if it's running while the desktop theme is changed.
   1666         
   1667         This was caused by mismatched ENABLE definitions across WebCore and WebKit.
   1668         
   1669         Several virtual methods were added to RenderTheme.h, conditionalized by ENABLE(VIDEO).
   1670         In addition to adding ENABLE_VIDEO to WebKit, this change also adds ENABLE_DATABASE and ENABLE_ICONDATABASE
   1671         to Windows WebCore/WebKit, and adds ENABLE_WORKERS, and several ENABLE_SVG_ flags to WebKit on Windows.
   1672         Our Windows ENABLE flags now match Mac.
   1673         
   1674         Reviewed by Adele Peterson.
   1675 
   1676         * WebKit.vcproj/WebKit.vcproj:
   1677 
   1678 2009-01-15  Adele Peterson  <adele (a] apple.com>
   1679 
   1680         Reviewed by Darin Adler.
   1681         
   1682         Fix for https://bugs.webkit.org/show_bug.cgi?id=21799
   1683         <rdar://problem/6310684> Crash in dumpFramesAsText() when running http/tests/security/cross-origin-xsl-BLOCKED.html
   1684         
   1685         Return S_OK or E_FAIL based on the result from CreateInstance.
   1686         This was causing DumpRenderTree to not realize it had just gotten a null documentElement.
   1687         
   1688         * DOMCoreClasses.cpp: Made all functions that return the result of CreateInstance consistent.
   1689         (DOMNode::parentNode):
   1690         (DOMNode::ownerDocument):
   1691         (DOMNodeList::item):
   1692         (DOMDocument::documentElement):
   1693         (DOMDocument::createElement):
   1694         (DOMDocument::getElementsByTagName):
   1695         (DOMDocument::getElementsByTagNameNS):
   1696         (DOMDocument::getElementById):
   1697         (DOMDocument::getComputedStyle):
   1698         (DOMDocument::createEvent):
   1699         (DOMElement::style):
   1700 
   1701 2009-01-14  Adele Peterson  <adele (a] apple.com>
   1702 
   1703         Reviewed by Darin Adler.
   1704 
   1705         Fix for https://bugs.webkit.org/show_bug.cgi?id=23335
   1706         <rdar://problem/6247650> Update <input type="search"> for RenderThemeWin
   1707         
   1708         Added artwork.
   1709         
   1710         * WebKit.vcproj/WebKit.rc:
   1711         * WebKit.vcproj/WebKit.vcproj:
   1712         * WebKit.vcproj/resource.h:
   1713         * WebKit.vcproj/searchCancel.png: Added.
   1714         * WebKit.vcproj/searchCancelPressed.png: Added.
   1715         * WebKit.vcproj/searchMagnifier.png: Added.
   1716         * WebKit.vcproj/searchMagnifierResults.png: Added.
   1717         * WebKitDLL.cpp:(loadResourceIntoBuffer):
   1718 
   1719 2009-01-14  Dan Bernstein  <mitz (a] apple.com>
   1720 
   1721         Reviewed by John Sullivan.
   1722 
   1723         - update copyright
   1724 
   1725         * WebKit.resources/Info.plist:
   1726         * WebKit.vcproj/WebKit.rc:
   1727 
   1728 2009-01-13  Steve Falkenburg  <sfalken (a] apple.com>
   1729 
   1730         Build fix.
   1731 
   1732         * WebScriptCallFrame.cpp:
   1733         (WebScriptCallFrame::jsValueToString):
   1734 
   1735 2009-01-12  Brady Eidson  <beidson (a] apple.com>
   1736 
   1737         Reviewed by Dan Bernstein
   1738         
   1739         <rdar://problem/6490446> - Crash when going back to a cached page
   1740 
   1741         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1742         (WebFrameLoaderClient::savePlatformDataToCachedPage):  ENABLE(CFNETWORK) needed to be USE(CFNETWORK)
   1743 
   1744 2009-01-12  Brady Eidson  <beidson (a] apple.com>
   1745 
   1746         Reviewed by Darin Adler
   1747 
   1748         <rdar://problem/6468274> - Track Non-get requests in global history
   1749 
   1750         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1751         (WebFrameLoaderClient::updateGlobalHistory):
   1752 
   1753         * WebHistory.cpp:
   1754         (WebHistory::addItem):
   1755         * WebHistory.h:
   1756 
   1757         * Interfaces/IWebHistoryItemPrivate.idl:
   1758         * WebHistoryItem.cpp:
   1759         (WebHistoryItem::initFromDictionaryRepresentation):
   1760         (WebHistoryItem::dictionaryRepresentation):
   1761         (WebHistoryItem::lastVisitWasHTTPNonGet):
   1762         (WebHistoryItem::setLastVisitWasHTTPNonGet):
   1763         * WebHistoryItem.h:
   1764 
   1765 2009-01-12  Julien Chaffraix  <jchaffraix (a] pleyo.com>
   1766 
   1767         Reviewed by Darin Adler.
   1768 
   1769         Bug 22861: Turn the FontCache into a singleton
   1770         https://bugs.webkit.org/show_bug.cgi?id=22861
   1771 
   1772         * WebCoreStatistics.cpp:
   1773         (WebCoreStatistics::cachedFontDataCount):
   1774         (WebCoreStatistics::cachedFontDataInactiveCount):
   1775         (WebCoreStatistics::purgeInactiveFontData):
   1776         Redirected all the static calls to the global FontCache
   1777         instance.
   1778 
   1779 2009-01-11  Dmitry Titov  <dimich (a] chromium.org>
   1780 
   1781         Reviewed by Darin Adler.
   1782 
   1783         https://bugs.webkit.org/show_bug.cgi?id=23207
   1784         Moved currentTime() to from WebCore to WTF.
   1785 
   1786         * WebDownload.cpp: a different header file included.
   1787         * WebDropSource.cpp: a different header file included.
   1788 
   1789 2009-01-09  Darin Adler  <darin (a] apple.com>
   1790 
   1791         Reviewed by Jon Honeycutt.
   1792 
   1793         Bug 22913: REGRESSION: Space bar doesn't scroll on windows
   1794         https://bugs.webkit.org/show_bug.cgi?id=22913
   1795         rdar://problem/6479834
   1796 
   1797         * WebView.cpp:
   1798         (WebView::keyPress): Removed code to handle space bar here; put it in
   1799         WebCore instead.
   1800 
   1801 2009-01-09  Brent Fulgham  <bfulgham (a] gmail.com>
   1802 
   1803         Reviewed by Adam Roben.
   1804 
   1805         Fixes: http://bugs.webkit.org/show_bug.cgi?id=23092
   1806         Separate CFNetwork-specific code in WebKit.dll into separate
   1807         implementation files. Create cURL stub files to be populated
   1808         with new implementation in a future bug report. 
   1809 
   1810         * WebCookieManager.cpp: Move CFNetwork-specific routines to
   1811           the new WebCookieManagerCFNet.cpp file.
   1812         (WebCookieManager::Release):
   1813         * WebCookieManagerCFNet.cpp: Copied from WebCookieManager.cpp.
   1814         (WebCookieManager::cookieStorage):
   1815         * WebCookieManagerCurl.cpp: Added.
   1816         (WebCookieManager::cookieStorage):
   1817         (WebCookieManager::setCookieStorage):
   1818         * WebCoreSupport/WebFrameLoaderClient.cpp: Conditionalize two
   1819           methods in this file.
   1820         (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
   1821         (WebFrameLoaderClient::savePlatformDataToCachedPage):
   1822         * WebDownload.cpp: Move CFNetwork-specific logic to the new
   1823           WebDownloadCFNet.cpp
   1824         (WebDownload::bundleExtension):
   1825         (WebDownload::bundleMagicNumber):
   1826         (WebDownload::bundlePathForTargetPath):
   1827         (WebDownload::extractResumeDataFromBundle): Made static class method
   1828           so it could be used in WebDownload.cpp and WebDownloadCFNet.cpp
   1829         (WebDownload::appendResumeDataToBundle): Made static class method
   1830           so it could be used in WebDownload.cpp and WebDownloadCFNet.cpp
   1831         * WebDownload.h:
   1832         * WebDownloadCFNet.cpp: Copied from WebDownload.cpp.
   1833         (WebDownload::initToResumeWithBundle):
   1834         (WebDownload::setDestination):
   1835         (didFailCallback):
   1836         * WebDownloadCurl.cpp: Added.
   1837         (WebDownload::init):
   1838         (WebDownload::initWithRequest):
   1839         (WebDownload::initToResumeWithBundle):
   1840         (WebDownload::start):
   1841         (WebDownload::cancel):
   1842         (WebDownload::cancelForResume):
   1843         (WebDownload::deletesFileUponFailure):
   1844         (WebDownload::setDeletesFileUponFailure):
   1845         (WebDownload::setDestination):
   1846         (WebDownload::cancelAuthenticationChallenge):
   1847         (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
   1848         (WebDownload::useCredential):
   1849         * WebKit.vcproj/WebKit.vcproj: Modify Apple targets to exclude the
   1850           new cURL files. Modify Cairo targets to exclude CFNet files.
   1851         * WebMutableURLRequest.cpp: Conditionalize the single method
   1852           with a CFNetwork-speicic call.
   1853         (WebMutableURLRequest::mutableCopy):
   1854         * WebURLAuthenticationChallenge.cpp: Conditionalize one line that
   1855           causes build problems for cURL. This will be removed later.
   1856         (WebURLAuthenticationChallenge::initWithProtectionSpace):
   1857         * WebURLAuthenticationChallengeSender.cpp:
   1858         * WebURLAuthenticationChallengeSenderCFNet.cpp: Copied from WebURLAuthenticationChallengeSender.cpp.
   1859         (WebURLAuthenticationChallengeSender::useCredential):
   1860         * WebURLAuthenticationChallengeSenderCurl.cpp: Added.
   1861         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
   1862         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
   1863         (WebURLAuthenticationChallengeSender::useCredential):
   1864         * WebURLResponse.cpp: Exclude WebKitSystemInterface when compiling
   1865           for the cURL target.
   1866 
   1867 2009-01-09  Alexey Proskuryakov  <ap (a] webkit.org>
   1868 
   1869         Reviewed by Darin Adler.
   1870 
   1871         Fix many appcache tests on Windows by making synchronous XMLHttpRequest throw on cache miss.
   1872 
   1873         * WebFrame.cpp: (WebFrame::cannotShowURLError): Implement, so that synchronous XHR can
   1874         raise exceptions, as needed for AppCache tests. I do not know why this error was not
   1875         implemented.
   1876 
   1877 2009-01-09  Darin Adler  <darin (a] apple.com>
   1878 
   1879         Reviewed and landed by Adele Peterson.
   1880 
   1881         Bug 23160: add setMemoryCacheClientCallsEnabled SPI so Safari can be faster with activity window closed
   1882         https://bugs.webkit.org/show_bug.cgi?id=23160
   1883 
   1884         * Interfaces/IWebViewPrivate.idl: Added setMemoryCacheDelegateCallsEnabled.
   1885         * WebView.cpp:
   1886         (WebView::setMemoryCacheDelegateCallsEnabled): Ditto.
   1887         * WebView.h: Ditto.
   1888 
   1889 2009-01-08  Dan Bernstein  <mitz (a] apple.com>
   1890 
   1891         Reviewed by Adam Roben.
   1892 
   1893         - WebPreferences changes to support Core Graphics native glyph drawing
   1894 
   1895         * Interfaces/IWebPreferencesPrivate.idl: Added font smoothing contrast
   1896         getter and setter.
   1897         * WebPreferenceKeysPrivate.h: Added
   1898         WebKitFontSmoothingContrastPreferenceKey.
   1899         * WebPreferences.cpp:
   1900         (WebPreferences::initializeDefaultSettings): Initialized
   1901         WebKitFontSmoothingContrastPreferenceKey to 2.
   1902         (WebPreferences::setFloatValue): Added.
   1903         (WebPreferences::setFontSmoothing): Changed to map
   1904         FontSmoothingTypeWindows to FontSmoothingTypeMedium.
   1905         (WebPreferences::fontSmoothingContrast): Added.
   1906         (WebPreferences::setFontSmoothingContrast): Added. Calls
   1907         wkSetFontSmoothingContrast().
   1908         * WebPreferences.h:
   1909 
   1910 2009-01-08  Steve Falkenburg  <sfalken (a] apple.com>
   1911 
   1912         <rdar://problem/6474244> REGRESSION(39561-39603): Heap corruption when saving passwords?
   1913         
   1914         Reviewed by Adam Roben.
   1915 
   1916         * WebView.cpp:
   1917         (WebViewWndProc): Hold a ref to the WebView inside the WNDPROC, since it could go away in an event handler.
   1918 
   1919 2009-01-07  Jon Honeycutt  <jhoneycutt (a] apple.com>
   1920 
   1921         Fix a crash with querying a WebView for its global history item when
   1922         its associated Page has no global history item.
   1923 
   1924         Reviewed by Dan Bernstein.
   1925 
   1926         * WebView.cpp:
   1927         (WebView::globalHistoryItem): If the Page has no global history item,
   1928         report 0.
   1929 
   1930 2009-01-06  Adam Roben  <aroben (a] apple.com>
   1931 
   1932         Fix Bug 22262: Clicking close ("X") button in docked Web Inspector
   1933         clears Web Inspector but doesn't close it
   1934 
   1935         <https://bugs.webkit.org/show_bug.cgi?id=22262>
   1936         <rdar://problem/6371873>
   1937 
   1938         Reviewed by Darin Adler.
   1939 
   1940         * WebCoreSupport/WebInspectorClient.cpp:
   1941         (WebInspectorClient::WebInspectorClient): Initialize new member.
   1942         (WebInspectorClient::showWindow): Moved code from here to
   1943         showWindowWithoutNotifications.
   1944         (WebInspectorClient::closeWindow): Moved code from here to
   1945         closeWindowWithoutNotifications.
   1946 
   1947         (WebInspectorClient::attachWindow):
   1948         (WebInspectorClient::detachWindow):
   1949         Record whether or not we should be attached, then close and reopen the
   1950         window without notifying the InspectorController. Code that was in
   1951         these functions moved to showWindowWithoutNotifications and
   1952         closeWindowWithoutNotifications, respectively.
   1953 
   1954         (WebInspectorClient::closeWindowWithoutNotifications): Added. Code
   1955         came from closeWindow and detachWindow.
   1956         (WebInspectorClient::showWindowWithoutNotifications): Added. Code came
   1957         from showWindow and attachWindow.
   1958 
   1959         * WebCoreSupport/WebInspectorClient.h: Added
   1960         {close,show}WindowWithoutNotifications and m_shouldAttachWhenShown.
   1961 
   1962 2009-01-06  Anders Carlsson  <andersca (a] apple.com>
   1963 
   1964         Reviewed by Sam Weinig.
   1965 
   1966         Add a way for application to provide custom, full frame, views for certain MIME types.
   1967         
   1968         * Interfaces/IWebEmbeddedView.idl:
   1969         Add loading related methods.
   1970         
   1971         * Interfaces/IWebViewPrivate.idl:
   1972         Add new registerEmbeddedViewMIMEType method.
   1973         
   1974         * WebCoreSupport/EmbeddedWidget.cpp:
   1975         (EmbeddedWidget::didReceiveResponse):
   1976         (EmbeddedWidget::didReceiveData):
   1977         (EmbeddedWidget::didFinishLoading):
   1978         (EmbeddedWidget::didFail):
   1979         Implement these and call the IEmbeddedView methods.
   1980         
   1981         * WebCoreSupport/EmbeddedWidget.h:
   1982         Inherit from PluginManualLoader.
   1983         
   1984         * WebCoreSupport/WebFrameLoaderClient.cpp:
   1985         (WebFrameLoaderClient::redirectDataToPlugin):
   1986         Handle the case where the widget is an EnbeddedWidget.
   1987         
   1988         (WebFrameLoaderClient::shouldUsePluginDocument):
   1989         Have this call WebView::shouldUseEmbeddedView.
   1990         
   1991         * WebView.cpp:
   1992         (WebView::canShowMIMEType):
   1993         Have this call WebView::shouldUseEmbeddedView.
   1994         
   1995         (WebView::registerEmbeddedViewMIMEType):
   1996         Add the MIME type to the set.
   1997         
   1998         (WebView::shouldUseEmbeddedView):
   1999         Given a MIME type, returns whether an embedded view should be used or not.
   2000         
   2001 2009-01-06  David Kilzer  <ddkilzer (a] apple.com>
   2002 
   2003         BUILD FIX (r39641): Try to fix WebIconDatabase build errors #4
   2004 
   2005         * WebIconDatabase.cpp:
   2006         (WebIconDatabase::isEnabled): Added 'WebIconDatabase::' to method
   2007         signature.  (Another copy-paste error.)
   2008         (WebIconDatabase::setEnabled): Ditto.
   2009         * WebIconDatabase.h:
   2010         (WebIconDatabase::startUpIconDatabase): Make private again.
   2011         (WebIconDatabase::shutDownIconDatabase): Ditto.
   2012 
   2013 2009-01-06  David Kilzer  <ddkilzer (a] apple.com>
   2014 
   2015         BUILD FIX (r39641): Try to fix build errors #3
   2016 
   2017         Try to fix the following (more specific) build errors:
   2018 
   2019             WebIconDatabase.cpp
   2020             ..\WebIconDatabase.cpp(255) : error C2248: 'WebIconDatabase::shutDownIconDatabase' : cannot access private member declared in class 'WebIconDatabase'
   2021                     ...\webkit\win\WebIconDatabase.h(61) : see declaration of 'WebIconDatabase::shutDownIconDatabase'
   2022                     ...\webkit\win\WebIconDatabase.h(51) : see declaration of 'WebIconDatabase'
   2023             ..\WebIconDatabase.cpp(255) : error C2352: 'WebIconDatabase::shutDownIconDatabase' : illegal call of non-static member function
   2024                     ...\webkit\win\WebIconDatabase.h(61) : see declaration of 'WebIconDatabase::shutDownIconDatabase'
   2025             ..\WebIconDatabase.cpp(258) : error C2248: 'WebIconDatabase::startUpIconDatabase' : cannot access private member declared in class 'WebIconDatabase'
   2026                     ...\webkit\win\WebIconDatabase.h(60) : see declaration of 'WebIconDatabase::startUpIconDatabase'
   2027                     ...\webkit\win\WebIconDatabase.h(51) : see declaration of 'WebIconDatabase'
   2028             ..\WebIconDatabase.cpp(258) : error C2352: 'WebIconDatabase::startUpIconDatabase' : illegal call of non-static member function
   2029                     ...\webkit\win\WebIconDatabase.h(60) : see declaration of 'WebIconDatabase::startUpIconDatabase'
   2030 
   2031         * WebIconDatabase.cpp:
   2032         (setEnabled): Get instance of shared WebIconDatabase, then call
   2033         startUp/shutDown methods on it.
   2034         * WebIconDatabase.h:
   2035         (WebIconDatabase::startUpIconDatabase): Make protected again.
   2036         (WebIconDatabase::shutDownIconDatabase): Ditto.
   2037 
   2038 2009-01-06  David Kilzer  <ddkilzer (a] apple.com>
   2039 
   2040         BUILD FIX (r39641): Try to fix build errors again
   2041 
   2042         Try to fix the following build errors:
   2043 
   2044             WebIconDatabase.cpp
   2045             ..\WebIconDatabase.cpp(255) : error C3861: 'shutDownIconDatabase': identifier not found
   2046             ..\WebIconDatabase.cpp(258) : error C3861: 'startUpIconDatabase': identifier not found
   2047 
   2048         * WebIconDatabase.cpp:
   2049         (setEnabled): Add class prefix to startUpIconDatabase() and
   2050         shutDownIconDatabase().
   2051         * WebIconDatabase.h:
   2052         (WebIconDatabase::startUpIconDatabase): Make private again.
   2053         (WebIconDatabase::shutDownIconDatabase): Ditto.
   2054 
   2055 2009-01-06  David Kilzer  <ddkilzer (a] apple.com>
   2056 
   2057         BUILD FIX (r39641): Try to fix build error
   2058 
   2059         Try to fix the following build errors:
   2060 
   2061             WebIconDatabase.cpp
   2062             ..\WebIconDatabase.cpp(255) : error C3861: 'shutDownIconDatabase': identifier not found
   2063             ..\WebIconDatabase.cpp(258) : error C3861: 'startUpIconDatabase': identifier not found
   2064 
   2065         * WebIconDatabase.h:
   2066         (WebIconDatabase::startUpIconDatabase): Make protected.
   2067         (WebIconDatabase::shutDownIconDatabase): Ditto.
   2068 
   2069 2009-01-06  David Kilzer  <ddkilzer (a] apple.com>
   2070 
   2071         BUILD FIX (r39641): Fix more silly errors
   2072 
   2073         Fixes the following compilation errors:
   2074 
   2075             WebIconDatabase.cpp
   2076             ..\WebIconDatabase.cpp(85) : error C2065: 'standardPrefs' : undeclared identifier
   2077             ..\WebIconDatabase.cpp(85) : error C2227: left of '->iconDatabaseLocation' must point to class/struct/union/generic type
   2078                     type is ''unknown-type''
   2079             ..\WebIconDatabase.cpp(241) : error C2575: 'isEnabled' : only member functions and bases can be virtual
   2080             ..\WebIconDatabase.cpp(248) : error C2575: 'setEnabled' : only member functions and bases can be virtual
   2081             ..\WebIconDatabase.cpp(253) : error C3861: 'shutDownIconDatabase': identifier not found
   2082             ..\WebIconDatabase.cpp(256) : error C3861: 'startUpIconDatabase': identifier not found
   2083 
   2084         * WebIconDatabase.cpp:
   2085         (WebIconDatabase::startUpIconDatabase): Redeclare standardPrefs
   2086         since this was in init() but not in this method after it was
   2087         extracted from init().
   2088         (isEnabled): Don't use "virtual" in method implementation
   2089         (silly copy-paste error).
   2090         (setEnabled): Ditto.
   2091 
   2092 2009-01-06  David Kilzer  <ddkilzer (a] apple.com>
   2093 
   2094         BUILD FIX (r39641): Remove STDMETHODCALLTYPE from method declarations in IWebIconDatabase.idl
   2095 
   2096         * Interfaces/IWebIconDatabase.idl: Removed "STDMETHODCALLTYPE"
   2097         from silly copy-paste error in two method declarations.
   2098 
   2099 2009-01-05  David Kilzer  <ddkilzer (a] apple.com>
   2100 
   2101         Add API to enable, disable and check state of WebIconDatabase
   2102 
   2103         Reviewed by Darin Adler & Timothy Hatcher.
   2104 
   2105         Add WebIconDatabase::isEnabled() and WebIconDatabase::setEnabled()
   2106         API to make it possible to enable, disable and check the state of
   2107         the icon database.
   2108 
   2109         * Interfaces/IWebIconDatabase.idl: Declared isEnabled() and
   2110         setEnabled() methods.
   2111         * WebIconDatabase.cpp:
   2112         (WebIconDatabase::init): Extracted code into startUpIconDatabase().
   2113         (WebIconDatabase::startUpIconDatabase): Added.  Extracted from
   2114         init().
   2115         (WebIconDatabase::shutDownIconDatabase): Added.  Method is empty
   2116         since there is nothing to do yet on Windows.
   2117         (isEnabled): Added.
   2118         (setEnabled): Added.
   2119         * WebIconDatabase.h: Added method declarations.
   2120 
   2121 2009-01-05  Anders Carlsson  <andersca (a] apple.com>
   2122 
   2123         Reviewed by Jon Honeycutt.
   2124 
   2125         Pass more information in the property bag passed to embeddedViewWithArguments.
   2126         
   2127         * Interfaces/IWebUIDelegatePrivate.idl:
   2128         Declare new keys.
   2129         
   2130         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2131         (WebFrameLoaderClient::createPlugin):
   2132         Pass the base URL, MIME type and the containing element to embeddedViewWithArguments.
   2133 
   2134 2009-01-05  Anders Carlsson  <andersca (a] apple.com>
   2135 
   2136         Reviewed by Darin Adler, Jon Honeycutt.
   2137 
   2138         Add a templatized COMVariant constructor so we can make COMVariants out of
   2139         everything that has a COMVariantSetter specialization.
   2140         
   2141         Add a COMVariantSetter specialization for COMVariant.
   2142         
   2143         * COMVariantSetter.h:
   2144         (COMVariant::COMVariant):
   2145 
   2146 2009-01-05  Brent Fulgham  <bfulgham (a] gmail.com>
   2147 
   2148         Reviewed by Oliver Hunt.
   2149 
   2150         Fixes: https://bugs.webkit.org/show_bug.cgi?id=23027
   2151 
   2152         Removes the WebKitGraphics files from the Cairo build, as well
   2153         as excluding their link definitions.  These are not used outside
   2154         of Safari, and should not be part of the 'Redistributable API.'
   2155 
   2156         * WebKit.vcproj/WebKit.vcproj:  Update *_Cairo targets to exclude
   2157           the WebKitGraphics.cpp/.h files.
   2158         * WebKit.vcproj/WebKit_Cairo.def: Added.  File without Safari
   2159           link definitions.
   2160         * WebKit.vcproj/WebKit_Cairo_debug.def: Added.  File without Safari
   2161           link definitions.
   2162 
   2163 2009-01-05  Anders Carlsson  <andersca (a] apple.com>
   2164 
   2165         Reviewed by Jon Honeycutt.
   2166 
   2167         Add a simple, memory managed, wrapper around a VARIANT struuct.
   2168         
   2169         * COMVariantSetter.h:
   2170         (COMVariant::COMVariant):
   2171         (COMVariant::~COMVariant):
   2172         (COMVariant::operator=):
   2173         (COMVariant::copyTo):
   2174         (COMVariant::variantType):
   2175 
   2176 2009-01-05  Adele Peterson  <adele (a] apple.com>
   2177 
   2178         Windows build fix.
   2179 
   2180         * WebCoreSupport/WebChromeClient.cpp:
   2181 
   2182 2009-01-05  Anders Carlsson  <andersca (a] apple.com>
   2183 
   2184         Reviewed by Adam Roben.
   2185 
   2186         Make it possible to have per value variant types.
   2187         
   2188         * COMPropertyBag.h:
   2189         (::Read):
   2190         Call variantType here, passing in the value.
   2191         
   2192         (::GetPropertyInfo):
   2193         Ditto.
   2194         
   2195         * COMVariantSetter.h:
   2196         (COMVariantSetterBase::variantType):
   2197         Add COMVariantSetterBase, whose variantType implementation just returns the
   2198         VariantType variable. Make all existing classes inherit from COMVariantSetterBase.
   2199 
   2200 2009-01-05  Adam Treat  <adam.treat (a] torchmobile.com>
   2201 
   2202         Fix win build
   2203 
   2204         * WebCoreSupport/WebChromeClient.h:
   2205 
   2206 2009-01-05  Adam Treat  <adam.treat (a] torchmobile.com>
   2207 
   2208         Reviewed by George Staikos.
   2209 
   2210         Build fix for contentsSizeChanged
   2211 
   2212         * WebCoreSupport/WebChromeClient.cpp:
   2213         (WebChromeClient::contentsSizeChanged):
   2214         * WebCoreSupport/WebChromeClient.h:
   2215 
   2216 2009-01-05  Anders Carlsson  <andersca (a] apple.com> 
   2217 
   2218         Reviewed by Kevin Decker.
   2219 
   2220         Use the ManualLoader class instead of assuming that the manual loader
   2221         is a plug-in view.
   2222         
   2223         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2224         (WebFrameLoaderClient::WebFrameLoaderClient):
   2225         (WebFrameLoaderClient::setMainDocumentError):
   2226         (WebFrameLoaderClient::committedLoad):
   2227         (WebFrameLoaderClient::finishedLoading):
   2228         (WebFrameLoaderClient::redirectDataToPlugin):
   2229         * WebCoreSupport/WebFrameLoaderClient.h:
   2230 
   2231 2009-01-04  Adam Treat  <adam.treat (a] torchmobile.com>
   2232 
   2233         Reviewed by George Staikos.
   2234 
   2235         Make the apple windows port build with the new fixedLayoutSize feature
   2236 
   2237         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2238         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   2239 
   2240 2008-12-20  Dan Bernstein  <mitz (a] apple.com>
   2241 
   2242         Reviewed by Ada Chan.
   2243 
   2244         - expose the new allItems() method via a new IWebHistoryPrivate
   2245           interface
   2246 
   2247         * Interfaces/IWebHistoryPrivate.idl: Added.
   2248         * Interfaces/WebKit.idl: Added IWebHistoryPrivate.idl.
   2249         * WebHistory.cpp:
   2250         (WebHistory::QueryInterface): Added IWebHistoryPrivate.
   2251         (WebHistory::allItems):
   2252         * WebHistory.h:
   2253 
   2254 2008-12-19  Geoffrey Garen  <ggaren (a] apple.com>
   2255 
   2256         Build fix.
   2257 
   2258         * WebHistory.cpp:
   2259         (WebHistory::allItems):
   2260 
   2261 2008-12-19  Geoffrey Garen  <ggaren (a] apple.com>
   2262 
   2263         Reviewed by Darin Adler, Adele Peterson, Brady Eidson.
   2264         
   2265         Added SPI for getting an unsorted vector of all items in history.
   2266         
   2267         * WebHistory.cpp:
   2268         (WebHistory::orderedItemsLastVisitedOnDay):
   2269         (WebHistory::allItems):
   2270         * WebHistory.h:
   2271 
   2272 2008-12-18  Dan Bernstein  <mitz (a] apple.com>
   2273 
   2274         Reviewed by Sam Weinig.
   2275 
   2276         - implement FrameLoaderClient::shouldUseCredentialStorage() by calling
   2277           a new resource load delegae method.
   2278 
   2279         * Interfaces/IWebResourceLoadDelegatePrivate.idl: Added
   2280         a ne interface, IWebResourceLoadDelegatePrivate2, including a new
   2281         method, shouldUseCredentialStorage().
   2282         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2283         (WebFrameLoaderClient::shouldUseCredentialStorage): Added. Calls the
   2284         delegate method. If the method is unimplemented, returns true for
   2285         backwards compatibility.
   2286         * WebCoreSupport/WebFrameLoaderClient.h:
   2287 
   2288 2008-12-18  Sam Weinig  <sam (a] webkit.org>
   2289 
   2290         Reviewed by John Sullivan.
   2291 
   2292         Implement FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout() by calling
   2293         a new private frame load delegate method.
   2294 
   2295         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
   2296         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2297         (WebFrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
   2298         * WebCoreSupport/WebFrameLoaderClient.h:
   2299 
   2300 2008-12-16  Steve Falkenburg  <sfalken (a] apple.com>
   2301 
   2302         Windows build fix.
   2303         
   2304         Reviewed by Stephanie Lewis.
   2305 
   2306         * COMPropertyBag.h:
   2307         (::createInstance):
   2308         (::adopt):
   2309         (::QueryInterface):
   2310         (::AddRef):
   2311         (::Release):
   2312         (::Read):
   2313         (::Write):
   2314         (::CountProperties):
   2315         (::GetPropertyInfo):
   2316         (::LoadObject):
   2317         * WebURLResponse.cpp:
   2318         (WebURLResponse::allHeaderFields):
   2319 
   2320 2008-12-16  Stephanie Lewis  <slewis (a] apple.com>
   2321 
   2322         Another Windows Build Fix.
   2323 
   2324         * WebURLResponse.cpp:
   2325         (WebURLResponse::allHeaderFields):
   2326 
   2327 2008-12-14  Dan Bernstein  <mitz (a] apple.com>
   2328 
   2329         Reviewed by Darin Adler.
   2330 
   2331         - Windows equivalent of <rdar://problem/3258561>
   2332           WebHistoryAllItemsRemovedNotification should add items to userInfo
   2333 
   2334         * WebHistory.cpp:
   2335         (WebHistory::removeAllItems): Changed to create an array of all items
   2336         and send it in the notification.
   2337 
   2338 2008-12-12  Brent Fulgham  <bfulgham (a] gmail.com>
   2339 
   2340         Reviewed by Oliver Hunt.
   2341 
   2342         Fixes: https://bugs.webkit.org/show_bug.cgi?id=22805
   2343 
   2344         Provides implementation of image drag for Windows Cairo back-end.
   2345         Switch to generic PlatformGraphicsContext data type, rather than
   2346         specific use of CoreGraphics types.
   2347 
   2348         * WebCoreSupport/WebDragClient.cpp:
   2349         (WebDragClient::createDragImageForLink): Revise calls to use more
   2350         generic PlatformGraphicsContext data types and calls for better
   2351         portability.
   2352 
   2353 2008-12-12  Steve Falkenburg  <sfalken (a] apple.com>
   2354 
   2355         Update Windows cache sizes to match recent Mac change.
   2356         
   2357         Reviewed by Stephanie Lewis, Sam Weinig.
   2358 
   2359         * WebView.cpp:
   2360         (WebView::setCacheModel):
   2361 
   2362 2008-12-12  Tor Arne Vestb  <tavestbo (a] trolltech.com>
   2363 
   2364         Rubber-stamped by Oliver Hunt.
   2365 
   2366         Remove mutables from EmbeddedWidget
   2367 
   2368         We can do this now that frameRectsChanged() is no longer const
   2369 
   2370         * WebCoreSupport/EmbeddedWidget.h:
   2371 
   2372 2008-12-11  Cameron Zwarich  <zwarich (a] apple.com>
   2373 
   2374         Rubber-stamped by Mark Rowe.
   2375 
   2376         Roll out r39212 due to assertion failures during layout tests, multiple
   2377         layout test failures, memory leaks, and obvious incorrectness.
   2378 
   2379         * Interfaces/IWebPreferencesPrivate.idl:
   2380         * WebPreferenceKeysPrivate.h:
   2381         * WebPreferences.cpp:
   2382         * WebPreferences.h:
   2383 
   2384 2008-12-10  Glenn Wilson  <gwilson (a] google.com>
   2385 
   2386         Reviewed by Adam Roben.
   2387 
   2388         Added support for overriding default preferences per-test.
   2389         https://bugs.webkit.org/show_bug.cgi?id=20534
   2390         Two new methods were added: resetToDefaults and overridePreference.
   2391 
   2392         * Interfaces/IWebPreferencesPrivate.idl: new method signatures
   2393         * WebPreferenceKeysPrivate.h: added new key for internal state
   2394         * WebPreferences.cpp: added new methods
   2395         (WebPreferences::overridePreference): new method
   2396         (WebPreferences::resetToDefaults): new method
   2397         * WebPreferences.h: new method signatures
   2398 
   2399 2008-12-08  Tor Arne Vestb  <tavestbo (a] trolltech.com>
   2400 
   2401         Reviewed by Darin Adler and Holger Freyther.
   2402 
   2403         Make Widget::frameRectsChanged() and overrides non-const
   2404 
   2405         This will hopefully allow us to get rid of some of the mutables in
   2406         the classes that react to the callback by changing their own state.
   2407 
   2408         * WebCoreSupport/EmbeddedWidget.cpp:
   2409         (EmbeddedWidget::frameRectsChanged):
   2410         * WebCoreSupport/EmbeddedWidget.h:
   2411 
   2412 2008-12-09  Brett Wilson  <brettw (a] chromium.org>
   2413 
   2414         Reviewed by Dave Hyatt.
   2415 
   2416         https://bugs.webkit.org/show_bug.cgi?id=22177
   2417 
   2418         Add a callback on ChromeClient that the state of form elements on
   2419         the page has changed. This is to allow clients implementing session
   2420         saving to know when the current state is dirty.
   2421 
   2422         * WebCoreSupport/WebChromeClient.h:
   2423         (WebChromeClient::formStateDidChange):
   2424 
   2425 ks2008-12-08  Dan Bernstein  <mitz (a] apple.com>
   2426 
   2427         Reviewed by Adam Roben.
   2428 
   2429         - Fix nightly builds
   2430 
   2431         * Interfaces/IWebViewPrivate.idl: Moved globalHistoryItem() to the end,
   2432         so that it comes after all methods used by Safari 3.2.1.
   2433 
   2434 2008-12-08  Dan Bernstein  <mitz (a] apple.com>
   2435 
   2436         Reviewed by John Sullivan.
   2437 
   2438         - WebKit/win part of tracking the global history item for a WebView
   2439 
   2440         * Interfaces/IWebViewPrivate.idl: Declared globalHistoryItem()
   2441         * WebView.cpp:
   2442         (WebView::globalHistoryItem): Added. Gets the page's global history
   2443         item.
   2444         * WebView.h:
   2445 
   2446 2008-12-06  Simon Fraser  <simon.fraser (a] apple.com>
   2447 
   2448         Reviewed by Dave Hyatt
   2449 
   2450         https://bugs.webkit.org/show_bug.cgi?id=15671
   2451 
   2452         Renderer::caretRect() is now localCaretRect(), which needs
   2453         converting to absolute coordinates (taking transforms into account).
   2454 
   2455         * WebView.cpp:
   2456         (WebView::handleContextMenuEvent):
   2457 
   2458 2008-12-05  Darin Adler  <darin (a] apple.com>
   2459 
   2460         Reviewed by Alexey Proskuryakov.
   2461 
   2462         - fix https://bugs.webkit.org/show_bug.cgi?id=22674
   2463           Webkit r39005 does not start, an entry point not found
   2464 
   2465         * WebView.cpp:
   2466         (findCFNetworkModule): Added.
   2467         (findCopySharedURLCacheFunction): Added.
   2468         (WebView::setCacheModel): Call CFURLCacheCopySharedURLCache via dynamic loading
   2469         instead of compiling based on which version of CFNetwork headers are present.
   2470 
   2471 2008-12-04  Steve Falkenburg  <sfalken (a] apple.com>
   2472 
   2473         Implement IPropertyBag2::Read.
   2474         Fill in dwType for IPropertyBag2::GetPropertyInfo (we always use PROPBAG2_TYPE_DATA).
   2475         https://bugs.webkit.org/show_bug.cgi?id=22659
   2476         
   2477         This fixes <rdar://problem/6419127> REGRESSION: Forms autocomplete is broken for "other forms"
   2478         
   2479         Reviewed by Ada Chan, Alice Liu.
   2480 
   2481         * COMPropertyBag.h:
   2482         (::Read): Implemented.
   2483         (::GetPropertyInfo): Set dwType to PROPBAG2_TYPE_DATA.
   2484 
   2485 2008-12-02  Adam Roben  <aroben (a] apple.com>
   2486 
   2487         Export new-ish JSCore convenience constructor functions
   2488 
   2489         Reviewed by Jon Honeycutt.
   2490 
   2491         * WebKit.vcproj/WebKit.def:
   2492         * WebKit.vcproj/WebKit_debug.def:
   2493         Export JSObjectMakeArray, JSObjectMakeDate, and JSObjectMakeRegExp.
   2494         Remove duplicate export of JSObjectMakeFunction.
   2495 
   2496 2008-12-02  Michael Moss  <mmoss (a] chromium.org>
   2497 
   2498         Reviewed by Eric Seidel.
   2499 
   2500         - Fix http/tests/navigation/reload-subframe-*frame.html on Windows.
   2501         https://bugs.webkit.org/show_bug.cgi?id=20926
   2502 
   2503         Change 31264 fixed this on Mac (since moved to WebCore/loader/FrameLoader.cpp), but was never ported to Windows.
   2504 
   2505         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2506         (WebFrameLoaderClient::loadURLIntoChild):
   2507 
   2508 2008-12-01  Steve Falkenburg  <sfalken (a] apple.com>
   2509 
   2510         Implement renderedImage for Windows.
   2511         https://bugs.webkit.org/show_bug.cgi?25648
   2512         
   2513         Reviewed by Adam Roben.
   2514 
   2515         * DOMCoreClasses.cpp:
   2516         (DOMElement::renderedImage):
   2517         * DOMCoreClasses.h:
   2518         * Interfaces/DOMPrivate.idl:
   2519 
   2520 2008-12-01  Eric Seidel  <eric (a] webkit.org>
   2521 
   2522         Reviewed by Adam Roben.
   2523 
   2524         NULL-check documentFrameView() and topDocumentFrameView() it's possible
   2525         for either of these methods to return NULL, and this was seen to cause
   2526         crashes in Chromium.
   2527         https://bugs.webkit.org/show_bug.cgi?id=22572
   2528 
   2529         * AccessibleBase.cpp:
   2530         (AccessibleBase::get_accParent):
   2531         (AccessibleBase::accLocation):
   2532         (AccessibleBase::accHitTest):
   2533 
   2534 2008-11-30  Antti Koivisto  <antti (a] apple.com>
   2535 
   2536         Another Windows build fix.
   2537 
   2538         * WebCoreStatistics.cpp:
   2539         (WebCoreStatistics::javaScriptObjectsCount):
   2540 
   2541 2008-11-30  Antti Koivisto  <antti (a] apple.com>
   2542 
   2543         Windows build fix.
   2544 
   2545         * WebJavaScriptCollector.cpp:
   2546         (WebJavaScriptCollector::objectCount):
   2547 
   2548 2008-11-29  Brent Fulgham  <bfulgham (a] gmail.com>
   2549 
   2550         Reviewed by Alexey Proskuryakov.
   2551 
   2552         Remove Visual Studio project dependencies on non-redistributable
   2553         components in the Debug_Cairo and Release_Cairo build targets.
   2554         See https://bugs.webkit.org/show_bug.cgi?id=22527
   2555 
   2556         * WebKit.vcproj/WebKit.vcproj:
   2557         * WebKit.vcproj/WebKit.sln: Instruct Cairo builds to not bother
   2558           building the unused QuickTime support library.
   2559 
   2560 2008-11-24  Glenn Wilson  <gwilson (a] chromium.org>
   2561 
   2562         Reviewed by Alexey Proskuryakov.
   2563 
   2564         http://bugs.webkit.org/show_bug.cgi?id=15643
   2565 
   2566         Added API support for the "trailing whitespace" work-around.  This includes an APIs
   2567         to get and set the state of this configuration variable.
   2568 
   2569         * Interfaces/IWebView.idl:
   2570         * WebCoreSupport/WebEditorClient.cpp:
   2571         (WebEditorClient::selectTrailingWhitespaceEnabled):
   2572         * WebCoreSupport/WebEditorClient.h:
   2573         * WebView.cpp:
   2574         (WebView::WebView):
   2575         (WebView::setSelectTrailingWhitespaceEnabled):
   2576         (WebView::selectTrailingWhitespaceEnabled):
   2577         * WebView.h:
   2578 
   2579 2008-11-24  Darin Adler  <darin (a] apple.com>
   2580 
   2581         Reviewed by Dan Bernstein.
   2582 
   2583         - https://bugs.webkit.org/show_bug.cgi?id=22470
   2584           remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
   2585 
   2586         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2587         (WebFrameLoaderClient::updateGlobalHistory): Get the URL from the
   2588         DocumentLoader, just as we do the title and the failure flag.
   2589         * WebCoreSupport/WebFrameLoaderClient.h: Remove argument.
   2590 
   2591 2008-11-24  Darin Adler  <darin (a] apple.com>
   2592 
   2593         Reviewed by Dan Bernstein.
   2594 
   2595         - finish https://bugs.webkit.org/show_bug.cgi?id=22295
   2596           track which history items are from page load failures
   2597 
   2598         Last time around I did this only for the back/forward list and missed the
   2599         global history list.
   2600 
   2601         * Interfaces/IWebHistoryItemPrivate.idl: Added setLastVisitWasFailure.
   2602 
   2603         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2604         (WebFrameLoaderClient::updateGlobalHistory): Added code to check for failure
   2605         and pass the argument in to WebHistory.
   2606 
   2607         * WebHistory.cpp: (WebHistory::addItem): Added wasFailure argument.
   2608         Set the flag on the newly created history item.
   2609         * WebHistory.h: Ditto.
   2610 
   2611         * WebHistoryItem.cpp:
   2612         (WebHistoryItem::setLastVisitWasFailure): Added.
   2613         * WebHistoryItem.h: Ditto.
   2614 
   2615 2008-11-24  Simon Fraser  <simon.fraser (a] apple.com>
   2616 
   2617         Fix call to Frame::selectionBounds in Windows build.
   2618 
   2619         * WebView.cpp:
   2620         (WebView::selectionRect):
   2621 
   2622 2008-11-21  Dimitri Glazkov  <dglazkov (a] chromium.org>
   2623 
   2624         Reviewed by Alexey Proskuryakov.
   2625 
   2626         Debug WebKit crashes on launch because of threading not being initialized early enough.
   2627 
   2628         * WebKitClassFactory.cpp: (WebKitClassFactory::WebKitClassFactory):
   2629         Call JSC::InitializeThreading().
   2630 
   2631 2008-11-19  Darin Fisher  <darin (a] chromium.org>
   2632 
   2633         Reviewed by Geoff Garen.
   2634 
   2635         https://bugs.webkit.org/show_bug.cgi?id=22345
   2636         Define ScriptValue as a thin container for a JSC::Value*.
   2637 
   2638         * WebView.cpp:
   2639         (WebView::stringByEvaluatingJavaScriptFromString):
   2640 
   2641 2008-11-19  Adele Peterson  <adele (a] apple.com>
   2642 
   2643         Reviewed by Darin Adler.
   2644 
   2645         For transparent views, clear the dirty rect instead of painting it white.
   2646         
   2647         * WebView.cpp: (WebView::paintIntoBackingStore):
   2648 
   2649 2008-11-18  Adele Peterson  <adele (a] apple.com>
   2650 
   2651         Reverting last change.  I just realized it causes the view to never get cleared out.
   2652 
   2653         * WebView.cpp: (WebView::paintIntoBackingStore):
   2654 
   2655 2008-11-18  Adele Peterson  <adele (a] apple.com>
   2656 
   2657         Reviewed by John Sullivan.
   2658 
   2659         Don't fill the view with white if its transparent.
   2660         
   2661         * WebView.cpp: (WebView::paintIntoBackingStore):
   2662 
   2663 2008-11-18  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   2664 
   2665         Try to fix the Windows build. It is view and not webView.
   2666 
   2667         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2668         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   2669 
   2670 2008-11-18  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   2671 
   2672         Reviewed by Simon Hausmann.
   2673 
   2674         Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
   2675 
   2676         After Hyatt's work on Widget and ScrollView there is little difference
   2677         between the implementation of Qt, Gtk+ and Win. In fact any kind of
   2678         difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
   2679         port and the Qt port has at least one of them left.
   2680 
   2681         The only difference between the implementations is in getting the the
   2682         IntSize for the new FrameView, the background color to be applied and
   2683         eventually some post processing.
   2684 
   2685         Unify the implementations by providing a static helper function that
   2686         takes a Frame, IntSize, color and transparency bit and calling it from
   2687         the Gtk+, the Qt and the Windows port.
   2688 
   2689         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2690         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   2691 
   2692 2008-11-18  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   2693 
   2694         Reviewed by Simon Hausmann.
   2695 
   2696         https://bugs.webkit.org/show_bug.cgi?id=22056
   2697 
   2698         Move setting the background color and transparency from WebKit/win
   2699         to WebCore. This allows WebKit/win, WebKit/Qt and WebKit/Gtk+
   2700         to share this code.
   2701 
   2702         * WebFrame.cpp:
   2703         (WebFrame::updateBackground):
   2704 
   2705 2008-11-16  Geoffrey Garen  <ggaren (a] apple.com>
   2706 
   2707         Not reviewed.
   2708         
   2709         Try to fix Windows build.
   2710 
   2711         * WebCoreSupport/WebFrameLoaderClient.cpp:
   2712 
   2713 2008-11-16  Darin Adler  <darin (a] apple.com>
   2714 
   2715         Reviewed by Dan Bernstein.
   2716 
   2717         - https://bugs.webkit.org/show_bug.cgi?id=22295
   2718           track which history items are from page load failures
   2719 
   2720         * Interfaces/IWebHistoryItemPrivate.idl: Added lastVisitWasFailure function.
   2721 
   2722         * WebHistoryItem.cpp:
   2723         (WebHistoryItem::initFromDictionaryRepresentation): Set the lastVisitWasFailure
   2724         flag in the history item if the dictionary had an entry for lastVisitWasFailureKey.
   2725         (WebHistoryItem::dictionaryRepresentation): Set the lastVisitWasFailureKey key
   2726         in the dictionary if the history item had the lastVisitWasFailure flag.
   2727         (WebHistoryItem::lastVisitWasFailure): Added.
   2728 
   2729         * WebHistoryItem.h: Added lastVisitWasFailure function.
   2730 
   2731 2008-11-15  Geoffrey Garen  <ggaren (a] apple.com>
   2732 
   2733         Reviewed by Sam Weinig.
   2734         
   2735         Updated for JavaScriptCore renames.
   2736 
   2737         * WebScriptCallFrame.cpp:
   2738         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   2739 
   2740 2008-11-14  Dan Bernstein  <mitz (a] apple.com>
   2741 
   2742         - try to fix the Windows build
   2743 
   2744         * WebCoreLocalizedStrings.cpp:
   2745         (WebCore::contextMenuItemTagTextDirectionMenu): Added.
   2746 
   2747 2008-11-13  Adam Roben  <aroben (a] apple.com>
   2748 
   2749         Fix Bug 22244: Webkit nightly builds crash with Safari 3.2
   2750 
   2751         <https://bugs.webkit.org/show_bug.cgi?id=22244>
   2752 
   2753         r36652 added IWebViewPrivate::clearMainFrameName into the middle of
   2754         the IWebViewPrivate interface, which modifies the part of the
   2755         IWebViewPrivate vtable that Safari 3.2 relies on.
   2756 
   2757         Reviewed by Dan Bernstein.
   2758 
   2759         * Interfaces/IWebViewPrivate.idl: Move clearMainFrameName to the end
   2760         of the interface.
   2761 
   2762 2008-11-11  Dan Bernstein  <mitz (a] apple.com>
   2763 
   2764         Reviewed by Adam Roben.
   2765 
   2766         WebKit/win part of adding a master volume control for media elements in a WebView
   2767         * Interfaces/IWebViewPrivate.idl: Added setMediaVolume() and
   2768         mediaVolume().
   2769         * WebView.cpp:
   2770         (WebView::setMediaVolume): Added.
   2771         (WebView::mediaVolume): Added.
   2772         * WebView.h:
   2773 
   2774 2008-11-10  Adam Roben  <aroben (a] apple.com>
   2775 
   2776         Fix Bug 22158: Would like to turn on WebCore logging channels via an
   2777         environment variable
   2778 
   2779         <https://bugs.webkit.org/show_bug.cgi?id=22158>
   2780 
   2781         Reviewed by Anders Carlsson.
   2782 
   2783         * WebView.cpp:
   2784         (WebView::initWithFrame): Call WebCore's
   2785         InitializeLoggingChannelsIfNecessary.
   2786 
   2787 2008-11-08  Dan Bernstein  <mitz (a] apple.com>
   2788 
   2789         Reviewed by Darin Adler.
   2790 
   2791         - WebKit/win part of adding WebPreferences for controlling databases and local storage
   2792 
   2793         * Interfaces/IWebPreferencesPrivate.idl: Declared setDatabasesEnabled,
   2794         databasesEnabled, setLocalStorageEnabled and localStorageEnabled.
   2795         * WebPreferenceKeysPrivate.h: Added WebKitDatabasesEnabledPreferenceKey
   2796         and WebKitLocalStorageEnabledPreferenceKey.
   2797         * WebPreferences.cpp:
   2798         (WebPreferences::initializeDefaultSettings): Made databases and local
   2799         storage enabled by default.
   2800         (WebPreferences::setDatabasesEnabled): Added.
   2801         (WebPreferences::databasesEnabled): Added.
   2802         (WebPreferences::setLocalStorageEnabled): Added.
   2803         (WebPreferences::localStorageEnabled): Added.
   2804         * WebPreferences.h:
   2805         * WebView.cpp:
   2806         (WebView::notifyPreferencesChanged): Transfer the databases and local
   2807         storage preferences to WebCore settings.
   2808 
   2809 2008-11-06  John Sullivan  <sullivan (a] apple.com>
   2810     
   2811         Eliminated one of the two booleans tracking whether zoom was text-only, to avoid future problems.
   2812     
   2813         Reviewed by Adam Roben
   2814 
   2815         * WebView.h:
   2816         removed m_zoomMultiplierIsTextOnly
   2817         
   2818         * WebView.cpp:
   2819         (WebView::WebView):
   2820         removed initialization of m_zoomMultiplierIsTextOnly
   2821         (WebView::setZoomMultiplier):
   2822         use m_page->settings()->setZoomsTextOnly() instead of setting m_zoomMultiplierIsTextOnly
   2823         (WebView::zoomMultiplier):
   2824         use m_page->settings()->zoomsTextOnly() instead of reading m_zoomMultiplierIsTextOnly
   2825 
   2826 2008-11-06  Adele Peterson  <adele (a] apple.com>
   2827 
   2828         Reviewed by Adam Roben.
   2829 
   2830         Add support for a WebKitZoomsTextOnly preference.
   2831 
   2832         * Interfaces/IWebPreferences.idl:
   2833         * WebPreferenceKeysPrivate.h:
   2834         * WebPreferences.cpp:
   2835         (WebPreferences::setZoomsTextOnly):
   2836         (WebPreferences::zoomsTextOnly):
   2837         * WebPreferences.h:
   2838 
   2839         * WebView.cpp:
   2840         (WebView::canMakeTextLarger): Consider the zoomsTextOnly setting when computing this.
   2841         (WebView::makeTextLarger): ditto.
   2842         (WebView::canMakeTextSmaller): ditto.
   2843         (WebView::makeTextSmaller): ditto.
   2844         (WebView::canMakeTextStandardSize): 
   2845         Don't consider the setting in this case since we need to reset both text zoom and page zoom regardless of the setting.
   2846         (WebView::makeTextStandardSize):
   2847         (WebView::notifyPreferencesChanged): Set the WebCore settings to match the WebPreference for WebKitZoomsTextOnly.
   2848 
   2849 2008-11-05  Dan Bernstein  <mitz (a] apple.com>
   2850 
   2851         Reviewed by John Sullivan.
   2852 
   2853         - make the {protocol,proxyType} argument of
   2854           WebURLProtectionSpace::initWith{Proxy}Host actually work and fix
   2855           assertion failures.
   2856 
   2857         * WebURLProtectionSpace.cpp:
   2858         (WebURLProtectionSpace::initWithHost): The BString comparisons were
   2859         applying the BString==BSTR operator to a right hand side that was
   2860         actually a WCHAR string. Fixed by using BStrings on both sides.
   2861         (WebURLProtectionSpace::initWithProxyHost): Ditto.
   2862 
   2863 2008-11-01  Alexey Proskuryakov  <ap (a] webkit.org>
   2864 
   2865         Reviewed by Darin Adler.
   2866 
   2867         https://bugs.webkit.org/show_bug.cgi?id=22030
   2868         Make EventNames usable from multiple threads
   2869 
   2870         * WebView.cpp: (WebView::interpretKeyEvent): Access event names via eventNames() function.
   2871 
   2872 2008-11-03  Cameron Zwarich  <zwarich (a] apple.com>
   2873 
   2874         Rubber-stamped by Maciej Stachowiak.
   2875 
   2876         Move more files into the runtime subdirectory of JavaScriptCore.
   2877 
   2878         * WebJavaScriptCollector.cpp:
   2879 
   2880 2008-11-03  Dan Bernstein  <mitz (a] apple.com>
   2881 
   2882         Reviewed by Steve Falkenburg.
   2883 
   2884         - implement WebMutableURLRequest::setHTTPShouldHandleCookies()
   2885         - add and implement WebMutableURLRequest::mutableCopy()
   2886 
   2887         * Interfaces/IWebURLRequest.idl:
   2888         * WebMutableURLRequest.cpp:
   2889         (WebMutableURLRequest::setHTTPShouldHandleCookies):
   2890         (WebMutableURLRequest::mutableCopy):
   2891         * WebMutableURLRequest.h:
   2892 
   2893 2008-10-31  Dan Bernstein  <mitz (a] apple.com>
   2894 
   2895         Reviewed by John Sullivan.
   2896 
   2897         - WebKit/win part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie
   2898 
   2899         * Interfaces/IWebViewPrivate.idl:
   2900         * WebView.cpp:
   2901         (WebView::setCookieEnabled):
   2902         (WebView::cookieEnabled):
   2903         * WebView.h:
   2904 
   2905 2008-10-31  Adele Peterson  <adele (a] apple.com>
   2906 
   2907         Reviewed by Darin Adler.
   2908 
   2909         WebKit Windows part of fix for <rdar://problem/5839256> FILE CONTROL: multi-file upload.
   2910         https://bugs.webkit.org/show_bug.cgi?id=22008
   2911         
   2912         * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runOpenPanel): 
   2913         Add support for mulitple file selection.
   2914 
   2915 2008-10-31  Darin Adler  <darin (a] apple.com>
   2916 
   2917         - try to fix build
   2918 
   2919         * WebView.cpp:
   2920         (WebView::setCacheModel): Roll out the part of my last change
   2921         that involved no longer using wkCopyFoundationCacheDirectory.
   2922 
   2923 2008-10-30  Darin Adler  <darin (a] apple.com>
   2924 
   2925         Reviewed by Sam Weinig.
   2926 
   2927         - https://bugs.webkit.org/show_bug.cgi?id=21986
   2928           <rdar://problem/6294285> adopt CFURLCopySharedURLCache
   2929 
   2930         * WebView.cpp:
   2931         (WebView::setCacheModel): Use CFURLCopySharedURLCache if present.
   2932 
   2933 2008-10-30  Dan Bernstein  <mitz (a] apple.com>
   2934 
   2935         Reviewed by Sam Weinig.
   2936 
   2937         - export WTFReportAssertionFailureWithMessage()
   2938 
   2939         * WebKit.vcproj/WebKit_debug.def:
   2940 
   2941 2008-10-29  Steve Falkenburg  <sfalken (a] apple.com>
   2942 
   2943         <rdar://problem/6326563> Crash on launch
   2944         
   2945         For Windows, export explicit functions rather than exporting data for atomicallyInitializedStaticMutex.
   2946         
   2947         Exporting data from a DLL on Windows requires specifying __declspec(dllimport) in the header used by
   2948         callers, but __declspec(dllexport) when defined in the DLL implementation. By instead exporting
   2949         the explicit lock/unlock functions, we can avoid this.
   2950         
   2951         Fixes a crash on launch, since we were previously erroneously exporting atomicallyInitializedStaticMutex as a function.
   2952         
   2953         Reviewed by Darin Adler.
   2954 
   2955         * WebKit.vcproj/WebKit.def:
   2956         * WebKit.vcproj/WebKit_debug.def:
   2957 
   2958 2008-10-29  Jon Honeycutt  <jhoneycutt (a] apple.com>
   2959 
   2960         Export atomicallyInitializedStaticMutex.
   2961 
   2962         Rubber-stamped by Steve Falkenburg.
   2963 
   2964         * WebKit.vcproj/WebKit.def:
   2965         * WebKit.vcproj/WebKit_debug.def:
   2966 
   2967 2008-10-28  Cameron Zwarich  <zwarich (a] apple.com>
   2968 
   2969         Reviewed by Mark Rowe.
   2970 
   2971         Move ForwardingHeaders to their correct location after the creation of
   2972         the runtime directory in JavaScriptCore.
   2973 
   2974         * WebScriptCallFrame.h:
   2975 
   2976 2008-10-28  Adele Peterson  <adele (a] apple.com>
   2977 
   2978         Reviewed by John Sullivan.
   2979 
   2980         Fix for https://bugs.webkit.org/show_bug.cgi?id=21880
   2981         "files" string for multifile uploads needs to be localized
   2982 
   2983         * WebCoreLocalizedStrings.cpp: (multipleFileUploadText):
   2984 
   2985 2008-10-28  Adele Peterson  <adele (a] apple.com>
   2986 
   2987         Reviewed by Sam Weinig. 
   2988 
   2989         * English.lproj: Removed.
   2990         * English.lproj/Localizable.strings: Removed.
   2991         * WebKit.vcproj/WebKit.vcproj: Updated to use Localizable.strings in the top directory, to share with the Mac.
   2992 
   2993 2008-10-28  Timothy Hatcher  <timothy (a] apple.com>
   2994 
   2995         Add IWebInspector methods to enable the profiler.
   2996 
   2997         https://bugs.webkit.org/show_bug.cgi?id=21927
   2998 
   2999         <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
   3000         not slow down JavaScript all the time
   3001 
   3002         Reviewed by Darin Adler and Kevin McCullough.
   3003 
   3004         * WebInspector.cpp:
   3005         (WebInspector::isJavaScriptProfilingEnabled): Added. Calls InspectorController::profilerEnabled.
   3006         (WebInspector::setJavaScriptProfilingEnabled): Added. Call InspectorController's disableProfiler
   3007         or enableProfiler methods.
   3008         * WebInspector.h:
   3009 
   3010 2008-10-27  Timothy Hatcher  <timothy (a] apple.com>
   3011 
   3012         Rename a few methods related to attaching and detaching the debugger.
   3013 
   3014         * Rename attachDebugger to enableDebugger.
   3015         * Rename detachDebugger to disableDebugger.
   3016         * Rename the debuggerAttached getter to debuggerEnabled.
   3017 
   3018         Reviewed by Darin Adler.
   3019 
   3020         * WebInspector.cpp:
   3021         (WebInspector::isDebuggingJavaScript):
   3022         (WebInspector::toggleDebuggingJavaScript):
   3023 
   3024 2008-10-24  Sam Weinig  <sam (a] webkit.org>
   3025 
   3026         Yet another windows build fix.
   3027 
   3028         * WebCoreSupport/WebChromeClient.cpp:
   3029 
   3030 2008-10-24  Sam Weinig  <sam (a] webkit.org>
   3031 
   3032         Another windows build fix.
   3033 
   3034         * WebCoreSupport/WebChromeClient.cpp:
   3035 
   3036 2008-10-24  Sam Weinig  <sam (a] webkit.org>
   3037 
   3038         Reviewed by Dan Bernstein.
   3039 
   3040         Fix https://bugs.webkit.org/show_bug.cgi?id=21759
   3041         Layering violation: FileChooser should not depend on Document/Frame/Page
   3042 
   3043         * WebCoreSupport/WebChromeClient.cpp:
   3044         (WebChromeClient::runOpenPanel):
   3045         * WebCoreSupport/WebChromeClient.h:
   3046 
   3047 2008-10-24  Timothy Hatcher  <timothy (a] apple.com>
   3048 
   3049         Implement new InspectorClient methods to work with Settings.
   3050 
   3051         https://bugs.webkit.org/show_bug.cgi?id=21856
   3052 
   3053         Reviewed by Adam Roben.
   3054 
   3055         * WebKit.vcproj/WebKit.vcproj: Add the new InspectorClientCF.cpp file.
   3056         * WebCoreSupport/WebInspectorClient.h: Add the new methods.
   3057 
   3058 2008-10-24  Darin Adler  <darin (a] apple.com>
   3059 
   3060         - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
   3061 
   3062         * WebScriptCallFrame.cpp:
   3063         (WebScriptCallFrame::jsValueToString):
   3064         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   3065         (WebScriptCallFrame::valueForVariable):
   3066         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   3067         * WebScriptCallFrame.h:
   3068         * WebView.cpp:
   3069         (WebView::stringByEvaluatingJavaScriptFromString):
   3070         Use JSValue* instead of JSValuePtr.
   3071 
   3072 2008-10-22  Brent Fulgham  <bfulgham (a] gmail.com>
   3073 
   3074         Correct build regressions in Cairo port for Windows.
   3075         http://bugs.webkit.org/show_bug.cgi?id=21724
   3076 
   3077         Reviewed by Adam Roben.
   3078 
   3079         * WebView.cpp:
   3080         (WebView::notifyPreferencesChanged): Don't try to call
   3081         setShouldPaintNativeControls when SafariTheme support is disabled, as
   3082         that function doesn't exist in that case.
   3083 
   3084 2008-10-22  Brady Eidson  <beidson (a] apple.com>
   3085 
   3086         Reviewed by Adam Roben
   3087         
   3088         Move elementDoesAutoComplete() to IWebFramePrivate so it is exposed for DRT to use
   3089 
   3090         * Interfaces/IWebFramePrivate.idl:
   3091         
   3092         * WebFrame.cpp:
   3093         (WebFrame::elementDoesAutoComplete):
   3094         * WebFrame.h:
   3095         
   3096         * WebHTMLRepresentation.cpp:
   3097         (WebHTMLRepresentation::elementDoesAutoComplete):
   3098 
   3099 2008-10-20  Sam Weinig  <sam (a] webkit.org>
   3100 
   3101         Reviewed by Anders Carlsson.
   3102 
   3103         Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
   3104 
   3105         * WebFrame.cpp:
   3106         * WebFrame.h:
   3107 
   3108 2008-10-19  Darin Adler  <darin (a] apple.com>
   3109 
   3110         Reviewed by Oliver Hunt.
   3111 
   3112         - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
   3113           improve performance by eliminating JSValue as a base class for JSCell
   3114 
   3115         Remove most uses of JSValue, which will be removed in a future patch.
   3116 
   3117         * WebScriptCallFrame.cpp:
   3118         (WebScriptCallFrame::jsValueToString): Use JSValuePtr.
   3119         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString): Ditto.
   3120         (WebScriptCallFrame::valueForVariable): Put more code inside and ifdef.
   3121         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Ditto.
   3122         * WebScriptCallFrame.h: Use JSValuePtr.
   3123 
   3124         * WebView.cpp:
   3125         (WebView::stringByEvaluatingJavaScriptFromString): Use JSValuePtr.
   3126 
   3127 2008-10-18  Dan Bernstein  <mitz (a] apple.com>
   3128 
   3129         - build fix
   3130 
   3131         * WebScriptCallFrame.cpp:
   3132         (WebScriptCallFrame::jsValueToString):
   3133 
   3134 2008-10-18  Dan Bernstein  <mitz (a] apple.com>
   3135 
   3136         Reviewed by Sam Weinig.
   3137 
   3138         - WebKit/win part of https://bugs.webkit.org/show_bug.cgi?id=21736
   3139           Long-dead decoded image data make up for most of the object cache's memory use over time
   3140 
   3141         * WebView.cpp:
   3142         (WebView::setCacheModel): In the primary web browser model,
   3143         set the cache's dead decoded data deletion interval to 60 seconds.
   3144 
   3145 2008-10-16  Kevin McCullough  <kmccullough (a] apple.com>
   3146 
   3147         Reviewed by Steve Falkenburg.
   3148 
   3149         <rdar://problem/6292718>
   3150         Implement a standard way to get the UA given an application name.
   3151 
   3152         * Interfaces/IWebViewPrivate.idl:
   3153         * WebView.cpp:
   3154         (WebView::standardUserAgentWithApplicationName):
   3155         * WebView.h:
   3156 
   3157 2008-10-17  Dan Bernstein  <mitz (a] apple.com>
   3158 
   3159         Reviewed by Sam Weinig.
   3160 
   3161         - export WTF::initializeOnMainThread()
   3162 
   3163         * WebKit.vcproj/WebKit.def:
   3164         * WebKit.vcproj/WebKit_debug.def:
   3165 
   3166 2008-10-15  Geoffrey Garen  <ggaren (a] apple.com>
   3167 
   3168         Reviewed by Cameron Zwarich.
   3169 
   3170         Fixed https://bugs.webkit.org/show_bug.cgi?id=21345
   3171         Start the debugger without reloading the inspected page
   3172 
   3173         * WebInspector.cpp:
   3174         (WebInspector::toggleDebuggingJavaScript): Updated for rename.
   3175 
   3176 2008-10-15  Adam Roben  <aroben (a] apple.com>
   3177 
   3178         Export WTF::Mutex::tryLock
   3179 
   3180         * WebKit.vcproj/WebKit.def:
   3181         * WebKit.vcproj/WebKit_debug.def:
   3182 
   3183 2008-10-14  Jon Honeycutt  <jhoneycutt (a] apple.com>
   3184 
   3185         Export currentThread.
   3186 
   3187         Rubber-stamped by Dan Bernstein.
   3188 
   3189         * WebKit.vcproj/WebKit.def:
   3190         * WebKit.vcproj/WebKit_debug.def:
   3191 
   3192 2008-10-13  Steve Falkenburg  <sfalken (a] apple.com>
   3193 
   3194         Reorder methods to preserve compatibility.
   3195         
   3196         Rubber stamped by Oliver Hunt.
   3197 
   3198         * Interfaces/IWebViewPrivate.idl:
   3199 
   3200 2008-10-11  Dan Bernstein  <mitz (a] apple.com>
   3201 
   3202         Reviewed by Sam Weinig.
   3203 
   3204         - add SPI for forcing the complex text code path to be used for all text
   3205 
   3206         * Interfaces/IWebViewPrivate.idl:
   3207         * WebView.cpp:
   3208         (WebView::setAlwaysUsesComplexTextCodePath):
   3209         (WebView::alwaysUsesComplexTextCodePath):
   3210         * WebView.h:
   3211 
   3212 2008-10-10  Ada Chan  <adachan (a] apple.com>
   3213 
   3214         Bug 21526: The hashmap webPreferencesInstances in WebPreferences.cpp can 
   3215         potentially hold onto stale instances of WebPreferences
   3216         https://bugs.webkit.org/show_bug.cgi?id=21526
   3217         
   3218         webPreferencesInstances now keeps a reference to all the instances it holds.
   3219         Fix up callers of WebPreferences::removeReferenceForIdentifier() to call 
   3220         it after they have released their references to the WebPreferences objects.
   3221 
   3222         Reviewed by Adam Roben.
   3223 
   3224         * WebPreferences.cpp:
   3225         (WebPreferences::getInstanceForIdentifier):
   3226         (WebPreferences::removeReferenceForIdentifier):
   3227         * WebView.cpp:
   3228         (WebView::close):
   3229         (WebView::setPreferences):
   3230 
   3231 2008-10-06  David Hyatt  <hyatt (a] apple.com>
   3232 
   3233         Enable viewless Mac WebKit to paint some basic pages.
   3234         
   3235         Reviewed by Sam Weinig
   3236 
   3237         * WebCoreSupport/WebFrameLoaderClient.cpp:
   3238         (WebFrameLoaderClient::createFrame):
   3239         * WebCoreSupport/WebFrameLoaderClient.h:
   3240 
   3241 2008-10-03  David Hyatt  <hyatt (a] apple.com>
   3242 
   3243         https://bugs.webkit.org/show_bug.cgi?id=21340
   3244         
   3245         Remove "containingWindow()/setContainingWindow()" from Widget.  HostWindow covers this now.
   3246         
   3247         Reviewed by Dan Bernstein & Darin Adler
   3248 
   3249         * WebCoreSupport/WebFrameLoaderClient.cpp:
   3250         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   3251         * WebScrollBar.cpp:
   3252         (WebScrollBar::WebScrollBar):
   3253         (WebScrollBar::init):
   3254         (WebScrollBar::invalidateScrollbarRect):
   3255         * WebScrollBar.h:
   3256 
   3257 2008-10-03  David Hyatt  <hyatt (a] apple.com>
   3258 
   3259          Remove addToDirtyRegion.
   3260         
   3261          Reviewed by Oliver Hunt
   3262 
   3263         * WebCoreSupport/WebChromeClient.cpp:
   3264 
   3265 2008-10-02  David Hyatt  <hyatt (a] apple.com>
   3266 
   3267         https://bugs.webkit.org/show_bug.cgi?id=21328
   3268         
   3269         Make widget invalidation more cross-platform.
   3270         
   3271         (1) Make invalidateRect a pure virtual function on Widget.  All leaf widgets must now implement this function.
   3272         
   3273         (2) Scrollbars now send invalidations through the ScrollbarClient.  windowClipRect on ScrollbarClient has been removed and replaced with this invalidation call.
   3274         This allows all scrollbar invalidations to go through the render tree so that transforms and reflections will be respected.
   3275         
   3276         (3) Plugins now have the native window invalidation code for windowed plugins.  Windowless plugins do a repaintRectangle on the plugin's renderer.
   3277         
   3278         (4) FrameViews now do a repaintRectangle on their owner element's renderer.
   3279 
   3280         Reviewed by Sam Weinig
   3281 
   3282         * WebCoreSupport/EmbeddedWidget.cpp:
   3283         (EmbeddedWidget::invalidateRect):
   3284         * WebCoreSupport/EmbeddedWidget.h:
   3285         * WebScrollBar.cpp:
   3286         (WebScrollBar::invalidateScrollbarRect):
   3287         * WebScrollBar.h:
   3288 
   3289 2008-10-02  Darin Adler  <darin (a] apple.com>
   3290 
   3291         - https://bugs.webkit.org/show_bug.cgi?id=21321
   3292           Bug 21321: speed up JavaScriptCore by inlining Heap in JSGlobalData
   3293 
   3294         * WebCoreStatistics.cpp:
   3295         (WebCoreStatistics::javaScriptObjectsCount): Use heap. instead of heap-> to
   3296         work with the heap.
   3297         (WebCoreStatistics::javaScriptGlobalObjectsCount): Ditto.
   3298         (WebCoreStatistics::javaScriptProtectedObjectsCount): Ditto.
   3299         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): Ditto.
   3300         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Ditto.
   3301         * WebJavaScriptCollector.cpp:
   3302         (WebJavaScriptCollector::objectCount): Ditto.
   3303 
   3304 2008-10-02  Dave Hyatt  <hyatt (a] apple.com>
   3305 
   3306         https://bugs.webkit.org/show_bug.cgi?id=21316
   3307 
   3308         Reviewed by Adele
   3309        
   3310         * WebCoreSupport/WebFrameLoaderClient.cpp:
   3311         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   3312 
   3313 2008-10-02  David Hyatt  <hyatt (a] apple.com>
   3314 
   3315         https://bugs.webkit.org/show_bug.cgi?id=21314
   3316         
   3317         Make scrollBackingStore cross-platform.
   3318 
   3319         Reviewed by Sam Weinig
   3320 
   3321         * WebCoreSupport/WebChromeClient.cpp:
   3322         (WebChromeClient::repaint):
   3323         (WebChromeClient::scroll):
   3324         * WebCoreSupport/WebChromeClient.h:
   3325         * WebView.cpp:
   3326         (WebView::repaint):
   3327         * WebView.h:
   3328 
   3329 2008-10-01  David Hyatt  <hyatt (a] apple.com>
   3330 
   3331         https://bugs.webkit.org/show_bug.cgi?id=21298
   3332         
   3333         Make updateScrollbars cross-platform.  For now a stubbed out scrollContents function is invoked to do the scrolling of the backing store.  Next patch
   3334         will make that cross-platform.  
   3335         
   3336         The ScrollView now implements ScrollbarClient, which means that there was a clash of windowClipRect methods from the
   3337         multiple inheritance.  For now I solved this by adding a Scrollbar* to the ScrollbarClient version of the method, but longer term
   3338         windowClipRect is going to be removed from ScrollbarClient (when Widget invalidation gets rewritten).
   3339 
   3340         Reviewed by Sam Weinig
   3341 
   3342         * WebScrollBar.cpp:
   3343         (WebScrollBar::windowClipRect):
   3344         * WebScrollBar.h:
   3345 
   3346 2008-10-01  David Hyatt  <hyatt (a] apple.com>
   3347         
   3348         https://bugs.webkit.org/show_bug.cgi?id=21282
   3349         
   3350         Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
   3351         
   3352         Reviewed by Adam Roben
   3353 
   3354         * WebCoreSupport/WebChromeClient.cpp:
   3355         (WebChromeClient::windowToScreen):
   3356         (WebChromeClient::screenToWindow):
   3357         * WebCoreSupport/WebChromeClient.h:
   3358 
   3359 2008-09-30   Dave Hyatt  <hyatt (a] apple.com>
   3360 
   3361         https://bugs.webkit.org/show_bug.cgi?id=21269
   3362   
   3363         This patch makes the ScrollView::paint method cross-platform.  The paint method calls the base class
   3364         Widget paint on platforms with native widgets (Mac and wx).  Otherwise it calls a virtual function,
   3365         paintContents, to paint the ScrollView's contents, and then it paints each of the two scrollbars and
   3366         the scrollbar corner.
   3367         
   3368         The scrollbar themes are now responsible for painting scrollbar corners.  At the moment ScrollbarThemeWin still
   3369         paints white (which is incorrect), so a future patch will actually implement proper native scroll corner painting
   3370         for Windows.
   3371         
   3372         paintContents is implemented by FrameView, and replaces Frame::paint.  All of the FramePrivate member
   3373         variables used by Frame::paint have moved to FrameViewPrivate instead.  All callers of Frame::paint have
   3374         been patched to use FrameView::paintContents instead.
   3375         
   3376         Reviewed by Darin Adler
   3377 
   3378         * WebFrame.cpp:
   3379         (WebFrame::paintDocumentRectToContext):
   3380         (WebFrame::spoolPages):
   3381 
   3382 2008-09-30  Dave Hyatt  <hyatt (a] apple.com>
   3383 
   3384         http://bugs.webkit.org/show_bug.cgi?id=21250
   3385         
   3386         Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
   3387         repaints up through the ChromeClient.
   3388 
   3389         Reviewed by Darin Adler
   3390 
   3391         * WebCoreSupport/WebChromeClient.cpp:
   3392         (WebChromeClient::repaint):
   3393         * WebCoreSupport/WebChromeClient.h:
   3394         * WebView.cpp:
   3395         (WebView::repaint):
   3396         * WebView.h:
   3397 
   3398 2008-09-29  Dan Bernstein  <mitz (a] apple.com>
   3399 
   3400         Reviewed by Adam Roben.
   3401 
   3402         - WebKit/win part of fixing <rdar://problem/6247906> REGRESSION (r19500): Crash on quit beneath CloseThemeData
   3403 
   3404         * WebKitDLL.cpp:
   3405         (DllMain): Call RenderThemeWin::setWebKitIsBeingUnloaded() when WebKit
   3406         is being unloaded.
   3407 
   3408 2008-09-27  David Hyatt  <hyatt (a] apple.com>
   3409 
   3410         Land the frameGeometry->frameRect changes that I forgot to land in WebKit.
   3411 
   3412         * Interfaces/IWebScrollBarPrivate.idl:
   3413         * WebCoreSupport/EmbeddedWidget.cpp:
   3414         (EmbeddedWidget::setFrameRect):
   3415         (EmbeddedWidget::frameRectsChanged):
   3416         * WebCoreSupport/EmbeddedWidget.h:
   3417         * WebScrollBar.cpp:
   3418         (WebScrollBar::setRect):
   3419         (WebScrollBar::frameRect):
   3420         * WebScrollBar.h:
   3421 
   3422 2008-09-27  Anders Carlsson  <andersca (a] apple.com>
   3423 
   3424         Fix build.
   3425 
   3426         * WebCoreSupport/EmbeddedWidget.cpp:
   3427         (EmbeddedWidget::setFrameRect):
   3428         (EmbeddedWidget::frameRectsChanged):
   3429         * WebCoreSupport/EmbeddedWidget.h:
   3430         * WebScrollBar.cpp:
   3431         (WebScrollBar::setRect):
   3432         (WebScrollBar::frameGeometry):
   3433 
   3434 2008-09-26  David Kilzer  <ddkilzer (a] apple.com>
   3435 
   3436         Speculative Windows build fix with XSLT disabled
   3437 
   3438         Reviewed by Alexey.
   3439 
   3440         * WebCache.cpp:
   3441         (WebCache::statistics): Populate xslStyleSheet statistics with
   3442         zeros if XSLT is disabled.
   3443 
   3444 2008-09-24  Matt Lilek  <webkit (a] mattlilek.com>
   3445 
   3446         Reviewed by Darin Adler.
   3447 
   3448         Bug 20999: Inspector hover to select does not work properly on Windows
   3449         https://bugs.webkit.org/show_bug.cgi?id=20999
   3450         <rdar://problem/6236524>
   3451 
   3452         * WebNodeHighlight.cpp:
   3453         (WebNodeHighlight::show):
   3454 
   3455 2008-09-24  Darin Adler  <darin (a] apple.com>
   3456 
   3457         * English.lproj/Localizable.strings: Updated for recent changes.
   3458 
   3459 2008-09-22  Alice Liu  <alice.liu (a] apple.com>
   3460 
   3461         Added record-memory-win.vcproj tool to the solution
   3462 
   3463         Reviewed by Steve Falkenburg.
   3464 
   3465         * WebKit.vcproj/WebKit.sln:
   3466 
   3467 2008-09-20  Darin Adler  <darin (a] apple.com>
   3468 
   3469         - fix build
   3470 
   3471         * WebCoreSupport/WebChromeClient.cpp:
   3472         (WebChromeClient::paintCustomScrollbar): Tweaked constant names to make this
   3473         compile, but it may not be working correctly. Hyatt should do the real fix.
   3474 
   3475 2008-09-19  Alice Liu  <alice.liu (a] apple.com>
   3476 
   3477         Fix crash when submitting form at bugreport.apple.com rdar://6234126
   3478 
   3479         Reviewed by Mark Rowe.
   3480 
   3481         * COMPropertyBag.h:
   3482         (::GetPropertyInfo):
   3483         correct mis-use of comma operator
   3484 
   3485 2008-09-18  Mark Rowe  <mrowe (a] apple.com>
   3486 
   3487         Reviewed by Dan Bernstein.
   3488 
   3489         Add SPI to WebView to allow DRT to clear the main frame's name between tests.
   3490 
   3491         * Interfaces/IWebViewPrivate.idl:
   3492         * WebView.cpp:
   3493         (WebView::clearMainFrameName):
   3494         * WebView.h:
   3495 
   3496 2008-09-16  Alp Toker  <alp (a] nuanti.com>
   3497 
   3498         Suggested by Dave Hyatt.
   3499 
   3500         Build fix and cleanup. Rename ScrollBar to Scrollbar.
   3501 
   3502         * WebScrollBar.cpp:
   3503         * WebScrollBar.h:
   3504 
   3505 2008-09-16  David Hyatt  <hyatt (a] apple.com>
   3506 
   3507         Eliminate PlatformScrollbar.
   3508 
   3509         Reviewed by Sam Weinig
   3510 
   3511         * WebScrollBar.cpp:
   3512         (WebScrollBar::init):
   3513         * WebScrollBar.h:
   3514 
   3515 2008-09-15  Chris Fleizach  <cfleizach (a] apple.com>
   3516 
   3517         Reviewed by Darin Adler, Beth Dakin
   3518 
   3519         Support strings for AXLists
   3520 
   3521         * WebCoreLocalizedStrings.cpp:
   3522         (WebCore::AXDefinitionListTermText):
   3523         (WebCore::AXDefinitionListDefinitionText):
   3524 
   3525 2008-09-13  Dave Hyatt  <hyatt (a] apple.com>
   3526 
   3527         Add ScrollbarTheme to the build.
   3528         
   3529         Reviewed by Sam Weinig
   3530 
   3531         * WebScrollBar.cpp:
   3532         (WebScrollBar::requestedWidth):
   3533         (WebScrollBar::requestedHeight):
   3534 
   3535 2008-09-13  Dave Hyatt  <hyatt (a] apple.com>
   3536 
   3537         More scrollbar refactoring.
   3538         
   3539         Reviewed by Sam Weinig
   3540 
   3541         * WebScrollBar.h:
   3542 
   3543 2008-09-08  Adam Roben  <aroben (a] apple.com>
   3544 
   3545         Respect the font smoothing preference when drawing via WebKitGraphics
   3546 
   3547         Reviewed by Dave Hyatt.
   3548 
   3549         * WebKitGraphics.cpp:
   3550         (makeFont): Check the font smoothing preference and update the
   3551         FontDescription's rendering mode based on it.
   3552 
   3553 2008-09-08  Steve Falkenburg  <sfalken (a] apple.com>
   3554 
   3555         Another Windows nightly build fix.
   3556         
   3557         Remove non-production versions of CLSIDs since we'll use registry free COM with
   3558         an embedded manifest now in all cases to find COM classes.
   3559         
   3560         Reviewed by Sam Weinig.
   3561 
   3562         * ForEachCoClass.cpp:
   3563         (setUseOpenSourceWebKit): Remove COM registration code.
   3564         * Interfaces/WebKit.idl: Remove non-production COM classes
   3565 
   3566 2008-09-07  Cameron Zwarich  <cwzwarich (a] uwaterloo.ca>
   3567 
   3568         Reviewed by Maciej Stachowiak.
   3569 
   3570         Bug 20704: Replace the KJS namespace
   3571         <https://bugs.webkit.org/show_bug.cgi?id=20704>
   3572 
   3573         Rename the KJS namespace to JSC.
   3574 
   3575         * WebCoreStatistics.cpp:
   3576         * WebJavaScriptCollector.cpp:
   3577         * WebScriptCallFrame.cpp:
   3578         (WebScriptCallFrame::jsValueToString):
   3579         * WebScriptCallFrame.h:
   3580         (WebScriptCallFrame::state):
   3581         * WebView.cpp:
   3582         (WebView::WebView):
   3583         (WebView::stringByEvaluatingJavaScriptFromString):
   3584 
   3585 2008-09-05  Dave Hyatt  <hyatt (a] apple.com>
   3586 
   3587         Add support for runtime switchability of the Aqua look and the native look on Windows.
   3588         Make RenderThemeWin compile by default even when USE(SAFARI_THEME) is set.
   3589 
   3590         Reviewed by Adam Roben
   3591 
   3592         * Interfaces/IWebPreferencesPrivate.idl:
   3593         * WebPreferenceKeysPrivate.h:
   3594         * WebPreferences.cpp:
   3595         (WebPreferences::initializeDefaultSettings):
   3596         (WebPreferences::shouldPaintNativeControls):
   3597         (WebPreferences::setShouldPaintNativeControls):
   3598         * WebPreferences.h:
   3599         * WebView.cpp:
   3600         (WebView::notifyPreferencesChanged):
   3601 
   3602 2008-09-04  Adam Roben  <aroben (a] apple.com>
   3603 
   3604         Make JavaScriptCoreGenerated build first instead of WTF
   3605 
   3606         JavaScriptCoreGenerated does some setup work that we want to happen
   3607         before WTF builds.
   3608 
   3609         * WebKit.vcproj/WebKit.sln: Reversed the dependencies of WTF and
   3610         JavaScriptCoreGenerated.
   3611 
   3612 2008-08-30  Sam Weinig  <sam (a] webkit.org>
   3613 
   3614         Reviewed by Dan Bernstein.
   3615 
   3616         Add WebView SPI to defer loading callbacks.
   3617 
   3618         * Interfaces/IWebViewPrivate.idl:
   3619         * WebView.cpp:
   3620         (WebView::setDefersCallbacks):
   3621         (WebView::defersCallbacks):
   3622         * WebView.h:
   3623 
   3624 2008-08-28  Adele Peterson  <adele (a] apple.com>
   3625 
   3626         Build fix.
   3627 
   3628         * WebIconDatabase.cpp: (WebIconDatabase::getOrCreateDefaultIconBitmap):
   3629 
   3630 2008-08-28  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   3631 
   3632         Rubber-stamped by Darin Adler.
   3633 
   3634         https://bugs.webkit.org/show_bug.cgi?id=17261
   3635 
   3636         Remove the urlIcon.png from the project and the resource file. Remove
   3637         the usage of this icon from WebKitDLL.cpp and change WebIconDatabase
   3638         to get the icon from the IconDatabase code which is using a version of
   3639         the icon that is compiled into the code.
   3640 
   3641         * WebIconDatabase.cpp:
   3642         (WebIconDatabase::getOrCreateDefaultIconBitmap): Use the icon from the
   3643         IconDatabase.cpp
   3644         * WebKit.vcproj/WebKit.rc: Remove urlIcon.cpp
   3645         * WebKit.vcproj/urlIcon.png: Removed.
   3646         * WebKitDLL.cpp:
   3647         (loadResourceIntoBuffer): Remove "urlIcon"
   3648 
   3649 2008-08-27  Alice Liu  <alice.liu (a] apple.com>
   3650 
   3651         Add interface for obtaining JS object counts broken down by type
   3652 
   3653         Reviewed by Steve Falkenburg.
   3654 
   3655         * Interfaces/IWebCoreStatistics.idl:
   3656         * WebCoreStatistics.cpp:
   3657         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
   3658         * WebCoreStatistics.h:
   3659 
   3660 2008-08-27  Ada Chan  <adachan (a] apple.com>
   3661 
   3662         Fixed build.
   3663 
   3664         * WebFrame.cpp:
   3665         (WebFrame::pluginWillHandleLoadError):
   3666 
   3667 2008-08-27  Brady Eidson  <beidson (a] apple.com>
   3668 
   3669         Reviewed by Anders
   3670 
   3671         <rdar://problem/6134133> - Crash when loading large movie as a standalone document
   3672 
   3673         * WebFrame.cpp:
   3674         (WebFrame::pluginWillHandleLoadError):
   3675         * WebFrame.h:
   3676 
   3677 2008-08-26  Alice Liu  <alice.liu (a] apple.com>
   3678 
   3679         Implement COMPropertyBag::GetPropertyInfo
   3680         and a variant setter for type int
   3681 
   3682         Reviewed by Anders Carlsson.
   3683 
   3684         * COMPropertyBag.h:
   3685         (::GetPropertyInfo):
   3686         * COMVariantSetter.h:
   3687 
   3688 2008-08-25  Adam Roben  <aroben (a] apple.com>
   3689 
   3690         Fix an assertion when showing the Web Inspector
   3691 
   3692         Reviewed by Kevin McCullough.
   3693 
   3694         * WebCoreSupport/WebInspectorClient.cpp:
   3695         (WebInspectorClient::attachWindow):
   3696         (WebInspectorClient::detachWindow):
   3697         Recent code changes have caused these functions to get called even
   3698         when the window is already attached/detached, respectively. Handle
   3699         this case gracefully instead of asserting something that is no longer
   3700         true.
   3701 
   3702 2008-08-24  Beth Dakin  <bdakin (a] apple.com>
   3703 
   3704         Reviewed by John Sullivan.
   3705 
   3706         Provide the excludeFromTextSearch SPI on Windows as well.
   3707 
   3708         * Interfaces/IWebFrame.idl:
   3709         * WebFrame.cpp:
   3710         (WebFrame::setExcludeFromTextSearch):
   3711         * WebFrame.h:
   3712 
   3713 2008-08-24  Jon Honeycutt  <jhoneycutt (a] apple.com>
   3714 
   3715         Cannot get the focused accessible object from the root object.
   3716 
   3717         AccessibleBase::get_AccFocus() checks whether the focused object is a
   3718         child of the current object, but 
   3719         http://msdn.microsoft.com/en-us/library/ms696150(VS.85).aspx states that
   3720         the result is the object itself, if it has focus, or a child object of
   3721         the active window, not a child of the object.
   3722 
   3723         Reviewed by Sam Weinig.
   3724 
   3725         * AccessibleBase.cpp:
   3726         (AccessibleBase::get_accFocus): Don't check whether the focused object
   3727         is our child.
   3728 
   3729 2008-08-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   3730 
   3731         Add SPI to make a Windows WebView transparent.
   3732 
   3733         Reviewed by Dan Bernstein.
   3734 
   3735         * Interfaces/IWebViewPrivate.idl:
   3736         * WebCoreSupport/WebFrameLoaderClient.cpp:
   3737         (WebFrameLoaderClient::transitionToCommittedForNewPage): Call
   3738         updateBackground() when a new frame is attached, matching the Mac.
   3739         * WebFrame.cpp:
   3740         (WebFrame::updateBackground): Propagate WebView transparency to ourself
   3741         and our child frames.
   3742         * WebFrame.h:
   3743         * WebView.cpp:
   3744         (WebView::WebView):
   3745         (WebView::paintIntoBackingStore): Pass m_transparent when creating a
   3746         GraphicsContext, so the context will be created with an alpha channel.
   3747         (WebView::setTransparent):
   3748         (WebView::transparent):
   3749         * WebView.h:
   3750 
   3751 2008-08-12  Jon Honeycutt  <jhoneycutt (a] apple.com>
   3752 
   3753         Add SPI to get a handle to the WebView's backing store bitmap.
   3754 
   3755         Reviewed by Dan Bernstein.
   3756 
   3757         * Interfaces/IWebViewPrivate.idl:
   3758         * WebView.cpp:
   3759         (WebView::backingStore):
   3760         * WebView.h:
   3761 
   3762 2008-08-21 Jonas Klink <klinktech (a] gmail.com>
   3763 
   3764         Reviewed by Jon Honeycutt.
   3765 
   3766         Fix https://bugs.webkit.org/show_bug.cgi?id=20231
   3767         Bug 20231: accNavigate: no screen element found in the specified direction should return S_FALSE
   3768 
   3769         Per <http://msdn.microsoft.com/en-us/library/ms696145(VS.85).aspx>, we should return S_FALSE
   3770         from accNavigate if no screen element is found in the specified direction.
   3771 
   3772         * AccessibleBase.cpp:
   3773         (AccessibleBase::accNavigate):
   3774 
   3775 2008-08-21 Jonas Klink <klinktech (a] gmail.com>
   3776 
   3777         Reviewed by Jon Honeycutt.
   3778 
   3779         Fix http://bugs.webkit.org/show_bug.cgi?id=20230
   3780         Bug 20230: get_accState should be testing state on childObj
   3781 
   3782         Also initializes output parameter action to 0 in get_accDefaultAction.
   3783 
   3784         * AccessibleBase.cpp:
   3785         (AccessibleBase::get_accState):
   3786         (AccessibleBase::get_accDefaultAction):
   3787 
   3788 2008-08-20  Maxime Britto  <britto (a] apple.com>
   3789 
   3790         Reviewed by Ada Chan.
   3791 
   3792         rdar://5259746
   3793         Mouse events are sent to page while resizing window (affects Gmail)
   3794         In the WebView, if the MouseEvent is located in the resize corner, we send it back to the UIDelegate and early return.
   3795 
   3796         * Interfaces/IWebUIDelegatePrivate.idl: Add a new method to the UIDelegate to send the resize message
   3797         * WebView.cpp:
   3798         (WebView::handleMouseEvent): If the mouse event is in the resize corner and our UIDelegate supports the message it sends the new message and early returns
   3799 
   3800 2008-08-19  Alexey Proskuryakov  <ap (a] webkit.org>
   3801 
   3802         Reviewed by Geoff Garen.
   3803 
   3804         Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.
   3805 
   3806         * WebCoreStatistics.cpp:
   3807         (WebCoreStatistics::javaScriptObjectsCount):
   3808         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   3809         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   3810         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   3811         * WebJavaScriptCollector.cpp:
   3812         (WebJavaScriptCollector::objectCount):
   3813         * WebScriptCallFrame.cpp:
   3814         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   3815         * WebView.cpp:
   3816         (WebView::stringByEvaluatingJavaScriptFromString):
   3817 
   3818 2008-08-19  Steve Falkenburg  <sfalken (a] apple.com>
   3819 
   3820         Fix build.
   3821 
   3822         * WebScriptCallFrame.cpp:
   3823         (WebScriptCallFrame::jsValueToString):
   3824 
   3825 2008-08-14  Steve Falkenburg  <sfalken (a] apple.com>
   3826 
   3827         Update cache capacities to match values used on Mac.
   3828         
   3829         Reviewed by Dan Bernstein.
   3830 
   3831         * WebView.cpp:
   3832         (WebView::setCacheModel):
   3833 
   3834 2008-08-14  Sam Weinig  <sam (a] webkit.org>
   3835 
   3836         Reviewed by Jon Honeycutt.
   3837 
   3838         Add WebView SPI to set HTMLTokenizer yielding parameters.
   3839 
   3840         * Interfaces/IWebViewPrivate.idl:
   3841         * WebView.cpp:
   3842         (WebView::setCustomHTMLTokenizerTimeDelay):
   3843         (WebView::setCustomHTMLTokenizerChunkSize):
   3844         * WebView.h:
   3845 
   3846 2008-08-13  Eric Seidel  <eric (a] webkit.org>
   3847 
   3848         Attempt to fix the windows build, not review.
   3849 
   3850         * WebIconDatabase.cpp:
   3851         (WebIconDatabase::getOrCreateDefaultIconBitmap):
   3852 
   3853 2008-08-13  Ada Chan  <adachan (a] apple.com>
   3854 
   3855         Implemented DOMHTMLElement::idName() and WebFrame::frameElement().
   3856         Added IWebFrame::paintDocumentRectToContext() so we can paint a frame's
   3857         content into a device context.  Changed WebView::paintDocumentRectToContext()
   3858         to call that WebFrame method.
   3859 
   3860         Reviewed by Adam Roben.
   3861 
   3862         * DOMHTMLClasses.cpp:
   3863         (DOMHTMLElement::idName):
   3864         * Interfaces/IWebFramePrivate.idl:
   3865         * WebFrame.cpp:
   3866         (WebFrame::paintDocumentRectToContext):
   3867         (WebFrame::frameElement):
   3868         * WebFrame.h:
   3869         * WebView.cpp:
   3870         (WebView::paintDocumentRectToContext):
   3871 
   3872 2008-08-12  Timothy Hatcher  <timothy (a] apple.com>
   3873 
   3874         Add a stub for InspectorClient::setAttachedWindowHeight.
   3875 
   3876         * WebCoreSupport/WebInspectorClient.cpp:
   3877         (WebInspectorClient::setAttachedWindowHeight): Add a FIXME to implement this.
   3878         * WebCoreSupport/WebInspectorClient.h:
   3879 
   3880 2008-08-12  Adam Roben  <aroben (a] apple.com>
   3881 
   3882         Export WTFLog in Debug builds
   3883 
   3884         Reviewed by John Sullivan.
   3885 
   3886         * WebKit.vcproj/WebKit_debug.def:
   3887 
   3888 2008-08-07  Steve Falkenburg  <sfalken (a] apple.com>
   3889 
   3890         Delete backing stores before 5 second WM_TIMER fires if more than 2 are already queued.
   3891         
   3892         WM_TIMER-based timers can be starved if enough other events are keeping
   3893         our message loop busy. This change prevents many backing store deletes from stacking
   3894         up in this case.
   3895         
   3896         Reviewed by Geoff Garen.
   3897 
   3898         * WebView.cpp:
   3899         (WebView::deleteBackingStore):
   3900         (WebView::deleteBackingStoreSoon):
   3901         (WebView::cancelDeleteBackingStoreSoon):
   3902 
   3903 2008-08-05  Ada Chan  <adachan (a] apple.com>
   3904 
   3905         Add a getter for CFURLRequestRef in WebMutableURLRequest.
   3906 
   3907         Reviewed by Anders Carlsson.
   3908 
   3909         * Interfaces/IWebMutableURLRequestPrivate.idl:
   3910         * WebMutableURLRequest.cpp:
   3911         (WebMutableURLRequest::cfRequest):
   3912         * WebMutableURLRequest.h:
   3913 
   3914 2008-08-05  Steve Falkenburg  <sfalken (a] apple.com>
   3915 
   3916         Don't invalidate a WebView in the process of being closed when prefs change.
   3917         
   3918         Reviewed by Ada Chan.
   3919 
   3920         * WebView.cpp:
   3921         (WebView::notifyPreferencesChanged):
   3922 
   3923 2008-08-04  Alice Liu  <alice.liu (a] apple.com>
   3924 
   3925         Reviewed by Steve Falkenburg.
   3926 
   3927         Fix CFDictionary leak
   3928 
   3929         * CFDictionaryPropertyBag.cpp:
   3930         (CFDictionaryPropertyBag::Write):
   3931         m_dictionary is a RetainPtr and should adopt the CF type created
   3932 
   3933 2008-08-02  Maxime Britto  <britto (a] apple.com>
   3934 
   3935         Reviewed by Eric Seidel.
   3936       
   3937         These icons are copies from the resizers in WebCore/Ressources
   3938 
   3939         * ChangeLog:
   3940         * WebKit.vcproj/WebKit.rc:
   3941         * WebKit.vcproj/panEastCursor.png: Added.
   3942         * WebKit.vcproj/panNorthCursor.png: Added.
   3943         * WebKit.vcproj/panNorthEastCursor.png: Added.
   3944         * WebKit.vcproj/panNorthWestCursor.png: Added.
   3945         * WebKit.vcproj/panSouthCursor.png: Added.
   3946         * WebKit.vcproj/panSouthEastCursor.png: Added.
   3947         * WebKit.vcproj/panSouthWestCursor.png: Added.
   3948         * WebKit.vcproj/panWestCursor.png: Added.
   3949         * WebKit.vcproj/resource.h:
   3950         * WebKitDLL.cpp:
   3951         (loadResourceIntoBuffer):
   3952 
   3953 2008-08-01  Beth Dakin  <bdakin (a] apple.com>
   3954 
   3955         Reviewed by Adam Roben.
   3956 
   3957         Fix for <rdar://problem/6119382> Need to hook up WebFrame's 
   3958         disconnected frame API on Windows.
   3959 
   3960         * Interfaces/IWebFrame.idl:
   3961         * WebFrame.cpp:
   3962         (WebFrame::setIsDisconnected):
   3963         * WebFrame.h:
   3964 
   3965 2008-08-01  Adam Roben  <aroben (a] apple.com>
   3966 
   3967         Fix <rdar://6118733> REGRESSION (r35502): Crash when submitting any
   3968         form
   3969 
   3970         Reviewed by Darin Adler.
   3971 
   3972         * COMPropertyBag.h:
   3973         (COMPropertyBag::QueryInterface): Cast to an appropriate type before
   3974         assigning into ppvObject.
   3975 
   3976 2008-07-31  Anders Carlsson  <andersca (a] apple.com>
   3977 
   3978         Reviewed by Adam.
   3979 
   3980         Get rid of FormValuesPropertyBag and use COMPropertyBag instead.
   3981         
   3982         * COMPropertyBag.h:
   3983         Implement parts of IPropertyBag2. 
   3984         Currently just one method (CountProperties) is implemented.
   3985         
   3986         * WebCoreSupport/FormValuesPropertyBag.cpp: Removed.
   3987         * WebCoreSupport/FormValuesPropertyBag.h: Removed.
   3988       
   3989         * WebFrame.cpp:
   3990         (WebFrame::dispatchWillSubmitForm):
   3991         Create a COMPropertyBag instead.
   3992         
   3993         * WebKit.vcproj/WebKit.vcproj:
   3994 
   3995 2008-07-31  Anders Carlsson  <andersca (a] apple.com>
   3996 
   3997         Reviewed by Jon.
   3998         
   3999         Tweak the names.
   4000 
   4001         * WebCoreSupport/WebFrameLoaderClient.cpp:
   4002         (WebFrameLoaderClient::createPlugin):
   4003 
   4004 2008-07-31  Anders Carlsson  <andersca (a] apple.com>
   4005 
   4006         Reviewed by Jon.
   4007 
   4008         <rdar://problem/5826110>
   4009         
   4010         Add a way for WebKit clients to embed custom content in web pages.
   4011         
   4012         * Interfaces/IWebEmbeddedView.idl: Added.
   4013         New interface which an embedded view must implement.
   4014         
   4015         * Interfaces/IWebUIDelegatePrivate.idl:
   4016         Add new UI delegate method for creating an embedded view.
   4017         
   4018         * Interfaces/WebKit.idl:
   4019         Include IWebEmbeddedView.idl.
   4020         
   4021         * WebCoreSupport/EmbeddedWidget.cpp: Added.
   4022         * WebCoreSupport/EmbeddedWidget.h: Added.
   4023         Add EmbeddedWidget, a widget subclass which can hold an IWebEmbeddedView.
   4024         
   4025         * WebCoreSupport/WebFrameLoaderClient.cpp:
   4026         (WebFrameLoaderClient::createPlugin):
   4027         Check if the UI delegate wants to create an embedded view.
   4028         
   4029         * WebKit.vcproj/WebKit.vcproj:
   4030         Add EmbeddedWidget.{cpp|h}
   4031 
   4032 2008-07-31  Alexey Proskuryakov  <ap (a] webkit.org>
   4033 
   4034         Rubber-stamped by Maciej.
   4035 
   4036         Eliminate JSLock (it was already disabled, removing the stub implementaion and all
   4037         call sites now).
   4038 
   4039         * WebCoreStatistics.cpp:
   4040         (WebCoreStatistics::javaScriptObjectsCount):
   4041         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   4042         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   4043         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   4044         * WebJavaScriptCollector.cpp:
   4045         (WebJavaScriptCollector::objectCount):
   4046         * WebScriptCallFrame.cpp:
   4047         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   4048         * WebView.cpp:
   4049         (WebView::stringByEvaluatingJavaScriptFromString):
   4050 
   4051 2008-07-31  Jon Honeycutt  <jhoneycutt (a] apple.com>
   4052 
   4053         Windows build fix.
   4054 
   4055         * WebURLResponse.cpp:
   4056 
   4057 2008-07-30  Mark Rowe  <mrowe (a] apple.com>
   4058 
   4059         Windows build fix.
   4060 
   4061         * WebURLResponse.cpp:  Don't include a header file that we just deleted.
   4062 
   4063 2008-07-30  Anders Carlsson  <andersca (a] apple.com>
   4064 
   4065         Reviewed by Mitz.
   4066 
   4067         Use a COMPropertyBag instead of the HTTPHeaderPropertyBag.
   4068         
   4069         * HTTPHeaderPropertyBag.cpp: Removed.
   4070         * HTTPHeaderPropertyBag.h: Removed.
   4071         * WebURLResponse.cpp:
   4072         (WebURLResponse::allHeaderFields):
   4073 
   4074 2008-07-30  Anders Carlsson  <andersca (a] apple.com>
   4075 
   4076         Fix copyright years.
   4077         
   4078         * COMPropertyBag.h:
   4079         * COMVariantSetter.h:
   4080 
   4081 2008-07-30  Anders Carlsson  <andersca (a] apple.com>
   4082 
   4083         Reviewed by Sam.
   4084 
   4085         More property bag work.
   4086         
   4087         * COMPropertyBag.h:
   4088         (COMPropertyBag::COMPropertyBag):        
   4089         (::adopt):
   4090         (::Read):
   4091         * COMVariantSetter.h:
   4092         (COMIUnknownVariantSetter::setVariant):
   4093 
   4094 2008-07-30  Anders Carlsson  <andersca (a] apple.com>
   4095 
   4096         Reviewed by Sam.
   4097 
   4098         Add COMPropertyBag, a simple template class that implements the IPropertyBag interface. All
   4099         property bag values must be of the same type.
   4100         
   4101         The COMVariantSetter helpers are now in COMVariantSetter.h
   4102         
   4103         * COMEnumVariant.h:
   4104         * COMPropertyBag.h: Added.
   4105         * COMVariantSetter.h: Added.
   4106         * WebKit.vcproj/WebKit.vcproj:
   4107         
   4108 2008-07-30  Alice Liu  <alice.liu (a] apple.com>
   4109 
   4110         Reviewed by Adam Roben.
   4111 
   4112         Adding logging of COM class names and counts to facilitate
   4113         investigating memory issues.
   4114 
   4115         * Interfaces/IWebKitStatistics.idl:
   4116         * WebKitDLL.cpp:
   4117         * WebKitDLL.h:
   4118         * WebKitStatistics.cpp:
   4119         (WebKitStatistics::comClassNameCounts):
   4120         * WebKitStatistics.h:
   4121 
   4122 2008-07-29  Alice Liu  <alice.liu (a] apple.com>
   4123 
   4124         Reviewed by Geoff Garen.
   4125 
   4126         Fix WebDocumentLoader leak on Windows.
   4127 
   4128         * WebCoreSupport/WebFrameLoaderClient.cpp:
   4129         (WebFrameLoaderClient::createDocumentLoader):
   4130         * WebDocumentLoader.cpp:
   4131         (WebDocumentLoader::create):
   4132         * WebDocumentLoader.h:
   4133 
   4134 2008-07-29  Adam Roben  <aroben (a] apple.com>
   4135 
   4136         Export detachThread
   4137 
   4138         Reviewed by Geoff Garen.
   4139 
   4140         * WebKit.vcproj/WebKit.def:
   4141         * WebKit.vcproj/WebKit_debug.def:
   4142 
   4143 2008-07-29  Adam Roben  <aroben (a] apple.com>
   4144 
   4145         Export the new version of createThread
   4146 
   4147         Reviewed by Anders Carlsson.
   4148 
   4149         * WebKit.vcproj/WebKit.def:
   4150         * WebKit.vcproj/WebKit_debug.def:
   4151         Also moved the old version of createThread into the deprecated
   4152         section.
   4153 
   4154 2008-07-26  Matt Lilek  <webkit (a] mattlilek.com>
   4155 
   4156         Reviewed by Geoff Garen.
   4157 
   4158         Changes to accommodate newly named/signatured loading methods in WebCore.
   4159 
   4160         * WebCoreSupport/WebContextMenuClient.cpp:
   4161         (WebContextMenuClient::searchWithGoogle):
   4162         * WebCoreSupport/WebFrameLoaderClient.cpp:
   4163         (WebFrameLoaderClient::loadURLIntoChild):
   4164 
   4165 2008-07-25  Adam Roben  <aroben (a] apple.com>
   4166 
   4167         Try to fix the Windows build bot
   4168 
   4169         * WebKit.vcproj/WebKit.sln: Linearize the project dependencies. Each
   4170         project now depends only on the project that should immediately
   4171         precede it in the build. For the frameworks, this order makes sense.
   4172         For the applications built on top of the frameworks, the order is
   4173         arbitrary (but roughly follows the applications' complexity).
   4174 
   4175 2008-07-17  Adele Peterson  <adele (a] apple.com>
   4176 
   4177         Reviewed by Adam.
   4178 
   4179         WebKit part of fix for <rdar://problem/5698672>  Add drawing callback for a WebKit app to draw its own scrollbars
   4180         
   4181         Added a setting so an application can tell WebKit its going to draw custom scrollbars.  Also added delegate methods for the actual painting.
   4182         
   4183         * Interfaces/IWebPreferences.idl:  Added setShouldPaintCustomScrollbars and shouldPaintCustomScrollbars.
   4184         * Interfaces/IWebScrollBarPrivate.idl: Moved types to WebScrollbarTypes.idl
   4185         * Interfaces/IWebUIDelegate.idl: Added WebUIDelegate4 with new delegate methods, paintCustomScrollbar and paintCustomScrollCorner
   4186         * Interfaces/WebKit.idl: Include new WebScrollbarTypes.idl
   4187         * Interfaces/WebScrollbarTypes.idl: Added. Has types that the new delegate methods use.
   4188         * WebCoreSupport/WebChromeClient.cpp:
   4189         (WebChromeClient::paintCustomScrollbar): Added. Calls new delegate method and converts between WebCore types and types exported in WebScrollbarTypes.idl
   4190         (WebChromeClient::paintCustomScrollCorner): Added. Calls new delegate method.
   4191         (WebChromeClient::uiDelegate4): Added.
   4192         * WebCoreSupport/WebChromeClient.h:
   4193         * WebPreferenceKeysPrivate.h: Added WebKitPaintCustomScrollbarsPreferenceKey
   4194         * WebPreferences.cpp:
   4195         (WebPreferences::): Added.
   4196         (WebPreferences::shouldPaintCustomScrollbars): Added.
   4197         * WebPreferences.h:
   4198         * WebView.cpp: (WebView::notifyPreferencesChanged):
   4199 
   4200 2008-07-15  Adam Roben  <aroben (a] apple.com>
   4201 
   4202         Add WebKit[Set]ShouldUseFontSmoothing functions
   4203 
   4204         <rdar://6059127>
   4205 
   4206         Reviewed by John Sullivan.
   4207 
   4208         * WebKit.vcproj/WebKit.def:
   4209         * WebKit.vcproj/WebKit_debug.def:
   4210         Export the new functions.
   4211         * WebKitGraphics.cpp:
   4212         (WebKitSetShouldUseFontSmoothing):
   4213         (WebKitShouldUseFontSmoothing):
   4214         Call through to the relevant WebCore functions.
   4215         * WebKitGraphics.h:
   4216 
   4217 2008-07-14  Steve Falkenburg  <sfalken (a] apple.com>
   4218 
   4219         Don't include autoversion.h in WebKitDLL.cpp.
   4220         autoversion.h changes for every build, so we don't want to include it unless necessary.        
   4221 
   4222         Rubber stamped by Ada Chan.
   4223 
   4224         * WebKitDLL.cpp:
   4225 
   4226 2008-07-14  Adam Roben  <aroben (a] apple.com>
   4227 
   4228         Windows build fix
   4229 
   4230         * WebJavaScriptCollector.cpp:
   4231         (WebJavaScriptCollector::objectCount): Updated to match
   4232         -[WebCoreStatistics javaScriptsObjectCount].
   4233 
   4234 2008-07-14  Alexey Proskuryakov  <ap (a] webkit.org>
   4235 
   4236         Reviewed by Geoff Garen.
   4237 
   4238         Eliminate per-thread JavaScript global data instance support and make arbitrary
   4239         global data/global object combinations possible.
   4240 
   4241         * WebCoreStatistics.cpp:
   4242         (WebCoreStatistics::javaScriptObjectsCount):
   4243         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   4244         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   4245         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   4246         Ask WebCore for its instance of JSGlobalData, now that it is not in per-thread storage.
   4247 
   4248 2008-07-11  Steve Falkenburg  <sfalken (a] apple.com>
   4249 
   4250         Build fix.
   4251 
   4252         * WebKit.vcproj/WebKit.vcproj:
   4253 
   4254 2008-07-10  Steve Falkenburg  <sfalken (a] apple.com>
   4255 
   4256         Build fix.
   4257 
   4258         * WebKit.vcproj/Interfaces.vcproj:
   4259 
   4260 2008-07-10  Adam Roben  <aroben (a] apple.com>
   4261 
   4262         Windows build fix
   4263 
   4264         * WebKit.vcproj/resource.h: Revert some changes that VS made to this
   4265         file in r35083.
   4266 
   4267 2008-07-09  Maxime Britto  <britto (a] apple.com>
   4268 
   4269         Reviewed by Adele.
   4270        
   4271         Added the panning icon in the ressources.
   4272         Its name is compass.png to make a difference with moveCursor.png (from the WebCore ressources)
   4273 
   4274         * ChangeLog:
   4275         * WebKit.vcproj/WebKit.rc:
   4276         * WebKit.vcproj/panIcon.png: Added.
   4277         * WebKit.vcproj/resource.h:
   4278         * WebKitDLL.cpp: Declared the new ressource with the name "panIcon"
   4279         (loadResourceIntoBuffer):
   4280 
   4281 2008-07-02  Dan Bernstein  <mitz (a] apple.com>
   4282 
   4283         - try to fix the Windows build
   4284 
   4285         * WebScriptCallFrame.cpp:
   4286 
   4287 2008-07-01  Alexey Proskuryakov  <ap (a] webkit.org>
   4288 
   4289         Reviewed by Darin Adler.
   4290 
   4291         Disable JSLock for per-thread contexts.
   4292 
   4293         * WebCoreStatistics.cpp:
   4294         (WebCoreStatistics::javaScriptObjectsCount):
   4295         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   4296         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   4297         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   4298         * WebScriptCallFrame.cpp:
   4299         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   4300         * WebView.cpp:
   4301         (WebView::stringByEvaluatingJavaScriptFromString):
   4302         Pass a parameter (false) to JSLock to indicate that WebKit doesn't need locking.
   4303         Include JSLock.h, as it is no longer brought in implicitly.
   4304 
   4305 2008-06-27  Adam Roben  <aroben (a] apple.com>
   4306 
   4307         Change WebKitGraphics truncation functions to return the length of the
   4308         truncated string
   4309 
   4310         Reviewed by Darin Adler.
   4311 
   4312         * WebKitGraphics.cpp:
   4313         (CenterTruncateStringToWidth):
   4314         (RightTruncateStringToWidth):
   4315         Return the length.
   4316         * WebKitGraphics.h:
   4317         The truncation functions now return an unsigned int that is the length
   4318         of the truncated string. The whole file has been marked extern "C" to
   4319         keep the symbols for these functions from changing (which would break
   4320         nightly builds).
   4321 
   4322 2008-06-19  Alexey Proskuryakov  <ap (a] webkit.org>
   4323 
   4324         Windows build fix.
   4325 
   4326         * WebJavaScriptCollector.cpp: Added a missing include.
   4327 
   4328 2008-06-17  Alexey Proskuryakov  <ap (a] webkit.org>
   4329 
   4330         Reviewed by Darin Adler.
   4331 
   4332         Prepare JavaScript heap for being per-thread.
   4333 
   4334         * WebCoreStatistics.cpp:
   4335         (WebCoreStatistics::javaScriptObjectsCount):
   4336         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   4337         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   4338         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   4339         * WebJavaScriptCollector.cpp:
   4340         (WebJavaScriptCollector::objectCount):
   4341         Use JSGlobalData::threadInstance()->heap instead of static Collector calls.
   4342 
   4343         * WebScriptCallFrame.cpp:
   4344         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Pass ExecState* where
   4345         now required.
   4346 
   4347 2008-06-16  Alexey Proskuryakov  <ap (a] webkit.org>
   4348 
   4349         Trying to fix Windows build.
   4350 
   4351         * WebScriptCallFrame.cpp:
   4352         (WebScriptCallFrame::variableNames):
   4353         (WebScriptCallFrame::valueForVariable):
   4354         Give ExecState to functions that now take it.
   4355 
   4356 2008-06-16  Adam Roben  <aroben (a] apple.com>
   4357 
   4358         Windows build fix
   4359 
   4360         * WebScriptCallFrame.cpp: Fixed a header name.
   4361 
   4362 2008-06-15  Darin Adler  <darin (a] apple.com>
   4363 
   4364         - give Frame object functions shorter names: scriptProxy() -> script(),
   4365           selectionController() -> selection(), animationController() -> animation()
   4366 
   4367         * WebFrame.cpp:
   4368         (WebFrame::globalContext):
   4369         (WebFrame::windowObjectCleared):
   4370         * WebView.cpp:
   4371         (WebView::handleContextMenuEvent):
   4372         (WebViewWndProc):
   4373         (WebView::updateFocusedAndActiveState):
   4374         (WebView::hasSelectedRange):
   4375         (WebView::replaceSelectionWithText):
   4376         (WebView::clearSelection):
   4377         (WebView::prepareCandidateWindow):
   4378         (WebView::onIMERequestCharPosition):
   4379         (WebView::onIMERequestReconvertString):
   4380 
   4381 2008-06-15  Darin Adler  <darin (a] apple.com>
   4382 
   4383         - rename KJS::List to KJS::ArgList
   4384 
   4385         * WebScriptCallFrame.cpp:
   4386         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   4387 
   4388 2008-06-15  Darin Adler  <darin (a] apple.com>
   4389 
   4390         - new names for a few key JavaScriptCore files
   4391 
   4392         * WebView.cpp:
   4393 
   4394 2008-06-15  Darin Adler  <darin (a] apple.com>
   4395 
   4396         Rubber stamped by Sam.
   4397 
   4398         - use JS prefix and simpler names for basic JavaScriptCore types,
   4399           to complement JSValue and JSObject
   4400 
   4401         * WebScriptCallFrame.cpp:
   4402         (WebScriptCallFrame::functionName):
   4403 
   4404 2008-06-15  Maciej Stachowiak  <mjs (a] apple.com>
   4405 
   4406         Rubber stamped by Oliver.
   4407         
   4408         - fix WebKit solution for testkjs --> jsc rename
   4409 
   4410         * WebKit.vcproj/WebKit.sln:
   4411 
   4412 2008-06-14  Darin Adler  <darin (a] apple.com>
   4413 
   4414         Rubber stamped by Sam.
   4415 
   4416         - new names for kjs_binding.h and kjs_proxy.h
   4417 
   4418         * WebFrame.cpp:
   4419 
   4420 2008-06-14  Darin Adler  <darin (a] apple.com>
   4421 
   4422         Rubber stamped by Sam.
   4423 
   4424         - renamed HTMLGenericFormElement to HTMLFormControlElement
   4425 
   4426         * WebFrame.cpp:
   4427         (WebFrame::elementWithName):
   4428         (WebFrame::controlsInForm):
   4429 
   4430 2008-06-14  Darin Adler  <darin (a] apple.com>
   4431 
   4432         - try to fix Windows build, again
   4433 
   4434         * WebFrame.cpp:
   4435         (WebFrame::dispatchDecidePolicyForNewWindowAction): Fix arguments. Pass form.
   4436         (WebFrame::dispatchDecidePolicyForNavigationAction): Ditto.
   4437         * WebFrame.h: Fix arguments.
   4438 
   4439 2008-06-14  Darin Adler  <darin (a] apple.com>
   4440 
   4441         - try to fix Windows build
   4442 
   4443         * WebActionPropertyBag.cpp:
   4444         (WebActionPropertyBag::Read): Use IDOMNode, not IHTMLFormElement.
   4445         * WebFrame.h: Added missing FormState arguments.
   4446         * WebScrollBar.cpp:
   4447         (WebScrollBar::init): Use create instead of new.
   4448 
   4449 2008-06-14  Darin Adler  <darin (a] apple.com>
   4450 
   4451         Reviewed by Sam.
   4452 
   4453         - more of https://bugs.webkit.org/show_bug.cgi?id=17257
   4454           start ref counts at 1 instead of 0 for speed
   4455 
   4456         * WebCoreSupport/WebFrameLoaderClient.cpp:
   4457         (WebFrameLoaderClient::createFrame): Remove now-obsolete adoptRef that was balanced by
   4458         a ref call inside the Frame constructor. The lifetime rules for Frame are now the
   4459         conventional ones without a special case.
   4460 
   4461         * WebFrame.cpp:
   4462         (WebFrame::init): Renamed function from initWithWebFrameView and removed the unused
   4463         IWebFrameView argument (every caller was passing 0). Also changed this to return the
   4464         WebCore Frame object, which is needed to straighten out the lifetime and ownership
   4465         issues.
   4466         * WebFrame.h: Ditto.
   4467 
   4468         * WebView.cpp:
   4469         (WebView::initWithFrame): Changed to call new init function and use the return value.
   4470 
   4471 2008-06-13  Darin Adler  <darin (a] apple.com>
   4472 
   4473         Reviewed by John Sullivan.
   4474 
   4475         - updated for addition of FormState argument to action policy functions
   4476         - added WebActionFormKey
   4477 
   4478         * Interfaces/IWebPolicyDelegate.idl:
   4479         * WebActionPropertyBag.cpp:
   4480         (WebActionPropertyBag::WebActionPropertyBag):
   4481         (WebActionPropertyBag::createInstance):
   4482         (WebActionPropertyBag::AddRef):
   4483         (WebActionPropertyBag::Release):
   4484         (WebActionPropertyBag::Read):
   4485         * WebActionPropertyBag.h:
   4486         * WebFrame.cpp:
   4487         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   4488         (WebFrame::dispatchDecidePolicyForNavigationAction):
   4489 
   4490 2008-06-07  Darin Adler  <darin (a] apple.com>
   4491 
   4492         Reviewed by Mitz.
   4493 
   4494         - work on https://bugs.webkit.org/show_bug.cgi?id=17257
   4495           start ref counts at 1 instead of 0 for speed
   4496 
   4497         * WebHistoryItem.cpp:
   4498         (WebHistoryItem::createInstance):
   4499         (WebHistoryItem::initFromDictionaryRepresentation):
   4500         (WebHistoryItem::initWithURLString):
   4501 
   4502 2008-05-30  Steve Falkenburg  <sfalken (a] apple.com>
   4503 
   4504         Registry-free COM.        
   4505         
   4506         WebKit no longer requires COM registration.
   4507         Registry-free COM information is read from the application manifest.
   4508 
   4509         Only 1 set of CLSIDs are now used, since we don't need to worry about registry collisions.
   4510         The second set remains, but only temporarily so nightlies continue to work.
   4511 
   4512         This is supported for XPSP2 and later.  Earlier systems require an installer
   4513         to write the required registry keys.  Nightlies and developer builds require
   4514         XPSP2, Server 2003, or later.
   4515 
   4516         Reviewed by Adam.
   4517 
   4518         * ForEachCoClass.cpp: Moved COM registration code here from WebKitDLL.cpp. This is ONLY used in the nightly case.
   4519         (substituteGUID): Moved here from WebKitDLL.cpp.
   4520         (registerWebKit): Moved here from WebKitDLL.cpp.
   4521         (setUseOpenSourceWebKit): Call registerWebKit instead of swapping progids. There is only 1 set of progids now - for the nightly.
   4522         * ForEachCoClass.h: Removed production progids. 
   4523         * Interfaces/WebKit.idl: Added prototype for shutDownWebKit.
   4524         * WebKit.vcproj/Interfaces.vcproj: Changed path to type library to move it out of project directory.
   4525         * WebKit.vcproj/WebKit.vcproj: Changed path to type library to move it out of project directory.
   4526         * WebKitDLL.cpp:
   4527         (DllUnregisterServer): Does nothing. Entry point is still present for backward compatibility.
   4528         (DllRegisterServer): Does nothing. Entry point is still present for backward compatibility.
   4529         (RunAsLocalServer): Does nothing. Entry point is still present for backward compatibility.
   4530         (shutDownWebKit): Moved from ForEachCoClass.
   4531         * WebKitDLL.h:
   4532 
   4533 2008-05-29  Anders Carlsson  <andersca (a] apple.com>
   4534 
   4535         Reviewed by Brady.
   4536 
   4537         <rdar://problem/5970312> 
   4538         icon file specified for stand alone web app causes crash if the icon can't be found
   4539         
   4540         Handle the case where iconData is null.
   4541 
   4542         * WebIconFetcher.cpp:
   4543         (WebIconFetcherClient::finishedFetchingIcon):
   4544 
   4545 2008-05-22  Anders Carlsson  <andersca (a] apple.com>
   4546 
   4547         Reviewed by Adam.
   4548 
   4549         Add IWebIconFetcher interface and implementation.
   4550         
   4551         * Interfaces/IWebFramePrivate.idl:
   4552         * Interfaces/IWebIconFetcher.idl: Added.
   4553         * Interfaces/WebKit.idl:
   4554         * WebFrame.cpp:
   4555         * WebFrame.h:
   4556         * WebIconFetcher.cpp: Added.
   4557         * WebIconFetcher.h: Added.
   4558         * WebKit.vcproj/WebKit.vcproj:
   4559 
   4560 2008-05-22  Adam Roben  <aroben (a] apple.com>
   4561 
   4562         Add functions to IWebInspector to start/stop profiling/debugging
   4563 
   4564         <rdar://5956403>
   4565 
   4566         Reviewed by Jon Honeycutt.
   4567 
   4568         * Interfaces/IWebInspector.idl:
   4569         * WebInspector.cpp:
   4570         (WebInspector::isDebuggingJavaScript):
   4571         (WebInspector::toggleDebuggingJavaScript):
   4572         (WebInspector::isProfilingJavaScript):
   4573         (WebInspector::toggleProfilingJavaScript):
   4574         * WebInspector.h:
   4575 
   4576 2008-05-22  Steve Falkenburg  <sfalken (a] apple.com>
   4577 
   4578         Build fix.
   4579 
   4580         * Interfaces/IWebInspector.idl:
   4581         * Interfaces/WebKit.idl:
   4582         * WebInspector.cpp:
   4583         (WebInspector::unused1):
   4584         * WebInspector.h:
   4585 
   4586 2008-05-22  Timothy Hatcher  <timothy (a] apple.com>
   4587 
   4588         Changes to keep Windows building.
   4589 
   4590         <rdar://problem/5956403> Update the Develop menu to match the new Inspector items
   4591 
   4592         Reviewed by Adam Roben.
   4593 
   4594         * English.lproj/Localizable.strings: Added new strings.
   4595         * WebInspector.cpp:
   4596         (WebInspector::showConsole): Call showPanel.
   4597         * WebInspector.h:
   4598 
   4599 2008-05-21  Adele Peterson  <adele (a] apple.com>
   4600 
   4601         Reviewed by Adam.
   4602 
   4603         WebKit part of for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
   4604         
   4605         * WebCoreSupport/WebChromeClient.cpp:
   4606         (WebChromeClient::focus): Call updateActiveState directly.
   4607          Normally this would happen on a timer, but JS might need to know this earlier, so we'll update here.        
   4608         (WebChromeClient::unfocus): ditto.
   4609         * WebView.cpp: (WebView::updateActiveStateSoon): Added comment about why we use a timer for this.
   4610 
   4611 === End merge of squirrelfish ===
   4612 
   4613 2008-05-13  Geoffrey Garen  <ggaren (a] apple.com>
   4614 
   4615         Reviewed by Oliver Hunt.
   4616         
   4617         Updated for new JS debugging APIs.
   4618 
   4619         * WebScriptDebugServer.cpp:
   4620         (WebScriptDebugServer::didParseSource):
   4621         (WebScriptDebugServer::failedToParseSource):
   4622         * WebScriptDebugServer.h:
   4623 
   4624 2008-05-09  Oliver Hunt  <oliver (a] apple.com>
   4625 
   4626         Reviewed by Geoff.
   4627 
   4628         Build fixes for SquirrelFish on windows.
   4629 
   4630         * WebScriptCallFrame.cpp:
   4631         (callingFunctionOrGlobalExecState):
   4632         (WebScriptCallFrame::caller):
   4633         (WebScriptCallFrame::functionName):
   4634         (WebScriptCallFrame::variableNames):
   4635         (WebScriptCallFrame::valueForVariable):
   4636         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   4637         * WebScriptDebugServer.cpp:
   4638         (WebScriptDebugServer::willLeaveCallFrame):
   4639 
   4640 2008-05-19  Adam Roben  <aroben (a] apple.com>
   4641 
   4642         Make WebKit.idl rebuild whenever any of its included interfaces are
   4643         changed
   4644 
   4645         Reviewed by Tim Hatcher.
   4646 
   4647         * WebKit.vcproj/DerivedSources.make: Touch WebKit.idl whenever any
   4648         other IDL file is changed. This will force VS to rebuild WebKit.idl.
   4649 
   4650 2008-05-19  Anders Carlsson  <andersca (a] apple.com>
   4651 
   4652         Reviewed by Adam.
   4653 
   4654         <rdar://problem/5946454>
   4655         Support navigator.onLine from HTML5.
   4656         
   4657         Link with iphlpapi.lib, and make iphlpapi.dll a delay loaded library.
   4658         
   4659         * WebKit.vcproj/WebKit.vcproj:
   4660 
   4661 === Start merge of squirrelfish ===
   4662 
   4663 2008-05-19  Anders Carlsson  <andersca (a] apple.com>
   4664 
   4665         Reviewed by Darin, Alexey, Jess and Brady.
   4666 
   4667         Set the application cache path.
   4668         
   4669         * WebView.cpp:
   4670         (WebKitSetApplicationCachePathIfNecessary):
   4671         New function that sets the cache path.
   4672         
   4673         (WebView::initWithFrame):
   4674         Set the application cache path.
   4675         
   4676 2008-05-19  Ada Chan  <adachan (a] apple.com>
   4677 
   4678         Added IWebCookieManager interface which allows client to set the
   4679         CFHTTPCookieStorageRef that WebCore should use.
   4680         
   4681         Implement IWebCookieManager interface in WebCookieManager.
   4682         
   4683         Update the cookie accept policy in the current cookie storage.
   4684 
   4685         Reviewed by Steve Falkenburg.
   4686 
   4687         * ForEachCoClass.h:
   4688         * Interfaces/IWebCookieManager.idl: Added.
   4689         * Interfaces/WebKit.idl:
   4690         * WebCookieManager.cpp: Added.
   4691         (WebCookieManager::createInstance):
   4692         (WebCookieManager::WebCookieManager):
   4693         (WebCookieManager::~WebCookieManager):
   4694         (WebCookieManager::QueryInterface):
   4695         (WebCookieManager::AddRef):
   4696         (WebCookieManager::Release):
   4697         (WebCookieManager::cookieStorage):
   4698         (WebCookieManager::setCookieStorage):
   4699         * WebCookieManager.h: Added.
   4700         * WebKit.vcproj/WebKit.vcproj:
   4701         * WebKitClassFactory.cpp:
   4702         * WebView.cpp:
   4703         (updateSharedSettingsFromPreferencesIfNeeded):
   4704 
   4705 2008-05-16  Stephanie Lewis  <slewis (a] apple.com>
   4706 
   4707         Reviewed by Steve.
   4708 
   4709         Get pending unload event count from WebCore.
   4710 
   4711         * Interfaces/IWebFramePrivate.idl:
   4712         * WebFrame.cpp:
   4713         (WebFrame::pendingFrameUnloadEventCount):
   4714         * WebFrame.h:
   4715 
   4716 2008-05-16  Matt Lilek  <webkit (a] mattlilek.com>
   4717 
   4718         Rubber stamped by Oliver.
   4719 
   4720         Remove the Drosera sub-project.
   4721 
   4722         * WebKit.vcproj/WebKit.sln:
   4723 
   4724 2008-05-16  Brady Eidson  <beidson (a] apple.com>
   4725 
   4726         Reviewed by Steve Falkenburg
   4727         
   4728         <rdar://problem/5942624> - Get LocalStorage persistence working on Windows
   4729         
   4730         * WebPreferenceKeysPrivate.h: Add the LocalStorageDirectory defaults key
   4731         
   4732         * WebPreferences.cpp:
   4733         (WebPreferences::initializeDefaultSettings):
   4734         (WebPreferences::localStorageDatabasePath):
   4735         (WebPreferences::setLocalStorageDatabasePath):
   4736         * WebPreferences.h:
   4737         * Interfaces/IWebPreferencesPrivate.idl:
   4738 
   4739         * WebView.cpp:
   4740         (WebView::initWithFrame): Set the path in the WebCore::Settings after new Page creation
   4741 
   4742 2008-05-06  Brady Eidson  <beidson (a] apple.com>
   4743 
   4744         Reviewed by Tim Hatcher
   4745 
   4746         Until the settings/preferences equation can be reworked, we'll need to manually set the local storage path
   4747         before setting the page group of the new page.
   4748 
   4749         Since I still need to add the local storage path to WebPreferences on Windows, mark this with a FIXME for now.
   4750 
   4751         * WebView.cpp:
   4752         (WebView::initWithFrame): Mark an important FIXME for setting the LocalStorage path as
   4753           appropriate.  Until this FIXME is handled, Windows will have no persistent LocalStorage
   4754 
   4755 2008-05-14  Adam Roben  <aroben (a] apple.com>
   4756 
   4757         Fix Bug 18767: Inspector is currently pretty much useless on Windows
   4758 
   4759         <https://bugs.webkit.org/show_bug.cgi?id=18767>
   4760 
   4761         Reviewed by Tim Hatcher.
   4762 
   4763         * WebCoreSupport/WebInspectorClient.cpp:
   4764         (WebInspectorClient::highlight): Only move the highlight behind the
   4765         Inspector window when first creating the highlight, not every time we
   4766         update it.
   4767 
   4768 2008-05-13  Adam Roben  <aroben (a] apple.com>
   4769 
   4770         Neuter WebScriptDebugServer
   4771 
   4772         Some upcoming changes to JavaScriptDebugServer and
   4773         JavaScriptDebugListener will break WebScriptDebugServer. Since Drosera
   4774         is being replaced by the Inspector's debugger, and Drosera is the only
   4775         client of WebScriptDebugServer, it makes more sense to get rid of
   4776         WebScriptDebugServer than to update it to keep it working.
   4777 
   4778         We can't actually remove WebScriptDebugServer entirely yet, so I've
   4779         just made it non-functional. This will completely break Drosera, but
   4780         as stated above, Drosera's days are numbered anyway.
   4781 
   4782         Reviewed by Tim Hatcher and Kevin McCullough.
   4783 
   4784         * WebCoreSupport/WebFrameLoaderClient.cpp:
   4785         (WebFrameLoaderClient::dispatchDidLoadMainResource): Removed all code
   4786         in this function.
   4787         * WebKitDLL.cpp:
   4788         (LocalServerDidDie): Ditto.
   4789         * WebScriptDebugServer.cpp: Made all IWebScriptDebugServer functions
   4790         return E_NOTIMPL.
   4791         * WebScriptDebugServer.h: Removed everything but the
   4792         IWebScriptDebugServer functions.
   4793 
   4794 2008-05-12  Dan Bernstein  <mitz (a] apple.com>
   4795 
   4796         - build fix
   4797 
   4798         * Interfaces/WebKit.idl: Touched.
   4799 
   4800 2008-05-12  Dan Bernstein  <mitz (a] apple.com>
   4801 
   4802         Reviewed by Ada Chan.
   4803 
   4804         - WebKit/win changes for https://bugs.webkit.org/show_bug.cgi?id=17097
   4805           <rdar://problem/5715471> CGFontRefs (and HFONTs on Windows) leak because FontCache grows without bound
   4806 
   4807         Added font cache statistics and a function to purge inactive font data.
   4808 
   4809         * Interfaces/IWebCoreStatistics.idl:
   4810         * WebCoreStatistics.cpp:
   4811         (WebCoreStatistics::cachedFontDataCount):
   4812         (WebCoreStatistics::cachedFontDataInactiveCount):
   4813         (WebCoreStatistics::purgeInactiveFontData):
   4814         (WebCoreStatistics::glyphPageCount):
   4815         * WebCoreStatistics.h:
   4816 
   4817 2008-05-12  Adam Roben  <aroben (a] apple.com>
   4818 
   4819         Build fix
   4820 
   4821         * WebKitPrefix.cpp: Touch this so that it will rebuild after
   4822         ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
   4823 
   4824 2008-05-12  Alexey Proskuryakov  <ap (a] webkit.org>
   4825 
   4826         Roll out recent  threading changes (r32807, r32810, r32819, r32822) to simplify
   4827         SquirrelFish merging.
   4828 
   4829         * WebCoreStatistics.cpp:
   4830         (WebCoreStatistics::javaScriptObjectsCount):
   4831         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   4832         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   4833         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   4834         * WebJavaScriptCollector.cpp:
   4835         (WebJavaScriptCollector::objectCount):
   4836         * WebScriptCallFrame.cpp:
   4837         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   4838 
   4839 2008-05-09  Brady Eidson  <beidson (a] apple.com>
   4840 
   4841         Reviewed by Adam Roben
   4842 
   4843         Fix a hang-on-quit bug where in the DLL_PROCESS_DETACH DllMain callback, we assummed that
   4844         we could cleanly shutdown WebKit but we couldn't because any background threads have already
   4845         been uncleanly aborted at that point.
   4846         
   4847         * ForEachCoClass.cpp:
   4848         (shutDownWebKit): Moved from WebKitDLL to here, to be exposed via WebKit.def
   4849         * ForEachCoClass.h:
   4850         
   4851         * WebKit.vcproj/WebKit.def:
   4852         * WebKit.vcproj/WebKit_debug.def:
   4853         
   4854         * WebKitDLL.cpp:
   4855         (DllMain): Don't call shutDownWebKit here
   4856 
   4857 2008-05-09  Sam Weinig  <sam (a] webkit.org>
   4858 
   4859         Rubber-stamped by Mark Rowe.
   4860 
   4861         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
   4862 
   4863         * WebKit.vcproj/WebKit.vcproj:
   4864 
   4865 2008-05-09  Adam Roben  <aroben (a] apple.com>
   4866 
   4867         Build fix
   4868 
   4869         * Interfaces/WebKit.idl: Touched.
   4870 
   4871 2008-05-06  Alice Liu  <alice.liu (a] apple.com>
   4872 
   4873         Reviewed by Adele Peterson and John Sullivan.
   4874 
   4875         changes needed to build on Windows after r32911 and r32927
   4876 
   4877         * AccessibleBase.cpp:
   4878         (AccessibleBase::get_accParent):
   4879         * AccessibleDocument.cpp:
   4880         (AccessibleDocument::document):
   4881 
   4882 2008-05-06  Brady Eidson  <beidson (a] apple.com>
   4883 
   4884         Reviewed by Darin Adler
   4885 
   4886         Preparation for upcoming work making LocalStorage persistent.
   4887 
   4888         When the application terminates, all LocalStorage areas must be sync'ed out to disk first.
   4889 
   4890         * WebKitDLL.cpp:
   4891         (shutDownWebKit): Close all LocalStorage areas before quitting.
   4892 
   4893 2008-05-05  Anders Carlsson  <andersca (a] apple.com>
   4894 
   4895         Reviewed by John.
   4896 
   4897         Add preference for enabling the offline web application cache.
   4898         
   4899         * Interfaces/IWebPreferencesPrivate.idl:
   4900         * WebPreferenceKeysPrivate.h:
   4901         * WebPreferences.cpp:
   4902         (WebPreferences::initializeDefaultSettings):
   4903         (WebPreferences::setOfflineWebApplicationCacheEnabled):
   4904         (WebPreferences::offlineWebApplicationCacheEnabled):
   4905         * WebPreferences.h:
   4906         * WebView.cpp:
   4907         (WebView::notifyPreferencesChanged):
   4908 
   4909 2008-05-05  Sam Weinig  <sam (a] webkit.org>
   4910 
   4911         Reviewed by Tim Hatcher.
   4912 
   4913         Make the Inspector's localizable strings file match the format used by Dashboard widgets.
   4914 
   4915         * WebCoreSupport/WebInspectorClient.cpp:
   4916         (WebInspectorClient::localizedStringsURL):
   4917 
   4918 2008-05-05  Steve Falkenburg  <sfalken (a] apple.com>
   4919 
   4920         Add WebPreference for application chrome mode.
   4921         
   4922         Reviewed by Dave Hyatt.
   4923 
   4924         * Interfaces/IWebPreferencesPrivate.idl:
   4925         * WebPreferenceKeysPrivate.h:
   4926         * WebPreferences.cpp:
   4927         (WebPreferences::initializeDefaultSettings):
   4928         (WebPreferences::inApplicationChromeMode):
   4929         (WebPreferences::setApplicationChromeMode):
   4930         * WebPreferences.h:
   4931         * WebView.cpp:
   4932         (WebView::notifyPreferencesChanged):
   4933 
   4934 2008-05-02  Alexey Proskuryakov  <ap (a] webkit.org>
   4935 
   4936         Reviewed by Geoffrey Garen.
   4937 
   4938         https://bugs.webkit.org/show_bug.cgi?id=18826
   4939         Make JavaScript heap per-thread
   4940 
   4941         * WebCoreStatistics.cpp:
   4942         (WebCoreStatistics::javaScriptObjectsCount):
   4943         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   4944         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   4945         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   4946         * WebJavaScriptCollector.cpp:
   4947         (WebJavaScriptCollector::objectCount):
   4948         * WebScriptCallFrame.cpp:
   4949         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   4950         Replaced static Collector calls with calls to a current thread's instance. Pass ExecState to jsString().
   4951 
   4952 2008-04-29  Ada Chan  <adachan (a] apple.com>
   4953 
   4954         Support text shadow in WebDrawText().
   4955         Remove DrawTextAtPoint() since it is only called by WebDrawText().
   4956 
   4957         Reviewed by Adam.
   4958 
   4959         * WebKit.vcproj/WebKit.def:
   4960         * WebKit.vcproj/WebKit_debug.def:
   4961         * WebKitGraphics.cpp:
   4962         (WebDrawText):
   4963         * WebKitGraphics.h:
   4964 
   4965 2008-04-29  Adam Roben  <aroben (a] apple.com>
   4966 
   4967         Restore the beloved COMPtr::operator&
   4968 
   4969 2008-04-29  Adam Roben  <aroben (a] apple.com>
   4970 
   4971         Windows build fix
   4972 
   4973         Replaced uses of COMPtr::operator& with COMPtr::adoptionPointer.
   4974 
   4975 2008-04-29  Adam Roben  <aroben (a] apple.com>
   4976 
   4977         Fix a Windows build error
   4978 
   4979         * WebScriptCallFrame.cpp:
   4980         (WebScriptCallFrame::variableNames): Don't use ::adopt now that
   4981         PropertyNameArray has no swap function.
   4982 
   4983 2008-04-28  Adam Roben  <aroben (a] apple.com>
   4984 
   4985         Fix some Windows build errors in WebKit
   4986 
   4987         * Interfaces/WebKit.idl: Touched to force Interfaces to rebuild.
   4988         * WebKitPrefix.cpp: Touched to force WebKit to rebuild.
   4989 
   4990 2008-04-25  Alexey Proskuryakov  <ap (a] webkit.org>
   4991 
   4992         Reviewed by Darin Adler.
   4993 
   4994         Fix run-webkit-tests --threading
   4995         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
   4996         Proxy server issue in Sunday's Nightly
   4997 
   4998         * WebView.cpp: (WebView::WebView): Initialize threading. Previously, this was only done from
   4999         icon database code, which is not robust enough.
   5000 
   5001 2008-04-26  Adam Barth <hk9565 (a] gmail.com>
   5002 
   5003         Reviewed by Adam Roben and Sam Weinig.
   5004 
   5005         Renamed "domain" method to "host" to match SecurityOrigin.
   5006 
   5007         * Interfaces/IWebSecurityOrigin.idl:
   5008         * WebSecurityOrigin.cpp:
   5009         (WebSecurityOrigin::host):
   5010         * WebSecurityOrigin.h:
   5011 
   5012 2008-04-25  Anders Carlsson  <andersca (a] apple.com>
   5013 
   5014         Reviewed by Adam.
   5015 
   5016         Fix internal debug build.
   5017         
   5018         * WebKit.vcproj/WebKit.vcproj:
   5019 
   5020 2008-04-24  Dan Bernstein  <mitz (a] apple.com>
   5021 
   5022         - build fix
   5023 
   5024         * WebView.cpp:
   5025         (WebView::handleContextMenuEvent):
   5026 
   5027 2008-04-24  Brady Eidson  <beidson (a] apple.com>
   5028 
   5029         Reviewed by Darin
   5030 
   5031         Revert my previous change to WebKit/Win until I can make it act more like the new Mac code
   5032 
   5033         * WebView.cpp:
   5034         (WebView::initWithFrame):
   5035 
   5036 2008-04-24  Anders Carlsson  <andersca (a] apple.com>
   5037 
   5038         Reviewed by Sam.
   5039 
   5040         Change some String arguments to be const references instead.
   5041 
   5042         * WebCoreSupport/WebEditorClient.cpp:
   5043         (WebEditorClient::shouldInsertText):
   5044         * WebCoreSupport/WebEditorClient.h:
   5045 
   5046 2008-04-23  Brady Eidson  <beidson (a] apple.com>
   5047 
   5048         Reviewed by Sam Weinig
   5049 
   5050         In some current work I noticed that when a new Page is created, it is possible that it requires info from its Settings
   5051         object before the Settings object is initialized.  It seems quite prudent to post the preferences changed notification,
   5052         thereby populating the Settings object, immediately after the Page is created.
   5053 
   5054         * WebView.cpp:
   5055         (WebView::initWithFrame): Post the notification right after the Page is created
   5056 
   5057 2008-04-23  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5058 
   5059         Reviewed by Brady.
   5060 
   5061         Implement accDoDefaultAction().
   5062 
   5063         * AccessibleBase.cpp:
   5064         (AccessibleBase::accDoDefaultAction): Call the object's
   5065         performDefaultAction() method. Return S_FALSE if the call returns false,
   5066         indicating that the object has no default action associated with it.
   5067 
   5068 2008-04-23  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5069 
   5070         Reviewed by Adam.
   5071 
   5072         Implement accHitTest().
   5073 
   5074         * AccessibleBase.cpp:
   5075         (AccessibleBase::accHitTest): Perform a hit test for a child object. If
   5076         none is found, report whether the point was within our own bounding box.
   5077 
   5078 2008-04-23  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5079 
   5080         Reviewed by Adam and Darin.
   5081 
   5082         Implement accNavigate().
   5083 
   5084         * AccessibleBase.cpp:
   5085         (AccessibleBase::accNavigate): This method navigates between elements,
   5086         given a start point and a direction. The directions UP, DOWN, LEFT,
   5087         RIGHT are not are not implemented, matching Mozilla and IE. The
   5088         directions FIRSTCHILD and LASTCHILD are only allowed from self. NEXT and
   5089         PREVIOUS are allowed from self or any of our children.
   5090 
   5091 2008-04-23  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5092 
   5093         Reviewed by Adam.
   5094 
   5095         Implement accLocation().
   5096 
   5097         * AccessibleBase.cpp:
   5098         (AccessibleBase::accLocation): Report the screen coordinates for the
   5099         object's bounding box.
   5100 
   5101 2008-04-23  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5102 
   5103         Reviewed by Adam, Darin, Oliver.
   5104 
   5105         Implement get_accDefaultAction().
   5106 
   5107         * AccessibleBase.cpp:
   5108         (AccessibleBase::get_accDefaultAction): Report the result of calling the
   5109         object's actionVerb method.
   5110         * English.lproj/Localizable.strings: Updated with new strings.
   5111         * WebCoreLocalizedStrings.cpp: 
   5112         (WebCore::AXButtonActionVerb): Return a localized string representing
   5113         the object's default action.
   5114         (WebCore::AXRadioButtonActionVerb): Same.
   5115         (WebCore::AXTextFieldActionVerb): Same.
   5116         (WebCore::AXCheckedCheckBoxActionVerb): Same
   5117         (WebCore::AXUncheckedCheckBoxActionVerb): Same.
   5118         (WebCore::AXLinkActionVerb): Same.
   5119 
   5120 2008-04-23  Daniel Zucker  <zucker (a] wake3.com>
   5121 
   5122         Reviewed by Adam Roben.
   5123 
   5124         <https://bugs.webkit.org/show_bug.cgi?id=18468>
   5125 
   5126         * WebError.h:  include RetainPtr.h to fix build errors in Cairo build
   5127 
   5128 2008-04-23  Daniel Zucker  <zucker (a] wake3.com>
   5129 
   5130         Reviewed by Adam Roben.
   5131 
   5132         Move the location of #if USE(CFNETWORK) to fix a cairo/curl build error.
   5133         <https://bugs.webkit.org/show_bug.cgi?id=18470>
   5134 
   5135         * WebError.cpp:
   5136         (WebError::sslPeerCertificate):
   5137 
   5138 2008-04-22  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5139 
   5140         Reviewed by Adam.
   5141 
   5142         Implement get_accFocus().
   5143 
   5144         * AccessibleBase.cpp:
   5145         (AccessibleBase::get_accRole): Remove redundant initialization;
   5146         VariantInit does this.
   5147         (AccessibleBase::get_accState): Same.
   5148         (AccessibleBase::get_accSelection): Relocated next to accSelect().
   5149         (AccessibleBase::get_accFocus): If the focused object is this object or
   5150         a child of this object, report it. Otherwise, report VT_EMPTY.
   5151 
   5152 2008-04-22  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5153 
   5154         Reviewed by Sam.
   5155 
   5156         Implement get_accKeyboardShortcut().
   5157 
   5158         * AccessibleBase.cpp:
   5159         (AccessibleBase::get_accKeyboardShortcut): Report the key combination
   5160         that will perform the object's access key action, represented as a
   5161         string.
   5162 
   5163 2008-04-19  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5164 
   5165         Reviewed by Darin Adler.
   5166 
   5167         Implement get_accHelp().
   5168 
   5169         * AccessibleBase.cpp:
   5170         (AccessibleBase::get_accHelp): Report the result of calling the object's
   5171         helpText() method.
   5172 
   5173 2008-04-19  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5174 
   5175         Reviewed by Darin Adler.
   5176 
   5177         Implement get_accState().
   5178 
   5179         * AccessibleBase.cpp:
   5180         (AccessibleBase::get_accState):
   5181 
   5182 2008-04-21  Alexey Proskuryakov  <ap (a] webkit.org>
   5183 
   5184         Reviewed by Darin Adler.
   5185 
   5186         Move collector main thread initialization from WebKit/win to KJS::initializeThreading.
   5187 
   5188         * WebView.cpp:
   5189         (WebView::WebView):
   5190 
   5191 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5192 
   5193         Reviewed by Darin Adler.
   5194 
   5195         Implement get_accRole().
   5196 
   5197         * AccessibleBase.cpp:
   5198         (AccessibleBase::get_accRole): Report the result of role().
   5199         (MSAARole): Added; returns the MSAA role for a WebCore role.
   5200         (AccessibleBase::role): Return the MSAA role for the object's roleValue.
   5201         * AccessibleBase.h: Add declaration for role().
   5202 
   5203 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5204 
   5205         Reviewed by Darin Adler.
   5206 
   5207         Implement get_accName(), get_accValue(), get_accDescription(). Added
   5208         virtual methods that accessible objects can override to customize the
   5209         result.
   5210 
   5211         * AccessibleBase.cpp:
   5212         (AccessibleBase::get_accName): Report result of name().
   5213         (AccessibleBase::get_accValue): Report result of value().
   5214         (AccessibleBase::get_accDescription): Report result of description().
   5215         (AccessibleBase::name): Added; returns AccessibilityObject::title().
   5216         (AccessibleBase::value): Added; returns
   5217         AccessibilityObject::stringValue().
   5218         (AccessibleBase::description): Added; returns
   5219         AccessibilityObject::accessibilityDescription().
   5220         * AccessibleBase.h: Added declarations for name(), value(), and
   5221         description().
   5222         * ChangeLog: Fix my misuse of "definition."
   5223 
   5224 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5225 
   5226         Fix build after r32231.
   5227 
   5228         * WebFrame.cpp:
   5229         (WebFrame::renderTreeAsExternalRepresentation): renderer() ->
   5230         contentRenderer()
   5231 
   5232 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5233 
   5234         Fix build after r32231.
   5235 
   5236         * WebView.cpp:
   5237         (WebView::paintIntoBackingStore): renderer() -> contentRenderer()
   5238         (WebView::elementAtPoint): Same.
   5239 
   5240 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5241 
   5242         * AccessibleBase.cpp: Build fix for copy/paste error.
   5243 
   5244 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5245 
   5246         Reviewed by Darin Adler.
   5247 
   5248         Implement IAccessible::get_accChild().
   5249 
   5250         * AccessibleBase.cpp:
   5251         (AccessibleBase::get_accChild): Call getAccessibilityObjectForChild
   5252         to find the AccessibilityObject for the VARIANT vChild. Get the
   5253         AccessibilityObjectWrapper for the child, add a ref, and pass it back.
   5254         (AccessibleBase::getAccessibilityObjectForChild): Added; finds the
   5255         AccessibilityObject referred to by a VARIANT, or returns a COM error on
   5256         failure.
   5257         (AccessibleBase::wrapper): Added; returns the wrapper for the
   5258         AccessibilityObject. Creates one if necessary.
   5259         * AccessibleBase.h: Added declarations for wrapper() and
   5260         getAccessibilityObjectForChild().
   5261 
   5262 2008-04-18  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5263 
   5264         Reviewed by Darin, Ollie. 
   5265 
   5266         * AccessibleBase.cpp:
   5267         (AccessibleBase::get_accChildCount): Implement get_accChildCount.
   5268 
   5269 2008-04-17  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5270 
   5271         Reviewed by Darin Adler.
   5272 
   5273         Implement IAccessible::get_accParent(). 
   5274 
   5275         * AccessibleBase.cpp:
   5276         (AccessibleBase::get_accParent): Call AccessibleObjectFromWindow with
   5277         OBJID_WINDOW. This will be handled by Windows to return the default
   5278         accessible object for the WebView, because we only handle OBJID_CLIENT.
   5279         * WebView.cpp:
   5280         (WebView::AccessibleObjectFromWindow): Added; calls through to the
   5281         AccessibleObjectFromWindow in the MSAA DLL.
   5282         * WebView.h: Added declaration for AccessibleObjectFromWindow.
   5283 
   5284 2008-04-17  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5285 
   5286         Reviewed by Darin Adler.
   5287 
   5288         Return an AccessibleDocument when our root accessible object is queried
   5289         for.
   5290 
   5291         * AccessibleDocument.cpp: Added; represents an AccessibilityObject that
   5292         itself represents a Document.
   5293         (AccessibleDocument::AccessibleDocument): Initialize AccessibleBase with
   5294         the AccessibilityObject for this Document.
   5295         * AccessibleDocument.h: Added.
   5296         * WebFrame.cpp:
   5297         (WebFrame::accessible): If m_accessible is 0, or if Document in this
   5298         frame does not match the Document in the cached m_accessible object,
   5299         create a new AccessibleDocument for this frame's Document.
   5300         * WebFrame.h: Swap AccessibleBase.h for AccessibleDocument.h
   5301         * WebKit.vcproj/WebKit.vcproj: Add AccessibleDocument.{h,cpp}
   5302 
   5303 2008-04-17  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5304 
   5305         Reviewed by Darin Adler.
   5306 
   5307         Respond to WM_GETOBJECT messages. Currently returns NULL.
   5308 
   5309         * WebFrame.cpp:
   5310         (WebFrame::accessible): Added; will return the root accessible object
   5311         for this frame.
   5312         * WebFrame.h: Added declaration for accessible().
   5313         * WebView.cpp:
   5314         (WebViewWndProc): Handle WM_GETOBJECT messages by calling onGetObject().
   5315         (WebView::onGetObject): Added; enables the AXObjectCache in WebCore,
   5316         queries the top-level frame for its root accessible object, and loads
   5317         the MSAA DLL and locates its LresultFromObject function. If calling
   5318         LresultFromObject succeeds, it returns a reference to the accessible
   5319         object to pass back to Windows. If not, we return false and let Windows
   5320         handle the request through DefWindowProc.
   5321         * WebView.h: Added declaration for onGetObject().
   5322 
   5323 2008-04-18  Brady Eidson  <beidson (a] apple.com>
   5324 
   5325         Reviewed by Sam Weinig
   5326 
   5327         Don't clear the PageGroup on _close, as the WebCore::Page destructor already does this.
   5328         No reason to do the work twice...
   5329 
   5330         * WebView.cpp:
   5331         (WebView::close):
   5332 
   5333 2008-04-18  Adam Roben  <aroben (a] apple.com>
   5334 
   5335         Update WebScriptDebugServer for JavaScriptDebugListener changes
   5336 
   5337         Reviewed by Tim Hatcher.
   5338 
   5339         * WebScriptDebugServer.cpp: Changed to use KJS::UString instead of
   5340         WebCore::String.
   5341         * WebScriptDebugServer.h: Ditto.
   5342 
   5343 2008-04-16  Jon Honeycutt  <jhoneycutt (a] apple.com>
   5344 
   5345         Reviewed by Darin Adler.
   5346 
   5347         Add a base AccessibilityObject wrapper class. Currently just stubs all
   5348         of the IAccessible methods.
   5349 
   5350         * AccessibleBase.cpp: Added. Implements IAccessible, and inherits from
   5351         WebCore::AccessibilityObjectWrapper.
   5352         (AccessibleBase::AccessibleBase): Set the object's wrapper to this
   5353         instance. 
   5354         (AccessibleBase::~AccessibleBase):
   5355         (AccessibleBase::createInstance): Create an instance of a wrapper for
   5356         this AccessibilityObject.
   5357         (AccessibleBase::QueryInterface):
   5358         (AccessibleBase::Release):
   5359         (AccessibleBase::get_accParent):
   5360         (AccessibleBase::get_accChildCount):
   5361         (AccessibleBase::get_accChild):
   5362         (AccessibleBase::get_accName):
   5363         (AccessibleBase::get_accValue):
   5364         (AccessibleBase::get_accDescription):
   5365         (AccessibleBase::get_accRole):
   5366         (AccessibleBase::get_accState):
   5367         (AccessibleBase::get_accHelp):
   5368         (AccessibleBase::get_accKeyboardShortcut):
   5369         (AccessibleBase::accSelect):
   5370         (AccessibleBase::get_accFocus):
   5371         (AccessibleBase::get_accSelection):
   5372         (AccessibleBase::get_accDefaultAction):
   5373         (AccessibleBase::accLocation):
   5374         (AccessibleBase::accNavigate):
   5375         (AccessibleBase::accHitTest):
   5376         * AccessibleBase.h: Added.
   5377         (AccessibleBase::AddRef):
   5378         (AccessibleBase::put_accName):
   5379         (AccessibleBase::put_accValue):
   5380         (AccessibleBase::get_accHelpTopic):
   5381         (AccessibleBase::GetTypeInfoCount):
   5382         (AccessibleBase::GetTypeInfo):
   5383         (AccessibleBase::GetIDsOfNames):
   5384         (AccessibleBase::Invoke):
   5385         (AccessibleBase::detach): Detach this wrapper from its object.
   5386         * WebKit.vcproj/WebKit.vcproj:
   5387 
   5388 2008-04-15  Anders Carlsson  <andersca (a] apple.com>
   5389 
   5390         Reviewed by Adam.
   5391 
   5392         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
   5393 
   5394         * WebKit.vcproj/WebKit.vcproj:
   5395 
   5396 2008-04-12  Matt Lilek  <webkit (a] mattlilek.com>
   5397 
   5398         Not reviewed, build fix.
   5399 
   5400         * WebView.cpp:
   5401         (WebView::paintDocumentRectToContext):
   5402 
   5403 2008-04-11  Steve Falkenburg  <sfalken (a] apple.com>
   5404 
   5405         Fix caching typo.
   5406         
   5407         Made this code match the Mac.
   5408         
   5409         Reviewed by Mark Rowe.
   5410 
   5411         * WebView.cpp:
   5412         (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
   5413 
   5414 2008-04-11  Adam Roben  <aroben (a] apple.com>
   5415 
   5416         * ForEachCoClass.h: Added a deprecation notice.
   5417 
   5418 2008-04-11  Adam Roben  <aroben (a] apple.com>
   5419 
   5420         Fix Bug 18376: r31733 and 27 don't work w/Safari 3.1
   5421         
   5422         <https://bugs.webkit.org/show_bug.cgi?id=18376>
   5423 
   5424         Rubberstamped by Steve.
   5425 
   5426         * ForEachCoClass.h: Move post-3.1 classes to the end of the
   5427         FOR_EACH_COCLASS macro so that pre-3.1 classes will be in the place
   5428         Safari expects them to be. We will soon be deprecating
   5429         setUseOpenSourceWebKit/progIDForClass because it is clearly very
   5430         fragile.
   5431 
   5432 2008-04-10  Ada Chan  <adachan (a] apple.com>
   5433 
   5434         Added WebCoreStatistics that provides stats on Javascript objects
   5435         and IconDatabase.
   5436         
   5437         Changed WebCache::statistics() to additionally return xsl stylesheets data
   5438         and data on live sizes and decoded sizes.
   5439 
   5440         Reviewed by Steve.
   5441 
   5442         * ForEachCoClass.h:
   5443         * Interfaces/IWebCoreStatistics.idl: Added.
   5444         * Interfaces/WebKit.idl:
   5445         * WebCache.cpp:
   5446         (WebCache::statistics):
   5447         * WebCoreStatistics.cpp: Added.
   5448         (WebCoreStatistics::WebCoreStatistics):
   5449         (WebCoreStatistics::~WebCoreStatistics):
   5450         (WebCoreStatistics::createInstance):
   5451         (WebCoreStatistics::QueryInterface):
   5452         (WebCoreStatistics::AddRef):
   5453         (WebCoreStatistics::Release):
   5454         (WebCoreStatistics::javaScriptObjectsCount):
   5455         (WebCoreStatistics::javaScriptGlobalObjectsCount):
   5456         (WebCoreStatistics::javaScriptProtectedObjectsCount):
   5457         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
   5458         (WebCoreStatistics::iconPageURLMappingCount):
   5459         (WebCoreStatistics::iconRetainedPageURLCount):
   5460         (WebCoreStatistics::iconRecordCount):
   5461         (WebCoreStatistics::iconsWithDataCount):
   5462         * WebCoreStatistics.h: Added.
   5463         * WebKit.vcproj/WebKit.vcproj:
   5464         * WebKitClassFactory.cpp:
   5465 
   5466 2008-04-09  Steve Falkenburg  <sfalken (a] apple.com>
   5467 
   5468         Delete backing store (after a delay) when a WebView's top-level parent becomes inactive.
   5469 
   5470         Reviewed by Brady Eidson.
   5471 
   5472         * WebView.cpp:
   5473         (WebView::windowReceivedMessage):
   5474 
   5475 2008-04-08  Adam Roben  <aroben (a] apple.com>
   5476 
   5477         Export callOnMainThread from WebKit.dll
   5478 
   5479         Rubberstamped by Anders.
   5480 
   5481         * WebKit.vcproj/WebKit.def:
   5482         * WebKit.vcproj/WebKit_debug.def:
   5483 
   5484 2008-04-08  Adam Roben  <aroben (a] apple.com>
   5485 
   5486         Move callOnMainThread to WTF
   5487 
   5488         Reviewed by Alexey Proskuryakov.
   5489 
   5490         * WebIconDatabase.cpp: Updated #include
   5491 
   5492 2008-04-08  Steve Falkenburg  <sfalken (a] apple.com>
   5493 
   5494         Add missing increment/decrement COM class counts to detect leaks.
   5495         
   5496         Reviewed by Adam Roben.
   5497 
   5498         * CFDictionaryPropertyBag.cpp:
   5499         (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
   5500         (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
   5501         * CFDictionaryPropertyBag.h:
   5502         * HTTPHeaderPropertyBag.cpp:
   5503         (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
   5504         (HTTPHeaderPropertyBag::~HTTPHeaderPropertyBag):
   5505         * HTTPHeaderPropertyBag.h:
   5506         * WebActionPropertyBag.cpp:
   5507         (WebActionPropertyBag::WebActionPropertyBag):
   5508         (WebActionPropertyBag::~WebActionPropertyBag):
   5509         * WebDocumentLoader.cpp:
   5510         (WebDocumentLoader::WebDocumentLoader):
   5511         (WebDocumentLoader::~WebDocumentLoader):
   5512         * WebDropSource.cpp:
   5513         (WebDropSource::WebDropSource):
   5514         (WebDropSource::~WebDropSource):
   5515         * WebDropSource.h:
   5516         * WebElementPropertyBag.cpp:
   5517         (WebElementPropertyBag::WebElementPropertyBag):
   5518         (WebElementPropertyBag::~WebElementPropertyBag):
   5519         * WebTextRenderer.cpp:
   5520         (WebTextRenderer::WebTextRenderer):
   5521         (WebTextRenderer::~WebTextRenderer):
   5522 
   5523 2008-04-07  Brady Eidson  <beidson (a] apple.com>
   5524 
   5525         Reviewed by John Honeycutt
   5526 
   5527         ENABLE_DOM_STORAGE for Windows
   5528 
   5529         * WebKit.vcproj/WebKit.vcproj:
   5530 
   5531 2008-04-04  Adam Roben  <aroben (a] apple.com>
   5532 
   5533         Export some more WTF functions from WebKit.dll
   5534 
   5535         Reviewed by Alexey Proskuryakov.
   5536 
   5537         * WebKit.vcproj/WebKit.def:
   5538         * WebKit.vcproj/WebKit_debug.def:
   5539 
   5540 2008-04-04  Steve Falkenburg  <sfalken (a] apple.com>
   5541 
   5542         Only delete the backing store of background windows.
   5543 
   5544         Reviewed by Ada Chan.
   5545 
   5546         * WebView.cpp:
   5547         (WebView::WebView):
   5548         (WebView::deleteBackingStore):
   5549         (WebView::paint): Added active check.
   5550         (WebView::deleteBackingStoreSoon):
   5551         (WebView::cancelDeleteBackingStoreSoon): Added.
   5552         (WebView::active): Added.
   5553         (WebView::updateActiveState): Moved active check code from here to active().
   5554         * WebView.h:
   5555 
   5556 2008-04-04  Steve Falkenburg  <sfalken (a] apple.com>
   5557 
   5558         Fix tooltip window leak.
   5559         
   5560         Explicitly call DestroyWindow on the tooltip.
   5561         Destroying its parent won't destroy the tooltip, since it not a WS_CHILD style window.
   5562 
   5563         Reviewed by Ada Chan.
   5564 
   5565         * WebView.cpp:
   5566         (WebView::~WebView):
   5567 
   5568 2008-04-04  Steve Falkenburg  <sfalken (a] apple.com>
   5569 
   5570         Delete backing store after we go 5 seconds without a paint.
   5571                 
   5572         Timer will be reset if a paint occurs, so this won't negatively impact performance.
   5573         
   5574         Reviewed by Ada Chan.
   5575 
   5576         * WebView.cpp:
   5577         (WebView::paint): Call deleteBackingStoreSoon after paint.
   5578         (WebViewWndProc): Add DeleteBackingStoreTimer.
   5579         (WebView::deleteBackingStoreSoon): Added.
   5580         * WebView.h: Add deleteBackingStoreSoon.
   5581 
   5582 2008-04-04  Ada Chan  <adachan (a] apple.com>
   5583 
   5584         <rdar://problem/5830598> Image file opened in the browser window shows "Localized String Not Found' in window's title bar instead file name
   5585         Save WebCoreLocalizedStrings.cpp with UTF8 encoding.
   5586         Changed the format string to take in integers.
   5587 
   5588         Reviewed by Dan.
   5589 
   5590         * English.lproj/Localizable.strings: Updated.
   5591         * WebCoreLocalizedStrings.cpp:
   5592         (WebCore::imageTitle):
   5593 
   5594 2008-04-03  Dan Bernstein  <mitz (a] apple.com>
   5595 
   5596         Reviewed by Dave Hyatt.
   5597 
   5598         - WebKit part of fixing http://bugs.webkit.org/show_bug.cgi?id=6484
   5599           font-weight does not properly support graded weights
   5600 
   5601         * DOMCoreClasses.cpp:
   5602         (DOMElement::font): Updated for the change to FontDescription.
   5603         * WebCoreSupport/WebDragClient.cpp:
   5604         (dragLabelFont): Ditto.
   5605         * WebKitGraphics.cpp:
   5606         (makeFont): Ditto.
   5607         * WebKitGraphics.h: Added a FIXME.
   5608 
   5609 2008-04-03  Steve Falkenburg  <sfalken (a] apple.com>
   5610 
   5611         <rdar://problem/5835382> Calling window.open immediately after window.close can sometimes result in no window being created
   5612         
   5613         Group name tracking needs to happen using code in WebCore::Page, since it is more involved than
   5614         just setting a string.
   5615         
   5616         Reviewed by Adam Roben.
   5617 
   5618         * WebView.cpp:
   5619         (WebView::close): Add null check (found via code inspection).
   5620         (WebView::initWithFrame): Store the group name directly in Page.
   5621         (WebView::setGroupName): Store the group name directly in Page.
   5622         (WebView::groupName): Retrieve the group name directly from Page.
   5623         * WebView.h: Removed m_groupName
   5624 
   5625 2008-04-03  Simon Hausmann  <hausmann (a] webkit.org>
   5626 
   5627         Reviewed by Mark Rowe.
   5628 
   5629         Roll out r31599 and r31605 again after discussion with Mark Rowe.
   5630 
   5631         * WebIconDatabase.cpp:
   5632         (WebIconDatabase::iconForURL):
   5633 
   5634 2008-04-03  Simon Hausmann  <hausmann (a] webkit.org>
   5635 
   5636         Attempted build fix
   5637 
   5638         * WebIconDatabase.cpp:
   5639         (WebIconDatabase::iconForURL): Adjust to changed iconForPageURL
   5640         signature
   5641 
   5642 2008-04-03  Ada Chan  <adachan (a] apple.com>
   5643 
   5644         Allow WebArchive to be created via COM.
   5645         Replaced IID_DOMNode with __uuidof(DOMNode).
   5646 
   5647         Reviewed by Adam and Steve.
   5648 
   5649         * DOMCoreClasses.cpp:
   5650         (DOMNode::QueryInterface):
   5651         (DOMNode::isSameNode):
   5652         * DOMCoreClasses.h:
   5653         * ForEachCoClass.h:
   5654         * Interfaces/WebKit.idl:
   5655         * WebArchive.cpp:
   5656         (WebArchive::createInstance):
   5657         * WebArchive.h:
   5658         * WebKitClassFactory.cpp:
   5659 
   5660 2008-04-01  Brady Eidson  <beidson (a] apple.com>
   5661 
   5662         Reviewed by Jon Honeycutt and Cake
   5663 
   5664         Hookup WebArchive API enough to be able to save the archive of a DOMNode
   5665         
   5666         * DOMCoreClasses.h: Add a GUID for DOMNode
   5667 
   5668         * Interfaces/IWebArchive.idl: Add initWithNode()
   5669 
   5670         * WebArchive.cpp:
   5671         (WebArchive::initWithNode):
   5672         (WebArchive::data): Actually return LegacyWebArchive-style data
   5673         * WebArchive.h:
   5674 
   5675 2008-04-01  Brady Eidson  <beidson (a] apple.com>
   5676 
   5677         Reviewed by Adam Roben
   5678 
   5679         Add empty implementations of WebArchive for future work
   5680         
   5681         * WebArchive.cpp: Added.
   5682         (WebArchive::createInstance):
   5683         (WebArchive::WebArchive):
   5684         (WebArchive::~WebArchive):
   5685         (WebArchive::QueryInterface):
   5686         (WebArchive::AddRef):
   5687         (WebArchive::Release):
   5688         (WebArchive::initWithMainResource):
   5689         (WebArchive::initWithData):
   5690         (WebArchive::mainResource):
   5691         (WebArchive::subResources):
   5692         (WebArchive::subframeArchives):
   5693         (WebArchive::data):
   5694         * WebArchive.h: Added.
   5695         
   5696         * WebKit.vcproj/WebKit.vcproj:
   5697 
   5698 2008-03-29  Adam Roben  <aroben (a] apple.com>
   5699 
   5700         Rename IWebViewPrivate::addAdditionalPluginPath to
   5701         addAdditionalPluginDirectory
   5702 
   5703         Reviewed by Mitz Pettel.
   5704 
   5705         * Interfaces/IWebViewPrivate.idl:
   5706         * Interfaces/WebKit.idl: Touched to make sure the Interfaces project
   5707         rebuilds.
   5708         * WebView.cpp:
   5709         (WebView::addAdditionalPluginDirectory):
   5710         * WebView.h:
   5711 
   5712 2008-03-26  Brent Fulgham  <bfulgham (a] gmail.com>
   5713 
   5714         Reviewed by Adam Roben.
   5715 
   5716         Add necessary files and build commands to vcproj files to
   5717         build a Curl-based Windows WebKit.  For details, see
   5718         http://bugs.webkit.org/show_bug.cgi?id=17985
   5719 
   5720         * WebKit.vcproj/WebKit.vcproj:
   5721 
   5722 2008-03-25  Adam Roben  <aroben (a] apple.com>
   5723 
   5724         Attempted build fix
   5725 
   5726         * WebKit.vcproj/WebKit.sln: Make testapi build after most other
   5727         projects.
   5728 
   5729 2008-03-25  Adam Roben  <aroben (a] apple.com>
   5730 
   5731         Fix Bug 18077: Integrate testapi.c into the Windows build
   5732 
   5733         <http://bugs.webkit.org/show_bug.cgi?id=18077>
   5734 
   5735         Reviewed by Steve Falkenburg.
   5736 
   5737         * WebKit.vcproj/WebKit.sln: Added testapi.vcproj to the solution.
   5738 
   5739 2008-03-25  Brady Eidson  <beidson (a] apple.com>
   5740 
   5741         Reviewed by Darin
   5742 
   5743         Remove newly obsolete FrameLoaderClient methods
   5744 
   5745         * WebFrame.cpp:
   5746         * WebFrame.h:
   5747 
   5748 2008-03-25  Darin Adler  <darin (a] apple.com>
   5749 
   5750         Suggested by Adam.
   5751 
   5752         * Interfaces/WebKit.idl: Touch this file to make the Interface project rebuild.
   5753 
   5754 2008-03-21  Ada Chan  <adachan (a] apple.com>
   5755 
   5756         <rdar://problem/5810324> visitCount not updated in History.plist
   5757         Call WebCore::HistoryItem::mergeAutoCompleteHints() in WebHistoryItem::mergeAutoCompleteHints().
   5758 
   5759         Reviewed by Steve.
   5760 
   5761         * WebHistoryItem.cpp:
   5762         (WebHistoryItem::mergeAutoCompleteHints):
   5763         (WebHistoryItem::QueryInterface):
   5764 
   5765 2008-03-20  Dan Bernstein  <mitz (a] apple.com>
   5766 
   5767         Reviewed by Adam Roben.
   5768 
   5769         - make makeTextLarger() and zoomPageIn() do what they are supposed to do
   5770 
   5771         * WebView.cpp:
   5772         (WebView::makeTextLarger): Changed call to canZoomIn() to zoomIn().
   5773         (WebView::zoomPageIn): Ditto.
   5774 
   5775 2008-03-20  Dave Hyatt  <hyatt (a] apple.com>
   5776 
   5777         Add full page zoom API for Windows WebKit.
   5778 
   5779         Reviewed by aroben
   5780 
   5781         * Interfaces/IWebView.idl:
   5782         * WebView.cpp:
   5783         (WebView::WebView):
   5784         (WebView::setTextSizeMultiplier):
   5785         (WebView::setPageSizeMultiplier):
   5786         (WebView::setZoomMultiplier):
   5787         (WebView::textSizeMultiplier):
   5788         (WebView::pageSizeMultiplier):
   5789         (WebView::zoomMultiplier):
   5790         (WebView::canMakeTextLarger):
   5791         (WebView::canZoomPageIn):
   5792         (WebView::canZoomIn):
   5793         (WebView::makeTextLarger):
   5794         (WebView::zoomPageIn):
   5795         (WebView::zoomIn):
   5796         (WebView::canMakeTextSmaller):
   5797         (WebView::canZoomPageOut):
   5798         (WebView::canZoomOut):
   5799         (WebView::makeTextSmaller):
   5800         (WebView::zoomPageOut):
   5801         (WebView::zoomOut):
   5802         (WebView::canMakeTextStandardSize):
   5803         (WebView::canResetPageZoom):
   5804         (WebView::canResetZoom):
   5805         (WebView::makeTextStandardSize):
   5806         (WebView::resetPageZoom):
   5807         (WebView::resetZoom):
   5808         * WebView.h:
   5809 
   5810 2008-03-20  John Sullivan  <sullivan (a] apple.com>
   5811 
   5812         * English.lproj/Localizable.strings:
   5813         Brought this file up to date
   5814 
   5815 2008-03-19  Dan Bernstein  <mitz (a] apple.com>
   5816 
   5817         - build fix
   5818 
   5819         * Interfaces/WebKit.idl: Touched.
   5820 
   5821 2008-03-19  Adam Roben  <aroben (a] apple.com>
   5822 
   5823         Fix a couple of bugs where the node highlight would appear when it shouldn't
   5824 
   5825         There were at least two ways you could get the highlight to appear
   5826         when it shouldn't:
   5827           1) Selecting a node in the Inspector while the inspected WebView was
   5828              in a background tab.
   5829           2) Selecting a node in the Inspector, switching to another tab,
   5830              closing the Inspector, then switching back to the inspected
   5831              WebView's tab.
   5832 
   5833         This patch fixes the above two issues, and possibly others.
   5834 
   5835         show() and hide() are now private methods of WebNodeHighlight. They
   5836         are replaced by a single public method,
   5837         setShowsWhileWebViewIsVisible(bool). WebInspectorClient uses this to
   5838         tell the highlight whether it should be showing when the inspected
   5839         WebView is visible.
   5840 
   5841         Reviewed by John Sullivan.
   5842 
   5843         * WebCoreSupport/WebInspectorClient.cpp:
   5844         (WebInspectorClient::highlight): If the highlight is already showing,
   5845         it just needs to update since the highlighted node has changed. If the
   5846         highlight is not showing, call setShowsWhileWebViewIsVisible(true) so
   5847         that the highlight will show when the WebView is shown.
   5848         (WebInspectorClient::hideHighlight): Changed to call
   5849         setShowsWhileWebViewIsVisible(false) instead of hide().
   5850         * WebNodeHighlight.cpp:
   5851         (WebNodeHighlight::WebNodeHighlight): Initialize new member, and
   5852         initialize m_inspectedWebViewWindow to its final value here instead of
   5853         in show().
   5854         (WebNodeHighlight::setShowsWhileWebViewIsVisible): Added. If we're not
   5855         supposed to show ourselves when the WebView is visible, we hide
   5856         ourselves and return. Otherwise, we make our visibility match the
   5857         WebView's.
   5858         (WebNodeHighlight::isWebViewVisible): Added.
   5859         (WebNodeHighlight::show): Removed initialization of
   5860         m_inspectedWebViewWindow (this is now done by our constructor). Added
   5861         an assertion that we're supposed to show ourselves when the WebView is
   5862         visible.
   5863         (WebNodeHighlight::onWebViewShowWindow): If we shouldn't show
   5864         ourselves when the WebView is visible, then we don't need to do
   5865         anything at all when the WebView's visibility changes.
   5866         * WebNodeHighlight.h:
   5867 
   5868 2008-03-19  Adam Roben  <aroben (a] apple.com>
   5869 
   5870         Small WebNodeHighlight cleanup
   5871 
   5872         Renamed the following methods:
   5873           visible() -> isShowing()
   5874           updateWindow() -> update()
   5875 
   5876         Removed the window() method.
   5877 
   5878         Added a new method, placeBehindWindow(HWND), that moves the highlight
   5879         overlay in the window z-order to be just behind the passed-in window.
   5880         WebInspectorClient calls this instead of doing the move directly using
   5881         the old window() method.
   5882 
   5883         Reviewed by John Sullivan.
   5884 
   5885         * WebCoreSupport/WebInspectorClient.cpp:
   5886         (WebInspectorClient::attachWindow):
   5887         (WebInspectorClient::detachWindow):
   5888         (WebInspectorClient::highlight): Call placeBehindWindow instead of
   5889         calling SetWindowPos directly.
   5890         * WebNodeHighlight.cpp:
   5891         (WebNodeHighlight::show):
   5892         (WebNodeHighlight::isShowing):
   5893         (WebNodeHighlight::placeBehindWindow): Added. Code came from
   5894         WebInspectorClient::highlight.
   5895         (WebNodeHighlight::onWebViewWindowPosChanged):
   5896         (WebNodeHighlight::onRootWindowPosChanged):
   5897         * WebNodeHighlight.h:
   5898 
   5899 2008-03-19  Ada Chan  <adachan (a] apple.com>
   5900 
   5901         Added a method to paint WebView content specified by 
   5902         the document rect into a device context.
   5903 
   5904         Reviewed by Darin Adler.
   5905 
   5906         * Interfaces/IWebViewPrivate.idl:
   5907         * WebView.cpp:
   5908         (WebView::paintDocumentRectToContext):
   5909         * WebView.h:
   5910 
   5911 2008-03-18  Brent Fulgham  <bfulgham (a] gmail.com>
   5912 
   5913         Reviewed by Adam Roben.
   5914 
   5915         Provide some stub implementations for things that WebKit
   5916         uses for performing authentication/challenge activities.  This
   5917         is in support of http://bugs.webkit.org/show_bug.cgi?id=17837
   5918 
   5919         * WebDataSource.cpp:
   5920         * WebError.cpp:  Conditionalize CFNetwork-specific logic
   5921         * WebURLAuthenticationChallenge.cpp:  Conditionalize constructor
   5922           for authentication/challenge member.
   5923         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
   5924         * WebURLResponse.cpp:  Remove CFNetwork-specific logic.
   5925         * WebURLResponse.h: Conditionalize CFNetwork-specific member.
   5926         * WebView.cpp:  Conditionalize CFNetwork-specific network protocol test.
   5927         (WebView::canHandleRequest):
   5928 
   5929 2008-03-18  Adam Roben  <aroben (a] apple.com>
   5930 
   5931         Focus the Inspector's WebView whenever the Inspector window is focused
   5932 
   5933         Reviewed by Mitz.
   5934 
   5935         * WebCoreSupport/WebInspectorClient.cpp:
   5936         (WebInspectorClient::onSetFocus): Send focus to the WebView.
   5937         (WebInspectorWndProc): Added a handler for WM_SETFOCUS.
   5938         * WebCoreSupport/WebInspectorClient.h:
   5939 
   5940 2008-03-18  Adam Roben  <aroben (a] apple.com>
   5941 
   5942         Fix Bug 14276: Element highlight also covers Web inspector
   5943 
   5944         <http://bugs.webkit.org/show_bug.cgi?id=14276>
   5945         <rdar://5712796>
   5946 
   5947         Also fixes <rdar://5622837> Browser window comes to front when node
   5948         highlight appears, potentially blocking Inspector
   5949 
   5950         Reviewed by Mitz.
   5951 
   5952         * WebCoreSupport/WebInspectorClient.cpp:
   5953         (WebInspectorClient::highlight): After showing the highlight,
   5954         reposition it just behind the Inspector's window.
   5955         * WebNodeHighlight.cpp:
   5956         (WebNodeHighlight::show):
   5957           - Changed flags passed to CreateWindowEx to not specify WS_VISIBLE.
   5958             This is not needed because we'll show the window later in this
   5959             function.
   5960           - Removed call to SetWindowPos that tried to position the overlay
   5961             just in front of the WebView. This is now handled by
   5962             WebInspectorClient.
   5963           - Changed call to ShowWindow to use SetWindowPos so that we can pass
   5964             SWP_NOACTIVATE. This prevents the highlight from jumping in front
   5965             of the Inspector every time it's shown.
   5966         * WebNodeHighlight.h: Added a method to get the highlight's HWND.
   5967 
   5968 2008-03-14  Steve Falkenburg  <sfalken (a] apple.com>
   5969 
   5970         PGO build fixes.
   5971 
   5972         * WebKit.vcproj/WebKit.vcproj:
   5973 
   5974 2008-03-13  Adam Roben  <aroben (a] apple.com>
   5975 
   5976         Another Windows build fix after r31034
   5977 
   5978         * WebKitDLL.cpp:
   5979         (loadResourceIntoBuffer): Use SharedBuffer::create.
   5980 
   5981 2008-03-13  Adam Roben  <aroben (a] apple.com>
   5982 
   5983         Windows build fix after r31034
   5984 
   5985         * WebFrame.cpp:
   5986         (WebFrame::loadData): Use SharedBuffer::create.
   5987         (WebFrame::loadHTMLString): Ditto.
   5988 
   5989 2008-03-13  Steve Falkenburg  <sfalken (a] apple.com>
   5990 
   5991         More PGO build fixes.
   5992 
   5993         * WebKit.vcproj/WebKit.pgd: Removed.
   5994         * WebKit.vcproj/WebKit.vcproj:
   5995         * WebKitPrefix.cpp:
   5996 
   5997 2008-03-13  Anders Carlsson  <andersca (a] apple.com>
   5998 
   5999         Reviewed by Adam.
   6000 
   6001         Call originalRequest instead of initialRequest.
   6002         
   6003         * WebDataSource.cpp:
   6004         (WebDataSource::initialRequest):
   6005 
   6006 2008-03-13  Steve Falkenburg  <sfalken (a] apple.com>
   6007 
   6008         PGO build fixes.
   6009         
   6010         Disable PGO for normal release builds.
   6011         Added work-in-progress Release_PGOInstrument/Release_PGOOptimize targets.
   6012 
   6013         * WebKit.vcproj/WebKit.vcproj:
   6014 
   6015 2008-03-12  Steve Falkenburg  <sfalken (a] apple.com>
   6016 
   6017         Fix build.
   6018 
   6019         * WebKit.vcproj/WebKit.vcproj:
   6020 
   6021 2008-03-12  Ada Chan  <adachan (a] apple.com>
   6022 
   6023         <rdar://problem/5795843> 
   6024         CFURLDownload needs to be cancelled if we don't have a destination path
   6025         to save resume information.
   6026 
   6027         Reviewed by Brady.
   6028 
   6029         * WebDownload.cpp:
   6030         (WebDownload::cancelForResume):
   6031 
   6032 2008-03-12  David Hyatt  <hyatt (a] apple.com>
   6033 
   6034         Make the zoom factor a float and not a percent.
   6035 
   6036         Reviewed by antti
   6037 
   6038         * WebFrame.cpp:
   6039         (WebFrame::setTextSizeMultiplier):
   6040 
   6041 2008-03-12  Steve Falkenburg  <sfalken (a] apple.com>
   6042 
   6043         Build fix.
   6044 
   6045         * WebKit.vcproj/WebKit.pgd:
   6046         * WebKit.vcproj/WebKit.vcproj:
   6047 
   6048 2008-03-12  Steve Falkenburg  <sfalken (a] apple.com>
   6049 
   6050         Re-enabled PGO.
   6051         
   6052         Rubber stamped by Mark Rowe.
   6053 
   6054         * WebKit.vcproj/WebKit.pgd:
   6055         * WebKit.vcproj/WebKit.vcproj:
   6056         * WebKitPrefix.cpp: touched this file to force a re-build.
   6057 
   6058 2008-03-12  Steve Falkenburg  <sfalken (a] apple.com>
   6059 
   6060         Fix build.
   6061 
   6062         * WebKit.vcproj/WebKit.vcproj:
   6063 
   6064 2008-03-11  Steve Falkenburg  <sfalken (a] apple.com>
   6065 
   6066         Use PGO to build WebKit.dll.
   6067         
   6068         Reviewed by Oliver.
   6069 
   6070         * WebKit.vcproj/WebKit.pgd: Added.
   6071         * WebKit.vcproj/WebKit.vcproj:
   6072 
   6073 2008-03-11  Brent Fulgham  <bfulgham (a] gmail.com>
   6074 
   6075         Reviewed by Adam Roben.
   6076 
   6077         Enabled WinLauncher as part of normal Windows build.
   6078         http://bugs.webkit.org/show_bug.cgi?id=17715.
   6079 
   6080         * WebKit.vcproj/WebKit.sln:  Add WinLauncher to the set of things
   6081           build during a Windows build.
   6082 
   6083 2008-03-11  Adam Roben  <aroben (a] apple.com>
   6084 
   6085         Roll out r30961 since it broke the default site icon on Windows
   6086 
   6087         * WebKit.vcproj/WebKit.rc:
   6088         * WebKit.vcproj/urlIcon.png: Renamed from WebCore/Resources/urlIcon.png.
   6089         * WebKitDLL.cpp:
   6090         (loadResourceIntoBuffer):
   6091 
   6092 2008-03-11  Holger Hans Peter Freyther  <zecke (a] selfish.org>
   6093 
   6094         Reviewed by Darin Adler.
   6095 
   6096         r25512 inlined the urlIcon to improve the startup time of Safari on Mac. Inlining is
   6097         not suitable for platforms where this icon is themable. E.g. the Qt platform is allowing
   6098         to theme this icon and the Gtk+ platform will probably end up with themable icons
   6099         as well.
   6100         
   6101         Remove dead code from the windows port and move the urlIcon from the windows
   6102         directory to the Resource directory to be used by Qt and other ports.
   6103         
   6104         Ifdef the usage of the built-in icon in IconDatabase.cpp and for Qt do not use
   6105         it. Gtk+ currently has no proper implementation of Image::loadPlatformResource but
   6106         once it does it wants to use this for getting the urlIcon as well.
   6107 
   6108         * WebKit.vcproj/WebKit.rc:
   6109         * WebKitDLL.cpp:
   6110         (loadResourceIntoBuffer):
   6111 
   6112 2008-03-10  Eric Seidel  <eric (a] webkit.org>
   6113 
   6114         No review, build fix only.
   6115         
   6116         Speculative fix for Windows build, use ::UChar instead of KJS::UChar
   6117 
   6118         * WebScriptCallFrame.cpp:
   6119         (WebScriptCallFrame::valueForVariable):
   6120         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   6121 
   6122 2008-03-10  Steve Falkenburg  <sfalken (a] apple.com>
   6123 
   6124         Fix build break caused by r30920.
   6125         
   6126         Serialize remaining dependent builds by adding dependencies.
   6127         Visual Studio per-vcproj parallelization doesn't add a lot of value
   6128         since so many of our builds are dependent - this just enforces that.
   6129         We do our parallelization via pdevenv, which works much better.
   6130 
   6131         * WebKit.vcproj/WebKit.sln:
   6132         * WebKit.vcproj/WebKit.submit.sln:
   6133 
   6134 2008-03-09  Steve Falkenburg  <sfalken (a] apple.com>
   6135 
   6136         Stop Windows build if an error occurs in a prior project.
   6137 
   6138         Rubber stamped by Darin Adler.
   6139 
   6140         * WebKit.vcproj/Interfaces.vcproj:
   6141         * WebKit.vcproj/InterfacesGenerated.vcproj:
   6142         * WebKit.vcproj/WebKit.vcproj:
   6143         * WebKit.vcproj/WebKitGUID.vcproj:
   6144 
   6145 2008-03-09  Adam Roben  <aroben (a] apple.com>
   6146 
   6147         Make WebInspectorClient use WindowMessageBroadcaster instead of manual subclassing
   6148 
   6149         Reviewed by Darin Adler.
   6150 
   6151         * WebCoreSupport/WebInspectorClient.cpp:
   6152         (WebInspectorClient::WebInspectorClient): Removed
   6153         m_orignalWebViewWndProc member.
   6154         (WebInspectorClient::attachWindow): Register as a listener with
   6155         WindowMessageBroadcaster instead of subclassing.
   6156         (WebInspectorClient::detachWindow): Deregister as a listener with
   6157         WindowMessageBroadcaster instead of unsubclassing.
   6158         (WebInspectorClient::windowReceivedMessage): Renamed from
   6159         SubclassedWebViewWndProc. Also added a missing break statement after
   6160         the call to onWebViewWindowPosChanging.
   6161         * WebCoreSupport/WebInspectorClient.h:
   6162 
   6163 2008-03-09  Adam Roben  <aroben (a] apple.com>
   6164 
   6165         Make the node highlight not obscure the tab bar when it first appears
   6166 
   6167         Reviewed by Darin Adler.
   6168 
   6169         * WebNodeHighlight.cpp:
   6170         (WebNodeHighlight::onWebViewWindowPosChanged): Added. Listens for
   6171         changes to the WebView's size and resizes the highlight window to
   6172         match.
   6173         (WebNodeHighlight::onRootWindowPosChanged): Added. Listens for changes
   6174         to the WebView's root window's position and moves the highlight window
   6175         to match.
   6176         (WebNodeHighlight::windowReceivedMessage): Call
   6177         onWebViewWindowPosChanged/onRootWindowPosChanged as appropriate.
   6178         * WebNodeHighlight.h:
   6179 
   6180 2008-03-09  Adam Roben  <aroben (a] apple.com>
   6181 
   6182         Fix Bug 14254: Inspector node highlight applied to all tabs
   6183 
   6184         <http://bugs.webkit.org/show_bug.cgi?id=14254>
   6185         <rdar://problem/5322306>
   6186 
   6187         WebNodeHighlight now listens for the WM_SHOWWINDOW message being sent
   6188         to the inspected WebView so that it can hide/show itself as the
   6189         WebView is hidden/shown.
   6190 
   6191         Reviewed by Anders.
   6192 
   6193         * WebNodeHighlight.cpp:
   6194         (WebNodeHighlight::~WebNodeHighlight): Remove ourselves as a listener
   6195         for our inspected WebView's window's messages.
   6196         (WebNodeHighlight::show): Add ourselves as a listener for our
   6197         inspected WebView's window's messages.
   6198         (WebNodeHighlight::onWebViewShowWindow): Added. Hide ourselves when
   6199         the WebView hides, show ourselves when the WebView is shown.
   6200         (WebNodeHighlight::windowReceivedMessage): Added a separate switch
   6201         statement to handle the inspected WebView's window's messages.
   6202         * WebNodeHighlight.h:
   6203 
   6204 2008-03-07  Brent Fulgham  <bfulgham (a] gmail.com>
   6205 
   6206         Reviewed by Mark Rowe.
   6207 
   6208         Correct build intermediary output
   6209         (http://bugs.webkit.org/show_bug.cgi?id=17713)
   6210 
   6211         * WebKit/win/WebKit.vcproj/WebKit.vcproj:  Correct output and intermediary paths
   6212 
   6213 2008-03-07  Brent Fulgham  <bfulgham (a] gmail.com>
   6214 
   6215         Reviewed by Adam Roben.
   6216 
   6217         Do not link (or attempt to initialize) the SafariTheme.dll
   6218         when not building with USE(SAFARI_THEME) enabled.
   6219         (http://bugs.webkit.org/show_bug.cgi?id=17707)
   6220 
   6221         * WebKit/win/WebKitClassFactory.cpp:  Conditionalize use of SafariTheme.dll
   6222 
   6223 2008-03-07  Brent Fulgham  <bfulgham (a] gmail.com>
   6224 
   6225         Reviewed by Steve Falkenburg.
   6226 
   6227         Update solution to understand Cairo build target.  Add
   6228         library dependencies for Cairo build target.
   6229         (http://bugs.webkit.org/show_bug.cgi?id=17300)
   6230 
   6231         * WebKit.vcproj/WebKit.sln:
   6232         * WebKit.vcproj/WebKit.vcproj:
   6233 
   6234 2008-03-06  Adam Roben  <aroben (a] apple.com>
   6235 
   6236         Change WebScriptDebugServer to use WebCore::JavaScriptDebugServer
   6237 
   6238         WebScriptDebugServer is now a JavaScriptDebugListener.
   6239 
   6240         Reviewed by Darin Adler.
   6241 
   6242         * WebScriptDebugServer.cpp:
   6243         (WebScriptDebugServer::WebScriptDebugServer): Removed initialization
   6244         of m_callingListeners member.
   6245         (WebScriptDebugServer::addListener): Register as a listener with
   6246         JavaScriptDebugServer if we've just added our first listener.
   6247         (WebScriptDebugServer::removeListener): Deregister as a listener with
   6248         JavaScriptDebugServer if we've just removed our last listener.
   6249         (WebScriptDebugServer::didParseSource): Added. Code came from the old
   6250         sourceParsed method. Removed m_callingListeners code because
   6251         JavaScriptDebugServer guards against re-entry for us.
   6252         (WebScriptDebugServer::failedToParseSource): Ditto.
   6253         (WebScriptDebugServer::didEnterCallFrame): Ditto for callEvent.
   6254         (WebScriptDebugServer::willExecuteStatement): Ditto for atStatement.
   6255         (WebScriptDebugServer::willLeaveCallFrame): Ditto for
   6256         willLeaveCallFrame.
   6257         (WebScriptDebugServer::exceptionWasRaised): Ditto for exception.
   6258         * WebScriptDebugServer.h: Changed to inherit from
   6259         WebCore::JavaScriptDebugListener.
   6260         * WebView.cpp:
   6261         (WebView::initWithFrame): Removed call to
   6262         WebScriptDebugServer::pageCreated. This is now handled by WebCore.
   6263 
   6264 2008-03-06  Darin Adler  <darin (a] apple.com>
   6265 
   6266         Reviewed by Mitz.
   6267 
   6268         - fix regression test failures and crashes from the visited-link change
   6269 
   6270         * WebCoreSupport/WebChromeClient.cpp:
   6271         (WebChromeClient::populateVisitedLinks): Check for null before calling
   6272         addVisitedLinksToPageGroup.
   6273         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6274         (WebFrameLoaderClient::updateGlobalHistory): Ditto.
   6275         * WebHistory.cpp:
   6276         (WebHistory::setOptionalSharedHistory): Call PageGroup::setShouldTrackVisitedLinks
   6277         to turn off visited links if there is no history object. Also call
   6278         removeAllVisitedLinks so we can start over from scratch with the new history.
   6279 
   6280 2008-03-06  Matt Lilek  <webkit (a] mattlilek.com>
   6281 
   6282         Reviewed by Adam Roben.
   6283 
   6284         Bug 17691: REGRESSION: FindSafari doesn't work
   6285         http://bugs.webkit.org/show_bug.cgi?id=17691
   6286 
   6287         Swap my change from r30394 to use the Release libraries instead of Debug
   6288         since some machines don't have the Debug version.
   6289 
   6290         * WebKit.vcproj/WebKit.sln:
   6291 
   6292 2008-03-06  Darin Adler  <darin (a] apple.com>
   6293 
   6294         Reviewed by Mitz.
   6295 
   6296         - fix http://bugs.webkit.org/show_bug.cgi?id=17526
   6297           REGRESSION: iframes are added to Safari's History menu
   6298           by separating the visited link machinery from global history
   6299 
   6300         * WebCoreSupport/WebChromeClient.cpp:
   6301         (WebChromeClient::populateVisitedLinks): Added a call to the new
   6302         WebHistory::addVisitedLinksToPageGroup function.
   6303         * WebCoreSupport/WebChromeClient.h: Added populateVisitedLinks.
   6304         Also fixed the webView function to be non-virtual.
   6305 
   6306         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6307         (WebFrameLoaderClient::updateGlobalHistory): Changed to use the
   6308         new WebHistory::addItem function.
   6309         (WebFrameLoaderClient::webHistory): Changed to return a WebHistory*,
   6310         there's no reason to AddRef the result from this function.
   6311         * WebCoreSupport/WebFrameLoaderClient.h: Ditto.
   6312 
   6313         * WebHistory.cpp: Removed IWebHistoryPrivate and _WebCoreHistoryProvider.
   6314         (WebHistory::QueryInterface): Removed IWebHistoryPrivate.
   6315         (sharedHistoryStorage): Added.
   6316         (WebHistory::sharedHistory): Added.
   6317         (WebHistory::optionalSharedHistory): Changed to use sharedHistory().
   6318         (WebHistory::setOptionalSharedHistory): Changed to require a WebHistory
   6319         object, not just an IWebHistory.
   6320         (WebHistory::removeAllItems): Call PageGroup::removeAllVisitedLinks.
   6321         (WebHistory::addItem): Changed parameter types since this is called with
   6322         arguments from WebCore -- at some point this could allow better efficiency.
   6323         (WebHistory::removeItemForURLString):  Call PageGroup::removeAllVisitedLinks
   6324         if the last URL is being removed.
   6325         (addVisitedLinkToPageGroup): Added. Helper. Adds a single link to a group's
   6326         visited link set.
   6327         (WebHistory::addVisitedLinksToPageGroup): Added. Adds all links to a group's
   6328         visited link.
   6329         * WebHistory.h: Removed IWebHistoryPrivate. Removed optionalSharedHistoryInternal
   6330         and added sharedHistory. Replaced addItemForURL and containsItemForURLString with
   6331         non-virtual addItem and addVisitedLinksToPageGroup functions.
   6332 
   6333 2008-03-05  Anders Carlsson  <andersca (a] apple.com>
   6334 
   6335         Build fix.
   6336 
   6337         * WebKit.vcproj/WebKit.vcproj:
   6338 
   6339 2008-03-04  Sam Weinig  <sam (a] webkit.org>
   6340 
   6341         Reviewed by Mark Rowe.
   6342 
   6343         - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
   6344           JSDOMWindow.h
   6345 
   6346         * WebFrame.cpp:
   6347 
   6348 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6349 
   6350         WebScriptDebugServer cleanup
   6351 
   6352         Reviewed by Anders.
   6353 
   6354         * WebScriptDebugServer.cpp: Renamed m_callingServer to
   6355         m_callingListeners.
   6356         (WebScriptDebugServer::WebScriptDebugServer):
   6357         (WebScriptDebugServer::sharedWebScriptDebugServer): Changed to keep
   6358         the shared instance as a function-level static.
   6359         (WebScriptDebugServer::didLoadMainResourceForDataSource): Made return
   6360         void.
   6361         (WebScriptDebugServer::sourceParsed):
   6362         (WebScriptDebugServer::callEvent):
   6363         (WebScriptDebugServer::atStatement):
   6364         (WebScriptDebugServer::returnEvent):
   6365         (WebScriptDebugServer::exception):
   6366         (WebScriptDebugServer::serverDidDie): Made return void.
   6367         * WebScriptDebugServer.h:
   6368           - Removed unnecessary #includes
   6369           - Made inheritance from KJS::Debugger private
   6370           - Made some methods private
   6371 
   6372 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6373 
   6374         Remove WebScriptDebugger
   6375 
   6376         Reviewed by Anders.
   6377 
   6378         * WebKit.vcproj/WebKit.vcproj: Removed files from project.
   6379         * WebScriptDebugServer.cpp:
   6380         (frame): Moved here from WebScriptDebugger.cpp.
   6381         (webFrame): Ditto.
   6382         (webView): Ditto.
   6383         (WebScriptDebugServer::WebScriptDebugServer): Initialize new member.
   6384         * WebScriptDebugServer.h: Changed to inherit directly from
   6385         KJS::Debugger instead of from WebScriptDebugger, and added
   6386         m_callingServer member that WebScriptDebugger used to own.
   6387         * WebScriptDebugger.cpp: Removed.
   6388         * WebScriptDebugger.h: Removed.
   6389 
   6390 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6391 
   6392         Move sourceParsed to WebScriptDebugServer
   6393 
   6394         Reviewed by Anders.
   6395 
   6396         * WebScriptDebugServer.cpp:
   6397         (WebScriptDebugServer::sourceParsed): Moved here from
   6398         WebScriptDebugger and merged with didParseSource/failedToParseSource.
   6399         * WebScriptDebugServer.h: Removed didParseSource/failedToParseSource.
   6400         * WebScriptDebugger.cpp: Removed sourceParsed.
   6401         * WebScriptDebugger.h: Ditto.
   6402 
   6403 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6404 
   6405         Move callEvent, returnEvent, and exception to WebScriptDebugServer
   6406 
   6407         Reviewed by Anders.
   6408 
   6409         * WebScriptDebugServer.cpp:
   6410         (WebScriptDebugServer::callEvent): Moved here from WebScriptDebugger
   6411         and merged with didEnterCallFrame.
   6412         (WebScriptDebugServer::returnEvent): Ditto for willLeaveCallFrame.
   6413         (WebScriptDebugServer::exception): Ditto for exceptionWasRaised.
   6414         * WebScriptDebugServer.h: Removed didEnterCallFrame,
   6415         willLeaveCallFrame, and exceptionWasRaised.
   6416         * WebScriptDebugger.cpp: Removed callEvent, returnEvent, and
   6417         exception.
   6418         * WebScriptDebugger.h: Ditto.
   6419 
   6420 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6421 
   6422         Move atStatement to WebScriptDebugServer
   6423 
   6424         Reviewed by Anders.
   6425 
   6426         * WebScriptDebugServer.cpp:
   6427         (WebScriptDebugServer::atStatement): Moved here and merged with the
   6428         old willExecuteStatement method.
   6429         * WebScriptDebugServer.h: Removed inheritance from
   6430         IWebScriptDebugListener, which no one was relying on.
   6431         * WebScriptDebugger.cpp:
   6432         (webFrame): Made non-static.
   6433         (webView): Ditto.
   6434         * WebScriptDebugger.h: Added declarations of webFrame and webView
   6435         methods for WebScriptDebugServer's benefit. Removed unused m_webView
   6436         and m_frame members.
   6437 
   6438 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6439 
   6440         Start to merge WebScriptDebugger and WebScriptDebugServer
   6441 
   6442         WebScriptDebugServer now inherits from WebScriptDebugger.
   6443 
   6444         Reviewed by Anders.
   6445 
   6446         * WebScriptDebugServer.cpp:
   6447         (WebScriptDebugServer::pageCreated): Use sharedWebScriptDebugServer
   6448         instead of WebScriptDebugger::shared.
   6449         (WebScriptDebugServer::addListener): Ditto.
   6450         (WebScriptDebugServer::removeListener): Ditto.
   6451         * WebScriptDebugServer.h: Changed to inherit from WebScriptDebugger.
   6452         * WebScriptDebugger.cpp: Removed shared method.
   6453         * WebScriptDebugger.h: Made constructor/destructor protected, and
   6454         removed shared method.
   6455 
   6456 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6457 
   6458         Use WebCore's new debugger-attaching code
   6459 
   6460         Reviewed by Kevin M.
   6461 
   6462         * WebCoreSupport/WebFrameLoaderClient.cpp: Moved a kit() function to
   6463         WebView.{cpp,h} so that other files can call it.
   6464         * WebFrame.cpp:
   6465         (WebFrame::WebFrame): Removed m_scriptDebugger member.
   6466         (WebFrame::windowObjectCleared): Removed attach/detach calls. This is
   6467         no longer needed because WebScriptDebugger no longer stores any
   6468         per-WebFrame state.
   6469         * WebFrame.h:
   6470         * WebScriptDebugServer.cpp:
   6471         (WebScriptDebugServer::pageCreated): Added. Attaches our shared
   6472         debugger to the Page if we have any listeners.
   6473         (WebScriptDebugServer::addListener): Sets our shared debugger for all
   6474         Pages when we get our first listener.
   6475         (WebScriptDebugServer::removeListener): Removes our shared debugger
   6476         from all Pages when we lose our last listener.
   6477         * WebScriptDebugServer.h:
   6478         * WebScriptDebugger.cpp:
   6479         (WebScriptDebugger::shared): Added.
   6480         (WebScriptDebugger::WebScriptDebugger): Removed m_frame member.
   6481         (WebScriptDebugger::~WebScriptDebugger): Added.
   6482         (frame): Gets a Frame from an ExecState.
   6483         (webFrame): Gets a WebFrame from an ExecState.
   6484         (webView): Gets a WebView from an ExecState.
   6485         (WebScriptDebugger::sourceParsed): Changed to call webFrame() and
   6486         webView() instead of using m_frame and m_webView members.
   6487         (WebScriptDebugger::callEvent): Ditto.
   6488         (WebScriptDebugger::atStatement): Ditto.
   6489         (WebScriptDebugger::returnEvent): Ditto.
   6490         (WebScriptDebugger::exception): Ditto.
   6491         * WebScriptDebugger.h:
   6492         * WebView.cpp:
   6493         (kit): Moved here from WebFrameLoaderClient.cpp.
   6494         (WebView::initWithFrame): Tell the WebScriptDebugServer about the new
   6495         Page so it can attach a debugger if needed.
   6496         * WebView.h:
   6497 
   6498 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6499 
   6500         Change WebView's string-finding methods to call through to Page
   6501 
   6502         These methods were added to Page back in r28878 (and the
   6503         implementation was copied from WebView!) but we never switched over to
   6504         using them.
   6505 
   6506         Reviewed by Sam.
   6507 
   6508         * WebView.cpp:
   6509         (WebView::searchFor): Call through to Page::findString.
   6510         (WebView::markAllMatchesForText): Call through to Page.
   6511         (WebView::unmarkAllTextMatches): Ditto.
   6512 
   6513 2008-03-04  Adam Roben  <aroben (a] apple.com>
   6514 
   6515         Actually pause the process while Drosera is at a breakpoint
   6516 
   6517         WebScriptDebugServer::suspendProcessIfPaused is supposed to pause the
   6518         process while Drosera is at a breakpoint. Previously we were just
   6519         starting a message pump that would deliver messages to all windows in
   6520         the process, allowing mouse events, JS timers, etc. to execute.
   6521 
   6522         Now we only deliver messages to COM's message window, which is all we
   6523         need to allow RPC to function.
   6524 
   6525         Reviewed by Anders.
   6526 
   6527         * WebScriptDebugServer.cpp:
   6528         (comMessageWindow): Added. Finds COM's message window.
   6529         (WebScriptDebugServer::suspendProcessIfPaused): Only deliver messages
   6530         to COM's message window so that mouse events, JS timers, etc., won't
   6531         execute.
   6532 
   6533 2008-03-03  Adam Roben  <aroben (a] apple.com>
   6534 
   6535         Generate WebScriptCallFrame instances dynamically
   6536 
   6537         WebScriptDebugger no longer holds a reference to the topmost call
   6538         frame, and WebScriptCallFrame no longer holds a reference to its
   6539         caller. We now generate WebScriptCallFrame instances as needed by
   6540         walking the callingExecState chain.
   6541 
   6542         By making WebKit no longer responsible for keeping track of the call
   6543         stack, we get one step closer to moving most JS debugging code out of
   6544         WebKit entirely.
   6545 
   6546         This incidentally fixes a bug in Drosera where we'd never show the
   6547         global scope in the call stack.
   6548 
   6549         Reviewed by Sam and Kevin M.
   6550 
   6551         * WebScriptCallFrame.cpp:
   6552         (callingFunctionOrGlobalExecState): Finds the nearest calling
   6553         ExecState that is a FunctionExecState or GlobalExecState, if any, and
   6554         returns it.
   6555         (WebScriptCallFrame::WebScriptCallFrame):
   6556           - No longer takes a caller parameter.
   6557           - Sets m_state to the callingFunctionOrGlobalExecState of the
   6558             ExecState passed in.
   6559         (WebScriptCallFrame::createInstance): Removed the caller parameter.
   6560         (WebScriptCallFrame::caller): Generate a new WebScriptCallFrame on the
   6561         fly from our ExecState.
   6562         * WebScriptCallFrame.h: No longer holds a reference to the caller.
   6563         * WebScriptDebugger.cpp:
   6564         (WebScriptDebugger::WebScriptDebugger): Removed the call to callEvent
   6565         that was supposed to set up the global scope call frame, but never
   6566         worked because m_callingServer was set to true, which would cause
   6567         callEvent to return early without doing anything. Also removed the
   6568         m_callingServer guards since we're not calling callEvent anymore.
   6569         (WebScriptDebugger::callEvent): Create a WebScriptCallFrame on the
   6570         fly from the passed-in ExecState.
   6571         (WebScriptDebugger::atStatement): Ditto.
   6572         (WebScriptDebugger::returnEvent): Ditto, but use the callingExecState.
   6573         This is equivalent to what calling leaveFrame() did before.
   6574         (WebScriptDebugger::exception): Ditto, using the passed-in ExecState.
   6575         * WebScriptDebugger.h: Removed m_topStackFrame member and
   6576         enterFrame/leaveFrame methods.
   6577 
   6578 2008-03-03  Sam Weinig  <sam (a] webkit.org>
   6579 
   6580         Windows build fix.
   6581 
   6582         * WebFrame.cpp:
   6583         (WebFrame::windowObjectCleared):
   6584 
   6585 2008-03-03  David Hyatt  <hyatt (a] apple.com>
   6586 
   6587         Full page zoom work.  Make setting of a zoom factor take a boolean saying whether it is a text only
   6588         or full page zoom.
   6589 
   6590         Reviewed by Tim H.
   6591 
   6592         * WebFrame.cpp:
   6593         (WebFrame::setTextSizeMultiplier):
   6594 
   6595 2008-02-29  Adam Roben  <aroben (a] apple.com>
   6596 
   6597         Delete an unused file
   6598 
   6599         Rubberstamped by Brady.
   6600 
   6601         * Interfaces/IWebScriptScope.idl: Removed.
   6602 
   6603 2008-02-28  Adam Roben  <aroben (a] apple.com>
   6604 
   6605         Change WebPreferences to be backed by CFPreferences
   6606 
   6607         Reviewed by Ada, Geoff, Steve, and Darin.
   6608 
   6609         * WebPreferenceKeysPrivate.h:
   6610         * WebPreferences.cpp:
   6611         (WebPreferences::sharedStandardPreferences): Changed to call
   6612         setAutoSaves(TRUE) before calling load(). This ensures that the
   6613         preferences being migrated to CFPreferences are saved to disk.
   6614         (WebPreferences::valueForKey): Changed to return a RetainPtr to ensure
   6615         that the refcount is managed properly. Now attempts to retrieve a
   6616         value from CFPreferences before falling back to the default settings.
   6617         (WebPreferences::setValueForKey): Now saves the value in
   6618         CFPreferences if m_autoSaves is true.
   6619         (WebPreferences::stringValueForKey): Updated for valueForKey changes.
   6620         (WebPreferences::integerValueForKey): DItto.
   6621         (WebPreferences::boolValueForKey): Ditto.
   6622         (WebPreferences::floatValueForKey): Ditto.
   6623         (WebPreferences::save): Now simply calls CFPreferencesAppSynchronize.
   6624         (WebPreferences::load): Always initializes m_privatePrefs to an empty
   6625         CFMutableDictionary.
   6626         (WebPreferences::migrateWebKitPreferencesToCFPreferences): Migrates
   6627         preferences from our old custom plist to CFPreferences and then
   6628         deletes our custom plist, if the migration has never occurred before.
   6629         (WebPreferences::copyWebKitPreferencesToCFPreferences): Copies
   6630         preferences to CFPreferences. If we've never migrated the default
   6631         settings from Safari 3 Beta before, we omit them from this copying
   6632         procedure.
   6633         * WebPreferences.h:
   6634 
   6635 2008-02-28  Adam Roben  <aroben (a] apple.com>
   6636 
   6637         Refactor value <-> CFNumber conversions into some helper functions
   6638 
   6639         Reviewed by Jon.
   6640 
   6641         * WebPreferences.cpp:
   6642         (preferencesPath): Changed to return a const String&.
   6643         (numberValueForPreferencesValue): Converts a value from preferences to
   6644         a native numeric type.
   6645         (cfNumber): Converts a native numeric value to a CFNumberRef.
   6646         (booleanValueForPreferencesValue): Converts a value from preferences
   6647         to a native boolean.
   6648         (WebPreferences::integerValueForKey): Changed to call
   6649         numberValueForPreferencesValue.
   6650         (WebPreferences::floatValueForKey): Ditto.
   6651         (WebPreferences::boolValueForKey): Changed to call
   6652         booleanValueForPreferencesValue.
   6653         (WebPreferences::setIntegerValue): Changed to call cfNumber.
   6654         (WebPreferences::setLongLongValue): Ditto.
   6655 
   6656 2008-02-27  Adam Roben  <aroben (a] apple.com>
   6657 
   6658         Add WebPreferences::setValueForKey
   6659 
   6660         This is just a small refactoring of some duplicated logic into a
   6661         shared method.
   6662 
   6663         Reviewed by Sam.
   6664 
   6665         * WebPreferences.cpp:
   6666         (WebPreferences::setValueForKey): Added.
   6667         (WebPreferences::setStringValue): Call setValueForKey.
   6668         (WebPreferences::setIntegerValue): Ditto.
   6669         (WebPreferences::setBoolValue): Ditto.
   6670         (WebPreferences::setLongLongValue): Ditto.
   6671         * WebPreferences.h:
   6672 
   6673 2008-02-27  Adam Roben  <aroben (a] apple.com>
   6674 
   6675         Remove WebPreferences' static members
   6676 
   6677         s_defaultSettings is now a file-level static, and
   6678         s_standardPreferences has been removed completely (it wasn't being
   6679         used).
   6680 
   6681         Reviewed by Sam.
   6682 
   6683         * WebPreferences.cpp:
   6684         (WebPreferences::initializeDefaultSettings):
   6685         (WebPreferences::valueForKey):
   6686         (WebPreferences::migrateDefaultSettingsFromSafari3Beta):
   6687         (WebPreferences::removeValuesMatchingDefaultSettings):
   6688         * WebPreferences.h:
   6689 
   6690 2008-02-29  Steve Falkenburg  <sfalken (a] apple.com>
   6691 
   6692         Don't free the VARIANT passed into Write, since it is an input parameter owned by the caller.
   6693         Found via code inspection.
   6694         
   6695         Reviewed by Adam.
   6696 
   6697         * WebActionPropertyBag.cpp:
   6698         (WebActionPropertyBag::Write):
   6699         * WebElementPropertyBag.cpp:
   6700         (WebElementPropertyBag::Write):
   6701 
   6702 2008-02-27  Matt Lilek  <webkit (a] mattlilek.com>
   6703 
   6704         Reviewed by Adam Roben.
   6705 
   6706         Bug 14348: Messing up the inspector by dragging an URL into it
   6707         http://bugs.webkit.org/show_bug.cgi?id=14348
   6708         <rdar://problem/5283620> and <rdar://problem/5712808>
   6709 
   6710         Add a new class to handle the Inspector's delegate calls.
   6711 
   6712         * WebCoreSupport/WebInspectorClient.cpp:
   6713         (WebInspectorClient::createPage):
   6714         * WebCoreSupport/WebInspectorDelegate.cpp: Added.
   6715         (:m_refCount):
   6716         (WebInspectorDelegate::createInstance):
   6717         (WebInspectorDelegate::AddRef):
   6718         (WebInspectorDelegate::Release):
   6719         (WebInspectorDelegate::dragDestinationActionMaskForDraggingInfo):
   6720         * WebCoreSupport/WebInspectorDelegate.h: Added.
   6721         (WebInspectorDelegate::QueryInterface):
   6722         (WebInspectorDelegate::createWebViewWithRequest):
   6723         (WebInspectorDelegate::webViewShow):
   6724         (WebInspectorDelegate::webViewClose):
   6725         (WebInspectorDelegate::webViewFocus):
   6726         (WebInspectorDelegate::webViewUnfocus):
   6727         (WebInspectorDelegate::webViewFirstResponder):
   6728         (WebInspectorDelegate::makeFirstResponder):
   6729         (WebInspectorDelegate::setStatusText):
   6730         (WebInspectorDelegate::webViewStatusText):
   6731         (WebInspectorDelegate::webViewAreToolbarsVisible):
   6732         (WebInspectorDelegate::setToolbarsVisible):
   6733         (WebInspectorDelegate::webViewIsStatusBarVisible):
   6734         (WebInspectorDelegate::setStatusBarVisible):
   6735         (WebInspectorDelegate::webViewIsResizable):
   6736         (WebInspectorDelegate::setResizable):
   6737         (WebInspectorDelegate::setFrame):
   6738         (WebInspectorDelegate::webViewFrame):
   6739         (WebInspectorDelegate::setContentRect):
   6740         (WebInspectorDelegate::webViewContentRect):
   6741         (WebInspectorDelegate::runJavaScriptAlertPanelWithMessage):
   6742         (WebInspectorDelegate::runJavaScriptConfirmPanelWithMessage):
   6743         (WebInspectorDelegate::runJavaScriptTextInputPanelWithPrompt):
   6744         (WebInspectorDelegate::runBeforeUnloadConfirmPanelWithMessage):
   6745         (WebInspectorDelegate::runOpenPanelForFileButtonWithResultListener):
   6746         (WebInspectorDelegate::mouseDidMoveOverElement):
   6747         (WebInspectorDelegate::contextMenuItemsForElement):
   6748         (WebInspectorDelegate::validateUserInterfaceItem):
   6749         (WebInspectorDelegate::shouldPerformAction):
   6750         (WebInspectorDelegate::willPerformDragDestinationAction):
   6751         (WebInspectorDelegate::dragSourceActionMaskForPoint):
   6752         (WebInspectorDelegate::willPerformDragSourceAction):
   6753         (WebInspectorDelegate::contextMenuItemSelected):
   6754         (WebInspectorDelegate::hasCustomMenuImplementation):
   6755         (WebInspectorDelegate::trackCustomPopupMenu):
   6756         (WebInspectorDelegate::measureCustomMenuItem):
   6757         (WebInspectorDelegate::drawCustomMenuItem):
   6758         (WebInspectorDelegate::addCustomMenuDrawingData):
   6759         (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
   6760         (WebInspectorDelegate::canTakeFocus):
   6761         (WebInspectorDelegate::takeFocus):
   6762         (WebInspectorDelegate::registerUndoWithTarget):
   6763         (WebInspectorDelegate::removeAllActionsWithTarget):
   6764         (WebInspectorDelegate::setActionTitle):
   6765         (WebInspectorDelegate::undo):
   6766         (WebInspectorDelegate::redo):
   6767         (WebInspectorDelegate::canUndo):
   6768         (WebInspectorDelegate::canRedo):
   6769         * WebKit.vcproj/WebKit.vcproj:
   6770 
   6771 2008-02-26  Adam Roben  <aroben (a] apple.com>
   6772 
   6773         Move ResourceLoadDelegate methods to WebFrameLoaderClient
   6774 
   6775         Changed all methods to use early returns where possible and COMPtr's
   6776         AdoptCOM/Query constructors.
   6777 
   6778         Reviewed by Anders.
   6779 
   6780         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6781         (WebFrameLoaderClient::assignIdentifierToInitialRequest):
   6782         (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
   6783         (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
   6784         (WebFrameLoaderClient::dispatchWillSendRequest):
   6785         (WebFrameLoaderClient::dispatchDidReceiveResponse):
   6786         (WebFrameLoaderClient::dispatchDidReceiveContentLength):
   6787         (WebFrameLoaderClient::dispatchDidFinishLoading):
   6788         (WebFrameLoaderClient::dispatchDidFailLoading):
   6789         * WebCoreSupport/WebFrameLoaderClient.h:
   6790         * WebFrame.cpp:
   6791         * WebFrame.h:
   6792 
   6793 2008-02-26  Adam Roben  <aroben (a] apple.com>
   6794 
   6795         Move two more methods to WebFrameLoaderClient
   6796 
   6797         Reviewed by Anders.
   6798 
   6799         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6800         (kit):
   6801         (WebFrameLoaderClient::dispatchCreatePage): Changed nested ifs to
   6802         early returns, and changed to use the COMPtr Query constructor.
   6803         (WebFrameLoaderClient::dispatchDidLoadMainResource): Added an early
   6804         return, and changed to use getWebDataSource.
   6805         * WebCoreSupport/WebFrameLoaderClient.h:
   6806         * WebFrame.cpp:
   6807         * WebFrame.h:
   6808 
   6809 2008-02-26  Adam Roben  <aroben (a] apple.com>
   6810 
   6811         Get rid of IID_WebFrame
   6812 
   6813         Reviewed by Anders.
   6814 
   6815         * WebFrame.cpp: Removed IID_WebFrame definition.
   6816         (WebFrame::QueryInterface): Use __uuidof(WebFrame) instead of
   6817         IID_WebFrame.
   6818         (WebFrame::isDescendantOfFrame): Use COMPtr's Query constructor
   6819         instead of a manual QueryInterface.
   6820         * WebFrame.h: Removed IID_WebFrame declaration, gave WebFrame a
   6821         DECLSPEC_UUID.
   6822 
   6823 2008-02-26  Adam Roben  <aroben (a] apple.com>
   6824 
   6825         Move WebHistory-related methods to WebFrameLoaderClient
   6826 
   6827         Reviewed by Anders.
   6828 
   6829         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6830         (WebFrameLoaderClient::updateGlobalHistory):
   6831         (WebFrameLoaderClient::shouldGoToHistoryItem):
   6832         (WebFrameLoaderClient::setTitle): Changed some nested ifs into early
   6833         returns.
   6834         (WebFrameLoaderClient::webHistory): Changed to return a COMPtr to
   6835         make the reference management foolproof.
   6836         * WebCoreSupport/WebFrameLoaderClient.h:
   6837         * WebFrame.cpp:
   6838         * WebFrame.h:
   6839 
   6840 2008-02-26  Adam Roben  <aroben (a] apple.com>
   6841 
   6842         Move cache-related methods to WebFrameLoaderClient
   6843 
   6844         Reviewed by Anders.
   6845 
   6846         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6847         (getWebDataSource): Moved to the top of the file.
   6848         (WebFrameLoaderClient::savePlatformDataToCachedPage):
   6849         (WebFrameLoaderClient::transitionToCommittedForNewPage):
   6850         (WebFrameLoaderClient::canCachePage):
   6851         * WebCoreSupport/WebFrameLoaderClient.h:
   6852         * WebFrame.cpp:
   6853         * WebFrame.h:
   6854 
   6855 2008-02-25  Adam Roben  <aroben (a] apple.com>
   6856 
   6857         Move plugin-related methods to WebFrameLoaderClient
   6858 
   6859         Reviewed by Anders.
   6860 
   6861         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6862         (WebFrameLoaderClient::WebFrameLoaderClient):
   6863         (WebFrameLoaderClient::setMainDocumentError):
   6864         (WebFrameLoaderClient::committedLoad): Added some early returns.
   6865         (WebFrameLoaderClient::receivedData):
   6866         (WebFrameLoaderClient::finishedLoading): Ditto.
   6867         (getWebDataSource):
   6868         (WebFrameLoaderClient::createPlugin):
   6869         * WebCoreSupport/WebFrameLoaderClient.h:
   6870         * WebFrame.cpp:
   6871         (WebFrame::WebFramePrivate::WebFramePrivate):
   6872         * WebFrame.h:
   6873 
   6874 2008-02-25  Adam Roben  <aroben (a] apple.com>
   6875 
   6876         Move createFrame to WebFrameLoaderClient
   6877 
   6878         Reviewed by Anders.
   6879 
   6880         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6881         (WebFrameLoaderClient::createFrame):
   6882         (WebFrameLoaderClient::loadURLIntoChild):
   6883         * WebCoreSupport/WebFrameLoaderClient.h:
   6884         * WebFrame.cpp:
   6885         * WebFrame.h:
   6886 
   6887 2008-02-25  Adam Roben  <aroben (a] apple.com>
   6888 
   6889         Move progress-related methods to WebFrameLoaderClient
   6890 
   6891         Reviewed by Anders.
   6892 
   6893         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6894         (WebFrameLoaderClient::postProgressStartedNotification):
   6895         (WebFrameLoaderClient::postProgressEstimateChangedNotification):
   6896         (WebFrameLoaderClient::postProgressFinishedNotification):
   6897         * WebCoreSupport/WebFrameLoaderClient.h:
   6898         * WebFrame.cpp:
   6899         * WebFrame.h:
   6900 
   6901 2008-02-25  Adam Roben  <aroben (a] apple.com>
   6902 
   6903         Remove WebFrame::detachedFromParent1
   6904 
   6905         This method was removed from FrameLoaderClient in r19042, but was
   6906         never removed from WebFrame.
   6907 
   6908         Reviewed by Anders.
   6909 
   6910         * WebFrame.cpp:
   6911         * WebFrame.h:
   6912 
   6913 2008-02-23  Adam Roben  <aroben (a] apple.com>
   6914 
   6915         Move many dispatch methods to WebFrameLoaderClient
   6916 
   6917         Reviewed by Sam.
   6918 
   6919         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6920         (WebFrameLoaderClient::dispatchDidHandleOnloadEvents):
   6921         (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
   6922         (WebFrameLoaderClient::dispatchDidCancelClientRedirect):
   6923         (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
   6924         (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
   6925         (WebFrameLoaderClient::dispatchWillClose):
   6926         (WebFrameLoaderClient::dispatchDidReceiveIcon):
   6927         (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
   6928         (WebFrameLoaderClient::dispatchDidReceiveTitle):
   6929         (WebFrameLoaderClient::dispatchDidCommitLoad):
   6930         (WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
   6931         (WebFrameLoaderClient::dispatchDidFinishLoad):
   6932         (WebFrameLoaderClient::dispatchDidFirstLayout):
   6933         (WebFrameLoaderClient::dispatchShow):
   6934         * WebCoreSupport/WebFrameLoaderClient.h:
   6935         * WebFrame.cpp:
   6936         * WebFrame.h:
   6937 
   6938 2008-02-23  Adam Roben  <aroben (a] apple.com>
   6939 
   6940         Move two more methods to WebFrameLoaderClient
   6941 
   6942         Reviewed by Sam.
   6943 
   6944         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6945         (WebFrameLoaderClient::hasFrameView):
   6946         (WebFrame::forceLayout):
   6947         * WebCoreSupport/WebFrameLoaderClient.h:
   6948         * WebFrame.cpp:
   6949         * WebFrame.h:
   6950 
   6951 2008-02-24  Darin Adler  <darin (a] apple.com>
   6952 
   6953         Reviewed by Sam.
   6954 
   6955         - remove separate client calls for "standard" and "reload' history
   6956 
   6957         * WebFrame.cpp:
   6958         (WebFrame::updateGlobalHistory):
   6959         * WebFrame.h:
   6960 
   6961 2008-02-23  Brent Fulgham  <bfulgham (a] gmail.com>
   6962 
   6963         Not reviewed, build fix.
   6964 
   6965         * WebIconDatabase.cpp:
   6966         * WebIconDatabase.h:
   6967 
   6968 2008-02-22  Adam Roben  <aroben (a] apple.com>
   6969 
   6970         Move hasWebView to WebFrameLoaderClient
   6971 
   6972         I added an m_webFrame member to WebFrameLoaderClient. This is slightly
   6973         strange because WebFrame inherits from WebFrameLoaderClient, but this
   6974         member will be needed once we remove the inheritance, so we might as
   6975         well prepare for that now.
   6976 
   6977         Reviewed by Anders.
   6978 
   6979         * WebCoreSupport/WebFrameLoaderClient.cpp:
   6980         (WebFrameLoaderClient::WebFrameLoaderClient): Changed to take a
   6981         WebFrame* parameter.
   6982         (WebFrameLoaderClient::hasWebView): Moved here from WebFrame.cpp.
   6983         * WebCoreSupport/WebFrameLoaderClient.h: Added an m_webFrame
   6984         parameter.
   6985         * WebFrame.cpp: Removed hasWebView.
   6986         (WebFrame::WebFrame): Updated for WebFrameLoaderClient constructor
   6987         change.
   6988         * WebFrame.h:
   6989 
   6990 2008-02-22  Adam Roben  <aroben (a] apple.com>
   6991 
   6992         Start to move FrameLoaderClient methods off WebFrame onto a separate class
   6993 
   6994         WebFrame now inherits from a new WebFrameLoaderClient class, which
   6995         will gradually assume all FrameLoaderClient responsibilities. Once
   6996         that process is complete, WebFrame will no longer inherit from
   6997         WebFrameLoaderClient.
   6998 
   6999         In this first patch, I've only moved createDocumentLoader up to the
   7000         WebFrameLoaderClient class.
   7001 
   7002         Reviewed by Anders.
   7003 
   7004         * WebCoreSupport/WebFrameLoaderClient.cpp: Added.
   7005         (WebFrameLoaderClient::WebFrameLoaderClient):
   7006         (WebFrameLoaderClient::~WebFrameLoaderClient):
   7007         (WebFrameLoaderClient::createDocumentLoader): Moved here from
   7008         WebFrame.cpp.
   7009         * WebCoreSupport/WebFrameLoaderClient.h: Added.
   7010         * WebFrame.cpp: Removed createDocumentLoader implementation.
   7011         * WebFrame.h: Changed to inherit from WebFrameLoaderClient.
   7012         * WebKit.vcproj/WebKit.vcproj: Added new files to the project.
   7013 
   7014 2008-02-22  Adam Roben  <aroben (a] apple.com>
   7015 
   7016         Move FormValuesPropertyBag into its own files
   7017 
   7018         Reviewed by Sam.
   7019 
   7020         * WebCoreSupport/FormValuesPropertyBag.cpp: Added.
   7021         (FormValuesPropertyBag::QueryInterface):
   7022         (FormValuesPropertyBag::AddRef):
   7023         (FormValuesPropertyBag::Release):
   7024         (FormValuesPropertyBag::Read):
   7025         (FormValuesPropertyBag::Write):
   7026         (FormValuesPropertyBag::CountProperties):
   7027         (FormValuesPropertyBag::GetPropertyInfo):
   7028         (FormValuesPropertyBag::LoadObject):
   7029         * WebCoreSupport/FormValuesPropertyBag.h: Added.
   7030         (FormValuesPropertyBag::FormValuesPropertyBag):
   7031         * WebFrame.cpp: Deleted FormValuesPropertyBag code.
   7032         * WebKit.vcproj/WebKit.vcproj: Added new files to the project.
   7033 
   7034 2008-02-22  Adam Roben  <aroben (a] apple.com>
   7035 
   7036         Remove some unused WebFrame methods
   7037 
   7038         FrameWinClient was deleted back in r22965, but these methods were
   7039         never deleted.
   7040 
   7041         Reviewed by Sam.
   7042 
   7043         * WebFrame.cpp:
   7044         * WebFrame.h: Made one createFrame overload protected, since it's only
   7045         called internally by WebFrame.
   7046 
   7047 2008-02-21  Adam Roben  <aroben (a] apple.com>
   7048 
   7049         Move Client implementations into a WebCoreSupport directory
   7050 
   7051         Reviewed by Anders.
   7052 
   7053         * WebKit.vcproj/WebKit.vcproj: Updated file paths, and added
   7054         WebCoreSupport directory to the include path.
   7055         * WebCoreSupport/WebChromeClient.cpp: Renamed from WebKit/win/WebChromeClient.cpp.
   7056         * WebCoreSupport/WebChromeClient.h: Renamed from WebKit/win/WebChromeClient.h.
   7057         * WebCoreSupport/WebContextMenuClient.cpp: Renamed from WebKit/win/WebContextMenuClient.cpp.
   7058         * WebCoreSupport/WebContextMenuClient.h: Renamed from WebKit/win/WebContextMenuClient.h.
   7059         * WebCoreSupport/WebDragClient.cpp: Renamed from WebKit/win/WebDragClient.cpp.
   7060         * WebCoreSupport/WebDragClient.h: Renamed from WebKit/win/WebDragClient.h.
   7061         * WebCoreSupport/WebEditorClient.cpp: Renamed from WebKit/win/WebEditorClient.cpp.
   7062         * WebCoreSupport/WebEditorClient.h: Renamed from WebKit/win/WebEditorClient.h.
   7063         * WebCoreSupport/WebInspectorClient.cpp: Renamed from WebKit/win/WebInspectorClient.cpp.
   7064         * WebCoreSupport/WebInspectorClient.h: Renamed from WebKit/win/WebInspectorClient.h.
   7065 
   7066 2008-02-20  Sam Weinig  <sam (a] webkit.org>
   7067 
   7068         Reviewed by Darin and Geoff.
   7069 
   7070         - WebKit part of <rdar://problem/5754378> work around missing video on YouTube front page with a site-specific hack
   7071 
   7072         * WebView.cpp:
   7073         (WebView::notifyPreferencesChanged): Added a call to Settings::setNeedsSiteSpecificQuirks.
   7074         (WebView::setAllowSiteSpecificHacks): Added a comment about the problem Darin noticed, where
   7075         after you disable the site-specific hacks they persist until you open a new window or tweak
   7076         some other preference.
   7077 
   7078 2008-02-19  Darin Adler  <darin (a] apple.com>
   7079 
   7080         Reviewed by Sam.
   7081 
   7082         * WebFrame.cpp:
   7083         (WebFrame::renderTreeAsExternalRepresentation): Changed to use String instead
   7084         of DeprecatedString.
   7085 
   7086 2008-02-18  Steve Falkenburg  <sfalken (a] apple.com>
   7087 
   7088         Make Drosera work on Vista.
   7089         
   7090         Runtime type library registration on Vista requires use of two new call:
   7091         RegisterTypeLibraryForUser and UnRegisterTypeLibraryForUser, which write to
   7092         HKCU.  LoadTypeLib[Ex] registers under HKLM, which fails under vista due to UAC.
   7093         
   7094         Reviewed by Adam.
   7095 
   7096         * WebKitDLL.cpp:
   7097         (DllUnregisterServer): Call UnRegisterTypeLibraryForUser if available. Fix version number.
   7098         (DllRegisterServer): Call RegisterTypeLibraryForUser if available.
   7099 
   7100 2008-02-18  Matt Lilek  <webkit (a] mattlilek.com>
   7101 
   7102         Reviewed by Adam.
   7103 
   7104         Remove FindSafari's Release configuration.
   7105 
   7106         * WebKit.vcproj/WebKit.sln:
   7107 
   7108 2008-02-16  Alexey Proskuryakov  <ap (a] webkit.org>
   7109 
   7110         Reviewed by Darin Adler.
   7111 
   7112         http://bugs.webkit.org/show_bug.cgi?id=17397
   7113         <rdar://problem/5748245> REGRESSION (r30236-30336): Cannot backspace/enter in forms on Windows
   7114 
   7115         * WebKit.vcproj/WebKit.vcproj: Add ENABLE_CROSS_DOCUMENT_MESSAGING definitions.
   7116 
   7117 2008-02-15  Darin Adler  <darin (a] apple.com>
   7118 
   7119         Reviewed by Adam.
   7120 
   7121         - quick fix for a problem causing an assertion on launch
   7122 
   7123         * WebFrame.cpp:
   7124         (WebFrame::loadData): Make an empty KURL even if the BSTR is null.
   7125         Later we might want to rethink this.
   7126 
   7127 2008-02-14  Darin Adler  <darin (a] apple.com>
   7128 
   7129         - updated for WebCore KURL changes
   7130 
   7131         * MarshallingHelpers.cpp:
   7132         (MarshallingHelpers::BSTRToKURL): Removed deprecatedString call.
   7133         (MarshallingHelpers::KURLToBSTR): Tweaked for efficiency.
   7134         * WebContextMenuClient.cpp:
   7135         (WebContextMenuClient::searchWithGoogle): Updated for KURL changes.
   7136         * WebDataSource.cpp:
   7137         (WebDataSource::unreachableURL): Ditto.
   7138         * WebDownload.cpp:
   7139         (WebDownload::init): Ditto.
   7140         (WebDownload::initWithRequest): Ditto.
   7141         * WebFrame.cpp:
   7142         (WebFrame::loadData): Ditto.
   7143         (WebFrame::loadURLIntoChild): Ditto.
   7144         (WebFrame::objectContentType): Ditto.
   7145         * WebResource.cpp:
   7146         (WebResource::initWithData): Ditto.
   7147         * WebURLResponse.cpp:
   7148         (WebURLResponse::createInstance): Ditto.
   7149         (WebURLResponse::initWithURL): Ditto.
   7150         * WebView.cpp:
   7151         (WebView::userAgentForURL): Ditto.
   7152         (WebView::copyURL): Ditto.
   7153         (WebView::notifyPreferencesChanged): Ditto.
   7154 
   7155 2008-02-14  Alexey Proskuryakov  <ap (a] webkit.org>
   7156 
   7157         * WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): Forgot to re-apply review comments to
   7158         the previous check-in, fixing.
   7159 
   7160 2008-02-14  Alexey Proskuryakov  <ap (a] webkit.org>
   7161 
   7162         Reviewed by Adam Roben.
   7163 
   7164         http://bugs.webkit.org/show_bug.cgi?id=17207
   7165         Database example doesn't work (requires not-yet-released Safari)
   7166 
   7167         * WebChromeClient.cpp:
   7168         (WebChromeClient::exceededDatabaseQuota): Check Safari version, and allow 5 megabytes of storage
   7169         if it's too old.
   7170 
   7171 2008-02-13  Ada Chan  <adachan (a] apple.com>
   7172 
   7173         <rdar://problem/5740656> Leak in postDidAddIconNotification in WebIconDatabase
   7174 
   7175         Reviewed by Darin Adler.
   7176 
   7177         * WebIconDatabase.cpp:
   7178         (postDidAddIconNotification): Need to adopt the newly created instance of CFDictionaryPropertyBag, 
   7179         which already has a ref count of 1.
   7180 
   7181 2008-02-13  Rodney Dawes  <dobey (a] wayofthemonkey.com>
   7182 
   7183         Fix Bug 17220: Illogical dependency between PluginView and
   7184         PluginDatabase
   7185         
   7186         <http://bugs.webkit.org/show_bug.cgi?id=17220>
   7187 
   7188         Reviewed by Adam and Darin.
   7189 
   7190         Update for the rename of PluginDatabase::createPluginView
   7191         to PluginView::create
   7192 
   7193         * WebFrame.cpp:
   7194 
   7195 2008-02-13  Adam Roben  <aroben (a] apple.com>
   7196 
   7197         Windows build fix
   7198 
   7199         * Interfaces/WebKit.idl: Create the typelib version symbol ourselves.
   7200 
   7201 2008-02-12  Steve Falkenburg  <sfalken (a] apple.com>
   7202 
   7203         Use a precompiled header to build WebKit.
   7204         
   7205         Reviewed by Adam.
   7206 
   7207         * WebKit.vcproj/WebKit.vcproj:
   7208         * WebKitPrefix.cpp: Added.
   7209         * WebKitPrefix.h: Added.
   7210 
   7211 2008-02-12  Steve Falkenburg  <sfalken (a] apple.com>
   7212 
   7213         Changes to support merged MIDL output.
   7214 
   7215         All COM interfaces are now generated to WebKit.h.
   7216 
   7217         Reviewed by Sam, Ada.
   7218 
   7219         * DOMCSSClasses.h:
   7220         * DOMCoreClasses.h:
   7221         * DOMEventsClasses.h:
   7222         * DOMHTMLClasses.h:
   7223         * DefaultDownloadDelegate.h:
   7224         * DefaultPolicyDelegate.cpp:
   7225         * DefaultPolicyDelegate.h:
   7226         * GEN_DOMObject.h:
   7227         * Interfaces/DOMCSS.idl:
   7228         * Interfaces/DOMCore.idl:
   7229         * Interfaces/DOMEvents.idl:
   7230         * Interfaces/DOMExtensions.idl:
   7231         * Interfaces/DOMHTML.idl:
   7232         * Interfaces/DOMPrivate.idl:
   7233         * Interfaces/DOMRange.idl:
   7234         * Interfaces/DOMWindow.idl:
   7235         * Interfaces/IGEN_DOMObject.idl:
   7236         * Interfaces/IWebArchive.idl:
   7237         * Interfaces/IWebBackForwardList.idl:
   7238         * Interfaces/IWebBackForwardListPrivate.idl:
   7239         * Interfaces/IWebCache.idl:
   7240         * Interfaces/IWebDataSource.idl:
   7241         * Interfaces/IWebDatabaseManager.idl:
   7242         * Interfaces/IWebDocument.idl:
   7243         * Interfaces/IWebDownload.idl:
   7244         * Interfaces/IWebEditingDelegate.idl:
   7245         * Interfaces/IWebError.idl:
   7246         * Interfaces/IWebErrorPrivate.idl:
   7247         * Interfaces/IWebFormDelegate.idl:
   7248         * Interfaces/IWebFrame.idl:
   7249         * Interfaces/IWebFrameLoadDelegate.idl:
   7250         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
   7251         * Interfaces/IWebFramePrivate.idl:
   7252         * Interfaces/IWebFrameView.idl:
   7253         * Interfaces/IWebHTMLRepresentation.idl:
   7254         * Interfaces/IWebHTTPURLResponse.idl:
   7255         * Interfaces/IWebHistory.idl:
   7256         * Interfaces/IWebHistoryItem.idl:
   7257         * Interfaces/IWebHistoryItemPrivate.idl:
   7258         * Interfaces/IWebIconDatabase.idl:
   7259         * Interfaces/IWebInspector.idl:
   7260         * Interfaces/IWebJavaScriptCollector.idl:
   7261         * Interfaces/IWebKitStatistics.idl:
   7262         * Interfaces/IWebMutableURLRequest.idl:
   7263         * Interfaces/IWebMutableURLRequestPrivate.idl:
   7264         * Interfaces/IWebNotification.idl:
   7265         * Interfaces/IWebNotificationCenter.idl:
   7266         * Interfaces/IWebNotificationObserver.idl:
   7267         * Interfaces/IWebPolicyDelegate.idl:
   7268         * Interfaces/IWebPreferences.idl:
   7269         * Interfaces/IWebPreferencesPrivate.idl:
   7270         * Interfaces/IWebResource.idl:
   7271         * Interfaces/IWebResourceLoadDelegate.idl:
   7272         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
   7273         * Interfaces/IWebScriptCallFrame.idl:
   7274         * Interfaces/IWebScriptDebugListener.idl:
   7275         * Interfaces/IWebScriptDebugServer.idl:
   7276         * Interfaces/IWebScriptObject.idl:
   7277         * Interfaces/IWebScriptScope.idl:
   7278         * Interfaces/IWebScrollBarDelegatePrivate.idl:
   7279         * Interfaces/IWebScrollBarPrivate.idl:
   7280         * Interfaces/IWebSecurityOrigin.idl:
   7281         * Interfaces/IWebTextRenderer.idl:
   7282         * Interfaces/IWebUIDelegate.idl:
   7283         * Interfaces/IWebUIDelegatePrivate.idl:
   7284         * Interfaces/IWebURLAuthenticationChallenge.idl:
   7285         * Interfaces/IWebURLRequest.idl:
   7286         * Interfaces/IWebURLResponse.idl:
   7287         * Interfaces/IWebURLResponsePrivate.idl:
   7288         * Interfaces/IWebUndoManager.idl:
   7289         * Interfaces/IWebUndoTarget.idl:
   7290         * Interfaces/IWebView.idl:
   7291         * Interfaces/IWebViewPrivate.idl:
   7292         * Interfaces/WebKit.idl:
   7293         * WebActionPropertyBag.cpp:
   7294         * WebBackForwardList.h:
   7295         * WebCache.h:
   7296         * WebDataSource.cpp:
   7297         * WebDataSource.h:
   7298         * WebDatabaseManager.h:
   7299         * WebDownload.h:
   7300         * WebEditorClient.cpp:
   7301         * WebEditorClient.h:
   7302         * WebError.h:
   7303         * WebFrame.cpp:
   7304         * WebFrame.h:
   7305         * WebFramePolicyListener.h:
   7306         * WebHTMLRepresentation.cpp:
   7307         * WebHTMLRepresentation.h:
   7308         * WebHistory.cpp:
   7309         * WebHistory.h:
   7310         * WebHistoryItem.h:
   7311         * WebIconDatabase.h:
   7312         * WebInspector.h:
   7313         * WebJavaScriptCollector.h:
   7314         * WebKit.vcproj/Interfaces.vcproj:
   7315         * WebKit.vcproj/WebKitGUID.vcproj:
   7316         * WebKitDLL.cpp:
   7317         * WebKitStatistics.h:
   7318         * WebMutableURLRequest.cpp:
   7319         * WebMutableURLRequest.h:
   7320         * WebNotification.h:
   7321         * WebNotificationCenter.h:
   7322         * WebPreferences.h:
   7323         * WebResource.h:
   7324         * WebScriptCallFrame.h:
   7325         * WebScriptDebugServer.cpp:
   7326         * WebScriptDebugServer.h:
   7327         * WebScriptDebugger.cpp:
   7328         * WebScriptDebugger.h:
   7329         * WebScriptObject.h:
   7330         * WebScrollBar.h:
   7331         * WebSecurityOrigin.h:
   7332         * WebTextRenderer.h:
   7333         * WebURLAuthenticationChallenge.h:
   7334         * WebURLAuthenticationChallengeSender.h:
   7335         * WebURLCredential.h:
   7336         * WebURLProtectionSpace.h:
   7337         * WebURLResponse.h:
   7338         * WebView.cpp:
   7339         * WebView.h:
   7340 
   7341 2008-02-12  Anders Carlsson  <andersca (a] apple.com>
   7342 
   7343         Reviewed by Adam.
   7344 
   7345         Implement imageTitle.
   7346         
   7347         * WebCoreLocalizedStrings.cpp:
   7348         (WebCore::imageTitle):
   7349 
   7350 2008-02-12  Anders Carlsson  <andersca (a] apple.com>
   7351 
   7352         Reviewed by Mitz.
   7353 
   7354         * WebCoreLocalizedStrings.cpp:
   7355         (WebCore::imageTitle):
   7356         Add stub.
   7357         
   7358 
   7359 2008-02-07  Ada Chan  <adachan (a] apple.com>
   7360 
   7361         <rdar://problem/5292433> certificate authentication support broken in Safari 3.0
   7362         Added mechanism to communicate client certificate info back to CFNetwork.
   7363 
   7364         Reviewed by Adam.
   7365 
   7366         * Interfaces/IWebError.idl: Added new WebURLErrorClientCertificateRequired error.
   7367         * Interfaces/IWebMutableURLRequestPrivate.idl: Added. Added method to set client 
   7368         certificate info on the request.
   7369         * WebKit.vcproj/Interfaces.vcproj: Added new idl.
   7370         * WebKit.vcproj/WebKit.vcproj: Link crypt32.lib
   7371         * WebKit.vcproj/WebKitGUID.vcproj:
   7372         * WebMutableURLRequest.cpp:
   7373         (WebMutableURLRequest::QueryInterface): Implements IWebMutableURLRequestPrivate.
   7374         (deallocCertContext): Free certificate context.
   7375         (copyCert): Duplicate the certificate context and returns it in a CFDataRef.
   7376         (WebMutableURLRequest::setClientCertificate):
   7377         * WebMutableURLRequest.h:
   7378 
   7379 2008-02-05  Rodney Dawes  <dobey (a] wayofthemonkey.com>
   7380 
   7381         Reviewed by Anders Carlsson.
   7382 
   7383         Part one of http://bugs.webkit.org/show_bug.cgi?id=16924.
   7384         Shared PluginDatabase, PluginInfoStore and PluginPackage implementations.
   7385 
   7386         Track WebCore renames.
   7387 
   7388         * WebFrame.cpp:
   7389         (WebFrame::createPlugin):
   7390         (WebFrame::redirectDataToPlugin):
   7391         (WebFrame::createJavaAppletWidget):
   7392         (WebFrame::objectContentType):
   7393         * WebView.cpp:
   7394         (WebViewWndProc):
   7395         (WebView::canShowMIMEType):
   7396         (WebView::addAdditionalPluginPath):
   7397 
   7398 2008-02-05  Alexey Proskuryakov  <ap (a] webkit.org>
   7399 
   7400         Reviewed by Darin Adler.
   7401 
   7402         http://bugs.webkit.org/show_bug.cgi?id=15248
   7403         <rdar://problem/5497032> Can not enter accented characters using alt-numeric keypad (take two)
   7404 
   7405         * WebView.cpp: (WebViewWndProc): KeyUp messages need to be translated, too.
   7406 
   7407 2008-02-01  Darin Adler  <darin (a] apple.com>
   7408 
   7409         - fix <rdar://problem/5680469> Each database worker thread takes a JSLock,
   7410           which slows down all JavaScript execution until the thread terminates
   7411 
   7412         * WebIconDatabase.cpp:
   7413         (WebIconDatabase::scheduleNotificationDelivery): Updated for new callOnMainThread.
   7414         (WebIconDatabase::deliverNotifications): Ditto.
   7415         * WebIconDatabase.h: Ditto.
   7416 
   7417 2008-01-31  Adam Roben  <aroben (a] apple.com>
   7418 
   7419         Fix <rdar://5713172> Focus lost from Gmail message body after toggling
   7420         tabs
   7421 
   7422         This regressed in r29583. Prior to r29583, the code path that resulted
   7423         in calling focusController->setFocusedFrame(0) was never getting hit.
   7424         r29583 changed the code to adhere to the comment above the code and
   7425         actually call setFocusedFrame(0) when losing focus to another part of
   7426         the window. It turns out this is wrong behavior (and not what
   7427         WebKit/mac does). The only time we should clear the focused frame is
   7428         when we tab out of the WebView, and that's already taken care of by
   7429         FocusController::advanceFocus. The code to clear the focused frame in
   7430         WebView was written before FocusController::advanceFocus, so it was
   7431         correct at one point but no longer is.
   7432 
   7433         We now never call setFocusedFrame(0) when the WebView receives a
   7434         WM_KILLFOCUS message. Instead we just call setFocused(false) on the
   7435         focused frame so that blur events will be sent. This matches what
   7436         WebKit/mac does.
   7437 
   7438         Reviewed by Darin and Adele.
   7439 
   7440         * WebView.cpp:
   7441         (WebViewWndProc): Also reworded a couple of comments to make them
   7442         clearer.
   7443 
   7444 2008-01-31  Adam Roben  <aroben (a] apple.com>
   7445 
   7446         Let WebCore take care of the highlight drawing entirely
   7447 
   7448         Reviewed by Darin Adler.
   7449 
   7450         * WebInspectorClient.cpp:
   7451         (WebInspectorClient::highlight): We now just show our highlight
   7452         window and let WebCore figure out what/where to paint. Once all ports
   7453         follow suit the Node* parameter to this method should be removed
   7454         entirely, and the name should probably change to
   7455         updateAndShowHighlight or something similar.
   7456         * WebNodeHighlight.cpp: Renamed m_webView to m_inspectedWebViewWindow.
   7457         (WebNodeHighlight::WebNodeHighlight): Now takes a WebView* parameter.
   7458         (WebNodeHighlight::show): Renamed from highlight(). Now gets the
   7459         WebView's HWND. Updated for member rename/removal.
   7460         (WebNodeHighlight::updateWindow): Updated for member rename and for
   7461         InspectorController changes.
   7462         * WebNodeHighlight.h: Added m_inspectedWebView member, removed m_rect
   7463         member, renamed highlight(Node*) -> show().
   7464 
   7465 2008-01-31  Adam Roben  <aroben (a] apple.com>
   7466 
   7467         Move node highlight drawing code to WebCore
   7468 
   7469         Reviewed by Darin Adler.
   7470 
   7471         * WebNodeHighlight.cpp:
   7472         (WebNodeHighlight::updateWindow): Call into WebCore to do the node
   7473         highlight drawing.
   7474 
   7475 2008-01-29  Adam Roben  <aroben (a] apple.com>
   7476 
   7477         Fix a crash when opening the Inspector
   7478 
   7479         Reviewed by Anders.
   7480 
   7481         * WebInspectorClient.cpp:
   7482         (WebInspectorClient::createPage): Call
   7483         WebPreferences::initWithIdentifier so our custom WebPreferences will
   7484         have all its members initialized.
   7485 
   7486 2008-01-29  Adam Roben  <aroben (a] apple.com>
   7487 
   7488         Fix Bug 16786: "Display images when page opens" preference affects
   7489         Inspector
   7490 
   7491         <http://bugs.webkit.org/show_bug.cgi?id=16786>
   7492         <rdar://5712914>
   7493 
   7494         Reviewed by Anders and Darin.
   7495 
   7496         * WebInspectorClient.cpp:
   7497         (WebInspectorClient::createPage): Create our own custom WebPreferences
   7498         so that we won't be affected by global preference changes. This
   7499         matches what Mac does.
   7500 
   7501 2008-01-29  Adam Roben  <aroben (a] apple.com>
   7502 
   7503         Fix <rdar://5713302> Web Inspector on Windows is not using the
   7504         localized strings
   7505 
   7506         Reviewed by Steve.
   7507 
   7508         * WebInspectorClient.cpp:
   7509         (getWebKitBundle): Added.
   7510         (WebInspectorClient::createPage): Call getWebKitBundle.
   7511         (WebInspectorClient::localizedStringsURL): Implemented.
   7512 
   7513 2008-01-29  Alexey Proskuryakov  <ap (a] webkit.org>
   7514 
   7515         Reviewed by Darin Adler.
   7516 
   7517         <rdar://problem/5710692> All storage tests fail/crash
   7518 
   7519         * WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): Clients that do not implement
   7520         database quota callbacks should have no database support - but not crash.
   7521 
   7522 2008-01-26  Steve Falkenburg  <sfalken (a] apple.com>
   7523 
   7524         <rdar://problem/5707607> REGRESSION: I hear a beep when selecting Alt-enter in address or search fields
   7525         
   7526         Reviewed by Oliver.
   7527 
   7528         * WebView.cpp:
   7529         (WebView::keyDown): Allow alt-return to be marked as handled by WebKit.
   7530 
   7531 2008-01-24  Steve Falkenburg  <sfalken (a] apple.com>
   7532 
   7533         Build fix
   7534 
   7535         * WebKit.vcproj/WebKit.sln:
   7536         * WebKit.vcproj/WebKit.submit.sln:
   7537 
   7538 2008-01-24  Adam Roben  <aroben (a] apple.com>
   7539 
   7540         Build fix
   7541 
   7542         * WebView.cpp: Added a comma.
   7543 
   7544 2008-01-24  Alexey Proskuryakov  <ap (a] webkit.org>
   7545 
   7546         Reviewed by Adam Roben.
   7547 
   7548         <rdar://problem/5702734> REGRESSION(r28936/r15890): Shift+del does not work in win Safari
   7549 
   7550         * WebView.cpp: Fixed keyDownEntries to list this shortcut (and related ones, for consistency).
   7551 
   7552 2008-01-23  Steve Falkenburg  <sfalken (a] apple.com>
   7553 
   7554         <rdar://problem/5698732> Copyright strings should include 2008
   7555         
   7556         Reviewed by Sam.
   7557 
   7558         * WebKit.vcproj/WebKit.rc:
   7559 
   7560 2008-01-23  Adam Roben  <aroben (a] apple.com>
   7561 
   7562         Fix <rdar://5698502> Inspector window reverts to default position/size unexpectedly
   7563 
   7564         Reviewed by Hyatt.
   7565 
   7566         * WebInspectorClient.cpp:
   7567         (defaultWindowRect): Added.
   7568         (WebInspectorClient::createPage):
   7569             - Use defaultWindowRect() to set the initial size/position of the
   7570               Inspector window.
   7571             - Pass the Inspector window's client rect to
   7572               IWebView::initWithFrame so that the WebView will be initially
   7573               sized to fill the window.
   7574         (WebInspectorClient::showWindow): Don't move/resize the window back to
   7575         the defaults every time this method is called.
   7576 
   7577 2008-01-23  Adam Roben  <aroben (a] apple.com>
   7578 
   7579         Fix <rdar://5700620> REGRESSION (r28190): "Open frame in new tab" instead of "Open link in new tab" @ digg.com
   7580 
   7581         Test: fast/events/contextmenu-scrolled-page-with-frame.html
   7582 
   7583         Reviewed by Dan.
   7584 
   7585         * WebView.cpp:
   7586         (WebView::handleContextMenuEvent): Translate the mouse coordinates
   7587         into document coordinates before performing the hit-test. This is what
   7588         EventHandler does internally.
   7589 
   7590 2008-01-23  Steve Falkenburg  <sfalken (a] apple.com>
   7591 
   7592         <rdar://problem/5699509> Allow file upload dialog to be localized.
   7593         
   7594         Reviewed by Darin Adler.
   7595 
   7596         * English.lproj/Localizable.strings: Updated.
   7597         * WebCoreLocalizedStrings.cpp:
   7598         (WebCore::uploadFileText): Added.
   7599         (WebCore::allFilesText): Added.
   7600 
   7601 2008-01-22  Adam Roben  <aroben (a] apple.com>
   7602 
   7603         Fix <rdar://5693599> REGRESSION (r29369): scroll bars are drawing when they shouldn't be on an ad on cnn.com
   7604 
   7605         Now that we have multiple FrameViews per Frame on Windows, we need to
   7606         make sure each FrameView gets its scrolling mode set correctly. On Mac
   7607         this works because WebFrameView holds the scrolling mode and a single
   7608         WebFrameView is shared by many FrameViews. On Windows, we have no such
   7609         shared object, so we just ask the Frame's owner element for the
   7610         scrolling mode.
   7611 
   7612         Tests: fast/frames/frame-scrolling-attribute.html
   7613                fast/frames/iframe-scrolling-attribute.html
   7614 
   7615         Reviewed by Hyatt.
   7616 
   7617         * WebFrame.cpp:
   7618         (WebFrame::transitionToCommittedForNewPage): Set the scrolling mode
   7619         on the FrameView based on the scrolling mode of the Frame's owner
   7620         element.
   7621 
   7622 2008-01-21  Darin Adler  <darin (a] apple.com>
   7623 
   7624         Reviewed by John Sullivan.
   7625 
   7626         - fix <rdar://problem/5644324> Delegate-less WebKit clients should have no databases
   7627         - fix incorrect value for WebDatabaseDisplayNameKey in header
   7628         
   7629         * Interfaces/IWebDatabaseManager.idl: Renamed detailsForDatabaseWithOrigin to
   7630         detailsForDatabase. Replaced deleteDatabasesWithOrigin with deleteOrigin.
   7631         Renamed deleteDatabaseWithOrigin to deleteDatabase. Fixed incorrect value for
   7632         WebDatabaseDisplayNameKey.
   7633         * Interfaces/IWebPreferencesPrivate.idl: Removed defaultDatabaseQuota and
   7634         setDefaultDatabaseQuota.
   7635         * Interfaces/IWebUIDelegatePrivate.idl: Replaced the two database quota functions
   7636         with a single one.
   7637 
   7638         * WebChromeClient.cpp:
   7639         (WebChromeClient::exceededDatabaseQuota): Replaced the two database quota functions
   7640         with a single one.
   7641         * WebChromeClient.h: Ditto.
   7642 
   7643         * WebDatabaseManager.cpp:
   7644         (WebDatabaseManager::detailsForDatabase): Changed to check for a name of null to
   7645         detect a nonexistent database rather than using isValid.
   7646         (WebDatabaseManager::deleteOrigin): Updated for name change (actually a semantic
   7647         change too, but both have the same name).
   7648         (WebDatabaseManager::deleteDatabase): Updated for name change.
   7649         (WebKitSetWebDatabasesPathIfNecessary): Ditto.
   7650 
   7651         * WebDatabaseManager.h: Updated for name changes.
   7652 
   7653         * WebPreferenceKeysPrivate.h: Removed WebKitDefaultDatabaseQuotaKey.
   7654         * WebPreferences.cpp:
   7655         (WebPreferences::initializeDefaultSettings): Removed the default for
   7656         WebKitDefaultDatabaseQuotaKey.
   7657         * WebPreferences.h: Removed defaultDatabaseQuota and setDefaultDatabaseQuota.
   7658         * WebView.cpp:
   7659         (WebView::notifyPreferencesChanged): Removed the code to set the
   7660         default database origin quota in WebCore::Settings based on IWebPreferencesPrivate.
   7661 
   7662 2008-01-19  Mark Rowe  <mrowe (a] apple.com>
   7663 
   7664         Fix inconsistent line endings and set svn:eol-style=native
   7665         on IDL files that did not have it set.
   7666 
   7667         * Interfaces/IGEN_DOMObject.idl:
   7668 
   7669 2008-01-18  Adam Roben  <aroben (a] apple.com>
   7670 
   7671         Fix <rdar://5693854> REGRESSION (r29581): fast/events/frame-click-focus.html failing
   7672 
   7673         Restored the previous behavior of IWebViewPrivate::updateActiveState,
   7674         which DRT depends on, and renamed it to
   7675         IWebViewPrivate::updateFocusedAndActiveState to be clearer about its
   7676         side-effects.
   7677 
   7678         Reviewed by Adele.
   7679 
   7680         * Interfaces/IWebViewPrivate.idl:
   7681         * WebView.cpp:
   7682         (WebViewWndProc): Removed some FIXMEs that we no longer want to fix
   7683         because the current design is better.
   7684         (WebView::updateActiveState): This is now just a method of WebView,
   7685         not any of its public interfaces.
   7686         (WebView::updateFocusedAndActiveState): Performs the tasks that the
   7687         old IWebViewPrivate::updateActiveState performed.
   7688         * WebView.h:
   7689 
   7690 2008-01-18  Alexey Proskuryakov  <ap (a] webkit.org>
   7691 
   7692         Reviewed by Adam Roben.
   7693 
   7694         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
   7695         between DRT and TestNetscapePlugin.
   7696 
   7697         * WebKit.vcproj/WebKit.sln: Use newly added TestNetscapePlugin Debug_Internal configuration.
   7698 
   7699 2008-01-17  Steve Falkenburg  <sfalken (a] apple.com>
   7700 
   7701         Build fix.
   7702 
   7703         * WebKit.vcproj/WebKit.make:
   7704 
   7705 2008-01-16  Adam Roben  <aroben (a] apple.com>
   7706 
   7707         Trigger activation changes at the right time by listening for WM_NCACTIVATE
   7708 
   7709         This is the final part of <rdar://5006915> Inactive look for Aqua
   7710         controls
   7711 
   7712         WebView now listens to messages sent to its top-level parent window.
   7713         When the top-level parent receives a WM_NCACTIVATE message, WebView
   7714         recalculates whether it is contained within the current active window.
   7715 
   7716         Reviewed by Darin Adler.
   7717 
   7718         * Interfaces/IWebViewPrivate.idl:
   7719         (IWebViewPrivate::windowAncestryDidChange): Added. WebKit clients
   7720         should call this when they change the parent window chain of a
   7721         WebView.
   7722         * WebView.cpp:
   7723         (WebView::WebView): Initialize new member.
   7724         (findTopLevelParent): Added.
   7725         (WebViewWndProc):
   7726             - Separated activation handling from focus handling, now that
   7727               activation handling is taken care of by updateActiveState
   7728               exclusively.
   7729             - Compare top-level parents in our WM_KILLFOCUS handler so that we
   7730               really know if focus is staying inside our top-level window.
   7731             - Update our active state on WM_WINDOWPOSCHANGED.
   7732             - Added a WM_TIMER handler.
   7733         (WebView::initWithFrame): Call windowAncestryDidChange after setting
   7734         up our HWND as a child of the host window.
   7735         (WebView::windowReceivedMessage): Added. Update our active state when
   7736         our top-level parent receives a WM_NCACTIVATE message.
   7737         (WebView::updateActiveStateSoon): Added.
   7738         (WebView::setHostWindow): Call windowAncestryDidChange after changing
   7739         the host window.
   7740         (WebView::updateActiveState): We are active if our top-level parent is
   7741         the same as the top-level parent of the active window.
   7742         (WebView::windowAncestryDidChange): Added. Recalculates our top-level
   7743         parent and registers as a listener for the new top-level parent's
   7744         messages.
   7745         * WebView.h: Made WebView and WindowMessageListener so that it can
   7746         utilize WindowMessageBroadcaster to listen to its top-level parent's
   7747         messages.
   7748 
   7749 2008-01-16  Adam Roben  <aroben (a] apple.com>
   7750 
   7751         Updated for ScrollBarClient changes
   7752 
   7753         Reviewed by Darin Adler.
   7754 
   7755         * WebScrollBar.h:
   7756         (WebScrollBar::isActive): Added.
   7757 
   7758 2008-01-16  Adam Roben  <aroben (a] apple.com>
   7759 
   7760         Updated for changes to WebCore methods
   7761 
   7762         Focus and active state are now handled (somewhat) separately. Future
   7763         patches will further separate these concepts.
   7764 
   7765         Reviewed by Darin Adler.
   7766 
   7767         * WebView.cpp:
   7768         (WebViewWndProc): Updated for method renames.
   7769         (WebView::updateActiveState): Only change the active state here. Focus
   7770         is handled inside WM_SETFOCUS and WM_KILLFOCUS message handlers.
   7771 
   7772 2008-01-16  Steve Falkenburg  <sfalken (a] apple.com>
   7773 
   7774         <rdar://problem/5097419> Cursor flickers when over window resizer
   7775         
   7776         Reviewed by Sam.
   7777 
   7778         * WebView.cpp:
   7779         (WebViewWndProc): Don't set the resize cursor when over the non-border resize area.
   7780 
   7781 2008-01-15  Steve Falkenburg  <sfalken (a] apple.com>
   7782 
   7783         <rdar://problem/5663888> Cannot type into a JavaScript prompt created from a timer
   7784         
   7785         Allow nested timers from javascript prompts to allow for WebView-based edit fields.
   7786         
   7787         Reviewed by Darin Adler.
   7788 
   7789         * WebChromeClient.cpp:
   7790         (WebChromeClient::runJavaScriptPrompt):
   7791 
   7792 2008-01-14  Steve Falkenburg  <sfalken (a] apple.com>
   7793 
   7794         Use shared vsprops for most vcproj properties.
   7795         
   7796         Reviewed by Darin Adler.
   7797 
   7798         * WebKit.vcproj/Interfaces.vcproj:
   7799         * WebKit.vcproj/WebKit.vcproj:
   7800         * WebKit.vcproj/WebKitGUID.vcproj: Add missing Debug_Internal config.
   7801 
   7802 2008-01-11  Steve Falkenburg  <sfalken (a] apple.com>
   7803 
   7804         Share common files across projects.
   7805         
   7806         Unify vsprops files
   7807         Debug:          common.vsprops, debug.vsprops
   7808         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
   7809         Release:        common.vsprops, release.vsprops
   7810         
   7811         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
   7812         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
   7813 
   7814         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
   7815 
   7816         Reviewed by Adam Roben.
   7817 
   7818         * WebKit.vcproj/Interfaces.vcproj:
   7819         * WebKit.vcproj/PRODUCTVERSION: Removed.
   7820         * WebKit.vcproj/VERSION: Removed.
   7821         * WebKit.vcproj/WebKit.vcproj:
   7822         * WebKit.vcproj/WebKitGUID.vcproj:
   7823         * WebKit.vcproj/auto-version.sh: Removed.
   7824         * WebKit.vcproj/debug.vsprops: Removed.
   7825         * WebKit.vcproj/debug_internal.vsprops: Removed.
   7826         * WebKit.vcproj/release.vsprops: Removed.
   7827 
   7828 2008-01-11  Adam Roben  <aroben (a] apple.com>
   7829 
   7830         Fix Bug 16828: WebView never paints if first page load is canceled after being committed but before layout
   7831 
   7832         <http://bugs.webkit.org/show_bug.cgi?id=16828>
   7833         <rdar://5682402>
   7834 
   7835         Now that we have 1) a real loader and 2) multiple FrameViews per
   7836         Frame, we no longer need the hackery we had in our WM_PAINT handler
   7837         that decided whether or not to paint. We now always want to paint,
   7838         letting the swapping of FrameViews that happens in
   7839         transitionToCommittedForNewPage handle which document gets painted.
   7840 
   7841         Reviewed by Hyatt.
   7842 
   7843         * WebView.cpp:
   7844         (WebViewWndProc): Removed hackery that decided sometimes not to paint.
   7845 
   7846 2008-01-11  Mark Rowe  <mrowe (a] apple.com>
   7847 
   7848         Windows build fix.  Update to match method name in WebCore.
   7849 
   7850         * WebJavaScriptCollector.cpp:
   7851         (WebJavaScriptCollector::collectOnAlternateThread):
   7852 
   7853 2008-01-10  Geoffrey Garen  <ggaren (a] apple.com>
   7854 
   7855         Reviewed by John Sullivan.
   7856 
   7857         Updated for transition away from JavaScriptStatistics, which is gone now.
   7858 
   7859         * WebJavaScriptCollector.cpp:
   7860         (WebJavaScriptCollector::collect):
   7861         (WebJavaScriptCollector::collectOnAlternateThread):
   7862         (WebJavaScriptCollector::objectCount):
   7863 
   7864 2008-01-10  Maciej Stachowiak  <mjs (a] apple.com>
   7865 
   7866         Not reviewed, build fix.
   7867         
   7868         - more build fixing
   7869 
   7870         * WebDatabaseManager.cpp:
   7871         * WebSecurityOrigin.h:
   7872 
   7873 2008-01-10  Maciej Stachowiak  <mjs (a] apple.com>
   7874 
   7875         Not reviewed, build fix.
   7876         
   7877         - try to fix build
   7878 
   7879         * WebDatabaseManager.cpp:
   7880         (WebDatabaseManager::databasesWithOrigin):
   7881         * WebSecurityOrigin.h:
   7882 
   7883 2008-01-10  Maciej Stachowiak  <mjs (a] apple.com>
   7884 
   7885         Reviewed by Sam.
   7886 
   7887         - remove SecurityOriginData and fold its functionality into SecurityOrigin
   7888 
   7889         * WebChromeClient.cpp:
   7890         (WebChromeClient::requestQuotaIncreaseForNewDatabase):
   7891         (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
   7892         * WebChromeClient.h:
   7893         * WebDatabaseManager.cpp:
   7894         (WebDatabaseManager::origins):
   7895         (WebDatabaseManager::databasesWithOrigin):
   7896         (WebDatabaseManager::detailsForDatabaseWithOrigin):
   7897         (WebDatabaseManager::deleteDatabasesWithOrigin):
   7898         (WebDatabaseManager::deleteDatabaseWithOrigin):
   7899         (WebDatabaseManager::dispatchDidModifyOrigin):
   7900         (WebDatabaseManager::dispatchDidModifyDatabase):
   7901         * WebDatabaseManager.h:
   7902         * WebSecurityOrigin.cpp:
   7903         (WebSecurityOrigin::createInstance):
   7904         (WebSecurityOrigin::WebSecurityOrigin):
   7905         (WebSecurityOrigin::protocol):
   7906         (WebSecurityOrigin::domain):
   7907         (WebSecurityOrigin::port):
   7908         (WebSecurityOrigin::usage):
   7909         (WebSecurityOrigin::quota):
   7910         (WebSecurityOrigin::setQuota):
   7911         * WebSecurityOrigin.h:
   7912 
   7913 2008-01-10  David Kilzer  <ddkilzer (a] apple.com>
   7914 
   7915         dftables should be rewritten as a script
   7916 
   7917         <http://bugs.webkit.org/show_bug.cgi?id=16818>
   7918         <rdar://problem/5681463>
   7919 
   7920         Reviewed by Darin Adler.
   7921 
   7922         * WebKit.vcproj/WebKit.sln: Removed reference to dftables project.
   7923 
   7924 2008-01-10  Adam Roben  <aroben (a] apple.com>
   7925 
   7926         Fix many bugs by giving Windows one FrameView per page load
   7927         
   7928         Bugs include:
   7929             <rdar://5659200>
   7930                 Windows back/forward cache causes crashes in the layout tests
   7931             <rdar://5659355>
   7932             <http://bugs.webkit.org/show_bug.cgi?id=16808>
   7933                 REGRESSION: PLT broken on Windows due to back/forward cache
   7934             <rdar://5663654>
   7935             <http://bugs.webkit.org/show_bug.cgi?id=16607>
   7936                 Random crashes in FrameView::scheduleRelayout while surfing
   7937                 Thinkgeek
   7938 
   7939         On Windows until now we've only had one FrameView per Frame. Once the
   7940         back/forward cache was turned on this started causing assertions to
   7941         fail and crashes to occur due to a single FrameView being both in the
   7942         back/forward cache (possibly multiple times!) and used by a live
   7943         document. We now create a new FrameView for each page load, just as
   7944         Mac does.
   7945 
   7946         This has the side-effect of plugging some of the world leaks seen at
   7947         the end of the PLT.
   7948 
   7949         Reviewed by Hyatt.
   7950 
   7951         * WebFrame.cpp:
   7952         (WebFrame::initWithWebFrameView): Don't create the FrameView right
   7953         away -- it'll be created when the load is committed.
   7954         (WebFrame::transitionToCommittedFromCachedPage): Match the Mac by no
   7955         longer calling resetMultipleFormSubmissionProtection here.
   7956         (WebFrame::transitionToCommittedForNewPage): Ported code from
   7957         -[WebCoreFrameBridge
   7958         createFrameViewWithNSView:marginWidth:marginHeight:],
   7959         -[WebCoreFrameBridge installInFrame:], and moved code here from
   7960         WebFrame::initWithWebFrameView and WebView::initWithFrame. WebCore
   7961         takes care of resetMultipleFormSubmissionProtection, just like it does
   7962         on the Mac.
   7963         * WebView.cpp:
   7964         (WebView::initWithFrame): Moved FrameView initialization code to
   7965         WebFrame::transitionToCommittedForNewPage.
   7966 
   7967 2008-01-09  Ada Chan  <adachan (a] apple.com>
   7968 
   7969         Fix crash that could happen if the key we are passing to the HashMap is 0 in WebView::interpretKeyEvent().
   7970 
   7971         Reviewed by Darin Adler.
   7972 
   7973         * WebView.cpp:
   7974         (WebView::interpretKeyEvent):
   7975 
   7976 2008-01-08  Steve Falkenburg  <sfalken (a] apple.com>
   7977 
   7978         Fix build.
   7979 
   7980         * DOMCoreClasses.cpp:
   7981 
   7982 2008-01-07  Antti Koivisto  <antti (a] apple.com>
   7983 
   7984         Try to fix the Windows build.
   7985 
   7986         * WebKit.vcproj/WebKit.sln:
   7987 
   7988 2008-01-07  Antti Koivisto  <antti (a] apple.com>
   7989 
   7990         Reviewed by Steve.
   7991         
   7992         Re-enable media support in Windows build.
   7993 
   7994         * WebKit.vcproj/WebKit.vcproj:
   7995 
   7996 2008-01-07  Steve Falkenburg  <sfalken (a] apple.com>
   7997 
   7998         Build fix.
   7999 
   8000         * WebKit.vcproj/InterfacesGenerated.vcproj:
   8001 
   8002 2008-01-07  Dan Bernstein  <mitz (a] apple.com>
   8003 
   8004         Reviewed by Dave Hyatt.
   8005 
   8006         - <rdar://problem/5665216> Support the unicode-range property in @font-face rules
   8007 
   8008         * WebView.cpp:
   8009         (WebView::setShouldApplyMacFontAscentHack):
   8010 
   8011 2008-01-07  Holger Freyther  <zecke (a] selfish.org>
   8012 
   8013         Reviewed by Alp Toker.
   8014 
   8015         * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
   8016         actions.
   8017         * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
   8018         * Update the ContextMenuController to accept CheckableActionTypes as well.
   8019         * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
   8020         was extracted from ContextMenu::checkOrEnableIfNeeded.
   8021         * Update the Qt and Windows port.
   8022 
   8023         * WebContextMenuClient.cpp:
   8024 
   8025 2008-01-04  Alexey Proskuryakov  <ap (a] webkit.org>
   8026 
   8027         Reviewed by Adam Roben.
   8028 
   8029         http://bugs.webkit.org/show_bug.cgi?id=16733
   8030         REGRESSION: Crash on Safari Start
   8031 
   8032         * Interfaces/IWebViewPrivate.idl: Should have added a new method at the end.
   8033 
   8034 2008-01-04  Alexey Proskuryakov  <ap (a] webkit.org>
   8035 
   8036         Reviewed by Darin Adler.
   8037 
   8038         <rdar://problem/5611712> xsl:sort does not use a case folding sort, and the 'case-order' attribute is ignored (16077)
   8039 
   8040         * WebKit.vcproj/WebKit.vcproj: Link to icuin{_debug}.lib
   8041 
   8042 2008-01-04  Adam Roben  <aroben (a] apple.com>
   8043 
   8044         Fix <rdar://4968855> Shift-PageUp/Shift-PageDown only select one line of text
   8045 
   8046         Test: platform/win/editing/selection/shift-page-down-up.html
   8047 
   8048         Reviewed by Oliver.
   8049 
   8050         * WebView.cpp: Correct the commands associated with
   8051         Shift-PageUp/Shift-PageDown.
   8052 
   8053 2008-01-03  Alexey Proskuryakov  <ap (a] webkit.org>
   8054 
   8055         Reviewed by Darin Adler.
   8056 
   8057         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
   8058 
   8059         * Interfaces/IWebViewPrivate.idl:
   8060         * WebView.cpp:
   8061         (WebView::executeCoreCommandByName):
   8062         * WebView.h:
   8063         Added an SPI to implement layoutTestController.execCommand.
   8064 
   8065 2008-01-03  Ada Chan  <adachan (a] apple.com>
   8066 
   8067         Replaced the use of editor command "ForwardDelete" with "DeleteForward" to be consistent
   8068         with our use of "DeleteBackward".
   8069 
   8070         Rubber-stamped by Jon.
   8071 
   8072         * WebView.cpp:
   8073 
   8074 2008-01-03  Ada Chan  <adachan (a] apple.com>
   8075 
   8076         Regression: backspace stopped working on text inputs
   8077         - Replaced the use of editor command "BackwardDelete" with "DeleteBackward" since it's no longer supported.
   8078 
   8079         Reviewed by Adam.
   8080 
   8081         * WebEditorClient.cpp:
   8082         (WebEditorClient::textWillBeDeletedInTextField):
   8083         * WebView.cpp:
   8084 
   8085 2008-01-02  Alice Liu  <alice.liu (a] apple.com>
   8086 
   8087         Reviewed by Maciej.
   8088 
   8089         Fixed <rdar://5283861> (problems scrolling in gmail message content area)
   8090 
   8091         * WebView.cpp:
   8092         (WebView::keyDown):
   8093         bubble scrolling from a key event
   8094 
   8095 2008-01-01  Matt Lilek  <webkit (a] mattlilek.com>
   8096 
   8097         Attempt to fix the Windows bots until the bots
   8098         can get the Quicktime SDK installed.
   8099 
   8100         * WebKit.vcproj/WebKit.sln:
   8101         * WebKit.vcproj/WebKit.vcproj:
   8102 
   8103 2007-12-30  Matt Lilek  <webkit (a] mattlilek.com>
   8104 
   8105         Reviewed by Darin Adler.
   8106 
   8107         Bug 16578: Windows Web Inspector window needs minimum size
   8108         http://bugs.webkit.org/show_bug.cgi?id=16578
   8109 
   8110         * WebInspectorClient.cpp:
   8111         (WebInspectorClient::onGetMinMaxInfo):
   8112         (WebInspectorWndProc):
   8113         * WebInspectorClient.h:
   8114 
   8115 2007-12-21  Antti Koivisto  <antti (a] apple.com>
   8116 
   8117         Reviewed by Steve.
   8118         
   8119         Build media support on Windows.
   8120 
   8121         * WebKit.vcproj/WebKit.sln:
   8122         * WebKit.vcproj/WebKit.vcproj:
   8123 
   8124 2007-12-21  Ada Chan  <adachan (a] apple.com>
   8125 
   8126         Implemented DOMDocument::getElementById().
   8127 
   8128         Reviewed by Darin Adler.
   8129 
   8130         * DOMCoreClasses.cpp:
   8131         (DOMDocument::getElementById):
   8132 
   8133 2007-12-21  Alexey Proskuryakov  <ap (a] webkit.org>
   8134 
   8135         Reviewed by Steve and Darin.
   8136 
   8137         <rdar://problem/5497037> Win32: Accelerator keys (ctrl-x,c,v,w,q,etc) only fire keyUp,
   8138         keyDown/Press consumed by accelerator table (14104)
   8139 
   8140         <rdar://problem/5346299> preventing default behavior for key down does not block accelerators like Ctrl+N
   8141 
   8142         This is WebKit part of a fix, most of which will be in Safari.
   8143 
   8144         * WebView.cpp:
   8145         (WebViewWndProc): Return our result for WM_(SYS)KEYDOWN to let the client know whether
   8146         further procesing is desired.
   8147 
   8148 2007-12-21  Alexey Proskuryakov  <ap (a] webkit.org>
   8149 
   8150         Build fix: cannot use framework-style include for ProgIDMacros.h,
   8151         because the file is only created on a later step. 
   8152 
   8153         * ForEachCoClass.h:
   8154 
   8155 2007-12-20  Kevin McCullough  <kmccullough (a] apple.com>
   8156 
   8157         Reviewed by Steve.
   8158 
   8159         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to 
   8160         WebKit.
   8161 
   8162         - Drosera and Safari need to use the same ProgIDs in order for
   8163         CoCreateInstance to work properly.  The most robust way to do this is
   8164         for WebKit to dynamically publish those ProgIDs.
   8165 
   8166         * ForEachCoClass.cpp: Added.
   8167         (setUseOpenSourceWebKit):
   8168         (progIDForClass):
   8169         * ForEachCoClass.h: Added functionality to publish ProgIDs.
   8170         * WebKit.vcproj/WebKit.def: Exposed added functions for applications.
   8171         * WebKit.vcproj/WebKit.vcproj: Added ForEachCoClass.cpp
   8172         * WebKit.vcproj/WebKit_debug.def: Exposed added functions fori
   8173         applications.
   8174 
   8175 2007-12-19  Dave Hyatt <hyatt (a] apple.com>
   8176 
   8177         Add a fourth preference value for GDI text in the font smoothing prefs.
   8178         
   8179         Reviewed by mitz
   8180 
   8181         * Interfaces/IWebPreferences.idl:
   8182         * WebPreferenceKeysPrivate.h:
   8183         * WebPreferences.cpp:
   8184         (WebPreferences::initializeDefaultSettings):
   8185         (WebPreferences::fontSmoothing):
   8186         (WebPreferences::setFontSmoothing):
   8187         * WebView.cpp:
   8188         (WebView::notifyPreferencesChanged):
   8189 
   8190 2007-12-17  Darin Adler  <darin (a] apple.com>
   8191 
   8192         Reviewed by Sam.
   8193 
   8194         - <rdar://4516170> Back/Forward Cache on Windows
   8195 
   8196         * WebFrame.cpp:
   8197         (WebFrame::forceLayout): Implemented this. Just calling through to
   8198         Frame::forceLayout matches the Mac pretty well and should be enough
   8199         for now. Without this we won't repaint the new page when we go back
   8200         and forward.
   8201         (WebFrame::dispatchWillSubmitForm): Use COMPtr's AdoptCOM constructor
   8202         instead of the adoptRef function.
   8203         (WebFrame::restoreViewState): Removed unneeded notImplemented() call.
   8204         This is implemented as much as it needs to be.
   8205         (WebFrame::shouldGoToHistoryItem): Ditto.
   8206         (WebFrame::saveViewStateToItem): Ditto.
   8207         (WebFrame::canCachePage): Ditto, also changed it to return true. This
   8208         is what was preventing the back/forward cache from running, and there's
   8209         no need for any additional checks in the Windows version.
   8210 
   8211         * WebView.cpp:
   8212         (PreferencesChangedOrRemovedObserver::onNotify): Fix backwards null check
   8213         that was preventing this notification from ever being sent, which in turn
   8214         meant that page cache had a capacity of 0.
   8215         (WebView::initWithFrame): Removed unneeded setUsesPageCache(false) code.
   8216         This actually was ineffective and ended up doing no harm, but we don't
   8217         need it.
   8218 
   8219 2007-12-16  Alexey Proskuryakov  <ap (a] webkit.org>
   8220 
   8221         Reviewed by Darin Adler.
   8222 
   8223         http://bugs.webkit.org/show_bug.cgi?id=16462
   8224         REGRESSION: access keys broken on Windows
   8225 
   8226         * WebView.cpp: (WebView::keyPress): Handle system key presses as access keys.
   8227 
   8228 2007-12-15  Alexey Proskuryakov  <ap (a] webkit.org>
   8229 
   8230         Reviewed by Maciej.
   8231 
   8232         http://bugs.webkit.org/show_bug.cgi?id=16436
   8233         Alt+Space works incorrectly
   8234 
   8235         Test: platform/win/fast/events/alt-space-scroll.html
   8236 
   8237         * WebView.cpp:
   8238         (WebView::keyDown):
   8239         (WebView::keyPress):
   8240         We do not handle WM_SYSCHAR events.
   8241 
   8242 2007-12-14  Dan Bernstein  <mitz (a] apple.com>
   8243 
   8244         - yet another build fix
   8245 
   8246         * DOMHTMLClasses.cpp:
   8247         (DOMHTMLDocument::URL):
   8248 
   8249 2007-12-14  Dan Bernstein  <mitz (a] apple.com>
   8250 
   8251         - build fix
   8252 
   8253         * WebIconDatabase.h:
   8254 
   8255 2007-12-14  Darin Adler  <darin (a] apple.com>
   8256 
   8257         Reviewed by Adele.
   8258 
   8259         - http://bugs.webkit.org/show_bug.cgi?id=16443
   8260           implement some missing Windows WebKit functions
   8261 
   8262         * DOMHTMLClasses.cpp:
   8263         (DOMHTMLDocument::URL): Implemented.
   8264 
   8265         * WebActionPropertyBag.cpp:
   8266         (WebActionPropertyBag::Read): Fixed the WebActionElementKey case. 
   8267 
   8268 2007-12-14  Darin Adler  <darin (a] apple.com>
   8269 
   8270         Reviewed by Alexey.
   8271 
   8272         * WebView.cpp:
   8273         (WebView::execCommand): Switched from Editor::execCommand to Editor:command.
   8274         Updated name from MoveUpByPageAndModifyCaret to MovePageUp and from
   8275         MoveDownByPageAndModifyCaret to MovePageDown.
   8276         (WebView::copy): Switched from Editor::execCommand to Editor:command.
   8277         (WebView::cut): Ditto.
   8278         (WebView::paste): Ditto.
   8279         (WebView::delete_): Ditto.
   8280 
   8281 2007-12-13  Steve Falkenburg  <sfalken (a] apple.com>
   8282 
   8283         Move source file generation into its own vcproj to fix build dependencies.
   8284 
   8285         Reviewed by Adam.
   8286 
   8287         * WebKit.vcproj/Interfaces.vcproj:
   8288         * WebKit.vcproj/InterfacesGenerated.vcproj: Added.
   8289         * WebKit.vcproj/WebKit.sln:
   8290         * WebKit.vcproj/WebKit.submit.sln:
   8291         * WebKit.vcproj/build-generated-files.sh:
   8292 
   8293 2007-12-13  Adam Roben  <aroben (a] apple.com>
   8294 
   8295         Fix <rdar://5517707> Crash on wptv.wp.pl when "make bigger" button is clicked
   8296 
   8297         Reviewed by Anders.
   8298 
   8299         * WebView.cpp:
   8300         (WebViewWndProc): Repost paint messages and ignore all other messages
   8301         when we're calling a plugin.
   8302 
   8303 2007-12-13  Steve Falkenburg  <sfalken (a] apple.com>
   8304 
   8305         Fix project dependencies based on JavaScriptCore change.
   8306 
   8307         * WebKit.vcproj/WebKit.sln:
   8308 
   8309 2007-12-13  Alexey Proskuryakov  <ap (a] webkit.org>
   8310 
   8311         Reviewed by Adele.
   8312 
   8313         http://bugs.webkit.org/show_bug.cgi?id=16421
   8314         REGRESSION(r28669): Page scrolls down when you hit space key in text area
   8315 
   8316         Test: fast/events/space-scroll-event.html
   8317 
   8318         * WebView.cpp:
   8319         (WebView::keyDown):
   8320         (WebView::keyPress):
   8321         Moved space handling to keyPress() to fix this bug and to match IE. Scrolling via arrow keys is correctly handled
   8322         in keyDown().
   8323 
   8324 2007-12-12  Brady Eidson  <beidson (a] apple.com>
   8325 
   8326         Reviewed by Sam Weinig
   8327 
   8328         Fix for <rdar://problem/4886844> and lay groundwork for <rdar://problem/4516170> (Back/Forward Cache on Windows)
   8329 
   8330         Even though this new code isn't exercised yet because the page cache is still turned off for Windows, local testing
   8331         has indicated it works well.
   8332 
   8333         * WebCachedPagePlatformData.h: Added.
   8334         (WebCachedPagePlatformData::WebCachedPagePlatformData): Constructor takes an IWebDataSource and the object retains it
   8335         (WebCachedPagePlatformData::clear):
   8336         (WebCachedPagePlatformData::webDataSource):
   8337 
   8338         * WebFrame.cpp:
   8339         (WebFrame::savePlatformDataToCachedPage):
   8340         (WebFrame::transitionToCommittedFromCachedPage):
   8341         (WebFrame::transitionToCommittedForNewPage):
   8342         * WebFrame.h:
   8343 
   8344         * WebKit.vcproj/WebKit.vcproj:
   8345 
   8346 2007-12-12  Steve Falkenburg  <sfalken (a] apple.com>
   8347 
   8348         Build fix.
   8349 
   8350         * WebKit.vcproj/WebKit.make: Copy only what we need out of obj/bin.
   8351 
   8352 2007-12-12  Dan Bernstein  <mitz (a] apple.com>
   8353 
   8354         Reviewed by Darin Adler.
   8355 
   8356         - revert my earlier crash fix after making WebCore return the empty
   8357           editor command for the empty command name.
   8358 
   8359         * WebView.cpp:
   8360         (WebView::handleEditingKeyboardEvent):
   8361 
   8362 2007-12-12  Oliver Hunt  <oliver (a] apple.com>
   8363 
   8364         Reviewed by Maciej.
   8365 
   8366         <rdar://problem/5071781> window.mouseout events are not 
   8367         sent to window when mouse moves out of window 
   8368         
   8369         Hook up the windows mouse tracking logic to allow us to 
   8370         detect the mouse leaving the window.
   8371 
   8372         * WebView.cpp:
   8373         (WebView::close):
   8374         (WebView::handleMouseEvent):
   8375         (WebViewWndProc):
   8376         * WebView.h:
   8377 
   8378 2007-12-12  Dan Bernstein  <mitz (a] apple.com>
   8379 
   8380         Reviewed by Alexey Proskuryakov.
   8381 
   8382         - fix a crash when pressing a key that is not associated with a command
   8383 
   8384         * WebView.cpp:
   8385         (WebView::handleEditingKeyboardEvent): Check if the result of
   8386         interpretKeyEvent() is empty.
   8387 
   8388 2007-12-11  Sam Weinig  <sam (a] webkit.org>
   8389 
   8390         Reviewed by Darin Adler.
   8391 
   8392         Scrub URL out of the tree in preparation for renaming KURL to URL.
   8393 
   8394         * WebFrame.cpp:
   8395         (WebFrame::url):
   8396         (WebFrame::dispatchWillPerformClientRedirect):
   8397         (WebFrame::setTitle):
   8398         (WebFrame::updateGlobalHistoryForStandardLoad):
   8399         (WebFrame::updateGlobalHistoryForReload):
   8400         (WebFrame::cancelledError):
   8401         (WebFrame::blockedError):
   8402         (WebFrame::interruptForPolicyChangeError):
   8403         (WebFrame::createPlugin):
   8404         * WebView.cpp:
   8405         (WebView::notifyDidAddIcon):
   8406 
   8407 2007-12-10  Anders Carlsson  <andersca (a] apple.com>
   8408 
   8409         Reviewed by Darin Adler.
   8410     
   8411         <rdar://problem/5636865>
   8412         WebKit needs API to allow registering a protocol as local (RSS feeds appear unstyled)
   8413         
   8414         * Interfaces/IWebView.idl:
   8415         * WebView.cpp:
   8416         (WebView::registerURLSchemeAsLocal):
   8417         * WebView.h:
   8418 
   8419 2007-12-11  Ada Chan  <adachan (a] apple.com>
   8420 
   8421         Updated the database SPI to take in IWebFrame.
   8422 
   8423         Reviewed by Adam.
   8424 
   8425         * Interfaces/IWebUIDelegatePrivate.idl:
   8426         * WebChromeClient.cpp:
   8427         (WebChromeClient::requestQuotaIncreaseForNewDatabase):
   8428         (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
   8429 
   8430 2007-12-11  Alexey Proskuryakov  <ap (a] webkit.org>
   8431 
   8432         Windows build fix.
   8433 
   8434         * WebView.cpp:
   8435         (WebView::interpretKeyEvent):
   8436 
   8437 2007-12-11  Darin Adler  <darin (a] apple.com>
   8438 
   8439         * WebView.cpp:
   8440         (WebView::handleEditingKeyboardEvent): Update for change to Editor API.
   8441 
   8442 2007-12-11  Alexey Proskuryakov  <ap (a] webkit.org>
   8443 
   8444         Reviewed by Darin Adler.
   8445 
   8446         <rdar://problem/5535636>
   8447         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
   8448 
   8449         http://bugs.webkit.org/show_bug.cgi?id=13916
   8450         JavaScript detects Tab as a character input on a textfield validation
   8451 
   8452         Listen to WM_CHAR messages, and actually pass the type of message received down to WebCore.
   8453         Since WM_KEYDOWN == keydown and WM_CHAR == keypress, this allows for much better IE compatibility
   8454         than layering Windows keyboard event handling on top of Mac one.
   8455 
   8456         * WebView.cpp:
   8457         (WebView::keyUp): Do not special case Alt+F4 and Alt+Space - we don't get keyups for those anyway!
   8458         (WebView::interpretKeyEvent): Renamed WindowsKeyCode() to windowsVirtualKeyCode().
   8459         (WebView::handleEditingKeyboardEvent): Use the additional information about event type that
   8460         we now pass with PlatformKeyboardEvent.
   8461         (WebView::keyDown): (WebView::keyPress): Split WM_KEYDOWN and WM_CHAR handling in separate
   8462         functions, pass them down as is, without trying to guess what WM_CHAR Windows would have sent
   8463         for a given WM_KEYDOWN.
   8464 
   8465         (WebViewWndProc): Handle WM_CHAR and WM_SYSCHAR.
   8466 
   8467         * WebView.h: Removed inIMEKeyDown() - it doesn't look like we need it at all. At least, I didn't
   8468         notice any regressions after removing the only call to it in WebEditorClient.
   8469 
   8470         * WebEditorClient.cpp:
   8471         (WebEditorClient::handleKeyboardEvent):
   8472         (WebEditorClient::handleInputMethodKeydown):
   8473         * WebEditorClient.h:
   8474         Renamed handleKeypress() to handleKeyboardEvent(), as it gets both keydowns and keypresses.
   8475         Renamed handleInputMethodKeypress() to handleInputMethodKeydown() and removed
   8476         inIMEKeyDown()-related code.
   8477 
   8478 2007-12-10  Geoffrey Garen  <ggaren (a] apple.com>
   8479 
   8480         Reviewed by Sam Weinig.
   8481 
   8482         Updated for rename in JavaScriptCore.
   8483 
   8484         * WebScriptCallFrame.cpp:
   8485         (WebScriptCallFrame::functionName):
   8486         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   8487 
   8488 2007-12-07  Steve Falkenburg  <sfalken (a] apple.com>
   8489 
   8490         Fix version parsing.
   8491 
   8492         Rubber-stamped by Oliver.
   8493 
   8494         * WebKit.vcproj/auto-version.sh:
   8495 
   8496 2007-12-07  Steve Falkenburg  <sfalken (a] apple.com>
   8497 
   8498         Fix build.
   8499 
   8500         * WebKit.vcproj/WebKit.vcproj:
   8501         * WebScriptCallFrame.cpp:
   8502 
   8503 2007-12-07  Steve Falkenburg  <sfalken (a] apple.com>
   8504 
   8505         Fix build.
   8506 
   8507         * WebHistory.cpp:
   8508         (_WebCoreHistoryProvider::containsURL):
   8509 
   8510 2007-12-07  Geoffrey Garen  <ggaren (a] apple.com>
   8511 
   8512         Tried to fix build by suppressing warning.
   8513 
   8514         * WebScriptCallFrame.cpp:
   8515 
   8516 2007-12-07  Darin Adler  <darin (a] apple.com>
   8517 
   8518         Reviewed by Mitz.
   8519 
   8520         - http://bugs.webkit.org/show_bug.cgi?id=15981
   8521           speed up visited-link code a bit
   8522 
   8523         * WebHistory.cpp: Removed unused Latin-1 code path.
   8524         (_WebCoreHistoryProvider::containsItem): Updated for function name change.
   8525 
   8526 2007-12-07  Steve Falkenburg  <sfalken (a] apple.com>
   8527 
   8528         Re-named our B&I flag from BUILDBOT to PRODUCTION.
   8529         Fix our tiny versioning.
   8530         Bump our product version.
   8531         Use just the major version in the fallback VERSION files.
   8532         Pick up the version numbers from the production builder.
   8533 
   8534         Reviewed by Sam Weinig.
   8535 
   8536         * Interfaces/WebKit.idl:
   8537         * WebKit.vcproj/Interfaces.vcproj:
   8538         * WebKit.vcproj/PRODUCTVERSION:
   8539         * WebKit.vcproj/VERSION:
   8540         * WebKit.vcproj/WebKit.make:
   8541         * WebKit.vcproj/WebKit.rc:
   8542         * WebKit.vcproj/WebKit.vcproj:
   8543         * WebKit.vcproj/auto-version.sh:
   8544         * WebKitDLL.cpp:
   8545         (DllUnregisterServer):
   8546 
   8547 2007-12-07  Adam Roben  <aroben (a] apple.com>
   8548 
   8549         Fix <rdar://5624866> CFStringRef UI_STRING should use a cache and follow the CF "Get" model (current uses leak)
   8550 
   8551         Added a new class, LocalizedString, that wraps a CFStringRef and a
   8552         WebCore::String. We store one LocalizedString for each key string.
   8553 
   8554         Reviewed by Steve.
   8555 
   8556         * WebLocalizableStrings.cpp: Changed our two HashMaps to map from
   8557         WebCore::String to LocalizedString*.
   8558         (LocalizedString::LocalizedString):
   8559         (LocalizedString::operator CFStringRef):
   8560         (LocalizedString::operator LPCTSTR): Code moved here from
   8561         localizedLPCTSTR.
   8562         (findCachedString): Changed to return a LocalizedString*.
   8563         (cacheString): Changed to take a LocalizedString*.
   8564         (localizedString): Changed to return a const LocalizedString&. We
   8565         first try to find a cached LocalizedString. If there isn't one, we
   8566         create a new one and cache it.
   8567         (WebLocalizedLPCTSTRUTF8): Changed to call localizedString.
   8568         (WebLocalizedLPCTSTR): Ditto.
   8569 
   8570 2007-12-07  Adam Roben  <aroben (a] apple.com>
   8571 
   8572         Make WebLocalizableStrings work a little more like the Mac version
   8573 
   8574         Reviewed by Steve.
   8575 
   8576         * WebKit.vcproj/WebKit.def: Deprecated SetWebLocalizedStringMainBundle.
   8577         * WebKit.vcproj/WebKit_debug.def: Ditto.
   8578         * WebLocalizableStrings.cpp:
   8579         (createWebKitBundle): Changed to only create the bundle once.
   8580         (cfBundleForStringsBundle): Added. Code was factored out of
   8581         copyLocalizedStringFromBundle. We now use the CFBundleGetMainBundle to
   8582         get the main bundle and WebLocalizableStringsBundle's identifier to
   8583         fetch the framework's bundle.
   8584         (copyLocalizedStringFromBundle): Changed to call
   8585         cfBundleForStringsBundle.
   8586         (cacheString): Cleaned up logic a bit with an early return.
   8587         (SetWebLocalizedStringMainBundle): Moved down with the other
   8588         deprecated functions and made into a no-op.
   8589 
   8590 2007-12-07  Adam Roben  <aroben (a] apple.com>
   8591 
   8592         Use SoftLinking.h in WebKitClassFactory.
   8593 
   8594         Reviewed by Oliver.
   8595 
   8596         * WebKitClassFactory.cpp:
   8597         (WebKitClassFactory::WebKitClassFactory): We don't have to worry about
   8598         not finding STInitialize anymore now that a version of SafariTheme
   8599         containing this function has shipped.
   8600 
   8601 2007-12-06  Ada Chan  <adachan (a] apple.com>
   8602 
   8603         <rdar://problem/5556378> Implemented database related UI delegate methods (prompts for new/enlarged databases)
   8604 
   8605         Reviewed by Darin Adler.
   8606 
   8607         * Interfaces/IWebUIDelegatePrivate.idl:
   8608         * WebChromeClient.cpp:
   8609         (WebChromeClient::requestQuotaIncreaseForNewDatabase):
   8610         (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
   8611 
   8612 2007-12-06  Alice Liu  <alice.liu (a] apple.com>
   8613 
   8614         Fixed <rdar://5540000> onbeforeunload doesn't fire when closing window/tab
   8615 
   8616         Reviewed by Darin Adler.
   8617 
   8618         * Interfaces/IWebViewPrivate.idl:
   8619         * WebView.cpp:
   8620         (WebView::shouldClose):
   8621         * WebView.h:
   8622 
   8623 2007-12-06  Adam Roben  <aroben (a] apple.com>
   8624 
   8625         Fix <rdar://5615283> Crash in WebFrame::receivedPolicyDecision
   8626 
   8627         It's possible for a second policy listener to be created while we're
   8628         waiting for a decision on the first policy listener. In this case we
   8629         would crash when the first policy listener had a decision made. Mac
   8630         WebKit already handles this by invalidating any existing policy
   8631         listener when creating a new one.
   8632 
   8633         A test case is coming in a future commit.
   8634 
   8635         Reviewed by Anders.
   8636 
   8637         * WebFrame.cpp:
   8638         (WebFrame::setUpPolicyListener): Copy the Mac behavior of invalidating
   8639         any existing policy listener, and remove some assertions that we know
   8640         can fire.
   8641 
   8642 2007-12-06  Adam Roben  <aroben (a] apple.com>
   8643 
   8644         Add SPI so that DumpRenderTree can turn on the Mac font ascent hack
   8645 
   8646         Reviewed by Hyatt.
   8647 
   8648         * Interfaces/IWebViewPrivate.idl: Added new method declaration.
   8649         * WebView.cpp:
   8650         (WebView::setShouldApplyMacFontAscentHack): Added. Just calls down to
   8651         FontData.
   8652         * WebView.h:
   8653 
   8654 2007-12-06  Ada Chan  <adachan (a] apple.com>
   8655 
   8656         Build fix.
   8657 
   8658         Reviewed by Geoff.
   8659 
   8660         * WebScriptCallFrame.cpp:
   8661         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   8662 
   8663 2007-12-04  Geoffrey Garen  <ggaren (a] apple.com>
   8664 
   8665         Reviewed by Darin Adler.
   8666 
   8667         Third step in refactoring JSGlobalObject: Moved data members and data
   8668         member access from Interpreter to JSGlobalObject.
   8669         
   8670         * WebFrame.cpp:
   8671         (WebFrame::globalContext):
   8672         (WebFrame::attachScriptDebugger):
   8673         (WebFrame::windowObjectCleared):
   8674         * WebScriptDebugger.cpp:
   8675         (WebScriptDebugger::WebScriptDebugger):
   8676 
   8677 2007-12-05  Steve Falkenburg  <sfalken (a] apple.com>
   8678 
   8679         <rdar://problem/5625327> Crash toggling check grammar w/ spelling when no spell checker exists.
   8680         
   8681         Reviewed by Adam.
   8682 
   8683         * WebView.cpp:
   8684         (WebView::setGrammarCheckingEnabled): Add null check
   8685 
   8686 2007-12-05  Adam Roben  <aroben (a] apple.com>
   8687 
   8688         Expose WebView::setProhibitsMainFrameScrolling through IWebViewPrivate
   8689 
   8690         Reviewed by Steve.
   8691 
   8692         * Interfaces/IWebViewPrivate.idl: Added declaration.
   8693         * WebInspectorClient.cpp:
   8694         (WebInspectorClient::createPage): Updated for change to
   8695         setProhibitsMainFrameScrolling signature.
   8696         * WebView.cpp:
   8697         (WebView::setProhibitsMainFrameScrolling): Updated and robustified.
   8698         * WebView.h:
   8699 
   8700 2007-12-05  Dan Bernstein  <mitz (a] apple.com>
   8701 
   8702         Reviewed by Darin Adler.
   8703 
   8704         - WebKit/win part of fixing <rdar://problem/5111082> Flash popup video ad doesn't close when clicked at http://www.firestonecompleteautocare.com/
   8705 
   8706         * WebView.cpp:
   8707         (WebView::initWithFrame): Attach the main frame's view.
   8708 
   8709 2007-12-04  Ada Chan  <adachan (a] apple.com>
   8710 
   8711         Provide API for setting the default storage quota per database origin
   8712 
   8713         Reviewed by Jon.
   8714 
   8715         * Interfaces/IWebPreferencesPrivate.idl: added SPI to get/set default database quota
   8716         * WebPreferenceKeysPrivate.h:
   8717         * WebPreferences.cpp:
   8718         (WebPreferences::initializeDefaultSettings): default database quota is 5MB
   8719         (WebPreferences::longlongValueForKey):
   8720         (WebPreferences::setLongLongValue):
   8721         (WebPreferences::defaultDatabaseQuota):
   8722         (WebPreferences::setDefaultDatabaseQuota):
   8723         * WebPreferences.h:
   8724         * WebView.cpp:
   8725         (WebView::notifyPreferencesChanged): propagate default database quota change to WebCore settings.
   8726 
   8727 2007-12-04  Kevin McCullough  <kmccullough (a] apple.com>
   8728 
   8729         Reviewed by Adam and Darin.
   8730 
   8731         - Fixed a crasher where the top of the stack was not updated correctly.
   8732         And set the eol style on IWebScriptCallFrame.idl file.
   8733 
   8734         * Interfaces/IWebScriptCallFrame.idl:
   8735         * WebScriptDebugger.cpp:
   8736         (WebScriptDebugger::atStatement):
   8737         (WebScriptDebugger::leaveFrame):
   8738 
   8739 2007-11-27  Adam Roben  <aroben (a] apple.com>
   8740 
   8741         Hook up the authorAndUserStylesEnabled preference
   8742 
   8743         This is the Windows counterpart of r28071.
   8744 
   8745         Reviewed by Maciej.
   8746 
   8747         * Interfaces/IWebPreferencesPrivate.idl: Added new method
   8748         declarations.
   8749         * WebPreferenceKeysPrivate.h: Added a new preference key.
   8750         * WebPreferences.cpp:
   8751         (WebPreferences::initializeDefaultSettings): Set the default for the
   8752         new preference.
   8753         (WebPreferences::setAuthorAndUserStylesEnabled): Added.
   8754         (WebPreferences::authorAndUserStylesEnabled): Added.
   8755         * WebPreferences.h:
   8756         * WebView.cpp:
   8757         (WebView::notifyPreferencesChanged): Communicate the new preference
   8758         down to WebCore::Settings.
   8759 
   8760 2007-12-04  Jon Honeycutt  <jhoneycutt (a] apple.com>
   8761 
   8762         Reviewed by Ollie.
   8763 
   8764         Don't crash if our JavaPlugin DLL can't be found 
   8765 
   8766         * WebFrame.cpp:
   8767         (WebFrame::createJavaAppletWidget): Added null check
   8768 
   8769 2007-12-04  Darin Adler  <darin (a] apple.com>
   8770 
   8771         Reviewed by Kevin Decker.
   8772 
   8773         * WebFrame.cpp: Removed obsolete privateBrowsingEnabled.
   8774         * WebFrame.h: Ditto.
   8775 
   8776 2007-12-04  Adam Roben  <aroben (a] apple.com>
   8777 
   8778         Windows build fix
   8779 
   8780         * WebScriptCallFrame.cpp:
   8781 
   8782 2007-12-03  Dan Bernstein  <mitz (a] apple.com>
   8783 
   8784         Reviewed by Dave Hyatt.
   8785 
   8786         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
   8787 
   8788         * WebView.cpp:
   8789         (WebViewWndProc): Removed call to sendResizeEvent() since FrameView
   8790         sends them now.
   8791 
   8792 2007-12-03  Kevin McCullough  <kmccullough (a] apple.com>
   8793 
   8794         Reviewed by Adam.
   8795 
   8796         - <rdar://5618942> Drosera: Console window does not process everything
   8797         correctly.
   8798         - <rdar://5619005> Drosera: could be sped up by moving the
   8799         WebScriptScope stuff into the WebScriptCallFrame.
   8800         - Now the console can correctly process objects and does not receive
   8801         notifications from JavaScriptCore about the JavaScript in Drosera's
   8802         own process.
   8803 
   8804         * Interfaces/IWebScriptCallFrame.idl: Moved the variable lookup
   8805         functions from WebScriptScope to here.
   8806         * Interfaces/WebKit.idl: Removed WebScriptScope.
   8807         * WebKit.vcproj/Interfaces.vcproj: Ditto.
   8808         * WebKit.vcproj/WebKit.vcproj: Ditto.
   8809         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
   8810         * WebScriptCallFrame.cpp: Moved WebScriptScope functionality into here.
   8811         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString): Now
   8812         returns a string value for things that are not strings.
   8813         (WebScriptCallFrame::variableNames): Moved from WebScriptScope.
   8814         (WebScriptCallFrame::valueForVariable): Moved from WebScriptScope.
   8815         (WebScriptCallFrame::jsValueToString): Helper functions that converts
   8816         any JSValue to a String.
   8817         * WebScriptCallFrame.h: Moved WebScriptScope functionality into here.
   8818         * WebScriptDebugger.cpp: Added nested guards so that Drosera does not
   8819         receive notifications about JavaScript that Drosera is running just the
   8820         JavaScript WebKit is running.
   8821         (WebScriptDebugger::WebScriptDebugger):
   8822         (WebScriptDebugger::sourceParsed):
   8823         (WebScriptDebugger::callEvent):
   8824         (WebScriptDebugger::atStatement):
   8825         (WebScriptDebugger::returnEvent):
   8826         (WebScriptDebugger::exception):
   8827         * WebScriptDebugger.h: Ditto.
   8828         * WebScriptScope.cpp: Removed.
   8829         * WebScriptScope.h: Removed.
   8830 
   8831 2007-12-03  Mark Rowe  <mrowe (a] apple.com>
   8832 
   8833         Speculative Windows build fix.
   8834 
   8835         * WebScriptCallFrame.cpp:
   8836         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   8837 
   8838 2007-12-03  Adam Roben  <aroben (a] apple.com>
   8839 
   8840         Another speculative Windows build fix
   8841 
   8842         * WebScriptCallFrame.cpp:
   8843         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
   8844 
   8845 2007-12-03  Adam Roben  <aroben (a] apple.com>
   8846 
   8847         Speculative Windows build fix
   8848 
   8849         * WebFrame.cpp:
   8850         (WebFrame::globalContext):
   8851         (WebFrame::windowObjectCleared):
   8852         * WebScriptDebugger.cpp:
   8853         (WebScriptDebugger::WebScriptDebugger):
   8854 
   8855 2007-12-01  Sam Weinig  <sam (a] webkit.org>
   8856 
   8857         Rename IWebViewPrivate::selectionImageRect to IWebViewPrivate::selectionRect.
   8858 
   8859         Rubber stamped by Adam Roben.
   8860 
   8861         * Interfaces/IWebViewPrivate.idl:
   8862         * WebView.cpp:
   8863         (WebView::selectionRect):
   8864         * WebView.h:
   8865 
   8866 2007-11-30  Ada Chan  <adachan (a] apple.com>
   8867 
   8868         <rdar://problem/5621373> Added a way for the client to clear undo/redo
   8869         operations from a WebView.
   8870 
   8871         Reviewed by Steve.
   8872 
   8873         * Interfaces/IWebViewPrivate.idl:
   8874         * WebView.cpp:
   8875         (WebView::clearUndoRedoOperations):
   8876         * WebView.h:
   8877 
   8878 2007-11-29  Anders Carlsson  <andersca (a] apple.com>
   8879 
   8880         Reviewed by Sam.
   8881 
   8882         Add an IWebFrameLoadDelegate2 interface with a didClearWindowObject method 
   8883         that passes in the frame whose window has been cleared. This matches a newly
   8884         added delegate method on the Mac.
   8885         
   8886         * Interfaces/IWebFrameLoadDelegate.idl:
   8887         * WebFrame.cpp:
   8888         (WebFrame::windowObjectCleared):
   8889 
   8890 2007-11-29  Kevin McCullough  <kmccullough (a] apple.com>
   8891 
   8892         Reviewed by Sam.
   8893 
   8894         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
   8895         dying and vice versa.
   8896 
   8897         * Interfaces/IWebScriptDebugListener.idl: Added the new function to the
   8898         interface.
   8899         * WebKit.vcproj/WebKit.def: Added the new function to the def file so
   8900         Safari can tell WebKit when the server is dying.
   8901         * WebKit.vcproj/WebKit_debug.def: Ditto.
   8902         * WebKitDLL.cpp: Added the new function for Safari to call.
   8903         (RunAsLocalServer):
   8904         (LocalServerDidDie):
   8905         * WebScriptDebugServer.cpp: 
   8906         (WebScriptDebugServer::WebScriptDebugServer): Removed unused member.
   8907         (WebScriptDebugServer::sharedWebScriptDebugServer): Ditto, and added new
   8908         member to prevent adding or removing listeners when the server is dying.
   8909         (WebScriptDebugServer::addListener): Don't let new listeners be added
   8910         when the server is dying.
   8911         (WebScriptDebugServer::removeListener): Don't let listeners remove
   8912         themselves when the server is dying.  The server will remove them all
   8913         anyways.
   8914         (WebScriptDebugServer::serverDidDie): Notify all listeners that the
   8915         server is dying and remove all listeners.
   8916         * WebScriptDebugServer.h: Added the new method and removed an unused
   8917         member.
   8918 
   8919 2007-11-29  Brady Eidson  <beidson (a] apple.com>
   8920 
   8921         Build fix that works...?
   8922 
   8923         * WebChromeClient.h:
   8924 
   8925 2007-11-29  Brady Eidson  <beidson (a] apple.com>
   8926 
   8927         Build fix
   8928 
   8929         * WebChromeClient.cpp:
   8930         (WebChromeClient::requestQuotaIncreaseForNewDatabase):
   8931         (WebChromeClient::requestQuotaIncreaseForDatabaseOperation):
   8932 
   8933 2007-11-29  Brady Eidson  <beidson (a] apple.com>
   8934 
   8935         Keep it building with new client method
   8936 
   8937         * WebChromeClient.cpp:
   8938         (ChromeClient::requestQuotaIncreaseForNewDatabase):
   8939         (ChromeClient::requestQuotaIncreaseForDatabaseOperation):
   8940         * WebChromeClient.h:
   8941 
   8942 2007-11-29  Dan Bernstein  <mitz (a] apple.com>
   8943 
   8944         Reviewed by Beth Dakin and Darin Adler.
   8945 
   8946         - fix <rdar://problem/5346394> Contextmenu event doesn't fire on body element inside frame
   8947 
   8948         * WebView.cpp:
   8949         (WebView::handleContextMenuEvent): Send the context menu event to the
   8950         frame containing the node that was hit.
   8951 
   8952 2007-11-28  Kevin McCullough  <kmccullough (a] apple.com>
   8953 
   8954         Reviewed by Tim.
   8955 
   8956         - Added guards to the wait loop so execution would not hang and now the
   8957         console window can process JavaScript.
   8958 
   8959         * WebScriptDebugServer.cpp:
   8960         (WebScriptDebugServer::suspendProcessIfPaused):
   8961 
   8962 2007-11-28  Anders Carlsson  <andersca (a] apple.com>
   8963 
   8964         Reviewed by Adam.
   8965 
   8966         Implement the last bits of the WebDatabaseManager API.
   8967         
   8968         * Interfaces/IWebDatabaseManager.idl:
   8969         * WebDatabaseManager.cpp:
   8970         (isEqual):
   8971         (WebDatabaseManager::sharedWebDatabaseManager):
   8972         (WebDatabaseManager::dispatchDidModifyOrigin):
   8973         (WebDatabaseManager::dispatchDidModifyDatabase):
   8974         * WebDatabaseManager.h:
   8975 
   8976 2007-11-28  Anders Carlsson  <andersca (a] apple.com>
   8977 
   8978         Get Drosera working again for real.
   8979         
   8980         * COMEnumVariant.h:
   8981         (::Next):
   8982 
   8983 2007-11-27  Kevin McCullough  <kmccullough (a] apple.com>
   8984 
   8985         Reviewed by Maciej and Adam.
   8986 
   8987         - Added Drosera to the WebKit project.
   8988 
   8989         * WebKit.vcproj/WebKit.sln:
   8990 
   8991 2007-11-27  Jon Honeycutt  <jhoneycutt (a] apple.com>
   8992 
   8993         Reviewed by Adam.
   8994 
   8995         Return bool from registerWebViewWindowClass, as nothing uses the ATOM.
   8996         Set haveRegisteredWindowClass to true
   8997 
   8998         * WebView.cpp:
   8999         (registerWebViewWindowClass):
   9000 
   9001 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9002 
   9003         Speculative fix to get Drosera working.
   9004         
   9005         * COMEnumVariant.h:
   9006         (::Next):
   9007         Update the number of elements fetched correctly.
   9008         
   9009 2007-11-27  Anders Carlsson <andersca (a] apple.com>
   9010 
   9011         Reviewed by Adam.
   9012 
   9013         Some COM cleanup.
   9014         
   9015         * CFDictionaryPropertyBag.cpp:
   9016         (CFDictionaryPropertyBag::QueryInterface):
   9017         * CFDictionaryPropertyBag.h:
   9018         * WebBackForwardList.cpp:
   9019         (WebBackForwardList::addItem):
   9020         (WebBackForwardList::removeItem):
   9021         * WebDownload.cpp:
   9022         (WebDownload::initWithRequest):
   9023         * WebFrame.cpp:
   9024         (WebFrame::loadRequest):
   9025         (WebFrame::initWithWebFrameView):
   9026         (WebFrame::webHistory):
   9027         (WebFrame::dispatchWillSendRequest):
   9028         * WebURLAuthenticationChallenge.cpp:
   9029         (WebURLAuthenticationChallenge::QueryInterface):
   9030         (WebURLAuthenticationChallenge::initWithProtectionSpace):
   9031         * WebURLAuthenticationChallenge.h:
   9032         * WebURLAuthenticationChallengeSender.cpp:
   9033         (WebURLAuthenticationChallengeSender::QueryInterface):
   9034         * WebURLAuthenticationChallengeSender.h:
   9035         * WebURLResponse.cpp:
   9036         (WebURLResponse::QueryInterface):
   9037         * WebURLResponse.h:
   9038         * WebView.cpp:
   9039         (WebView::notifyDidAddIcon):
   9040         (WebView::goToBackForwardItem):
   9041         (WebView::canHandleRequest):
   9042         (WebView::loadBackForwardListFromOtherView):
   9043         (core):
   9044 
   9045 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9046 
   9047         Add COMEnumVariant.h to the project.
   9048         
   9049         * WebKit.vcproj/WebKit.vcproj:
   9050 
   9051 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9052 
   9053         Reviewed by Adam.
   9054 
   9055         Return E_INVALIDARG if the databaseName BSTR is null.
   9056         
   9057         * WebDatabaseManager.cpp:
   9058         (WebDatabaseManager::detailsForDatabaseWithOrigin):
   9059         (WebDatabaseManager::deleteDatabaseWithOrigin):
   9060 
   9061 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9062 
   9063         Reviewed by Adam.
   9064 
   9065         Implement the rest of the WebDatabaseManager API.
   9066 
   9067         * COMEnumVariant.h:
   9068         * Interfaces/IWebDatabaseManager.idl:
   9069         * WebDatabaseManager.cpp:
   9070         (isEqual):
   9071         (DatabaseDetailsPropertyBag::DatabaseDetailsPropertyBag):
   9072         (DatabaseDetailsPropertyBag::~DatabaseDetailsPropertyBag):
   9073         (DatabaseDetailsPropertyBag::createInstance):
   9074         (DatabaseDetailsPropertyBag::AddRef):
   9075         (DatabaseDetailsPropertyBag::Release):
   9076         (DatabaseDetailsPropertyBag::QueryInterface):
   9077         (DatabaseDetailsPropertyBag::Read):
   9078         (DatabaseDetailsPropertyBag::Write):
   9079         (WebDatabaseManager::detailsForDatabaseWithOrigin):
   9080         (WebDatabaseManager::deleteAllDatabases):
   9081         (WebDatabaseManager::deleteDatabasesWithOrigin):
   9082         (WebDatabaseManager::deleteDatabaseWithOrigin):
   9083         * WebDatabaseManager.h:
   9084 
   9085 2007-11-27  Ada Chan  <adachan (a] apple.com>
   9086 
   9087         <rdar://problem/5616098> The BSTR returned by WebHistoryItem::alternateTitle
   9088         was not allocated correctly.
   9089 
   9090         Reviewed by Anders.
   9091 
   9092         * WebHistoryItem.cpp:
   9093         (WebHistoryItem::setAlternateTitle):
   9094         (WebHistoryItem::alternateTitle):
   9095         * WebHistoryItem.h:
   9096 
   9097 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9098 
   9099         Reviewed by Adam.
   9100 
   9101         Use COMEnumVariant in WebScriptCallFrame and WebScriptScope.
   9102         
   9103         * WebScriptCallFrame.cpp:
   9104         (WebScriptCallFrame::scopeChain):
   9105         * WebScriptScope.cpp:
   9106         (WebScriptScope::variableNames):
   9107 
   9108 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9109 
   9110         Reviewed by Adam.
   9111 
   9112         Use the correct include paths.
   9113         
   9114         * COMEnumVariant.h:
   9115 
   9116 2007-11-27  Anders Carlsson  <andersca (a] apple.com>
   9117 
   9118         Reviewed by Darin Adler.
   9119    
   9120         Add COMEnumVariant, a templatized class with implements IEnumVARIANT and lets
   9121         you enumerate over a C++ container, be it WTF or STL.
   9122         
   9123         * COMEnumVariant.h: Added.
   9124         
   9125         * WebDatabaseManager.cpp:
   9126         (WebDatabaseManager::origins):
   9127         (WebDatabaseManager::databasesWithOrigin):
   9128         Implement these using COMEnumVariant.
   9129         
   9130         * WebSecurityOrigin.cpp:
   9131         (WebSecurityOrigin::QueryInterface):
   9132         * WebSecurityOrigin.h:
   9133         Add a UUID for the implementation so that other parts of WebKit can access
   9134         the WebCore::SecurityOriginData object.
   9135         
   9136 2007-11-26  Adam Roben  <aroben (a] apple.com>
   9137 
   9138         Take advantage of the new Color constructor that takes a CGColorRef
   9139 
   9140         This lets us handle grayscale colors (which only have 2 components).
   9141 
   9142         Reviewed by Darin Adler.
   9143 
   9144         * WebKitGraphics.cpp:
   9145         (DrawTextAtPoint):
   9146 
   9147 2007-11-26  Steve Falkenburg  <sfalken (a] apple.com>
   9148 
   9149         Build fix.
   9150 
   9151         * WebKit.vcproj/WebKit.make:
   9152 
   9153 2007-11-26  Steve Falkenburg  <sfalken (a] apple.com>
   9154 
   9155         Build fix.
   9156 
   9157         * WebKit.vcproj/build-generated-files.sh:
   9158 
   9159 2007-11-26  Steve Falkenburg  <sfalken (a] apple.com>
   9160 
   9161         Build fix.
   9162 
   9163         * WebKit.vcproj/build-generated-files.sh:
   9164 
   9165 2007-11-26  Anders Carlsson  <andersca (a] apple.com>
   9166 
   9167         Reviewed by Adam.
   9168 
   9169         Add an implementation of IWebSecurityOrigin and a partially stubbed out
   9170         implementation of IWebDatabaseManager.
   9171         
   9172         * ForEachCoClass.h:
   9173         * Interfaces/IWebDatabaseManager.idl:
   9174         * Interfaces/WebKit.idl:
   9175         * WebDatabaseManager.cpp:
   9176         (WebDatabaseManager::createInstance):
   9177         (WebDatabaseManager::WebDatabaseManager):
   9178         (WebDatabaseManager::~WebDatabaseManager):
   9179         (WebDatabaseManager::QueryInterface):
   9180         (WebDatabaseManager::AddRef):
   9181         (WebDatabaseManager::Release):
   9182         (WebDatabaseManager::sharedWebDatabaseManager):
   9183         (WebDatabaseManager::origins):
   9184         (WebDatabaseManager::databasesWithOrigin):
   9185         (WebDatabaseManager::detailsForDatabaseWithOrigin):
   9186         (WebDatabaseManager::deleteAllDatabases):
   9187         (WebDatabaseManager::deleteDatabasesWithOrigin):
   9188         (WebDatabaseManager::deleteDatabaseWithOrigin):
   9189         * WebDatabaseManager.h:
   9190         * WebKit.vcproj/WebKit.vcproj:
   9191         * WebKitClassFactory.cpp:
   9192         * WebSecurityOrigin.cpp: Added.
   9193         (WebSecurityOrigin::createInstance):
   9194         (WebSecurityOrigin::WebSecurityOrigin):
   9195         (WebSecurityOrigin::~WebSecurityOrigin):
   9196         (WebSecurityOrigin::QueryInterface):
   9197         (WebSecurityOrigin::AddRef):
   9198         (WebSecurityOrigin::Release):
   9199         (WebSecurityOrigin::protocol):
   9200         (WebSecurityOrigin::domain):
   9201         (WebSecurityOrigin::port):
   9202         (WebSecurityOrigin::usage):
   9203         (WebSecurityOrigin::quota):
   9204         (WebSecurityOrigin::setQuota):
   9205         * WebSecurityOrigin.h: Added.
   9206 
   9207 2007-11-26  Kevin McCullough  <kmccullough (a] apple.com>
   9208 
   9209         Reviewed by Maciej.
   9210 
   9211         - Implemented displaying variables for Drosera on Win.
   9212 
   9213         * Interfaces/IWebScriptCallFrame.idl: Added a local function to be
   9214         able to access the WebScriptCallFrame.
   9215         * Interfaces/IWebScriptScope.idl: Implemented.
   9216         * Interfaces/WebKit.idl: Added WebScriptScope to the tlb.
   9217         * WebKit.vcproj/Interfaces.vcproj: 
   9218         * WebScriptCallFrame.cpp: Implemented the helper and accessor methods.
   9219         (EnumScopes::Next): Fixed a bug where we did not release correctly and
   9220         would accidentally destroy scopes.
   9221         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   9222         Implemented.
   9223         (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString): Implemented
   9224         * WebScriptCallFrame.h: Implemented the helper and accessor methods.
   9225         (WebScriptCallFrame::impl):
   9226         (WebScriptCallFrame::state):
   9227         * WebScriptScope.cpp: Implmented.
   9228         (EnumVariables::EnumVariables): Created an IEnumVariant over the
   9229         variables to be able to pass a DCOM acceptable structure back to
   9230         Drosera.
   9231         (EnumVariables::createInstance):
   9232         (EnumVariables::QueryInterface):
   9233         (EnumVariables::AddRef):
   9234         (EnumVariables::Release):
   9235         (EnumVariables::Next):
   9236         (EnumVariables::Skip):
   9237         (EnumVariables::Reset):
   9238         (EnumVariables::Clone):
   9239         (WebScriptScope::WebScriptScope):
   9240         (WebScriptScope::createInstance): Implemented.
   9241         (WebScriptScope::variableNames): Implemented.
   9242         (WebScriptScope::valueForVariable):
   9243         * WebScriptScope.h: Implmeneted.
   9244 
   9245 2007-11-26  Anders Carlsson  <andersca (a] apple.com>
   9246 
   9247         Reviewed by Brady.
   9248 
   9249         Add IWebDatabaseManager and IWebSecurityOrigin interfaces.
   9250         
   9251         * Interfaces/IWebDatabaseManager.idl: Added.
   9252         * Interfaces/IWebSecurityOrigin.idl: Added.
   9253         * WebKit.vcproj/Interfaces.vcproj:
   9254         * WebKit.vcproj/WebKitGUID.vcproj:
   9255 
   9256 2007-11-26  Alice Liu  <alice.liu (a] apple.com>
   9257 
   9258         Reviewed by Jon Honeycutt.
   9259 
   9260         Fall back to the default Policy Delegate in these functions, 
   9261         as is already done in dispatchDecidePolicyForNavigationAction
   9262 
   9263         * WebFrame.cpp:
   9264         (WebFrame::dispatchDecidePolicyForMIMEType):
   9265         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   9266         (WebFrame::dispatchUnableToImplementPolicy):
   9267 
   9268 2007-11-25  Adam Roben  <aroben (a] apple.com>
   9269 
   9270         Fix a leak pointed out by Alexey
   9271 
   9272         * WebView.cpp:
   9273         (getUpdateRects): Use a Vector<unsigned char>, since OwnPtr doesn't
   9274         know to call delete[].
   9275 
   9276 2007-11-25  Adam Roben  <aroben (a] apple.com>
   9277 
   9278         Fix Bug 16138: Reduce code duplication in WebView.cpp
   9279 
   9280         http://bugs.webkit.org/show_bug.cgi?id=16138
   9281 
   9282         Reviewed by Sam.
   9283 
   9284         * WebView.cpp:
   9285         (getUpdateRects): Factored code out of updateBackingStore and paint
   9286         into this new helper function.
   9287         (WebView::updateBackingStore): Use getUpdateRects.
   9288         (WebView::paint): Ditto.
   9289         (WebView::paintIntoBackingStore): Changed to take a const IntRect&.
   9290         (WebView::paintIntoWindow): Ditto.
   9291         * WebView.h:
   9292 
   9293 2007-11-25  Adam Roben  <aroben (a] apple.com>
   9294 
   9295         Add ImageDiff.vcproj to WebKit.sln
   9296 
   9297         Reviewed by Sam.
   9298 
   9299         * WebKit.vcproj/WebKit.sln:
   9300 
   9301 2007-11-17  Timothy Hatcher  <timothy (a] apple.com>
   9302 
   9303         Reviewed by Mark Rowe.
   9304 
   9305         Bug 13470: i18n: The Web Inspector is not localizable
   9306         http://bugs.webkit.org/show_bug.cgi?id=13470
   9307 
   9308         * English.lproj/Localizable.strings: Updated.
   9309         * WebInspectorClient.cpp:
   9310         (WebInspectorClient::localizedStringsURL): Empty stub.
   9311         * WebInspectorClient.h: Added localizedStringsURL.
   9312 
   9313 2007-11-17  Alexey Proskuryakov  <ap (a] webkit.org>
   9314 
   9315         Windows build fix.
   9316 
   9317         * WebView.cpp:
   9318         (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.
   9319 
   9320 2007-11-14  Adam Roben  <aroben (a] apple.com>
   9321 
   9322         Change Interfaces to be a "Static Library" project
   9323 
   9324         Being a Utility project meant that Interfaces was rebuilding every
   9325         time (Utility projects are supposed to handle their own dependencies).
   9326         Interfaces isn't really a static library, but it means that VS will
   9327         handle dependencies for us (and not complain about missing manifests
   9328         like it did when the project was an Application).
   9329 
   9330         * WebKit.vcproj/Interfaces.vcproj:
   9331 
   9332 2007-11-14  Adam Roben  <aroben (a] apple.com>
   9333 
   9334         Shut up FixMIDLHeaders.pl
   9335 
   9336         * WebKit.vcproj/FixMIDLHeaders.pl:
   9337 
   9338 2007-11-14  Adam Roben  <aroben (a] apple.com>
   9339 
   9340         Change Interfaces to use a Utility configuration
   9341 
   9342         It had previously been marked as an "Application (.exe)", which is
   9343         wrong but worked with most versions of Visual Studio.
   9344 
   9345         Rubberstamped by Steve.
   9346 
   9347         * WebKit.vcproj/Interfaces.vcproj:
   9348 
   9349 2007-11-14  Anders Carlsson  <andersca (a] apple.com>
   9350 
   9351         Reviewed by Adam.
   9352 
   9353         Get the new focus window from the wParam instead of calling GetFocus().
   9354         Also, send blur even if there is no focused frame.
   9355                
   9356         * WebView.cpp:
   9357         (WebViewWndProc):
   9358 
   9359 2007-11-14  Adam Roben  <aroben (a] apple.com>
   9360 
   9361         Another build fix for systems without Cygwin in their PATH
   9362 
   9363         * WebKit.vcproj/Interfaces.vcproj: Add Cygwin to the PATH in the
   9364         Post-Build Event.
   9365 
   9366 2007-11-13  Kevin McCullough  <kmccullough (a] apple.com>
   9367 
   9368         Reviewed by Adam.
   9369 
   9370         - Make Drosera show source, source URLs, and function stack on Windows
   9371         and some minor fixes.
   9372 
   9373         * WebScriptCallFrame.cpp: Fixed a bug where the callFrame was not reffed
   9374         properly before being returned, and changed functionName() to check for
   9375         Null or if the name is empty.
   9376         (EnumScopes::Clone):
   9377         (WebScriptCallFrame::WebScriptCallFrame):
   9378         (WebScriptCallFrame::createInstance):
   9379         (WebScriptCallFrame::caller):
   9380         (WebScriptCallFrame::functionName):
   9381         * WebScriptCallFrame.h: Ditto
   9382         * WebScriptDebugServer.cpp: Made the listenerSet static since we were
   9383         already treating it as if it were. Removed the EnumViews stuff.  This
   9384         was added by Steve to demonstrate DCOM and he thought it would be needed
   9385         by Drosera, but I don't believe it will be.
   9386         Implemented suspendProcessIfPaused() also added calls to it at the end
   9387         of several functions to ensure we pause if Drosera has told WebKit to.
   9388         (WebScriptDebugServer::WebScriptDebugServer):
   9389         (WebScriptDebugServer::sharedWebScriptDebugServer):
   9390         (WebScriptDebugServer::addListener):
   9391         (WebScriptDebugServer::removeListener):
   9392         (WebScriptDebugServer::suspendProcessIfPaused):
   9393         (WebScriptDebugServer::didLoadMainResourceForDataSource):
   9394         (WebScriptDebugServer::didParseSource):
   9395         (WebScriptDebugServer::failedToParseSource):
   9396         (WebScriptDebugServer::didEnterCallFrame):
   9397         (WebScriptDebugServer::willExecuteStatement):
   9398         (WebScriptDebugServer::willLeaveCallFrame):
   9399         (WebScriptDebugServer::exceptionWasRaised):
   9400         * WebScriptDebugServer.h: Ditto.
   9401         * WebScriptDebugger.cpp: The important change here is that leaveFrame()
   9402         is called before willLeaveCallFrame().  I think there is some EOL stuff
   9403         going on too.
   9404         - It was the implementing of these functions that allows source, the
   9405         source URLs and function stack to be displayed.
   9406         (WebScriptDebugger::callEvent):
   9407         (WebScriptDebugger::atStatement):
   9408         (WebScriptDebugger::returnEvent):
   9409         (WebScriptDebugger::exception):
   9410         (WebScriptDebugger::enterFrame):
   9411         (WebScriptDebugger::leaveFrame):
   9412         * WebView.cpp: Removed the EnumView functions.
   9413         (WebView::WebView):
   9414         (WebView::~WebView):
   9415 
   9416 2007-11-13  Adam Roben  <aroben (a] apple.com>
   9417 
   9418         Fix <rdar://5346832> Infinite recursion when opening Web Inspector on more than one tab
   9419 
   9420         The bug was that multiple WebNodeHighlights would subclass the same
   9421         browser window, leading to infinite recursion within
   9422         SubclassedWndProc.
   9423 
   9424         WebNodeHighlight is now a WindowMessageListener, and lets
   9425         WindowMessageBroadcaster handle subclassing the window.
   9426 
   9427         Reviewed by Ada.
   9428 
   9429         * WebNodeHighlight.cpp:
   9430         (WebNodeHighlight::WebNodeHighlight): Initialize m_observedWindow
   9431         member.
   9432         (WebNodeHighlight::~WebNodeHighlight): Unregister as a listener for
   9433         m_observedWindow.
   9434         (WebNodeHighlight::highlight): Register as a listener.
   9435         (WebNodeHighlight::windowReceivedMessage): Do the work that used to be
   9436         done in SubclassedWndProc.
   9437         * WebNodeHighlight.h: Made WebNodeHighlight a WindowMessageListener,
   9438         and renamed m_subclassedWindow to m_observedWindow.
   9439 
   9440 2007-11-13  Adam Roben  <aroben (a] apple.com>
   9441 
   9442         Build fix for systems that don't have Cygwin in their PATH
   9443 
   9444         * WebKit.vcproj/Interfaces.vcproj: Put Cygwin in the PATH before
   9445         trying to run bash.
   9446 
   9447 2007-11-13  Steve Falkenburg  <sfalken (a] apple.com>
   9448 
   9449         Add IDOMElementPrivate::font() to get an element's font
   9450         as a WebFontDescription.
   9451         
   9452         Reviewed by Darin Adler.
   9453 
   9454         * DOMCoreClasses.cpp:
   9455         (DOMElement::font):
   9456         * DOMCoreClasses.h:
   9457         * Interfaces/DOMPrivate.idl:
   9458 
   9459 2007-11-12  Adam Roben  <aroben (a] apple.com>
   9460 
   9461         Windows build fix
   9462 
   9463         * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
   9464         * WebKit.vcproj/WebKit_debug.def: Ditto.
   9465 
   9466 2007-11-09  Jon Honeycutt  <jhoneycutt (a] apple.com>
   9467 
   9468         Reviewed by Sam.
   9469 
   9470         <rdar://5585900>: Safari crashes when selected in context menu to open
   9471         audio format files (au, aif) with QT 7.3
   9472 
   9473         The crash occurred on a machine where QT 7.3 was failing to initialize.
   9474         The fix is to avoid sending streams to full-page plugins that've failed 
   9475         to load
   9476 
   9477         * WebFrame.cpp:
   9478         (WebFrame::finishedLoading): Check plugin status before calling manual
   9479         stream methods
   9480         (WebFrame::setMainDocumentError): Same
   9481         (WebFrame::committedLoad): Same
   9482 
   9483 2007-11-09  Sam Weinig  <sam (a] webkit.org>
   9484 
   9485         Rubber stamped by Oliver.
   9486 
   9487         Make WebCore a dependency of Interfaces.
   9488 
   9489         * WebKit.vcproj/WebKit.sln:
   9490 
   9491 2007-11-04  Sam Weinig  <sam (a] webkit.org>
   9492 
   9493         Reviewed by Adam Roben.
   9494 
   9495         <rdar://problem/5435940>
   9496         The COM bindings for the DOM should be autogenerated like the other DOM bindings
   9497 
   9498         Initial commit of the autogeneration of the COM DOM Bindings.  No behavior change
   9499         is being introduced in this patch and to insure that no conflicts arise, a temporary
   9500         prefix of "GEN_" has been used for all the new classes.
   9501 
   9502         The build architecture for these bindings differs slightly from the other autogenerated
   9503         bindings.  Instead of building in WebCore and migrating the resuting code to WebKit (as
   9504         is done for the Objective-C bindigs currently), the IDLs and generation scripts are
   9505         migrated to WebKit and built there.  This is done with a series of scripts and Makefiles.
   9506 
   9507         This commit includes:
   9508             - Hand rolled root class/Interface GEN_DOMObject used to facilated object creation
   9509               and ref-counting.
   9510             - Generating all of the Core DOM and most of HTML and CSS
   9511             - Generating Event, EventTarget, and EventListener
   9512 
   9513         * DOMCreateInstance.cpp: Added.
   9514         (domWrapperCache):
   9515         (getDOMWrapper):
   9516         (setDOMWrapper):
   9517         (removeDOMWrapper):
   9518         (GEN_DOMNode::createInstance):
   9519         (GEN_DOMImplementation::createInstance):
   9520         (GEN_DOMCSSRule::createInstance):
   9521         (GEN_DOMStyleSheet::createInstance):
   9522         (GEN_DOMCSSValue::createInstance):
   9523         * DOMCreateInstance.h: Added.
   9524         Temporary location for createInstance/object caching methods.  This will be broken up
   9525         into seperate files in the near future.
   9526 
   9527         * GEN_DOMObject.cpp: Added.
   9528         (GEN_DOMObject::GEN_DOMObject):
   9529         (GEN_DOMObject::~GEN_DOMObject):
   9530         (GEN_DOMObject::QueryInterface):
   9531         (GEN_DOMObject::AddRef):
   9532         (GEN_DOMObject::Release):
   9533         * GEN_DOMObject.h: Added.
   9534         Hand rolled base class.
   9535 
   9536         * Interfaces/IGEN_DOMObject.idl: Added. 
   9537         Hand rolled base interface.
   9538 
   9539         * WebKit.vcproj/DerivedSources.make: Added.
   9540         * WebKit.vcproj/FixMIDLHeaders.pl: Added.
   9541         This script is required because MIDL is producing un-buildable code due to
   9542         circular dependencies.
   9543 
   9544         * WebKit.vcproj/Interfaces.vcproj:
   9545         * WebKit.vcproj/WebKit.vcproj:
   9546         * WebKit.vcproj/WebKitGUID.vcproj:
   9547         * WebKit.vcproj/build-generated-files.sh: Added.
   9548 
   9549 2007-11-08  Kevin McCullough  <kmccullough (a] apple.com>
   9550 
   9551         Reviewed by Adam.
   9552 
   9553         - This patch does two main things.
   9554         1) It adds pragma warning guards around WebCore includes in WebKit files
   9555         that were previously overlooked.
   9556         2) It implements almost the entireity of WebScriptDebugger.  Only one
   9557         function remains and that implementation is dependent on finishing the
   9558         implementation of WebScriptScope.
   9559 
   9560         * WebScriptCallFrame.h:
   9561         * WebScriptDebugServer.h:
   9562         * WebScriptDebugger.cpp:
   9563         (WebScriptDebugger::WebScriptDebugger):
   9564         (WebScriptDebugger::sourceParsed):
   9565         (WebScriptDebugger::callEvent):
   9566         (WebScriptDebugger::atStatement):
   9567         (WebScriptDebugger::returnEvent):
   9568         (WebScriptDebugger::exception):
   9569         (WebScriptDebugger::enterFrame):
   9570         (WebScriptDebugger::leaveFrame):
   9571         * WebScriptDebugger.h:
   9572 
   9573 2007-11-08  Steve Falkenburg  <sfalken (a] apple.com>
   9574 
   9575         <rdar://problem/5491463> Wrong dates shown in History menu.
   9576         
   9577         Fix off-by-one error in Windows epoch.
   9578         
   9579         For the Windows DATE type, 1/1/1900 should be 2.0, not 1.0.
   9580         DATE is the number of days since 12/30/1899.
   9581         
   9582         Reviewed by Ada.
   9583 
   9584         * MarshallingHelpers.cpp:
   9585         (MarshallingHelpers::windowsEpochAbsoluteTime):
   9586 
   9587 2007-11-08  Kevin McCullough  <kmccullough (a] apple.com>
   9588 
   9589         Reviewed by Sam.
   9590 
   9591         - With this change Drosera can now get the source of a website and the
   9592         listings of the sources it gets.  This also lays the foundation for
   9593         letting Drosera show the scope chain of the JavaScript stack.
   9594 
   9595         * Interfaces/IWebFrame.idl: Changed the signature of the local function,
   9596         globalContext(), because COM was unable to marshal this object with the
   9597         other signature.
   9598         * Interfaces/IWebScriptDebugServer.idl: Of course adding and removing
   9599         a listener cannot be done in a const function.
   9600         * WebChromeClient.h: Added accessor to the WebView for the new added
   9601         kit() function in WebFrame.
   9602         (WebChromeClient::webView):
   9603         * WebFrame.cpp: Added a script debugger object and the necessary
   9604         functions to attach and communicate with it. Also needed to change the
   9605         local function, globalContext(), because of a COM issue.
   9606         (kit):
   9607         (WebFrame::WebFrame):
   9608         (WebFrame::globalContext):
   9609         (WebFrame::loadData):
   9610         (WebFrame::attachScriptDebugger):
   9611         (WebFrame::detachScriptDebugger):
   9612         (WebFrame::dispatchDidLoadMainResource):
   9613         (WebFrame::windowObjectCleared):
   9614         * WebFrame.h: Ditto.
   9615         * WebHTMLRepresentation.cpp: Implemented documentSource so Drosera has
   9616         some source code to display.
   9617         (WebHTMLRepresentation::WebHTMLRepresentation):
   9618         (WebHTMLRepresentation::documentSource):
   9619         * WebKit.vcproj/WebKit.vcproj: Added the new WebScriptDebugger class.
   9620         * WebScriptCallFrame.cpp: Implemented much of this class' functionality.
   9621         (EnumScopes::EnumScopes): Made an EnumScopes class to create an
   9622         IEnumVARIANT to wrap a ScopeChain for Drosera.
   9623         (EnumScopes::QueryInterface):
   9624         (EnumScopes::AddRef):
   9625         (EnumScopes::Release):
   9626         (EnumScopes::Next):
   9627         (EnumScopes::Skip):
   9628         (EnumScopes::Reset):
   9629         (EnumScopes::Clone):
   9630         (WebScriptCallFrame::caller):
   9631         (WebScriptCallFrame::scopeChain):
   9632         (WebScriptCallFrame::functionName):
   9633         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   9634         * WebScriptCallFrame.h: Added member data needed for the above functions
   9635         * WebScriptDebugServer.cpp: Began implementing. 
   9636         (WebScriptDebugServer::listenerCount):
   9637         (EnumViews::QueryInterface):
   9638         (EnumViews::AddRef):
   9639         (EnumViews::Release):
   9640         (EnumViews::Next):
   9641         (EnumViews::Skip):
   9642         (EnumViews::Reset):
   9643         (EnumViews::Clone):
   9644         (WebScriptDebugServer::WebScriptDebugServer):
   9645         (WebScriptDebugServer::createInstance):
   9646         (WebScriptDebugServer::sharedWebScriptDebugServer):
   9647         (WebScriptDebugServer::AddRef):
   9648         (WebScriptDebugServer::Release):
   9649         (WebScriptDebugServer::addListener):
   9650         (WebScriptDebugServer::removeListener):
   9651         (WebScriptDebugServer::step):
   9652         (WebScriptDebugServer::pause):
   9653         (WebScriptDebugServer::resume):
   9654         (WebScriptDebugServer::isPaused):
   9655         (WebScriptDebugServer::suspendProcessIfPaused):
   9656         (WebScriptDebugServer::didLoadMainResourceForDataSource):
   9657         (WebScriptDebugServer::didParseSource):
   9658         (WebScriptDebugServer::failedToParseSource):
   9659         (WebScriptDebugServer::didEnterCallFrame):
   9660         (WebScriptDebugServer::willExecuteStatement):
   9661         (WebScriptDebugServer::willLeaveCallFrame):
   9662         (WebScriptDebugServer::exceptionWasRaised):
   9663         * WebScriptDebugServer.h: Began implementing.
   9664         * WebScriptDebugger.cpp: Added.
   9665         (WebScriptDebugger::WebScriptDebugger):
   9666         (WebScriptDebugger::sourceParsed):
   9667         * WebScriptDebugger.h: Added.
   9668         * WebScriptScope.cpp: Make this class use createInstance which is more
   9669         in line with our guidelines.
   9670         (WebScriptScope::WebScriptScope):
   9671         (WebScriptScope::createInstance):
   9672         * WebScriptScope.h:
   9673 
   9674 
   9675 2007-11-07  Darin Adler  <darin (a] apple.com>
   9676 
   9677         Reviewed by Steve.
   9678 
   9679         * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
   9680         * WebChromeClient.cpp:
   9681         (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
   9682         here by calling through the UI delegate.
   9683         (WebChromeClient::menubarVisible): Ditto.
   9684         (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
   9685 
   9686 2007-11-07  Steve Falkenburg  <sfalken (a] apple.com>
   9687 
   9688         Added IWebDocumentText available via QI from WebFrame.
   9689         
   9690         Reviewed by Sam.
   9691 
   9692         * WebFrame.cpp:
   9693         (WebFrame::QueryInterface): Added IID_IWebDocumentText.
   9694         (WebFrame::supportsTextEncoding): Stubbed out.
   9695         (WebFrame::selectedString): Implemented.
   9696         (WebFrame::selectAll): Stubbed out.
   9697         (WebFrame::deselectAll): Stubbed out.
   9698         * WebFrame.h:
   9699 
   9700 2007-11-07  Adam Roben  <aroben (a] apple.com>
   9701 
   9702         Fix <rdar://5569268> Crash when opening any FTP site in second tab/window
   9703 
   9704         Reviewed by Sam.
   9705 
   9706         * WebView.cpp:
   9707         (WebView::initWithFrame): Set the ftpDirectoryTemplatePath for every
   9708         Page, not just the first one.
   9709 
   9710 2007-11-06  Adam Roben  <aroben (a] apple.com>
   9711 
   9712         Change WebLocalizableStrings to take UTF-8 C strings
   9713 
   9714         This matches the way things work on the Mac, and will allow source
   9715         files containing localizable strings to be shared between Mac and
   9716         Windows. The old functions have not been removed for compatibility
   9717         reasons, but are now just wrappers around the new UTF-8 functions.
   9718 
   9719         Reviewed by Ada.
   9720 
   9721         * WebKit.vcproj/WebKit.def: Added new functions.
   9722         * WebKit.vcproj/WebKit_debug.def: Ditto.
   9723         * WebLocalizableStrings.cpp:
   9724         (copyLocalizedStringFromBundle): Changed to take a WebCore::String
   9725         representing the key.
   9726         (localizedString): Refactored from WebLocalizedString. Takes a
   9727         WebCore::String representing the key.
   9728         (localizedLPCTSTR): Ditto for WebLocalizedLPCTSTR.
   9729         (WebLocalizedStringUTF8): Added. Takes a UTF-8 C string as the key.
   9730         (WebLocalizedLPCTSTRUTF8): Ditto.
   9731         (WebLocalizedString): Changed to call localizedString.
   9732         (WebLocalizedLPCTSTR): Changed to call localizedLPCTSTR.
   9733         * WebLocalizableStrings.h: Changed macros to use the new UTF-8
   9734         functions.
   9735 
   9736 2007-11-06  Darin Adler  <darin (a] apple.com>
   9737 
   9738         Reviewed by Adam and Steve.
   9739 
   9740         - added hooks needed to implement showModalDialog on Windows
   9741 
   9742         * Interfaces/IWebUIDelegate.idl: Added canRunModal, createModalDialog,
   9743         and runModal functions to the end of IWebUIDelegate3.
   9744 
   9745         * WebChromeClient.h: Added uiDelegate and uiDelegate2 helper functions,
   9746         so it's easier to write client functions.
   9747         * WebChromeClient.cpp:
   9748         (WebChromeClient::createWindow): Implemented dialog case. Calls IWebUIDelegate3.
   9749         (WebChromeClient::canRunModal): Implemented. Calls IWebUIDelegate3.
   9750         (WebChromeClient::runModal): Ditto.
   9751         (WebChromeClient::uiDelegate): Added.
   9752         (WebChromeClient::uiDelegate2): Added.
   9753         (WebChromeClient::uiDelegate3): Added.
   9754 
   9755 2007-11-06  Alexey Proskuryakov  <ap (a] webkit.org>
   9756 
   9757         Rubber-stamped by Adam Roben.
   9758 
   9759         Windows build fix.
   9760 
   9761         * WebFrame.cpp:
   9762         (WebFrame::string): plainText() returns a String now.
   9763 
   9764 2007-11-05  Ada Chan  <adachan (a] apple.com>
   9765 
   9766         <rdar://problem/5579772> Regression: AltGr does not work
   9767         Testing whether alt-key is down is not the right test for system key event.
   9768         Added a m_isSystemKey flag in PlatformKeyboardEvent to keep track of whether
   9769         this is a system key event, check that flag instead in handleEditingKeyboardEvent().
   9770 
   9771         Reviewed by Oliver.
   9772 
   9773         * WebView.cpp:
   9774         (WebView::keyUp):
   9775         (WebView::handleEditingKeyboardEvent):
   9776         (WebView::keyDown):
   9777         (WebViewWndProc):
   9778         * WebView.h:
   9779 
   9780 2007-11-05  Ada Chan  <adachan (a] apple.com>
   9781 
   9782         Build fix.
   9783 
   9784         Reviewed by Tristan.
   9785 
   9786         * WebChromeClient.h:
   9787 
   9788 2007-11-05  Tristan O'Tierney  <tristan (a] apple.com>
   9789 
   9790         Reviewed by Darin Adler.
   9791         
   9792         Part of the WebKit/WebCore API changes for
   9793         <rdar://problem/5368188>
   9794 
   9795         * WebChromeClient.cpp:
   9796         (WebChromeClient::createWindow):
   9797         Removed usage of createModalDialog and revised to use new createWindow
   9798         ChromeClient API.
   9799 
   9800 2007-11-04  Adam Roben  <aroben (a] apple.com>
   9801 
   9802         Add IWebCache::disabled
   9803 
   9804         This matches the Mac WebCache class.
   9805 
   9806         Reviewed by Sam.
   9807 
   9808         * Interfaces/IWebCache.idl:
   9809         * WebCache.cpp:
   9810         (WebCache::disabled):
   9811         * WebCache.h:
   9812 
   9813 2007-11-04  Adam Roben  <aroben (a] apple.com>
   9814 
   9815         Add IWebInspector and a way to get one from a WebView
   9816 
   9817         This API matches the Mac one added in r27266.
   9818 
   9819         Reviewed by Sam.
   9820 
   9821         * Interfaces/IWebInspector.idl: Added.
   9822         * Interfaces/IWebViewPrivate.idl: Added a new inspector method to
   9823         match Mac.
   9824         * WebInspector.cpp: Added.
   9825         (WebInspector::createInstance):
   9826         (WebInspector::WebInspector):
   9827         (WebInspector::~WebInspector):
   9828         (WebInspector::webViewClosed):
   9829         (WebInspector::QueryInterface):
   9830         (WebInspector::AddRef):
   9831         (WebInspector::Release):
   9832         (WebInspector::show):
   9833         (WebInspector::showConsole):
   9834         (WebInspector::showTimeline):
   9835         (WebInspector::close):
   9836         (WebInspector::attach):
   9837         (WebInspector::detach):
   9838         * WebInspector.h: Added.
   9839         * WebKit.vcproj/Interfaces.vcproj: Added IWebInspector.idl.
   9840         * WebKit.vcproj/WebKit.vcproj: Added WebInspector.{cpp,h}.
   9841         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebInspector_i.c.
   9842         * WebView.cpp:
   9843         (WebView::close): Notify the WebInspector that we're closing.
   9844         (WebView::inspector): Added.
   9845         * WebView.h:
   9846 
   9847 2007-11-04  Adam Roben  <aroben (a] apple.com>
   9848 
   9849         Cache strings that come directly from WebLocalizedString
   9850 
   9851         Reviewed by Steve.
   9852 
   9853         * WebLocalizableStrings.cpp:
   9854         (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
   9855         but is now just a static helper function.
   9856         (findCachedStringInMap): Added static helper.
   9857         (findCachedString): Refactored and cleaned up code from
   9858         WebLocalizedLPCTSTR.
   9859         (cacheString): Ditto.
   9860         (WebLocalizedString): Rewrote to use the new helper functions.
   9861         (WebLocalizedLPCTSTR): Changed to use the new helper functions.
   9862 
   9863 2007-11-03  Adam Roben  <aroben (a] apple.com>
   9864 
   9865         Only override the default user agent string if we're actually given a custom one
   9866 
   9867         Reviewed by Sam.
   9868 
   9869         * WebView.cpp:
   9870         (WebView::setCustomUserAgent):
   9871 
   9872 2007-11-01  Oliver Hunt  <oliver (a] apple.com>
   9873 
   9874         Reviewed by Alexey.
   9875 
   9876         Allow Shift, Ctrl, Alt, Meta and Capslock keys to be sent into WebCore.
   9877 
   9878         * WebView.cpp:
   9879         (WebView::keyDown):
   9880         (WebView::keyUp):
   9881 
   9882 2007-11-01  Kevin McCullough  <kmccullough (a] apple.com>
   9883 
   9884         - Fixed a build failure
   9885 
   9886         * WebEditorClient.cpp:
   9887         (WebEditorClient::textWillBeDeletedInTextField):
   9888 
   9889 2007-11-01  Adam Roben  <aroben (a] apple.com>
   9890 
   9891         Fix the parameter type of WebLocalizedString to match the UI_STRING macro
   9892 
   9893         Reviewed by Sam.
   9894 
   9895         * WebLocalizableStrings.cpp:
   9896         (WebLocalizedString):
   9897         (WebLocalizedLPCTSTR):
   9898         * WebLocalizableStrings.h:
   9899 
   9900 2007-11-01  Alexey Proskuryakov  <ap (a] webkit.org>
   9901 
   9902         Rubber-stamped by Adam Roben.
   9903 
   9904         Rolled out r27326 - debug CRT seems to cause no problems after all.
   9905 
   9906         * WebKit.vcproj/WebKit.vcproj:
   9907 
   9908 2007-10-31  Adam Roben  <aroben (a] apple.com>
   9909 
   9910         Switch the Debug configuration to using the non-debug CRT
   9911 
   9912         The debug CRT conflicts with what Safari uses, which causes loading
   9913         problems.
   9914 
   9915         Reviewed by Steve.
   9916 
   9917         * WebKit.vcproj/WebKit.vcproj:
   9918 
   9919 2007-10-30  Kevin McCullough  <kmccullough (a] apple.com>
   9920 
   9921         Reviewed by Adam and Geoff.
   9922 
   9923         - Added the globalContext method so Drosera can ask a WebFrame for its
   9924         context.
   9925 
   9926         * Interfaces/IWebFrame.idl:
   9927         * WebFrame.cpp:
   9928         * WebFrame.h:
   9929 
   9930 2007-10-30  Adele Peterson  <adele (a] apple.com>
   9931 
   9932         Reviewed by Darin Adler.
   9933 
   9934         WebKitWin part of fix for http://bugs.webkit.org/show_bug.cgi?id=10577
   9935         <rdar://problem/5110427> REGRESSION: Caps lock icon should show in password fields
   9936 
   9937         * WebView.cpp: (WebView::keyDown): Call capsLockStateMayHaveChanged so WebCore knows it may have to update a password field.
   9938 
   9939 2007-10-29  Kevin McCullough  <kmccullough (a] apple.com>
   9940 
   9941         Reviewed by Adam and Maciej.
   9942 
   9943         - Added the IWebScriptScope interface which is used by Drosera to get
   9944         information and run contextually significant code with respect to the
   9945         current JS stack frame.
   9946 
   9947         * Interfaces/IWebScriptCallFrame.idl: Line endings changed, not sure why
   9948         but the real changes were to change the return type of scopeChain() and
   9949         the return type and name of evaluateWebScript() to
   9950         stringByEvaluatingJavaScriptFromString().
   9951         * Interfaces/IWebScriptScope.idl: Added.
   9952         * WebKit.vcproj/Interfaces.vcproj: Added the new interface.
   9953         * WebKit.vcproj/WebKit.vcproj: Added the files for the new class.
   9954         * WebKit.vcproj/WebKitGUID.vcproj: Added the new interfaces.
   9955         * WebScriptCallFrame.cpp: Changed the return type to E_NOTIMPL and
   9956         asserted so it would be obvious if I accidentally try to use one of
   9957         these functions before it's implemented.
   9958         (WebScriptCallFrame::caller):
   9959         (WebScriptCallFrame::scopeChain):
   9960         (WebScriptCallFrame::functionName):
   9961         (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
   9962         * WebScriptCallFrame.h: Changed the return types mentioned above.
   9963         * WebScriptDebugServer.cpp: Also changed the return type to E_NOTIMPL.
   9964         (WebScriptDebugServer::addListener):
   9965         (WebScriptDebugServer::removeListener):
   9966         (WebScriptDebugServer::step):
   9967         (WebScriptDebugServer::pause):
   9968         (WebScriptDebugServer::resume):
   9969         (WebScriptDebugServer::isPaused):
   9970         * WebScriptScope.cpp: Added.
   9971         (WebScriptScope::WebScriptScope):
   9972         (WebScriptScope::~WebScriptScope):
   9973         (WebScriptScope::QueryInterface):
   9974         (WebScriptScope::AddRef):
   9975         (WebScriptScope::Release):
   9976         (WebScriptScope::getVariableNames):
   9977         (WebScriptScope::getValueForVariable):
   9978         * WebScriptScope.h: Added.
   9979 
   9980 2007-10-28  Darin Adler  <darin (a] apple.com>
   9981 
   9982         - try to fix Windows build
   9983 
   9984         * WebKit.vcproj/WebKit.vcproj: Suppress warning 4800 (conversion to bool),
   9985         since we don't want to add !! everywhere, and because HashTable.h has a
   9986         conversion to bool of this type now.
   9987 
   9988 2007-10-27  Kevin McCullough  <kmccullough (a] apple.com>
   9989 
   9990         Reviewed by Adam.
   9991 
   9992         - Stubbed out IWebScriptCallFrame for Drosera.
   9993 
   9994         * Interfaces/IWebScriptCallFrame.idl: Added function declarations.
   9995         * WebKit.vcproj/WebKit.vcproj: Added .h/.cpp files to the project.
   9996         * WebScriptCallFrame.cpp: Added.
   9997         (WebScriptCallFrame::WebScriptCallFrame):
   9998         (WebScriptCallFrame::~WebScriptCallFrame):
   9999         (WebScriptCallFrame::createInstance):
   10000         (WebScriptCallFrame::QueryInterface):
   10001         (WebScriptCallFrame::AddRef):
   10002         (WebScriptCallFrame::Release):
   10003         (WebScriptCallFrame::caller):
   10004         (WebScriptCallFrame::scopeChain):
   10005         (WebScriptCallFrame::functionName):
   10006         (WebScriptCallFrame::evaluateWebScript):
   10007         * WebScriptCallFrame.h: Added.
   10008 
   10009 2007-10-26  Kevin McCullough  <kmccullough (a] apple.com>
   10010 
   10011         Reviewed by Sam and Steve.
   10012 
   10013         - Added convenience methods for converting between BSTR and JSSTringRefs
   10014         - Added WebKit_debug.def to the project.
   10015 
   10016         * WebKit.vcproj/WebKit.def:
   10017         * WebKit.vcproj/WebKit.vcproj:
   10018         * WebKit.vcproj/WebKit_debug.def:
   10019 
   10020 2007-10-25  Sam Weinig  <sam (a] webkit.org>
   10021 
   10022         Reviewed by Adam Roben.
   10023 
   10024         Make debug builds run again.
   10025 
   10026         * WebView.cpp:
   10027         (WebView::notifyPreferencesChanged):
   10028 
   10029 2007-10-25  Sam Weinig  <sam (a] webkit.org>
   10030 
   10031         Reviewed by Adam Roben.
   10032 
   10033         Remove JSStringRefCFHack.
   10034 
   10035         * WebKit.vcproj/WebKit.vcproj:
   10036 
   10037 2007-10-25  Sam Weinig  <sam (a] webkit.org>
   10038 
   10039         Reviewed by Steve Falkenburg.
   10040 
   10041         Fix for <rdar://problem/5463608>
   10042         Port WebKit cache model code (Windows needs a big disk cache, smarter memory cache) 
   10043 
   10044         * Interfaces/IWebPreferences.idl: 
   10045         Deprecate pageCacheSize and objectCacheSize and add cacheModel/setCacheModel.
   10046 
   10047         * Interfaces/IWebPreferencesPrivate.idl:
   10048         Add automaticallyDetectsCacheModel/setAutomaticallyDetectsCacheModel
   10049      
   10050         * WebFrame.cpp:
   10051         (WebFrame::didPerformFirstNavigation):
   10052         Implement based on the mac version.
   10053 
   10054         * WebKit.vcproj/WebKit.vcproj:
   10055         * WebKitSystemBits.cpp: Added.
   10056         (WebMemorySize): Moved and renamed from WebPreferences.cpp
   10057         (WebVolumeFreeSize): Added.
   10058         * WebKitSystemBits.h: Added.
   10059         * WebPreferenceKeysPrivate.h: Added WebKitCacheModelPreferenceKey.
   10060 
   10061         * WebPreferences.cpp:
   10062         (WebPreferences::sharedStandardPreferences):
   10063         (WebPreferences::WebPreferences):
   10064         (WebPreferences::initializeDefaultSettings): Added default for cacheModel.
   10065         (WebPreferences::webPreferencesChangedNotification):
   10066         (WebPreferences::webPreferencesRemovedNotification):
   10067         (WebPreferences::initWithIdentifier): Post a preferences change notification.
   10068         (WebPreferences::pageCacheSize): Deprecated.
   10069         (WebPreferences::objectCacheSize): Deprecated.
   10070         (WebPreferences::cacheModel): Added.
   10071         (WebPreferences::setCacheModel): Added.
   10072         (WebPreferences::setAutomaticallyDetectsCacheModel): Added.
   10073         (WebPreferences::automaticallyDetectsCacheModel): Added.
   10074         (WebPreferences::willAddToWebView): Added.
   10075         (WebPreferences::didRemoveFromWebView): Added.
   10076         * WebPreferences.h:
   10077 
   10078         * WebView.cpp:
   10079         (PreferencesChangedOrRemovedObserver::PreferencesChangedOrRemovedObserver):
   10080         (PreferencesChangedOrRemovedObserver::~PreferencesChangedOrRemovedObserver):
   10081         (PreferencesChangedOrRemovedObserver::QueryInterface):
   10082         (PreferencesChangedOrRemovedObserver::AddRef):
   10083         (PreferencesChangedOrRemovedObserver::Release):
   10084         (PreferencesChangedOrRemovedObserver::sharedInstance):
   10085         (PreferencesChangedOrRemovedObserver::onNotify):
   10086         (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
   10087         (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
   10088         This singleton class updates static properties for all webviews when
   10089         preferenceChange or preferenceRemoved notifications are fired for
   10090         any WebPreference.
   10091         (WebView::WebView):
   10092         (WebView::~WebView):
   10093         (initializeStaticObservers):
   10094         (allWebViewsSet):
   10095         (WebView::addToAllWebViewsSet):
   10096         (WebView::removeFromAllWebViewsSet):
   10097         (WebView::setCacheModel):
   10098         (WebView::cacheModel):
   10099         (WebView::didSetCacheModel):
   10100         (WebView::maxCacheModelInAnyInstance):
   10101         (WebView::close):
   10102         (WebViewWndProc):
   10103         (WebView::developerExtrasEnabled):
   10104         (WebView::initWithFrame):
   10105         (WebView::setPreferences):
   10106         (WebView::preferences):
   10107         (WebView::onNotify):
   10108         (WebView::notifyPreferencesChanged):
   10109         (updateSharedSettingsFromPreferencesIfNeeded):
   10110         * WebView.h:
   10111         Match the macs behavior by using explicit postings of notifications to
   10112         update the preferences.
   10113 
   10114 2007-10-25  Adam Roben  <aroben (a] apple.com>
   10115 
   10116         Update WebKit.sln for the removal of Release dftables
   10117 
   10118         * WebKit.vcproj/WebKit.sln:
   10119 
   10120 2007-10-25  Kevin McCullough  <kmccullough (a] apple.com>
   10121 
   10122         Rubber stamped by Geoff.
   10123 
   10124         - Stubbed out the WebScriptDebugServer methods to give Drosera something
   10125         to connect to and now the signature of the interface matches the mac.
   10126 
   10127         * Interfaces/IWebScriptDebugServer.idl:
   10128         * WebScriptDebugServer.cpp:
   10129         (WebScriptDebugServer::addListener):
   10130         (WebScriptDebugServer::removeListener):
   10131         (WebScriptDebugServer::step):
   10132         (WebScriptDebugServer::pause):
   10133         (WebScriptDebugServer::resume):
   10134         (WebScriptDebugServer::isPaused):
   10135         * WebScriptDebugServer.h:
   10136 
   10137 2007-10-24  Kevin McCullough  <kmccullough (a] apple.com>
   10138 
   10139         Reviewed by Darin Adler.
   10140 
   10141         - Renamed WebDebugProgram to WebScriptDebugServer to match the naming
   10142         scheme on the mac.
   10143 
   10144         * Interfaces/IWebDebugProgram.idl: Removed.
   10145         * Interfaces/IWebScriptDebugServer.idl: Copied from win/Interfaces/IWebDebugProgram.idl.
   10146         * Interfaces/WebKit.idl: 
   10147         * WebDebugProgram.cpp: Removed.
   10148         * WebDebugProgram.h: Removed.
   10149         * WebKit.vcproj/Interfaces.vcproj:
   10150         * WebKit.vcproj/WebKit.vcproj:
   10151         * WebKit.vcproj/WebKitGUID.vcproj:
   10152         * WebKitClassFactory.cpp:
   10153         (WebKitClassFactory::CreateInstance):
   10154         * WebKitDLL.cpp:
   10155         (RunAsLocalServer):
   10156         * WebScriptDebugServer.cpp: Copied from win/WebDebugProgram.cpp.
   10157         (WebScriptDebugServer::WebScriptDebugServer):
   10158         (WebScriptDebugServer::~WebScriptDebugServer):
   10159         (WebScriptDebugServer::createInstance):
   10160         (WebScriptDebugServer::QueryInterface):
   10161         (WebScriptDebugServer::AddRef):
   10162         (WebScriptDebugServer::Release):
   10163         (WebScriptDebugServer::viewAdded):
   10164         (WebScriptDebugServer::viewRemoved):
   10165         (WebScriptDebugServer::attach):
   10166         (WebScriptDebugServer::detach):
   10167         (WebScriptDebugServer::statistics):
   10168         (WebScriptDebugServer::webViews):
   10169         * WebScriptDebugServer.h: Copied from win/WebDebugProgram.h.
   10170         * WebView.cpp:
   10171         (WebView::WebView):
   10172         (WebView::~WebView):
   10173 
   10174 2007-10-24  Adam Roben  <aroben (a] apple.com>
   10175 
   10176         Fix <rdar://5549919> Initialize the font database before any font code is invoked
   10177 
   10178         We initialize the database in two places:
   10179            1. When instantiating WebKitClassFactory, which is guaranteed to
   10180            happen before any WebView is instantiated.
   10181            2. When making a WebCore::Font in WebKitGraphics.
   10182 
   10183         This ensures that the font database will be populated before any font
   10184         code is invoked. We rely on WebCore to only populate the database
   10185         once.
   10186 
   10187         Reviewed by Ada.
   10188 
   10189         * WebKitClassFactory.cpp:
   10190         (WebKitClassFactory::WebKitClassFactory): Populate the font database.
   10191         * WebKitGraphics.cpp:
   10192         (makeFont): Ditto.
   10193 
   10194 2007-10-24  Adam Roben  <aroben (a] apple.com>
   10195 
   10196         Add [I]WebTextRenderer
   10197 
   10198         Right now this class can only be used to add private fonts for use by
   10199         the running process, but will eventually be the home of the
   10200         WebKitGraphics functions.
   10201 
   10202         Reviewed by Ada.
   10203 
   10204         * ForEachCoClass.h: Added WebTextRenderer.
   10205         * Interfaces/WebKit.idl: Ditto.
   10206         * WebKit.vcproj/Interfaces.vcproj: Ditto.
   10207         * WebKit.vcproj/WebKit.vcproj: Ditto.
   10208         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
   10209         * WebKitClassFactory.cpp: Ditto.
   10210         * WebTextRenderer.cpp: Added.
   10211         (WebTextRenderer::createInstance):
   10212         (WebTextRenderer::WebTextRenderer):
   10213         (WebTextRenderer::~WebTextRenderer):
   10214         (WebTextRenderer::QueryInterface):
   10215         (WebTextRenderer::AddRef):
   10216         (WebTextRenderer::Release):
   10217         (WebTextRenderer::registerPrivateFont):
   10218         * WebTextRenderer.h: Added.
   10219 
   10220 2007-10-24  Adam Roben  <aroben (a] apple.com>
   10221 
   10222         Use FOR_EACH_COCLASS in WebKitClassFactory
   10223 
   10224         Reviewed by Ada.
   10225 
   10226         * WebError.cpp:
   10227         (WebError::createInstance): Added an overload that takes no arguments
   10228         to make the macro used in WebKitClassFactory work.
   10229         * WebError.h:
   10230         * WebKitClassFactory.cpp:
   10231         (WebKitClassFactory::CreateInstance): Use FOR_EACH_COCLASS.
   10232 
   10233 2007-10-24  Adam Roben  <aroben (a] apple.com>
   10234 
   10235         Put FOR_EACH_COCLASS macro into its own file and export it
   10236 
   10237         The macro used to be called FOR_EACH_CLASS and lived in WebKitDLL.cpp.
   10238         This way we will be able to use the macro in more places that care
   10239         about all WebKit's COM classes.
   10240 
   10241         Reviewed by Ada.
   10242 
   10243         * ForEachCoClass.h: Added.
   10244         * WebKit.vcproj/WebKit.vcproj: Copy ForEachCoClass.h to
   10245         WebKitOutputDir, and added it to the project.
   10246         * WebKitDLL.cpp: Updated for macro rename, and changed to #undef the
   10247         macros we pass to FOR_EACH_COCLASS after we're done with them.
   10248 
   10249 2007-10-24  Ada Chan  <adachan (a] apple.com>
   10250 
   10251         <rdar://problem/5552221> REGRESSION(310A24-ToT): Shortcut key disable. (15604)
   10252 
   10253         Reviewed by Adam.
   10254 
   10255         * WebView.cpp:
   10256         (WebView::handleEditingKeyboardEvent): don't handle system key events as text input
   10257         (WebView::keyDown): only remove WM_SYSCHAR message from the queue if we handle it.
   10258         For WM_SYSCHAR message that we don't handle, let it stay in the queue and return 
   10259         false to let windows handle it.
   10260 
   10261 2007-10-24  Brady Eidson  <beidson (a] apple.com>
   10262 
   10263         Reviewed by Anders
   10264 
   10265         Windows portion of <rdar://5554130> 
   10266         
   10267         Slowly introduce Windows WebKit portion of the Database API that sets the 
   10268         on-disk location for databases
   10269         
   10270         * WebDatabaseManager.cpp: Added.
   10271         (WebKitSetWebDatabasesPathIfNecessary):
   10272         * WebDatabaseManager.h: Added.
   10273         
   10274         * WebKit.vcproj/WebKit.vcproj:
   10275         
   10276         * WebView.cpp:
   10277         (WebView::initWithFrame): Call WebKitSetWebDatabasesPathIfNecessary()
   10278 
   10279 2007-10-24  Kevin McCullough  <kmccullough (a] apple.com>
   10280 
   10281         Reviewed by Sam, Steve and Darin.
   10282 
   10283         - Added stubs for what will be neede to let Drosera attach to the
   10284         WebKit process and debug it.
   10285 
   10286         * Interfaces/IWebScriptCallFrame.idl: Added.
   10287         * Interfaces/IWebScriptDebugListener.idl: Added.
   10288         * Interfaces/WebKit.idl:
   10289         * WebKit.vcproj/Interfaces.vcproj:
   10290         * WebKit.vcproj/WebKitGUID.vcproj:
   10291 
   10292 2007-10-23  Adam Roben  <aroben (a] apple.com>
   10293 
   10294         Move safe file creation code to WebCore
   10295 
   10296         Reviewed by Brady.
   10297 
   10298         * WebPreferences.cpp:
   10299         (preferencesPath): Made into a static helper function.
   10300         (WebPreferences::save): Now calls WebCore's safeCreateFile function.
   10301         (WebPreferences::load): Uses String/CString to handle the UTF-8
   10302         conversion.
   10303         * WebPreferences.h: Removed preferencesPath and
   10304         safeCreateFileWithData.
   10305 
   10306 2007-10-23  Adam Roben  <aroben (a] apple.com>
   10307 
   10308         Reduce code duplication by using WebCore's FileSystem functions
   10309 
   10310         Reviewed by Brady.
   10311 
   10312         * WebIconDatabase.cpp: Removed a now-unused function and a fixed
   10313         FIXME.
   10314         (WebIconDatabase::init): Changed to use FileSystem functions.
   10315         * WebPreferences.cpp:
   10316         (WebPreferences::preferencesPath): Ditto.
   10317 
   10318 2007-10-23  Sam Weinig  <sam (a] webkit.org>
   10319 
   10320         Make the WebNotificationCenter work with null (wildcard) and specific
   10321         observed objects, matching NSNotificationCenter.
   10322 
   10323         - Removes the ObserverKey, ObserverHash, and ObserverKeyTraits as we now
   10324           hash against the notification name only and check the object on notification
   10325           posting.
   10326         - Use OwnPtr for the WebNotificationCenterPrivate member variable.
   10327 
   10328         Reviewed by Adam Roben.
   10329 
   10330         * WebNotificationCenter.cpp:
   10331         (WebNotificationCenter::WebNotificationCenter):
   10332         (WebNotificationCenter::~WebNotificationCenter):
   10333         (WebNotificationCenter::postNotificationInternal):
   10334         (WebNotificationCenter::addObserver):
   10335         (WebNotificationCenter::postNotification):
   10336         (WebNotificationCenter::postNotificationName):
   10337         (WebNotificationCenter::removeObserver):
   10338         * WebNotificationCenter.h:
   10339 
   10340 2007-10-23  Ada Chan  <adachan (a] apple.com>
   10341 
   10342         <rdar://problem/5244261> SafariWin ignores cookie policy setting "never" in the preferences
   10343         Custom WebPreferences (not the shared WebPreferences) could override the cookie accept
   10344         policy setting on the default cookie storage.  To fix that, I added a new method in
   10345         WebView called updateGlobalSettingsFromPreferences() to handle updating the global pref
   10346         options such as cookie accept policy, and it's only called to update changes from
   10347         the shared WebPreferences.
   10348         
   10349         Use CLSID_WebPreferences and remove IID_WebPreferences.
   10350 
   10351         Reviewed by Darin and Adam.
   10352 
   10353         * WebPreferences.cpp:
   10354         (WebPreferences::QueryInterface):
   10355         * WebPreferences.h:
   10356         * WebView.cpp:
   10357         (WebView::updateWebCoreSettingsFromPreferences):
   10358         (WebView::updateGlobalSettingsFromPreferences):
   10359         (WebView::updateSettingsFromPreferences):
   10360         (WebView::developerExtrasEnabled):
   10361         (WebView::initWithFrame):
   10362         (WebView::onNotify):
   10363         * WebView.h:
   10364 
   10365 2007-10-18  Brady Eidson  <beidson (a] apple.com>
   10366 
   10367         Reviewed by Anders
   10368 
   10369         Keep windows building with new Chrome additions
   10370 
   10371         * WebChromeClient.cpp:
   10372         * WebChromeClient.h:
   10373 
   10374 2007-10-18  Adam Roben  <aroben (a] apple.com>
   10375 
   10376         Fix <rdar://5547784> ProgIDMacros.h should explicitly use wide strings
   10377 
   10378         Reviewed by Adele.
   10379 
   10380         * ProgIDMacros.h: Always use wide strings instead of relying on the
   10381         TEXT macro.
   10382 
   10383 2007-10-17  Adam Roben  <aroben (a] apple.com>
   10384 
   10385         Fix for clean builds needed after r26683
   10386 
   10387         * WebView.cpp: Remove #include of non-existant file.
   10388 
   10389 2007-10-17  Anders Carlsson  <andersca (a] apple.com>
   10390 
   10391         Update for locking primitive changes.
   10392 
   10393         * WebIconDatabase.cpp:
   10394         (WebIconDatabase::scheduleNotificationDelivery):
   10395 
   10396 2007-10-16  Adam Roben  <aroben (a] apple.com>
   10397 
   10398         Remove WebKitInitializer
   10399 
   10400         Reviewed by Sam.
   10401 
   10402         * WebKit.vcproj/WebKit.sln:
   10403 
   10404 2007-10-16  Adam Roben  <aroben (a] apple.com>
   10405 
   10406         Add FindSafari
   10407 
   10408         Reviewed by Darin Adler.
   10409 
   10410         * WebKit.vcproj/WebKit.sln:
   10411 
   10412 2007-10-16  Adam Roben  <aroben (a] apple.com>
   10413 
   10414         Rename WebKit_debug.dll to WebKit.dll for the Debug configuration
   10415 
   10416         This is needed so that we can stop having Safari delay-load WebKit,
   10417         which in turn is needed so that Maciej can land a JavaScript speedup
   10418         which breaks delay-loading.
   10419 
   10420         Reviewed by Kevin McCullough.
   10421 
   10422         * WebKit.vcproj/WebKit.vcproj: Use WebKitDLLConfigSuffix for the name
   10423         of our DLL and module definition file.
   10424         * WebKit.vcproj/debug.vsprops: Added WebKitDLLConfigSuffix.
   10425         * WebKit.vcproj/debug_internal.vsprops: Ditto.
   10426         * WebKit.vcproj/release.vsprops: Ditto.
   10427 
   10428 2007-10-15  Jon Honeycutt  <jhoneycutt (a] apple.com>
   10429 
   10430         Reviewed by Ollie.
   10431 
   10432         <rdar://5530789>: REGRESSION(303-310A19): Crash opening .wma files with
   10433         MediaPlayer for the first time
   10434 
   10435         Failure to setup the stream in PluginView::didReceiveResponse will lead,
   10436         in a full-page plugin, to the main document load being cancelled. This
   10437         is the case with at least two versions of Windows Media Player, which
   10438         cancels the stream and brings up its own "Welcome to Windows Media
   10439         Player" dialog.
   10440         
   10441         As part of the main document load cancellation, m_pluginView is set to
   10442         null, and the crash came from dereferencing this pointer. This patch
   10443         adds a null check.
   10444 
   10445         * WebFrame.cpp:
   10446         (WebFrame::finishedLoading): Fix some typos
   10447         (WebFrame::committedLoad): Added a null check
   10448 
   10449 2007-10-15  Alice Liu  <alice.liu (a] apple.com>
   10450 
   10451         Reviewed by Sam Weinig.
   10452 
   10453         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
   10454 
   10455         * DefaultPolicyDelegate.cpp: Added.
   10456         Implementation is a direct port of WebKit/DefaultDelegates/WebDefaultPolicyDelegate.m
   10457         (DefaultPolicyDelegate::DefaultPolicyDelegate):
   10458         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
   10459         (DefaultPolicyDelegate::sharedInstance):
   10460         (DefaultPolicyDelegate::createInstance):
   10461         (DefaultPolicyDelegate::QueryInterface):
   10462         (DefaultPolicyDelegate::AddRef):
   10463         (DefaultPolicyDelegate::Release):
   10464         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
   10465         (DefaultPolicyDelegate::decidePolicyForNewWindowAction):
   10466         (DefaultPolicyDelegate::decidePolicyForMIMEType):
   10467         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
   10468         * DefaultPolicyDelegate.h: Added.
   10469         * WebFrame.cpp:
   10470         (WebFrame::dispatchDecidePolicyForNavigationAction):
   10471         Implemented default action
   10472         * WebKit.vcproj/WebKit.vcproj:
   10473         Adding files to project
   10474 
   10475 2007-10-12  Steve Falkenburg  <sfalken (a] apple.com>
   10476 
   10477         Move pthreads up in the linker order and don't mark it for delay load.
   10478         Fixes crash during regsvr32 of WebKit (currently repro if you do a spade ti).
   10479         
   10480         Reviewed by Darin, Ada.
   10481 
   10482         * WebKit.vcproj/WebKit.vcproj:
   10483 
   10484 2007-10-11  Steve Falkenburg  <sfalken (a] apple.com>
   10485 
   10486         Delay load additional libraries to improve startup time.
   10487         
   10488         Reviewed by Darin, Ada.
   10489 
   10490         * WebKit.vcproj/WebKit.vcproj:
   10491 
   10492 2007-10-11  Ada Chan  <adachan (a] apple.com>
   10493 
   10494         <rdar://problem/5534421>
   10495         Switched to using wkGetDefaultHTTPCookieStorage() to avoid recreating CFHTTPCookieStorageRef.
   10496         Removed usage of ResourceHandle::cookieStorage().
   10497 
   10498         Reviewed by Oliver.
   10499 
   10500         * WebView.cpp:
   10501         (WebView::updateWebCoreSettingsFromPreferences):
   10502         (WebView::initWithFrame):
   10503 
   10504 2007-10-10  Alice Liu  <alice.liu (a] apple.com>
   10505 
   10506         Reviewed by Geoff Garen.
   10507 
   10508         Fixed <rdar://5464402> Crash when running fast/frames/onload-remove-iframe-crash.html in DRT
   10509 
   10510         * WebFrame.cpp:
   10511         (WebFrame::createFrame):
   10512         The crash was caused by the early destruction of the subframe.  To resolve this issue, 
   10513         the manual deref of the child frame that occurs in between being appended to the 
   10514         frametree and being used in loadURLIntoChild wasn't exactly incorrect, but just needed 
   10515         to be moved until after loadURLIntoChild. This hasn't been a problem for other uses of 
   10516         child frames because this test case involves removing a child frame immediately after 
   10517         loading it, all in an onload handler.  Even better than just moving the deref would be 
   10518         to change the signature of createFrame to use a RefPtr<Frame> so that a manual deref isn't 
   10519         necessary. This is what was done in this patch. 
   10520         * WebFrame.h:
   10521         createFrame() now returns a RefPtr instead of a raw Frame pointer. 
   10522         Making this change improves the way we handle frames on Windows WebKit. 
   10523 
   10524 
   10525 2007-10-05  Ada Chan  <adachan (a] apple.com>
   10526 
   10527         <rdar://problem/5436617>
   10528         Implement WebIconDatabase::delayDatabaseCleanup() and WebIconDatabase::allowDatabaseCleanup().
   10529 
   10530         Reviewed by Brady.
   10531 
   10532         * WebIconDatabase.cpp:
   10533         (WebIconDatabase::delayDatabaseCleanup):
   10534         (WebIconDatabase::allowDatabaseCleanup):
   10535 
   10536 2007-10-04  Adele Peterson  <adele (a] apple.com>
   10537 
   10538         * Interfaces/IWebViewPrivate.idl: Moving setInitialFocus down to the end to avoid breaking the OpenSource build.
   10539 
   10540 2007-10-04  Adele Peterson  <adele (a] apple.com>
   10541 
   10542         Reviewed by Darin Adler.
   10543 
   10544         WebKit/win part of fix for <rdar://problem/5369017> REGRESSION: Can't tab to webview that doesn't have editable content
   10545 
   10546         * WebView.cpp: Added setInitialFocus so the application can specify that its handing off focus to WebKit
   10547           and so that it can specify the focus direction.
   10548         * WebView.h: ditto.
   10549         * Interfaces/IWebViewPrivate.idl: ditto.
   10550 
   10551 2007-10-03  Ada Chan  <adachan (a] apple.com>
   10552 
   10553         <rdar://problem/5521230> Implement IWebIconDatabase::iconURLForURL in WebKit for windows
   10554 
   10555         Reviewed by Steve and Brady.
   10556 
   10557         * Interfaces/IWebIconDatabase.idl:
   10558         * WebIconDatabase.cpp:
   10559         (WebIconDatabase::iconURLForURL):
   10560         * WebIconDatabase.h:
   10561 
   10562 2007-10-02  Sam Weinig  <sam (a] webkit.org>
   10563 
   10564         Rubber-stamped by Adam Roben.
   10565 
   10566         * Interfaces/IWebPreferences.idl: Remove unnecessary comments. 
   10567 
   10568 2007-10-02  Darin Adler  <darin (a] apple.com>
   10569 
   10570         Reviewed by Adam.
   10571 
   10572         - started using the new OwnPtr everywhere we do DeleteObject
   10573 
   10574         * WebNodeHighlight.cpp:
   10575         (WebNodeHighlight::updateWindow):
   10576         * WebView.cpp:
   10577         (WebView::WebView):
   10578         (WebView::deleteBackingStore):
   10579         (WebView::ensureBackingStore):
   10580         (WebView::addToDirtyRegion):
   10581         (WebView::scrollBackingStore):
   10582         (WebView::updateBackingStore):
   10583         (WebView::paint):
   10584         (WebView::paintIntoBackingStore):
   10585         (WebView::paintIntoWindow):
   10586         * WebView.h:
   10587 
   10588 2007-10-02  Adam Roben  <aroben (a] apple.com>
   10589 
   10590         Fix <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
   10591 
   10592         I also added a few registry keys for our version-independent ProgIDs
   10593         that we were missing.
   10594 
   10595         Reviewed by Steve.
   10596 
   10597         * ProgIDMacros.h: Added new macros to get version-independent ProgIDs.
   10598         * WebKitDLL.cpp: Use the version-independent ProgIDs in the right
   10599         places, and added some new keys for version-independent ProgIDs.
   10600 
   10601 2007-10-02  Anders Carlsson  <andersca (a] apple.com>
   10602 
   10603         Reviewed by Adam.
   10604 
   10605         Fix a bug discovered by app verifier where we would treat an LPCTSTR as a BSTR causing a crash.
   10606         
   10607         Also rename some protection space constants and change their values to match the mac version.
   10608         
   10609         * Interfaces/IWebURLAuthenticationChallenge.idl:
   10610         * WebURLProtectionSpace.cpp:
   10611         (WebURLProtectionSpace::initWithHost):
   10612         (WebURLProtectionSpace::initWithProxyHost):
   10613         (WebURLProtectionSpace::protocol):
   10614         (WebURLProtectionSpace::proxyType):
   10615 
   10616 2007-09-29  Adam Roben  <aroben (a] apple.com>
   10617 
   10618         Clean-up in preparation for <rdar://5505062> WebKit's version-independent ProgIDs contain version numbers
   10619 
   10620         Reviewed by Steve.
   10621 
   10622         * ProgIDMacros.h: Stringify the passed in class name.
   10623         * WebKitDLL.cpp: Added a FOR_EACH_CLASS macro to ensure that our class
   10624         lists stay in the right order, and updated uses of the *_PROGID macros
   10625         for to take the stringification into account.
   10626 
   10627 2007-09-27  Kevin McCullough  <kmccullough (a] apple.com>
   10628 
   10629         Reviewed by Darin Adler.
   10630 
   10631         - <rdar://5261371> Nothing downloaded when exporting bookmarks from iGoogle web history
   10632         - 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.
   10633 
   10634         * HTTPHeaderPropertyBag.cpp: Added.
   10635         (HTTPHeaderPropertyBag::HTTPHeaderPropertyBag):
   10636         (HTTPHeaderPropertyBag::createInstance):
   10637         (HTTPHeaderPropertyBag::setResponse):
   10638         (HTTPHeaderPropertyBag::response):
   10639         (HTTPHeaderPropertyBag::QueryInterface):
   10640         (HTTPHeaderPropertyBag::AddRef):
   10641         (HTTPHeaderPropertyBag::Release):
   10642         (ConvertFromLPCOLESTR):
   10643         (ConvertToVariant):
   10644         (ConvertFromVariant):
   10645         (HTTPHeaderPropertyBag::Read):
   10646         (HTTPHeaderPropertyBag::Write):
   10647         * HTTPHeaderPropertyBag.h: Added.
   10648         * Interfaces/IWebHTTPURLResponse.idl:
   10649         * WebKit.vcproj/WebKit.vcproj:
   10650         * WebURLResponse.cpp:
   10651         (WebURLResponse::allHeaderFields):
   10652         (WebURLResponse::isAttachment):
   10653         * WebURLResponse.h:
   10654 
   10655 2007-09-27  Ada Chan  <adachan (a] apple.com>
   10656 
   10657         <rdar://problem/5507481> Added a delegate method to inform the client
   10658         app that WebView has painted.
   10659 
   10660         Reviewed by Steve.
   10661 
   10662         * Interfaces/IWebUIDelegatePrivate.idl:
   10663         * WebView.cpp:
   10664         (WebView::updateBackingStore):
   10665 
   10666 2007-09-25  Adam Roben  <aroben (a] apple.com>
   10667 
   10668         Add WebKitInitializer to WebKit.sln
   10669 
   10670         Reviewed by Sam.
   10671 
   10672         * WebKit.vcproj/WebKit.sln: DumpRenderTree and testkjs now depend on
   10673         WebKitInitializer.
   10674 
   10675 2007-09-25  Darin Adler  <darin (a] apple.com>
   10676 
   10677         Reviewed by Steve.
   10678 
   10679         - fix <rdar://problem/5095701> Download requring HTTP auth fails
   10680           (progress bar forever)
   10681 
   10682         The functions in WebDownload relating to authentication challenges needed
   10683         to be implemented.
   10684 
   10685         * WebDownload.cpp:
   10686         (WebDownload::cancelAuthenticationChallenge): Implement.
   10687         (WebDownload::continueWithoutCredentialForAuthenticationChallenge): Ditto.
   10688         (WebDownload::useCredential): Ditto.
   10689         (WebDownload::willSendRequest): Fix storage leak by adopting request
   10690         and response after creating them. Also retain the result before returning
   10691         it, since that's the API contract with CFNetwork.
   10692         (WebDownload::didReceiveAuthenticationChallenge): Implement.
   10693         (WebDownload::didReceiveResponse): Fix storage leak by adopting response.
   10694         (WebDownload::willResumeWithResponse): Ditto.
   10695         (WebDownload::didFail): Ditto.
   10696 
   10697         * WebURLAuthenticationChallenge.h: Get rid of the IID #define,
   10698         instead using __declspec(uuid). Added a sender parameter to the
   10699         create function and an m_sender data member.
   10700         * WebURLAuthenticationChallenge.cpp:
   10701         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge): Added an
   10702         explicit sender parameter so this can be used with a WebDownload, which
   10703         does not involve a ResourceHandle. Later we should clean this up and not
   10704         involve WebCore or ResourceHandle directly even for the non-download case.
   10705         (WebURLAuthenticationChallenge::createInstance): Added an overload for the
   10706         case with an explicit sender parameter.
   10707         (WebURLAuthenticationChallenge::QueryInterface): Use __uuidof for the ID
   10708         of this class. In general, we should move to __uuidof as much as possible
   10709         and keep the separate macros to a minimum -- but we should do this for all
   10710         uses of each class at one time to make sure we don't run into problems
   10711         with two different UUIDs for the same class. This patch does it for three
   10712         classes.
   10713         (WebURLAuthenticationChallenge::initWithProtectionSpace): Use the query
   10714         constructor instead of an explicit QueryInterface for WebURLCredential.
   10715         This is another class where I'm switching from CLSID/IID macros to the
   10716         use of __uuidof, but in this case the use of __uuidof is implicit.
   10717         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): Ditto,
   10718         but for WebURLAuthenticationChallenge and WebURLAuthenticationChallengeSender.
   10719         (WebURLAuthenticationChallenge::sender): Use the new m_sender member to
   10720         cache the sender object and also use the one that was passed into the
   10721         constructor, if any.
   10722 
   10723         * WebURLAuthenticationChallengeSender.h: Get rid of the IID #define,
   10724         instead using __declspec(uuid). Also minimize includes and make data
   10725         members private instead of protected.
   10726         * WebURLAuthenticationChallengeSender.cpp:
   10727         (WebURLAuthenticationChallengeSender::QueryInterface): Use __uuidof instead
   10728         of IID macro.
   10729         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
   10730         Use query constructor instead of QueryInterface.
   10731         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
   10732         Ditto.
   10733         (WebURLAuthenticationChallengeSender::useCredential): Ditto.
   10734 
   10735         * WebURLCredential.cpp: (WebURLCredential::QueryInterface): Use __uuidof
   10736         instead of CLSID_WebURLCredential.
   10737 
   10738         - tangentially-related cleanup
   10739 
   10740         * WebFrame.cpp:
   10741         (WebFrame::dispatchDidReceiveAuthenticationChallenge): Use the adopt
   10742         constructor instead of a separate adoptRef call.
   10743         (WebFrame::dispatchDidCancelAuthenticationChallenge): Ditto.
   10744 
   10745 2007-09-24  Brady Eidson  <beidson (a] apple.com>
   10746 
   10747         Reviewed by John Sullivan
   10748 
   10749         Fix for <rdar://5493371> - Crash in Icon Database on Windows
   10750         
   10751         * WebIconDatabase.cpp:
   10752         (WebIconDatabase::iconForURL): If the URL is NULL, fallback to the default icon without asking WebCore
   10753 
   10754 2007-09-24  Adam Roben  <aroben (a] apple.com>
   10755 
   10756         Fix <rdar://5499507> FrameView will always have size (0,0) if its parent WebView is never resized
   10757 
   10758         Reviewed by Darin Adler.
   10759 
   10760         * WebView.cpp:
   10761         (WebView::initWithFrame): Set the main FrameView's size to the size of
   10762         the WebView.
   10763 
   10764 2007-09-21  Kevin McCullough  <kmccullough (a] apple.com>
   10765 
   10766         - Fixed a syntax guideline mistake.
   10767 
   10768         * WebChromeClient.cpp:
   10769         (WebChromeClient::scrollbarsVisible):
   10770 
   10771 2007-09-20  Oliver Hunt  <oliver (a] apple.com>
   10772 
   10773         Reviewed by Steve.
   10774 
   10775         <rdar://problem/5487153> Korean characters are displayed as garbage with default encoding in some Korean web sites
   10776 
   10777         Adding support for per-localisation default character encodings on
   10778         windows.
   10779         
   10780         * English.lproj/Localizable.strings:
   10781         * WebPreferences.cpp:
   10782         (WebPreferences::initializeDefaultSettings):
   10783 
   10784 2007-09-20  Kevin McCullough  <kmccullough (a] apple.com>
   10785 
   10786         Reviewed by Oliver.
   10787 
   10788         - Added the ability to ask if scrollbars are visible
   10789         - <rdar://problem/5496211> scrollbarsVisible in WebChromeClient is not implemented
   10790 
   10791         * WebChromeClient.cpp:
   10792         (WebChromeClient::scrollbarsVisible):
   10793 
   10794 2007-09-20  Ada Chan  <adachan (a] apple.com>
   10795 
   10796         <rdar://problem/5477240> Regression: Footer is too high in print preview
   10797 
   10798         Reviewed by Steve.
   10799 
   10800         * WebFrame.cpp:
   10801         (WebFrame::WebFrame): initialize new data member m_pageHeight, which is the height of the page adjusted for margins.
   10802         (WebFrame::computePageRects): get the height of the page adjusted for margins by passing m_pageHeight to
   10803         computePageRectsForFrame().
   10804         (WebFrame::spoolPages): footer rect's top is the max of the bottom of the page content and the bottom of the page
   10805         minus footer height.
   10806         * WebFrame.h:
   10807 
   10808 2007-09-19  Kevin McCullough  <kmccullough (a] apple.com>
   10809 
   10810         Reviewed by Hyatt.
   10811 
   10812         - <rdar://problem/5101991> Avril Lavigne music player comes up in a window with scrollbars
   10813         - Implementing missing scrollbar functionality to allow turning off scrollbars correctly.
   10814 
   10815         * Interfaces/IWebFrame.idl:
   10816         * Interfaces/IWebFrameView.idl:
   10817         * WebChromeClient.cpp:
   10818         (WebChromeClient::setScrollbarsVisible):
   10819         * WebFrame.cpp:
   10820         (WebFrame::setAllowsScrolling):
   10821         (WebFrame::allowsScrolling):
   10822         (WebFrame::frameView):
   10823         * WebFrame.h:
   10824 
   10825 2007-09-20  Brady Eidson  <beidson (a] apple.com>
   10826 
   10827         Reviewed by Dave Hyatt
   10828 
   10829         <rdar://problem/5245981> - No favicon shows up for cnet.com
   10830         
   10831         * WebIconDatabase.cpp:
   10832         (WebIconDatabase::iconForURL): Call getHBITMAPOfSize
   10833         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto
   10834 
   10835 2007-09-19  Sam Weinig  <sam (a] webkit.org>
   10836 
   10837         Rubber stamped by Adam Roben.
   10838 
   10839         * WebKit.vcproj/WebKit.sln: Update location of DumpRenderTree and TestNetscapePlugin
   10840         to point to their new locations.
   10841 
   10842 2007-09-18  Brady Eidson  <beidson (a] apple.com>
   10843 
   10844         Reviewed by Adam
   10845 
   10846         Final part of <rdar://problem/5471308> - Hook up async icon database on Windows        
   10847 
   10848         * CFDictionaryPropertyBag.cpp:
   10849         (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Took the opportunity to rewrite with a RetainPtr
   10850           since it became available after the initial implementation
   10851         (CFDictionaryPropertyBag::setDictionary):
   10852         (CFDictionaryPropertyBag::dictionary): Added accessor to the CFDictionaryRef to ease use within WebKit
   10853         (CFDictionaryPropertyBag::QueryInterface): Added IID_CFDictionaryPropertyBag accessor
   10854         (CFDictionaryPropertyBag::Read):
   10855         (CFDictionaryPropertyBag::Write):
   10856         * CFDictionaryPropertyBag.h: Added IID_CFDictionaryPropertyBag
   10857        
   10858         * WebFrame.cpp:
   10859         (WebFrame::url): Added accessor, gets the current URL from WebCore
   10860         (WebFrame::dispatchDidReceiveIcon): Calls through to the WebView
   10861         (WebFrame::registerForIconNotification): Ditto
   10862         * WebFrame.h:        
   10863 
   10864         * WebIconDatabase.cpp:
   10865         (WebIconDatabase::iconDatabaseDidAddIconNotification):
   10866         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
   10867         (WebIconDatabase::iconDatabaseDidRemoveAllIconsNotification):
   10868         (postDidRemoveAllIconsNotification):
   10869         (postDidAddIconNotification):
   10870         * WebIconDatabase.h:        
   10871 
   10872         * WebView.cpp:
   10873         (WebView::close): Unregister for the notification, just in case
   10874         (WebView::notifyDidAddIcon): Called when the webview gets the didAddIcon notification, compares the url
   10875           in the notification to the current main frame URL.  If they match, calls to dispatchDidReceiveIconFromWebFrame
   10876         (WebView::registerForIconNotification): 
   10877         (WebView::dispatchDidReceiveIconFromWebFrame): Dispatches the FrameLoadDelegate call.  Once the delegate call is dispatched,
   10878           either via the FrameLoaderClient interface of by listening for a notification, we know that our info is up to date in the 
   10879           IconDatabase and we don't need to listen for the generic notification any long, so we unregister for it here, as well.
   10880         (WebView::onNotify): The WebView listens for two notifications now, so make the decision which was received
   10881         * WebView.h:
   10882 
   10883 2007-09-18  Brady Eidson  <beidson (a] apple.com>
   10884 
   10885         Reviewed by Ada and Geoff
   10886 
   10887         Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
   10888         
   10889         Hook up main thread delivery of Icon Database notifications from the secondary thread
   10890         
   10891         * WebIconDatabase.cpp:
   10892         (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
   10893         (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
   10894         (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
   10895           ask for the delivery
   10896         (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
   10897         (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
   10898           and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
   10899         (postDidRemoveAllIconsNotification):
   10900         (postDidAddIconNotification):
   10901         (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
   10902         * WebIconDatabase.h:
   10903 
   10904 2007-09-17  Geoffrey Garen  <ggaren (a] apple.com>
   10905 
   10906         Reviewed by Darin Adler.
   10907 
   10908         Fixed a hang due to an infinite script running in the window's unload 
   10909         event handler, which may be the cause of <rdar://problem/5479443> 
   10910         REGRESSION: Hang due to infinite JS recursion on close @ engadget.com 
   10911         (onunload-based ad)
   10912         
   10913         Added a bunch of WebKitMac's close features, and reordered others to
   10914         match WebKitMac.
   10915 
   10916         * WebView.cpp:
   10917         (WebView::close):
   10918         (WebView::removeDragCaret):
   10919 
   10920 2007-09-17  Adam Roben  <aroben (a] apple.com>
   10921 
   10922         Fix <rdar://4979801> overflow divs don't respond to keyboard scrolling (affects RSS pages)
   10923 
   10924         Reviewed by Hyatt.
   10925 
   10926         * WebView.cpp:
   10927         (WebView::keyDown): Attempt to scroll an overflow area before
   10928         scrolling the whole frame.
   10929 
   10930 2007-09-17  Brady Eidson  <beidson (a] apple.com>
   10931 
   10932         Reviewed by Adam
   10933         
   10934         <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows
   10935         
   10936         Add a global "shut down WebKit" procedure to do cleanup at the engine level on quit. 
   10937         Critical now for the IconDatabase and might be for other things in the future.
   10938 
   10939         * WebKitDLL.cpp:
   10940         (shutDownWebKit): For now, just close the IconDatabase
   10941         (DllMain): On DLL_PROCESS_DETACH, call shutDownWebKit
   10942 
   10943 2007-09-17  Anders Carlsson  <andersca (a] apple.com>
   10944 
   10945         Reviewed by Adam.
   10946 
   10947         <rdar://problem/5421997>
   10948         http://bugs.webkit.org/show_bug.cgi?id=14247
   10949         Display problem with Flash - image does not stop changing
   10950 
   10951         Port the manual load code over from the Mac version.
   10952 
   10953         * WebFrame.cpp:
   10954         (WebFrame::WebFramePrivate::WebFramePrivate):
   10955         Initialize the plugin pointer.
   10956         
   10957         (WebFrame::finishedLoading):
   10958         (WebFrame::setMainDocumentError):
   10959         (WebFrame::committedLoad):
   10960         Feed the data to the plug-in.
   10961                 
   10962         (WebFrame::redirectDataToPlugin):
   10963         Store the plug-in widget.
   10964 
   10965 2007-09-14  Steve Falkenburg  <sfalken (a] apple.com>
   10966 
   10967         Fix build.
   10968 
   10969         * WebFrame.cpp:
   10970         (WebFrame::createPlugin):
   10971         (WebFrame::createJavaAppletWidget):
   10972 
   10973 2007-09-13  Darin Adler  <darin (a] apple.com>
   10974 
   10975         Reviewed by Oliver.
   10976 
   10977         - fix <rdar://problem/5470457> REGRESSION: Input method inline hole is mishandled in text
   10978           <input> elements with maxlength limit
   10979 
   10980         * WebView.cpp:
   10981         (WebView::resetIME): Change to use confirmCompositionWithoutDisturbingSelection.
   10982         (WebView::updateSelectionForIME): Update for name changes, and to use new functions
   10983         in Editor.
   10984         (WebView::onIMEStartComposition): Removed unneeded call to unmarkText.
   10985         (compositionToUnderlines): Removed startOffset parameter, since setComposition now
   10986         handles this.
   10987         (WebView::onIMEComposition): Changed to use confirmComposition and setComposition.
   10988         Logic gets a lot cleaner.
   10989         (WebView::onIMEEndComposition): Removed unneeded calls to Editor.
   10990         (WebView::onIMERequestCharPosition): Updated for name changes.
   10991 
   10992 2007-09-12  Oliver Hunt  <oliver (a] apple.com>
   10993 
   10994         Reviewed by Adam.
   10995         
   10996         Fixing 
   10997             <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
   10998             <rdar://problem/5224996> Add zoom in and zoom out cursors
   10999             
   11000         Add images for vertical text and zoom in and out cursors to WebKit resources.
   11001             
   11002         * WebKit.vcproj/verticalTextCursor.png: Added.
   11003         * WebKit.vcproj/WebKit.rc:
   11004         * WebKit.vcproj/WebKit.vcproj:
   11005         * WebKit.vcproj/resource.h:
   11006         * WebKit.vcproj/zoomInCursor.png: Added.
   11007         * WebKit.vcproj/zoomOutCursor.png: Added.
   11008         * WebKitDLL.cpp:
   11009         (loadResourceIntoBuffer):
   11010 
   11011 2007-09-12  Adam Roben  <aroben (a] apple.com>
   11012 
   11013         Initialize SafariTheme early in WebKit's instantiation
   11014 
   11015         New versions of SafariTheme will require this initialization. We have
   11016         to use GetProcAddress for now since the initialize method doesn't
   11017         exist in any released SafariTheme.
   11018 
   11019         Reviewed by Ada.
   11020 
   11021         * WebKit.vcproj/debug_internal.vsprops: Pick up the debug SafariTheme.
   11022         * WebKitClassFactory.cpp:
   11023         (WebKitClassFactory::WebKitClassFactory): Call STInitialize.
   11024 
   11025 2007-09-12  Ada Chan  <adachan (a] apple.com>
   11026 
   11027         <rdar://problem/5478690> Regression: printing: footer only appears on the first page of print
   11028 
   11029         Reviewed by Adam.
   11030 
   11031         * WebFrame.cpp:
   11032         (WebFrame::spoolPages): the footer rect is relative to the top left of the current page.  So 
   11033         instead of passing pageRect.bottom() as the top of the footer rect (which is relative to the 
   11034         document), we should pass in headerHeight plus the height of the pageRect.
   11035 
   11036 2007-09-12  Anders Carlsson   <andersca (a] apple.com>
   11037 
   11038         Reviewed by Darin (reluctantly).
   11039 
   11040         <rdar://problem/5320461>
   11041         http://bugs.webkit.org/show_bug.cgi?id=14548
   11042         REGRESSION (r23987-r24061) : Reproducible crash with a local stylesheet file
   11043         
   11044         Add a workaround which converts the string passed in to an URL if it's a path.
   11045         
   11046         * WebView.cpp:
   11047         (WebView::updateWebCoreSettingsFromPreferences):
   11048 
   11049 2007-09-10  Steve Falkenburg  <sfalken (a] apple.com>
   11050 
   11051         Remove site-specific hacks that we don't need anymore.
   11052 
   11053         Reviewed by Adam.
   11054 
   11055         * WebView.cpp:
   11056         (WebView::userAgentForKURL):
   11057 
   11058 2007-09-08  Steve Falkenburg  <sfalken (a] apple.com>
   11059 
   11060         Prevent WebKit version numbers from containing "4" in Windows.
   11061 
   11062         Reviewed by Darin Adler.
   11063 
   11064         * WebKit.vcproj/VERSION: Bump version since our current version ends in 4.
   11065         * WebKit.vcproj/auto-version.sh: Add version checking code.
   11066 
   11067 2007-09-08  Brady Eidson  <beidson (a] apple.com>
   11068 
   11069         <rdar://problem/5434431> - Asynchronous Icon Database
   11070 
   11071         * WebFrame.cpp:
   11072         (WebFrame::didPerformFirstNavigation): Empty impl for now
   11073         (WebFrame::registerForIconNotification): Ditto
   11074         * WebFrame.h:
   11075 
   11076 2007-09-05  Geoffrey Garen  <ggaren (a] apple.com>
   11077 
   11078         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
   11079         
   11080         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
   11081         memory cache, or a very tiny one
   11082         
   11083         Keep the Windows build working with an empty stub.
   11084         
   11085         * WebFrame.cpp:
   11086         (FrameLoaderClient::didPerformFirstNavigation):
   11087         * WebFrame.h:
   11088 
   11089 2007-09-07  Ada Chan  <adachan (a] apple.com>
   11090 
   11091         Need to let the OS handle Alt+F4.
   11092 
   11093         Reviewed by Hyatt.
   11094 
   11095         * WebView.cpp:
   11096         (WebView::keyUp):
   11097         (WebView::keyDown):
   11098 
   11099 2007-09-07  Anders Carlsson  <andersca (a] apple.com>
   11100 
   11101         Reviewed by Oliver.
   11102 
   11103         <rdar://problem/5461487>
   11104         Seed: Embedded media content (Flash Player 9) inside RSS reported as unknown MIME type.
   11105         
   11106         Don't return ObjectContentNone if the URL's extension can't be mapped to a MIME type. If the MIME type is empty, 
   11107         we will try to display the content in a subframe instead, just like Mac WebKit.
   11108         
   11109         * WebFrame.cpp:
   11110         (WebFrame::objectContentType):
   11111 
   11112 2007-09-07  Ada Chan  <adachan (a] apple.com>
   11113 
   11114         <rdar://problem/5395928> Need to be able to handle context menu item selection by index
   11115 
   11116         Reviewed by Beth.
   11117 
   11118         * WebView.cpp:
   11119         (WebView::performContextMenuAction): performContextMenuAction() can now handle context menu
   11120         item selection via WM_MENUCOMMAND (by specifying byPosition to be true).  In that case, we
   11121         get the ContextMenuItem by position rather than by action id.
   11122         (WebViewWndProc): handle WM_MENUCOMMAND
   11123         * WebView.h:
   11124 
   11125 2007-09-07  Ada Chan  <adachan (a] apple.com>
   11126 
   11127         <rdar://problem/5453494> Better lifetime management of WebDataSource and WebDocumentLoader
   11128         The problem was that WebDataSource does not hold a strong reference to the WebDocumentLoader.  If
   11129         a WebDataSource is still around after the loader has been destroyed, it'll just point to
   11130         a stale WebDocumentLoader.
   11131         To fix this without a circular reference, WebDataSource now holds a strong reference to the
   11132         WebDocumentLoader.  The WebDocumentLoader holds a strong reference to the WebDataSource
   11133         until it's detached from the WebFrame.  When the WebDataSource is destroyed, it'll notify
   11134         its WebDocumentLoader so the loader will clear any references to it.
   11135 
   11136         Reviewed by Darin Adler.
   11137 
   11138         * WebDataSource.cpp:
   11139         (WebDataSource::~WebDataSource): call WebDocumentLoader::detachDataSource() so the loader
   11140         will clear any references to this data source
   11141         (WebDataSource::documentLoader): m_loader is now a RefPtr so we need to call get().
   11142         * WebDataSource.h:
   11143         * WebDocumentLoader.cpp:
   11144         (WebDocumentLoader::WebDocumentLoader): initialize m_dataSource since it's no longer a COMPtr.
   11145         (WebDocumentLoader::~WebDocumentLoader): release m_dataSource if necessary
   11146         (WebDocumentLoader::setDataSource): add a reference to m_dataSource
   11147         (WebDocumentLoader::dataSource): 
   11148         (WebDocumentLoader::detachDataSource): clear m_detachedDataSource.
   11149         (WebDocumentLoader::attachToFrame): call setDataSource() so it'll add the reference to the data source if necessary.
   11150         (WebDocumentLoader::detachFromFrame): release the reference to the data source
   11151         * WebDocumentLoader.h:
   11152 
   11153 2007-09-05  Dave Hyatt <hyatt (a] apple.com>
   11154 
   11155         Make sure ALT+other keys is properly sent into the DOM so that Web pages (and editing fields) can
   11156         detect key combos like ALT+Enter.
   11157        
   11158         Reviewed by Steve
   11159 
   11160         * WebView.cpp:
   11161         (WebView::keyUp):
   11162         (WebView::keyDown):
   11163         (WebViewWndProc):
   11164         * WebView.h:
   11165 
   11166 2007-09-04  Sam Weinig  <sam (a] webkit.org>
   11167 
   11168         Build fix.
   11169 
   11170         * WebKit.vcproj/WebKit.vcproj:
   11171 
   11172 2007-09-01  Oliver Hunt  <oliver (a] apple.com>
   11173 
   11174         Reviewed by Sam.
   11175 
   11176         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
   11177  
   11178         When focusing a password field or a non-editable element we disassociate any IME that may have
   11179         been active, and reassociate should a non-password editable element is focused.
   11180 
   11181         This makes password input with an IME active simpler, and brings our IME behaviour in line with
   11182         IE.        
   11183 
   11184         * WebEditorClient.cpp:
   11185         (WebEditorClient::setInputMethodState):
   11186         * WebEditorClient.h:
   11187         * WebView.cpp:
   11188         (IMMDict::IMMDict):
   11189         (WebView::setInputMethodState):
   11190         * WebView.h:
   11191 
   11192 2007-08-31  Steve Falkenburg  <sfalken (a] apple.com>
   11193 
   11194         <rdar://problem/5432594> Safari quits when hovering over mailto links on a webpage
   11195         
   11196         In addition to substituting %@ with %s, we also need to substitute %{1-9}$@ with %{1-9}$s.
   11197 
   11198         Reviewed by Oliver.
   11199 
   11200         * WebLocalizableStrings.cpp:
   11201         (WebLocalizedLPCTSTR):
   11202 
   11203 2007-08-29  Ada Chan  <adachan (a] apple.com>
   11204 
   11205         <rdar://problem/5074612> Added SPI to retrieve certificate info from a WebError.
   11206 
   11207         Reviewed by Steve.
   11208 
   11209         * Interfaces/IWebErrorPrivate.idl: Added IWebErrorPrivate
   11210         * WebError.cpp:
   11211         (WebError::QueryInterface): WebError now also implements IWebErrorPrivate
   11212         (WebError::sslPeerCertificate): retrieves certificate info from CFError's user info.
   11213         * WebError.h:
   11214         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebErrorPrivate_i.c
   11215 
   11216 2007-08-28  Steve Falkenburg  <sfalken (a] apple.com>
   11217 
   11218         <rdar://problem/5079253> Cannot set different margins for the page
   11219         
   11220         Added support for setting margins via page setup for Windows printing.
   11221         
   11222         Reviewed by Adam.
   11223 
   11224         * Interfaces/IWebUIDelegate.idl: Added webViewPrintingMarginRect.
   11225         * WebFrame.cpp:
   11226         (WebFrame::printerMarginRect): Added.
   11227         (WebFrame::computePageRects): Account for margins when calculating page rects.
   11228         (WebFrame::spoolPages): Position footer at the bottom of the page rect (fixes footer drawing if left/right margins are set).
   11229         * WebFrame.h:
   11230 
   11231 2007-08-28  Jon Honeycutt  <jhoneycutt (a] apple.com>
   11232 
   11233         Reviewed by Adam.
   11234 
   11235         <rdar://problem/5444457>: Content is cut when page orientation changed
   11236         in print preview
   11237         Fix: Don't return WebFrame::m_pageRects if it exists; let
   11238         computePageRectsForFrame clear and rewrite it.
   11239 
   11240         * WebFrame.cpp:
   11241         (WebFrame::computePageRects): Removed an early-return case. Added a
   11242         space.
   11243 
   11244 2007-08-28  Ada Chan  <adachan (a] apple.com>
   11245 
   11246         <rdar://problem/4876242> Added SPI to fetch SSL certificate information.
   11247 
   11248         Reviewed by Adam and Steve.
   11249 
   11250         * Interfaces/IWebURLResponsePrivate.idl: Added.
   11251         * WebKit.vcproj/Interfaces.vcproj:
   11252         * WebKit.vcproj/WebKitGUID.vcproj:
   11253         * WebURLResponse.cpp:
   11254         (WebURLResponse::QueryInterface):
   11255         (WebURLResponse::sslPeerCertificate): gets peer certificate context from CFNetwork
   11256         (WebURLResponse::certificateDictionary): gets the dictionary that contains SSL certificate
   11257         info from CFNetwork.  We retain the dictionary to ensure the certificate context is valid
   11258         throughout the lifetime of the WebURLResponse.
   11259         * WebURLResponse.h:
   11260 
   11261 2007-08-27  Steve Falkenburg  <sfalken (a] apple.com>
   11262 
   11263         <rdar://problem/5424801> REGRESSION (r25151): Web page area of window doesn't redraw if page isn't loaded
   11264         
   11265         Don't bypass WebView WM_PAINT if the WebView has never committed a page.
   11266         
   11267         Reviewed by Maciej.
   11268 
   11269         * WebView.cpp:
   11270         (WebViewWndProc): Don't skip painting if we haven't committed any pages in this view.
   11271 
   11272 2007-08-25  Oliver Hunt  <oliver (a] apple.com>
   11273 
   11274         Reviewed by Adam and Sam
   11275         
   11276         <rdar://problem/5269732> Safari 3.0 for Windows cuts off text in textarea boxes during sending forms (14562) 
   11277         <http://bugs.webkit.org/show_bug.cgi?id=14562> [Win] Textarea contents partially eaten on submit/copy
   11278         
   11279         WebView::handleEditingKeyboardEvent assumed all keycodes that did not trigger a named command were
   11280         to be inserted.  This could cause unexpected behaviour when control characters (eg. escape) are sent,
   11281         or could cause data loss when sent a null character (as happens when dead keys are used for international 
   11282         input).
   11283         
   11284         This patch corrects WebView::handleEditingKeyboardEvent to prevent such characters from being sent 
   11285         to Editor::insertText.  This behaviour matches Firefox.
   11286 
   11287         * WebView.cpp:
   11288         (WebView::handleEditingKeyboardEvent):
   11289 
   11290 2007-08-24  Sam Weinig  <sam (a] webkit.org>
   11291 
   11292         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
   11293 
   11294 2007-08-24  Ada Chan  <adachan (a] apple.com>
   11295 
   11296         <rdar://problem/5147315> and <rdar://problem/5183935>
   11297         Added accelerator key mappings for Select All, Undo, and Redo.
   11298 
   11299         Reviewed by Adam.
   11300 
   11301         * WebView.cpp:
   11302 
   11303 2007-08-24  Jon Honeycutt  <jhoneycutt (a] apple.com>
   11304 
   11305         Reviewed by Darin Adler.
   11306 
   11307         Part of <rdar://problem/5433236> Print preview of empty txt file crashes
   11308         Safari
   11309 
   11310         * WebFrame.cpp:
   11311         (WebFrame::computePageRects): Pass m_pageRects by reference into 
   11312         computePageRectsForFrame
   11313 
   11314 2007-08-24  Sam Weinig  <sam (a] webkit.org>
   11315 
   11316         Rubber-stamped by Adam Roben.
   11317 
   11318         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
   11319 
   11320         Rename COM DOM bindings to use Deprecated prefix.
   11321 
   11322         * DOMCSSClasses.cpp:
   11323         (DeprecatedDOMCSSStyleDeclaration::DeprecatedDOMCSSStyleDeclaration):
   11324         (DeprecatedDOMCSSStyleDeclaration::~DeprecatedDOMCSSStyleDeclaration):
   11325         (DeprecatedDOMCSSStyleDeclaration::createInstance):
   11326         (DeprecatedDOMCSSStyleDeclaration::QueryInterface):
   11327         (DeprecatedDOMCSSStyleDeclaration::cssText):
   11328         (DeprecatedDOMCSSStyleDeclaration::setCssText):
   11329         (DeprecatedDOMCSSStyleDeclaration::getPropertyValue):
   11330         (DeprecatedDOMCSSStyleDeclaration::getPropertyCSSValue):
   11331         (DeprecatedDOMCSSStyleDeclaration::removeProperty):
   11332         (DeprecatedDOMCSSStyleDeclaration::getPropertyPriority):
   11333         (DeprecatedDOMCSSStyleDeclaration::setProperty):
   11334         (DeprecatedDOMCSSStyleDeclaration::length):
   11335         (DeprecatedDOMCSSStyleDeclaration::item):
   11336         (DeprecatedDOMCSSStyleDeclaration::parentRule):
   11337         * DOMCSSClasses.h:
   11338         (DeprecatedDOMCSSStyleDeclaration::AddRef):
   11339         (DeprecatedDOMCSSStyleDeclaration::Release):
   11340         (DeprecatedDOMCSSStyleDeclaration::throwException):
   11341         (DeprecatedDOMCSSStyleDeclaration::callWebScriptMethod):
   11342         (DeprecatedDOMCSSStyleDeclaration::evaluateWebScript):
   11343         (DeprecatedDOMCSSStyleDeclaration::removeWebScriptKey):
   11344         (DeprecatedDOMCSSStyleDeclaration::stringRepresentation):
   11345         (DeprecatedDOMCSSStyleDeclaration::webScriptValueAtIndex):
   11346         (DeprecatedDOMCSSStyleDeclaration::setWebScriptValueAtIndex):
   11347         (DeprecatedDOMCSSStyleDeclaration::setException):
   11348         * DOMCoreClasses.cpp:
   11349         (DeprecatedDOMObject::QueryInterface):
   11350         (DeprecatedDOMNode::QueryInterface):
   11351         (DeprecatedDOMNode::nodeName):
   11352         (DeprecatedDOMNode::nodeValue):
   11353         (DeprecatedDOMNode::setNodeValue):
   11354         (DeprecatedDOMNode::nodeType):
   11355         (DeprecatedDOMNode::parentNode):
   11356         (DeprecatedDOMNode::childNodes):
   11357         (DeprecatedDOMNode::firstChild):
   11358         (DeprecatedDOMNode::lastChild):
   11359         (DeprecatedDOMNode::previousSibling):
   11360         (DeprecatedDOMNode::nextSibling):
   11361         (DeprecatedDOMNode::attributes):
   11362         (DeprecatedDOMNode::ownerDocument):
   11363         (DeprecatedDOMNode::insertBefore):
   11364         (DeprecatedDOMNode::replaceChild):
   11365         (DeprecatedDOMNode::removeChild):
   11366         (DeprecatedDOMNode::appendChild):
   11367         (DeprecatedDOMNode::hasChildNodes):
   11368         (DeprecatedDOMNode::cloneNode):
   11369         (DeprecatedDOMNode::normalize):
   11370         (DeprecatedDOMNode::isSupported):
   11371         (DeprecatedDOMNode::namespaceURI):
   11372         (DeprecatedDOMNode::prefix):
   11373         (DeprecatedDOMNode::setPrefix):
   11374         (DeprecatedDOMNode::localName):
   11375         (DeprecatedDOMNode::hasAttributes):
   11376         (DeprecatedDOMNode::isSameNode):
   11377         (DeprecatedDOMNode::isEqualNode):
   11378         (DeprecatedDOMNode::textContent):
   11379         (DeprecatedDOMNode::setTextContent):
   11380         (DeprecatedDOMNode::addEventListener):
   11381         (DeprecatedDOMNode::removeEventListener):
   11382         (DeprecatedDOMNode::dispatchEvent):
   11383         (DeprecatedDOMNode::DeprecatedDOMNode):
   11384         (DeprecatedDOMNode::~DeprecatedDOMNode):
   11385         (DeprecatedDOMNode::createInstance):
   11386         (DeprecatedDOMNodeList::QueryInterface):
   11387         (DeprecatedDOMNodeList::item):
   11388         (DeprecatedDOMNodeList::length):
   11389         (DeprecatedDOMNodeList::DeprecatedDOMNodeList):
   11390         (DeprecatedDOMNodeList::~DeprecatedDOMNodeList):
   11391         (DeprecatedDOMNodeList::createInstance):
   11392         (DeprecatedDOMDocument::QueryInterface):
   11393         (DeprecatedDOMDocument::doctype):
   11394         (DeprecatedDOMDocument::implementation):
   11395         (DeprecatedDOMDocument::documentElement):
   11396         (DeprecatedDOMDocument::createElement):
   11397         (DeprecatedDOMDocument::createDocumentFragment):
   11398         (DeprecatedDOMDocument::createTextNode):
   11399         (DeprecatedDOMDocument::createComment):
   11400         (DeprecatedDOMDocument::createCDATASection):
   11401         (DeprecatedDOMDocument::createProcessingInstruction):
   11402         (DeprecatedDOMDocument::createAttribute):
   11403         (DeprecatedDOMDocument::createEntityReference):
   11404         (DeprecatedDOMDocument::getElementsByTagName):
   11405         (DeprecatedDOMDocument::importNode):
   11406         (DeprecatedDOMDocument::createElementNS):
   11407         (DeprecatedDOMDocument::createAttributeNS):
   11408         (DeprecatedDOMDocument::getElementsByTagNameNS):
   11409         (DeprecatedDOMDocument::getElementById):
   11410         (DeprecatedDOMDocument::getComputedStyle):
   11411         (DeprecatedDOMDocument::createEvent):
   11412         (DeprecatedDOMDocument::DeprecatedDOMDocument):
   11413         (DeprecatedDOMDocument::~DeprecatedDOMDocument):
   11414         (DeprecatedDOMDocument::createInstance):
   11415         (DeprecatedDOMElement::QueryInterface):
   11416         (DeprecatedDOMElement::boundingBox):
   11417         (DeprecatedDOMElement::lineBoxRects):
   11418         (DeprecatedDOMElement::tagName):
   11419         (DeprecatedDOMElement::getAttribute):
   11420         (DeprecatedDOMElement::setAttribute):
   11421         (DeprecatedDOMElement::removeAttribute):
   11422         (DeprecatedDOMElement::getAttributeNode):
   11423         (DeprecatedDOMElement::setAttributeNode):
   11424         (DeprecatedDOMElement::removeAttributeNode):
   11425         (DeprecatedDOMElement::getElementsByTagName):
   11426         (DeprecatedDOMElement::getAttributeNS):
   11427         (DeprecatedDOMElement::setAttributeNS):
   11428         (DeprecatedDOMElement::removeAttributeNS):
   11429         (DeprecatedDOMElement::getAttributeNodeNS):
   11430         (DeprecatedDOMElement::setAttributeNodeNS):
   11431         (DeprecatedDOMElement::getElementsByTagNameNS):
   11432         (DeprecatedDOMElement::hasAttribute):
   11433         (DeprecatedDOMElement::hasAttributeNS):
   11434         (DeprecatedDOMElement::focus):
   11435         (DeprecatedDOMElement::blur):
   11436         (DeprecatedDOMElement::coreElement):
   11437         (DeprecatedDOMElement::isEqual):
   11438         (DeprecatedDOMElement::isFocused):
   11439         (DeprecatedDOMElement::innerText):
   11440         (DeprecatedDOMElement::style):
   11441         (DeprecatedDOMElement::offsetLeft):
   11442         (DeprecatedDOMElement::offsetTop):
   11443         (DeprecatedDOMElement::offsetWidth):
   11444         (DeprecatedDOMElement::offsetHeight):
   11445         (DeprecatedDOMElement::offsetParent):
   11446         (DeprecatedDOMElement::clientWidth):
   11447         (DeprecatedDOMElement::clientHeight):
   11448         (DeprecatedDOMElement::scrollLeft):
   11449         (DeprecatedDOMElement::setScrollLeft):
   11450         (DeprecatedDOMElement::scrollTop):
   11451         (DeprecatedDOMElement::setScrollTop):
   11452         (DeprecatedDOMElement::scrollWidth):
   11453         (DeprecatedDOMElement::scrollHeight):
   11454         (DeprecatedDOMElement::scrollIntoView):
   11455         (DeprecatedDOMElement::scrollIntoViewIfNeeded):
   11456         (DeprecatedDOMElement::DeprecatedDOMElement):
   11457         (DeprecatedDOMElement::~DeprecatedDOMElement):
   11458         (DeprecatedDOMElement::createInstance):
   11459         * DOMCoreClasses.h:
   11460         (DeprecatedDOMNode::AddRef):
   11461         (DeprecatedDOMNode::Release):
   11462         (DeprecatedDOMNode::throwException):
   11463         (DeprecatedDOMNode::callWebScriptMethod):
   11464         (DeprecatedDOMNode::evaluateWebScript):
   11465         (DeprecatedDOMNode::removeWebScriptKey):
   11466         (DeprecatedDOMNode::stringRepresentation):
   11467         (DeprecatedDOMNode::webScriptValueAtIndex):
   11468         (DeprecatedDOMNode::setWebScriptValueAtIndex):
   11469         (DeprecatedDOMNode::setException):
   11470         (DeprecatedDOMNodeList::AddRef):
   11471         (DeprecatedDOMNodeList::Release):
   11472         (DeprecatedDOMNodeList::throwException):
   11473         (DeprecatedDOMNodeList::callWebScriptMethod):
   11474         (DeprecatedDOMNodeList::evaluateWebScript):
   11475         (DeprecatedDOMNodeList::removeWebScriptKey):
   11476         (DeprecatedDOMNodeList::stringRepresentation):
   11477         (DeprecatedDOMNodeList::webScriptValueAtIndex):
   11478         (DeprecatedDOMNodeList::setWebScriptValueAtIndex):
   11479         (DeprecatedDOMNodeList::setException):
   11480         (DeprecatedDOMDocument::AddRef):
   11481         (DeprecatedDOMDocument::Release):
   11482         (DeprecatedDOMDocument::throwException):
   11483         (DeprecatedDOMDocument::callWebScriptMethod):
   11484         (DeprecatedDOMDocument::evaluateWebScript):
   11485         (DeprecatedDOMDocument::removeWebScriptKey):
   11486         (DeprecatedDOMDocument::stringRepresentation):
   11487         (DeprecatedDOMDocument::webScriptValueAtIndex):
   11488         (DeprecatedDOMDocument::setWebScriptValueAtIndex):
   11489         (DeprecatedDOMDocument::setException):
   11490         (DeprecatedDOMDocument::nodeName):
   11491         (DeprecatedDOMDocument::nodeValue):
   11492         (DeprecatedDOMDocument::setNodeValue):
   11493         (DeprecatedDOMDocument::nodeType):
   11494         (DeprecatedDOMDocument::parentNode):
   11495         (DeprecatedDOMDocument::childNodes):
   11496         (DeprecatedDOMDocument::firstChild):
   11497         (DeprecatedDOMDocument::lastChild):
   11498         (DeprecatedDOMDocument::previousSibling):
   11499         (DeprecatedDOMDocument::nextSibling):
   11500         (DeprecatedDOMDocument::attributes):
   11501         (DeprecatedDOMDocument::ownerDocument):
   11502         (DeprecatedDOMDocument::insertBefore):
   11503         (DeprecatedDOMDocument::replaceChild):
   11504         (DeprecatedDOMDocument::removeChild):
   11505         (DeprecatedDOMDocument::appendChild):
   11506         (DeprecatedDOMDocument::hasChildNodes):
   11507         (DeprecatedDOMDocument::cloneNode):
   11508         (DeprecatedDOMDocument::normalize):
   11509         (DeprecatedDOMDocument::isSupported):
   11510         (DeprecatedDOMDocument::namespaceURI):
   11511         (DeprecatedDOMDocument::prefix):
   11512         (DeprecatedDOMDocument::setPrefix):
   11513         (DeprecatedDOMDocument::localName):
   11514         (DeprecatedDOMDocument::hasAttributes):
   11515         (DeprecatedDOMDocument::isSameNode):
   11516         (DeprecatedDOMDocument::isEqualNode):
   11517         (DeprecatedDOMDocument::textContent):
   11518         (DeprecatedDOMDocument::setTextContent):
   11519         (DeprecatedDOMElement::AddRef):
   11520         (DeprecatedDOMElement::Release):
   11521         (DeprecatedDOMElement::throwException):
   11522         (DeprecatedDOMElement::callWebScriptMethod):
   11523         (DeprecatedDOMElement::evaluateWebScript):
   11524         (DeprecatedDOMElement::removeWebScriptKey):
   11525         (DeprecatedDOMElement::stringRepresentation):
   11526         (DeprecatedDOMElement::webScriptValueAtIndex):
   11527         (DeprecatedDOMElement::setWebScriptValueAtIndex):
   11528         (DeprecatedDOMElement::setException):
   11529         (DeprecatedDOMElement::nodeName):
   11530         (DeprecatedDOMElement::nodeValue):
   11531         (DeprecatedDOMElement::setNodeValue):
   11532         (DeprecatedDOMElement::nodeType):
   11533         (DeprecatedDOMElement::parentNode):
   11534         (DeprecatedDOMElement::childNodes):
   11535         (DeprecatedDOMElement::firstChild):
   11536         (DeprecatedDOMElement::lastChild):
   11537         (DeprecatedDOMElement::previousSibling):
   11538         (DeprecatedDOMElement::nextSibling):
   11539         (DeprecatedDOMElement::attributes):
   11540         (DeprecatedDOMElement::ownerDocument):
   11541         (DeprecatedDOMElement::insertBefore):
   11542         (DeprecatedDOMElement::replaceChild):
   11543         (DeprecatedDOMElement::removeChild):
   11544         (DeprecatedDOMElement::appendChild):
   11545         (DeprecatedDOMElement::hasChildNodes):
   11546         (DeprecatedDOMElement::cloneNode):
   11547         (DeprecatedDOMElement::normalize):
   11548         (DeprecatedDOMElement::isSupported):
   11549         (DeprecatedDOMElement::namespaceURI):
   11550         (DeprecatedDOMElement::prefix):
   11551         (DeprecatedDOMElement::setPrefix):
   11552         (DeprecatedDOMElement::localName):
   11553         (DeprecatedDOMElement::hasAttributes):
   11554         (DeprecatedDOMElement::isSameNode):
   11555         (DeprecatedDOMElement::isEqualNode):
   11556         (DeprecatedDOMElement::textContent):
   11557         (DeprecatedDOMElement::setTextContent):
   11558         * DOMEventsClasses.cpp:
   11559         (DeprecatedDOMEventListener::QueryInterface):
   11560         (DeprecatedDOMEventListener::handleEvent):
   11561         (DeprecatedDOMEvent::DeprecatedDOMEvent):
   11562         (DeprecatedDOMEvent::~DeprecatedDOMEvent):
   11563         (DeprecatedDOMEvent::createInstance):
   11564         (DeprecatedDOMEvent::QueryInterface):
   11565         (DeprecatedDOMEvent::type):
   11566         (DeprecatedDOMEvent::target):
   11567         (DeprecatedDOMEvent::currentTarget):
   11568         (DeprecatedDOMEvent::eventPhase):
   11569         (DeprecatedDOMEvent::bubbles):
   11570         (DeprecatedDOMEvent::cancelable):
   11571         (DeprecatedDOMEvent::timeStamp):
   11572         (DeprecatedDOMEvent::stopPropagation):
   11573         (DeprecatedDOMEvent::preventDefault):
   11574         (DeprecatedDOMEvent::initEvent):
   11575         (DeprecatedDOMUIEvent::QueryInterface):
   11576         (DeprecatedDOMUIEvent::view):
   11577         (DeprecatedDOMUIEvent::detail):
   11578         (DeprecatedDOMUIEvent::initUIEvent):
   11579         (DeprecatedDOMUIEvent::keyCode):
   11580         (DeprecatedDOMUIEvent::charCode):
   11581         (DeprecatedDOMUIEvent::layerX):
   11582         (DeprecatedDOMUIEvent::layerY):
   11583         (DeprecatedDOMUIEvent::pageX):
   11584         (DeprecatedDOMUIEvent::pageY):
   11585         (DeprecatedDOMUIEvent::which):
   11586         (DeprecatedDOMKeyboardEvent::QueryInterface):
   11587         (DeprecatedDOMKeyboardEvent::keyIdentifier):
   11588         (DeprecatedDOMKeyboardEvent::keyLocation):
   11589         (DeprecatedDOMKeyboardEvent::ctrlKey):
   11590         (DeprecatedDOMKeyboardEvent::shiftKey):
   11591         (DeprecatedDOMKeyboardEvent::altKey):
   11592         (DeprecatedDOMKeyboardEvent::metaKey):
   11593         (DeprecatedDOMKeyboardEvent::altGraphKey):
   11594         (DeprecatedDOMKeyboardEvent::getModifierState):
   11595         (DeprecatedDOMKeyboardEvent::initKeyboardEvent):
   11596         (DeprecatedDOMMouseEvent::QueryInterface):
   11597         (DeprecatedDOMMouseEvent::screenX):
   11598         (DeprecatedDOMMouseEvent::screenY):
   11599         (DeprecatedDOMMouseEvent::clientX):
   11600         (DeprecatedDOMMouseEvent::clientY):
   11601         (DeprecatedDOMMouseEvent::ctrlKey):
   11602         (DeprecatedDOMMouseEvent::shiftKey):
   11603         (DeprecatedDOMMouseEvent::altKey):
   11604         (DeprecatedDOMMouseEvent::metaKey):
   11605         (DeprecatedDOMMouseEvent::button):
   11606         (DeprecatedDOMMouseEvent::relatedTarget):
   11607         (DeprecatedDOMMouseEvent::initMouseEvent):
   11608         (DeprecatedDOMMouseEvent::offsetX):
   11609         (DeprecatedDOMMouseEvent::offsetY):
   11610         (DeprecatedDOMMouseEvent::x):
   11611         (DeprecatedDOMMouseEvent::y):
   11612         (DeprecatedDOMMouseEvent::fromElement):
   11613         (DeprecatedDOMMouseEvent::toElement):
   11614         (DeprecatedDOMMutationEvent::QueryInterface):
   11615         (DeprecatedDOMMutationEvent::relatedNode):
   11616         (DeprecatedDOMMutationEvent::prevValue):
   11617         (DeprecatedDOMMutationEvent::newValue):
   11618         (DeprecatedDOMMutationEvent::attrName):
   11619         (DeprecatedDOMMutationEvent::attrChange):
   11620         (DeprecatedDOMMutationEvent::initMutationEvent):
   11621         (DeprecatedDOMOverflowEvent::QueryInterface):
   11622         (DeprecatedDOMOverflowEvent::orient):
   11623         (DeprecatedDOMOverflowEvent::horizontalOverflow):
   11624         (DeprecatedDOMOverflowEvent::verticalOverflow):
   11625         (DeprecatedDOMWheelEvent::QueryInterface):
   11626         (DeprecatedDOMWheelEvent::screenX):
   11627         (DeprecatedDOMWheelEvent::screenY):
   11628         (DeprecatedDOMWheelEvent::clientX):
   11629         (DeprecatedDOMWheelEvent::clientY):
   11630         (DeprecatedDOMWheelEvent::ctrlKey):
   11631         (DeprecatedDOMWheelEvent::shiftKey):
   11632         (DeprecatedDOMWheelEvent::altKey):
   11633         (DeprecatedDOMWheelEvent::metaKey):
   11634         (DeprecatedDOMWheelEvent::wheelDelta):
   11635         (DeprecatedDOMWheelEvent::wheelDeltaX):
   11636         (DeprecatedDOMWheelEvent::wheelDeltaY):
   11637         (DeprecatedDOMWheelEvent::offsetX):
   11638         (DeprecatedDOMWheelEvent::offsetY):
   11639         (DeprecatedDOMWheelEvent::x):
   11640         (DeprecatedDOMWheelEvent::y):
   11641         (DeprecatedDOMWheelEvent::isHorizontal):
   11642         (DeprecatedDOMWheelEvent::initWheelEvent):
   11643         * DOMEventsClasses.h:
   11644         (DeprecatedDOMEventListener::AddRef):
   11645         (DeprecatedDOMEventListener::Release):
   11646         (DeprecatedDOMEventListener::throwException):
   11647         (DeprecatedDOMEventListener::callWebScriptMethod):
   11648         (DeprecatedDOMEventListener::evaluateWebScript):
   11649         (DeprecatedDOMEventListener::removeWebScriptKey):
   11650         (DeprecatedDOMEventListener::stringRepresentation):
   11651         (DeprecatedDOMEventListener::webScriptValueAtIndex):
   11652         (DeprecatedDOMEventListener::setWebScriptValueAtIndex):
   11653         (DeprecatedDOMEventListener::setException):
   11654         (DeprecatedDOMEvent::AddRef):
   11655         (DeprecatedDOMEvent::Release):
   11656         (DeprecatedDOMEvent::throwException):
   11657         (DeprecatedDOMEvent::callWebScriptMethod):
   11658         (DeprecatedDOMEvent::evaluateWebScript):
   11659         (DeprecatedDOMEvent::removeWebScriptKey):
   11660         (DeprecatedDOMEvent::stringRepresentation):
   11661         (DeprecatedDOMEvent::webScriptValueAtIndex):
   11662         (DeprecatedDOMEvent::setWebScriptValueAtIndex):
   11663         (DeprecatedDOMEvent::setException):
   11664         (DeprecatedDOMUIEvent::DeprecatedDOMUIEvent):
   11665         (DeprecatedDOMUIEvent::AddRef):
   11666         (DeprecatedDOMUIEvent::Release):
   11667         (DeprecatedDOMUIEvent::throwException):
   11668         (DeprecatedDOMUIEvent::callWebScriptMethod):
   11669         (DeprecatedDOMUIEvent::evaluateWebScript):
   11670         (DeprecatedDOMUIEvent::removeWebScriptKey):
   11671         (DeprecatedDOMUIEvent::stringRepresentation):
   11672         (DeprecatedDOMUIEvent::webScriptValueAtIndex):
   11673         (DeprecatedDOMUIEvent::setWebScriptValueAtIndex):
   11674         (DeprecatedDOMUIEvent::setException):
   11675         (DeprecatedDOMUIEvent::type):
   11676         (DeprecatedDOMUIEvent::target):
   11677         (DeprecatedDOMUIEvent::currentTarget):
   11678         (DeprecatedDOMUIEvent::eventPhase):
   11679         (DeprecatedDOMUIEvent::bubbles):
   11680         (DeprecatedDOMUIEvent::cancelable):
   11681         (DeprecatedDOMUIEvent::timeStamp):
   11682         (DeprecatedDOMUIEvent::stopPropagation):
   11683         (DeprecatedDOMUIEvent::preventDefault):
   11684         (DeprecatedDOMUIEvent::initEvent):
   11685         (DeprecatedDOMKeyboardEvent::DeprecatedDOMKeyboardEvent):
   11686         (DeprecatedDOMKeyboardEvent::AddRef):
   11687         (DeprecatedDOMKeyboardEvent::Release):
   11688         (DeprecatedDOMKeyboardEvent::throwException):
   11689         (DeprecatedDOMKeyboardEvent::callWebScriptMethod):
   11690         (DeprecatedDOMKeyboardEvent::evaluateWebScript):
   11691         (DeprecatedDOMKeyboardEvent::removeWebScriptKey):
   11692         (DeprecatedDOMKeyboardEvent::stringRepresentation):
   11693         (DeprecatedDOMKeyboardEvent::webScriptValueAtIndex):
   11694         (DeprecatedDOMKeyboardEvent::setWebScriptValueAtIndex):
   11695         (DeprecatedDOMKeyboardEvent::setException):
   11696         (DeprecatedDOMKeyboardEvent::type):
   11697         (DeprecatedDOMKeyboardEvent::target):
   11698         (DeprecatedDOMKeyboardEvent::currentTarget):
   11699         (DeprecatedDOMKeyboardEvent::eventPhase):
   11700         (DeprecatedDOMKeyboardEvent::bubbles):
   11701         (DeprecatedDOMKeyboardEvent::cancelable):
   11702         (DeprecatedDOMKeyboardEvent::timeStamp):
   11703         (DeprecatedDOMKeyboardEvent::stopPropagation):
   11704         (DeprecatedDOMKeyboardEvent::preventDefault):
   11705         (DeprecatedDOMKeyboardEvent::initEvent):
   11706         (DeprecatedDOMKeyboardEvent::view):
   11707         (DeprecatedDOMKeyboardEvent::detail):
   11708         (DeprecatedDOMKeyboardEvent::initUIEvent):
   11709         (DeprecatedDOMKeyboardEvent::keyCode):
   11710         (DeprecatedDOMKeyboardEvent::charCode):
   11711         (DeprecatedDOMKeyboardEvent::layerX):
   11712         (DeprecatedDOMKeyboardEvent::layerY):
   11713         (DeprecatedDOMKeyboardEvent::pageX):
   11714         (DeprecatedDOMKeyboardEvent::pageY):
   11715         (DeprecatedDOMKeyboardEvent::which):
   11716         (DeprecatedDOMMouseEvent::DeprecatedDOMMouseEvent):
   11717         (DeprecatedDOMMouseEvent::AddRef):
   11718         (DeprecatedDOMMouseEvent::Release):
   11719         (DeprecatedDOMMouseEvent::throwException):
   11720         (DeprecatedDOMMouseEvent::callWebScriptMethod):
   11721         (DeprecatedDOMMouseEvent::evaluateWebScript):
   11722         (DeprecatedDOMMouseEvent::removeWebScriptKey):
   11723         (DeprecatedDOMMouseEvent::stringRepresentation):
   11724         (DeprecatedDOMMouseEvent::webScriptValueAtIndex):
   11725         (DeprecatedDOMMouseEvent::setWebScriptValueAtIndex):
   11726         (DeprecatedDOMMouseEvent::setException):
   11727         (DeprecatedDOMMouseEvent::type):
   11728         (DeprecatedDOMMouseEvent::target):
   11729         (DeprecatedDOMMouseEvent::currentTarget):
   11730         (DeprecatedDOMMouseEvent::eventPhase):
   11731         (DeprecatedDOMMouseEvent::bubbles):
   11732         (DeprecatedDOMMouseEvent::cancelable):
   11733         (DeprecatedDOMMouseEvent::timeStamp):
   11734         (DeprecatedDOMMouseEvent::stopPropagation):
   11735         (DeprecatedDOMMouseEvent::preventDefault):
   11736         (DeprecatedDOMMouseEvent::initEvent):
   11737         (DeprecatedDOMMouseEvent::view):
   11738         (DeprecatedDOMMouseEvent::detail):
   11739         (DeprecatedDOMMouseEvent::initUIEvent):
   11740         (DeprecatedDOMMouseEvent::keyCode):
   11741         (DeprecatedDOMMouseEvent::charCode):
   11742         (DeprecatedDOMMouseEvent::layerX):
   11743         (DeprecatedDOMMouseEvent::layerY):
   11744         (DeprecatedDOMMouseEvent::pageX):
   11745         (DeprecatedDOMMouseEvent::pageY):
   11746         (DeprecatedDOMMouseEvent::which):
   11747         (DeprecatedDOMMutationEvent::DeprecatedDOMMutationEvent):
   11748         (DeprecatedDOMMutationEvent::AddRef):
   11749         (DeprecatedDOMMutationEvent::Release):
   11750         (DeprecatedDOMMutationEvent::throwException):
   11751         (DeprecatedDOMMutationEvent::callWebScriptMethod):
   11752         (DeprecatedDOMMutationEvent::evaluateWebScript):
   11753         (DeprecatedDOMMutationEvent::removeWebScriptKey):
   11754         (DeprecatedDOMMutationEvent::stringRepresentation):
   11755         (DeprecatedDOMMutationEvent::webScriptValueAtIndex):
   11756         (DeprecatedDOMMutationEvent::setWebScriptValueAtIndex):
   11757         (DeprecatedDOMMutationEvent::setException):
   11758         (DeprecatedDOMMutationEvent::type):
   11759         (DeprecatedDOMMutationEvent::target):
   11760         (DeprecatedDOMMutationEvent::currentTarget):
   11761         (DeprecatedDOMMutationEvent::eventPhase):
   11762         (DeprecatedDOMMutationEvent::bubbles):
   11763         (DeprecatedDOMMutationEvent::cancelable):
   11764         (DeprecatedDOMMutationEvent::timeStamp):
   11765         (DeprecatedDOMMutationEvent::stopPropagation):
   11766         (DeprecatedDOMMutationEvent::preventDefault):
   11767         (DeprecatedDOMMutationEvent::initEvent):
   11768         (DeprecatedDOMOverflowEvent::DeprecatedDOMOverflowEvent):
   11769         (DeprecatedDOMOverflowEvent::AddRef):
   11770         (DeprecatedDOMOverflowEvent::Release):
   11771         (DeprecatedDOMOverflowEvent::throwException):
   11772         (DeprecatedDOMOverflowEvent::callWebScriptMethod):
   11773         (DeprecatedDOMOverflowEvent::evaluateWebScript):
   11774         (DeprecatedDOMOverflowEvent::removeWebScriptKey):
   11775         (DeprecatedDOMOverflowEvent::stringRepresentation):
   11776         (DeprecatedDOMOverflowEvent::webScriptValueAtIndex):
   11777         (DeprecatedDOMOverflowEvent::setWebScriptValueAtIndex):
   11778         (DeprecatedDOMOverflowEvent::setException):
   11779         (DeprecatedDOMOverflowEvent::type):
   11780         (DeprecatedDOMOverflowEvent::target):
   11781         (DeprecatedDOMOverflowEvent::currentTarget):
   11782         (DeprecatedDOMOverflowEvent::eventPhase):
   11783         (DeprecatedDOMOverflowEvent::bubbles):
   11784         (DeprecatedDOMOverflowEvent::cancelable):
   11785         (DeprecatedDOMOverflowEvent::timeStamp):
   11786         (DeprecatedDOMOverflowEvent::stopPropagation):
   11787         (DeprecatedDOMOverflowEvent::preventDefault):
   11788         (DeprecatedDOMOverflowEvent::initEvent):
   11789         (DeprecatedDOMWheelEvent::DeprecatedDOMWheelEvent):
   11790         (DeprecatedDOMWheelEvent::AddRef):
   11791         (DeprecatedDOMWheelEvent::Release):
   11792         (DeprecatedDOMWheelEvent::throwException):
   11793         (DeprecatedDOMWheelEvent::callWebScriptMethod):
   11794         (DeprecatedDOMWheelEvent::evaluateWebScript):
   11795         (DeprecatedDOMWheelEvent::removeWebScriptKey):
   11796         (DeprecatedDOMWheelEvent::stringRepresentation):
   11797         (DeprecatedDOMWheelEvent::webScriptValueAtIndex):
   11798         (DeprecatedDOMWheelEvent::setWebScriptValueAtIndex):
   11799         (DeprecatedDOMWheelEvent::setException):
   11800         (DeprecatedDOMWheelEvent::type):
   11801         (DeprecatedDOMWheelEvent::target):
   11802         (DeprecatedDOMWheelEvent::currentTarget):
   11803         (DeprecatedDOMWheelEvent::eventPhase):
   11804         (DeprecatedDOMWheelEvent::bubbles):
   11805         (DeprecatedDOMWheelEvent::cancelable):
   11806         (DeprecatedDOMWheelEvent::timeStamp):
   11807         (DeprecatedDOMWheelEvent::stopPropagation):
   11808         (DeprecatedDOMWheelEvent::preventDefault):
   11809         (DeprecatedDOMWheelEvent::initEvent):
   11810         (DeprecatedDOMWheelEvent::view):
   11811         (DeprecatedDOMWheelEvent::detail):
   11812         (DeprecatedDOMWheelEvent::initUIEvent):
   11813         (DeprecatedDOMWheelEvent::keyCode):
   11814         (DeprecatedDOMWheelEvent::charCode):
   11815         (DeprecatedDOMWheelEvent::layerX):
   11816         (DeprecatedDOMWheelEvent::layerY):
   11817         (DeprecatedDOMWheelEvent::pageX):
   11818         (DeprecatedDOMWheelEvent::pageY):
   11819         (DeprecatedDOMWheelEvent::which):
   11820         * DOMHTMLClasses.cpp:
   11821         (DeprecatedDOMHTMLCollection::DeprecatedDOMHTMLCollection):
   11822         (DeprecatedDOMHTMLCollection::createInstance):
   11823         (DeprecatedDOMHTMLCollection::QueryInterface):
   11824         (DeprecatedDOMHTMLCollection::length):
   11825         (DeprecatedDOMHTMLCollection::item):
   11826         (DeprecatedDOMHTMLCollection::namedItem):
   11827         (DeprecatedDOMHTMLOptionsCollection::QueryInterface):
   11828         (DeprecatedDOMHTMLOptionsCollection::length):
   11829         (DeprecatedDOMHTMLOptionsCollection::setLength):
   11830         (DeprecatedDOMHTMLOptionsCollection::item):
   11831         (DeprecatedDOMHTMLOptionsCollection::namedItem):
   11832         (DeprecatedDOMHTMLDocument::QueryInterface):
   11833         (DeprecatedDOMHTMLDocument::title):
   11834         (DeprecatedDOMHTMLDocument::setTitle):
   11835         (DeprecatedDOMHTMLDocument::referrer):
   11836         (DeprecatedDOMHTMLDocument::domain):
   11837         (DeprecatedDOMHTMLDocument::URL):
   11838         (DeprecatedDOMHTMLDocument::body):
   11839         (DeprecatedDOMHTMLDocument::setBody):
   11840         (DeprecatedDOMHTMLDocument::images):
   11841         (DeprecatedDOMHTMLDocument::applets):
   11842         (DeprecatedDOMHTMLDocument::links):
   11843         (DeprecatedDOMHTMLDocument::forms):
   11844         (DeprecatedDOMHTMLDocument::anchors):
   11845         (DeprecatedDOMHTMLDocument::cookie):
   11846         (DeprecatedDOMHTMLDocument::setCookie):
   11847         (DeprecatedDOMHTMLDocument::open):
   11848         (DeprecatedDOMHTMLDocument::close):
   11849         (DeprecatedDOMHTMLDocument::write):
   11850         (DeprecatedDOMHTMLDocument::writeln):
   11851         (DeprecatedDOMHTMLDocument::getElementById_):
   11852         (DeprecatedDOMHTMLDocument::getElementsByName):
   11853         (DeprecatedDOMHTMLElement::QueryInterface):
   11854         (DeprecatedDOMHTMLElement::idName):
   11855         (DeprecatedDOMHTMLElement::setIdName):
   11856         (DeprecatedDOMHTMLElement::title):
   11857         (DeprecatedDOMHTMLElement::setTitle):
   11858         (DeprecatedDOMHTMLElement::lang):
   11859         (DeprecatedDOMHTMLElement::setLang):
   11860         (DeprecatedDOMHTMLElement::dir):
   11861         (DeprecatedDOMHTMLElement::setDir):
   11862         (DeprecatedDOMHTMLElement::className):
   11863         (DeprecatedDOMHTMLElement::setClassName):
   11864         (DeprecatedDOMHTMLElement::innerHTML):
   11865         (DeprecatedDOMHTMLElement::setInnerHTML):
   11866         (DeprecatedDOMHTMLElement::innerText):
   11867         (DeprecatedDOMHTMLElement::setInnerText):
   11868         (DeprecatedDOMHTMLFormElement::QueryInterface):
   11869         (DeprecatedDOMHTMLFormElement::elements):
   11870         (DeprecatedDOMHTMLFormElement::length):
   11871         (DeprecatedDOMHTMLFormElement::name):
   11872         (DeprecatedDOMHTMLFormElement::setName):
   11873         (DeprecatedDOMHTMLFormElement::acceptCharset):
   11874         (DeprecatedDOMHTMLFormElement::setAcceptCharset):
   11875         (DeprecatedDOMHTMLFormElement::action):
   11876         (DeprecatedDOMHTMLFormElement::setAction):
   11877         (DeprecatedDOMHTMLFormElement::encType):
   11878         (DeprecatedDOMHTMLFormElement::setEnctype):
   11879         (DeprecatedDOMHTMLFormElement::method):
   11880         (DeprecatedDOMHTMLFormElement::setMethod):
   11881         (DeprecatedDOMHTMLFormElement::target):
   11882         (DeprecatedDOMHTMLFormElement::setTarget):
   11883         (DeprecatedDOMHTMLFormElement::submit):
   11884         (DeprecatedDOMHTMLFormElement::reset):
   11885         (DeprecatedDOMHTMLSelectElement::QueryInterface):
   11886         (DeprecatedDOMHTMLSelectElement::type):
   11887         (DeprecatedDOMHTMLSelectElement::selectedIndex):
   11888         (DeprecatedDOMHTMLSelectElement::setSelectedIndx):
   11889         (DeprecatedDOMHTMLSelectElement::value):
   11890         (DeprecatedDOMHTMLSelectElement::setValue):
   11891         (DeprecatedDOMHTMLSelectElement::length):
   11892         (DeprecatedDOMHTMLSelectElement::form):
   11893         (DeprecatedDOMHTMLSelectElement::options):
   11894         (DeprecatedDOMHTMLSelectElement::disabled):
   11895         (DeprecatedDOMHTMLSelectElement::setDisabled):
   11896         (DeprecatedDOMHTMLSelectElement::multiple):
   11897         (DeprecatedDOMHTMLSelectElement::setMultiple):
   11898         (DeprecatedDOMHTMLSelectElement::name):
   11899         (DeprecatedDOMHTMLSelectElement::setName):
   11900         (DeprecatedDOMHTMLSelectElement::size):
   11901         (DeprecatedDOMHTMLSelectElement::setSize):
   11902         (DeprecatedDOMHTMLSelectElement::tabIndex):
   11903         (DeprecatedDOMHTMLSelectElement::setTabIndex):
   11904         (DeprecatedDOMHTMLSelectElement::add):
   11905         (DeprecatedDOMHTMLSelectElement::remove):
   11906         (DeprecatedDOMHTMLSelectElement::activateItemAtIndex):
   11907         (DeprecatedDOMHTMLOptionElement::QueryInterface):
   11908         (DeprecatedDOMHTMLOptionElement::form):
   11909         (DeprecatedDOMHTMLOptionElement::defaultSelected):
   11910         (DeprecatedDOMHTMLOptionElement::setDefaultSelected):
   11911         (DeprecatedDOMHTMLOptionElement::text):
   11912         (DeprecatedDOMHTMLOptionElement::index):
   11913         (DeprecatedDOMHTMLOptionElement::disabled):
   11914         (DeprecatedDOMHTMLOptionElement::setDisabled):
   11915         (DeprecatedDOMHTMLOptionElement::label):
   11916         (DeprecatedDOMHTMLOptionElement::setLabel):
   11917         (DeprecatedDOMHTMLOptionElement::selected):
   11918         (DeprecatedDOMHTMLOptionElement::setSelected):
   11919         (DeprecatedDOMHTMLOptionElement::value):
   11920         (DeprecatedDOMHTMLOptionElement::setValue):
   11921         (DeprecatedDOMHTMLInputElement::QueryInterface):
   11922         (DeprecatedDOMHTMLInputElement::defaultValue):
   11923         (DeprecatedDOMHTMLInputElement::setDefaultValue):
   11924         (DeprecatedDOMHTMLInputElement::defaultChecked):
   11925         (DeprecatedDOMHTMLInputElement::setDefaultChecked):
   11926         (DeprecatedDOMHTMLInputElement::form):
   11927         (DeprecatedDOMHTMLInputElement::accept):
   11928         (DeprecatedDOMHTMLInputElement::setAccept):
   11929         (DeprecatedDOMHTMLInputElement::accessKey):
   11930         (DeprecatedDOMHTMLInputElement::setAccessKey):
   11931         (DeprecatedDOMHTMLInputElement::align):
   11932         (DeprecatedDOMHTMLInputElement::setAlign):
   11933         (DeprecatedDOMHTMLInputElement::alt):
   11934         (DeprecatedDOMHTMLInputElement::setAlt):
   11935         (DeprecatedDOMHTMLInputElement::checked):
   11936         (DeprecatedDOMHTMLInputElement::setChecked):
   11937         (DeprecatedDOMHTMLInputElement::disabled):
   11938         (DeprecatedDOMHTMLInputElement::setDisabled):
   11939         (DeprecatedDOMHTMLInputElement::maxLength):
   11940         (DeprecatedDOMHTMLInputElement::setMaxLength):
   11941         (DeprecatedDOMHTMLInputElement::name):
   11942         (DeprecatedDOMHTMLInputElement::setName):
   11943         (DeprecatedDOMHTMLInputElement::readOnly):
   11944         (DeprecatedDOMHTMLInputElement::setReadOnly):
   11945         (DeprecatedDOMHTMLInputElement::size):
   11946         (DeprecatedDOMHTMLInputElement::setSize):
   11947         (DeprecatedDOMHTMLInputElement::src):
   11948         (DeprecatedDOMHTMLInputElement::setSrc):
   11949         (DeprecatedDOMHTMLInputElement::tabIndex):
   11950         (DeprecatedDOMHTMLInputElement::setTabIndex):
   11951         (DeprecatedDOMHTMLInputElement::type):
   11952         (DeprecatedDOMHTMLInputElement::setType):
   11953         (DeprecatedDOMHTMLInputElement::useMap):
   11954         (DeprecatedDOMHTMLInputElement::setUseMap):
   11955         (DeprecatedDOMHTMLInputElement::value):
   11956         (DeprecatedDOMHTMLInputElement::setValue):
   11957         (DeprecatedDOMHTMLInputElement::select):
   11958         (DeprecatedDOMHTMLInputElement::click):
   11959         (DeprecatedDOMHTMLInputElement::setSelectionStart):
   11960         (DeprecatedDOMHTMLInputElement::selectionStart):
   11961         (DeprecatedDOMHTMLInputElement::setSelectionEnd):
   11962         (DeprecatedDOMHTMLInputElement::selectionEnd):
   11963         (DeprecatedDOMHTMLInputElement::isTextField):
   11964         (DeprecatedDOMHTMLInputElement::rectOnScreen):
   11965         (DeprecatedDOMHTMLInputElement::replaceCharactersInRange):
   11966         (DeprecatedDOMHTMLInputElement::selectedRange):
   11967         (DeprecatedDOMHTMLInputElement::setAutofilled):
   11968         (DeprecatedDOMHTMLInputElement::isUserEdited):
   11969         (DeprecatedDOMHTMLTextAreaElement::QueryInterface):
   11970         (DeprecatedDOMHTMLTextAreaElement::defaultValue):
   11971         (DeprecatedDOMHTMLTextAreaElement::setDefaultValue):
   11972         (DeprecatedDOMHTMLTextAreaElement::form):
   11973         (DeprecatedDOMHTMLTextAreaElement::accessKey):
   11974         (DeprecatedDOMHTMLTextAreaElement::setAccessKey):
   11975         (DeprecatedDOMHTMLTextAreaElement::cols):
   11976         (DeprecatedDOMHTMLTextAreaElement::setCols):
   11977         (DeprecatedDOMHTMLTextAreaElement::disabled):
   11978         (DeprecatedDOMHTMLTextAreaElement::setDisabled):
   11979         (DeprecatedDOMHTMLTextAreaElement::name):
   11980         (DeprecatedDOMHTMLTextAreaElement::setName):
   11981         (DeprecatedDOMHTMLTextAreaElement::readOnly):
   11982         (DeprecatedDOMHTMLTextAreaElement::setReadOnly):
   11983         (DeprecatedDOMHTMLTextAreaElement::rows):
   11984         (DeprecatedDOMHTMLTextAreaElement::setRows):
   11985         (DeprecatedDOMHTMLTextAreaElement::tabIndex):
   11986         (DeprecatedDOMHTMLTextAreaElement::setTabIndex):
   11987         (DeprecatedDOMHTMLTextAreaElement::type):
   11988         (DeprecatedDOMHTMLTextAreaElement::value):
   11989         (DeprecatedDOMHTMLTextAreaElement::setValue):
   11990         (DeprecatedDOMHTMLTextAreaElement::select):
   11991         (DeprecatedDOMHTMLTextAreaElement::isUserEdited):
   11992         * DOMHTMLClasses.h:
   11993         (DeprecatedDOMHTMLCollection::AddRef):
   11994         (DeprecatedDOMHTMLCollection::Release):
   11995         (DeprecatedDOMHTMLCollection::throwException):
   11996         (DeprecatedDOMHTMLCollection::callWebScriptMethod):
   11997         (DeprecatedDOMHTMLCollection::evaluateWebScript):
   11998         (DeprecatedDOMHTMLCollection::removeWebScriptKey):
   11999         (DeprecatedDOMHTMLCollection::stringRepresentation):
   12000         (DeprecatedDOMHTMLCollection::webScriptValueAtIndex):
   12001         (DeprecatedDOMHTMLCollection::setWebScriptValueAtIndex):
   12002         (DeprecatedDOMHTMLCollection::setException):
   12003         (DeprecatedDOMHTMLOptionsCollection::AddRef):
   12004         (DeprecatedDOMHTMLOptionsCollection::Release):
   12005         (DeprecatedDOMHTMLOptionsCollection::throwException):
   12006         (DeprecatedDOMHTMLOptionsCollection::callWebScriptMethod):
   12007         (DeprecatedDOMHTMLOptionsCollection::evaluateWebScript):
   12008         (DeprecatedDOMHTMLOptionsCollection::removeWebScriptKey):
   12009         (DeprecatedDOMHTMLOptionsCollection::stringRepresentation):
   12010         (DeprecatedDOMHTMLOptionsCollection::webScriptValueAtIndex):
   12011         (DeprecatedDOMHTMLOptionsCollection::setWebScriptValueAtIndex):
   12012         (DeprecatedDOMHTMLOptionsCollection::setException):
   12013         (DeprecatedDOMHTMLDocument::DeprecatedDOMHTMLDocument):
   12014         (DeprecatedDOMHTMLDocument::AddRef):
   12015         (DeprecatedDOMHTMLDocument::Release):
   12016         (DeprecatedDOMHTMLDocument::throwException):
   12017         (DeprecatedDOMHTMLDocument::callWebScriptMethod):
   12018         (DeprecatedDOMHTMLDocument::evaluateWebScript):
   12019         (DeprecatedDOMHTMLDocument::removeWebScriptKey):
   12020         (DeprecatedDOMHTMLDocument::stringRepresentation):
   12021         (DeprecatedDOMHTMLDocument::webScriptValueAtIndex):
   12022         (DeprecatedDOMHTMLDocument::setWebScriptValueAtIndex):
   12023         (DeprecatedDOMHTMLDocument::setException):
   12024         (DeprecatedDOMHTMLDocument::nodeName):
   12025         (DeprecatedDOMHTMLDocument::nodeValue):
   12026         (DeprecatedDOMHTMLDocument::nodeType):
   12027         (DeprecatedDOMHTMLDocument::parentNode):
   12028         (DeprecatedDOMHTMLDocument::childNodes):
   12029         (DeprecatedDOMHTMLDocument::firstChild):
   12030         (DeprecatedDOMHTMLDocument::lastChild):
   12031         (DeprecatedDOMHTMLDocument::previousSibling):
   12032         (DeprecatedDOMHTMLDocument::nextSibling):
   12033         (DeprecatedDOMHTMLDocument::attributes):
   12034         (DeprecatedDOMHTMLDocument::ownerDocument):
   12035         (DeprecatedDOMHTMLDocument::insertBefore):
   12036         (DeprecatedDOMHTMLDocument::replaceChild):
   12037         (DeprecatedDOMHTMLDocument::removeChild):
   12038         (DeprecatedDOMHTMLDocument::appendChild):
   12039         (DeprecatedDOMHTMLDocument::hasChildNodes):
   12040         (DeprecatedDOMHTMLDocument::cloneNode):
   12041         (DeprecatedDOMHTMLDocument::normalize):
   12042         (DeprecatedDOMHTMLDocument::isSupported):
   12043         (DeprecatedDOMHTMLDocument::namespaceURI):
   12044         (DeprecatedDOMHTMLDocument::prefix):
   12045         (DeprecatedDOMHTMLDocument::setPrefix):
   12046         (DeprecatedDOMHTMLDocument::localName):
   12047         (DeprecatedDOMHTMLDocument::hasAttributes):
   12048         (DeprecatedDOMHTMLDocument::isSameNode):
   12049         (DeprecatedDOMHTMLDocument::isEqualNode):
   12050         (DeprecatedDOMHTMLDocument::textContent):
   12051         (DeprecatedDOMHTMLDocument::setTextContent):
   12052         (DeprecatedDOMHTMLDocument::doctype):
   12053         (DeprecatedDOMHTMLDocument::implementation):
   12054         (DeprecatedDOMHTMLDocument::documentElement):
   12055         (DeprecatedDOMHTMLDocument::createElement):
   12056         (DeprecatedDOMHTMLDocument::createDocumentFragment):
   12057         (DeprecatedDOMHTMLDocument::createTextNode):
   12058         (DeprecatedDOMHTMLDocument::createComment):
   12059         (DeprecatedDOMHTMLDocument::createCDATASection):
   12060         (DeprecatedDOMHTMLDocument::createProcessingInstruction):
   12061         (DeprecatedDOMHTMLDocument::createAttribute):
   12062         (DeprecatedDOMHTMLDocument::createEntityReference):
   12063         (DeprecatedDOMHTMLDocument::getElementsByTagName):
   12064         (DeprecatedDOMHTMLDocument::importNode):
   12065         (DeprecatedDOMHTMLDocument::createElementNS):
   12066         (DeprecatedDOMHTMLDocument::createAttributeNS):
   12067         (DeprecatedDOMHTMLDocument::getElementsByTagNameNS):
   12068         (DeprecatedDOMHTMLDocument::getElementById):
   12069         (DeprecatedDOMHTMLElement::DeprecatedDOMHTMLElement):
   12070         (DeprecatedDOMHTMLElement::AddRef):
   12071         (DeprecatedDOMHTMLElement::Release):
   12072         (DeprecatedDOMHTMLElement::throwException):
   12073         (DeprecatedDOMHTMLElement::callWebScriptMethod):
   12074         (DeprecatedDOMHTMLElement::evaluateWebScript):
   12075         (DeprecatedDOMHTMLElement::removeWebScriptKey):
   12076         (DeprecatedDOMHTMLElement::stringRepresentation):
   12077         (DeprecatedDOMHTMLElement::webScriptValueAtIndex):
   12078         (DeprecatedDOMHTMLElement::setWebScriptValueAtIndex):
   12079         (DeprecatedDOMHTMLElement::setException):
   12080         (DeprecatedDOMHTMLElement::nodeName):
   12081         (DeprecatedDOMHTMLElement::nodeValue):
   12082         (DeprecatedDOMHTMLElement::setNodeValue):
   12083         (DeprecatedDOMHTMLElement::nodeType):
   12084         (DeprecatedDOMHTMLElement::parentNode):
   12085         (DeprecatedDOMHTMLElement::childNodes):
   12086         (DeprecatedDOMHTMLElement::firstChild):
   12087         (DeprecatedDOMHTMLElement::lastChild):
   12088         (DeprecatedDOMHTMLElement::previousSibling):
   12089         (DeprecatedDOMHTMLElement::nextSibling):
   12090         (DeprecatedDOMHTMLElement::attributes):
   12091         (DeprecatedDOMHTMLElement::ownerDocument):
   12092         (DeprecatedDOMHTMLElement::insertBefore):
   12093         (DeprecatedDOMHTMLElement::replaceChild):
   12094         (DeprecatedDOMHTMLElement::removeChild):
   12095         (DeprecatedDOMHTMLElement::appendChild):
   12096         (DeprecatedDOMHTMLElement::hasChildNodes):
   12097         (DeprecatedDOMHTMLElement::cloneNode):
   12098         (DeprecatedDOMHTMLElement::normalize):
   12099         (DeprecatedDOMHTMLElement::isSupported):
   12100         (DeprecatedDOMHTMLElement::namespaceURI):
   12101         (DeprecatedDOMHTMLElement::prefix):
   12102         (DeprecatedDOMHTMLElement::setPrefix):
   12103         (DeprecatedDOMHTMLElement::localName):
   12104         (DeprecatedDOMHTMLElement::hasAttributes):
   12105         (DeprecatedDOMHTMLElement::isSameNode):
   12106         (DeprecatedDOMHTMLElement::isEqualNode):
   12107         (DeprecatedDOMHTMLElement::textContent):
   12108         (DeprecatedDOMHTMLElement::setTextContent):
   12109         (DeprecatedDOMHTMLElement::tagName):
   12110         (DeprecatedDOMHTMLElement::getAttribute):
   12111         (DeprecatedDOMHTMLElement::setAttribute):
   12112         (DeprecatedDOMHTMLElement::removeAttribute):
   12113         (DeprecatedDOMHTMLElement::getAttributeNode):
   12114         (DeprecatedDOMHTMLElement::setAttributeNode):
   12115         (DeprecatedDOMHTMLElement::removeAttributeNode):
   12116         (DeprecatedDOMHTMLElement::getElementsByTagName):
   12117         (DeprecatedDOMHTMLElement::getAttributeNS):
   12118         (DeprecatedDOMHTMLElement::setAttributeNS):
   12119         (DeprecatedDOMHTMLElement::removeAttributeNS):
   12120         (DeprecatedDOMHTMLElement::getAttributeNodeNS):
   12121         (DeprecatedDOMHTMLElement::setAttributeNodeNS):
   12122         (DeprecatedDOMHTMLElement::getElementsByTagNameNS):
   12123         (DeprecatedDOMHTMLElement::hasAttribute):
   12124         (DeprecatedDOMHTMLElement::hasAttributeNS):
   12125         (DeprecatedDOMHTMLElement::focus):
   12126         (DeprecatedDOMHTMLElement::blur):
   12127         (DeprecatedDOMHTMLFormElement::DeprecatedDOMHTMLFormElement):
   12128         (DeprecatedDOMHTMLFormElement::AddRef):
   12129         (DeprecatedDOMHTMLFormElement::Release):
   12130         (DeprecatedDOMHTMLFormElement::throwException):
   12131         (DeprecatedDOMHTMLFormElement::callWebScriptMethod):
   12132         (DeprecatedDOMHTMLFormElement::evaluateWebScript):
   12133         (DeprecatedDOMHTMLFormElement::removeWebScriptKey):
   12134         (DeprecatedDOMHTMLFormElement::stringRepresentation):
   12135         (DeprecatedDOMHTMLFormElement::webScriptValueAtIndex):
   12136         (DeprecatedDOMHTMLFormElement::setWebScriptValueAtIndex):
   12137         (DeprecatedDOMHTMLFormElement::setException):
   12138         (DeprecatedDOMHTMLFormElement::nodeName):
   12139         (DeprecatedDOMHTMLFormElement::nodeValue):
   12140         (DeprecatedDOMHTMLFormElement::setNodeValue):
   12141         (DeprecatedDOMHTMLFormElement::nodeType):
   12142         (DeprecatedDOMHTMLFormElement::parentNode):
   12143         (DeprecatedDOMHTMLFormElement::childNodes):
   12144         (DeprecatedDOMHTMLFormElement::firstChild):
   12145         (DeprecatedDOMHTMLFormElement::lastChild):
   12146         (DeprecatedDOMHTMLFormElement::previousSibling):
   12147         (DeprecatedDOMHTMLFormElement::nextSibling):
   12148         (DeprecatedDOMHTMLFormElement::attributes):
   12149         (DeprecatedDOMHTMLFormElement::ownerDocument):
   12150         (DeprecatedDOMHTMLFormElement::insertBefore):
   12151         (DeprecatedDOMHTMLFormElement::replaceChild):
   12152         (DeprecatedDOMHTMLFormElement::removeChild):
   12153         (DeprecatedDOMHTMLFormElement::appendChild):
   12154         (DeprecatedDOMHTMLFormElement::hasChildNodes):
   12155         (DeprecatedDOMHTMLFormElement::cloneNode):
   12156         (DeprecatedDOMHTMLFormElement::normalize):
   12157         (DeprecatedDOMHTMLFormElement::isSupported):
   12158         (DeprecatedDOMHTMLFormElement::namespaceURI):
   12159         (DeprecatedDOMHTMLFormElement::prefix):
   12160         (DeprecatedDOMHTMLFormElement::setPrefix):
   12161         (DeprecatedDOMHTMLFormElement::localName):
   12162         (DeprecatedDOMHTMLFormElement::hasAttributes):
   12163         (DeprecatedDOMHTMLFormElement::isSameNode):
   12164         (DeprecatedDOMHTMLFormElement::isEqualNode):
   12165         (DeprecatedDOMHTMLFormElement::textContent):
   12166         (DeprecatedDOMHTMLFormElement::setTextContent):
   12167         (DeprecatedDOMHTMLFormElement::tagName):
   12168         (DeprecatedDOMHTMLFormElement::getAttribute):
   12169         (DeprecatedDOMHTMLFormElement::setAttribute):
   12170         (DeprecatedDOMHTMLFormElement::removeAttribute):
   12171         (DeprecatedDOMHTMLFormElement::getAttributeNode):
   12172         (DeprecatedDOMHTMLFormElement::setAttributeNode):
   12173         (DeprecatedDOMHTMLFormElement::removeAttributeNode):
   12174         (DeprecatedDOMHTMLFormElement::getElementsByTagName):
   12175         (DeprecatedDOMHTMLFormElement::getAttributeNS):
   12176         (DeprecatedDOMHTMLFormElement::setAttributeNS):
   12177         (DeprecatedDOMHTMLFormElement::removeAttributeNS):
   12178         (DeprecatedDOMHTMLFormElement::getAttributeNodeNS):
   12179         (DeprecatedDOMHTMLFormElement::setAttributeNodeNS):
   12180         (DeprecatedDOMHTMLFormElement::getElementsByTagNameNS):
   12181         (DeprecatedDOMHTMLFormElement::hasAttribute):
   12182         (DeprecatedDOMHTMLFormElement::hasAttributeNS):
   12183         (DeprecatedDOMHTMLFormElement::focus):
   12184         (DeprecatedDOMHTMLFormElement::blur):
   12185         (DeprecatedDOMHTMLFormElement::idName):
   12186         (DeprecatedDOMHTMLFormElement::setIdName):
   12187         (DeprecatedDOMHTMLFormElement::title):
   12188         (DeprecatedDOMHTMLFormElement::setTitle):
   12189         (DeprecatedDOMHTMLFormElement::lang):
   12190         (DeprecatedDOMHTMLFormElement::setLang):
   12191         (DeprecatedDOMHTMLFormElement::dir):
   12192         (DeprecatedDOMHTMLFormElement::setDir):
   12193         (DeprecatedDOMHTMLFormElement::className):
   12194         (DeprecatedDOMHTMLFormElement::setClassName):
   12195         (DeprecatedDOMHTMLFormElement::innerHTML):
   12196         (DeprecatedDOMHTMLFormElement::setInnerHTML):
   12197         (DeprecatedDOMHTMLFormElement::innerText):
   12198         (DeprecatedDOMHTMLFormElement::setInnerText):
   12199         (DeprecatedDOMHTMLSelectElement::DeprecatedDOMHTMLSelectElement):
   12200         (DeprecatedDOMHTMLSelectElement::AddRef):
   12201         (DeprecatedDOMHTMLSelectElement::Release):
   12202         (DeprecatedDOMHTMLSelectElement::throwException):
   12203         (DeprecatedDOMHTMLSelectElement::callWebScriptMethod):
   12204         (DeprecatedDOMHTMLSelectElement::evaluateWebScript):
   12205         (DeprecatedDOMHTMLSelectElement::removeWebScriptKey):
   12206         (DeprecatedDOMHTMLSelectElement::stringRepresentation):
   12207         (DeprecatedDOMHTMLSelectElement::webScriptValueAtIndex):
   12208         (DeprecatedDOMHTMLSelectElement::setWebScriptValueAtIndex):
   12209         (DeprecatedDOMHTMLSelectElement::setException):
   12210         (DeprecatedDOMHTMLSelectElement::nodeName):
   12211         (DeprecatedDOMHTMLSelectElement::nodeValue):
   12212         (DeprecatedDOMHTMLSelectElement::setNodeValue):
   12213         (DeprecatedDOMHTMLSelectElement::nodeType):
   12214         (DeprecatedDOMHTMLSelectElement::parentNode):
   12215         (DeprecatedDOMHTMLSelectElement::childNodes):
   12216         (DeprecatedDOMHTMLSelectElement::firstChild):
   12217         (DeprecatedDOMHTMLSelectElement::lastChild):
   12218         (DeprecatedDOMHTMLSelectElement::previousSibling):
   12219         (DeprecatedDOMHTMLSelectElement::nextSibling):
   12220         (DeprecatedDOMHTMLSelectElement::attributes):
   12221         (DeprecatedDOMHTMLSelectElement::ownerDocument):
   12222         (DeprecatedDOMHTMLSelectElement::insertBefore):
   12223         (DeprecatedDOMHTMLSelectElement::replaceChild):
   12224         (DeprecatedDOMHTMLSelectElement::removeChild):
   12225         (DeprecatedDOMHTMLSelectElement::appendChild):
   12226         (DeprecatedDOMHTMLSelectElement::hasChildNodes):
   12227         (DeprecatedDOMHTMLSelectElement::cloneNode):
   12228         (DeprecatedDOMHTMLSelectElement::normalize):
   12229         (DeprecatedDOMHTMLSelectElement::isSupported):
   12230         (DeprecatedDOMHTMLSelectElement::namespaceURI):
   12231         (DeprecatedDOMHTMLSelectElement::prefix):
   12232         (DeprecatedDOMHTMLSelectElement::setPrefix):
   12233         (DeprecatedDOMHTMLSelectElement::localName):
   12234         (DeprecatedDOMHTMLSelectElement::hasAttributes):
   12235         (DeprecatedDOMHTMLSelectElement::isSameNode):
   12236         (DeprecatedDOMHTMLSelectElement::isEqualNode):
   12237         (DeprecatedDOMHTMLSelectElement::textContent):
   12238         (DeprecatedDOMHTMLSelectElement::setTextContent):
   12239         (DeprecatedDOMHTMLSelectElement::tagName):
   12240         (DeprecatedDOMHTMLSelectElement::getAttribute):
   12241         (DeprecatedDOMHTMLSelectElement::setAttribute):
   12242         (DeprecatedDOMHTMLSelectElement::removeAttribute):
   12243         (DeprecatedDOMHTMLSelectElement::getAttributeNode):
   12244         (DeprecatedDOMHTMLSelectElement::setAttributeNode):
   12245         (DeprecatedDOMHTMLSelectElement::removeAttributeNode):
   12246         (DeprecatedDOMHTMLSelectElement::getElementsByTagName):
   12247         (DeprecatedDOMHTMLSelectElement::getAttributeNS):
   12248         (DeprecatedDOMHTMLSelectElement::setAttributeNS):
   12249         (DeprecatedDOMHTMLSelectElement::removeAttributeNS):
   12250         (DeprecatedDOMHTMLSelectElement::getAttributeNodeNS):
   12251         (DeprecatedDOMHTMLSelectElement::setAttributeNodeNS):
   12252         (DeprecatedDOMHTMLSelectElement::getElementsByTagNameNS):
   12253         (DeprecatedDOMHTMLSelectElement::hasAttribute):
   12254         (DeprecatedDOMHTMLSelectElement::hasAttributeNS):
   12255         (DeprecatedDOMHTMLSelectElement::focus):
   12256         (DeprecatedDOMHTMLSelectElement::blur):
   12257         (DeprecatedDOMHTMLSelectElement::idName):
   12258         (DeprecatedDOMHTMLSelectElement::setIdName):
   12259         (DeprecatedDOMHTMLSelectElement::title):
   12260         (DeprecatedDOMHTMLSelectElement::setTitle):
   12261         (DeprecatedDOMHTMLSelectElement::lang):
   12262         (DeprecatedDOMHTMLSelectElement::setLang):
   12263         (DeprecatedDOMHTMLSelectElement::dir):
   12264         (DeprecatedDOMHTMLSelectElement::setDir):
   12265         (DeprecatedDOMHTMLSelectElement::className):
   12266         (DeprecatedDOMHTMLSelectElement::setClassName):
   12267         (DeprecatedDOMHTMLSelectElement::innerHTML):
   12268         (DeprecatedDOMHTMLSelectElement::setInnerHTML):
   12269         (DeprecatedDOMHTMLSelectElement::innerText):
   12270         (DeprecatedDOMHTMLSelectElement::setInnerText):
   12271         (DeprecatedDOMHTMLOptionElement::DeprecatedDOMHTMLOptionElement):
   12272         (DeprecatedDOMHTMLOptionElement::AddRef):
   12273         (DeprecatedDOMHTMLOptionElement::Release):
   12274         (DeprecatedDOMHTMLOptionElement::throwException):
   12275         (DeprecatedDOMHTMLOptionElement::callWebScriptMethod):
   12276         (DeprecatedDOMHTMLOptionElement::evaluateWebScript):
   12277         (DeprecatedDOMHTMLOptionElement::removeWebScriptKey):
   12278         (DeprecatedDOMHTMLOptionElement::stringRepresentation):
   12279         (DeprecatedDOMHTMLOptionElement::webScriptValueAtIndex):
   12280         (DeprecatedDOMHTMLOptionElement::setWebScriptValueAtIndex):
   12281         (DeprecatedDOMHTMLOptionElement::setException):
   12282         (DeprecatedDOMHTMLOptionElement::nodeName):
   12283         (DeprecatedDOMHTMLOptionElement::nodeValue):
   12284         (DeprecatedDOMHTMLOptionElement::setNodeValue):
   12285         (DeprecatedDOMHTMLOptionElement::nodeType):
   12286         (DeprecatedDOMHTMLOptionElement::parentNode):
   12287         (DeprecatedDOMHTMLOptionElement::childNodes):
   12288         (DeprecatedDOMHTMLOptionElement::firstChild):
   12289         (DeprecatedDOMHTMLOptionElement::lastChild):
   12290         (DeprecatedDOMHTMLOptionElement::previousSibling):
   12291         (DeprecatedDOMHTMLOptionElement::nextSibling):
   12292         (DeprecatedDOMHTMLOptionElement::attributes):
   12293         (DeprecatedDOMHTMLOptionElement::ownerDocument):
   12294         (DeprecatedDOMHTMLOptionElement::insertBefore):
   12295         (DeprecatedDOMHTMLOptionElement::replaceChild):
   12296         (DeprecatedDOMHTMLOptionElement::removeChild):
   12297         (DeprecatedDOMHTMLOptionElement::appendChild):
   12298         (DeprecatedDOMHTMLOptionElement::hasChildNodes):
   12299         (DeprecatedDOMHTMLOptionElement::cloneNode):
   12300         (DeprecatedDOMHTMLOptionElement::normalize):
   12301         (DeprecatedDOMHTMLOptionElement::isSupported):
   12302         (DeprecatedDOMHTMLOptionElement::namespaceURI):
   12303         (DeprecatedDOMHTMLOptionElement::prefix):
   12304         (DeprecatedDOMHTMLOptionElement::setPrefix):
   12305         (DeprecatedDOMHTMLOptionElement::localName):
   12306         (DeprecatedDOMHTMLOptionElement::hasAttributes):
   12307         (DeprecatedDOMHTMLOptionElement::isSameNode):
   12308         (DeprecatedDOMHTMLOptionElement::isEqualNode):
   12309         (DeprecatedDOMHTMLOptionElement::textContent):
   12310         (DeprecatedDOMHTMLOptionElement::setTextContent):
   12311         (DeprecatedDOMHTMLOptionElement::tagName):
   12312         (DeprecatedDOMHTMLOptionElement::getAttribute):
   12313         (DeprecatedDOMHTMLOptionElement::setAttribute):
   12314         (DeprecatedDOMHTMLOptionElement::removeAttribute):
   12315         (DeprecatedDOMHTMLOptionElement::getAttributeNode):
   12316         (DeprecatedDOMHTMLOptionElement::setAttributeNode):
   12317         (DeprecatedDOMHTMLOptionElement::removeAttributeNode):
   12318         (DeprecatedDOMHTMLOptionElement::getElementsByTagName):
   12319         (DeprecatedDOMHTMLOptionElement::getAttributeNS):
   12320         (DeprecatedDOMHTMLOptionElement::setAttributeNS):
   12321         (DeprecatedDOMHTMLOptionElement::removeAttributeNS):
   12322         (DeprecatedDOMHTMLOptionElement::getAttributeNodeNS):
   12323         (DeprecatedDOMHTMLOptionElement::setAttributeNodeNS):
   12324         (DeprecatedDOMHTMLOptionElement::getElementsByTagNameNS):
   12325         (DeprecatedDOMHTMLOptionElement::hasAttribute):
   12326         (DeprecatedDOMHTMLOptionElement::hasAttributeNS):
   12327         (DeprecatedDOMHTMLOptionElement::focus):
   12328         (DeprecatedDOMHTMLOptionElement::blur):
   12329         (DeprecatedDOMHTMLOptionElement::idName):
   12330         (DeprecatedDOMHTMLOptionElement::setIdName):
   12331         (DeprecatedDOMHTMLOptionElement::title):
   12332         (DeprecatedDOMHTMLOptionElement::setTitle):
   12333         (DeprecatedDOMHTMLOptionElement::lang):
   12334         (DeprecatedDOMHTMLOptionElement::setLang):
   12335         (DeprecatedDOMHTMLOptionElement::dir):
   12336         (DeprecatedDOMHTMLOptionElement::setDir):
   12337         (DeprecatedDOMHTMLOptionElement::className):
   12338         (DeprecatedDOMHTMLOptionElement::setClassName):
   12339         (DeprecatedDOMHTMLOptionElement::innerHTML):
   12340         (DeprecatedDOMHTMLOptionElement::setInnerHTML):
   12341         (DeprecatedDOMHTMLOptionElement::innerText):
   12342         (DeprecatedDOMHTMLOptionElement::setInnerText):
   12343         (DeprecatedDOMHTMLInputElement::DeprecatedDOMHTMLInputElement):
   12344         (DeprecatedDOMHTMLInputElement::AddRef):
   12345         (DeprecatedDOMHTMLInputElement::Release):
   12346         (DeprecatedDOMHTMLInputElement::throwException):
   12347         (DeprecatedDOMHTMLInputElement::callWebScriptMethod):
   12348         (DeprecatedDOMHTMLInputElement::evaluateWebScript):
   12349         (DeprecatedDOMHTMLInputElement::removeWebScriptKey):
   12350         (DeprecatedDOMHTMLInputElement::stringRepresentation):
   12351         (DeprecatedDOMHTMLInputElement::webScriptValueAtIndex):
   12352         (DeprecatedDOMHTMLInputElement::setWebScriptValueAtIndex):
   12353         (DeprecatedDOMHTMLInputElement::setException):
   12354         (DeprecatedDOMHTMLInputElement::nodeName):
   12355         (DeprecatedDOMHTMLInputElement::nodeValue):
   12356         (DeprecatedDOMHTMLInputElement::setNodeValue):
   12357         (DeprecatedDOMHTMLInputElement::nodeType):
   12358         (DeprecatedDOMHTMLInputElement::parentNode):
   12359         (DeprecatedDOMHTMLInputElement::childNodes):
   12360         (DeprecatedDOMHTMLInputElement::firstChild):
   12361         (DeprecatedDOMHTMLInputElement::lastChild):
   12362         (DeprecatedDOMHTMLInputElement::previousSibling):
   12363         (DeprecatedDOMHTMLInputElement::nextSibling):
   12364         (DeprecatedDOMHTMLInputElement::attributes):
   12365         (DeprecatedDOMHTMLInputElement::ownerDocument):
   12366         (DeprecatedDOMHTMLInputElement::insertBefore):
   12367         (DeprecatedDOMHTMLInputElement::replaceChild):
   12368         (DeprecatedDOMHTMLInputElement::removeChild):
   12369         (DeprecatedDOMHTMLInputElement::appendChild):
   12370         (DeprecatedDOMHTMLInputElement::hasChildNodes):
   12371         (DeprecatedDOMHTMLInputElement::cloneNode):
   12372         (DeprecatedDOMHTMLInputElement::normalize):
   12373         (DeprecatedDOMHTMLInputElement::isSupported):
   12374         (DeprecatedDOMHTMLInputElement::namespaceURI):
   12375         (DeprecatedDOMHTMLInputElement::prefix):
   12376         (DeprecatedDOMHTMLInputElement::setPrefix):
   12377         (DeprecatedDOMHTMLInputElement::localName):
   12378         (DeprecatedDOMHTMLInputElement::hasAttributes):
   12379         (DeprecatedDOMHTMLInputElement::isSameNode):
   12380         (DeprecatedDOMHTMLInputElement::isEqualNode):
   12381         (DeprecatedDOMHTMLInputElement::textContent):
   12382         (DeprecatedDOMHTMLInputElement::setTextContent):
   12383         (DeprecatedDOMHTMLInputElement::tagName):
   12384         (DeprecatedDOMHTMLInputElement::getAttribute):
   12385         (DeprecatedDOMHTMLInputElement::setAttribute):
   12386         (DeprecatedDOMHTMLInputElement::removeAttribute):
   12387         (DeprecatedDOMHTMLInputElement::getAttributeNode):
   12388         (DeprecatedDOMHTMLInputElement::setAttributeNode):
   12389         (DeprecatedDOMHTMLInputElement::removeAttributeNode):
   12390         (DeprecatedDOMHTMLInputElement::getElementsByTagName):
   12391         (DeprecatedDOMHTMLInputElement::getAttributeNS):
   12392         (DeprecatedDOMHTMLInputElement::setAttributeNS):
   12393         (DeprecatedDOMHTMLInputElement::removeAttributeNS):
   12394         (DeprecatedDOMHTMLInputElement::getAttributeNodeNS):
   12395         (DeprecatedDOMHTMLInputElement::setAttributeNodeNS):
   12396         (DeprecatedDOMHTMLInputElement::getElementsByTagNameNS):
   12397         (DeprecatedDOMHTMLInputElement::hasAttribute):
   12398         (DeprecatedDOMHTMLInputElement::hasAttributeNS):
   12399         (DeprecatedDOMHTMLInputElement::focus):
   12400         (DeprecatedDOMHTMLInputElement::blur):
   12401         (DeprecatedDOMHTMLInputElement::idName):
   12402         (DeprecatedDOMHTMLInputElement::setIdName):
   12403         (DeprecatedDOMHTMLInputElement::title):
   12404         (DeprecatedDOMHTMLInputElement::setTitle):
   12405         (DeprecatedDOMHTMLInputElement::lang):
   12406         (DeprecatedDOMHTMLInputElement::setLang):
   12407         (DeprecatedDOMHTMLInputElement::dir):
   12408         (DeprecatedDOMHTMLInputElement::setDir):
   12409         (DeprecatedDOMHTMLInputElement::className):
   12410         (DeprecatedDOMHTMLInputElement::setClassName):
   12411         (DeprecatedDOMHTMLInputElement::innerHTML):
   12412         (DeprecatedDOMHTMLInputElement::setInnerHTML):
   12413         (DeprecatedDOMHTMLInputElement::innerText):
   12414         (DeprecatedDOMHTMLInputElement::setInnerText):
   12415         (DeprecatedDOMHTMLTextAreaElement::DeprecatedDOMHTMLTextAreaElement):
   12416         (DeprecatedDOMHTMLTextAreaElement::AddRef):
   12417         (DeprecatedDOMHTMLTextAreaElement::Release):
   12418         (DeprecatedDOMHTMLTextAreaElement::throwException):
   12419         (DeprecatedDOMHTMLTextAreaElement::callWebScriptMethod):
   12420         (DeprecatedDOMHTMLTextAreaElement::evaluateWebScript):
   12421         (DeprecatedDOMHTMLTextAreaElement::removeWebScriptKey):
   12422         (DeprecatedDOMHTMLTextAreaElement::stringRepresentation):
   12423         (DeprecatedDOMHTMLTextAreaElement::webScriptValueAtIndex):
   12424         (DeprecatedDOMHTMLTextAreaElement::setWebScriptValueAtIndex):
   12425         (DeprecatedDOMHTMLTextAreaElement::setException):
   12426         (DeprecatedDOMHTMLTextAreaElement::nodeName):
   12427         (DeprecatedDOMHTMLTextAreaElement::nodeValue):
   12428         (DeprecatedDOMHTMLTextAreaElement::setNodeValue):
   12429         (DeprecatedDOMHTMLTextAreaElement::nodeType):
   12430         (DeprecatedDOMHTMLTextAreaElement::parentNode):
   12431         (DeprecatedDOMHTMLTextAreaElement::childNodes):
   12432         (DeprecatedDOMHTMLTextAreaElement::firstChild):
   12433         (DeprecatedDOMHTMLTextAreaElement::lastChild):
   12434         (DeprecatedDOMHTMLTextAreaElement::previousSibling):
   12435         (DeprecatedDOMHTMLTextAreaElement::nextSibling):
   12436         (DeprecatedDOMHTMLTextAreaElement::attributes):
   12437         (DeprecatedDOMHTMLTextAreaElement::ownerDocument):
   12438         (DeprecatedDOMHTMLTextAreaElement::insertBefore):
   12439         (DeprecatedDOMHTMLTextAreaElement::replaceChild):
   12440         (DeprecatedDOMHTMLTextAreaElement::removeChild):
   12441         (DeprecatedDOMHTMLTextAreaElement::appendChild):
   12442         (DeprecatedDOMHTMLTextAreaElement::hasChildNodes):
   12443         (DeprecatedDOMHTMLTextAreaElement::cloneNode):
   12444         (DeprecatedDOMHTMLTextAreaElement::normalize):
   12445         (DeprecatedDOMHTMLTextAreaElement::isSupported):
   12446         (DeprecatedDOMHTMLTextAreaElement::namespaceURI):
   12447         (DeprecatedDOMHTMLTextAreaElement::prefix):
   12448         (DeprecatedDOMHTMLTextAreaElement::setPrefix):
   12449         (DeprecatedDOMHTMLTextAreaElement::localName):
   12450         (DeprecatedDOMHTMLTextAreaElement::hasAttributes):
   12451         (DeprecatedDOMHTMLTextAreaElement::isSameNode):
   12452         (DeprecatedDOMHTMLTextAreaElement::isEqualNode):
   12453         (DeprecatedDOMHTMLTextAreaElement::textContent):
   12454         (DeprecatedDOMHTMLTextAreaElement::setTextContent):
   12455         (DeprecatedDOMHTMLTextAreaElement::tagName):
   12456         (DeprecatedDOMHTMLTextAreaElement::getAttribute):
   12457         (DeprecatedDOMHTMLTextAreaElement::setAttribute):
   12458         (DeprecatedDOMHTMLTextAreaElement::removeAttribute):
   12459         (DeprecatedDOMHTMLTextAreaElement::getAttributeNode):
   12460         (DeprecatedDOMHTMLTextAreaElement::setAttributeNode):
   12461         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNode):
   12462         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagName):
   12463         (DeprecatedDOMHTMLTextAreaElement::getAttributeNS):
   12464         (DeprecatedDOMHTMLTextAreaElement::setAttributeNS):
   12465         (DeprecatedDOMHTMLTextAreaElement::removeAttributeNS):
   12466         (DeprecatedDOMHTMLTextAreaElement::getAttributeNodeNS):
   12467         (DeprecatedDOMHTMLTextAreaElement::setAttributeNodeNS):
   12468         (DeprecatedDOMHTMLTextAreaElement::getElementsByTagNameNS):
   12469         (DeprecatedDOMHTMLTextAreaElement::hasAttribute):
   12470         (DeprecatedDOMHTMLTextAreaElement::hasAttributeNS):
   12471         (DeprecatedDOMHTMLTextAreaElement::focus):
   12472         (DeprecatedDOMHTMLTextAreaElement::blur):
   12473         (DeprecatedDOMHTMLTextAreaElement::idName):
   12474         (DeprecatedDOMHTMLTextAreaElement::setIdName):
   12475         (DeprecatedDOMHTMLTextAreaElement::title):
   12476         (DeprecatedDOMHTMLTextAreaElement::setTitle):
   12477         (DeprecatedDOMHTMLTextAreaElement::lang):
   12478         (DeprecatedDOMHTMLTextAreaElement::setLang):
   12479         (DeprecatedDOMHTMLTextAreaElement::dir):
   12480         (DeprecatedDOMHTMLTextAreaElement::setDir):
   12481         (DeprecatedDOMHTMLTextAreaElement::className):
   12482         (DeprecatedDOMHTMLTextAreaElement::setClassName):
   12483         (DeprecatedDOMHTMLTextAreaElement::innerHTML):
   12484         (DeprecatedDOMHTMLTextAreaElement::setInnerHTML):
   12485         (DeprecatedDOMHTMLTextAreaElement::innerText):
   12486         (DeprecatedDOMHTMLTextAreaElement::setInnerText):
   12487         * Interfaces/DOMCSS.idl:
   12488         * Interfaces/DOMCore.idl:
   12489         * Interfaces/DOMEvents.idl:
   12490         * Interfaces/DOMExtensions.idl:
   12491         * Interfaces/DOMHTML.idl:
   12492         * Interfaces/DOMPrivate.idl:
   12493         * Interfaces/DOMRange.idl:
   12494         * Interfaces/DOMWindow.idl:
   12495         * Interfaces/IWebEditingDelegate.idl:
   12496         * Interfaces/IWebFormDelegate.idl:
   12497         * Interfaces/IWebFrame.idl:
   12498         * Interfaces/IWebHTMLRepresentation.idl:
   12499         * Interfaces/IWebView.idl:
   12500         * WebEditorClient.cpp:
   12501         (WebEditorClient::shouldDeleteRange):
   12502         (WebEditorClient::shouldInsertText):
   12503         (WebEditorClient::textFieldDidBeginEditing):
   12504         (WebEditorClient::textFieldDidEndEditing):
   12505         (WebEditorClient::textDidChangeInTextField):
   12506         (WebEditorClient::doTextFieldCommandFromEvent):
   12507         (WebEditorClient::textWillBeDeletedInTextField):
   12508         (WebEditorClient::textDidChangeInTextArea):
   12509         * WebElementPropertyBag.cpp:
   12510         (WebElementPropertyBag::Read):
   12511         * WebFrame.cpp:
   12512         (elementFromDOMElement):
   12513         (formElementFromDOMElement):
   12514         (inputElementFromDOMElement):
   12515         (WebFrame::DOMDocument):
   12516         (WebFrame::frameElement):
   12517         (WebFrame::currentForm):
   12518         (WebFrame::elementWithName):
   12519         (WebFrame::formForElement):
   12520         (WebFrame::elementDoesAutoComplete):
   12521         (WebFrame::controlsInForm):
   12522         (WebFrame::elementIsPassword):
   12523         (WebFrame::searchForLabelsBeforeElement):
   12524         (WebFrame::matchLabelsAgainstElement):
   12525         (WebFrame::dispatchWillSubmitForm):
   12526         * WebFrame.h:
   12527         * WebHTMLRepresentation.cpp:
   12528         (WebHTMLRepresentation::attributedStringFromDOMNodes):
   12529         (WebHTMLRepresentation::elementWithName):
   12530         (WebHTMLRepresentation::elementDoesAutoComplete):
   12531         (WebHTMLRepresentation::elementIsPassword):
   12532         (WebHTMLRepresentation::formForElement):
   12533         (WebHTMLRepresentation::currentForm):
   12534         (WebHTMLRepresentation::controlsInForm):
   12535         (WebHTMLRepresentation::searchForLabels):
   12536         (WebHTMLRepresentation::matchLabels):
   12537         * WebHTMLRepresentation.h:
   12538         * WebView.cpp:
   12539         (WebView::mainFrameDocument):
   12540         (WebView::computedStyleForElement):
   12541         (WebView::editableDOMRangeForPoint):
   12542         (WebView::setSelectedDOMRange):
   12543         (WebView::selectedDOMRange):
   12544         (WebView::setTypingStyle):
   12545         (WebView::typingStyle):
   12546         (WebView::styleDeclarationWithText):
   12547         (WebView::replaceSelectionWithNode):
   12548         (WebView::applyStyle):
   12549         * WebView.h:
   12550 
   12551 2007-08-22  Jon Honeycutt  <jhoneycutt (a] apple.com>
   12552 
   12553         Reviewed by Adam.
   12554 
   12555         Refactoring of <radr://problem/5220598> Dragging URL out and back
   12556         inserts a second copy of the URL
   12557 
   12558         * Interfaces/IWebViewPrivate.idl: Added setCustomDropTarget and
   12559         removeCustomDropTarget
   12560         * WebView.cpp: 
   12561         (WebView::WebView): Initialize m_hasCustomDropTarget
   12562         (WebView::setCustomDropTarget): Revoke any existing drop target and set
   12563         the incoming drop target.
   12564         (WebView::removeCustomDropTarget): Revoke any existing drop target and
   12565         set the default drop target.
   12566         * WebView.h:
   12567 
   12568 2007-08-21  Ada Chan  <adachan (a] apple.com>
   12569 
   12570         Fix <rdar://problem/5416630> Accelerator to open link in window in background opens window in foreground instead
   12571         Placing tooltip window at the topmost in z-order brought windows that were opened in the
   12572         background to the front.  Use HWND_TOP instead.
   12573 
   12574         Reviewed by Adam.
   12575         
   12576         * WebView.cpp:
   12577         (WebView::initializeToolTipWindow):
   12578 
   12579 2007-08-21  Adam Roben  <aroben (a] apple.com>
   12580 
   12581         Switch Windows to using FrameView::layoutIfNeededRecursive
   12582 
   12583         Reviewed by Darin Adler.
   12584 
   12585         * WebFrame.cpp: Removed layoutIfNeededRecursive.
   12586         * WebFrame.h: Ditto.
   12587         * WebView.cpp:
   12588         (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
   12589 
   12590 2007-08-17  Adam Roben  <aroben (a] apple.com>
   12591 
   12592         Fix <rdar://5192578> Inspect Element should not appear in context menu in non-debug mode
   12593 
   12594         We now follow the same logic as Mac WebKit for displaying the Inspect Element item:
   12595             1) If DisableWebKitDeveloperExtras is set to true, don't display it
   12596             2) If not, and we're in a debug build, display it
   12597             3) If not, and we're in a release build, display it if
   12598                WebKitDeveloperExtras is set to true
   12599 
   12600         Reviewed by Ada.
   12601 
   12602         * Interfaces/IWebPreferencesPrivate.idl: Added.
   12603         * WebKit.vcproj/Interfaces.vcproj: Add new IWebPreferencesPrivate.idl
   12604         file to project.
   12605         * WebKit.vcproj/WebKitGUID.vcproj: Added generated .c file for
   12606         IWebPreferencesPrivate to project.
   12607         * WebPreferenceKeysPrivate.h: Added new keys.
   12608         * WebPreferences.cpp: Added IID_WebPreferences.
   12609         (WebPreferences::postPreferencesChangesNotification): Added an explicit
   12610         cast needed now that WebPreferences implements two interfaces.
   12611         (WebPreferences::QueryInterface): Added new cases.
   12612         (WebPreferences::setDeveloperExtrasEnabled): Added.
   12613         (WebPreferences::developerExtrasEnabled): Added.
   12614         (WebPreferences::developerExtrasDisabledByOverride): Added.
   12615         * WebPreferences.h: Now implements IWebPreferencesPrivate.
   12616         * WebView.cpp:
   12617         (WebView::updateWebCoreSettingsFromPreferences): Call developerExtrasEnabled.
   12618         (WebView::developerExtrasEnabled): Ported from -[WebView _developerExtrasEnabled].
   12619         * WebView.h:
   12620 
   12621 2007-08-17  Adam Roben  <aroben (a] apple.com>
   12622 
   12623         Add WebPreferences::sharedStandardPreferences
   12624 
   12625         This is a convenience method to get the standard preferences object so
   12626         that within WebKit we don't have to deal with the fact that COM doesn't
   12627         support static methods.
   12628 
   12629         Reviewed by Ada.
   12630 
   12631         * WebHistory.cpp:
   12632         (WebHistory::WebHistory): Use sharedStandardPreferences.
   12633         * WebIconDatabase.cpp:
   12634         (WebIconDatabase::init): Ditto.
   12635         * WebPreferences.cpp:
   12636         (WebPreferences::sharedStandardPreferences): Added.
   12637         (WebPreferences::getInstanceForIdentifier): Use sharedStandardPreferences.
   12638         (WebPreferences::standardPreferences): Ditto.
   12639         * WebPreferences.h:
   12640         * WebView.cpp:
   12641         (WebView::preferences): Ditto.
   12642 
   12643 2007-08-17  Anders Carlsson  <andersca (a] apple.com>
   12644 
   12645         Build fix.
   12646         
   12647         * WebFrame.cpp:
   12648         (WebFrame::createPlugin):
   12649         * WebFrame.h:
   12650         
   12651 2007-08-13  Geoffrey Garen  <ggaren (a] apple.com>
   12652 
   12653         Reviewed by Dave Hyatt.
   12654 
   12655         WebKit changes to support new cache eviction model in WebCore.
   12656 
   12657         * WebPreferences.cpp:
   12658         (WebPreferences::initialize):
   12659 
   12660         * WebView/WebPreferences.m: Modified to reflect new API in WebCore.
   12661         * WebView.cpp:
   12662         (WebView::initializeCacheSizesIfNecessary): Slightly increased cache
   12663         size on low memory systems to avoid affecting the PLT for now.
   12664 
   12665 2007-08-14  Steve Falkenburg  <sfalken (a] apple.com>
   12666 
   12667         <rdar://problem/5411482> Windows user agent language always returns "en"
   12668         
   12669         Call WebCore::defaultLanguage() to pick up UA language.
   12670         
   12671         Reviewed by Oliver.
   12672 
   12673         * WebView.cpp:
   12674         (WebView::userAgentForKURL):
   12675 
   12676 2007-08-15  Peter Kasting  <pkasting (a] google.com>
   12677 
   12678         Reviewed by Darin Adler.
   12679         
   12680         http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
   12681         conversions of wtf::Vector<T> to T* by explicitly calling .data()
   12682 
   12683         * WebView.cpp:
   12684         (getCompositionString):
   12685 
   12686 2007-08-12  Adam Roben  <aroben (a] apple.com>
   12687 
   12688         Store user defaults in a non-mutable CFDictionaryRef
   12689 
   12690         Also renamed WebPreferences' static members:
   12691             m_standardPreferences -> s_standardPreferences
   12692             m_standardUserDefaults -> s_defaultSettings
   12693 
   12694         Reviewed by Darin and John.
   12695 
   12696         * WebPreferences.cpp:
   12697         (WebPreferences::getInstanceForIdentifier):
   12698         (WebPreferences::initializeUserDefaults): Construct the dictionary as a
   12699         local CFMutableDictionaryRef, then assign it to the non-mutable static
   12700         member.
   12701         (WebPreferences::valueForKey):
   12702         (WebPreferences::removeDefaultsIfNeeded):
   12703         (WebPreferences::standardPreferences):
   12704         * WebPreferences.h:
   12705 
   12706 2007-08-12  Adam Roben  <aroben (a] apple.com>
   12707 
   12708         Fix <rdar://problem/5214504> No way to change WebPreferences defaults (all preferences get written to disk)
   12709 
   12710         We now only write to disk values that have been explicitly set, and
   12711         never write any default values.
   12712 
   12713         This is not enough, however, as anyone who has used WebKit prior to
   12714         this change will have the default values sitting in their preferences
   12715         plist on disk. To remedy this, we perform a one-time removal of any
   12716         key-value pairs that match a pair in the defaults dictionary.
   12717 
   12718         Reviewed by Steve, John, Ada, and Darin.
   12719 
   12720         * WebPreferenceKeysPrivate.h: Added new key to ensure we only remove
   12721         the defaults once.
   12722         * WebPreferences.cpp:
   12723         (WebPreferences::initializeDefaultSettings): Renamed from initialize, and
   12724         made sure we only set up the defaults dictionary once. Now that the
   12725         defaults dictionary is never modified after creation, we don't need to
   12726         check whether the keys are already present.
   12727         (WebPreferences::setStringValue): Don't modify the defaults dictionary.
   12728         (WebPreferences::setIntegerValue): Ditto.
   12729         (WebPreferences::setBoolValue): Ditto.
   12730         (WebPreferences::save): Write out the user's preferences, not the defaults.
   12731         (WebPreferences::load):
   12732            - Removed gotos and early declarations now that we're using
   12733              RetainPtr everywhere.
   12734            - Initialize m_privatePrefs with an empty dictionary if we didn't
   12735              read in a plist.
   12736            - Call migrateDefaultSettingsFromSafari3Beta after loading.
   12737         (WebPreferences::migrateDefaultSettingsFromSafari3Beta): Added.
   12738         (WebPreferences::removeValuesMatchingDefaultSettings): Added.
   12739         (WebPreferences::initWithIdentifier): Don't initialize m_privatePrefs
   12740         -- load() does this now.
   12741         * WebPreferences.h: Updated/added declarations.
   12742 
   12743 2007-08-12  Adam Roben  <aroben (a] apple.com>
   12744 
   12745         Use RetainPtr to store WebPreferences::m_privatePrefs
   12746 
   12747         Reviewed by Darin Adler.
   12748 
   12749         * WebPreferences.cpp:
   12750         (WebPreferences::setStringValue):
   12751         (WebPreferences::setIntegerValue):
   12752         (WebPreferences::setBoolValue):
   12753         (WebPreferences::initWithIdentifier):
   12754         * WebPreferences.h:
   12755 
   12756 2007-08-12  Adam Roben  <aroben (a] apple.com>
   12757 
   12758         Fix <rdar://problem/5278790> Hole for find-on-page match in subframe isn't clipped by frame bounds
   12759 
   12760         Reviewed by Maciej.
   12761 
   12762         * WebView.cpp:
   12763         (WebView::rectsForTextMatches): Ported fix from r23586.
   12764 
   12765 2007-08-12  Adam Roben  <aroben (a] apple.com>
   12766 
   12767         Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
   12768 
   12769         Reviewed by Maciej.
   12770 
   12771         * WebKitGraphics.cpp:
   12772         (makeFont):
   12773 
   12774 2007-08-10  Ada Chan  <adachan (a] apple.com>
   12775 
   12776         Reviewed by Adam and Darin.
   12777         
   12778         <rdar://problem/5403095> Crash in WebViewWndProc after closing a window
   12779         We are seeing another case where WM_SETFOCUS is sent after WM_DESTROY has been handled in WebView.
   12780         Bail early in the wndProc if WebView is set to be destroyed.
   12781 
   12782         * WebView.cpp:
   12783         (WebViewWndProc):
   12784 
   12785 2007-08-02  Ada Chan  <adachan (a] apple.com>
   12786 
   12787         Reviewed by Steve.
   12788         
   12789         <rdar://problem/5079175> Printing header and footer
   12790 
   12791         * Interfaces/IWebUIDelegate.idl: added methods for header/footer drawing.
   12792         * WebFrame.cpp:
   12793         (WebFrame::headerAndFooterHeights): ask client for the header and 
   12794         footer heights via IWebUIDelegate2 methods.
   12795         (WebFrame::computePageRects): pass in header and footer heights when
   12796         calculating page rect heights.
   12797         (WebFrame::spoolPages): ask client to draw header and footer via
   12798         IWebUIDelegate2 methods.
   12799         * WebFrame.h:
   12800         * WebKitGraphics.cpp:
   12801         (DrawTextAtPoint): the code assumes color has 4 components - might as well
   12802         assert it.
   12803 
   12804 2007-08-01  Steve Falkenburg  <sfalken (a] apple.com>
   12805 
   12806         Build mod: Fix sln to match configs in vcproj.
   12807         
   12808         Reviewed by Adam.
   12809 
   12810         * WebKit.vcproj/WebKit.make:
   12811         * WebKit.vcproj/WebKit.submit.sln:
   12812 
   12813 2007-07-27  Justin Garcia  <justin.garcia (a] apple.com>
   12814 
   12815         Reviewed by Tristan.
   12816         
   12817         <rdar://problem/5098931> Attachments are lost when they are moved into a ToDo after a delete
   12818 
   12819         * WebEditorClient.cpp:
   12820         (WebEditorClient::shouldMoveRangeAfterDelete): Method stub.
   12821         * WebEditorClient.h:
   12822 
   12823 2007-07-27  Anders Carlsson  <andersca (a] apple.com>
   12824 
   12825         Reviewed by Adam.
   12826 
   12827         Add FIXME comment.
   12828         
   12829         * Interfaces/DOMHTML.idl:
   12830 
   12831 2007-07-27  Ada Chan  <adachan (a] apple.com>
   12832 
   12833         Reviewed by Adam.
   12834         
   12835         Added methods to track user edited text fields now that 
   12836         <rdar://problem/5359921> has been fixed.
   12837 
   12838         * DOMHTMLClasses.cpp:
   12839         (DOMHTMLInputElement::QueryInterface):
   12840         (DOMHTMLInputElement::isUserEdited):
   12841         (DOMHTMLTextAreaElement::QueryInterface):
   12842         (DOMHTMLTextAreaElement::isUserEdited):
   12843         * DOMHTMLClasses.h:
   12844         * Interfaces/DOMPrivate.idl:
   12845 
   12846 2007-07-27  Adam Roben  <aroben (a] apple.com>
   12847 
   12848         Fix Bug 14773: REGRESSION (r24630): ASSERT_NOT_REACHED in DOMHTMLInputElement::name on Windows
   12849         http://bugs.webkit.org/show_bug.cgi?id=14773
   12850 
   12851         Reviewed by Steve.
   12852 
   12853         * Interfaces/DOMHTML.idl: Change IDOMHTMLInputElement back to
   12854         inheriting from IDOMElement. Safari 3 Beta uses this interface, so we
   12855         can't change its vtable.
   12856 
   12857 2007-07-25  Ada Chan  <adachan (a] apple.com>
   12858 
   12859         Reviewed by Adam and Steve.
   12860         
   12861         Implemented some DOM methods and other fixes for <rdar://problem/5311601>.
   12862         
   12863         * DOMCoreClasses.cpp:
   12864         (DOMNode::ownerDocument): implemented
   12865         (DOMDocument::getComputedStyle): get the DOMElement via QueryInterface
   12866         (DOMElement::QueryInterface):
   12867         * DOMHTMLClasses.cpp:
   12868         (DOMHTMLDocument::body): fixed leak
   12869         (DOMHTMLFormElement::action): implemented
   12870         (DOMHTMLFormElement::method): ditto
   12871         (DOMHTMLInputElement::form): ditto
   12872         (DOMHTMLTextAreaElement::form): ditto
   12873         * Interfaces/DOMHTML.idl: IDOMHTMLInputElement should inherit from IDOMHTMLElement
   12874 
   12875 2007-07-24  Steve Falkenburg  <sfalken (a] apple.com>
   12876 
   12877         Removed touch of WebKit.rc to prevent rebuilds of the rc file.
   12878         The autoversion info can get slightly out of date now, but this isn't a huge problem relative to the rebuilds.
   12879         
   12880         Rubber-stamped by Adam.
   12881 
   12882         * WebKit.vcproj/WebKit.vcproj:
   12883 
   12884 2007-07-23  Steve Falkenburg  <sfalken (a] apple.com>
   12885 
   12886         Fixes to versioning script.
   12887         
   12888         Reviewed by Ada.
   12889 
   12890         * WebKit.vcproj/auto-version.sh:
   12891 
   12892 2007-07-23  Adam Roben  <aroben (a] apple.com>
   12893 
   12894         Implement IWebHistoryItem::[set]AlternateTitle
   12895 
   12896         The argument types were reversed for these two methods, so I fixed that as
   12897         well.
   12898 
   12899         Reviewed by Geoff and Oliver.
   12900 
   12901         * Interfaces/IWebHistoryItem.idl:
   12902         * WebHistoryItem.cpp:
   12903         (WebHistoryItem::setAlternateTitle): Implemented.
   12904         (WebHistoryItem::alternateTitle): Implemented.
   12905         * WebHistoryItem.h:
   12906 
   12907 2007-07-23  Ada Chan  <adachan (a] apple.com>
   12908 
   12909         Reviewed by Steve.
   12910         
   12911         Added a new text drawing method that allows caller to override the font smoothing level.
   12912 
   12913         * WebKit.vcproj/WebKit.def:
   12914         * WebKit.vcproj/WebKit_debug.def:
   12915         * WebKitGraphics.cpp:
   12916         (WebDrawText):
   12917         * WebKitGraphics.h:
   12918 
   12919 2007-07-22  Adam Roben  <aroben (a] apple.com>
   12920 
   12921         Implement IDOMElement::setAttribute
   12922 
   12923         This method was mistakenly called "setResult" in DOMCore.idl, so I
   12924         fixed that as well.
   12925 
   12926         Needed for <rdar://problem/5314906>.
   12927 
   12928         Reviewed by Ada.
   12929 
   12930         * DOMCoreClasses.cpp:
   12931         (DOMElement::setAttribute): Implemented/renamed.
   12932         * DOMCoreClasses.h: Renamed setResult => setAttribute.
   12933         * DOMHTMLClasses.h: Ditto.
   12934         * Interfaces/DOMCore.idl: Ditto.
   12935 
   12936 2007-07-21  Ada Chan  <adachan (a] apple.com>
   12937 
   12938         Reviewed by Adam.
   12939         
   12940         Fix bug 14706: http://bugs.webkit.org/show_bug.cgi?id=14706
   12941         Need to set the last visited time before calling WebHistory::addItem().
   12942 
   12943         * WebHistory.cpp:
   12944         (WebHistory::addItemForURL):
   12945 
   12946 2007-07-20  Justin Garcia  <justin.garcia (a] apple.com>
   12947 
   12948         Reviewed by Darin Adler.
   12949         
   12950         <rdar://problem/5109817> Ctrl-click on word in non-editable text doesn't select it
   12951 
   12952         * WebEditorClient.cpp: Removed the now unused selectWordBeforeMenuEvent().
   12953         * WebEditorClient.h:
   12954 
   12955 2007-07-20  Ada Chan  <adachan (a] apple.com>
   12956 
   12957         Reviewed by Steve.
   12958         
   12959         <rdar://problem/5350832> History item's visitedCount wasn't updated correctly
   12960 
   12961         The call to setLastVisitedTimeInterval() in WebHistory::addItemForURL() does not
   12962         really increment the visitedCount of the HistoryItem - because we only increment the count
   12963         if the last visited time is different.  We should initialize the HistoryItem with
   12964         lastVisited time = 0 so when we call setLastVisitedTimeInterval() later, it'll update
   12965         the last visited time AND the visitedCount.
   12966         
   12967         * WebHistory.cpp:
   12968         (WebHistory::addItemForURL):
   12969 
   12970 2007-07-20  Oliver Hunt  <oliver (a] apple.com>
   12971 
   12972         Reviewed by Maciej.
   12973 
   12974         <rdar://problem/5349668> WebKit/Win needs to send same key events during IME composition as it does on mac
   12975 
   12976         Removed guards against sending key events during composition, and added a flag
   12977         to indicate a key event is IME related.  This is needed to prevent the first 
   12978         keydown from firing a keypress event, and makes WebEditorClient::handleInputMethodKeypress
   12979         somewhat cleaner.
   12980 
   12981         * WebEditorClient.cpp:
   12982         (WebEditorClient::handleInputMethodKeypress):
   12983         * WebView.cpp:
   12984         (WebView::keyUp):
   12985         (WebView::keyDown):
   12986         * WebView.h:
   12987         (WebView::inIMEKeyDown):
   12988 
   12989 2007-07-19  Maciej Stachowiak  <mjs (a] apple.com>
   12990 
   12991         Reviewed by Adam.
   12992         
   12993         - WebKit part of fix for <rdar://problem/5262230> Crash while loading a popup in addictinggames.com
   12994         
   12995         Made closeWindowSoon fire on a timer instead of happening synchronously.
   12996 
   12997         * WebChromeClient.cpp:
   12998         (WebChromeClient::closeWindowSoon): Actually close the window on a timer, not immediately.
   12999         * WebKit.vcproj/WebKit.vcproj:
   13000         * WebView.cpp:
   13001         (WebView::WebView):
   13002         (WebView::closeWindowSoon):
   13003         (WebView::closeWindowTimerFired):
   13004         * WebView.h:
   13005 
   13006 2007-07-18  Timothy Hatcher  <timothy (a] apple.com>
   13007 
   13008         Reviewed by Adam.
   13009 
   13010         Make the Page with the now required InspectorClient.
   13011 
   13012         * WebView.cpp:
   13013         (WebView::initWithFrame):
   13014 
   13015 2007-07-18  Sam Weinig  <sam (a] webkit.org>
   13016 
   13017         Build fix.
   13018 
   13019         * WebFrame.cpp:
   13020         (WebFrame::dispatchDecidePolicyForMIMEType):
   13021         (WebFrame::objectContentType):
   13022         * WebView.cpp:
   13023         (WebView::canShowMIMEType):
   13024 
   13025 2007-07-17  Brady Eidson <beidson (a] apple.com>
   13026 
   13027         Blind Windows build fix from r24395
   13028 
   13029         * WebView.cpp:
   13030         (WebView::initWithFrame): BSTR, not BString
   13031 
   13032 2007-07-17  Brady Eidson  <beidson (a] apple.com>
   13033 
   13034         Reviewed by Steve
   13035         
   13036         <rdar://problem/4516185> - FTP Directory Listings
   13037 
   13038         * Interfaces/IWebUIDelegate.idl: Add IWebUIDelegate2 method for getting the path to the template
   13039         
   13040         * WebView.cpp:
   13041           (WebView::initWithFrame): Set the preference for the template path in WebCore when the first
   13042           WebView is initialized
   13043 
   13044 2007-07-17  Ada Chan  <adachan (a] apple.com>
   13045 
   13046         Rubbet-stamped by Adam.
   13047         
   13048         Fixed build.
   13049 
   13050         * Interfaces/IWebFramePrivate.idl:
   13051         * WebContextMenuClient.cpp:
   13052         (fixMenuReceivedFromOldSafari):
   13053         * WebFrame.cpp:
   13054         (WebFrame::loadURLIntoChild):
   13055         (WebFrame::download):
   13056         * WebFrame.h:
   13057 
   13058 2007-07-17  Adam Roben  <aroben (a] apple.com>
   13059 
   13060         Fix Bug 14324: Cannot remove/customize the "Inspect Element" contextual menu item
   13061         http://bugs.webkit.org/show_bug.cgi?id=14324
   13062 
   13063         If we detect that we're running against the Safari 3 Beta, we add back
   13064         the Inspect Element menu item after passing it off to the delegate
   13065         because Safari's UI delegate will remove it.
   13066 
   13067         Reviewed by Tim.
   13068 
   13069         * WebContextMenuClient.cpp:
   13070         (isPreInspectElementTagSafari): Added.
   13071         (fixMenuReceivedFromOldSafari): Added.
   13072         (WebContextMenuClient::getCustomMenuFromDefaultItems): Call
   13073         fixMenuReceivedFromOldSafari before returning the new menu.
   13074 
   13075 2007-07-17  Adam Roben  <aroben (a] apple.com>
   13076 
   13077         Remove WebContextMenuClient::shouldIncludeInspectElementItem
   13078 
   13079         Reviewed by Tim.
   13080 
   13081         * WebContextMenuClient.cpp:
   13082         * WebContextMenuClient.h:
   13083 
   13084 2007-07-17  Adam Roben  <aroben (a] apple.com>
   13085 
   13086         Initialize Settings::developerExtrasEnabled
   13087 
   13088         Reviewed by Tim.
   13089 
   13090         * WebView.cpp:
   13091         (WebView::updateWebCoreSettingsFromPreferences):
   13092 
   13093 2007-07-17  Geoffrey Garen  <ggaren (a] apple.com>
   13094 
   13095         Build fix. 
   13096 
   13097         * WebContextMenuClient.cpp:
   13098         (WebContextMenuClient::searchWithGoogle): Pass false for lockHistory 
   13099         like we do elsewhere.
   13100 
   13101 2007-07-17  Oliver Hunt  <oliver (a] apple.com>
   13102 
   13103         Reviewed by Adam.
   13104 
   13105         Fix for <rdar://problem/5339416> Candidate window does not
   13106                 appear in the correct location for japanese IME
   13107 
   13108         * WebView.cpp:
   13109         (WebView::prepareCandidateWindow):
   13110           We now use an exclusion zone so that the composition window never 
   13111           overlaps the composition string
   13112         (WebView::onIMERequestCharPosition):
   13113           Correctly handle character offsets marked regions
   13114 
   13115 2007-07-16  Oliver Hunt  <oliver (a] apple.com>
   13116 
   13117         Reviewed by Maciej.
   13118 
   13119         Fix for <rdar://problem/5334818> Support IME reconversion in windows
   13120 
   13121         Also includes a small amount of IME refactoring.
   13122 
   13123         * WebView.cpp:
   13124         (WebView::onIMERequestCharPosition):
   13125         (WebView::onIMERequestReconvertString):
   13126         (WebView::onIMERequest):
   13127         * WebView.h:
   13128 
   13129 2007-07-16  Brady Eidson  <beidson (a] apple.com>
   13130 
   13131         Reviewed by Adam
   13132 
   13133         Begin the arduous task of localizing FTP directory listings while removing a global initializer!
   13134 
   13135         * English.lproj/Localizable.strings:
   13136         * WebCoreLocalizedStrings.cpp:
   13137         (WebCore::unknownFileSizeText):
   13138 
   13139 2007-07-16  Oliver Hunt  <oliver (a] apple.com>
   13140 
   13141         Reviewed by Maciej.
   13142 
   13143         Fix for <rdar://problem/5334826> Chinese IME composition window does not appear in the correct location
   13144 
   13145         Respect IME requests for character position.
   13146 
   13147         * WebView.cpp:
   13148         (WebView::onIMERequestCharPosition):
   13149         (WebView::onIMERequest):
   13150         * WebView.h:
   13151 
   13152 2007-07-16  Adam Roben  <aroben (a] apple.com>
   13153 
   13154         WebKit/win part of <rdar://problem/5336005> Calling window.print() on a subframe prints whole page, should only print that subframe
   13155 
   13156         Reviewed by Darin Adler.
   13157 
   13158         * Interfaces/IWebUIDelegate.idl: Rename print to printFrame to closer
   13159         match the Mac method, and copy more of the Mac API comments.
   13160         * WebChromeClient.cpp:
   13161         (WebChromeClient::print): Call printFrame instead of print.
   13162 
   13163 2007-07-16  Adam Roben  <aroben (a] apple.com>
   13164 
   13165         Updated WebChromeClient for ChromeClient changes.
   13166 
   13167         Reviewed by Darin Adler.
   13168 
   13169         * WebChromeClient.cpp:
   13170         (WebChromeClient::print): Added a Frame* parameter.
   13171         * WebChromeClient.h: Ditto.
   13172 
   13173 2007-07-16  Oliver Hunt  <oliver (a] apple.com>
   13174 
   13175         Reviewed by Steve.
   13176 
   13177         Fix for http://bugs.webkit.org/show_bug.cgi?id=14630
   13178 
   13179         Remove bogus assertion
   13180 
   13181         * WebView.cpp:
   13182         (WebView::getIMMContext):
   13183 
   13184 2007-07-14  Brady Eidson  <beidson (a] apple.com>
   13185 
   13186         Reviewed by Sam
   13187         
   13188         Set the pref to override the policy delegate for FTP directory listings on Windows
   13189 
   13190         * WebView.cpp:
   13191         (WebView::updateWebCoreSettingsFromPreferences):
   13192 
   13193 2007-07-13  Oliver Hunt  <oliver (a] apple.com>
   13194 
   13195         Reviewed by Darin and Alexey.
   13196 
   13197         Fix for <rdar://problem/5231528> Inline input of International text (IME)
   13198                 http://bugs.webkit.org/show_bug.cgi?id=14331
   13199 
   13200         This patch adds IME support to WebKit/win, it currently does not support
   13201         reconversion (<rdar://problem/5334818>) and has issues with the chinese
   13202         IMEs (<rdar://problem/5334826>)
   13203 
   13204         * WebEditorClient.cpp:
   13205         (WebEditorClient::respondToChangedSelection):
   13206         (WebEditorClient::handleInputMethodKeypress):
   13207           Prevent the initial keydown for an IME from triggering a keypressed event
   13208         * WebView.cpp:
   13209         (WebView::WebView):
   13210         (WebView::keyUp):
   13211         (WebView::keyDown):
   13212         (WebViewWndProc):
   13213         (IMMDict::dict):
   13214         (IMMDict::IMMDict):
   13215            Dynamic loader for IME libraries
   13216 
   13217         (WebView::getIMMContext):
   13218         (WebView::releaseIMMContext):
   13219         (WebView::prepareCandidateWindow):
   13220         (selectionInsideMarkedText):
   13221         (setSelectionToEndOfRange):
   13222         (WebView::resetIME):
   13223         (WebView::updateSelectionForIME):
   13224         (WebView::selectionChanged):
   13225         (getCompositionString):
   13226         (compositionToUnderlines):
   13227            Helper functions
   13228 
   13229         (WebView::onIMEStartComposition):
   13230         (WebView::onIMEComposition):
   13231         (WebView::onIMEEndComposition):
   13232         (WebView::onIMEChar):
   13233         (WebView::onIMENotify):
   13234         (WebView::onIMERequest):
   13235         (WebView::onIMESelect):
   13236         (WebView::onIMESetContext):
   13237            IME event handling, so far most of these are not implemented, but the bulk of functionality 
   13238            is performed the the composition event handlers
   13239         * WebView.h:
   13240 
   13241 2007-07-12  Alice Liu  <alice.liu (a] apple.com>
   13242 
   13243         Reviewed by Maciej and Steve.
   13244 
   13245         fixed <rdar://4982432> window.print() needs to be implemented
   13246 
   13247         * Interfaces/IWebUIDelegate.idl:
   13248         * WebChromeClient.cpp:
   13249         (WebChromeClient::print):
   13250         * WebChromeClient.h:
   13251 
   13252 2007-07-11  Steve Falkenburg  <sfalken (a] apple.com>
   13253 
   13254         Static analysis build fix.
   13255         
   13256         Only specify /analyze (PREfast) if it is available.
   13257         Prevents entire project from rebuilding each time.        
   13258 
   13259         Reviewed by Hyatt.
   13260 
   13261         * WebKit.vcproj/WebKit.vcproj:
   13262 
   13263 2007-07-10  Ada Chan  <adachan (a] apple.com>
   13264         
   13265         Fixed build.
   13266 
   13267         * WebView.cpp:
   13268 
   13269 2007-07-09  Alice Liu  <alice.liu (a] apple.com>
   13270 
   13271         Reviewed by Adam Roben.
   13272         
   13273         Adding DOM Paste Allowed preference, setters and getters
   13274         for the purpose of layout tests.
   13275 
   13276         * Interfaces/IWebPreferences.idl:
   13277         * WebPreferenceKeysPrivate.h:
   13278         * WebPreferences.cpp:
   13279         (WebPreferences::isDOMPasteAllowed):
   13280         (WebPreferences::setDOMPasteAllowed):
   13281         * WebPreferences.h:
   13282         * WebView.cpp:
   13283         (WebView::updateWebCoreSettingsFromPreferences):
   13284 
   13285 2007-07-09  Anders Carlsson  <andersca (a] apple.com>
   13286 
   13287         Build fix.
   13288 
   13289         * WebView.cpp:
   13290         (WebView::stringByEvaluatingJavaScriptFromString):
   13291 
   13292 2007-07-05  Adam Roben  <aroben (a] apple.com>
   13293 
   13294         Fix a leak in WebView::setToolTip
   13295 
   13296         Reviewed by Beth.
   13297 
   13298         * WebView.cpp:
   13299         (WebView::setToolTip):
   13300 
   13301 2007-07-05  Adam Roben  <aroben (a] apple.com>
   13302 
   13303         Fix Bug 14143: Tooltips not displayed on Windows
   13304         http://bugs.webkit.org/show_bug.cgi?id=14143
   13305         <rdar://problem/4719799>
   13306 
   13307         Reviewed by Oliver.
   13308 
   13309         * WebChromeClient.cpp:
   13310         (WebChromeClient::setToolTip): Call up to WebView.
   13311         * WebView.cpp:
   13312         (WebView::WebView): Initialize m_toolTipHwnd member.
   13313         (WebView::initWithFrame): Set up the tool tip window.
   13314         (initCommonControls): Added.
   13315         (WebView::initializeToolTipWindow): Added.
   13316         (WebView::setToolTip): Set the tool tip text and enable/disable the
   13317         tool tip.
   13318         * WebView.h: Added/updated declarations.
   13319 
   13320 2007-07-04  Adam Roben  <aroben (a] apple.com>
   13321 
   13322         Added a stub for WebChromeClient::setToolTip
   13323 
   13324         Reviewed by Sam.
   13325 
   13326         * WebChromeClient.cpp:
   13327         * WebChromeClient.h:
   13328 
   13329 2007-07-04  Adam Roben  <aroben (a] apple.com>
   13330 
   13331         Initialize Settings::showsURLsInToolTips
   13332 
   13333         Reviewed by Sam.
   13334 
   13335         * WebView.cpp:
   13336         (WebView::updateWebCoreSettingsFromPreferences):
   13337 
   13338 2007-07-04  Adam Roben  <aroben (a] apple.com>
   13339 
   13340         Removed call to mouseDidMoveOverElement now that WebCore handles it
   13341 
   13342         Reviewed by Sam.
   13343 
   13344         * WebView.cpp:
   13345         (WebView::handleMouseEvent):
   13346 
   13347 2007-07-04  Adam Roben  <aroben (a] apple.com>
   13348 
   13349         Add WebChromeClient::mouseDidMoveOverElement
   13350 
   13351         This is not called yet.
   13352 
   13353         Reviewed by Sam.
   13354 
   13355         * WebChromeClient.cpp:
   13356         (WebChromeClient::mouseDidMoveOverElement):
   13357         * WebChromeClient.h:
   13358 
   13359 2007-07-03  Adam Roben  <aroben (a] apple.com>
   13360 
   13361         Merge the Windows and Mac localized strings and exceptions files
   13362 
   13363         Reviewed by Darin and Anders.
   13364 
   13365         * English.lproj/Localizable.strings: Added Mac strings.
   13366         * English.lproj/StringsNotToBeLocalized.txt: Removed.
   13367 
   13368 2007-06-27  Steve Falkenburg  <sfalken (a] apple.com>
   13369 
   13370         Turn on static code analysis.
   13371 
   13372         Reviewed by Oliver.
   13373         
   13374         Affects only folks that have Visual Studio Team Suite installed,
   13375         or who have replaced their compiler with the version shipping in the
   13376         Vista SDK.
   13377 
   13378         * CodeAnalysisConfig.h: Added.
   13379         * WebKit.vcproj/WebKit.vcproj:
   13380         * WebLocalizableStrings.cpp:
   13381         (createWebKitBundle):
   13382 
   13383 2007-06-27  Steve Falkenburg  <sfalken (a] apple.com>
   13384 
   13385         Prefast: Remove variable redefinitions in inner scopes.
   13386         
   13387         Reviewed by Ada.
   13388 
   13389         * WebDownload.cpp:
   13390         (WebDownload::didFinish):
   13391         * WebNotificationCenter.cpp:
   13392         (WebNotificationCenter::postNotificationInternal):
   13393         (WebNotificationCenter::removeObserver):
   13394 
   13395 2007-06-27  Steve Falkenburg  <sfaken (a] apple.com>
   13396 
   13397         Remove SEH block from around history plist read, since the underlying bug has been fixed.
   13398         
   13399         Reviewed by Darin Adler.
   13400 
   13401         * WebHistory.cpp:
   13402         (createHistoryListFromStream):
   13403 
   13404 2007-06-27  Steve Falkenburg  <sfalken (a] apple.com>
   13405 
   13406         Prefast: Fix misplaced parenthesis.
   13407         
   13408         Reviewed by Darin Adler.
   13409 
   13410         * WebView.cpp:
   13411         (core):
   13412 
   13413 2007-06-27  Steve Falkenburg  <sfalken (a] apple.com>
   13414 
   13415         Prefast: Add null check prior to writing into allocated BSTR.
   13416         
   13417         Reviewed by Darin Adler.
   13418 
   13419         * MarshallingHelpers.cpp:
   13420         (MarshallingHelpers::CFStringRefToBSTR):
   13421 
   13422 2007-06-27  Steve Falkenburg  <sfalken (a] apple.com>
   13423 
   13424         Prefast: Add error handling for SysAllocStringLen where the string length is determined by website content.
   13425 
   13426         Reviewed by Sam, Darin.
   13427                 
   13428         Allocation failure will result in a null dereference in this case,
   13429         so it isn't exploitable.
   13430 
   13431         * DefaultDownloadDelegate.cpp:
   13432         (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
   13433 
   13434 2007-06-20  Adam Roben  <aroben (a] apple.com>
   13435 
   13436         Land the new Inspector.
   13437 
   13438         Co-written with Tim Hatcher.
   13439 
   13440         Reviewed by Anders, Adele, Hyatt, and Sam.
   13441 
   13442         Implement the InspectorClient interface.
   13443 
   13444         * WebInspectorClient.cpp: Added.
   13445         (WebInspectorClient::WebInspectorClient):
   13446         (WebInspectorClient::~WebInspectorClient):
   13447         (WebInspectorClient::inspectorDestroyed):
   13448         (WebInspectorClient::createPage):
   13449         (WebInspectorClient::showWindow):
   13450         (WebInspectorClient::closeWindow):
   13451         (WebInspectorClient::windowVisible):
   13452         (WebInspectorClient::attachWindow):
   13453         (WebInspectorClient::detachWindow):
   13454         (WebInspectorClient::highlight):
   13455         (WebInspectorClient::hideHighlight):
   13456         (WebInspectorClient::inspectedURLChanged):
   13457         (WebInspectorClient::updateWindowTitle):
   13458         (WebInspectorClient::onSize):
   13459         (WebInspectorClient::onClose):
   13460         (WebInspectorClient::onWebViewWindowPosChanging):
   13461         (WebInspectorWndProc):
   13462         (SubclassedWebViewWndProc):
   13463         (registerWindowClass):
   13464         * WebInspectorClient.h: Added.
   13465 
   13466         Add an easier-to-see highlight.
   13467 
   13468         * WebNodeHighlight.cpp: Added.
   13469         (WebNodeHighlight::WebNodeHighlight):
   13470         (WebNodeHighlight::~WebNodeHighlight):
   13471         (WebNodeHighlight::highlight):
   13472         (WebNodeHighlight::hide):
   13473         (WebNodeHighlight::visible):
   13474         (WebNodeHighlight::updateWindow):
   13475         (WebNodeHighlight::removeSubclass):
   13476         (registerOverlayClass):
   13477         (OverlayWndProc):
   13478         (SubclassedWndProc):
   13479         * WebNodeHighlight.h: Added.
   13480 
   13481         WebView changes needed for the new Inspector.
   13482 
   13483         * WebView.cpp: Removed old inspectElement method now that this is
   13484         handled by WebCore.
   13485         (WebView::WebView):
   13486         (WebView::close):
   13487         (WebView::performContextMenuAction): Removed handling of the Inspect
   13488         Element context menu item.
   13489         (WebView::initWithFrame): Give each Page an InspectorClient to enable
   13490         the Inspector.
   13491         (WebView::setProhibitsMainFrameScrolling): Added.
   13492         * WebView.h:
   13493 
   13494         Updates needed for WebCore changes.
   13495 
   13496         * Interfaces/IWebUIDelegate.idl:
   13497         * WebContextMenuClient.cpp:
   13498         (WebContextMenuClient::getCustomMenuFromDefaultItems):
   13499         * WebContextMenuClient.h:
   13500         * WebCoreLocalizedStrings.cpp:
   13501 
   13502         Remove old Inspector code.
   13503 
   13504         * WebFrame.cpp:
   13505         * WebFrame.h:
   13506         * WebInspector/WebInspector.cpp: Removed.
   13507         * WebInspector/WebInspector.h: Removed.
   13508         * WebInspector/webInspector/Images/button.png: Removed.
   13509         * WebInspector/webInspector/Images/buttonDivider.png: Removed.
   13510         * WebInspector/webInspector/Images/buttonPressed.png: Removed.
   13511         * WebInspector/webInspector/Images/close.png: Removed.
   13512         * WebInspector/webInspector/Images/closePressed.png: Removed.
   13513         * WebInspector/webInspector/Images/downTriangle.png: Removed.
   13514         * WebInspector/webInspector/Images/menu.png: Removed.
   13515         * WebInspector/webInspector/Images/menuPressed.png: Removed.
   13516         * WebInspector/webInspector/Images/popup.png: Removed.
   13517         * WebInspector/webInspector/Images/popupPressed.png: Removed.
   13518         * WebInspector/webInspector/Images/resize.png: Removed.
   13519         * WebInspector/webInspector/Images/rightTriangle.png: Removed.
   13520         * WebInspector/webInspector/Images/scrollThumbBottom.png: Removed.
   13521         * WebInspector/webInspector/Images/scrollThumbMiddle.png: Removed.
   13522         * WebInspector/webInspector/Images/scrollTrackMiddle.png: Removed.
   13523         * WebInspector/webInspector/Images/upTriangle.png: Removed.
   13524         * WebInspector/webInspector/inspector.css: Removed.
   13525         * WebInspector/webInspector/inspector.html: Removed.
   13526         * WebInspector/webInspector/inspector.js: Removed.
   13527         * WebInspector/webInspector/scrollarea.js: Removed.
   13528         * WebInspector/webInspector/scrollbar.js: Removed.
   13529         * WebInspector/webInspector/treeoutline.js: Removed.
   13530         * WebInspector/webInspector/utilities.js: Removed.
   13531 
   13532         Build-fu:
   13533 
   13534         * WebKit.vcproj/WebKit.vcproj:
   13535 
   13536 2007-06-19  Dave Hyatt  <hyatt (a] apple.com>
   13537 
   13538         Fix for <rdar://problem/5022197>, backspace and ctrl+left arrow should go back.  Shift+backspace
   13539         and ctrl+right arrow should go forward.  Add support for these keybindings to Windows.
   13540        
   13541         Reviewed by ada
   13542 
   13543         * WebView.cpp:
   13544         (WebView::keyDown):
   13545 
   13546 2007-06-18  Dave Hyatt  <hyatt (a] apple.com>
   13547 
   13548         Let through more newline+modifier key combos in order to support Alt+Enter and Ctrl+Enter in the
   13549         SafariWin URL bar.
   13550        
   13551         Reviewed by mccullough
   13552 
   13553         * WebView.cpp:
   13554 
   13555 2007-06-18  Dave Hyatt  <hyatt (a] apple.com>
   13556 
   13557         Add support for horizontal mouse wheeling to Windows.  Shift+wheel is supported for horizontal
   13558         wheeling just like on OS X.  In addition, the WM_MOUSEHWHEEL event is now processed correctly so that
   13559         input devices like tilt wheels will now work.
   13560        
   13561         Reviewed by aroben
   13562 
   13563         * WebView.cpp:
   13564         (WebView::mouseWheel):
   13565         (WebViewWndProc):
   13566         * WebView.h:
   13567 
   13568 2007-06-17  Dave Hyatt  <hyatt (a] apple.com>
   13569 
   13570         Add support for Ctrl+Mouse Wheel to increase/decrease text zoom (Win32 only).
   13571        
   13572         Reviewed by aroben
   13573 
   13574         * WebView.cpp:
   13575         (WebView::mouseWheel):
   13576 
   13577 2007-06-09  Steve Falkenburg  <sfalken (a] apple.com>
   13578 
   13579         Reviewed by Adam.
   13580         
   13581         Workaround: <rdar://problem/5213266> schwab.com menu is ridiculously big.
   13582         
   13583         * WebView.cpp:
   13584         (WebView::userAgentForKURL): Add schwab to spoof list to fix gigantic menus.
   13585 
   13586 2007-06-08  Ada Chan  <adachan (a] apple.com>
   13587 
   13588         Reviewed by Hyatt, Adam, and Steve.
   13589 
   13590         Fixed WebView::selectedText to get the selected text out of the focused frame or main frame.
   13591 
   13592         * WebView.cpp:
   13593         (WebView::selectedText):
   13594 
   13595 2007-06-08  Adam Roben  <aroben (a] apple.com>
   13596 
   13597         Get rid of the Safari part of the query string used for Google searches.
   13598 
   13599         Reviewed by Steve and Ada.
   13600 
   13601         * WebContextMenuClient.cpp:
   13602         (WebContextMenuClient::searchWithGoogle):
   13603 
   13604 2007-06-08  Kevin McCullough  <kmccullough (a] apple.com>
   13605 
   13606         Reviewed by Kevin Decker, and Sam.
   13607 
   13608         - Added and updated licenses.
   13609 
   13610         * CFDictionaryPropertyBag.cpp:
   13611         * CFDictionaryPropertyBag.h:
   13612         * DOMCSSClasses.cpp:
   13613         * DOMCSSClasses.h:
   13614         * DOMEventsClasses.cpp:
   13615         * DOMEventsClasses.h:
   13616         * DOMHTMLClasses.cpp:
   13617         * DOMHTMLClasses.h:
   13618         * MarshallingHelpers.cpp:
   13619         * MarshallingHelpers.h:
   13620         * MemoryStream.cpp:
   13621         * MemoryStream.h:
   13622         * WebBackForwardList.cpp:
   13623         * WebBackForwardList.h:
   13624         * WebCache.cpp:
   13625         * WebCache.h:
   13626         * WebChromeClient.cpp:
   13627         * WebChromeClient.h:
   13628         * WebContextMenuClient.h:
   13629         * WebDataSource.h:
   13630         * WebEditorClient.cpp:
   13631         * WebEditorClient.h:
   13632         * WebElementPropertyBag.cpp:
   13633         * WebElementPropertyBag.h:
   13634         * WebHTMLRepresentation.h:
   13635         * WebHistory.cpp:
   13636         * WebHistory.h:
   13637         * WebIconDatabase.cpp:
   13638         * WebIconDatabase.h:
   13639         * WebKit.vcproj/auto-version.sh:
   13640         * WebKitClassFactory.h:
   13641         * WebKitDLL.h:
   13642         * WebLocalizableStrings.cpp:
   13643         * WebLocalizableStrings.h:
   13644         * WebMutableURLRequest.cpp:
   13645         * WebMutableURLRequest.h:
   13646         * WebNotification.cpp:
   13647         * WebNotification.h:
   13648         * WebNotificationCenter.cpp:
   13649         * WebNotificationCenter.h:
   13650         * WebPreferenceKeysPrivate.h:
   13651         * WebPreferences.cpp:
   13652         * WebPreferences.h:
   13653         * WebScriptObject.cpp:
   13654         * WebScriptObject.h:
   13655         * WebURLResponse.cpp:
   13656         * WebURLResponse.h:
   13657 
   13658 2007-06-07  Sam Weinig  <sam (a] webkit.org>
   13659 
   13660         Reviewed by Adam Roben.
   13661 
   13662         Make the inspector compile again.
   13663 
   13664         * WebInspector/WebInspector.cpp:
   13665         (setFocusedDOMNodeCallback):
   13666         (focusedDOMNodeCallback):
   13667         (setRootDOMNodeCallback):
   13668         (rootDOMNodeCallback):
   13669 
   13670 2007-06-06  Steve Falkenburg  <sfalken (a] apple.com>
   13671 
   13672         Reviewed by Adam.
   13673         
   13674         <rdar://problem/5255861> REGRESSION: Can't download Adobe Acrobat Reader and plug-in
   13675         <rdar://problem/5243655> Flash download page doesn't recognize Boomer
   13676         
   13677         Refine user agent spoofing code to only spoof Flash download as Firefox without spoofing all of adobe.com.
   13678         This fixes the Acrobat Reader download.
   13679 
   13680         * WebView.cpp:
   13681         (WebView::userAgentForKURL):
   13682 
   13683 2007-06-03  Steve Falkenburg  <sfalken (a] apple.com>
   13684 
   13685         Reviewed by Adam.
   13686         
   13687         <rdar://problem/5246665> Drop down lists are not drawn on volvocars.us
   13688 
   13689         * WebView.cpp:
   13690         (WebView::userAgentForKURL):
   13691 
   13692 2007-06-01  Kevin McCullough  <kmccullough (a] apple.com>
   13693 
   13694         Reviewed by Oliver.
   13695 
   13696         - Uncommenting some functions that should not be commented out.  I needed them for the Drosera port.
   13697 
   13698         * WebKit.vcproj/WebKit_debug.def:
   13699 
   13700 2007-06-01  Steve Falkenburg  <sfalken (a] apple.com>
   13701 
   13702         Reviewed by Kevin Decker.
   13703         
   13704         Remove unnecessary user agent spoofs, now that we have the final UA in place.
   13705         Added spoof to allow Flash downloads from adobe.com
   13706 
   13707         * WebView.cpp:
   13708         (WebView::userAgentForKURL):
   13709 
   13710 2007-05-30  Ada Chan  <adachan (a] apple.com>
   13711 
   13712         Reviewed by Steve.
   13713 
   13714         Implemented the mechanism to associate a WebPreferences instance with an identifier.
   13715 
   13716         * WebIconDatabase.cpp:
   13717         (WebIconDatabase::init): fixed a missing Release on standardPrefs by using COMPtr.
   13718         * WebPreferences.cpp:
   13719         (WebPreferences::getInstanceForIdentifier): implemented
   13720         (WebPreferences::setInstance): implemented
   13721         (WebPreferences::removeReferenceForIdentifier): if the WebPreferences going to be
   13722         released has only one ref left, remove it from the s_webPreferencesInstances dictionary.
   13723         (WebPreferences::load): don't need to reread in the default preferences if we have done so.
   13724         (WebPreferences::initWithIdentifier): update the m_identifier data member with the
   13725         passed in identifier string, and store the identifier to WebPreferences instance mapping in
   13726         s_webPreferencesInstances dictionary.
   13727         (WebPreferences::identifier): implemented
   13728         * WebPreferences.h:
   13729         * WebView.cpp:
   13730         (WebView::~WebView): removed the call to removeObserver for the WebPreferencesChangedNotification
   13731         since it's already done in close().
   13732         (WebView::close): the call to removeObserver now takes in the WebPreferences instance for the object -
   13733         this way the WebView is only notified when that particular WebPreferences instance changes.
   13734         (WebView::initWithFrame): the call to addObserver now takes in the WebPreferences instance for the object -
   13735         this way the WebView is only notified when that particular WebPreferences instance changes.
   13736         (WebView::setPreferences): implemented
   13737         (WebView::onNotify): used COMPtr to fix a missing release
   13738 
   13739 2007-05-29  Steve Falkenburg  <sfalken (a] apple.com>
   13740 
   13741         Reviewed by Darin Adler.
   13742         
   13743         Removed setPageCacheSize/pageCacheSize from IWebBackForwardList.
   13744 
   13745         * Interfaces/IWebBackForwardList.idl: Removed unnecessary methods.
   13746         * WebBackForwardList.cpp: Removed unnecessary methods.
   13747         * WebBackForwardList.h: Removed unnecessary methods.
   13748 
   13749 2007-05-29  Sam Weinig  <sam (a] webkit.org>
   13750 
   13751         Reviewed by Adam Roben.
   13752 
   13753         - Removes platform/win/NotImplemented.h because we have consolidated
   13754           the notImplemented() for all platforms in platform/NotImplemented.h
   13755         - Fixes remaining uses of old macro to use the new notImplemented() one.
   13756 
   13757         * WebChromeClient.cpp:
   13758         (WebChromeClient::createModalDialog):
   13759         (WebChromeClient::canRunModal):
   13760         (WebChromeClient::runModal):
   13761         (WebChromeClient::setScrollbarsVisible):
   13762         (WebChromeClient::scrollbarsVisible):
   13763         (WebChromeClient::setMenubarVisible):
   13764         (WebChromeClient::menubarVisible):
   13765         * WebContextMenuClient.cpp:
   13766         (WebContextMenuClient::lookUpInDictionary):
   13767         (WebContextMenuClient::speak):
   13768         (WebContextMenuClient::stopSpeaking):
   13769         * WebDownload.cpp:
   13770         (WebDownload::canResumeDownloadDecodedWithEncodingMIMEType):
   13771         (WebDownload::cancelAuthenticationChallenge):
   13772         (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
   13773         (WebDownload::useCredential):
   13774         (WebDownload::didReceiveAuthenticationChallenge):
   13775         * WebEditorClient.cpp:
   13776         (WebEditorClient::spellCheckerDocumentTag):
   13777         (WebEditorClient::shouldBeginEditing):
   13778         (WebEditorClient::shouldEndEditing):
   13779         (WebEditorClient::didBeginEditing):
   13780         (WebEditorClient::respondToChangedContents):
   13781         (WebEditorClient::respondToChangedSelection):
   13782         (WebEditorClient::didEndEditing):
   13783         (WebEditorClient::didWriteSelectionToPasteboard):
   13784         (WebEditorClient::didSetSelectionTypesForPasteboard):
   13785         (WebEditorClient::shouldDeleteRange):
   13786         (WebEditorClient::shouldInsertNode):
   13787         (WebEditorClient::shouldInsertText):
   13788         (WebEditorClient::shouldApplyStyle):
   13789         (WebEditorClient::shouldChangeTypingStyle):
   13790         (WebEditorClient::webViewDidChangeTypingStyle):
   13791         (WebEditorClient::webViewDidChangeSelection):
   13792         (WebEditorClient::shouldShowDeleteInterface):
   13793         (WebEditorClient::shouldChangeSelectedRange):
   13794         * WebFrame.cpp:
   13795         (WebFrame::makeRepresentation):
   13796         (WebFrame::forceLayout):
   13797         (WebFrame::forceLayoutForNonHTML):
   13798         (WebFrame::setCopiesOnScroll):
   13799         (WebFrame::detachedFromParent1):
   13800         (WebFrame::detachedFromParent2):
   13801         (WebFrame::detachedFromParent3):
   13802         (WebFrame::detachedFromParent4):
   13803         (WebFrame::loadedFromCachedPage):
   13804         (WebFrame::dispatchDidLoadMainResource):
   13805         (WebFrame::revertToProvisionalState):
   13806         (WebFrame::clearUnarchivingState):
   13807         (WebFrame::setMainFrameDocumentReady):
   13808         (WebFrame::willChangeTitle):
   13809         (WebFrame::didChangeTitle):
   13810         (WebFrame::finalSetupForReplace):
   13811         (WebFrame::setDefersLoading):
   13812         (WebFrame::isArchiveLoadPending):
   13813         (WebFrame::cancelPendingArchiveLoad):
   13814         (WebFrame::clearArchivedResources):
   13815         (WebFrame::canShowMIMEType):
   13816         (WebFrame::representationExistsForURLScheme):
   13817         (WebFrame::generatedMIMETypeForURLScheme):
   13818         (WebFrame::restoreViewState):
   13819         (WebFrame::provisionalLoadStarted):
   13820         (WebFrame::shouldTreatURLAsSameAsCurrent):
   13821         (WebFrame::addHistoryItemForFragmentScroll):
   13822         (WebFrame::didFinishLoad):
   13823         (WebFrame::prepareForDataSourceReplacement):
   13824         (WebFrame::setDocumentViewFromCachedPage):
   13825         (WebFrame::shouldGoToHistoryItem):
   13826         (WebFrame::saveViewStateToItem):
   13827         (WebFrame::saveDocumentViewToCachedPage):
   13828         (WebFrame::canCachePage):
   13829         (WebFrame::setMainDocumentError):
   13830         (WebFrame::cannotShowURLError):
   13831         (WebFrame::cannotShowMIMETypeError):
   13832         (WebFrame::fileDoesNotExistError):
   13833         (WebFrame::willUseArchive):
   13834         (WebFrame::dispatchDidLoadResourceFromMemoryCache):
   13835         (WebFrame::startDownload):
   13836         (WebFrame::overrideMediaType):
   13837         (WebFrame::addInspector):
   13838         (WebFrame::removeInspector):
   13839 
   13840 2007-05-25  Oliver Hunt  <oliver (a] apple.com>
   13841 
   13842         Reviewed by Hyatt.
   13843         
   13844         Fix rdar://problem/5212399 <object> with PNG src rendered as image document (causes Acid2 to fail)
   13845 
   13846         * WebFrame.cpp:
   13847         (WebFrame::objectContentType):
   13848 
   13849 2007-05-25  Geoffrey Garen  <ggaren (a] apple.com>
   13850 
   13851         Build fix -- forgot to commit a little bit in my last patch.
   13852 
   13853 2007-05-25  Geoffrey Garen  <ggaren (a] apple.com>
   13854 
   13855         Reviewed by Darin Adler, Adam Roben.
   13856 
   13857         Fixed <rdar://problem/5055182> The page cache has no global cap.
   13858         
   13859         The main WebKit changes are:
   13860             1. Gutted IWebBackForwardList::setPageCacheSize and IWebBackForwardList:: 
   13861             pageCacheSize because they're deprecated on Mac now. I didn't remove
   13862             them, though, because doing so can cause COM badness.
   13863             
   13864             2. Added IWebPreferences::setUsesPageCache IWebPreferences:: 
   13865             usesPageCache because that's the new Mac API. I added them to the end
   13866             of IWebPreferences to avoid COM badness.
   13867             
   13868             3. Centralized calculation of object cache and page cache sizes inside
   13869             WebPreferences. 
   13870             
   13871             Changed our old behavior of reading a preference and applying a fudge 
   13872             factor with a new behavior of just using the preference directly. The 
   13873             old behavior was confusing and often inappropriate. (For example, if 
   13874             you set a page cache size of 100, a 256MB machine would somewhat 
   13875             arbitrarily reduce that number to 98.)
   13876             
   13877 2007-05-24  Geoffrey Garen  <ggaren (a] apple.com>
   13878 
   13879         Reviewed by Darin Adler.
   13880 
   13881         Fixed a bug with Settings where a number of different objects held bare 
   13882         Settings* data members, even though the Page owns the Settings object and 
   13883         deletes it upon destruction.
   13884         
   13885         Added NULL checks since the Page can be deleted before the frame/document.
   13886 
   13887 2007-05-23  Steve Falkenburg  <sfalken (a] apple.com>
   13888 
   13889         Added IWebFramePrivate::isDescendantOfFrame.
   13890 
   13891         * Interfaces/IWebFramePrivate.idl:
   13892         * WebFrame.cpp:
   13893         (WebFrame::isDescendantOfFrame):
   13894         * WebFrame.h:
   13895 
   13896 2007-05-23  Steve Falkenburg  <sfalken (a] apple.com>
   13897 
   13898         Build fix.  Fix continuous rebuilding of Interfaces by turning off Generate Type Library for every IDL except WebKit.idl.
   13899 
   13900         * WebKit.vcproj/Interfaces.vcproj:
   13901 
   13902 2007-05-22  Alice Liu  <alice.liu (a] apple.com>
   13903 
   13904         Reviewed by Oliver.
   13905         
   13906         Enabling smartInsertDelete to resolve 
   13907         <rdar://problem/5082891> editing/deleting/smart-delete-003.html (and 004) fail
   13908         
   13909         * Interfaces/IWebView.idl:
   13910         * WebEditorClient.cpp:
   13911         (WebEditorClient::smartInsertDeleteEnabled):
   13912         * WebView.cpp:
   13913         (WebView::WebView):
   13914         (WebView::initWithFrame):
   13915         (WebView::toggleSmartInsertDelete):
   13916         (WebView::setSmartInsertDeleteEnabled):
   13917         (WebView::smartInsertDeleteEnabled):
   13918         * WebView.h:
   13919 
   13920 2007-05-22  Justin Garcia  <justin.garcia (a] apple.com>
   13921 
   13922         Reviewed by oliver
   13923         
   13924         Build fix.
   13925 
   13926         * WebView.cpp:
   13927         (WebView::clearFocusNode):
   13928 
   13929 2007-05-22  Steve Falkenburg  <sfalken (a] apple.com>
   13930 
   13931         Reviewed by Ada.
   13932         
   13933         Added 3 view-related methods to IWebFramePrivate.
   13934 
   13935         * Interfaces/IWebFramePrivate.idl: Added 3 new methods
   13936         * WebFrame.cpp:
   13937         (WebFrame::hasScrollBars): Added.
   13938         (WebFrame::contentBounds): Added.
   13939         (WebFrame::frameBounds): Added.
   13940         * WebFrame.h:
   13941 
   13942 2007-05-21  Steve Falkenburg  <sfalken (a] apple.com>
   13943 
   13944         Reviewed by Adam, Ada.
   13945         
   13946         Added IWebFramePrivate::size().
   13947 
   13948         * Interfaces/IWebFramePrivate.idl: Added size.
   13949         * WebFrame.cpp:
   13950         (WebFrame::size): Added.
   13951         * WebFrame.h: Added size.
   13952 
   13953 2007-05-21  Ada Chan  <adachan (a] apple.com>
   13954 
   13955         Reviewed by Steve.
   13956 
   13957         Added IWebViewPrivate::loadBackForwardListFromOtherView().  It replicates the backforward
   13958         list from another webview and loads that in the current webview.
   13959 
   13960         * Interfaces/IWebViewPrivate.idl:
   13961         * WebView.cpp:
   13962         (WebView::loadBackForwardListFromOtherView):
   13963         * WebView.h:
   13964 
   13965 2007-05-18  Steve Falkenburg  <sfalken (a] apple.com>
   13966 
   13967         Build-related fix: stamp version resource properly.
   13968 
   13969         * WebKit.vcproj/WebKit.rc: Fix version resource
   13970 
   13971 2007-05-18  Adam Roben  <aroben (a] apple.com>
   13972 
   13973         Build fix after r21555.
   13974 
   13975         * WebView.cpp:
   13976 
   13977 2007-05-17  Ada Chan  <adachan (a] apple.com>
   13978 
   13979         Reviewed by Steve.
   13980         
   13981         Implemented IWebHTTPURLResponse::localizedStringForStatusCode().
   13982 
   13983         * English.lproj/Localizable.strings: new http status strings
   13984         * Interfaces/WebKit.idl: added code to create WebURLResponse instances
   13985         * WebKitClassFactory.cpp:
   13986         (WebKitClassFactory::CreateInstance): ditto
   13987         * WebKitDLL.cpp: ditto
   13988         * WebURLResponse.cpp:
   13989         (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode): return the description
   13990         text for the given status code
   13991         (WebURLResponse::createInstance): create a general instance of web url response.
   13992         (WebURLResponse::localizedStringForStatusCode):
   13993         * WebURLResponse.h:
   13994 
   13995 2007-05-17  Ada Chan  <adachan (a] apple.com>
   13996 
   13997         Reviewed by Steve.
   13998         
   13999         Changed the context menu title "Search in Google" to "Search with Google".
   14000 
   14001         * English.lproj/Localizable.strings:
   14002         * WebCoreLocalizedStrings.cpp:
   14003         (WebCore::contextMenuItemTagSearchWeb):
   14004 
   14005 2007-05-17  Anders Carlsson  <andersca (a] apple.com>
   14006 
   14007         Fix build.
   14008         
   14009         * WebFrame.cpp:
   14010         (WebFrame::loadURLIntoChild):
   14011 
   14012 2007-05-15  Steve Falkenburg  <sfalken (a] apple.com>
   14013 
   14014         Reviewed by Darin, Oliver.
   14015         
   14016         <rdar://problem/4967360> Need to detect damaged installs, alert the user to reinstall, and exit
   14017 
   14018         * WebLocalizableStrings.cpp:
   14019         (WebLocalizedString): Make failure to load a localized string slightly less fatal
   14020 
   14021 2007-05-15  Steve Falkenburg  <sfalken (a] apple.com>
   14022 
   14023         Reviewed by Darin Adler.
   14024         
   14025         <rdar://problem/4956541> Need to implement preference for how much History is maintained
   14026 
   14027         * WebHistory.cpp:
   14028         (WebHistory::ageLimitDate): Remove extra +30 from history age in days.
   14029 
   14030 2007-05-14  Anders Carlsson  <andersca (a] apple.com>
   14031 
   14032         Reviewed by Darin Adler.
   14033 
   14034         Pass an empty property bag when constructing the WebError, the code in Safari relies on having a user info bag.
   14035         
   14036         * WebFrame.cpp:
   14037         (WebFrame::createJavaAppletWidget):
   14038 
   14039 2007-05-14  Anders Carlsson  <andersca (a] apple.com>
   14040 
   14041         Reviewed by Antti.
   14042 
   14043         Report an error to the resource load delegate if the Java plugin can't be loaded.
   14044         
   14045         * WebFrame.cpp:
   14046         (WebFrame::createJavaAppletWidget):
   14047 
   14048 2007-05-11  Steve Falkenburg  <sfalken (a] apple.com>
   14049 
   14050         Reviewed by Darin, Ada.
   14051 
   14052         WebKit DCOM compatibility.
   14053         When a WebKit hosting app calls RunAsLocalServer, the class object for CLSID_WebDebugProgram
   14054         is registered to allow creation across processes.  This is for future compatibility with
   14055         Drosera.
   14056 
   14057         Added new exported function: RunAsLocalServer.
   14058         This exposes WebKit inside the running exe as a LocalServer32 (COM server), which
   14059         will allow Drosera to connect to it via DCOM.
   14060 
   14061         We use the DCOM Universal Marshaller from oleaut32.dll, which performs marshalling
   14062         based on type libraries, so as part of this change, I've done some work on making our
   14063         interfaces compatible with this marshaller.
   14064         
   14065         Updated for compatibility w/ COM automation, and fixed up our type library.        
   14066         Added type library registration/unregistration code.
   14067         Marked methods not compatible w/ automation/marshalling as [local].
   14068         
   14069         As a side-effect, with these changes, the .NET tlbimp tool can create a .NET interop
   14070         assembly to theoretically allow WebKit to be invoked from .NET apps.  I haven't
   14071         tried this.  It could end up being useful to drive API testing.
   14072         
   14073         To test, I wrote a small app that calls:
   14074         ::CoCreateInstance(CLSID_IWebDebugProgram, 0, CLSCTX_LOCAL_SERVER, IID_IUnknown, (void**)&viewUnknown);
   14075         Using this instantiated class, I'm able to iterate the exisitng webviews and retrieve their
   14076         source, title, URL, etc.
   14077         
   14078         * DOMCoreClasses.cpp:
   14079         (DOMElement::isEqual):
   14080         * DOMCoreClasses.h:
   14081         * DefaultDownloadDelegate.cpp:
   14082         (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
   14083         * DefaultDownloadDelegate.h:
   14084         * Interfaces/DOMCSS.idl:
   14085         * Interfaces/DOMCore.idl:
   14086         * Interfaces/DOMEvents.idl:
   14087         * Interfaces/DOMExtensions.idl:
   14088         * Interfaces/DOMHTML.idl:
   14089         * Interfaces/DOMPrivate.idl:
   14090         * Interfaces/DOMRange.idl:
   14091         * Interfaces/DOMWindow.idl:
   14092         * Interfaces/IWebArchive.idl:
   14093         * Interfaces/IWebAttributedString.idl: Removed.
   14094         * Interfaces/IWebBackForwardList.idl:
   14095         * Interfaces/IWebBackForwardListPrivate.idl:
   14096         * Interfaces/IWebCache.idl:
   14097         * Interfaces/IWebDataSource.idl:
   14098         * Interfaces/IWebDebugProgram.idl: Added.
   14099         * Interfaces/IWebDocument.idl:
   14100         * Interfaces/IWebDownload.idl:
   14101         * Interfaces/IWebEditingDelegate.idl:
   14102         * Interfaces/IWebError.idl:
   14103         * Interfaces/IWebFormDelegate.idl:
   14104         * Interfaces/IWebFrame.idl:
   14105         * Interfaces/IWebFrameLoadDelegate.idl:
   14106         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
   14107         * Interfaces/IWebFramePrivate.idl:
   14108         * Interfaces/IWebFrameView.idl:
   14109         * Interfaces/IWebHTMLRepresentation.idl:
   14110         * Interfaces/IWebHTTPURLResponse.idl:
   14111         * Interfaces/IWebHistory.idl:
   14112         * Interfaces/IWebHistoryItem.idl:
   14113         * Interfaces/IWebHistoryItemPrivate.idl:
   14114         * Interfaces/IWebIconDatabase.idl:
   14115         * Interfaces/IWebJavaScriptCollector.idl:
   14116         * Interfaces/IWebKitStatistics.idl:
   14117         * Interfaces/IWebMutableURLRequest.idl:
   14118         * Interfaces/IWebNotification.idl:
   14119         * Interfaces/IWebNotificationCenter.idl:
   14120         * Interfaces/IWebNotificationObserver.idl:
   14121         * Interfaces/IWebPolicyDelegate.idl:
   14122         * Interfaces/IWebPreferences.idl:
   14123         * Interfaces/IWebResource.idl:
   14124         * Interfaces/IWebResourceLoadDelegate.idl:
   14125         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
   14126         * Interfaces/IWebScriptObject.idl:
   14127         * Interfaces/IWebScrollBarDelegatePrivate.idl:
   14128         * Interfaces/IWebScrollBarPrivate.idl:
   14129         * Interfaces/IWebUIDelegate.idl:
   14130         * Interfaces/IWebUIDelegatePrivate.idl:
   14131         * Interfaces/IWebURLAuthenticationChallenge.idl:
   14132         * Interfaces/IWebURLRequest.idl:
   14133         * Interfaces/IWebURLResponse.idl:
   14134         * Interfaces/IWebUndoManager.idl:
   14135         * Interfaces/IWebUndoTarget.idl:
   14136         * Interfaces/IWebView.idl:
   14137         * Interfaces/IWebViewPrivate.idl:
   14138         * Interfaces/WebKit.idl:
   14139         * WebContextMenuClient.cpp:
   14140         (WebContextMenuClient::getCustomMenuFromDefaultItems):
   14141         * WebDataSource.cpp:
   14142         (WebDataSource::subresources):
   14143         * WebDataSource.h:
   14144         * WebDebugProgram.cpp: Added.
   14145         (EnumViews::EnumViews):
   14146         (EnumViews::QueryInterface):
   14147         (EnumViews::AddRef):
   14148         (EnumViews::Release):
   14149         (EnumViews::Next):
   14150         (EnumViews::Skip):
   14151         (EnumViews::Reset):
   14152         (EnumViews::Clone):
   14153         (WebDebugProgram::WebDebugProgram):
   14154         (WebDebugProgram::~WebDebugProgram):
   14155         (WebDebugProgram::createInstance):
   14156         (WebDebugProgram::QueryInterface):
   14157         (WebDebugProgram::AddRef):
   14158         (WebDebugProgram::Release):
   14159         (WebDebugProgram::viewAdded):
   14160         (WebDebugProgram::viewRemoved):
   14161         (WebDebugProgram::attach):
   14162         (WebDebugProgram::detach):
   14163         (WebDebugProgram::statistics):
   14164         (WebDebugProgram::webViews):
   14165         * WebDebugProgram.h: Added.
   14166         * WebDropSource.cpp:
   14167         (generateMouseEvent):
   14168         * WebError.cpp:
   14169         (WebError::localizedRecoveryOptions):
   14170         * WebError.h:
   14171         * WebFrame.cpp:
   14172         (EnumChildFrames::EnumChildFrames):
   14173         (EnumChildFrames::QueryInterface):
   14174         (EnumChildFrames::AddRef):
   14175         (EnumChildFrames::Release):
   14176         (EnumChildFrames::Next):
   14177         (EnumChildFrames::Skip):
   14178         (EnumChildFrames::Reset):
   14179         (EnumChildFrames::Clone):
   14180         (WebFrame::childFrames):
   14181         (WebFrame::initWithWebFrameView):
   14182         * WebFrame.h:
   14183         * WebHistoryItem.cpp:
   14184         (WebHistoryItem::icon):
   14185         * WebHistoryItem.h:
   14186         * WebIconDatabase.cpp:
   14187         (WebIconDatabase::iconForURL):
   14188         (WebIconDatabase::defaultIconWithSize):
   14189         * WebIconDatabase.h:
   14190         * WebInspector/WebInspector.cpp:
   14191         (WebInspector::WebInspector):
   14192         (WebInspector::show):
   14193         (WebInspector::onDestroy):
   14194         (WebInspector::onSize):
   14195         * WebInspector/WebInspector.h:
   14196         (WebInspector::didReceiveIcon):
   14197         (WebInspector::webViewFirstResponder):
   14198         (WebInspector::makeFirstResponder):
   14199         (WebInspector::contextMenuItemsForElement):
   14200         (WebInspector::trackCustomPopupMenu):
   14201         (WebInspector::addCustomMenuDrawingData):
   14202         (WebInspector::cleanUpCustomMenuDrawingData):
   14203         * WebKit.vcproj/Interfaces.vcproj:
   14204         * WebKit.vcproj/WebKit.def:
   14205         * WebKit.vcproj/WebKit.vcproj:
   14206         * WebKit.vcproj/WebKitGUID.vcproj:
   14207         * WebKit.vcproj/WebKit_debug.def:
   14208         * WebKitClassFactory.cpp:
   14209         (WebKitClassFactory::CreateInstance):
   14210         * WebKitDLL.cpp:
   14211         (DllGetClassObject):
   14212         (DllUnregisterServer):
   14213         (DllRegisterServer):
   14214         (RunAsLocalServer):
   14215         * WebKitStatistics.cpp:
   14216         * WebScrollBar.cpp:
   14217         (WebScrollBar::init):
   14218         (WebScrollBar::handleMouseEvent):
   14219         * WebScrollBar.h:
   14220         * WebView.cpp:
   14221         (WebView::WebView):
   14222         (WebView::~WebView):
   14223         (WebView::handleContextMenuEvent):
   14224         (WebView::onInitMenuPopup):
   14225         (WebView::onUninitMenuPopup):
   14226         (WebViewWndProc):
   14227         (WebView::QueryInterface):
   14228         (WebView::MIMETypesShownAsHTML):
   14229         (WebView::setHostWindow):
   14230         (WebView::hostWindow):
   14231         (WebView::generateSelectionImage):
   14232         (WebView::pasteboardTypesForSelection):
   14233         (WebView::pasteboardTypesForElement):
   14234         (WebView::mainFrameIcon):
   14235         (WebView::canMakeTextStandardSize):
   14236         (WebView::viewWindow):
   14237         * WebView.h:
   14238 
   14239 2007-05-11  Adele Peterson  <adele (a] apple.com>
   14240 
   14241         Build fix.
   14242 
   14243         * WebView.cpp: (WebView::selectionImageRect):
   14244 
   14245 2007-05-10  Geoffrey Garen  <ggaren (a] apple.com>
   14246 
   14247         Reviewed by Darin Adler.
   14248         
   14249         "IconDatabase::sharedIconDatabase()" => "iconDatabase()" for terseness.
   14250 
   14251 2007-05-10  Maciej Stachowiak  <mjs (a] apple.com>
   14252 
   14253         Reviewed by Oliver.
   14254 
   14255         - WebKitWin part of fix for:
   14256         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
   14257         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
   14258 
   14259         The basic approach is to have Frames start out containing an empty document instead of absolutely nothing,
   14260         so there is no need to initialize them on demand. Various side effects of that cause both of these bugs.
   14261         
   14262         However, this caused many regressions so I had to fix the fallout.
   14263 
   14264         * WebFrame.cpp:
   14265         (WebFrame::createFrame): init frame
   14266         * WebView.cpp:
   14267         (WebView::initWithFrame): init frame
   14268         (WebView::stringByEvaluatingJavaScriptFromString): don't create empty document
   14269 
   14270 2007-05-08  Steve Falkenburg  <sfalken (a] apple.com>
   14271 
   14272         Reviewed by Darin, Oliver.
   14273         
   14274         Added UI_STRING versions of localized WebCore strings.
   14275 
   14276         * English.lproj/Localizable.strings: Updated.
   14277         * English.lproj/StringsNotToBeLocalized.txt: Updated.
   14278         * WebCoreLocalizedStrings.cpp: Added.
   14279         (WebCore::searchableIndexIntroduction):
   14280         (WebCore::submitButtonDefaultLabel):
   14281         (WebCore::inputElementAltText):
   14282         (WebCore::resetButtonDefaultLabel):
   14283         (WebCore::fileButtonChooseFileLabel):
   14284         (WebCore::fileButtonNoFileSelectedLabel):
   14285         (WebCore::contextMenuItemTagOpenLinkInNewWindow):
   14286         (WebCore::contextMenuItemTagDownloadLinkToDisk):
   14287         (WebCore::contextMenuItemTagCopyLinkToClipboard):
   14288         (WebCore::contextMenuItemTagOpenImageInNewWindow):
   14289         (WebCore::contextMenuItemTagDownloadImageToDisk):
   14290         (WebCore::contextMenuItemTagCopyImageToClipboard):
   14291         (WebCore::contextMenuItemTagOpenFrameInNewWindow):
   14292         (WebCore::contextMenuItemTagCopy):
   14293         (WebCore::contextMenuItemTagGoBack):
   14294         (WebCore::contextMenuItemTagGoForward):
   14295         (WebCore::contextMenuItemTagStop):
   14296         (WebCore::contextMenuItemTagReload):
   14297         (WebCore::contextMenuItemTagCut):
   14298         (WebCore::contextMenuItemTagPaste):
   14299         (WebCore::contextMenuItemTagNoGuessesFound):
   14300         (WebCore::contextMenuItemTagIgnoreSpelling):
   14301         (WebCore::contextMenuItemTagLearnSpelling):
   14302         (WebCore::contextMenuItemTagSearchWeb):
   14303         (WebCore::contextMenuItemTagLookUpInDictionary):
   14304         (WebCore::contextMenuItemTagOpenLink):
   14305         (WebCore::contextMenuItemTagIgnoreGrammar):
   14306         (WebCore::contextMenuItemTagSpellingMenu):
   14307         (WebCore::contextMenuItemTagCheckSpelling):
   14308         (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
   14309         (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
   14310         (WebCore::contextMenuItemTagFontMenu):
   14311         (WebCore::contextMenuItemTagBold):
   14312         (WebCore::contextMenuItemTagItalic):
   14313         (WebCore::contextMenuItemTagUnderline):
   14314         (WebCore::contextMenuItemTagOutline):
   14315         (WebCore::contextMenuItemTagWritingDirectionMenu):
   14316         (WebCore::contextMenuItemTagDefaultDirection):
   14317         (WebCore::contextMenuItemTagLeftToRight):
   14318         (WebCore::contextMenuItemTagRightToLeft):
   14319         (WebCore::contextMenuItemTagShowSpellingPanel):
   14320         (WebCore::searchMenuNoRecentSearchesText):
   14321         (WebCore::searchMenuRecentSearchesText):
   14322         (WebCore::searchMenuClearRecentSearchesText):
   14323         (WebCore::AXWebAreaText):
   14324         (WebCore::AXLinkText):
   14325         (WebCore::AXListMarkerText):
   14326         (WebCore::AXImageMapText):
   14327         (WebCore::AXHeadingText):
   14328         * WebKit.vcproj/WebKit.vcproj: Added WebCoreLocalizedStrings.cpp, reorganized other files a bit.
   14329 
   14330 2007-05-08  Steve Falkenburg  <sfalken (a] apple.com>
   14331 
   14332         Reviewed by Ada.
   14333         
   14334         Update editing delegate
   14335 
   14336         * Interfaces/IWebEditingDelegate.idl:
   14337         * WebEditorClient.cpp:
   14338         (WebEditorClient::updateSpellingUIWithGrammarString):
   14339         * WebEditorClient.h:
   14340 
   14341 2007-05-07  Steve Falkenburg  <sfalken (a] apple.com>
   14342 
   14343         Reviewed by Darin Adler.
   14344 
   14345         Fix typo in prefs code.       
   14346 
   14347         * WebPreferences.cpp:
   14348         (WebPreferences::preferencesPath): Fix typo in error handling.
   14349 
   14350 2007-05-04  Steve Falkenburg  <sfalken (a] apple.com>
   14351 
   14352         Reviewed by Darin Adler.
   14353         
   14354         Fix crash when using "check spelling while typing".
   14355 
   14356         * WebView.cpp:
   14357         (WebView::preflightSpellChecker): Set delegate static global for use in spell checker init.
   14358 
   14359 2007-05-03  Steve Falkenburg  <sfalken (a] apple.com>
   14360 
   14361         Reviewed by Ada, Oliver.
   14362         
   14363         Checkpoint:
   14364         <rdar://problem/4602372> Spelling
   14365         <rdar://problem/4769763> Spell checking engine support        
   14366 
   14367         * Interfaces/IWebEditingDelegate.idl: Add userDescription parameter.
   14368         * WebEditorClient.cpp:
   14369         (WebEditorClient::updateSpellingUIWithGrammarString): Set user description for spelling errors.
   14370         * WebEditorClient.h:
   14371         * WebView.cpp:
   14372         (WebView::replaceSelectionWithText): Implemented.
   14373 
   14374 2007-05-01  Steve Falkenburg  <sfalken (a] apple.com>
   14375 
   14376         Reviewed by Oliver.
   14377         
   14378         Fix usage errors in COM enumeration.
   14379 
   14380         * WebEditorClient.cpp:
   14381         (WebEditorClient::checkGrammarOfString): Call Next correctly.
   14382         (WebEditorClient::getGuessesForWord): Call Next correctly.
   14383 
   14384 2007-04-30  Alice Liu  <alice.liu (a] apple.com>
   14385 
   14386         Reviewed by Adam.
   14387 
   14388         Fixed <rdar://5126201> crash closing tab when the two following tabs are empty.
   14389         Basically this fix involved one thing, which lead to another thing.  First, the crash
   14390         was fixed by moving the call to webView->close from SearchableWebView::onDestroy to
   14391         WebViewWndProc when WM_DESTROY message is processed.  We now want only WebKit handling
   14392         the closure of a WebView, so all calls to WebView::close have been removed, save for
   14393         the one call in WebViewWndProc.
   14394 
   14395         * Interfaces/IWebView.idl:
   14396         removed close() from public interface
   14397         * WebInspector/WebInspector.cpp:
   14398         (WebInspector::onDestroy):
   14399         removed call to close()
   14400         * WebView.cpp:
   14401         (WebView::~WebView):
   14402         move the deleting of m_page down a bit to avoid a crash 
   14403         (WebView::close):
   14404         changed from public API to just a public function
   14405         (WebViewWndProc):
   14406         webView->close() was moved here from SearchableWebView::onDestroy
   14407         * WebView.h:
   14408         changed close() to a public function not exposed in the WebKit interface
   14409 
   14410 2007-04-24  Steve Falkenburg  <sfalken (a] apple.com>
   14411 
   14412         Reviewed by Darin, Oliver.
   14413         
   14414         Checkpoint:
   14415         <rdar://problem/4602372> Spelling
   14416         <rdar://problem/4769763> Spell checking engine support
   14417 
   14418         * WebEditorClient.cpp:
   14419         (WebEditorClient::isContinuousSpellCheckingEnabled):
   14420         (WebEditorClient::toggleContinuousSpellChecking):
   14421         (WebEditorClient::isGrammarCheckingEnabled):
   14422         (WebEditorClient::toggleGrammarChecking):
   14423         (initViewSpecificSpelling):
   14424         (WebEditorClient::spellCheckerDocumentTag):
   14425         (WebEditorClient::ignoreWordInSpellDocument):
   14426         (WebEditorClient::learnWord):
   14427         (WebEditorClient::checkSpellingOfString):
   14428         (WebEditorClient::checkGrammarOfString):
   14429         (WebEditorClient::udpateSpellingUIWithGrammarString):
   14430         (WebEditorClient::updateSpellingUIWithMisspelledWord):
   14431         (WebEditorClient::showSpellingUI):
   14432         (WebEditorClient::spellingUIIsShowing):
   14433         (WebEditorClient::getGuessesForWord):
   14434         * WebPreferences.h:
   14435 
   14436 2007-04-20  Ada Chan  <adachan (a] apple.com>
   14437 
   14438         Reviewed by Steve and Oliver.
   14439         
   14440         Implemented some DOM methods I need to support password input and textarea in 
   14441         WebView-based edit fields in the app.
   14442 
   14443         * DOMCSSClasses.cpp:
   14444         (DOMCSSStyleDeclaration::setCssText): added implementation
   14445         * DOMCoreClasses.cpp:
   14446         (DOMDocument::createElement): ditto
   14447         * DOMHTMLClasses.cpp:
   14448         (DOMHTMLInputElement::setType): ditto
   14449         (DOMHTMLTextAreaElement::value): ditto
   14450         (DOMHTMLTextAreaElement::setValue): ditto
   14451         (DOMHTMLTextAreaElement::select): ditto
   14452         * Interfaces/IWebUIDelegatePrivate.idl: added a new method webViewGetDlgCode() that client
   14453         can implement if it wants to handle keypresses themselves rather than letting the system 
   14454         interpret certain keys as dialog box navigation keys.
   14455         * WebKitGraphics.cpp:
   14456         (DrawTextAtPoint): handle drawing text as password
   14457         * WebKitGraphics.h:
   14458         * WebView.cpp:
   14459         Added Copy, Cut, and Paste to the keyEntries.
   14460         (WebViewWndProc): added code to handle WM_GETDLGCODE.  Calls IWebUIDelegatePrivate::webViewGetDlgCode()
   14461         if available to see if the client wants to handle it.
   14462 
   14463 2007-04-18  Adam Roben  <aroben (a] apple.com>
   14464 
   14465         Reviewed by Steve.
   14466 
   14467         Make development builds use the same CLSIDs as archive builds, and get
   14468         rid of the now-unused set of CLSIDs.
   14469 
   14470         * Interfaces/WebKit.idl: Use the archive build CLSIDs if we're not
   14471         doing a production build.
   14472         * WebKit.vcproj/Interfaces.vcproj: Don't define __ARCHIVE_BUILD__
   14473         because it's not used anymore.
   14474 
   14475 2007-04-18  Adam Roben  <aroben (a] apple.com>
   14476 
   14477         Reviewed by Steve.
   14478 
   14479         Use different ProgIDs for production builds.
   14480 
   14481         * ProgIDMacros.h: Added.
   14482         * WebKit.vcproj/WebKit.vcproj: Defined the __BUILDBOT__ macro and added
   14483         a new header which is copied in the post-build step.
   14484         * WebKitDLL.cpp: Macro-ized the declaration of the registry keys to
   14485         install.
   14486 
   14487 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14488 
   14489         Rubberstamped by Steve.
   14490 
   14491         * WebKit.vcproj/WebKit.sln: Removed the Debug_Internal configuration.
   14492 
   14493 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14494 
   14495         Reviewed by Steve.
   14496 
   14497         Removed the pre-link build step, and removed registration of WebKit.dll
   14498         from the post-build step.
   14499 
   14500         * WebKit.vcproj/WebKit.vcproj:
   14501 
   14502 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14503 
   14504         * WebKit.vcproj/WebKit.sln: Added WTF to the solution.
   14505 
   14506 2007-04-16  Steve Falkenburg  <sfalken (a] apple.com>
   14507 
   14508         Reviewed by Adam.
   14509         
   14510         Visual Studio Express compatibility for WebKit build (except for DRT)
   14511 
   14512         * WebDragClient.cpp: Removed unused header (atlsafe.h)
   14513         * WebKit.vcproj/WebKit.rc: Removed afxres.h and related code
   14514         * WebKit.vcproj/WebKit.sln: Don't use a sln folder - they aren't supported by express
   14515         * WebKit.vcproj/WebKit.vcproj: Add explicit lib references for Windows system libs (VS express doesn't include these)
   14516         * WebView.cpp: Removed unused header (atldef.h)
   14517 
   14518 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14519 
   14520         Merge in r20872.
   14521 
   14522         * WebInspector/webInspector/inspector.js:
   14523         * WebInspector/webInspector/treeoutline.js:
   14524 
   14525 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14526 
   14527         Merge in r20861.
   14528 
   14529         * WebInspector/webInspector/inspector.js:
   14530         * WebInspector/webInspector/treeoutline.js:
   14531 
   14532 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14533 
   14534         Merge in r20845.
   14535 
   14536         * WebInspector/webInspector/inspector.js:
   14537 
   14538 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14539 
   14540         Merge in r20844.
   14541 
   14542         * WebInspector/webInspector/inspector.js:
   14543 
   14544 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14545 
   14546         Merge in r20843.
   14547 
   14548         * WebInspector/webInspector/inspector.js:
   14549         * WebInspector/webInspector/scrollarea.js:
   14550         * WebInspector/webInspector/scrollbar.js:
   14551         * WebInspector/webInspector/utilities.js:
   14552 
   14553 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14554 
   14555         Merge in r20842.
   14556 
   14557         * WebInspector/webInspector/inspector.html:
   14558         * WebInspector/webInspector/inspector.js:
   14559         * WebInspector/webInspector/utilities.js: Added.
   14560 
   14561 2007-04-16  Adam Roben  <aroben (a] apple.com>
   14562 
   14563         Merge in r20840.
   14564 
   14565         * WebInspector/webInspector/inspector.html:
   14566         * WebInspector/webInspector/inspector.js:
   14567         * WebInspector/webInspector/treeoutline.js: Added.
   14568 
   14569 2007-04-14  Adam Roben  <aroben (a] apple.com>
   14570 
   14571         * WebKit.vcproj/WebKitGUID.vcproj: Need to use WebKitConfigSuffix
   14572         instead of ConfigSuffix now.
   14573 
   14574 2007-04-14  Adam Roben  <aroben (a] apple.com>
   14575 
   14576         * WebKit.vcproj/WebKit.submit.sln: Use the Debug_Internal configuration
   14577         when B&I builds Debug.
   14578 
   14579 2007-04-12  Steve Falkenburg  <sfalken (a] apple.com>
   14580 
   14581         Reviewed by Geoff, Adam.
   14582         
   14583         Changes required for search history content.
   14584 
   14585         * Interfaces/IWebFramePrivate.idl:
   14586         * WebFrame.cpp:
   14587         (WebFrame::isFrameSet): Added
   14588         (WebFrame::string): Added
   14589         * WebFrame.h:
   14590 
   14591 2007-04-12  Adam Roben  <aroben (a] apple.com>
   14592 
   14593         Rubberstamped by Steve.
   14594 
   14595         Copied WebKit.sln to WebKit.submit.sln, and added missing projects to
   14596         WebKit.sln so that opensource contributors can use it to build a
   14597         working WebKit.
   14598 
   14599         * WebKit.vcproj/WebKit.make: Changed to use WebKit.submit.sln.
   14600         * WebKit.vcproj/WebKit.sln: Added JavaScriptCore, WebCore,
   14601         DumpRenderTree projects.
   14602         * WebKit.vcproj/WebKit.submit.sln: Added.
   14603 
   14604 2007-04-12  Adam Roben  <aroben (a] apple.com>
   14605 
   14606         Reviewed by Steve.
   14607 
   14608         <rdar://problem/5131565> Need to be able to use debug WebKit with
   14609         release Safari.
   14610 
   14611         Added a new configuration to WebKit.vcproj called Debug_Internal to be
   14612         used by Apple internal builds. The Debug configuration is now meant to
   14613         be used by opensource builds, and will always link against release
   14614         versions of CF, CFNet, CG, etc. Debug_Internal is identical to Debug
   14615         except for the property sheet it uses, and the Debug configuration
   14616         doesn't register WebKit_debug.dll when finished.
   14617 
   14618         We now have two macros, $(WebKitConfigSuffix) and
   14619         $(LibraryConfigSuffix). WebKitConfigSuffix is used for WebKit projects,
   14620         and is "_debug" for both Debug and Debug_Internal. LibraryConfigSuffix
   14621         is used for external projects, and is "" for Debug and "_debug" for
   14622         Debug_Internal.
   14623 
   14624         * WebKit.vcproj/WebKit.vcproj:
   14625         * WebKit.vcproj/debug.vsprops:
   14626         * WebKit.vcproj/debug_internal.vsprops: Added.
   14627         * WebKit.vcproj/release.vsprops:
   14628 
   14629 2007-04-12  John Sullivan  <sullivan (a] apple.com>
   14630 
   14631         Reviewed by Anders
   14632 
   14633         * Interfaces/IWebUIDelegate.idl:
   14634         added new PDF-related context menu items to enum to keep it in sync with WebCore
   14635 
   14636 2007-04-12  Mark Rowe  <mrowe (a] apple.com>
   14637 
   14638         Not reviewed.  Internal counterpart to open-source r20856.
   14639 
   14640         * WebChromeClient.cpp:
   14641         (WebChromeClient::createWindow):
   14642         (WebChromeClient::createModalDialog):
   14643         * WebChromeClient.h:
   14644 
   14645 2007-04-11  Ada Chan  <adachan (a] apple.com>
   14646 
   14647         Reviewed by Steve.
   14648         
   14649         Implemented WebHistoryItem::originalURLString().  Added parameter checks to other methods.
   14650 
   14651         * WebHistoryItem.cpp:
   14652         (WebHistoryItem::originalURLString):
   14653         (WebHistoryItem::URLString):
   14654         (WebHistoryItem::title):
   14655         (WebHistoryItem::lastVisitedTimeInterval):
   14656 
   14657 2007-04-10  Brady Eidson  <beidson (a] apple.com>
   14658 
   14659         Reviewed by Darin
   14660 
   14661         <rdar://problem/4887095> - PageCache and PageState should be combined
   14662 
   14663         Basically updated client methods for the new names and signatures 
   14664 
   14665         * WebFrame.cpp:
   14666         (WebFrame::loadedFromCachedPage):
   14667         (WebFrame::setDocumentViewFromCachedPage):
   14668         (WebFrame::saveDocumentViewToCachedPage):
   14669         * WebFrame.h:
   14670 
   14671 2007-04-10  Adam Roben  <aroben (a] apple.com>
   14672 
   14673         Reviewed by Anders.
   14674 
   14675         Fix <rdar://problem/5119803> Web Inspector has no options menu
   14676 
   14677         * WebInspector/WebInspector.cpp:
   14678         (interpreterForFrame): Added.
   14679         (WebInspector::showOptionsMenu): Implemented.
   14680         (WebInspector::onCommand): Added.
   14681         (WebInspector::toggleIgnoreWhitespace): Implemented.
   14682         (WebInspector::toggleShowUserAgentStyles): Implemented.
   14683         (WebInspectorWndProc): Added case for WM_COMMAND.
   14684         * WebInspector/WebInspector.h:
   14685 
   14686 2007-04-09  Anders Carlsson  <andersca (a] apple.com>
   14687 
   14688         Reviewed by Adam.
   14689 
   14690         <rdar://problem/5062624>
   14691         No prompt to install QT for pages with uninstalled QT plug-in.
   14692         
   14693         * CFDictionaryPropertyBag.cpp:
   14694         (CFDictionaryPropertyBag::Read):
   14695         (CFDictionaryPropertyBag::Write):
   14696         Use LPCOLESTRToCFStringRef here since the property names aren't BSTRs.
   14697         
   14698         * Interfaces/IWebError.idl:
   14699         Add user info keys.
   14700         
   14701         * MarshallingHelpers.cpp:
   14702         (MarshallingHelpers::LPCOLESTRToCFStringRef):
   14703         * MarshallingHelpers.h:
   14704         New function.
   14705         
   14706         * WebError.cpp:
   14707         (WebError::WebError):
   14708         (WebError::createInstance):
   14709         Take a property bag.
   14710         
   14711         (WebError::userInfo):
   14712         Return the property bag.
   14713         
   14714         * WebFrame.cpp:
   14715         (WebFrame::createPlugin):
   14716         If the plug-in wasn't found or failed to load, create a WebError with the right user info and
   14717         call IWebResourceLoadDelegate::plugInFailedWithError.
   14718 
   14719 2007-04-09  Brady Eidson  <beidson (a] apple.com>
   14720 
   14721         Build Fix
   14722 
   14723         * WebContextMenuClient.cpp:
   14724         (WebContextMenuClient::searchWithGoogle): userGesture is true
   14725 
   14726 2007-04-09  Timothy Hatcher  <timothy (a] apple.com>
   14727 
   14728         Merge in r20810.
   14729 
   14730         <rdar://problem/5121757> WebInspector focuses elements on mouse up instead of mouse down
   14731 
   14732         Make selecting a tree node happen on mousedown to match the NSOutlineView behavior.
   14733         Also makes selecting rows in the style pane happen on mousedown for consistency.
   14734 
   14735         * WebInspector/webInspector/inspector.js:
   14736 
   14737 2007-04-09  Adam Roben  <aroben (a] apple.com>
   14738 
   14739         Fixed copyrights.
   14740 
   14741         * WebInspector/WebInspector.cpp:
   14742         * WebInspector/WebInspector.h:
   14743 
   14744 2007-04-09  Adam Roben  <aroben (a] apple.com>
   14745 
   14746         Reviewed by Oliver.
   14747 
   14748         Fix two Web Inspector bugs:
   14749         - The WebView wasn't focused when the inspector first appeared.
   14750         - Resizing the upper pane did not resize the whole window.
   14751 
   14752         * WebInspector/WebInspector.cpp:
   14753         (WebInspector::show): Focus the WebView.
   14754         (WebInspector::setFrame): Implemented.
   14755         (WebInspector::webViewFrame): Implemented.
   14756         * WebInspector/WebInspector.h:
   14757 
   14758 2007-04-09  Adam Roben  <aroben (a] apple.com>
   14759 
   14760         * WebInspector/WebInspector.cpp:
   14761         (WebInspector::WebInspector): Removed two fixed FIXMEs and some
   14762         commented-out code.
   14763 
   14764 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14765 
   14766         When does "merge" != "merge"? When you make the change yourself
   14767         pre-emptively and make a typo.
   14768 
   14769         * WebInspector/webInspector/inspector.js:
   14770 
   14771 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14772 
   14773         Merge in r20800.
   14774 
   14775         * WebInspector/webInspector/inspector.js:
   14776 
   14777 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14778 
   14779         Merge in r20797.
   14780 
   14781         * WebInspector/webInspector/inspector.js:
   14782 
   14783 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14784 
   14785         Merge in r20796.
   14786 
   14787         * WebInspector/webInspector/inspector.js:
   14788 
   14789 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14790 
   14791         Reviewed by Anders.
   14792 
   14793         <rdar://problem/5119804> Web Inspector isn't resizable
   14794         <rdar://problem/5119805> Can't move Web Inspector
   14795 
   14796         * WebInspector/WebInspector.cpp:
   14797         (WebInspectorPrivate::WebInspectorPrivate):
   14798         (WebInspector::WebInspector): Subclass the WebView so we can intercept
   14799         its messages.
   14800         (WebInspector::onDestroy): Undo the subclassing.
   14801         (WebInspector::handleMessageSentToWebView): Added.
   14802         (WebInspector::onLButtonDown): Added.
   14803         (WebInspector::onLButtonUp): Added.
   14804         (WebInspector::onMouseMove): Added.
   14805         (WebInspectorWndProc): Added cases for mouse messages.
   14806         (SubclassedWebViewWndProc): Added.
   14807         * WebInspector/WebInspector.h:
   14808 
   14809 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14810 
   14811         Merge in r20793.
   14812 
   14813         * WebInspector/webInspector/AppleScrollArea.js: Removed.
   14814         * WebInspector/webInspector/AppleScrollbar.js: Removed.
   14815         * WebInspector/webInspector/Images/resize.png: Added.
   14816         * WebInspector/webInspector/inspector.css:
   14817         * WebInspector/webInspector/inspector.html:
   14818         * WebInspector/webInspector/inspector.js:
   14819         * WebInspector/webInspector/scrollarea.js: Added.
   14820         * WebInspector/webInspector/scrollbar.js: Added.
   14821 
   14822 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14823 
   14824         Merge in r20792.
   14825 
   14826         * WebInspector/webInspector/inspector.js:
   14827 
   14828 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14829 
   14830         Merge in r20791.
   14831 
   14832         * WebInspector/webInspector/inspector.js:
   14833 
   14834 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14835 
   14836         Merge in r20789.
   14837 
   14838         * WebInspector/webInspector/inspector.js:
   14839 
   14840 2007-04-08  Adam Roben  <aroben (a] apple.com>
   14841 
   14842         Build fix.
   14843 
   14844         * WebInspector/WebInspector.cpp:
   14845 
   14846 2007-04-07  Adam Roben  <aroben (a] apple.com>
   14847 
   14848         Reviewed by Oliver.
   14849 
   14850         <rdar://problem/4769828> Web Inspector
   14851 
   14852         * WebInspector/WebInspector.cpp: Renamed from WebInspector.m. Ported
   14853         Mac code. Some parts are left commented out to aid later
   14854         implementation.
   14855         * WebInspector/WebInspector.h: Ditto.
   14856 
   14857         * DOMCoreClasses.cpp: Added IID_DOMNode.
   14858         (DOMNode::QueryInterface): Added case for IID_DOMNode.
   14859         (DOMNode::isSameNode): Implemented.
   14860         * DOMCoreClasses.h: Added IID_DOMNode.
   14861         (DOMNode::node): Added.
   14862         * English.lproj/Localizable.strings: Updated for "Inspect Element".
   14863         * WebContextMenuClient.cpp:
   14864         (WebContextMenuClient::getCustomMenuFromDefaultItems): Add the "Inspect
   14865         Element" item.
   14866         * WebFrame.cpp:
   14867         (WebFrame::addInspector): Stubbed out.
   14868         (WebFrame::removeInspector): Ditto.
   14869         * WebFrame.h: Added declarations.
   14870         * WebKit.resources/Info.plist: Added. This was needed so that the
   14871         WebKit bundle would have a bundle identifier.
   14872         * WebKit.vcproj/WebKit.vcproj: Added new files to project, and modified
   14873         the post-build step to copy Info.plist and everything in
   14874         WebInspector/webInspector to WebKit.resources.
   14875         * WebView.cpp:
   14876         (WebView::performContextMenuAction): Added case for the Inspect Element item.
   14877         (WebView::inspectElement): Added.
   14878         * WebView.h: Added declaration.
   14879 
   14880 2007-04-07  Adam Roben  <aroben (a] apple.com>
   14881 
   14882         Forked most of the WebInspector directory from
   14883         r20780 of branches/WebInspectorRefresh/WebKit/WebInspector.
   14884 
   14885         * WebInspector/WebInspector.h: Added.
   14886         * WebInspector/WebInspector.m: Added.
   14887         (+[WebInspector sharedWebInspector]):
   14888         (-[WebInspector init]):
   14889         (-[WebInspector initWithWebFrame:]):
   14890         (-[WebInspector dealloc]):
   14891         (-[WebInspector window]):
   14892         (-[WebInspector windowWillClose:]):
   14893         (-[WebInspector showWindow:]):
   14894         (-[WebInspector setWebFrame:]):
   14895         (-[WebInspector webFrame]):
   14896         (-[WebInspector setRootDOMNode:]):
   14897         (-[WebInspector rootDOMNode]):
   14898         (-[WebInspector setFocusedDOMNode:]):
   14899         (-[WebInspector focusedDOMNode]):
   14900         (-[WebInspector setSearchQuery:]):
   14901         (-[WebInspector searchQuery]):
   14902         (-[WebInspector showOptionsMenu]):
   14903         (-[WebInspector _toggleIgnoreWhitespace:]):
   14904         (-[WebInspector _toggleShowUserAgentStyles:]):
   14905         (-[WebInspector _highlightNode:]):
   14906         (-[WebInspector _nodeHighlightExpired:]):
   14907         (-[WebInspector _update]):
   14908         (-[WebInspector _updateRoot]):
   14909         (-[WebInspector _updateSystemColors]):
   14910         (-[WebInspector _applicationWillResignActive]):
   14911         (-[WebInspector _applicationDidBecomeActive]):
   14912         (-[WebInspector _webFrameDetached:]):
   14913         (+[WebInspector isSelectorExcludedFromWebScript:]):
   14914         (+[WebInspector webScriptNameForSelector:]):
   14915         (+[WebInspector isKeyExcludedFromWebScript:]):
   14916         (-[WebInspector inspectedWebViewProgressFinished:]):
   14917         (-[WebInspector webView:didFinishLoadForFrame:]):
   14918         (-[WebInspector webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
   14919         (-[WebInspector webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
   14920         (-[WebInspector webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
   14921         (-[WebInspectorPrivate dealloc]):
   14922         (-[DOMNode _isAncestorOfNode:]):
   14923         * WebInspector/webInspector/AppleScrollArea.js: Added.
   14924         * WebInspector/webInspector/AppleScrollbar.js: Added.
   14925         * WebInspector/webInspector/Images/button.png: Added.
   14926         * WebInspector/webInspector/Images/buttonDivider.png: Added.
   14927         * WebInspector/webInspector/Images/buttonPressed.png: Added.
   14928         * WebInspector/webInspector/Images/close.png: Added.
   14929         * WebInspector/webInspector/Images/closePressed.png: Added.
   14930         * WebInspector/webInspector/Images/downTriangle.png: Added.
   14931         * WebInspector/webInspector/Images/menu.png: Added.
   14932         * WebInspector/webInspector/Images/menuPressed.png: Added.
   14933         * WebInspector/webInspector/Images/popup.png: Added.
   14934         * WebInspector/webInspector/Images/popupPressed.png: Added.
   14935         * WebInspector/webInspector/Images/rightTriangle.png: Added.
   14936         * WebInspector/webInspector/Images/scrollThumbBottom.png: Added.
   14937         * WebInspector/webInspector/Images/scrollThumbMiddle.png: Added.
   14938         * WebInspector/webInspector/Images/scrollThumbTop.png: Added.
   14939         * WebInspector/webInspector/Images/scrollTrackBottom.png: Added.
   14940         * WebInspector/webInspector/Images/scrollTrackMiddle.png: Added.
   14941         * WebInspector/webInspector/Images/scrollTrackTop.png: Added.
   14942         * WebInspector/webInspector/Images/upTriangle.png: Added.
   14943         * WebInspector/webInspector/inspector.css: Added.
   14944         * WebInspector/webInspector/inspector.html: Added.
   14945         * WebInspector/webInspector/inspector.js: Added.
   14946 
   14947 2007-04-06  Dave Hyatt  <hyatt (a] apple.com>
   14948 
   14949         Internal side of fix for bug 13274.
   14950 
   14951         Reviewed by olliej
   14952 
   14953         * Interfaces/IWebScrollBarPrivate.idl:
   14954         * WebScrollBar.cpp:
   14955         * WebScrollBar.h:
   14956         * WebView.cpp:
   14957         (WebView::handleMouseEvent):
   14958 
   14959 2007-04-04  Oliver Hunt  <oliver (a] apple.com>
   14960 
   14961         Reviewed by Ada.
   14962         
   14963         Fix <rdar://problem/5111027> Dragging a link on page
   14964         shows URL thumbnail as nearly-transparent instead 
   14965         semi-transparent
   14966 
   14967         Error in createDragImageForLink led me to get wrong 
   14968         maximum drag image size, now logic and maximum drag 
   14969         image size corrected.
   14970 
   14971         * WebDragClient.cpp:
   14972         (WebDragClient::createDragImageForLink):
   14973 
   14974 2007-04-04  Adam Roben  <aroben (a] apple.com>
   14975 
   14976         Release build fix for TestNetscapePlugin.
   14977 
   14978         * WebKit.vcproj/WebKit.vcproj: Make the Release post-build step the
   14979         same as the Debug one so that the npapi headers get copied.
   14980 
   14981 2007-04-03  Adam Roben  <aroben (a] apple.com>
   14982 
   14983         Reviewed by Anders.
   14984 
   14985         WebKit part of fix for <rdar://problem/5103999> All dom/svg tests are
   14986         failing due to extra/missing newlines
   14987 
   14988         * DOMCoreClasses.cpp:
   14989         (DOMElement::innerText): Added.
   14990         * DOMCoreClasses.h: Added declaration.
   14991         * Interfaces/DOMPrivate.idl: Ditto.
   14992 
   14993 2007-04-02  Steve Falkenburg  <sfalken (a] apple.com>
   14994 
   14995         Reviewed by Darin Adler.
   14996         
   14997         Expose COM class counter
   14998 
   14999         * Interfaces/IWebKitStatistics.idl: Added comClassCount
   15000         * WebKitStatistics.cpp:
   15001         (WebKitStatistics::comClassCount): Added
   15002         * WebKitStatistics.h:
   15003 
   15004 2007-03-31  Steve Falkenburg  <sfalken (a] apple.com>
   15005 
   15006         Reviewed by Hyatt.
   15007 
   15008         <rdar://problem/5091159> Boomer has no bundle identifier - is the bundle correctly formed?
   15009         <rdar://problem/5088764> Move the "Icon.db" file under "Local Settings"
   15010 
   15011         * WebIconDatabase.cpp:
   15012         (userIconDatabasePath): Prefer to store Icon.db file keyed off of bundle executable name
   15013         * WebPreferences.cpp:
   15014         (WebPreferences::preferencesPath): Prefer to store WebKit Preferences keyed off of bundle executable name
   15015 
   15016 2007-03-30  Adele Peterson  <adele (a] apple.com>
   15017 
   15018         Reviewed by Beth.
   15019 
   15020         Fix <rdar://problem/5079824> editing/deleting/delete-by-word-001 is failing
   15021 
   15022         * WebView.cpp: Add DeleteWordForward and DeleteWordBackward to key command table.
   15023 
   15024 2007-03-30  Anders Carlsson  <andersca (a] apple.com>
   15025 
   15026         Reviewed by Adele.
   15027 
   15028         <rdar://problem/5101970> 
   15029         Crash when submitting form, running under App Verifier
   15030         
   15031         * WebActionPropertyBag.cpp:
   15032         (findMouseEvent):
   15033         Return the right event.
   15034 
   15035 2007-03-30  Anders Carlsson  <andersca (a] apple.com>
   15036 
   15037         Reviewed by Geoff.
   15038 
   15039         * Interfaces/IWebViewPrivate.idl:
   15040         Add addAdditionalPluginPath method.
   15041         
   15042         * WebKit.vcproj/WebKit.vcproj:
   15043         Copy NP includes so they can be included by the test plugin.
   15044         
   15045         * WebView.cpp:
   15046         (WebView::stringByEvaluatingJavaScriptFromString):
   15047         Hold JSLock while we call JSValue::getString().
   15048         
   15049         (WebView::addAdditionalPluginPath):
   15050         * WebView.h:
   15051         Implement addAdditionalPluginPath.
   15052 
   15053 2007-03-27  Dave Hyatt  <hyatt (a] apple.com>
   15054 
   15055         Enable complex text.  Selection and small-caps support are now enabled with this patch.
   15056         
   15057         Reviewed by aroben
   15058 
   15059         * WebPreferences.cpp:
   15060         (WebPreferences::initialize):
   15061 
   15062 2007-03-26  Brady Eidson  <beidson (a] apple.com>
   15063 
   15064         Reviewed by Ada
   15065 
   15066         This one didn't actually have any leaks, but I just felt like doing the
   15067         same style cleanup as the others :)
   15068         
   15069         * WebPreferences.cpp:
   15070         (WebPreferences::stringValueForKey):
   15071         (WebPreferences::integerValueForKey):
   15072         (WebPreferences::floatValueForKey):
   15073         (WebPreferences::setStringValue):
   15074         (WebPreferences::setIntegerValue):
   15075         (WebPreferences::save):
   15076         (WebPreferences::load):
   15077 
   15078 2007-03-26  Brady Eidson  <beidson (a] apple.com>
   15079 
   15080         Reviewed by Ada
   15081 
   15082         <rdar://5090412> - Plug CFNumberRef leaks in WebCache
   15083         
   15084         * WebCache.cpp:
   15085         (WebCache::statistics):
   15086 
   15087 2007-03-26  Beth Dakin  <bdakin (a] apple.com>
   15088 
   15089         Reviewed by Geoff.
   15090 
   15091         Fix build without breaking anything.
   15092 
   15093         * WebHistory.cpp:
   15094         (releaseUserInfo): Added silly void statement for now.
   15095 
   15096 2007-03-26  Beth Dakin  <bdakin (a] apple.com>
   15097 
   15098         Rubber-stamped by Brady.
   15099 
   15100         Build fix for release build.
   15101 
   15102         * WebHistory.cpp:
   15103         (releaseUserInfo): Do not store userInfo->Release() in a local 
   15104         variable since it is only used for an ASSERT.
   15105 
   15106 2007-03-26  Steve Falkenburg  <sfalken (a] apple.com>
   15107 
   15108         Reviewed by Lou.
   15109         
   15110         <rdar://problem/5088764> Move the "Icon.db" file under "Local Settings"
   15111 
   15112         * WebIconDatabase.cpp:
   15113         (userIconDatabasePath): Move icon database to non-roaming location
   15114 
   15115 2007-03-25  Brady Eidson  <beidson (a] apple.com>
   15116 
   15117         Reviewed by Oliver
   15118         
   15119         <rdar://problem/5086888> - WebHistory(Item) Leak
   15120         
   15121         This is a pretty thourough touchup up style and correctness that
   15122         plugs at least 1 definite leak and many potential leaks with
   15123         extensive use of RetainPtr and COMPtr.
   15124         
   15125         This should result in no change in behavior
   15126 
   15127         * MarshallingHelpers.cpp: Add kIUnknownDictionaryValueCallBacks
   15128         * MarshallingHelpers.h: Ditto
   15129         
   15130         * WebHistory.cpp:
   15131         (createUserInfoFromArray):
   15132         (createUserInfoFromHistoryItem):
   15133         (releaseUserInfo):
   15134         (WebHistory::WebHistory):
   15135         (WebHistory::~WebHistory):
   15136         (WebHistory::loadFromURL):
   15137         (createHistoryListFromStream): Split of the Structured Exception
   15138           Handling to a seperate function to cooperate with C++
   15139         (WebHistory::loadHistoryGutsFromURL):
   15140         (WebHistory::saveToURL):
   15141         (WebHistory::saveHistoryGuts):
   15142         (WebHistory::datesArray):
   15143         (WebHistory::addItems):
   15144         (WebHistory::removeItems):
   15145         (WebHistory::removeAllItems):
   15146         (WebHistory::orderedLastVisitedDays):
   15147         (WebHistory::orderedItemsLastVisitedOnDay):
   15148         (WebHistory::removeItem):
   15149         (WebHistory::addItem):
   15150         (WebHistory::addItemForURL):
   15151         (WebHistory::itemForURLString):
   15152         (WebHistory::itemForURL):
   15153         (WebHistory::containsItemForURLString):
   15154         (WebHistory::removeItemForURLString):
   15155         (WebHistory::addItemToDateCaches):
   15156         (WebHistory::removeItemFromDateCaches):
   15157         (WebHistory::findIndex):
   15158         (WebHistory::insertItem):
   15159         (WebHistory::ageLimitDate):
   15160         * WebHistory.h:
   15161         
   15162         * WebHistoryItem.cpp:
   15163         (WebHistoryItem::dictionaryRepresentation):
   15164         (WebHistoryItem::mergeAutoCompleteHints):
   15165 
   15166 2007-03-25  Adam Roben  <aroben (a] apple.com>
   15167 
   15168         Reviewed by Oliver.
   15169 
   15170         WebKit part of <rdar://problem/5086934> DumpRenderTree doesn't support
   15171         layoutTestController.queueLoad
   15172 
   15173         * WebFrame.cpp:
   15174         (WebFrame::findFrameNamed): Implemented.
   15175         * WebHistoryItem.cpp:
   15176         (WebHistoryItem::children): Don't increment i twice per loop!
   15177 
   15178 2007-03-25  Adam Roben  <aroben (a] apple.com>
   15179 
   15180         Build fix.
   15181 
   15182         * WebDownload.h: Include RetainPtr from WTF.
   15183 
   15184 2007-03-24  Steve Falkenburg  <sfalken (a] apple.com>
   15185 
   15186         Build fix.
   15187 
   15188         * WebDownload.h: Remove WebCore namespace
   15189 
   15190 2007-03-24  Adam Roben  <aroben (a] apple.com>
   15191 
   15192         Reviewed by Oliver.
   15193 
   15194         WebKit part of <rdar://problem/5086932> DumpRenderTree doesn't support
   15195         layoutTestController.dumpBackForwardList
   15196 
   15197         * Interfaces/IWebHistoryItemPrivate.idl: Added declarations.
   15198         * WebFrame.cpp:
   15199         (WebFrame::childFrames): Removed unused variable.
   15200         * WebHistoryItem.cpp:
   15201         (WebHistoryItem::target): Implemented.
   15202         (WebHistoryItem::isTargetItem): Implemented.
   15203         (WebHistoryItem::children): Implemented.
   15204         * WebHistoryItem.h: Added declarations.
   15205 
   15206 2007-03-23  Brady Eidson  <beidson (a] apple.com>
   15207 
   15208         Reviewed by Adam
   15209         
   15210         <rdar://5086194> - WebHistory overreleases a CFNumber
   15211         
   15212         * WebHistory.cpp:
   15213         (WebHistory::loadHistoryGutsFromURL): Don't CFRelease what we didn't 
   15214           legitimately get a ref for!
   15215 
   15216 2007-03-23  Adam Roben  <aroben (a] apple.com>
   15217 
   15218         Reviewed by Darin Adler.
   15219 
   15220         WebKit part of <rdar://problem/5084881> Add a "turn of site-specific
   15221         hacks" menu item to the Debug menu
   15222 
   15223         Added new IWebPrivate::setAllowSiteSpecificHacks SPI.
   15224 
   15225         * Interfaces/IWebViewPrivate.idl: Added declaration.
   15226         * WebView.cpp:
   15227         (WebView::userAgentForKURL): Only give a site-specific UA if
   15228         site-specific hacks are turned on.
   15229         (WebView::setAllowSiteSpecificHacks): Added.
   15230         * WebView.h:
   15231         (WebView::allowSiteSpecificHacks): Added.
   15232 
   15233 2007-03-23  Beth Dakin  <bdakin (a] apple.com>
   15234 
   15235         Reviewed by Hyatt.
   15236 
   15237         Fix for <rdar://problem/5083914> Cursor is wrong for all context 
   15238         menus
   15239 
   15240         * WebView.cpp:
   15241         (WebView::handleContextMenuEvent): Set the cursor to the pointer 
   15242         cursor.
   15243 
   15244 2007-03-23  Alice Liu  <alice.liu (a] apple.com>
   15245 
   15246         Reviewed by Adam.
   15247 
   15248         Fixed <rdar://5084888> need to add flickr to spoof list in Boomer WebKit
   15249 
   15250         * WebView.cpp:
   15251         (WebView::userAgentForKURL):
   15252         added flickr spoof
   15253 
   15254 2007-03-23  Adam Roben  <aroben (a] apple.com>
   15255 
   15256         Reviewed by Oliver.
   15257 
   15258         WebKit part of <rdar://problem/5085170> DumpRenderTree doesn't print
   15259         frame scroll offsets
   15260 
   15261         Implemented some WebFrame methods to support dumping frame scroll
   15262         offsets in DRT.
   15263 
   15264         * Interfaces/IWebFrame.idl: Changed signature of IWebFrame::childFrames.
   15265         * Interfaces/IWebFramePrivate.idl: Added scrollOffset declaration.
   15266         * WebFrame.cpp:
   15267         (WebFrame::name): Implemented.
   15268         (WebFrame::childFrames): Implemented.
   15269         (WebFrame::scrollOffset): Implemented.
   15270         * WebFrame.h: Updated/added declarations.
   15271 
   15272 2007-03-23  Adam Roben  <aroben (a] apple.com>
   15273 
   15274         Reviewed by Oliver.
   15275 
   15276         WebKit part of fix for <rdar://problem/4990740>.
   15277 
   15278         Added IWebDataSourcePrivate::mainDocumentError.
   15279 
   15280         * Interfaces/IWebDataSource.idl: Added method declaration and updated
   15281         copyrights.
   15282         * WebDataSource.cpp:
   15283         (WebDataSource::mainDocumentError): Implemented.
   15284         * WebDataSource.h: Added declaration.
   15285 
   15286 2007-03-23  Steve Falkenburg  <sfalken (a] apple.com>
   15287 
   15288         Reviewed by Adam.
   15289         
   15290         <rdar://problem/5083645> Spoofed UA for gmail doesn't work - should be removed
   15291 
   15292         * WebView.cpp:
   15293         (WebView::userAgentForKURL): Remove gmail spoof
   15294 
   15295 2007-03-22  Dave Hyatt  <hyatt (a] apple.com>
   15296 
   15297         Fix for <rdar://problem/5083072>.
   15298 
   15299         Reviewed by aroben
   15300   
   15301         * ChangeLog:
   15302         * WebFrame.cpp:
   15303         (WebFrame::setPrinting):
   15304         (WebFrame::spoolPages):
   15305         * WebFrame.h:
   15306 
   15307 2007-03-22  Anders Carlsson  <acarlsson (a] apple.com>
   15308 
   15309         Reviewed by Maciej.
   15310 
   15311         <rdar://problem/5082270>
   15312         Crash in windows media player at MTV.COM
   15313         
   15314         Ignore any WM_PAINT events we get while painting.
   15315         
   15316         * WebView.cpp:
   15317         (WebView::WebView):
   15318         (WebView::updateBackingStore):
   15319         (WebView::paint):
   15320         (WebViewWndProc):
   15321         * WebView.h:
   15322         (WebView::isPainting):
   15323 
   15324 2007-03-22  Adele Peterson  <adele (a] apple.com>
   15325 
   15326         Reviewed by Anders.
   15327 
   15328         Fix for <rdar://problem/5071358> window.open won't work with empty urls (24fun test)
   15329 
   15330         * Interfaces/IWebURLRequest.idl:
   15331         * WebMutableURLRequest.cpp: (WebMutableURLRequest::isEmpty): Added. Checks whether the ResourceRequest is empty.  On the mac,
   15332           NSURLRequests created from empty ResourceRequests are nil.  We may want to consider that in the future, but there were too
   15333           many places in the app that expected the IWebURLRequest to be non-null.
   15334         * WebMutableURLRequest.h:
   15335 
   15336 2007-03-22  Dave Hyatt  <hyatt (a] apple.com>
   15337 
   15338         Fix for crasher in layout caused by paints that happen without layout being current.  Change to be
   15339         more like the Mac and crawl the frame tree up front ensuring everyone is up to date before painting.
   15340 
   15341         Reviewed by olliej
   15342 
   15343         * WebFrame.cpp:
   15344         (WebFrame::WebFramePrivate::m_policyFunction):
   15345         (WebFrame::layoutIfNeededRecursive):
   15346         * WebFrame.h:
   15347         * WebView.cpp:
   15348         (WebView::updateBackingStore):
   15349         (WebView::paint):
   15350         (WebViewWndProc):
   15351 
   15352 2007-03-22  Ada Chan  <adachan (a] apple.com>
   15353 
   15354         Reviewed by Hyatt and Alice.
   15355         
   15356         Changed the mouse event processing in the WebView wndproc so we actually
   15357         allow a mouse event with click count > 3, which matches the mac safari behavior.
   15358         
   15359         Set globalPrevButton and globalPrevPoint also in mouse down.
   15360 
   15361         * WebView.cpp:
   15362         (WebView::handleMouseEvent):
   15363 
   15364 2007-03-21  Anders Carlsson  <acarlsson (a] apple.com>
   15365 
   15366         Reviewed by Adam.
   15367 
   15368         * WebView.cpp:
   15369         (WebView::initWithFrame):
   15370         Remove #ifdef now that DRT no longer crashes.
   15371 
   15372 2007-03-21  Beth Dakin  <bdakin (a] apple.com>
   15373 
   15374         Reviewed by Adam.
   15375 
   15376         <rdar://problem/5074274> right-clicking in certain iframes ends up 
   15377         left-clicking, and context menu appears far away
   15378 
   15379         * WebView.cpp:
   15380         (WebView::handleContextMenuEvent): We were always calling 
   15381         sendContextMenuEvent() on the main frame!! Instead, call it on the 
   15382         focused or main frame.
   15383 
   15384 2007-03-21  Adele Peterson  <adele (a] apple.com>
   15385 
   15386         Reviewed by Adam.
   15387         
   15388         Fix for <rdar://problem/5076213> fast/forms/input-text-enter.html fails
   15389         
   15390         Added updateActiveState SPI for DumpRenderTree.
   15391 
   15392         * Interfaces/IWebViewPrivate.idl:
   15393         * WebView.cpp:
   15394         (WebViewWndProc): Added comments where we do similar work when the webview gets and loses focus.  We should merge this logic into updateActiveState eventually.
   15395         (WebView::updateActiveState):
   15396         * WebView.h:
   15397 
   15398 2007-03-19  Maciej Stachowiak  <mjs (a] apple.com>
   15399 
   15400         Reviewed by Geoff and Adam.
   15401 
   15402         - <rdar://problem/4041141> JavaScriptCore is not thread-safe on Windows
   15403 
   15404         * WebView.cpp:
   15405         (WebView::WebView): Tell JavaScriptCore what the main thread is.
   15406 
   15407 2007-03-20  Anders Carlsson  <acarlsson (a] apple.com>
   15408 
   15409         Reviewed by Adam.
   15410 
   15411         <rdar://problem/5050512>
   15412         Need invalid/expired certificate alerts
   15413         
   15414         Add setAllowsAnyHTTPSCertificate method to IWebMutableURLRequest and have it 
   15415         call down to WebCore.
   15416         
   15417         * Interfaces/IWebMutableURLRequest.idl:
   15418         * WebMutableURLRequest.cpp:
   15419         (WebMutableURLRequest::setAllowsAnyHTTPSCertificate):
   15420         * WebMutableURLRequest.h:
   15421 
   15422 2007-03-20  Adam Roben  <aroben (a] apple.com>
   15423 
   15424         Rubberstamped by Anders.
   15425 
   15426         Workaround a CFNetwork crash that affects DRT.
   15427 
   15428         * WebView.cpp:
   15429         (WebView::initWithFrame): Commented out cookie storage initialization.
   15430 
   15431 2007-03-20  Adam Roben  <aroben (a] apple.com>
   15432 
   15433         Build fix.
   15434 
   15435         * WebView.cpp: Added missing #include.
   15436 
   15437 2007-03-20  Adam Roben  <aroben (a] apple.com>
   15438 
   15439         Reviewed by Oliver.
   15440 
   15441         Implemented [set]TabKeyCyclesThroughElements.
   15442 
   15443         * Interfaces/IWebViewPrivate.idl: Added new declarations.
   15444         * WebView.cpp:
   15445         (WebView::setTabKeyCyclesThroughElements): Implemented.
   15446         (WebView::tabKeyCyclesThroughElements): Implemented.
   15447         * WebView.h: Updated.
   15448 
   15449 2007-03-20  Dave Hyatt  <hyatt (a] apple.com>
   15450 
   15451         Land advanced text code path (turned off).
   15452        
   15453         Reviewed by aroben
   15454 
   15455         * WebKit.vcproj/WebKit.vcproj:
   15456 
   15457 2007-03-20  Anders Carlsson  <acarlsson (a] apple.com>
   15458 
   15459         Reviewed by Adam.
   15460 
   15461         <rdar://problem/4921198>
   15462         Cookie acceptance policy not settable
   15463         
   15464         * WebView.cpp:
   15465         (WebView::updateWebCoreSettingsFromPreferences):
   15466         Update the cookie storage accept policy.
   15467         
   15468         (WebView::initWithFrame):
   15469         Initialize the cookie storage.
   15470 
   15471 2007-03-19  Adam Roben  <aroben (a] apple.com>
   15472 
   15473         Build fix.
   15474 
   15475         * WebKit.vcproj/WebKitGUID.vcproj:
   15476 
   15477 2007-03-19  Adam Roben  <aroben (a] apple.com>
   15478 
   15479         Reviewed by Anders and Darin.
   15480 
   15481         Added WebJavaScriptCollector for <rdar://problems/5071653>.
   15482 
   15483         * Interfaces/IWebJavaScriptCollector.idl: Added.
   15484         * Interfaces/WebKit.idl:
   15485         * WebJavaScriptCollector.cpp: Added.
   15486         (WebJavaScriptCollector::WebJavaScriptCollector):
   15487         (WebJavaScriptCollector::~WebJavaScriptCollector):
   15488         (WebJavaScriptCollector::createInstance):
   15489         (WebJavaScriptCollector::QueryInterface):
   15490         (WebJavaScriptCollector::AddRef):
   15491         (WebJavaScriptCollector::Release):
   15492         (WebJavaScriptCollector::collect):
   15493         (WebJavaScriptCollector::collectOnAlternateThread):
   15494         (WebJavaScriptCollector::objectCount):
   15495         * WebJavaScriptCollector.h: Added.
   15496         * WebKit.vcproj/Interfaces.vcproj: Added IWebJavaScriptCollector.idl.
   15497         * WebKit.vcproj/WebKit.vcproj: Added WebJavaScriptCollector.(cpp|h).
   15498         * WebKit.vcproj/WebKitGUID.vcproj: Added IWebJavaScriptCollector_i.c.
   15499         * WebKitClassFactory.cpp:
   15500         (WebKitClassFactory::CreateInstance): Added cases for
   15501         WebJavaScriptCollector.
   15502         * WebKitDLL.cpp:
   15503         (DllGetClassObject): Ditto.
   15504 
   15505 2007-03-19  Adam Roben  <aroben (a] apple.com>
   15506 
   15507         Build fix.
   15508 
   15509         * Interfaces/IWebView.idl:
   15510 
   15511 2007-03-18  Adam Roben  <aroben (a] apple.com>
   15512 
   15513         Reviewed by Hyatt.
   15514 
   15515         Implemented getting/setting of the editing delegate (we don't actually
   15516         use it for anything yet, though. See <rdar://problem/5071598>).
   15517 
   15518         * Interfaces/IWebEditingDelegate.idl: Renamed IWebViewEditingDelegate
   15519         to IWebEditingDelegate to match our other delegates.
   15520         * Interfaces/IWebView.idl: Updated for rename.
   15521         * WebView.cpp:
   15522         (WebView::setEditingDelegate): Implemented.
   15523         (WebView::editingDelegate): Ditto.
   15524         * WebView.h: Updated for rename.
   15525 
   15526 2007-03-18  Adam Roben  <aroben (a] apple.com>
   15527 
   15528         Reviewed by Geoff.
   15529 
   15530         Added IWebFramePrivate::layout to support eventSender in DRT.
   15531 
   15532         Made IWebView inherit from IDropTarget to match Mac, and added
   15533         IWebUIDelegatePrivate::doDragDrop to support drag-and-drop in DRT.
   15534 
   15535         * Interfaces/IWebFramePrivate.idl: Added layout().
   15536         * Interfaces/IWebUIDelegatePrivate.idl: Added doDragDrop().
   15537         * Interfaces/IWebView.idl: Added inheritance from IDropTarget.
   15538         * WebDragClient.cpp:
   15539         (WebDragClient::startDrag): Call the UI delegate if possible,
   15540         otherwise fallback to OLE's DoDragDrop.
   15541         * WebFrame.cpp:
   15542         (WebFrame::layout): Implemented.
   15543         * WebFrame.h:
   15544         * WebView.h:
   15545 
   15546 2007-03-17  Adam Roben  <aroben (a] apple.com>
   15547 
   15548         Reviewed by Brady.
   15549 
   15550         Fix repro ASSERT when logging in to facebook.com.
   15551 
   15552         * WebMutableURLRequest.cpp:
   15553         (WebMutableURLRequest::valueForHTTPHeaderField): Implemented.
   15554 
   15555 2007-03-16  Brady Eidson  <beidson (a] apple.com>
   15556 
   15557         Reviewed by Oliver
   15558 
   15559         Make the WebDownload fix a little more correct.
   15560         
   15561         * WebDownload.cpp:
   15562         (WebDownload::init): Release the connection from the ResourceHandle after the CFURLDownload has been created
   15563 
   15564 2007-03-16  Geoffrey Garen  <ggaren (a] apple.com>
   15565 
   15566         Reviewed by Dave Hyatt.
   15567         
   15568         Fixed "called Frame::paint with nil renderer" console messages.
   15569         You can now launch and exit the app without seeing any
   15570         error messages!
   15571 
   15572         * WebView.cpp:
   15573         (WebView::paintIntoBackingStore): Only tell the FrameView to
   15574         paint if it has a renderer. This isn't an issue on the Mac
   15575         because we don't create a FrameView until you load a page.
   15576 
   15577 2007-03-16  Anders Carlsson  <acarlsson (a] apple.com>
   15578 
   15579         Reviewed by Adam.
   15580 
   15581         Add setters and getters for cookie storage accept policy.
   15582         
   15583         * Interfaces/IWebPreferences.idl:
   15584         * WebPreferenceKeysPrivate.h:
   15585         * WebPreferences.cpp:
   15586         (WebPreferences::initialize):
   15587         (WebPreferences::cookieStorageAcceptPolicy):
   15588         (WebPreferences::setCookieStorageAcceptPolicy):
   15589         * WebPreferences.h:
   15590 
   15591 2007-03-16  Anders Carlsson  <acarlsson (a] apple.com>
   15592 
   15593         Reviewed by Adam and Dave Hyatt.
   15594 
   15595         <rdar://problem/5069226>
   15596         Boomer fails Acid2.
   15597         
   15598         Fix acid2 test.
   15599         
   15600         * WebFrame.cpp:
   15601         (WebFrame::shouldFallBack):
   15602         Implement this function.
   15603 
   15604 2007-03-16  Ada Chan  <adachan (a] apple.com>
   15605 
   15606         Reviewed by Steve.
   15607         
   15608         Implemented a couple of DOM methods so we can set the font-size of an element directly in the app.
   15609 
   15610         * DOMCSSClasses.cpp:
   15611         (DOMCSSStyleDeclaration::setProperty):
   15612         * DOMCoreClasses.cpp:
   15613         (DOMElement::style):
   15614 
   15615 2007-03-15  Alice Liu  <alice.liu (a] apple.com>
   15616 
   15617         Reviewed by Ada.
   15618 
   15619         Fixing some leaks
   15620 
   15621         * WebFrame.cpp:
   15622         (WebFrame::dispatchDidReceiveAuthenticationChallenge):
   15623         (WebFrame::dispatchDidCancelAuthenticationChallenge):
   15624 
   15625 2007-03-15  Brady Eidson  <beidson (a] apple.com>
   15626 
   15627         Reviewed by Oliver
   15628 
   15629         CFNetwork related cleanup that was a work around for previous deficiencies in CFURLDownload
   15630         This might fix some of the random crashers we see on stress testing if they end up 
   15631         downloading links.
   15632 
   15633         * WebDownload.cpp:
   15634         (WebDownload::init): Release the connection from the handle so it no longer refers to it
   15635         
   15636 2007-03-15  Maciej Stachowiak  <mjs (a] apple.com>
   15637 
   15638         Reviewed by Geoff and Steve.
   15639         
   15640         - fixed <rdar://problem/5029776> iBench JavaScript test slower than Opera
   15641         - fixes to use FastMalloc on Windows
   15642 
   15643         * WebKit.vcproj/WebKit.def: Add exports of WTF symbols.
   15644         * WebKit.vcproj/WebKit_debug.def: ditto
   15645         * WebKit.vcproj/WebKit.vcproj: Link pthreads, now needed by WTF.
   15646 
   15647 2007-03-15  Brady Eidson  <beidson (a] apple.com>
   15648 
   15649         Reviewed by Alice
   15650         
   15651         Due to OpenSource r20178, all of the sudden we were trying to handle page caching on Windows
   15652         even though it is not hooked up yet.  The resulted in very particular cases ending up calling 
   15653         clear() in FrameLoader::provisionalLoadStarted().  One such particular case was if a page *would*
   15654         be "cachable" (no frames, no passwords, etc etc), and you start a download from that page.
   15655         
   15656         The fix for now is to manually set the pageCacheSize to 0 whenever we create new pages on Windows.
   15657         This prevents the "Should I cache this page?" checking from getting far enough to clear the document.
   15658         It so happens this involves exactly one line.
   15659         
   15660         * WebView.cpp:
   15661         (WebView::initWithFrame): Set page cache size to zero on new pages, and add a fixme to remove later
   15662 
   15663 2007-03-15  Brady Eidson  <beidson (a] apple.com>
   15664 
   15665         Reviewed by Maciej
   15666 
   15667         <rdar://problem/4429701>
   15668         Implements a port blocking black list that matches Firefox's
   15669         
   15670         * Interfaces/IWebError.idl: Add the custom error code for blocked error
   15671 
   15672         * WebFrame.cpp:
   15673         (WebFrame::blockedError): FrameLoaderClient fill-in + a Fixme
   15674         (WebFrame::interruptForPolicyChangeError): Add a Fixme for localization
   15675         * WebFrame.h:
   15676 
   15677 2007-03-15  Adam Roben  <aroben (a] apple.com>
   15678 
   15679         Rubberstamped by Brady.
   15680 
   15681         * WebKitLogging.cpp: Turn of Download logging by default.
   15682 
   15683 2007-03-14  Ada Chan  <adachan (a] apple.com>
   15684 
   15685         Reviewed by Lou.
   15686 
   15687         Added a method in IWebViewPrivate to clear the current focus node.  This is called in the app
   15688         when focus has been transferred to the address field or search field.
   15689 
   15690         * Interfaces/IWebViewPrivate.idl:
   15691         * WebView.cpp:
   15692         (WebView::clearFocusNode):
   15693         * WebView.h:
   15694 
   15695 2007-03-14  Adele Peterson  <adele (a] apple.com>
   15696 
   15697         Reviewed by Ada.
   15698 
   15699         Allow empty commands to be sent by doTextFieldCommandFromEvent.  Our autocomplete code relies on this.
   15700 
   15701         * WebEditorClient.cpp: (WebEditorClient::doTextFieldCommandFromEvent):
   15702 
   15703 2007-03-14  Steve Falkenburg  <sfalken (a] apple.com>
   15704 
   15705         <rdar://problem/5050470> Reproducible crash doing find on page at cnn.com
   15706         
   15707         Add frame->document() null checks in cases where frame could be a
   15708         sub-frame that hasn't started loading yet.
   15709 
   15710         * WebView.cpp:
   15711         (WebView::rectsForTextMatches): Add null check
   15712 
   15713 2007-03-14  Adele Peterson  <adele (a] apple.com>
   15714 
   15715         Reviewed by Darin Adler.
   15716 
   15717         WebKit part of fix for <rdar://problem/5057371> REGRESSION: Shift-selection stopped working in text fields
   15718 
   15719         This fixes doCommandBySelector to take a command string instead of a key code.
   15720 
   15721         * Interfaces/IWebEditingDelegate.idl: Changed parameter to BSTR.
   15722         * Interfaces/IWebFormDelegate.idl: ditto.
   15723         * WebEditorClient.cpp:
   15724         (WebEditorClient::doTextFieldCommandFromEvent): Calls doCommandBySelector with a BString that it gets from interpretKeyEvent instead of a key code.
   15725         (WebEditorClient::textWillBeDeletedInTextField): Calls doCommandBySelector with a BString to represent the BackwardDelete command.
   15726         (WebEditorClient::handleKeypress): Calls handleEditingKeyboardEvent with just the KeyboardEvent.
   15727         * WebView.cpp: Added commands that will be used by doCommandBySelector to the table (Cancel, InsertTab, InsertBacktab, InsertNewline).
   15728         (WebView::interpretKeyEvent): Added. Returns a command string for a KeyboardEvent. Removed static editCommandForKey.
   15729         (WebView::handleEditingKeyboardEvent): Call Editor methods instead of calling handleTextInputEvent directly.
   15730         * WebView.h:
   15731 
   15732 2007-03-14  Administrator  <acarlsson (a] apple.com>
   15733 
   15734         Build fixes.
   15735         
   15736         * WebDataSource.cpp:
   15737         (WebDataSource::subresourceForURL):
   15738         * WebKitDLL.cpp:
   15739         (loadResourceIntoBuffer):
   15740 
   15741 2007-03-12  Adele Peterson  <adele (a] apple.com>
   15742 
   15743         Reviewed by Oliver.
   15744 
   15745         WebKit part of fix for <rdar://problem/5044790> preventing default of keypress event doesn't work (affects .mac)
   15746 
   15747         Removed special handling of the WM_CHAR message.  All this work is now done by WM_KEYDOWN, which will dispatch the keydown event, 
   15748         which causes the keypress event to be dispatched, which calls WebEditorClient::handleKeyPress to do all the hard work.
   15749         
   15750         * WebEditorClient.cpp: (WebEditorClient::handleKeypress): Removed special call to doTextFieldCommandFromEvent since this will now 
   15751         happen during normal key event processing. Call handleEditingKeyboardEvent.  Now editing actions can be prevented from the keypress event handler.
   15752         * WebView.cpp:
   15753         (WebView::WebView): Added m_currentCharacterCode, so we can reuse the computed code from keyDown for keyUp events.
   15754         (WebView::keyUp): Renamed arguments.  Don't dispatch event for shift, ctrl, or capslock keys. Use m_currentCharacterCode when constructing the PlatformKeyboardEvent.
   15755         (WebView::handleEditingKeyboardEvent): Now takes a KeyboardEvent instead of a PlatformKeyboardEvent.  If no editCommand is created
   15756          from the event, then call handleTextInputEvent.
   15757         (WebView::keyDown): Peek at the next message in the message loop.  If its a WM_CHAR, then get the character code and remove that message from the queue.
   15758          Renamed arguments.  Don't dispatch event for shift, ctrl, or capslock keys. Set m_currentCharacterCode and use it when constructing the PlatformKeyboardEvent.
   15759         (WebViewWndProc):  Removed handling of WM_CHAR, since this is now done from WM_KEYDOWN by dispatching the keydown event, which will eventually call handleKeyPress.
   15760         * WebView.h: Made handleEditingKeyboardEvent public so it can be accessed from WebEditorClient.
   15761 
   15762 2007-03-11  Oliver Hunt  <oliver (a] apple.com>
   15763 
   15764         Reviewed by Adele.
   15765 
   15766         Stubbed WebEditorClient::respondToChangedSelection
   15767 
   15768         * WebEditorClient.cpp:
   15769         (WebEditorClient::respondToChangedSelection):
   15770         * WebEditorClient.h:
   15771 
   15772 2007-03-10  Anders Carlsson <acarlsson (a] apple.com>
   15773 
   15774         Reviewed by Adam.
   15775 
   15776         * DOMCoreClasses.cpp:
   15777         (DOMNode::textContent):
   15778         Implement this.
   15779 
   15780 2007-03-09  Anders Carlsson <acarlsson (a] apple.com>
   15781 
   15782         Reviewed by Adam.
   15783 
   15784         * WebURLResponse.cpp:
   15785         (WebURLResponse::suggestedFilename):
   15786         Get the suggested filename from the ResourceResponse object.
   15787 
   15788 2007-03-09  Adam Roben  <aroben (a] apple.com>
   15789 
   15790         Rubberstamped by Steve.
   15791 
   15792         B&I build fix.
   15793 
   15794         * WebKit.vcproj/WebKit.vcproj: Removed all references to iconv.
   15795 
   15796 2007-03-08  Anders Carlsson <acarlsson (a] apple.com>
   15797 
   15798         Build fix.
   15799         
   15800         * WebView.cpp:
   15801         (WebView::isLoading):
   15802 
   15803 2007-03-08  Anders Carlsson <acarlsson (a] apple.com>
   15804 
   15805         Reviewed by Adam.
   15806 
   15807         Implement WebView::isLoading.
   15808         
   15809         * WebView.cpp:
   15810         (WebView::isLoading):
   15811 
   15812 2007-03-07  Adam Roben  <aroben (a] apple.com>
   15813 
   15814         Rubberstamped by Anders.
   15815 
   15816         Return E_POINTER for null parameters.
   15817 
   15818         * WebScrollBar.cpp:
   15819         (WebScrollBar::value):
   15820         (WebScrollBar::capturingMouse):
   15821         (WebScrollBar::frameGeometry):
   15822         (WebScrollBar::width):
   15823         (WebScrollBar::height):
   15824         (WebScrollBar::requestedWidth):
   15825         (WebScrollBar::requestedHeight):
   15826         (WebScrollBar::windowClipRect):
   15827 
   15828 2007-03-07  Adam Roben  <aroben (a] apple.com>
   15829 
   15830         Reviewed by Oliver.
   15831 
   15832         Added requestedWidth and requestedHeight methods to WebScrollBar.
   15833 
   15834         * Interfaces/IWebScrollBarPrivate.idl: Added new declarations.
   15835         * WebScrollBar.cpp:
   15836         (WebScrollBar::requestedWidth): Implemented.
   15837         (WebScrollBar::requestedHeight): Implemented.
   15838         * WebScrollBar.h: Added method declarations.
   15839 
   15840 2007-03-07  Adam Roben  <aroben (a] apple.com>
   15841 
   15842         Rubberstamped by Anders.
   15843 
   15844         * WebFrame.cpp:
   15845         (WebFrame::cancelledError): Use the WebURLErrorDomain constant.
   15846         (WebFrame::interruptForPolicyChangeError): Use the WebKitErrorDomain constant.
   15847 
   15848 2007-03-07  Adam Roben  <aroben (a] apple.com>
   15849 
   15850         Rubberstamped by Anders.
   15851 
   15852         Switch the definition of WebURLErrorDomain to "CFURLErrorDomain" so
   15853         that we will send the right errors once <rdar://problem/5034136> is
   15854         fixed.
   15855 
   15856         * Interfaces/IWebError.idl: Changed definition.
   15857 
   15858 2007-03-07  Adele Peterson  <adele (a] apple.com>
   15859 
   15860         Build fix.
   15861 
   15862         * WebEditorClient.cpp: (WebEditorClient::handleInputMethodKeypress):
   15863 
   15864 2007-03-07  Adele Peterson  <adele (a] apple.com>
   15865 
   15866         Reviewed by Darin Adler.
   15867 
   15868         WebKitWin part of fix for:
   15869         http://bugs.webkit.org/show_bug.cgi?id=10871
   15870         http://bugs.webkit.org/show_bug.cgi?id=12677
   15871         <rdar://problem/4823129> REGRESSION: IME key events different in nightly
   15872         <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
   15873 
   15874         * WebEditorClient.cpp:
   15875         (WebEditorClient::handleKeypress): Changed handleKeyPress to handleKeypress.
   15876         (WebEditorClient::handleInputMethodKeypress): Added.
   15877         * WebEditorClient.h:
   15878 
   15879 2007-03-07  Anders Carlsson  <acarlsson (a] apple.com>
   15880 
   15881         Reviewed by Adam.
   15882 
   15883         * WebFrame.cpp:
   15884         (WebFrame::makeDocumentView):
   15885         Assert that frame is not null.
   15886 
   15887 2007-03-06  Anders Carlsson  <acarlsson (a] apple.com>
   15888 
   15889         Reviewed by Adam.
   15890 
   15891         * WebFrame.cpp:
   15892         (WebFrame::makeDocumentView):
   15893         Call resetMultipleFormSubmissionProtection() so that submitting the same form from separate loads works.
   15894 
   15895 2007-03-06  Brady Eidson  <beidson (a] apple.com>
   15896 
   15897         Reviewed by Adam
   15898 
   15899         Adapt to an API change in CFURLDownload
   15900         
   15901         * WebDownload.cpp:
   15902         (WebDownload::init):
   15903 
   15904 2007-03-06  Steve Falkenburg  <sfalken (a] apple.com>
   15905 
   15906         Rubber-stamped by Adam.
   15907         
   15908         Fix disney.com more.  Disney redirects to disney.go.com.
   15909 
   15910         * WebView.cpp:
   15911         (WebView::userAgentForKURL): Added disney.go.com
   15912 
   15913 2007-03-06  Adam Roben  <aroben (a] apple.com>
   15914 
   15915         Reviewed by Anders.
   15916 
   15917         Always keep rounding hacks on to be consistent.
   15918 
   15919         * WebDragClient.cpp:
   15920         (createDragImageForLink): Tell StringTruncator to keep rounding hacks on.
   15921         * WebKitGraphics.cpp:
   15922         (CenterTruncateStringToWidth): Ditto.
   15923         (RightTruncateStringToWidth): Ditto.
   15924 
   15925 2007-03-06  Steve Falkenburg  <sfalken (a] apple.com>
   15926 
   15927         Reviewed by Adam.
   15928         
   15929         Allow custom user agents per site.
   15930         
   15931         This fixes:
   15932         
   15933         http://www.disney.com
   15934         http://www.yahoo.com
   15935         http://mail.google.com
   15936         iTunes store links (w/ latest unsubmitted CFNetwork from our root share)
   15937 
   15938         * WebView.cpp:
   15939         (WebView::userAgentForKURL): Check URL host against a list of known offenders, return them what they're looking for.
   15940 
   15941 2007-03-06  Anders Carlsson  <acarlsson (a] apple.com>
   15942 
   15943         Reviewed by Adam.
   15944         
   15945         Pass the user agent on.
   15946         
   15947         * WebFrame.cpp:
   15948         (WebFrame::userAgent):
   15949         * WebFrame.h:
   15950 
   15951 2007-03-04  Adam Roben  <aroben (a] apple.com>
   15952 
   15953         Reviewed by Steve.
   15954 
   15955         Added line spacing querying to FontMetrics to support line wrapping.
   15956 
   15957         * WebKitGraphics.cpp:
   15958         (FontMetrics): Return the line spacing.
   15959         * WebKitGraphics.h: Added lineSpacing parameter.
   15960 
   15961 2007-03-02  Adam Roben  <aroben (a] apple.com>
   15962 
   15963         Reviewed by Beth.
   15964 
   15965         Make submenus draw using the UIDelegate.
   15966 
   15967         * Interfaces/IWebUIDelegate.idl: Added new delegate method to add
   15968         custom drawing data for menus.
   15969         * WebView.cpp:
   15970         (WebView::onInitMenuPopup): Added. Calls new delegate method.
   15971         (WebViewWndProc): Added handler for WM_INITMENUPOPUP, which is called
   15972         for all submenus.
   15973         * WebView.h: Added declaration.
   15974 
   15975 2007-03-02  Adam Roben  <aroben (a] apple.com>
   15976 
   15977         Reviewed by Anders.
   15978 
   15979         Added optional underlining of a single character to WebKitGraphics.
   15980 
   15981         * WebKitGraphics.cpp:
   15982         (DrawTextAtPoint): Passed optional underlinedIndex parameter to
   15983         WebCoreTextRenderer.
   15984         * WebKitGraphics.h: Added optional underlinedIndex parameter.
   15985 
   15986 2007-03-01  Adam Roben  <aroben (a] apple.com>
   15987 
   15988         Reviewed by Kevin M.
   15989 
   15990         Add support for right-truncation to WebKitGraphics.
   15991 
   15992         * WebKit.vcproj/WebKit.def: Added new export.
   15993         * WebKit.vcproj/WebKit_debug.def: Ditto.
   15994         * WebKitGraphics.cpp:
   15995         (RightTruncateStringToWidth): Added.
   15996         * WebKitGraphics.h: Added declaration.
   15997 
   15998 2007-02-28  Adam Roben  <aroben (a] apple.com>
   15999 
   16000         Reviewed by Anders.
   16001 
   16002         Made WebKitGraphics more flexible.
   16003 
   16004         * WebDragClient.cpp:
   16005         (WebDragClient::createDragImageForLink): Updated for changes to
   16006         WebKitGraphics/WebCoreTextRenderer.
   16007         * WebKit.vcproj/WebKit.def: Added new exported methods.
   16008         * WebKit.vcproj/WebKit_debug.def: Ditto.
   16009         * WebKitGraphics.cpp:
   16010         (makeFont): Added.
   16011         (DrawTextAtPoint): Simplified arguments, changed to take a
   16012         CGContextRef, and updated for WebCoreTextRenderer changes.
   16013         (TextFloatWidth): Added.
   16014         (FontMetrics): Added.
   16015         (CenterTruncateStringToWidth): Added.
   16016         * WebKitGraphics.h: Updated declarations.
   16017 
   16018 2007-02-28  Steve Falkenburg  <sfalken (a] apple.com>
   16019 
   16020         Fix build (for new SDK) / Break build (for old SDK)
   16021 
   16022         * WebDownload.cpp:
   16023         (WebDownload::initToResumeWithBundle):
   16024 
   16025 2007-02-27  Ada Chan  <adachan (a] apple.com>
   16026 
   16027         Reviewed by Steve and Adam.
   16028         
   16029         WebKitWin changes to get the aqua scrollbar into the app.
   16030 
   16031         * Interfaces/IWebScrollBarDelegatePrivate.idl: Added.
   16032         COM interface for the WebKit scrollbar
   16033         * Interfaces/IWebScrollBarPrivate.idl: Added.
   16034         COM interface that allows the WebKit scrollbar to update the client.
   16035         * Interfaces/WebKit.idl:
   16036         * WebKit.vcproj/Interfaces.vcproj:
   16037         * WebKit.vcproj/WebKit.vcproj:
   16038         * WebKit.vcproj/WebKitGUID.vcproj:
   16039         * WebKitClassFactory.cpp:
   16040         (WebKitClassFactory::CreateInstance):
   16041         Added changes needed to create the WebKitScrollBar through COM
   16042         * WebKitDLL.cpp:
   16043         (DllGetClassObject):
   16044         * WebScrollBar.cpp: Added.
   16045         WebKitScrollBar wraps the WebCore's PlatformScrollbar.  This allows the app to
   16046         make its own scroll bar that's the same aqua scrollbar in the engine.
   16047         (WebScrollBar::WebScrollBar):
   16048         (WebScrollBar::~WebScrollBar):
   16049         (WebScrollBar::createInstance):
   16050         (WebScrollBar::QueryInterface):
   16051         (WebScrollBar::AddRef):
   16052         (WebScrollBar::Release):
   16053         (WebScrollBar::init): instantiate PlatformScrollbar.
   16054         (WebScrollBar::setEnabled): call through to PlatformScrollbar
   16055         (WebScrollBar::setSteps): ditto
   16056         (WebScrollBar::setProportion): ditto
   16057         (WebScrollBar::setRect): ditto
   16058         (WebScrollBar::setValue): ditto
   16059         (WebScrollBar::value): ditto
   16060         (WebScrollBar::capturingMouse): ditto
   16061         (WebScrollBar::paint): ditto
   16062         (WebScrollBar::frameGeometry): ditto
   16063         (WebScrollBar::width): ditto
   16064         (WebScrollBar::height): ditto
   16065         (WebScrollBar::handleMouseEvent): ditto
   16066         (WebScrollBar::scroll): ditto
   16067         (WebScrollBar::valueChanged): call valueChanged on the delegate
   16068         (WebScrollBar::windowClipRect): get the rect from the scrollbar's containing window
   16069         * WebScrollBar.h: Added.
   16070 
   16071 2007-02-27  Alice Liu  <alice.liu (a] apple.com>
   16072 
   16073         Reviewed by Steve, Adam, Maciej, and their mothers.
   16074 
   16075         This is a general leaks fix but helps the effort towards fixing
   16076         <rdar://4974495> Boomer leaks while running HTML iBench
   16077         However, this fix doens't close that bug. 
   16078 
   16079         * WebFrame.cpp:
   16080         (WebFrame::setTitle):
   16081             fix a leak of WebHistory
   16082         * WebHistory.cpp:
   16083         (_WebCoreHistoryProvider::containsItemForURLUnicode):
   16084             fix a leak of WebHistory
   16085 
   16086 2007-02-27  Adam Roben  <aroben (a] apple.com>
   16087 
   16088         Reviewed by Anders.
   16089 
   16090         Fix <rdar://problem/5004615> View source menu option is always disabled
   16091         when Netscape 8 is installed
   16092 
   16093         The bug was caused by Netscape's npTrident.dll plugin, which registers
   16094         itself as a handler for text/html and text/xml.
   16095 
   16096         * WebFrame.cpp:
   16097         (WebFrame::canProvideDocumentSource): Explicitly allow viewing the
   16098         source of HTML and XML documents, rather than disallowing text, image,
   16099         and plugin documents. Plugins can register themselves as handlers for
   16100         HTML and XML MIME types, but we still want to display source in those
   16101         cases.
   16102 
   16103 2007-02-27  Beth Dakin  <bdakin (a] apple.com>
   16104 
   16105         Reviewed by Adam.
   16106 
   16107         Make msimg32.lib available to the engine so that we can use 
   16108         AlphaBlend.
   16109 
   16110         * WebKit.vcproj/WebKit.vcproj:
   16111 
   16112 2007-02-27  Ada Chan  <adachan (a] apple.com>
   16113 
   16114         Fixed build.
   16115 
   16116         * WebFrame.cpp:
   16117 
   16118 2007-02-27  Oliver Hunt  <oliver (a] apple.com>
   16119 
   16120         Reviewed by Lou and Steve.
   16121         
   16122         Handle the WM_CURSOR message to stop cursor flickering
   16123         to fix <rdar://problem/4788352>
   16124 
   16125         * WebView.cpp:
   16126         (WebViewWndProc):
   16127 
   16128 2007-02-27  Ada Chan  <adachan (a] apple.com>
   16129 
   16130         Reviewed by Steve and Anders.
   16131 
   16132         <rdar://4983106> Stop/reload button never changes back to
   16133         reload when a click on a link spawns a download
   16134 
   16135         * WebError.cpp:
   16136         (WebError::isPolicyChangeError): fixed string comparison
   16137         * WebFrame.cpp:
   16138         (WebFrame::interruptForPolicyChangeError): implemented the method
   16139 
   16140 2007-02-26  Adam Roben  <aroben (a] apple.com>
   16141 
   16142         Reviewed by Adele.
   16143 
   16144         Stop bizarre crashes from happening on startup.
   16145 
   16146         * WebKit.vcproj/WebKit.vcproj: Use new ENABLE_* macros instead of *_SUPPORT.
   16147 
   16148 2007-02-24  Steve Falkenburg  <sfalken (a] apple.com>
   16149 
   16150         Pre-emptive build fix.
   16151         Removed CGPThreads DLL copy
   16152 
   16153         * WebKit.vcproj/WebKit.vcproj:
   16154 
   16155 2007-02-22  Adele Peterson  <adele (a] apple.com>
   16156 
   16157         Updating this file to match WebCore.
   16158 
   16159         * WebKit.vcproj/textAreaResizeCorner.png:
   16160 
   16161 2007-02-22  Beth Dakin  <bdakin (a] apple.com>
   16162 
   16163         Reviewed by Adam.
   16164 
   16165         Fix for http://bugs.webkit.org/show_bug.cgi?id=12399 REGRESSION: 
   16166         Unable to prevent default context menu from appearing. <rdar://
   16167         problem/5017416>
   16168 
   16169         * WebView.cpp:
   16170         (WebView::handleContextMenuEvent): Clear the controller's context 
   16171         menu before propagating a new context menu event through the DOM.
   16172 
   16173 2007-02-22  Oliver Hunt  <oliver (a] apple.com>
   16174 
   16175         Reviewed by Ada, Lou, and Steve.
   16176 
   16177         Last of the major changes for drag and drop
   16178         - Move COMPtr.h to WebCore
   16179         - Added WebDragSource, a modified version of SDataSource from the App
   16180           that can notify a WebView's eventhandler of drag events
   16181         - Implement the last bits of the DragClient
   16182         - As part of drag client added code to draw the "doubled" text used by
   16183           drag links.  May be useful for other parts of WebKit/App
   16184         
   16185         * COMPtr.h: Removed.
   16186           Moving to WebCore
   16187         * WebDragClient.cpp:
   16188         (WebDragClient::actionMaskForDrag):
   16189         (WebDragClient::willPerformDragDestinationAction):
   16190         (WebDragClient::dragSourceActionMaskForPoint):
   16191         (WebDragClient::willPerformDragSourceAction):
   16192           Removing WebCore:: as i'm now using the WebCore namespace
   16193         (WebDragClient::startDrag):
   16194           Implemented client method
   16195         (allocImage):
   16196         (dragLabelFont):
   16197           Helper functions for generating the link dragging image
   16198         (WebDragClient::createDragImageForLink):
   16199           Implemented client method
   16200           
   16201         * WebDropSource.cpp: Added.
   16202         (WebDropSource::createInstance):
   16203         (WebDropSource::WebDropSource):
   16204         (WebDropSource::QueryInterface):
   16205         (WebDropSource::AddRef):
   16206         (WebDropSource::Release):
   16207         (generateMouseEvent):
   16208           Generates a mouse event for the EventHandler
   16209         (WebDropSource::QueryContinueDrag):
   16210         (WebDropSource::GiveFeedback):
   16211           Copied from SDataObject in the App.  Minor changes per suggestions
   16212           from Ada and Steve (error codes, potential leaks)
   16213           Also includes logic to notify the source WebView of drag events (moving 
   16214           and drag end)
   16215           
   16216         * WebDropSource.h: Added.
   16217           Header for the above
   16218           
   16219         * WebKit.vcproj/WebKit.vcproj:
   16220           Removing COMPtr.h, and adding WebDropSource.{h,cpp}
   16221           
   16222         * WebKitGraphics.cpp:
   16223         (DrawDoubledTextAtPoint):
   16224           Utility function for drawing double text, as used by link dragging image
   16225           
   16226         * WebKitGraphics.h:
   16227           Defining the above function
   16228 
   16229 2007-02-21  Brady Eidson  <beidson (a] apple.com>
   16230 
   16231         Reviewed by the build-fix fairies
   16232 
   16233         * WebDownload.cpp:
   16234         (WebDownload::initToResumeWithBundle): Conditionally use CFURLDownload API for the resume case.
   16235          I totally made up the flag
   16236 
   16237 2007-02-21  Brady Eidson  <beidson (a] apple.com>
   16238 
   16239         Reviewed by Anders' rubberstamp
   16240         
   16241         * WebDownload.cpp:
   16242         (WebDownload::initToResumeWithBundle): Make a copy of the string we truncate
   16243          so it doesn't affect the original
   16244 
   16245 2007-02-21  Brady Eidson  <beidson (a] apple.com>
   16246 
   16247         Reviewed by Adam
   16248 
   16249         <rdar://problem/4964763> - Hookup resume downloads on the engine side
   16250         
   16251         NOTE: Resume downloads are broken in the current ChickenCat - this functionality requires 
   16252         a custom ToT CFNetwork as of CFNetwork r3372, or will require CFNetwork 172 or later
   16253         
   16254         * WebDownload.cpp:
   16255         (WebDownload::initWithRequest): Changed some logging, plugged some potential leaks
   16256         (WebDownload::initToResumeWithBundle): Added a real implementation - this now works!
   16257         (WebDownload::didFinish): Added some logging and fixed up some lifetime issues
   16258         (extractResumeDataFromBundle): Renamed to imply the modification of the file.  Truncate
   16259           the resume data from the file once it is extracted
   16260 
   16261 2007-02-20  Beth Dakin  <bdakin (a] apple.com>
   16262 
   16263         Reviewed by Maciej.
   16264 
   16265         Move copyImage functionality from the ContextMenuClient to the 
   16266         Pasteboard.
   16267 
   16268         * WebContextMenuClient.cpp:
   16269         * WebContextMenuClient.h:
   16270 
   16271 2007-02-20  Adam Roben  <aroben (a] apple.com>
   16272 
   16273         Reviewed by Darin and Anders.
   16274 
   16275         Fix <rdar://problem/5003318> App: Status bar text is more difficult to
   16276         read than Mac OS X Safari
   16277 
   16278         * WebKitGraphics.cpp:
   16279         (DrawTextAtPoint): Added bottomAlign and centerTruncate parameters.
   16280         * WebKitGraphics.h: Ditto.
   16281 
   16282 2007-02-20  Darin Adler  <darin (a] apple.com>
   16283 
   16284         Reviewed by Anders.
   16285 
   16286         * WebFrame.cpp: (WebFrame::redirectDataToPlugin): Update for changes to
   16287         FrameLoader and DocumentLoader.
   16288 
   16289 2007-02-19  Adam Roben  <aroben (a] apple.com>
   16290 
   16291         Reviewed by Darin Adler.
   16292 
   16293         Fix <rdar://problem/5007566> Crash in WebFrame::dataSource on dni.ru
   16294 
   16295         The fix for the bug was to zero out WebFrame's Frame pointer in
   16296         WebFrame::frameLoaderDestroyed, and then to null-check or ASSERT
   16297         non-null as appropriate. All IWebFrame methods that depend on the Frame
   16298         pointer will return E_FAIL if it is null, and everywhere within
   16299         WebFrame that wasn't null-checking before will now explicitly ASSERT.
   16300 
   16301         I also changed all uses of d->frame and WebFrame::impl() to use the
   16302         core() function for consistency, and so that there is only one code
   16303         path for getting from a WebFrame to a Frame.
   16304 
   16305         Additional more specific comments below.
   16306 
   16307         * WebChromeClient.cpp:
   16308         (WebChromeClient::scrollBackingStore):
   16309         (WebChromeClient::updateBackingStore):
   16310         * WebFrame.cpp:
   16311         (kit): Null-check the frame parameter.
   16312         (core): Added two overloads of this.
   16313         (WebFrame::DOMDocument): Added argument checking.
   16314         (WebFrame::currentForm):
   16315         (WebFrame::loadRequest):
   16316         (WebFrame::loadData):
   16317         (WebFrame::dataSource): Added argument checking, and return E_FAIL if the dataSource is null.
   16318         (WebFrame::provisionalDataSource): Ditto.
   16319         (WebFrame::stopLoading):
   16320         (WebFrame::reload):
   16321         (WebFrame::parentFrame):
   16322         (WebFrame::renderTreeAsExternalRepresentation): Added argument checking.
   16323         (WebFrame::firstLayoutDone): Ditto.
   16324         (WebFrame::loadType): Ditto.
   16325         (WebFrame::invalidate):
   16326         (WebFrame::setTextSizeMultiplier):
   16327         (WebFrame::inViewSourceMode): Added argument checking, and changed to return an HRESULT.
   16328         (WebFrame::setInViewSourceMode): Changed to return an HRESULT.
   16329         (WebFrame::searchForLabelsBeforeElement): Added argument checking.
   16330         (WebFrame::matchLabelsAgainstElement): Ditto.
   16331         (WebFrame::frameLoaderDestroyed): Zero out the Frame pointer because the Frame is being destroyed.
   16332         (WebFrame::createFrame):
   16333         (WebFrame::loadURLIntoChild): Added some assertions.
   16334         (WebFrame::dispatchWillSubmitForm):
   16335         (WebFrame::frameLoadCompleted):
   16336         (WebFrame::receivedData):
   16337         (WebFrame::setUpPolicyListener):
   16338         (WebFrame::receivedPolicyDecision):
   16339         (WebFrame::dispatchDecidePolicyForMIMEType):
   16340         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   16341         (WebFrame::dispatchDecidePolicyForNavigationAction):
   16342         (WebFrame::dispatchCreatePage):
   16343         (WebFrame::createPlugin):
   16344         (WebFrame::redirectDataToPlugin):
   16345         (WebFrame::createJavaAppletWidget):
   16346         (WebFrame::windowObjectCleared):
   16347         (WebFrame::setPrinting):
   16348         (WebFrame::setInPrintingMode):
   16349         (WebFrame::computePageRects):
   16350         (WebFrame::getPrintedPageCount): Zero out the out parameter before proceeding.
   16351         (WebFrame::spoolPages):
   16352         (WebFrame::forceLayoutWithPageWidthRange):
   16353         * WebFrame.h:
   16354         * WebView.cpp:
   16355         (WebView::paint): Silently fail on a null Frame, because this method could be called at any time.
   16356         (WebView::mouseWheel): Ditto.
   16357         (WebViewWndProc): Ditto.
   16358         (WebView::inViewSourceMode): Return whatever WebFrame::setInViewSourceMode returns.
   16359         (WebView::setInViewSourceMode): Ditto.
   16360         (WebView::setCustomTextEncodingName): Replaced check for a null
   16361         FrameLoader with a check for a null Frame, which is equivalent but, as
   16362         a bonus, won't crash.
   16363         (WebView::stringByEvaluatingJavaScriptFromString):
   16364         (WebView::elementAtPoint): Added argument checking.
   16365         (WebView::selectedText): Ditto.
   16366         (WebView::centerSelectionInVisibleArea):
   16367 
   16368 2007-02-19  Adam Roben  <aroben (a] apple.com>
   16369 
   16370         Build fix.
   16371 
   16372         * WebFrame.cpp:
   16373         (WebFrame::computePageRects):
   16374 
   16375 2007-02-18  Maciej Stachowiak  <mjs (a] apple.com>
   16376 
   16377         Reviewed by Oliver.
   16378 
   16379         - Adapt for Lars's patch to clean up Frame
   16380 
   16381         * WebChromeClient.cpp:
   16382         (WebChromeClient::tabsToLinks):
   16383         (WebChromeClient::windowResizerRect):
   16384         (WebChromeClient::addToDirtyRegion):
   16385         (WebChromeClient::scrollBackingStore):
   16386         (WebChromeClient::updateBackingStore):
   16387         * WebChromeClient.h:
   16388         * WebEditorClient.cpp:
   16389         (WebEditorClient::shouldChangeSelectedRange):
   16390         (WebEditorClient::textFieldDidBeginEditing):
   16391         (WebEditorClient::textFieldDidEndEditing):
   16392         (WebEditorClient::textDidChangeInTextField):
   16393         (WebEditorClient::doTextFieldCommandFromEvent):
   16394         (WebEditorClient::textWillBeDeletedInTextField):
   16395         (WebEditorClient::textDidChangeInTextArea):
   16396         * WebEditorClient.h:
   16397         * WebElementPropertyBag.cpp:
   16398         (WebElementPropertyBag::Read):
   16399         * WebFrame.cpp:
   16400         (kit):
   16401         (WebFrame::initWithWebFrameView):
   16402         (WebFrame::searchForLabelsBeforeElement):
   16403         (WebFrame::matchLabelsAgainstElement):
   16404         (WebFrame::createPlugin):
   16405         (WebFrame::createJavaAppletWidget):
   16406         (WebFrame::computePageRects):
   16407         (WebFrame::getPrintedPageCount):
   16408         (WebFrame::spoolPages):
   16409         * WebFrame.h:
   16410         * WebView.cpp:
   16411         (WebView::handleEditingKeyboardEvent):
   16412         (WebView::keyDown):
   16413         (WebView::generateSelectionImage):
   16414         * WebView.h:
   16415 
   16416 2007-02-18  Ada Chan  <adachan (a] apple.com>
   16417 
   16418         Reviewed by Adam.
   16419         
   16420         Move app text controls to use webview
   16421 
   16422         * DOMCoreClasses.cpp:
   16423         (DOMNode::parentNode): implemented
   16424         (DOMElement::blur): implemented
   16425         * Interfaces/IWebUIDelegatePrivate.idl: added API for focus/blur notifications
   16426         * WebKit.vcproj/WebKit.def: added DrawTextAtPoint
   16427         * WebKit.vcproj/WebKit.vcproj: added WebKitGraphics.h/cpp
   16428         * WebKit.vcproj/WebKit_debug.def: added DrawTextAtPoint
   16429         * WebKitGraphics.cpp: Added.
   16430         (DrawTextAtPoint): calls WebCoreDrawTextAtPoint to render text
   16431         * WebKitGraphics.h: Added.
   16432         * WebView.cpp:
   16433         (WebViewWndProc): notify setfocus and killfocus through IWebUIDelegatePrivate delegate.
   16434         (WebView::unmarkAllTextMatches): added null check
   16435 
   16436 2007-02-18  Oliver Hunt  <oliver (a] apple.com>
   16437 
   16438         Reviewed by Adam.
   16439 
   16440         Stubs to keep the build going
   16441 
   16442         * WebDragClient.cpp:
   16443         (WebDragClient::willPerformDragSourceAction):
   16444         (WebDragClient::startDrag):
   16445         (WebDragClient::createDragImageForLink):
   16446         * WebDragClient.h:
   16447 
   16448 2007-02-17  Steve Falkenburg  <sfalken (a] apple.com>
   16449 
   16450         Reviewed by Adam.
   16451 
   16452         <rdar://problem/4918821> Find: clicking on the webview does not hide findoverlay
   16453         <rdar://problem/4956428> Find: Showing/hiding the Find banner should not push the page contents down when possible
   16454 
   16455         * Interfaces/IWebViewPrivate.idl: Added scrollBy, visibleContentRect
   16456         * WebView.cpp:
   16457         (WebView::scrollOffset): Add null check
   16458         (WebView::scrollBy): Added so we can scroll a webview easily (matches scroll position getter here)
   16459         (WebView::visibleContentRect):  Added so we can size find overlay appropriately (not including scroll bars)
   16460         * WebView.h: Added scrollBy, visibleContentRect
   16461 
   16462 2007-02-17  Adele Peterson  <adele (a] apple.com>
   16463 
   16464         Reviewed by Hyatt.
   16465 
   16466         Fix for <rdar://problem/5006194> Caret is not revealed when a newline is entered into a textarea
   16467 
   16468         * WebView.cpp: (WebView::handleEditingKeyboardEvent):
   16469         Use shared code in Editor class to insertParagraphSeparator (or insertLineBreak for plain text).
   16470         This will also reveal the selection properly.
   16471 
   16472 2007-02-16  Anders Carlsson  <acarlsson (a] apple.com>
   16473 
   16474         Build fixes.
   16475         
   16476         * WebDownload.cpp:
   16477         (WebDownload::init):
   16478         (WebDownload::initWithRequest):
   16479 
   16480 2007-02-15  Steve Falkenburg  <sfalken (a] apple.com>
   16481 
   16482         Reviewed by Adam.
   16483         
   16484         <rdar://problem/5001181> Crash: autofilling empty page
   16485         
   16486         Return an error from WebFrame::DOMDocument if there's no document
   16487 
   16488         * WebFrame.cpp:
   16489         (WebFrame::DOMDocument): null document now maps to E_FAIL
   16490 
   16491 2007-02-15  Brady Eidson  <beidson (a] apple.com>
   16492 
   16493         Reviewed by Adam
   16494 
   16495         <rdar://4778394> - Save scroll position in the back/forward list
   16496         
   16497         * WebFrame.cpp:
   16498         (WebFrame::restoreViewState):  Renamed, as scroll position was pushed to WebCore
   16499         (WebFrame::saveViewStateToItem):  Ditto
   16500         * WebFrame.h:
   16501 
   16502 2007-02-15  Adam Roben  <aroben (a] apple.com>
   16503 
   16504         Reviewed by Anders.
   16505 
   16506         Fix <rdar://problem/4968731> Printing scales frames to page width
   16507         instead of doing a layout at that width
   16508 
   16509         * Interfaces/IWebFramePrivate.idl: Added setInPrintingMode method.
   16510         * WebFrame.cpp:
   16511         (WebFrame::WebFrame): Initialize new member.
   16512         (printerRect): New helper function.
   16513         (WebFrame::setPrinting): Ported from WebHTMLView.
   16514         (WebFrame::setInPrintingMode): Implemented.
   16515         (WebFrame::computePageRects): Changed to store the page rects.
   16516         (WebFrame::getPrintedPageCount): Added an ASSERT and updated for change to computePageRects.
   16517         (WebFrame::spoolPages): Use the stored page rects, and set mediaBox's
   16518         size using the print rect instead of the page rect so we will scale the
   16519         pages to the full width of the print DC.
   16520         (WebFrame::forceLayoutWithPageWidthRange): Ported from WebFrameBridge.
   16521         * WebFrame.h: Updated declarations.
   16522 
   16523 2007-02-15  Lou Amadio  <lamadio (a] apple.com>
   16524 
   16525         Reviewed by Steve.
   16526 
   16527         <rdar://problem/4945799> CGText: should use correct mechanism to set font smoothing style
   16528         
   16529         * WebKit.vcproj/WebKit.vcproj:
   16530         * WebPreferences.cpp:
   16531         (WebPreferences::setFontSmoothing):
   16532         * WebView.cpp:
   16533         (WebViewWndProc):
   16534 
   16535 2007-02-13  Steve Falkenburg  <sfalken (a] apple.com>
   16536 
   16537         Reviewed by Adam.
   16538         
   16539         <rdar://problem/4950378> AddressBook autofill doesn't fill rest of form when tabbing out of a completed field
   16540         
   16541         Send tab keypresses to IWebFormDelegate::doCommandBySelector.
   16542 
   16543         * WebEditorClient.cpp:
   16544         (WebEditorClient::handleKeyPress): Call doTextFieldCommandFromEvent if we get a tab keypress
   16545 
   16546 2007-02-12  Ada Chan  <adachan (a] apple.com>
   16547 
   16548         Reviewed by Steve.
   16549         
   16550         Also, checked in a fix in WebContextMenuClient that Adam made on my machine, reviewed by me.
   16551 
   16552         <rdar://4952715> Events not being passed from WebCore/WebKit up through IWebForm::doCommandBySelector
   16553         Inform form delegate about delete key press.
   16554         
   16555         DOM event fixes:
   16556         - Removed DOMEventTarget class.
   16557         - IDOMEventTarget no longer extends IDOMObject
   16558         - DOMNode now implements IDOMEventTarget
   16559         - DOMEvent::CoCreateInstance creates the correct subclasses
   16560         of DOMEvents based on the type of event
   16561         - Added IDOMDocumentEvent interface, which DOMDocument implements.
   16562         - Fixed the out parameter in IDOMUIEvent::view to be IDOMWindow**
   16563         
   16564         Implemented DOMHTMLDocument::body and DOMHTMLElement::setInnerText.
   16565 
   16566         * DOMCoreClasses.cpp:
   16567         (DOMNode::addEventListener): added as DOMNode now needs to implement IDOMEventTarget
   16568         (DOMNode::removeEventListener): ditto above
   16569         (DOMNode::dispatchEvent): ditto above
   16570         (DOMDocument::QueryInterface): DOMDocument now also implements IDOMDocumentEvent
   16571         (DOMDocument::createEvent): added as DOMDocument implements IDOMDocumentEvent
   16572         (DOMElement::focus): implemented
   16573         * DOMCoreClasses.h:
   16574         * DOMEventsClasses.cpp:
   16575         (DOMEvent::DOMEvent): The data member m_event is now a RefPtr, and the WebCore::Event is now
   16576         passed into the constructor via a PassRefPtr.
   16577         (DOMEvent::~DOMEvent): No longer need to deref m_event since we are using a RefPtr.
   16578         (DOMEvent::createInstance): instantiate the correct DOMEvent subclass based on event type.
   16579         (DOMEvent::QueryInterface): be able to QI IID_DOMEvent, which returns back the DOMEvent type.
   16580         (DOMUIEvent::view): fixed the API
   16581         (DOMKeyboardEvent::ctrlKey): call .get() on RefPtr
   16582         (DOMKeyboardEvent::shiftKey): ditto above
   16583         (DOMKeyboardEvent::altKey): ditto above
   16584         (DOMKeyboardEvent::metaKey): ditto above
   16585         (DOMKeyboardEvent::altGraphKey): ditto above
   16586         (DOMMouseEvent::ctrlKey): ditto above
   16587         (DOMMouseEvent::shiftKey): ditto above
   16588         (DOMMouseEvent::altKey): ditto above
   16589         (DOMMouseEvent::metaKey): ditto above
   16590         * DOMEventsClasses.h:
   16591         (DOMEvent::coreEvent): Added an API to get the WebCore::Event out of a DOMEvent.  Used in DOMNode::dispatchEvent.
   16592         (DOMUIEvent::DOMUIEvent): made public so it can be called in DOMEvent::createInstance
   16593         (DOMKeyboardEvent::DOMKeyboardEvent): ditto above
   16594         (DOMKeyboardEvent::view): fixed API
   16595         (DOMMouseEvent::DOMMouseEvent): made public so it can be called in DOMEvent::createInstance
   16596         (DOMMouseEvent::view): fixed API
   16597         (DOMMutationEvent::DOMMutationEvent): made public so it can be called in DOMEvent::createInstance
   16598         (DOMOverflowEvent::DOMOverflowEvent): made public so it can be called in DOMEvent::createInstance
   16599         (DOMWheelEvent::DOMWheelEvent): made public so it can be called in DOMEvent::createInstance
   16600         (DOMWheelEvent::view): fixed API
   16601         * DOMHTMLClasses.cpp:
   16602         (DOMHTMLDocument::body):
   16603         (DOMHTMLElement::setInnerText):
   16604         * Interfaces/DOMEvents.idl: IDOMEventTarget no longer extends IDOMObject.  Added IDOMDocumentEvent.
   16605         * WebContextMenuClient.cpp:
   16606         (WebContextMenuClient::getCustomMenuFromDefaultItems): check for error from calling contextMenuItemsForElement.
   16607         * WebFrame.cpp:
   16608         (WebFrame::textWillBeDeletedInTextField): call form delegate callback doCommandBySelector with VK_BACK 
   16609         when deleting text.
   16610 
   16611 2007-02-11  Adam Roben  <aroben (a] apple.com>
   16612 
   16613         Fixing line endings.
   16614 
   16615         * WebResource.cpp:
   16616         * WebResource.h:
   16617 
   16618 2007-02-10  Adam Roben  <aroben (a] apple.com>
   16619 
   16620         Reviewed by Steve.
   16621 
   16622         Fix <rdar://problem/4989705> Loading eBay puts many items into back list
   16623 
   16624         The bug was that WebFrame::createFrame was calling loadRequest on the
   16625         new child frame, which would initiate a load of FrameLoadTypeStandard,
   16626         when in fact we wanted to do a FrameLoadTypeInternal load. I ported
   16627         -[WebFrame _loadURL:referrer:intoChild:] to WebFrame, which contains
   16628         the logic we need.
   16629 
   16630         * WebFrame.cpp:
   16631         (WebFrame::createFrame): Use a COMPtr to manage the new WebFrame, and
   16632         call loadURLIntoChild instead of just calling loadRequest.
   16633         (WebFrame::loadURLIntoChild): Ported from Mac WebFrame.
   16634         * WebFrame.h: Added declaration.
   16635 
   16636 2007-02-09  Maciej Stachowiak  <mjs (a] apple.com>
   16637 
   16638         Reviewed by Adam, Steve.
   16639         
   16640         - fixed <rdar://problem/4976975> Need WEbKit API to revtrieve current or first frame and form from a WebView
   16641 
   16642         * Interfaces/IWebFrame.idl: added currentForm
   16643         * Interfaces/IWebView.idl: added focusedFrame
   16644         * WebFrame.cpp:
   16645         (WebFrame::currentForm): Get the "current" form for a frame,
   16646         as determined by WebCore::Frame
   16647         * WebFrame.h:
   16648         * WebView.cpp:
   16649         (WebView::focusedFrame): Get the currently focused frame
   16650         (via FocusController).
   16651         * WebView.h:
   16652 
   16653 2007-02-09  Alice Liu  <alice.liu (a] apple.com>
   16654 
   16655         Reviewed by Brady and Adam.
   16656 
   16657         Fixed <rdar://4986194> Typing in content editable body does not automatically scroll to reveal cursor
   16658         fix depends on corresponding fix in WebCoreWin
   16659 
   16660         * WebView.cpp:
   16661         (WebViewWndProc):
   16662         call the editor to handle inserting text and scrolling/focus changes
   16663 
   16664 2007-02-09  John Sullivan  <sullivan (a] apple.com>
   16665 
   16666         Reviewed by Beth
   16667 
   16668         - WebKitWin part of fix for radar 4939636, problems with context menu items and binaries linked
   16669           against WebKit 2.0.
   16670 
   16671         * Interfaces/IWebUIDelegate.idl:
   16672         bumped enum value for new SPI tags to match change in WebCore/WebKit
   16673 
   16674 2007-02-08  Alice Liu  <alice.liu (a] apple.com>
   16675 
   16676         Reviewed by Adam.
   16677 
   16678         Fixed <rdar://4920436> Find: Regression: Find banner does not select in orange on pages with frame
   16679 
   16680         * WebView.cpp:
   16681         (WebView::searchFor):
   16682         Ever since 11396, the widget no longer handles frame focus changes.
   16683         This is now the page's focus controller responsibility
   16684 
   16685 2007-02-07  Brady Eidson  <beidson (a] apple.com>
   16686 
   16687         Reviewed by Steve, Ada, Darin, and Adam
   16688         
   16689         <rdar://problem/4964763> - Download resume support
   16690         
   16691         Note I did my work with a ToT CFNetwork.  
   16692         This will compile on stock CFNetwork, but will not function until they submit resume support.
   16693         
   16694         * Interfaces/IWebDownload.idl:  Reworked the API a bit
   16695         
   16696         * MarshallingHelpers.cpp:
   16697         (MarshallingHelpers::PathStringToFileCFURLRef):
   16698         (MarshallingHelpers::FileCFURLRefToPathString):
   16699         * MarshallingHelpers.h:
   16700 
   16701         * WebDownload.cpp:
   16702         (WebDownload::initToResumeWithBundle): The app needs simply to pass in a bundle path to resume it
   16703         (WebDownload::cancelForResume): Cancel the download, writing out the resume data
   16704         (WebDownload::bundlePathForTargetPath): Helper for the app
   16705         (WebDownload::setDestination): Cache the destination inside the WebDownload
   16706         (WebDownload::didCreateDestination): Hide the bundle distinction from the app
   16707         (WebDownload::didFinish): Hide the bundle distinction from the app
   16708         (createResumeDataFromBundle): Extract the resume data from the bundle
   16709         (appendResumeDataToBundle): Add the resume data to the bundle
   16710         * WebDownload.h:
   16711 
   16712 2007-02-08  Anders Carlsson  <acarlsson (a] apple.com>
   16713 
   16714         Reviewed by Adam.
   16715 
   16716         <rdar://problem/4972772>
   16717         Implement IWebResource::Data.
   16718         
   16719         <rdar://problem/4972777>
   16720         Implement IWebDataSource::subresourceForURL.
   16721         
   16722         * MemoryStream.cpp:
   16723         (MemoryStream::MemoryStream):
   16724         (MemoryStream::createInstance):
   16725         (MemoryStream::Clone):
   16726         * MemoryStream.h:
   16727         Remove notion of buffer owner, it's not needed now that the buffer itself is reference counted.
   16728         
   16729         * WebDataSource.cpp:
   16730         (WebDataSource::subresourceForURL):
   16731         Implement this.
   16732                 
   16733         * WebKit.vcproj/WebKit.vcproj:
   16734         Add WebResource.cpp and WebResource.h
   16735         
   16736         * WebResource.cpp: Added.
   16737         (WebResource::WebResource):
   16738         (WebResource::~WebResource):
   16739         (WebResource::createInstance):
   16740         (WebResource::QueryInterface):
   16741         (WebResource::AddRef):
   16742         (WebResource::Release):
   16743         (WebResource::initWithData):
   16744         (WebResource::data):
   16745         (WebResource::URL):
   16746         (WebResource::MIMEType):
   16747         (WebResource::textEncodingName):
   16748         (WebResource::frameName):
   16749         * WebResource.h: Added.
   16750         
   16751         * WebView.cpp:
   16752         (WebView::formDelegate):
   16753         Return E_FAIL if there's no form delegate.
   16754 
   16755 2007-02-08  Anders Carlsson  <acarlsson (a] apple.com>
   16756 
   16757         Reviewed by Adam.
   16758 
   16759         Add shouldInterruptJavaScript to the API.
   16760         
   16761         * Interfaces/IWebUIDelegatePrivate.idl:
   16762         * WebChromeClient.cpp:
   16763         (WebChromeClient::addMessageToConsole):
   16764         (WebChromeClient::shouldInterruptJavaScript):
   16765 
   16766 2007-02-07  Anders Carlsson  <acarlsson (a] apple.com>
   16767 
   16768         * WebChromeClient.cpp:
   16769         * WebChromeClient.h:
   16770         Build fix.
   16771         
   16772 2007-02-06  Alice Liu  <alice.liu (a] apple.com>
   16773 
   16774         Reviewed by Maciej.
   16775 
   16776         Fix for <rdar://4973323> PageUp/PageDown don't move the caret in textareas
   16777 
   16778         * WebView.cpp:
   16779         (WebView::keyDown):
   16780         added key entry for function to scroll by page and move 
   16781         caret in scrolling editable regions
   16782 
   16783 2007-02-06  Adam Roben  <aroben (a] apple.com>
   16784 
   16785         Reviewed by Ada and Oliver.
   16786         
   16787         Add some GDI object logging to help catch leaks.
   16788 
   16789         * WebFrame.cpp:
   16790         (WebFrame::layoutIfNeeded):
   16791         * WebView.cpp:
   16792         (WebView::addToDirtyRegion):
   16793         (WebView::scrollBackingStore):
   16794         (WebView::updateBackingStore):
   16795         (WebView::paint):
   16796         (WebView::paintIntoBackingStore):
   16797         (WebView::paintIntoWindow):
   16798 
   16799 2007-02-05  Brady Eidson  <beidson (a] apple.com>
   16800 
   16801         Rubberstamped by Adam
   16802         
   16803         Added #include "config.h" to 3 files that didn't have it before
   16804         I was tipped off when some work I was doing resulted in these 3 files
   16805         trying to use the wrong MAX() - YET AGAIN...
   16806 
   16807         * CFDictionaryPropertyBag.cpp:
   16808         * MarshallingHelpers.cpp:
   16809         * WebHistory.cpp:
   16810 
   16811 2007-02-05  Ada Chan  <adachan (a] apple.com>
   16812 
   16813         Reviewed by Anders.
   16814         
   16815         <rdar://4945519> Crash when back/forward buttons are clicked several times
   16816         Clear loader's previous history item when frame load is completed (got that code from the mac side).
   16817 
   16818         * WebFrame.cpp:
   16819         (WebFrame::frameLoadCompleted):
   16820 
   16821 2007-02-04  Ada Chan  <adachan (a] apple.com>
   16822 
   16823         Reviewed by Steve.
   16824         
   16825         <rdar://4946475> Private browsing is not working correctly
   16826         Implemented FrameLoaderClient::privateBrowsingEnabled().
   16827 
   16828         * WebFrame.cpp:
   16829         (WebFrame::privateBrowsingEnabled):
   16830 
   16831 2007-02-04  Alice Liu  <alice.liu (a] apple.com>
   16832 
   16833         Reviewed by Steve.
   16834 
   16835         Fix some memory leaks.  This fixes WebFrame leak as well. 
   16836         Can be considered a partial fix for <rdar://4974495> Boomer leaks while running HTML iBench
   16837 
   16838         * WebActionPropertyBag.cpp:
   16839         (WebActionPropertyBag::WebActionPropertyBag):
   16840         * WebDataSource.cpp:
   16841         (WebDataSource::representation):
   16842         * WebURLResponse.cpp:
   16843         (:m_refCount):
   16844 
   16845 2007-02-04  Adam Roben  <aroben (a] apple.com>
   16846 
   16847         Reviewed by Steve.
   16848 
   16849         Fix <rdar://problem/4972498> REGRESSION: Crash while closing View Source window
   16850 
   16851         * WebView.cpp:
   16852         (WebView::WebView): Initialize new member.
   16853         (WebViewWndProc): Set flag when we receive WM_DESTROY, and don't handle
   16854         WM_SIZE if that flag is true.
   16855         (WebView::mainFrame): Added argument check.
   16856         * WebView.h:
   16857         (WebView::setIsBeingDestroyed): Added.
   16858         (WebView::isBeingDestroyed): Added.
   16859 
   16860 2007-02-04  Adam Roben  <aroben (a] apple.com>
   16861 
   16862         Reviewed by Hyatt.
   16863 
   16864         Fix <rdar://problem/4968183> Cross-window frame targeting doesn't work
   16865 
   16866         * Interfaces/IWebView.idl: Pass RECT by value.
   16867         * WebView.cpp:
   16868         (WebView::initWithFrame): Uses the passed-in RECT for the frame, and
   16869         sets the frame/group names.
   16870         * WebView.h: Updated declaration.
   16871 
   16872 2007-02-03  Steve Falkenburg  <sfalken (a] apple.com>
   16873 
   16874         Reviewed by Adam.
   16875         
   16876         <rdar://problem/4930947> Regression: History is not saved when boomer window is closed.
   16877         
   16878         Fix boolean test causing lost history regression.
   16879 
   16880         * WebHistoryItem.cpp:
   16881         (WebHistoryItem::hasURLString): isEmpty returns true if there is NO url, not if there is one.
   16882 
   16883 2007-02-02  Alice Liu  <alice.liu (a] apple.com>
   16884 
   16885         Reviewed by Maciej.
   16886 
   16887         Fixed <rdar://4956286> Find: Deleting all text in the Find banner search field should clear the page's selection
   16888 
   16889         * Interfaces/IWebView.idl:
   16890         * WebView.cpp:
   16891         (WebView::clearSelection):
   16892         * WebView.h:
   16893             Added a clearSelection function to webview so the findbanner can call it. 
   16894 
   16895 2007-02-02  Adam Roben  <aroben (a] apple.com>
   16896 
   16897         Reviewed by Anders.
   16898 
   16899         Fix a crash when running the PLT.
   16900 
   16901         * WebView.cpp:
   16902         (WebView::initWithFrame):
   16903             Added assertions to make catching this easier.
   16904 
   16905 2007-02-01  Ada Chan  <adachan (a] apple.com>
   16906 
   16907         Reviewed by Anders.
   16908         
   16909         Forgot to assign document to 0 in case of failure in WebView::mainFrameDocument().
   16910 
   16911         * WebView.cpp:
   16912         (WebView::mainFrameDocument):
   16913 
   16914 2007-02-01  Ada Chan  <adachan (a] apple.com>
   16915 
   16916         Reviewed by Steve, Geoff.
   16917         
   16918         <rdar://4969341> Regression: crash: when Resetting Safari
   16919         <rdar://4953390> Closing my two open boomer windows produced a crash
   16920         Fixed crash when closing second window and doing the close 
   16921         all safari window option in Reset Safari.
   16922 
   16923         * WebFrame.cpp:
   16924         WebFramePrivate has a pointer to frameView but does not hold a reference
   16925         to it.  The frame holds a ref to the frameView anyway, so it's safest to get
   16926         the frameView through the frame.  The crash happened because frame already has
   16927         cleared out its frameView but WebFrame was still accessing the old stale frameView
   16928         through that data member in WebFramePrivate.
   16929         (WebFrame::WebFramePrivate::m_policyFunction):
   16930         (WebFrame::WebFramePrivate::frameView):
   16931         (WebFrame::initWithWebFrameView):
   16932         (WebFrame::layoutIfNeeded):
   16933         (WebFrame::hasFrameView):
   16934         * WebView.cpp:
   16935         (WebView::paintIntoBackingStore): bail if frameView is null.
   16936         (WebView::setHostWindow): don't set the view window's parent to 0.
   16937         It'll end up creating a standalone window.
   16938 
   16939 2007-02-01  Anders Carlsson  <acarlsson (a] apple.com>
   16940 
   16941         Reviewed by Adam.
   16942 
   16943         <rdar://problem/4969348>
   16944         REGRESSION: Crash loading pdf
   16945         
   16946         * WebView.cpp:
   16947         (WebView::canShowMIMEType):
   16948         Return true if the MIME type can be handled by a plug-in.
   16949 
   16950 2007-02-01  Adam Roben  <aroben (a] apple.com>
   16951 
   16952         Reviewed by Steve.
   16953 
   16954         Fix <rdar://problem/4849601> Implement printing of individual subframes
   16955 
   16956         This just moves some functions from IWebViewPrivate to IWebFramePrivate.
   16957 
   16958         * Interfaces/IWebFramePrivate.idl: Added declarations.
   16959         * Interfaces/IWebViewPrivate.idl: Removed declarations.
   16960         * WebFrame.cpp: Added functions from WebView.cpp.
   16961         (WebFrame::computePageRects):
   16962         (WebFrame::getPrintedPageCount):
   16963         (WebFrame::spoolPages):
   16964         * WebFrame.h: Added declarations.
   16965         * WebView.cpp: Moved functions to WebFrame.cpp.
   16966         * WebView.h: Removed declarations.
   16967 
   16968 2007-01-31  Ada Chan  <adachan (a] apple.com>
   16969 
   16970         Reviewed by Adam.
   16971         
   16972         Adam and I found a missing retain on WebFrame::setUpPolicyListener().  The mac
   16973         code returns a RefPtr which retains it, but we are returning the raw pointer.
   16974         Changed the code to return a COMPtr.  Without this change, loading bogus urls
   16975         will crash.
   16976 
   16977         * WebFrame.cpp:
   16978         (WebFrame::dispatchWillSubmitForm):
   16979         (WebFrame::setUpPolicyListener):
   16980         (WebFrame::dispatchDecidePolicyForMIMEType):
   16981         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   16982         (WebFrame::dispatchDecidePolicyForNavigationAction):
   16983         * WebFrame.h:
   16984 
   16985 2007-01-31  Ada Chan  <adachan (a] apple.com>
   16986 
   16987         Reviewed by Anders.
   16988         
   16989         Implement WebView::mainFrameDocument.
   16990 
   16991         * WebView.cpp:
   16992         (WebView::mainFrameDocument):
   16993 
   16994 2007-01-31  Steve Falkenburg  <sfalken (a] apple.com>
   16995 
   16996         Reviewed by Ada.
   16997         
   16998         Fixes to BSTR handling required for username/password autofill.
   16999 
   17000         * WebURLProtectionSpace.cpp:
   17001         (WebURLProtectionSpace::authenticationMethod): Return BSTRs instead of bare LPCTSTRs
   17002         (coreScheme): Compare against BSTRs
   17003         (WebURLProtectionSpace::initWithHost): Compare against BSTRs
   17004         (WebURLProtectionSpace::protocol): Return BSTRs instead of bare LPCTSTRs
   17005 
   17006 2007-01-30  Brady Eidson  <beidson (a] apple.com>
   17007 
   17008         Patch by Anders
   17009         Reviewed and landed by Brady
   17010 
   17011         Fixes <rdar://problem/4889160>
   17012         If there's no backing store bitmap, don't try to update it!
   17013         
   17014         * WebView.cpp:
   17015         (WebView::updateBackingStore):
   17016 
   17017 2007-01-30  Steve Falkenburg  <sfalken (a] apple.com>
   17018 
   17019         Reviewed by Lou.
   17020 
   17021         Checkpoint of <rdar://problem/4712459> Account/Password forms autofill
   17022 
   17023         Implemented dependencies in WebKit for account/password autofill.
   17024 
   17025         * DOMCoreClasses.cpp:
   17026         (DOMElement::isEqual): Fixed crash if other ele is 0
   17027         (DOMElement::isFocused):  Added
   17028         * DOMCoreClasses.h:
   17029         * DOMHTMLClasses.cpp:
   17030         (DOMHTMLCollection::DOMHTMLCollection): Added
   17031         (DOMHTMLCollection::createInstance): Added
   17032         (DOMHTMLCollection::length): Implemented
   17033         (DOMHTMLCollection::item): Implemented
   17034         (DOMHTMLDocument::forms): Implemented
   17035         * DOMHTMLClasses.h:
   17036         * Interfaces/DOMPrivate.idl: Added isFocused
   17037         * Interfaces/WebKit.idl: Added WebURLProtectionSpace
   17038         * WebKitClassFactory.cpp:
   17039         (WebKitClassFactory::CreateInstance): Added CLSID_WebURLProtectionSpace
   17040         * WebKitDLL.cpp:
   17041         (DllGetClassObject): Added CLSID_WebURLProtectionSpace
   17042         * WebURLAuthenticationChallenge.cpp:
   17043         (WebURLAuthenticationChallenge::initWithProtectionSpace): Use CLSID_WebURLProtectionSpace instead of IID_WebURLProtectionSpace
   17044         * WebURLProtectionSpace.cpp:
   17045         (WebURLProtectionSpace::QueryInterface): Use CLSID_WebURLProtectionSpace instead of IID_WebURLProtectionSpace
   17046         * WebURLProtectionSpace.h:
   17047 
   17048 2007-01-29  Brady Eidson  <beidson (a] apple.com>
   17049 
   17050         Reviewed by Oliver
   17051 
   17052         * WebDownload.cpp:
   17053         (WebDownload::init): Use RetainPtr.adopt(), and create the CFURLDownload after we store the request
   17054         (WebDownload::initWithRequest): Ditto
   17055 
   17056 2007-01-29  Maciej Stachowiak  <mjs (a] apple.com>
   17057 
   17058         Reviewed by Adam & Steve.
   17059         
   17060         - hook up new cross-platform data-loading code
   17061         - fixed <rdar://4910106> - Need to support loadData and loadHTMLString
   17062 
   17063         * WebFrame.cpp:
   17064         (WebFrame::loadData): add a SharedBuffer overload, and implement
   17065         IStream* version using that.
   17066         (WebFrame::loadHTMLString): implement using loadData
   17067         * WebFrame.h: prototype new method
   17068 
   17069 2007-01-29  Adele Peterson  <adele (a] apple.com>
   17070 
   17071         Reviewed by Darin Adler. 
   17072 
   17073         * WebEditorClient.cpp:
   17074         (WebEditorClient::handleKeyPress): Removed EventTargetNode paramenter. 
   17075         * WebEditorClient.h:
   17076 
   17077 2007-01-29  Anders Carlsson  <acarlsson (a] apple.com>
   17078 
   17079         Reviewed by Oliver.
   17080 
   17081         <rdar://problem/4892067>
   17082         DnD a font file in Boomer locks it up.
   17083 
   17084         Create a drop target helper so we get snazzy drag images.
   17085 
   17086         * WebView.cpp:
   17087         (WebView::WebView):
   17088         (WebView::DragEnter):
   17089         (WebView::DragOver):
   17090         (WebView::DragLeave):
   17091         (WebView::Drop):
   17092         * WebView.h:
   17093 
   17094 2007-01-29  Oliver Hunt  <oliver (a] apple.com>
   17095 
   17096         Reviewed by Adam.
   17097 
   17098         Basic implementation of new dragclient method
   17099 
   17100         * WebDragClient.cpp:
   17101         (WebDragClient::dragSourceActionMaskForPoint):
   17102         * WebDragClient.h:
   17103 
   17104 2007-01-29  Maciej Stachowiak  <mjs (a] apple.com>
   17105 
   17106         - fix build
   17107 
   17108         * WebFrame.h:
   17109 
   17110 2007-01-29  Maciej Stachowiak  <mjs (a] apple.com>
   17111 
   17112         Reviewed by Mark.
   17113         
   17114         <rdar://problem/4910106> Need to support loadData and loadHTMLString
   17115         
   17116         I added the underlying support, but did not turn on the new cross-platform versions yet as I've
   17117         not had sufficient time to test.
   17118 
   17119         * WebDocumentLoader.cpp:
   17120         (WebDocumentLoader::WebDocumentLoader):
   17121         * WebDocumentLoader.h:
   17122         * WebFrame.cpp:
   17123         (WebFrame::createDocumentLoader):
   17124         * WebFrame.h:
   17125 
   17126 2007-01-27  Adam Roben  <aroben (a] apple.com>
   17127 
   17128         Reviewed by Oliver.
   17129 
   17130         Fix <rdar://problem/4944863> WebError::localizedDescription needs to be implemented.
   17131 
   17132         This was so simple, I don't know why I didn't do this before.
   17133 
   17134         * WebError.cpp:
   17135         (WebError::localizedDescription): Implemented.
   17136 
   17137 2007-01-26  Steve Falkenburg  <sfalken (a] apple.com>
   17138 
   17139         B&I build fix
   17140 
   17141         * WebKit.vcproj/WebKit.vcproj:
   17142 
   17143 2007-01-26  Adam Roben  <aroben (a] apple.com>
   17144 
   17145         Reviewed by Oliver.
   17146 
   17147         Engine side of fix for <rdar://problem/4958371> Boomer leaks WebViews
   17148 
   17149         The problem was that we were calling RevokeDragDrop after our view
   17150         window had been destroyed, RevokeDragDrop wouldn't call Release on us.
   17151 
   17152         Fix <rdar://problem/4958382> WebViews leak their HWND if no host window is set
   17153 
   17154         * WebView.cpp:
   17155         (WebView::~WebView): Call DestroyWindow if our view window hasn't been
   17156         destroyed yet.
   17157         (WebViewWndProc): Added an ASSERT, and added call to revokeDragDrop
   17158         when handling WM_DESTROY.
   17159         (WebView::initWithFrame): Call our own registerDragDrop.
   17160         (WebView::close): Removed call to RevokeDragDrop. At this point our
   17161         window has been destroyed, so it's too late to do this.
   17162         (WebView::registerDragDrop): Added.
   17163         (WebView::revokeDragDrop): Added.
   17164         * WebView.h: Added declarations.
   17165 
   17166 2007-01-26  Anders Carlsson  <acarlsson (a] apple.com>
   17167 
   17168         Reviewed by Adam.
   17169         
   17170         * WebKitDLL.cpp:
   17171         Add WebURLRequest entries to the big array.
   17172 
   17173 2007-01-26  Anders Carlsson  <acarlsson (a] apple.com>
   17174 
   17175         Reviewed by Adam.
   17176 
   17177         <rdar://problem/4923845>
   17178         Implement IWebURLRequest.
   17179         
   17180         * Interfaces/WebKit.idl:
   17181         * WebKitClassFactory.cpp:
   17182         (WebKitClassFactory::CreateInstance):
   17183         * WebKitDLL.cpp:
   17184         (DllGetClassObject):
   17185         * WebMutableURLRequest.cpp:
   17186         (WebMutableURLRequest::WebMutableURLRequest):
   17187         (WebMutableURLRequest::createInstance):
   17188         (WebMutableURLRequest::createImmutableInstance):
   17189         (WebMutableURLRequest::QueryInterface):
   17190         * WebMutableURLRequest.h:
   17191 
   17192 2007-01-26  Steve Falkenburg  <sfalken (a] apple.com>
   17193 
   17194         B&I build fix
   17195 
   17196         * WebKit.vcproj/WebKit.vcproj:
   17197 
   17198 2007-01-25  Anders Carlsson  <acarlsson (a] apple.com>
   17199 
   17200         Reviewed by Adam.
   17201 
   17202         Don't pretend that we're an IWebHTTPURLResponse when we're not.
   17203         
   17204         * WebURLResponse.cpp:
   17205         (WebURLResponse::QueryInterface):
   17206         (WebURLResponse::allHeaderFields):
   17207         (WebURLResponse::localizedStringForStatusCode):
   17208         (WebURLResponse::statusCode):
   17209         
   17210         * WebView.cpp:
   17211         (WebView::canShowMIMEType):
   17212         Implement this.
   17213 
   17214 2007-01-26  Brady Eidson  <beidson (a] apple.com>
   17215 
   17216         Reviewed by Anders
   17217 
   17218         Took one of Adam's comments to heart, allow ::start() and others to E_FAIL
   17219         
   17220         * WebDownload.cpp:
   17221         (WebDownload::start): NULL check m_download
   17222         (WebDownload::cancel):  Ditto
   17223         (WebDownload::deletesFileUponFailure):  Yup
   17224         (WebDownload::setDeletesFileUponFailure):  Uh huh!
   17225         (WebDownload::setDestination):  Ooo, ooo - me too!
   17226 
   17227 2007-01-25  Brady Eidson  <beidson (a] apple.com>
   17228 
   17229         Reviewed by Adam
   17230 
   17231         Make downloads no longer start themselves
   17232         
   17233         * Interfaces/IWebDownload.idl:
   17234         * WebContextMenuClient.cpp:
   17235         (WebContextMenuClient::downloadURL):
   17236         * WebDownload.cpp:
   17237         (WebDownload::init):
   17238         (WebDownload::initWithRequest):
   17239         (WebDownload::start):
   17240         * WebDownload.h:
   17241 
   17242 2007-01-25  Ada Chan  <adachan (a] apple.com>
   17243 
   17244         WebDownload.cpp reviewed by Brady.
   17245         WebFrame.cpp reviewed by Anders.
   17246 
   17247         * WebDownload.cpp:
   17248         (WebDownload::cancel): added null check
   17249         * WebFrame.cpp:
   17250         (WebFrame::dispatchDecidePolicyForMIMEType): fixed bug that we treated loading image urls as downloads.
   17251 
   17252 2007-01-25  Adam Roben  <aroben (a] apple.com>
   17253 
   17254         Reviewed by Steve and Darin.
   17255 
   17256         Fix <rdar://problem/4940645> Implement WebError::domain
   17257 
   17258         Also added some error codes.
   17259 
   17260         * WebError.cpp:
   17261         (WebError::domain): Implemented.
   17262         (WebError::localizedDescription): Added a stub implementation.
   17263         * WebFrame.cpp:
   17264         (WebFrame::redirectDataToPlugin): Corrected uses of WebKitError* constants.
   17265         * Interfaces/IWebError.idl:
   17266             - Updated copyright.
   17267             - Changed WebURLErrorDomain to "NSURLErrorDomain" to match what CFNet gives us.
   17268             - Added all NSURLError* values as WebURLError*.
   17269             - Added all WebKitError* values.
   17270             - Added a POSIX error used by WebBrowser/SafariWin.
   17271             - Added failingURL declaration.
   17272         * Interfaces/IWebErrorPrivate.idl: Updated copyright.
   17273 
   17274 2007-01-25  Adam Roben  <aroben (a] apple.com>
   17275 
   17276         Reviewed by Anders.
   17277 
   17278         Part of <rdar://problem/4855618> HTML-based load failure pages.
   17279 
   17280         * Interfaces/IWebError.idl: Added failingURL method declaration.
   17281         * WebError.cpp:
   17282         (WebError::failingURL): Implemented.
   17283         * WebError.h: Updated for interface changes.
   17284         * WebFrame.cpp:
   17285         (WebFrame::loadHTMLString): New protected helper method called by
   17286         IWebFrame::loadHTMLString and IWebFrame::loadAlternateHTMLString.
   17287         (WebFrame::loadAlternateHTMLString): Calls loadHTMLString.
   17288         * WebFrame.h: Added new declaration.
   17289 
   17290 2007-01-25  Ada Chan  <adachan (a] apple.com>
   17291 
   17292         Reviewed by Maciej.
   17293         
   17294         Added init methods instead of doing all the initialization in the constructor.
   17295         There was a lifetime issue with passing the WebDownload to delegate calls when
   17296         its ref count is still 0.
   17297 
   17298         * WebDownload.cpp:
   17299         (WebDownload::init):
   17300         (WebDownload::createInstance):
   17301         * WebDownload.h:
   17302 
   17303 2007-01-24  Adele Peterson  <adele (a] apple.com>
   17304 
   17305         Reviewed by Brady and Oliver.
   17306 
   17307         Moved keyEvent method from FrameWin to EventHandler and updated
   17308         call sites.  Now this method is shared with the mac.
   17309 
   17310         * WebView.cpp:
   17311         (WebView::keyUp):
   17312         (WebView::keyDown):
   17313 
   17314 2007-01-24  Brady Eidson  <beidson (a] apple.com>
   17315 
   17316         Reviewed by Steve
   17317 
   17318         Added cancelling downloads and do it in the destructor
   17319         
   17320         * WebDownload.cpp:
   17321         (WebDownload::~WebDownload):
   17322         (WebDownload::cancel):
   17323 
   17324 2007-01-24  Geoffrey Garen  <ggaren (a] apple.com>
   17325 
   17326         Reviewed by Maciej Stachowiak, Steve Falkenberg, Adam Roben.
   17327         
   17328         Fixed 4946729 -- CFNetwork needs some JS API symbols.
   17329         
   17330         Added hack to compile JSStringRefCF symbols with WebKit, to avoid having to fork
   17331         the JavaScriptCore project into the internal repository.
   17332 
   17333         * WebKit.vcproj/WebKit.def: Export the symbols.
   17334         * WebKit.vcproj/WebKit.vcproj:
   17335 
   17336 2007-01-24  Brady Eidson  <beidson (a] apple.com>
   17337 
   17338         Reviewed by Ada
   17339         
   17340         Added debug-only instrumentation to help track CFNetwork performance and hangs
   17341 
   17342         * WebDownload.cpp:
   17343         (WebDownload::didStart):
   17344         (WebDownload::didReceiveData):
   17345         (WebDownload::didFinish):
   17346         * WebDownload.h:
   17347 
   17348 2007-01-24  Steve Falkenburg  <sfalken (a] apple.com>
   17349 
   17350         Reviewed by Lou.
   17351 
   17352         Checkpoint of <rdar://problem/4712469> Address Book forms autofill.
   17353         
   17354         Call through to the Frame to do autofill, after marshalling parameters to core types.
   17355 
   17356         * DOMHTMLClasses.cpp:
   17357         (DOMHTMLInputElement::readOnly): Implemented
   17358         (DOMHTMLInputElement::rectOnScreen): Implemented
   17359         * WebFrame.cpp:
   17360         (elementFromDOMElement): Added
   17361         (WebFrame::currentForm): Added
   17362         (WebFrame::searchForLabelsBeforeElement): Added
   17363         (WebFrame::matchLabelsAgainstElement): Added
   17364         * WebFrame.h:
   17365         * WebHTMLRepresentation.cpp:
   17366         (WebHTMLRepresentation::currentForm): Implemented
   17367 
   17368 2007-01-24  Anders Carlsson  <acarlsson (a] apple.com>
   17369 
   17370         Reviewed by Maciej.
   17371 
   17372         * WebView.cpp:
   17373         (WebViewWndProc):
   17374         Don't send focus/blur events when the previous/newly focused window is a child of ours.
   17375 
   17376 2007-01-24  Ada Chan  <adachan (a] apple.com>
   17377 
   17378         Forgot a null check.
   17379 
   17380         * WebDownload.cpp:
   17381         (WebDownload::request):
   17382 
   17383 2007-01-24  Ada Chan  <adachan (a] apple.com>
   17384 
   17385         Reviewed by Brady.
   17386         
   17387         More hookup of Downloads.
   17388         
   17389         - Implemented WebDownload::request().
   17390         - Implemented accessors for download delegate in webview.
   17391 
   17392         * Interfaces/IWebDownload.idl:
   17393         * Interfaces/IWebError.idl:
   17394         * WebDownload.cpp:
   17395         (WebDownload::WebDownload):
   17396         (WebDownload::initWithRequest):
   17397         (WebDownload::request):
   17398         (WebDownload::willSendRequest):
   17399         * WebDownload.h:
   17400         * WebView.cpp:
   17401         (WebView::setDownloadDelegate):
   17402         (WebView::downloadDelegate):
   17403         * WebView.h:
   17404 
   17405 2007-01-23  Brady Eidson  <beidson (a] apple.com>
   17406 
   17407         Reviewed by Steve
   17408 
   17409         Initial hookup of Downloads
   17410         
   17411         - The default download delegate will let downloads operate for testing
   17412           and for when clients forget to set their our download delegates.  
   17413           It saves files to the desktop, and doesn't do anything else fancy
   17414         * DefaultDownloadDelegate.cpp: Added.
   17415         (DefaultDownloadDelegate::DefaultDownloadDelegate):
   17416         (DefaultDownloadDelegate::~DefaultDownloadDelegate):
   17417         (DefaultDownloadDelegate::sharedInstance):
   17418         (DefaultDownloadDelegate::createInstance):
   17419         (DefaultDownloadDelegate::QueryInterface):
   17420         (DefaultDownloadDelegate::AddRef):
   17421         (DefaultDownloadDelegate::Release):
   17422         (DefaultDownloadDelegate::decideDestinationWithSuggestedFilename):
   17423         (DefaultDownloadDelegate::didCancelAuthenticationChallenge):
   17424         (DefaultDownloadDelegate::didCreateDestination):
   17425         (DefaultDownloadDelegate::didFailWithError):
   17426         (DefaultDownloadDelegate::didReceiveAuthenticationChallenge):
   17427         (DefaultDownloadDelegate::didReceiveDataOfLength):
   17428         (DefaultDownloadDelegate::didReceiveResponse):
   17429         (DefaultDownloadDelegate::shouldDecodeSourceDataOfMIMEType):
   17430         (DefaultDownloadDelegate::willResumeWithResponse):
   17431         (DefaultDownloadDelegate::willSendRequest):
   17432         (DefaultDownloadDelegate::didBegin):
   17433         (DefaultDownloadDelegate::didFinish):
   17434         * DefaultDownloadDelegate.h: Added.
   17435         
   17436         - Had to do some weird reordering of interface includes to make things compile...
   17437           Ada watched through this one and was as bewildered as I by the compile errors, 
   17438           but settled on the "do what makes it happy" philosophy
   17439         * Interfaces/IWebDataSource.idl:
   17440         * Interfaces/IWebDownload.idl:
   17441         * Interfaces/IWebResourceLoadDelegate.idl:
   17442                
   17443         * Interfaces/WebKit.idl:  Added WebDownload CLSID
   17444 
   17445         * WebContextMenuClient.cpp:
   17446         (WebContextMenuClient::downloadURL):  Actually download a file!
   17447 
   17448         * WebDownload.cpp: Added. Incomplete yet functional implementation of the 
   17449           IWebDownload interface
   17450         (WebDownload::WebDownload):
   17451         (WebDownload::~WebDownload):
   17452         (WebDownload::createInstance):
   17453         (WebDownload::QueryInterface):
   17454         (WebDownload::AddRef):
   17455         (WebDownload::Release):
   17456         (WebDownload::initWithRequest):
   17457         (WebDownload::initWithResumeData):
   17458         (WebDownload::canResumeDownloadDecodedWithEncodingMIMEType):
   17459         (WebDownload::cancel):
   17460         (WebDownload::deletesFileUponFailure):
   17461         (WebDownload::request):
   17462         (WebDownload::resumeData):
   17463         (WebDownload::setDeletesFileUponFailure):
   17464         (WebDownload::setDestination):
   17465         
   17466         - WebDownload acts as its own WebURLAuthenticationChallengeSender 
   17467         (WebDownload::cancelAuthenticationChallenge):
   17468         (WebDownload::continueWithoutCredentialForAuthenticationChallenge):
   17469         (WebDownload::useCredential):
   17470         
   17471         - CFURLDownload callbacks
   17472         (WebDownload::didStart):
   17473         (WebDownload::willSendRequest):
   17474         (WebDownload::didReceiveAuthenticationChallenge):
   17475         (WebDownload::didReceiveResponse):
   17476         (WebDownload::willResumeWithResponse):
   17477         (WebDownload::didReceiveData):
   17478         (WebDownload::shouldDecodeDataOfMIMEType):
   17479         (WebDownload::decideDestinationWithSuggestedObjectName):
   17480         (WebDownload::didCreateDestination):
   17481         (WebDownload::didFinish):
   17482         (WebDownload::didFail):
   17483         
   17484         - The following are all the raw C-function callbacks for CFURLDownload
   17485         (didStartCallback):
   17486         (willSendRequestCallback):
   17487         (didReceiveAuthenticationChallengeCallback):
   17488         (didReceiveResponseCallback):
   17489         (willResumeWithResponseCallback):
   17490         (didReceiveDataCallback):
   17491         (shouldDecodeDataOfMIMETypeCallback):
   17492         (decideDestinationWithSuggestedObjectNameCallback):
   17493         (didCreateDestinationCallback):
   17494         (didFinishCallback):
   17495         (didFailCallback):
   17496         * WebDownload.h: Added.
   17497         
   17498         * WebFrame.cpp:
   17499         (WebFrame::dispatchDecidePolicyForMIMEType):  Temporary and minimal Policy decision that actually results in a download
   17500         (WebFrame::download):  Actually download... in theory.  Blocked on CFNetwork for now
   17501         
   17502         - More CLSID voodoo
   17503         * WebKit.vcproj/WebKit.vcproj:
   17504         * WebKitClassFactory.cpp:
   17505         (WebKitClassFactory::CreateInstance):
   17506         * WebKitDLL.cpp:
   17507         (DllGetClassObject):
   17508         
   17509         * WebKitLogging.cpp: Added. I needed these for downloads, and just kept the default channels from WebKitMac
   17510         (initializeLogChannel):
   17511         (WebKitInitializeLoggingChannelsIfNecessary):
   17512         * WebKitLogging.h: Added.
   17513         
   17514         * WebView.cpp:
   17515         (WebView::downloadDelegate):  Change ASSERT_NOT_REACHED() to LOG_NOIMPL() to not stop the app
   17516 
   17517 2007-01-23  Steve Falkenburg  <sfalken (a] apple.com>
   17518 
   17519         Copy new CGPThreads DLL (build fix for new SDK).
   17520 
   17521         * WebKit.vcproj/WebKit.vcproj:
   17522 
   17523 2007-01-23  Alice Liu  <alice.liu (a] apple.com>
   17524 
   17525         Reviewed by Brady.
   17526 
   17527         Fixed <rdar://4949278> cut/copy/paste not working in subframes
   17528 
   17529         * WebView.cpp:
   17530         (WebView::cutEnabled):
   17531         (WebView::copyEnabled):
   17532         (WebView::pasteEnabled):
   17533         (WebView::deleteEnabled):
   17534         (WebView::editingEnabled):
   17535         (WebView::deleteSelection):
   17536         (WebView::copy):
   17537         (WebView::cut):
   17538         (WebView::paste):
   17539         (WebView::copyURL):
   17540         (WebView::delete_):
   17541         get the focusedOrMainFrame() instead of mainFrame()
   17542 
   17543 2007-01-23  Anders Carlsson  <acarlsson (a] apple.com>
   17544 
   17545         Reviewed by Darin Adler.
   17546 
   17547         <rdar://problem/4919754>
   17548         Boomer freezes after attempt to play video.
   17549         
   17550         * Interfaces/IWebError.idl:
   17551         Add error code.
   17552         
   17553         * WebFrame.cpp:
   17554         (WebFrame::redirectDataToPlugin):
   17555         Cancel loading the main resource.
   17556         
   17557         (WebFrame::windowObjectCleared):
   17558         Use toRef.
   17559 
   17560 2007-01-23  Alice Liu  <alice.liu (a] apple.com>
   17561 
   17562         Reviewed Maciej.
   17563 
   17564         fixed <rdar://4923535> pressing shift-backspace inserts a bad character        
   17565         fixed <rdar://4923536> shift-pageup/shift-pagedown do nothing in textareas
   17566 
   17567         * WebView.cpp:
   17568         added to keyEntries an entry for the commands accounting for modifiers
   17569 
   17570 2007-01-23  Adele Peterson  <adele (a] apple.com>
   17571 
   17572         Reviewed by Darin Adler.
   17573    
   17574         Reorganized some event handling code for keyPress events to
   17575         prepare for another fix.
   17576         
   17577         * WebEditorClient.cpp: (WebEditorClient::handleKeyPress): Added.
   17578         * WebEditorClient.h: Removed unnecessary forward declarations.
   17579 
   17580 2007-01-23  Anders Carlsson  <acarlsson (a] apple.com>
   17581 
   17582         Build fixes.
   17583         
   17584         * WebFrame.cpp:
   17585         (WebFrame::createFrame):
   17586         (WebFrame::createPlugin):
   17587         (WebFrame::redirectDataToPlugin):
   17588         (WebFrame::createJavaAppletWidget):
   17589         (WebFrame::objectContentType):
   17590         (WebFrame::overrideMediaType):
   17591         (WebFrame::windowObjectCleared):
   17592         * WebFrame.h:
   17593         Move functions here from WebFrameLoaderWin in WebCore.
   17594 
   17595 2007-01-23  Oliver Hunt  <oliver (a] apple.com>
   17596 
   17597         Reviewed by Adam.
   17598 
   17599         Attaching the DragController logic to the WebView
   17600 
   17601         * Interfaces/IWebUIDelegate.idl:
   17602           Fixed a couple of function definitions to use IDataObject instead of IDropSource
   17603 
   17604         * WebDragClient.cpp: Added.
   17605         (WebDragClient::WebDragClient):
   17606         (WebDragClient::actionMaskForDrag):
   17607         (WebDragClient::willPerformDragDestinationAction):
   17608         * WebDragClient.h: Added.
   17609           DragClient implementation.
   17610 
   17611         * WebKit.vcproj/WebKit.vcproj:
   17612         * WebView.cpp:
   17613         (WebView::WebView):
   17614         (WebView::initWithFrame):
   17615         (dragOperationToDragCursor):
   17616         (keyStateToDragOperation):
   17617         (WebView::DragEnter):
   17618         (WebView::DragOver):
   17619         (WebView::DragLeave):
   17620         (WebView::Drop):
   17621           Set up and register WebView as an IDropTarget, and pass off 
   17622           drag events to the DragController
   17623         * WebView.h:
   17624           Ditto
   17625 
   17626 2007-01-22  Adam Roben  <aroben (a] apple.com>
   17627 
   17628         Reviewed by Anders, Brady, and Steve.
   17629 
   17630         WebKit part of <rdar://problem/4601321> HTTP Authentication Alerts
   17631 
   17632         Made WebURLCredential use a registered CLSID so the app can get instantiate it:
   17633 
   17634         * Interfaces/IWebURLAuthenticationChallenge.idl: Changed method name.
   17635         * Interfaces/WebKit.idl: Added GUIDs for WebURLCredential.
   17636         * WebKitClassFactory.cpp:
   17637         (WebKitClassFactory::CreateInstance): Added case for WebURLCredential.
   17638         * WebKitDLL.cpp: Added WebURLCredential and WebError (it was omitted
   17639         from r11821).
   17640         (DllGetClassObject):
   17641         * WebURLAuthenticationChallenge.cpp:
   17642         (WebURLAuthenticationChallenge::initWithProtectionSpace): Changed to
   17643         use CLSID, and return the failing HRESULT.
   17644         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
   17645         Changed to return the failing HRESULT.
   17646         * WebURLAuthenticationChallengeSender.cpp:
   17647         (WebURLAuthenticationChallengeSender::useCredential): Ditto.
   17648         * WebURLCredential.cpp: Removed IID definition.
   17649         (WebURLCredential::QueryInterface): Switched to use CLSID.
   17650         (WebURLCredential::initWithUser): Updated method name.
   17651         * WebURLCredential.h: Ditto.
   17652 
   17653 2007-01-22  Steve Falkenburg  <sfalken (a] apple.com>
   17654 
   17655         Updated strings not to be localized, added native line endings svn flag.
   17656 
   17657         * English.lproj/StringsNotToBeLocalized.txt:
   17658 
   17659 2007-01-22  Anders Carlsson  <acarlsson (a] apple.com>
   17660 
   17661         Reviewed by Brady.
   17662 
   17663         * Interfaces/IWebError.idl:
   17664         Clean up the IWebError interface.
   17665         
   17666         * Interfaces/WebKit.idl:
   17667         * WebKitClassFactory.cpp:
   17668         (WebKitClassFactory::CreateInstance):
   17669         Make it possible for clients to create WebErrors.
   17670         
   17671         * WebError.cpp:
   17672         (WebError::QueryInterface):
   17673         (WebError::init):
   17674         * WebError.h:
   17675         * WebURLAuthenticationChallenge.cpp:
   17676         (WebURLAuthenticationChallenge::initWithProtectionSpace):
   17677         Get rid of IID_WebError and use CLSID_WebError instad.
   17678         
   17679         * WebView.cpp:
   17680         (WebView::canHandleRequest):
   17681         Return true for "about" URLs.
   17682         
   17683         (WebView::canHandleRequest):
   17684         Add private COM method.
   17685         
   17686         (WebView::close):
   17687         Reset the policy delegate.
   17688 
   17689 2007-01-19  Ada Chan  <adachan (a] apple.com>
   17690 
   17691         Fixed build.
   17692 
   17693         Reviewed by Anders.
   17694         Added IWebResourceLoadDelegatePrivate which has one method: didLoadResourceFromMemoryCache.
   17695 
   17696         * Interfaces/IWebResourceLoadDelegatePrivate.idl: Added.
   17697         * WebFrame.cpp:
   17698         (WebFrame::dispatchDidFinishDocumentLoad):
   17699         * WebKit.vcproj/Interfaces.vcproj:
   17700         * WebKit.vcproj/WebKitGUID.vcproj:
   17701 
   17702 2007-01-19  John Sullivan  <sullivan (a] apple.com>
   17703 
   17704         Reviewed by Lou.
   17705         
   17706         Added mechanism for new callbacks, to try to avoid breaking the Windows build.
   17707 
   17708         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
   17709         * WebFrame.cpp:
   17710         (WebFrame::dispatchDidFinishDocumentLoad):
   17711         * WebFrame.h:
   17712 
   17713 2007-01-19  Brady Eidson  <beidson (a] apple.com>
   17714 
   17715         Reviewed by Ada
   17716 
   17717         Much more realistic WebDownload interface that delegates will actually have to implement
   17718         
   17719         * Interfaces/IWebDownload.idl:
   17720 
   17721 2007-01-18  Ada Chan  <adachan (a] apple.com>
   17722 
   17723         Reviewed by Steve.
   17724         
   17725         <rdar://4601522> Activity Window
   17726         - Added some NSURL equivalent constants in IWebURLResponse.idl and IWebError.idl
   17727         - Added IWebErrorPrivate.idl which contains some private error codes
   17728         - Added IWebHTTPURLResponse interface which extends IWebURLResponse.  It has the
   17729         same API as NSHTTPURLResponse.
   17730 
   17731         * Interfaces/IWebError.idl:
   17732         * Interfaces/IWebErrorPrivate.idl: Added.
   17733         * Interfaces/IWebHTTPURLResponse.idl: Added.
   17734         * Interfaces/IWebResourceLoadDelegate.idl: fixed a typo in parameter name
   17735         * Interfaces/IWebURLResponse.idl: added WebURLResponseUnknownLength
   17736         * WebKit.vcproj/Interfaces.vcproj: for adding IWebErrorPrivate.idl and IWebHTTPURLResponse.idl
   17737         * WebKit.vcproj/WebKitGUID.vcproj: for the new IID_IWebHTTPURLResponse
   17738         * WebURLResponse.cpp:
   17739         (WebURLResponse::QueryInterface): also returns the new IWebHTTPURLResponse interface
   17740         (WebURLResponse::allHeaderFields): Added stub for IWebHTTPURLResponse::allHeaderFields.
   17741         (WebURLResponse::localizedStringForStatusCode): Added stub for IWebHTTPURLResponse::localizedStringforStatusCode
   17742         (WebURLResponse::statusCode): Implemented IWebHTTPURLResponse::statusCode.
   17743         * WebURLResponse.h:
   17744 
   17745 2007-01-19  Anders Carlsson  <acarlsson (a] apple.com>
   17746 
   17747         The obligatory build fix.
   17748         
   17749         * WebChromeClient.cpp:
   17750         (WebChromeClient::runJavaScriptPrompt):
   17751 
   17752 2007-01-18  Anders Carlsson  <acarlsson (a] apple.com>
   17753 
   17754         Reviewed by Adam.
   17755 
   17756         * WebChromeClient.cpp:
   17757         (WebChromeClient::runJavaScriptAlert):
   17758         (WebChromeClient::runJavaScriptConfirm):
   17759         (WebChromeClient::runJavaScriptPrompt):
   17760         (WebChromeClient::setStatusbarText):
   17761         * WebChromeClient.h:
   17762         Add new ChromeClient methods.
   17763         
   17764         * WebFrame.cpp:
   17765         (WebFrame::userAgent):
   17766         (WebFrame::updateGlobalHistoryForReload):
   17767         * WebFrame.h:
   17768         Remove unused FrameWinClient functions.
   17769 
   17770 2007-01-18  Anders Carlsson  <acarlsson (a] apple.com>
   17771 
   17772         Reviewed by Adam.
   17773 
   17774         * WebView.cpp:
   17775         (WebView::scrollBackingStore):
   17776         Only try to scroll the backing store if it actually exists.
   17777 
   17778 2007-01-18  Anders Carlsson  <acarlsson (a] apple.com>
   17779 
   17780         Reviewed by Lou and Adam.
   17781 
   17782         Call all policy, frame load and resource load delegate methods.
   17783         
   17784         * Interfaces/IWebPolicyDelegate.idl:
   17785         Add some definitions needed.
   17786         
   17787         * WebActionPropertyBag.cpp: Added.
   17788         (WebActionPropertyBag::WebActionPropertyBag):
   17789         (WebActionPropertyBag::~WebActionPropertyBag):
   17790         (WebActionPropertyBag::createInstance):
   17791         (WebActionPropertyBag::QueryInterface):
   17792         (WebActionPropertyBag::AddRef):
   17793         (WebActionPropertyBag::Release):
   17794         (isEqual):
   17795         (findMouseEvent):
   17796         (WebActionPropertyBag::Read):
   17797         (WebActionPropertyBag::Write):
   17798         * WebActionPropertyBag.h: Added.
   17799         New class which wraps a NavigationAction in a property bag.
   17800         
   17801         * WebFrame.cpp:
   17802         (WebFrame::dispatchWillSubmitForm):
   17803         (WebFrame::clearUnarchivingState):
   17804         (WebFrame::dispatchDecidePolicyForMIMEType):
   17805         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   17806         (WebFrame::dispatchDecidePolicyForNavigationAction):
   17807         (WebFrame::dispatchWillSendRequest):
   17808         (WebFrame::dispatchDidFailLoading):
   17809         * WebFrame.h:
   17810         Dispatch correct delegate methods.
   17811         
   17812         * WebKit.vcproj/WebKit.vcproj:
   17813         Add WebActionPropertyBag files.
   17814         
   17815         * WebURLResponse.cpp:
   17816         (WebURLResponse::createInstance):
   17817         Return 0 for null responses.
   17818         
   17819 2007-01-18  Anders Carlsson  <acarlsson (a] apple.com>
   17820 
   17821         Reviewed by John Sullivan
   17822 
   17823         * WebView.cpp:
   17824         (WebView::searchFor):
   17825         Build fix.
   17826 
   17827 2007-01-17  Alice Liu  <alice.liu (a] apple.com>
   17828 
   17829         Added stubs to keep the boomer build from failing.
   17830 
   17831         * WebEditorClient.cpp:
   17832         (WebEditorClient::didSetSelectionTypesForPasteboard):
   17833         * WebEditorClient.h:
   17834  
   17835 2007-01-17  Brady Eidson  <beidson (a] apple.com>
   17836 
   17837         Reviewed by Maciej
   17838 
   17839         Final hookup of HTTP Auth plumbing
   17840         
   17841         * WebFrame.cpp:
   17842         (WebFrame::dispatchDidReceiveAuthenticationChallenge): Call to the ResourceLoadDelegate so the app 
   17843           can handle the Auth request.  Fail gracefully if the delegate doesn't exist or fails
   17844         (WebFrame::dispatchDidCancelAuthenticationChallenge):  Call to the Delegate so the app can cancel
   17845           an in-progress challenge
   17846         * WebURLAuthenticationChallenge.h:
   17847 
   17848 2007-01-17  Brady Eidson  <beidson (a] apple.com>
   17849 
   17850         Reviewed by Steve Falkenburg
   17851 
   17852         Next round of plumbing for HTTP Auth, or as I like to call it:
   17853         "Implementing platform dependent wrappers for my platform independent 
   17854          wrappers which wrap platform dependent objects"
   17855         
   17856         *sigh*
   17857         
   17858         Also, not included in this ChangeLog, I changed the eol property to
   17859         native on a handful of WebKitWin files who didn't have it set yet
   17860         
   17861         * Interfaces/IWebURLAuthenticationChallenge.idl: Added some string constants, nuked an unneeded 
   17862           initializer from IWebCredential
   17863           
   17864         * WebError.cpp: Added QueryInterface for new GUID
   17865         (WebError::resourceError): Added accessor to WebCore backer
   17866         * WebError.h: Added GUID
   17867         
   17868         * WebKit.vcproj/WebKit.vcproj:
   17869         
   17870         * WebURLAuthenticationChallenge.cpp: Added.
   17871         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
   17872         (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
   17873         (WebURLAuthenticationChallenge::createInstance):
   17874         (WebURLAuthenticationChallenge::QueryInterface):
   17875         (WebURLAuthenticationChallenge::AddRef):
   17876         (WebURLAuthenticationChallenge::Release):
   17877         (WebURLAuthenticationChallenge::initWithProtectionSpace):
   17878         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
   17879         (WebURLAuthenticationChallenge::error):
   17880         (WebURLAuthenticationChallenge::failureResponse):
   17881         (WebURLAuthenticationChallenge::previousFailureCount):
   17882         (WebURLAuthenticationChallenge::proposedCredential):
   17883         (WebURLAuthenticationChallenge::protectionSpace):
   17884         (WebURLAuthenticationChallenge::sender):
   17885         (WebURLAuthenticationChallenge::authenticationChallenge):
   17886         * WebURLAuthenticationChallenge.h: Added.
   17887         
   17888         * WebURLAuthenticationChallengeSender.cpp: Added.
   17889         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
   17890         (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
   17891         (WebURLAuthenticationChallengeSender::createInstance):
   17892         (WebURLAuthenticationChallengeSender::QueryInterface):
   17893         (WebURLAuthenticationChallengeSender::AddRef):
   17894         (WebURLAuthenticationChallengeSender::Release):
   17895         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
   17896         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
   17897         (WebURLAuthenticationChallengeSender::useCredential):
   17898         (WebURLAuthenticationChallengeSender::resourceHandle):
   17899         * WebURLAuthenticationChallengeSender.h: Added.
   17900         
   17901         * WebURLCredential.cpp: Added.
   17902         (WebURLCredential::WebURLCredential):
   17903         (WebURLCredential::~WebURLCredential):
   17904         (WebURLCredential::createInstance):
   17905         (WebURLCredential::QueryInterface):
   17906         (WebURLCredential::AddRef):
   17907         (WebURLCredential::Release):
   17908         (WebURLCredential::hasPassword):
   17909         (WebURLCredential::initWithuser):
   17910         (WebURLCredential::password):
   17911         (WebURLCredential::persistence):
   17912         (WebURLCredential::user):
   17913         (WebURLCredential::credential):
   17914         * WebURLCredential.h: Added.
   17915         
   17916         * WebURLProtectionSpace.cpp: Added.
   17917         (WebURLProtectionSpace::WebURLProtectionSpace):
   17918         (WebURLProtectionSpace::~WebURLProtectionSpace):
   17919         (WebURLProtectionSpace::createInstance):
   17920         (WebURLProtectionSpace::QueryInterface):
   17921         (WebURLProtectionSpace::AddRef):
   17922         (WebURLProtectionSpace::Release):
   17923         (WebURLProtectionSpace::authenticationMethod):
   17924         (WebURLProtectionSpace::host):
   17925         (coreScheme): Helper for the init methods
   17926         (WebURLProtectionSpace::initWithHost):
   17927         (WebURLProtectionSpace::initWithProxyHost):
   17928         (WebURLProtectionSpace::isProxy):
   17929         (WebURLProtectionSpace::port):
   17930         (WebURLProtectionSpace::protocol):
   17931         (WebURLProtectionSpace::proxyType):
   17932         (WebURLProtectionSpace::realm):
   17933         (WebURLProtectionSpace::receivesCredentialSecurely):
   17934         (WebURLProtectionSpace::protectionSpace):
   17935         * WebURLProtectionSpace.h: Added.
   17936         
   17937         * WebURLResponse.cpp:  Added QueryInterface for new GUID
   17938         (WebURLResponse::resourceResponse): Added accessor to WebCore backer
   17939         * WebURLResponse.h:  Added GUID
   17940 
   17941 2007-01-16  Alice Liu  <alice.liu (a] apple.com>
   17942 
   17943         Added stubs to keep the boomer build from failing.
   17944 
   17945         * WebEditorClient.cpp:
   17946         (WebEditorClient::didWriteSelectionToPasteboard):
   17947         * WebEditorClient.h:
   17948 
   17949 2007-01-16  Beth Dakin  <bdakin (a] apple.com>
   17950 
   17951         Reviewed by Adam.
   17952 
   17953         Fix for <rdar://problem/4874565> Draw context menus using CG
   17954 
   17955         Added new delegate calls to the UIDelegate to draw context menus 
   17956         that match the context menus in the app.
   17957 
   17958         * Interfaces/IWebUIDelegate.idl: Added five new delegate calls. 
   17959         They take care of asking if there is a custom menu implementation,  
   17960         adding custom drawing data to the menu items and tracking the popup 
   17961         in a custom way, measuring the items when it comes time to draw the 
   17962         menus, actually drawing the items, and properly destroying the 
   17963         custom data when the menu is destroyed.
   17964         * WebView.cpp:
   17965         (WebView::handleContextMenuEvent): This function now takes care of 
   17966         popping up the menu after the event is dispatched through WebCore. 
   17967         WebCore used to pop up the menu itself, but having WebKit pop up 
   17968         the menu matches the Mac and allows up to get rid of two functions 
   17969         on ContextMenu that are empty on the Mac. It also makes more sense 
   17970         to have this code reside in WebKit now that there are calls over 
   17971         the UIDelegate to draw the menus. 
   17972         (WebView::onMeasureItem): Helper function to call over the 
   17973         UIDelegate.
   17974         (WebView::onDrawItem): Same.
   17975         (WebView::onUninitMenuPopup): Same.
   17976         (WebViewWndProc): Now that we are drawing the menus ourselves, we 
   17977         need to handle WM_MEASUREITEM, WM_DRAWITEM, and WM_UNINITMENUPOPUP.
   17978         * WebView.h:
   17979 
   17980 2007-01-16  Steve Falkenburg  <sfalken (a] apple.com>
   17981 
   17982         Reviewed by Lou.
   17983 
   17984         Change version numbering scheme for files from the form 3.0.521.32
   17985         to the form 3.521.32.11.
   17986         
   17987         This will fix our upgrade installer logic.
   17988 
   17989         * WebKit.vcproj/WebKit.rc:
   17990 
   17991 2007-01-15  Anders Carlsson  <acarlsson (a] apple.com>
   17992 
   17993         Reviewed by Adam.
   17994         
   17995         Fix: <rdar://problem/4925504> ASSERT when finished running iBench HTML Load Speed
   17996 
   17997         * WebFrame.cpp:
   17998         (WebFrame::cancelledError): Return a pseudo-CFNet cancelled error instead of a null ResourceError.
   17999 
   18000 2007-01-15  Anders Carlsson  <acarlsson (a] apple.com>
   18001 
   18002         Reviewed by Adam.
   18003 
   18004         <rdar://problem/4889203>
   18005         Implement WebFrame::canHandleRequest.
   18006         
   18007         * WebDataSource.cpp:
   18008         (WebDataSource::webFrame):
   18009         Implement webFrame accessor.
   18010         
   18011         * WebFrame.cpp:
   18012         (WebFrame::canHandleRequest):
   18013         * WebView.cpp:
   18014         (WebView::canHandleRequest):
   18015         * WebView.h:
   18016         Implement canHandleRequest.
   18017 
   18018 2007-01-15  Anders Carlsson  <acarlsson (a] apple.com>
   18019 
   18020         Reviewed by Adam.
   18021 
   18022         Loader related improvements.
   18023         
   18024         * Interfaces/IWebFrameLoadDelegate.idl:
   18025         Change method signature to match what we have on Mac more closely.
   18026         
   18027         * WebDataSource.cpp:
   18028         (WebDataSource::pageTitle):
   18029         Implement.
   18030         
   18031         * WebError.cpp: Added.
   18032         * WebError.h: Added.
   18033         Add (currently stubbed out) IWebError implementation.
   18034         
   18035         * WebFrame.cpp:
   18036         (WebFrame::dispatchDidCancelClientRedirect):
   18037         (WebFrame::dispatchWillPerformClientRedirect):
   18038         (WebFrame::dispatchDidReceiveIcon):
   18039         (WebFrame::dispatchUnableToImplementPolicy):
   18040         (WebFrame::dispatchDidFailProvisionalLoad):
   18041         (WebFrame::dispatchDidFailLoad):
   18042         Implement these.
   18043         
   18044         * WebKit.vcproj/WebKit.vcproj:
   18045         Add WebError.h and WebError.cpp
   18046         
   18047 2007-01-15  Anders Carlsson  <acarlsson (a] apple.com>
   18048 
   18049         Reviewed by Adam.
   18050         
   18051         * WebFrame.cpp:
   18052         (WebFrame::postProgressStartedNotification):
   18053         (WebFrame::postProgressEstimateChangedNotification):
   18054         (WebFrame::postProgressFinishedNotification):
   18055         * WebFrame.h:
   18056         Post the correct notifications.
   18057         
   18058         * WebView.cpp:
   18059         (WebView::estimatedProgress):
   18060         Ask the progress tracker for the estimated progress.
   18061 
   18062 2007-01-15  Anders Carlsson  <acarlsson (a] apple.com>
   18063 
   18064         Reviewed by Adam.
   18065 
   18066         * Interfaces/IWebView.idl:
   18067         Add progress notifications.
   18068 
   18069 2007-01-15  Anders Carlsson  <acarlsson (a] apple.com>
   18070 
   18071         Reviewed by Adam.
   18072 
   18073         Call resource load delegate methods.
   18074         
   18075         * Interfaces/IWebResourceLoadDelegate.idl:
   18076         Use unsigned long instead of UINT.
   18077         
   18078         * WebBackForwardList.cpp:
   18079         * WebBackForwardList.h:
   18080         Get rid of the createInstance method that takes no arguments.
   18081 
   18082         * WebFrame.cpp:
   18083         (WebFrame::assignIdentifierToInitialRequest):
   18084         (WebFrame::dispatchDidReceiveResponse):
   18085         (WebFrame::dispatchDidReceiveContentLength):
   18086         (WebFrame::dispatchDidFinishLoading):
   18087         (WebFrame::dispatchDidFailLoading):
   18088         Call the right resource load delegate methods.
   18089         
   18090         * WebView.cpp:
   18091         (WebView::setResourceLoadDelegate):
   18092         (WebView::resourceLoadDelegate):
   18093         (WebView::setPolicyDelegate):
   18094         (WebView::policyDelegate):
   18095         * WebView.h:
   18096         Add getters and setters for the resource load delegate and the policy delegate.
   18097 
   18098 2007-01-14  Alice Liu  <alice.liu (a] apple.com>
   18099 
   18100         Reviewed by Lou.
   18101 
   18102         Fixed: <rdar://problem/4888908> Find: "Use selection to find" and "Jump to selection" are not implemented
   18103 
   18104         * Interfaces/IWebView.idl:
   18105         * WebView.cpp:
   18106         (WebView::selectedText):
   18107         (WebView::centerSelectionInVisibleArea):
   18108         * WebView.h:
   18109 
   18110 2007-01-14  Adam Roben  <aroben (a] apple.com>
   18111 
   18112         Reviewed by Steve.
   18113 
   18114         Fix: <rdar://4831292> Implement WebKitStatistics
   18115 
   18116         * Interfaces/IWebKitStatistics.idl: Added.
   18117         * Interfaces/WebKit.idl: Added WebKitStatistics declaration.
   18118         * WebKit.vcproj/Interfaces.vcproj: Added new files.
   18119         * WebKit.vcproj/WebKit.vcproj: Ditto.
   18120         * WebKit.vcproj/WebKitGUID.vcproj: Ditto.
   18121         * WebKitClassFactory.cpp: Updated to include WebKitStatistics.
   18122         (WebKitClassFactory::CreateInstance):
   18123         * WebKitDLL.cpp: Ditto.
   18124         (DllGetClassObject):
   18125         * WebKitStatistics.cpp: Added.
   18126         (WebKitStatistics::WebKitStatistics):
   18127         (WebKitStatistics::~WebKitStatistics):
   18128         (WebKitStatistics::createInstance):
   18129         (WebKitStatistics::QueryInterface):
   18130         (WebKitStatistics::AddRef):
   18131         (WebKitStatistics::Release):
   18132         (WebKitStatistics::webViewCount):
   18133         (WebKitStatistics::frameCount):
   18134         (WebKitStatistics::dataSourceCount):
   18135         (WebKitStatistics::viewCount):
   18136         (WebKitStatistics::HTMLRepresentationCount):
   18137         * WebKitStatistics.h: Added.
   18138         * WebKitStatisticsPrivate.h: Added.
   18139 
   18140         Added object counting:
   18141 
   18142         * WebDataSource.cpp:
   18143         (WebDataSource::WebDataSource):
   18144         (WebDataSource::~WebDataSource):
   18145         * WebFrame.cpp:
   18146         (WebFrame::WebFrame):
   18147         (WebFrame::~WebFrame):
   18148         * WebHTMLRepresentation.cpp:
   18149         (WebHTMLRepresentation::WebHTMLRepresentation):
   18150         (WebHTMLRepresentation::~WebHTMLRepresentation):
   18151         * WebView.cpp:
   18152         (WebView::WebView): Initialize m_page member.
   18153         (WebView::~WebView):
   18154 
   18155 2007-01-12  Anders Carlsson  <acarlsson (a] apple.com>
   18156 
   18157         Build fixes.
   18158         
   18159         * WebFrame.cpp:
   18160         (WebFrame::assignIdentifierToInitialRequest):
   18161         (WebFrame::dispatchWillSendRequest):
   18162         (WebFrame::dispatchDidReceiveResponse):
   18163         (WebFrame::dispatchDidReceiveContentLength):
   18164         (WebFrame::dispatchDidFinishLoading):
   18165         (WebFrame::dispatchDidFailLoading):
   18166         (WebFrame::incrementProgress):
   18167         (WebFrame::completeProgress):
   18168         (WebFrame::dispatchDidReceiveAuthenticationChallenge):
   18169         (WebFrame::dispatchDidCancelAuthenticationChallenge):
   18170         * WebFrame.h:
   18171 
   18172 2007-01-12  Ada Chan  <adachan (a] apple.com>
   18173 
   18174         Reviewed by Steve.
   18175         
   18176         <rdar://4602355> More Undo/Redo
   18177         - Added IWebBackForwardListPrivate which contains the removeItem method, used in undo/redo of closing tabs.
   18178         - Fixed a null dereference I ran into in WebFrame::dispatchDidFirstLayout.
   18179 
   18180         * Interfaces/IWebBackForwardListPrivate.idl: Added.
   18181         * WebBackForwardList.cpp:
   18182         (WebBackForwardList::QueryInterface):
   18183         (WebBackForwardList::removeItem):
   18184         * WebBackForwardList.h:
   18185         * WebFrame.cpp:
   18186         (WebFrame::dispatchDidFirstLayout):
   18187         * WebKit.vcproj/Interfaces.vcproj:
   18188         * WebKit.vcproj/WebKitGUID.vcproj:
   18189 
   18190 2007-01-12  Anders Carlsson  <acarlsson (a] apple.com>
   18191 
   18192         Reviewed by Darin Adler.
   18193 
   18194         Move WebKitWin over to the new WebCore loader. There are still some leftover functions 
   18195         from FrameWinClient that aren't used and should be removed.
   18196         
   18197         * WebDataSource.cpp:
   18198         (WebDataSource::WebDataSource):
   18199         (WebDataSource::~WebDataSource):
   18200         (WebDataSource::createInstance):
   18201         (WebDataSource::documentLoader):
   18202         (WebDataSource::overrideEncoding):
   18203         (WebDataSource::setOverrideEncoding):
   18204         (WebDataSource::QueryInterface):
   18205         (WebDataSource::initWithRequest):
   18206         (WebDataSource::data):
   18207         (WebDataSource::representation):
   18208         (WebDataSource::webFrame):
   18209         (WebDataSource::initialRequest):
   18210         (WebDataSource::request):
   18211         (WebDataSource::response):
   18212         (WebDataSource::textEncodingName):
   18213         (WebDataSource::isLoading):
   18214         (WebDataSource::unreachableURL):
   18215         * WebDataSource.h:
   18216         * WebFrame.cpp:
   18217         (WebFrame::WebFramePrivate::m_policyFunction):
   18218         (WebFrame::WebFrame):
   18219         (WebFrame::~WebFrame):
   18220         (WebFrame::QueryInterface):
   18221         (WebFrame::loadRequest):
   18222         (WebFrame::loadData):
   18223         (getWebDataSource):
   18224         (WebFrame::dataSource):
   18225         (WebFrame::provisionalDataSource):
   18226         (WebFrame::stopLoading):
   18227         (WebFrame::reload):
   18228         (WebFrame::firstLayoutDone):
   18229         (WebFrame::loadType):
   18230         (WebFrame::stopMainResourceLoad):
   18231         (WebFrame::canProvideDocumentSource):
   18232         (WebFrame::createFrame):
   18233         (WebFrame::submitForm):
   18234         (WebFrame::setTitle):
   18235         (WebFrame::originalRequestURL):
   18236         (WebFrame::hasWebView):
   18237         (WebFrame::hasFrameView):
   18238         (WebFrame::dispatchDidReceiveServerRedirectForProvisionalLoad):
   18239         (WebFrame::dispatchDidReceiveTitle):
   18240         (WebFrame::dispatchDidFirstLayout):
   18241         (WebFrame::dispatchShow):
   18242         (WebFrame::cancelPolicyCheck):
   18243         (WebFrame::dispatchWillSubmitForm):
   18244         (WebFrame::finishedLoading):
   18245         (WebFrame::canHandleRequest):
   18246         (WebFrame::canShowMIMEType):
   18247         (WebFrame::representationExistsForURLScheme):
   18248         (WebFrame::updateGlobalHistoryForStandardLoad):
   18249         (WebFrame::shouldGoToHistoryItem):
   18250         (WebFrame::createDocumentLoader):
   18251         (WebFrame::receivedData):
   18252         (WebFrame::setUpPolicyListener):
   18253         (WebFrame::receivedPolicyDecision):
   18254         (WebFrame::committedLoad):
   18255         (WebFrame::dispatchDecidePolicyForMIMEType):
   18256         (WebFrame::dispatchCreatePage):
   18257         (WebFrame::dispatchDidCancelAuthenticationChallenge):
   18258         * WebFrame.h:
   18259         * WebView.cpp:
   18260         (WebView::WebView):
   18261         (WebView::~WebView):
   18262         (WebViewWndProc):
   18263         (WebView::close):
   18264         (WebView::frameLoadDelegate):
   18265         (WebView::backForwardList):
   18266         (WebView::setMaintainsBackForwardList):
   18267         (WebView::goBack):
   18268         (WebView::goForward):
   18269         (WebView::goToBackForwardItem):
   18270         (WebView::setCustomTextEncodingName):
   18271         (WebView::customTextEncodingName):
   18272         (WebView::canGoBack):
   18273         (WebView::canGoForward):
   18274         (WebView::frameLoadDelegatePrivate):
   18275         * WebView.h:
   18276 
   18277 2007-01-12  Anders Carlsson  <acarlsson (a] apple.com>
   18278 
   18279         Reviewed by Geoff.
   18280 
   18281         More loader preparations.
   18282                 
   18283         * WebContextMenuClient.cpp:
   18284         (WebContextMenuClient::getCustomMenuFromDefaultItems):
   18285         (WebContextMenuClient::contextMenuItemSelected):
   18286         Use ::createInstance to create the element property bags.
   18287         
   18288         * WebElementPropertyBag.cpp:
   18289         (WebElementPropertyBag::WebElementPropertyBag):
   18290         (WebElementPropertyBag::~WebElementPropertyBag):
   18291         (WebElementPropertyBag::createInstance):
   18292         (convertStringToVariant):
   18293         * WebElementPropertyBag.h:
   18294         Fix ownership issues so WebElementPropertyBag can one day be a value in another property bag.
   18295         
   18296         * WebFramePolicyListener.cpp: Added.
   18297         (WebFramePolicyListener::WebFramePolicyListener):
   18298         (WebFramePolicyListener::~WebFramePolicyListener):
   18299         (WebFramePolicyListener::createInstance):
   18300         (WebFramePolicyListener::QueryInterface):
   18301         (WebFramePolicyListener::AddRef):
   18302         (WebFramePolicyListener::Release):
   18303         (WebFramePolicyListener::use):
   18304         (WebFramePolicyListener::download):
   18305         (WebFramePolicyListener::ignore):
   18306         (WebFramePolicyListener::continueSubmit):
   18307         (WebFramePolicyListener::receivedPolicyDecision):
   18308         (WebFramePolicyListener::invalidate):
   18309         * WebFramePolicyListener.h: Added.
   18310         Add policy listener implementation.
   18311         
   18312         * WebFrame.cpp:
   18313         (WebFrame::receivedPolicyDecision):
   18314         * WebFrame.h:
   18315         Add stub to be used by the policy listener.
   18316 
   18317         * WebView.cpp:
   18318         (WebView::WebView):
   18319         (WebView::~WebView):
   18320         (WebView::paint):
   18321         (WebView::closeWindow):
   18322         (WebView::handleMouseEvent):
   18323         (WebViewWndProc):
   18324         (WebView::initWithFrame):
   18325         (WebView::setUIDelegate):
   18326         (WebView::uiDelegate):
   18327         (WebView::setFrameLoadDelegate):
   18328         (WebView::frameLoadDelegate):
   18329         (WebView::preferences):
   18330         (WebView::elementAtPoint):
   18331         (WebView::setFormDelegate):
   18332         (WebView::formDelegate):
   18333         (WebView::setFrameLoadDelegatePrivate):
   18334         (WebView::frameLoadDelegatePrivate):
   18335         * WebView.h:
   18336         Cleanup, use COMPtr in a couple of places.
   18337         
   18338 2007-01-11  Steve Falkenburg  <sfalken (a] apple.com>
   18339 
   18340         B&I build change - copy WebKit.resources to dstroot for installer
   18341 
   18342         * WebKit.vcproj/WebKit.make:
   18343 
   18344 2007-01-11  Steve Falkenburg  <sfalken (a] apple.com>
   18345 
   18346         Reviewed by Lou.
   18347 
   18348         Implement "Make Text Normal Size".
   18349 
   18350         * WebView.cpp:
   18351         (WebView::canMakeTextStandardSize): Added
   18352         (WebView::makeTextStandardSize): Added
   18353         (WebView::toggleContinuousSpellChecking): Added
   18354         (WebView::toggleSmartInsertDelete): Added
   18355 
   18356 2007-01-11  Brady Eidson  <beidson (a] apple.com>
   18357 
   18358         Make it build again after my OpenSource http auth checkin
   18359 
   18360         * WebFrame.cpp:
   18361         (WebFrame::dispatchDidReceiveAuthenticationChallenge):
   18362         (WebFrame::dispatchDidCancelAuthenticationChallenge):
   18363         * WebFrame.h:
   18364 
   18365 2007-01-10  Anders Carlsson  <acarlsson (a] apple.com>
   18366 
   18367         Another build fix.
   18368         
   18369         * WebContextMenuClient.cpp:
   18370         (WebContextMenuClient::lookUpInDictionary):
   18371         * WebContextMenuClient.h:
   18372 
   18373 2007-01-10  Beth Dakin  <bdakin (a] apple.com>
   18374 
   18375         Reviewed by John.
   18376 
   18377         Fix for <rdar://problem/4914258> REGRESSION: Search in Google now 
   18378         operates on the current WebView instead of invoking Safari's 
   18379         service
   18380 
   18381         * WebContextMenuClient.cpp:
   18382         (WebContextMenuClient::searchWithGoogle): Do all of the work we 
   18383         used to do in WebCore over here in WebKit.
   18384         * WebContextMenuClient.h:
   18385 
   18386 2007-01-10  Anders Carlsson  <acarlsson (a] apple.com>
   18387 
   18388         Build fix.
   18389         
   18390         * WebFrame.cpp:
   18391         (WebFrame::dispatchDidFirstLayout):
   18392         * WebFrame.h:
   18393 
   18394 2007-01-10  Anders Carlsson  <acarlsson (a] apple.com>
   18395 
   18396         Reviewed by Darin Adler.
   18397 
   18398         Add WebDocumentLoader. Implement some of the FrameLoaderClient methods.
   18399         Add a resourceRequest() getter to WebMutableURLRequest.
   18400         
   18401         * WebDocumentLoader.cpp: Added.
   18402         (WebDocumentLoader::WebDocumentLoader):
   18403         (WebDocumentLoader::setDataSource):
   18404         (WebDocumentLoader::dataSource):
   18405         (WebDocumentLoader::attachToFrame):
   18406         (WebDocumentLoader::detachFromFrame):
   18407         * WebDocumentLoader.h: Added.
   18408         * WebFrame.cpp:
   18409         (WebFrame::dispatchWillPerformClientRedirect):
   18410         (WebFrame::dispatchDidChangeLocationWithinPage):
   18411         (WebFrame::dispatchWillClose):
   18412         (WebFrame::dispatchDidStartProvisionalLoad):
   18413         (WebFrame::dispatchDidReceiveTitle):
   18414         (WebFrame::dispatchDidCommitLoad):
   18415         (WebFrame::dispatchDidFinishLoad):
   18416         (WebFrame::updateGlobalHistoryForStandardLoad):
   18417         (WebFrame::updateGlobalHistoryForReload):
   18418         (WebFrame::dispatchDecidePolicyForMIMEType):
   18419         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   18420         (WebFrame::dispatchDecidePolicyForNavigationAction):
   18421         (WebFrame::dispatchDidFailProvisionalLoad):
   18422         (WebFrame::dispatchDidFailLoad):
   18423         * WebKit.vcproj/WebKit.vcproj:
   18424         * WebMutableURLRequest.cpp:
   18425         (WebMutableURLRequest::resourceRequest):
   18426         * WebMutableURLRequest.h:
   18427 
   18428 2007-01-10  Anders Carlsson  <acarlsson (a] apple.com>
   18429 
   18430         Reviewed by Brady.
   18431 
   18432         Make WebBackForwardList wrap a WebCore::BackForwardList. Add wrapper map to WebHistoryItem.
   18433 
   18434         * WebBackForwardList.cpp:
   18435         (backForwardListWrappers):
   18436         (WebBackForwardList::WebBackForwardList):
   18437         (WebBackForwardList::~WebBackForwardList):
   18438         (WebBackForwardList::createInstance):
   18439         (WebBackForwardList::addItem):
   18440         (WebBackForwardList::goBack):
   18441         (WebBackForwardList::goForward):
   18442         (WebBackForwardList::goToItem):
   18443         (WebBackForwardList::backItem):
   18444         (WebBackForwardList::currentItem):
   18445         (WebBackForwardList::forwardItem):
   18446         (WebBackForwardList::backListWithLimit):
   18447         (WebBackForwardList::forwardListWithLimit):
   18448         (WebBackForwardList::capacity):
   18449         (WebBackForwardList::setCapacity):
   18450         (WebBackForwardList::backListCount):
   18451         (WebBackForwardList::forwardListCount):
   18452         (WebBackForwardList::containsItem):
   18453         (WebBackForwardList::itemAtIndex):
   18454         (WebBackForwardList::setPageCacheSize):
   18455         (WebBackForwardList::pageCacheSize):
   18456         (WebBackForwardList::setDefaultPageCacheSizeIfNecessary):
   18457         * WebBackForwardList.h:
   18458         * WebHistoryItem.cpp:
   18459         (historyItemWrappers):
   18460         (WebHistoryItem::WebHistoryItem):
   18461         (WebHistoryItem::~WebHistoryItem):
   18462         (WebHistoryItem::createInstance):
   18463         (WebHistoryItem::initFromDictionaryRepresentation):
   18464         (WebHistoryItem::QueryInterface):
   18465         (WebHistoryItem::initWithURLString):
   18466         (WebHistoryItem::historyItem):
   18467         * WebHistoryItem.h:
   18468 
   18469 2007-01-09  Ada Chan  <adachan (a] apple.com>
   18470 
   18471         Reviewed by Steve.
   18472 
   18473         <rdar://4602355> Undo/Redo
   18474         - Added new undo methods in the IWebUIDelegate.
   18475         - Removed the internal WebUndoManager in WebEditorClient.
   18476         Instead, we'll call methods on the ui delegate to register
   18477         undo operations, execute undo/redo, etc.
   18478         
   18479         * English.lproj/Localizable.strings:
   18480         Added localized strings for all the edit command actions.
   18481         * Interfaces/IWebUIDelegate.idl:
   18482         Added undo delegate callbacks.
   18483         * Interfaces/IWebUndoTarget.idl: Added.
   18484         Added a IWebUndoTarget interface that targets of undo
   18485         operations need to implement.
   18486         * WebEditorClient.cpp:
   18487         Added WebEditorUndoTarget class that implements IWebUndoTarget.
   18488         (WebEditorUndoTarget::WebEditorUndoTarget):
   18489         (WebEditorUndoTarget::QueryInterface):
   18490         (WebEditorUndoTarget::AddRef):
   18491         (WebEditorUndoTarget::Release):
   18492         (WebEditorUndoTarget::invoke):
   18493         (WebEditorClient::WebEditorClient):
   18494         (WebEditorClient::~WebEditorClient):
   18495         WebEditorUndoCommand implements IWebUndoCommand and wraps an
   18496         EditCommand in it.  
   18497         (WebEditorUndoCommand::WebEditorUndoCommand):
   18498         (WebEditorUndoCommand::execute):
   18499         (WebEditorUndoCommand::QueryInterface):
   18500         (WebEditorUndoCommand::AddRef):
   18501         (WebEditorUndoCommand::Release):
   18502         (undoNameForEditAction):
   18503         The undo operations in WebEditorClient now calls through to the
   18504         undo methods in IWebUIDelegate rather than keeping an internal
   18505         undo/redo stack.
   18506         (WebEditorClient::registerCommandForUndo):
   18507         (WebEditorClient::registerCommandForRedo):
   18508         (WebEditorClient::clearUndoRedoOperations):
   18509         (WebEditorClient::canUndo):
   18510         (WebEditorClient::canRedo):
   18511         (WebEditorClient::undo):
   18512         (WebEditorClient::redo):
   18513         * WebEditorClient.h:
   18514         * WebKit.vcproj/Interfaces.vcproj:  added IWebUndoTarget.idl
   18515         * WebKit.vcproj/WebKitGUID.vcproj:  added IWebUndoTarget_i.c
   18516         * WebLocalizableStrings.h:
   18517 
   18518 2007-01-09  Anders Carlsson  <acarlsson (a] apple.com>
   18519 
   18520         Reviewed by Darin Adler.
   18521 
   18522         Add COMPtr. Make MemoryStream backed by a SharedBuffer. Use SharedBuffer in
   18523         WebFrame.
   18524         
   18525         * COMPtr.h: Added.
   18526         (COMPtr::COMPtr):
   18527         (COMPtr::~COMPtr):
   18528         (COMPtr::get):
   18529         (COMPtr::operator*):
   18530         (COMPtr::operator->):
   18531         (COMPtr::operator&):
   18532         (COMPtr::operator!):
   18533         (COMPtr::operator UnspecifiedBoolType):
   18534         (::copyTo):
   18535         (::adopt):
   18536         (::operator):
   18537         * MemoryStream.cpp:
   18538         (MemoryStream::MemoryStream):
   18539         (MemoryStream::~MemoryStream):
   18540         (MemoryStream::createInstance):
   18541         (MemoryStream::Clone):
   18542         * MemoryStream.h:
   18543         * WebFrame.cpp:
   18544         (WebFrame::WebFrame):
   18545         (WebFrame::didReceiveResponse):
   18546         (WebFrame::didReceiveData):
   18547         * WebFrame.h:
   18548         (WebFrame::data):
   18549         * WebKit.vcproj/WebKit.vcproj:
   18550 
   18551 2007-01-09  Steve Falkenburg  <sfalken (a] apple.com>
   18552 
   18553         Reviewed by Lou.
   18554         
   18555         <rdar://4906546> Win2K: crash when entering new URL in address field
   18556 
   18557         Win2K compatibility fix.  SafeArrayCreateVector doesn't work correctly on older systems (Win2K, etc.)        
   18558         
   18559         Some references to people stumbling across this bug (apologies for not being able to find a Microsoft support article):        
   18560         http://discuss.develop.com/archives/wa.exe?A2=ind0104a&L=dotnet&D=0&T=0&P=69575
   18561         http://www.eggheadcafe.com/ng/microsoft.public.platformsdk.com_ole/Jul2005/post22989606.asp
   18562         http://www.pcreview.co.uk/forums/thread-1470025.php
   18563 
   18564         * MarshallingHelpers.cpp:
   18565         (MarshallingHelpers::stringArrayToSafeArray):
   18566         (MarshallingHelpers::intArrayToSafeArray):
   18567         (MarshallingHelpers::intRectToSafeArray):
   18568         (MarshallingHelpers::iunknownArrayToSafeArray):
   18569 
   18570 2007-01-08  Lou Amadio  <lamadio (a] apple.com>
   18571 
   18572         Reviewed by ggaren
   18573 
   18574         * DOMCoreClasses.cpp:
   18575         (DOMNode::createInstance):
   18576                 Build break
   18577         * WebView.cpp:
   18578         (WebView::handleMouseEvent):
   18579                 passing incorrect flag
   18580 
   18581 2007-01-08  Anders Carlsson  <acarlsson (a] apple.com>
   18582 
   18583         Reviewed by Brady.
   18584         
   18585         Use a WebCore HistoryItem object to back WebHistoryItem.
   18586         
   18587         * WebHistoryItem.cpp:
   18588         (WebHistoryItem::WebHistoryItem):
   18589         (WebHistoryItem::~WebHistoryItem):
   18590         (WebHistoryItem::createInstance):
   18591         (WebHistoryItem::initFromDictionaryRepresentation):
   18592         (WebHistoryItem::dictionaryRepresentation):
   18593         (WebHistoryItem::hasURLString):
   18594         (WebHistoryItem::visitCount):
   18595         (WebHistoryItem::setVisitCount):
   18596         (WebHistoryItem::mergeAutoCompleteHints):
   18597         (WebHistoryItem::setLastVisitedTimeInterval):
   18598         (WebHistoryItem::setTitle):
   18599         (WebHistoryItem::RSSFeedReferrer):
   18600         (WebHistoryItem::setRSSFeedReferrer):
   18601         (WebHistoryItem::initWithURLString):
   18602         (WebHistoryItem::URLString):
   18603         (WebHistoryItem::title):
   18604         (WebHistoryItem::lastVisitedTimeInterval):
   18605         * WebHistoryItem.h:
   18606 
   18607 2007-01-05  Anders Carlsson  <acarlsson (a] apple.com>
   18608 
   18609         Reviewed by Adam.
   18610 
   18611         Add stubs for FrameLoaderClient methods.
   18612         
   18613         * WebFrame.cpp:
   18614         (WebFrame::setMainDocumentError):
   18615         (WebFrame::cancelledError):
   18616         (WebFrame::cannotShowURLError):
   18617         (WebFrame::interruptForPolicyChangeError):
   18618         (WebFrame::cannotShowMIMETypeError):
   18619         (WebFrame::fileDoesNotExistError):
   18620         (WebFrame::committedLoad):
   18621         (WebFrame::dispatchDecidePolicyForMIMEType):
   18622         (WebFrame::dispatchDecidePolicyForNewWindowAction):
   18623         (WebFrame::dispatchDecidePolicyForNavigationAction):
   18624         (WebFrame::dispatchUnableToImplementPolicy):
   18625         (WebFrame::download):
   18626         (WebFrame::willUseArchive):
   18627         (WebFrame::dispatchWillSendRequest):
   18628         (WebFrame::dispatchDidReceiveResponse):
   18629         (WebFrame::dispatchDidReceiveContentLength):
   18630         (WebFrame::dispatchDidFinishLoading):
   18631         (WebFrame::dispatchDidFailLoading):
   18632         (WebFrame::dispatchDidLoadResourceFromMemoryCache):
   18633         (WebFrame::dispatchDidFailProvisionalLoad):
   18634         (WebFrame::dispatchDidFailLoad):
   18635         (WebFrame::dispatchCreatePage):
   18636         (WebFrame::incrementProgress):
   18637         (WebFrame::completeProgress):
   18638         (WebFrame::startDownload):
   18639 
   18640 2007-01-05  Alice Liu  <alice.liu (a] apple.com>
   18641 
   18642         Reviewed by Lou.
   18643 
   18644         Fixed <rdar://problem/4853400> disable commands in the Edit menu when they're not applicable
   18645         and <rdar://problem/4769487> Some editing operations should be disabled in View Source window
   18646 
   18647         * Interfaces/IWebView.idl:
   18648         * WebView.cpp:
   18649         (WebView::hasSelectedRange):
   18650         (WebView::cutEnabled):
   18651         (WebView::copyEnabled):
   18652         (WebView::pasteEnabled):
   18653         (WebView::deleteEnabled):
   18654         (WebView::editingEnabled):
   18655         * WebView.h:
   18656 
   18657 2007-01-05  Anders Carlsson  <acarlsson (a] apple.com>
   18658 
   18659         Reviewed by Adam.
   18660 
   18661         Add stubs for new FrameLoaderClient methods.
   18662         
   18663         * WebFrame.cpp:
   18664         (WebFrame::createDocumentLoader):
   18665         (WebFrame::setMainDocumentError):
   18666         (WebFrame::cancelledError):
   18667         (WebFrame::cannotShowURLError):
   18668         (WebFrame::interruptForPolicyChangeError):
   18669         (WebFrame::cannotShowMIMETypeError):
   18670         (WebFrame::fileDoesNotExistError):
   18671         (WebFrame::shouldFallBack):
   18672         (WebFrame::committedLoad):
   18673         * WebFrame.h:
   18674 
   18675 2007-01-04  Adam Roben  <aroben (a] apple.com>
   18676 
   18677         Reviewed by Geoff.
   18678 
   18679         Fix: <rdar://4763580> Support tabbing between subframes
   18680         Fix: <rdar://4763595> Support tabbing out of the document back into the
   18681         Safari UI
   18682 
   18683         * Interfaces/IWebUIDelegate.idl: Added declarations of new methods.
   18684         * WebBackForwardList.cpp:
   18685         (WebBackForwardList::backItem): Changed to return E_FAIL if returning a
   18686         null pointer.
   18687         (WebBackForwardList::currentItem): Ditto.
   18688         (WebBackForwardList::forwardItem): Ditto.
   18689         * WebChromeClient.cpp:
   18690         (WebChromeClient::canTakeFocus): Added new click method.
   18691         (WebChromeClient::takeFocus): Ditto.
   18692         (WebChromeClient::focus): Removed unnecessary null check.
   18693         (WebChromeClient::unfocus): Ditto.
   18694         (WebChromeClient::createWindow): Ditto.
   18695         (WebChromeClient::createModalDialog): Ditto.
   18696         (WebChromeClient::show): Ditto.
   18697         (WebChromeClient::canRunModal): Ditto.
   18698         (WebChromeClient::runModal): Ditto.
   18699         (WebChromeClient::setToolbarsVisible): Ditto.
   18700         (WebChromeClient::toolbarsVisible): Ditto.
   18701         (WebChromeClient::setStatusbarVisible): Ditto.
   18702         (WebChromeClient::statusbarVisible): Ditto.
   18703         (WebChromeClient::setMenubarVisible): Ditto.
   18704         (WebChromeClient::menubarVisible): Ditto.
   18705         (WebChromeClient::setResizable): Ditto.
   18706         (WebChromeClient::addMessageToConsole): Ditto.
   18707         * WebChromeClient.h: Added declarations.
   18708 
   18709 2007-01-04  Beth Dakin  <bdakin (a] apple.com>
   18710 
   18711         Reviewed by Adam.
   18712 
   18713         A few changes needed to turn on WebCore context menus on the Mac.
   18714 
   18715         * WebContextMenuClient.cpp: Name change and have the 
   18716         former getCustomMenuFromDefaultItems function return the 
   18717         PlatformMenuDescription since it feels funny to have the client set 
   18718         the new platform description.
   18719         (WebContextMenuClient::getCustomMenuFromDefaultItems): Same.
   18720         * WebContextMenuClient.h: Same.
   18721 
   18722 2007-01-02  Brady Eidson  <beidson (a] apple.com>
   18723 
   18724         Reviewed by Lou
   18725         
   18726         Temporary Link Stub fix for Back/Forward cache landing in OpenSource
   18727 
   18728         * WebFrame.cpp:
   18729         (WebFrame::setDocumentViewFromPageCache):
   18730         (WebFrame::updateGlobalHistoryForStandardLoad):
   18731         (WebFrame::updateGlobalHistoryForReload):
   18732         (WebFrame::shouldGoToHistoryItem):
   18733         (WebFrame::saveScrollPositionAndViewStateToItem):
   18734         (WebFrame::saveDocumentViewToPageCache):
   18735         (WebFrame::canCachePage):
   18736         * WebFrame.h:
   18737 
   18738 2006-12-26  Geoffrey Garen  <ggaren (a] apple.com>
   18739 
   18740         Build fix.
   18741 
   18742         * WebFrame.cpp: Removed willCloseDocument, which is now gone from 
   18743         WebCore::FrameLoaderClient.
   18744         * WebFrame.h: ditto
   18745 
   18746 2006-12-25  Geoffrey Garen  <ggaren (a] apple.com>
   18747 
   18748         Reviewed by Oliver Hunt.
   18749 
   18750         Removed WebCoreSettings, cleaned up WebCore::Settings.
   18751 
   18752         * WebFrame.cpp:
   18753         (WebFrame::initWithWebFrameView): Used core() here, now that WebView::settings()
   18754         is gone.
   18755 
   18756         * WebView.cpp:
   18757         (WebView::updateWebCoreSettingsFromPreferences): Simplified this code, now
   18758         that WebCore handles most of it.
   18759 
   18760         * WebView.h: Removed settings() accessor. Settings belong to the WebCore
   18761         page, not the WebView.
   18762 
   18763 2006-12-22  Alice Liu  <alice.liu (a] apple.com>
   18764 
   18765         Reviewed by Geoff.
   18766 
   18767         Fixed <rdar://4766681> and <rdar://4766685> concerning editable link behavior
   18768 
   18769         * Interfaces/IWebPreferences.idl:
   18770         * WebHistoryItem.cpp:
   18771         (WebHistoryItem::dictionaryRepresentation):
   18772         * WebPreferenceKeysPrivate.h:
   18773         * WebPreferences.cpp:
   18774         (WebPreferences::initialize):
   18775         (WebPreferences::editableLinkBehavior):
   18776         (WebPreferences::setEditableLinkBehavior):
   18777         * WebPreferences.h:
   18778         * WebView.cpp:
   18779         (WebView::updateWebCoreSettingsFromPreferences):
   18780 
   18781 2006-12-20  Adam Roben  <aroben (a] apple.com>
   18782 
   18783         Reviewed by Mark Rowe.
   18784 
   18785         Fix: <rdar://4895655> Status bar doesn't display correct text when
   18786         WebView is scrolled.
   18787 
   18788         * WebView.cpp:
   18789         (WebView::handleMouseEvent): Convert the event coordinates to document
   18790         coordinates before calling elementAtPoint.
   18791 
   18792 2006-12-19  Alice Liu  <alice.liu (a] apple.com>
   18793 
   18794         In r11349 I accidentally checked in my local change to the user agent.  
   18795         Here I am changing it back to what it used to be. 
   18796 
   18797         * WebView.cpp:
   18798         (WebView::userAgentForKURL):
   18799 
   18800 2006-12-19  Alice Liu  <alice.liu (a] apple.com>
   18801 
   18802         Reviewed by Brady.
   18803 
   18804         <rdar://problem/4796729> add "deleteButton" image resource
   18805 
   18806         * WebKit.vcproj/WebKit.rc:
   18807         * WebKit.vcproj/deleteButton.png: Added.
   18808         * WebKit.vcproj/deleteButtonPressed.png: Added.
   18809 
   18810 2006-12-19  Anders Carlsson  <acarlsson (a] apple.com>
   18811 
   18812         Reviewed by Adam, Darin.
   18813 
   18814         <rdar://problem/4769830>
   18815         logging to JS console.
   18816         
   18817         Add isError argument to addMessageToConsole.
   18818         
   18819         * Interfaces/IWebUIDelegatePrivate.idl:
   18820         * WebChromeClient.cpp:
   18821         (WebChromeClient::addMessageToConsole):
   18822 
   18823 2006-12-19  Steve Falkenburg  <sfalken (a] apple.com>
   18824 
   18825         Reviewed by Lou, Adele.
   18826         
   18827         Added CLSID for WebPreferences
   18828 
   18829         * Interfaces/WebKit.idl:
   18830         * WebKitClassFactory.cpp:
   18831         (WebKitClassFactory::CreateInstance):
   18832         * WebKitDLL.cpp:
   18833         (DllGetClassObject):
   18834 
   18835 2006-12-18  Ada Chan  <adachan (a] apple.com>
   18836 
   18837         Reviewed by Adam.
   18838         
   18839         - Added runBeforeUnloadConfirmPanelWithMessage to IWebUIDelegate.
   18840         - implemented canRunBeforeUnloadConfirmPanel, runBeforeUnloadConfirmPanel, and closeWindowSoon
   18841         in WebChromeClient
   18842         - implemented WebView::closeWindow().
   18843 
   18844         * Interfaces/IWebUIDelegate.idl:
   18845         * WebChromeClient.cpp:
   18846         (WebChromeClient::canRunBeforeUnloadConfirmPanel):
   18847         (WebChromeClient::runBeforeUnloadConfirmPanel):
   18848         (WebChromeClient::closeWindowSoon):
   18849         * WebChromeClient.h:
   18850         * WebFrame.h:
   18851         * WebView.cpp:
   18852         (WebView::closeWindow):
   18853         * WebView.h:
   18854 
   18855 2006-12-18  Brady Eidson  <beidson (a] apple.com>
   18856 
   18857         Reviewed by Alice
   18858         
   18859         Fixes <rdar://4821724> - Wrong site icon displays for sites who don't actually have an icon
   18860         
   18861         We judged whether or not a site has an icon based on whether or not the IconDatabase returned
   18862         a valid Image.
   18863         In the case of sites without an icon, we actually get returned a valid Image with dimensions 0x0.
   18864         WebKit on OS X correctly handles this case via NSImage goodness - now we manually handle it on Windows
   18865 
   18866         * WebIconDatabase.cpp:
   18867         (WebIconDatabase::iconForURL): Check the width() as an additional case to fallback to the default icon
   18868 
   18869 2006-12-18  Steve Falkenburg  <sfalken (a] apple.com>
   18870 
   18871         Reviewed by Adam.
   18872         
   18873         Added loadType to IWebFramePrivate.
   18874 
   18875         * Interfaces/IWebFramePrivate.idl: Added loadType
   18876         * WebFrame.cpp: Fixed line endings
   18877         (WebFrame::loadType): Added
   18878         * WebFrame.h: Fixed line endings
   18879         * WebKit.vcproj/WebKit.vcproj: Moved WebLocalizableStrings.h to proper folder
   18880 
   18881 2006-12-18  Alice Liu  <alice.liu (a] apple.com>
   18882 
   18883         Reviewed by Adam.
   18884 
   18885         <rdar://problem/4853363> hook up various deletion-related functions in WebView
   18886 
   18887         * WebView.cpp:
   18888         (WebView::execCommand):
   18889         Removed the case for ForwardDelete, since it shouldn't be handled there
   18890         (WebView::deleteSelection):
   18891         Implemented
   18892         (WebView::copy):
   18893         (WebView::cut):
   18894         (WebView::paste):
   18895         (WebView::delete_):
   18896         Use the Editor's execCommand for these editor-responsible functions
   18897 
   18898 2006-12-18  Kevin McCullough  <KMcCullough (a] apple.com>
   18899 
   18900         Reviewed by Oliver.
   18901 
   18902         - Remove CG header includes in open source files
   18903 
   18904         * WebView.cpp:
   18905 
   18906 2006-12-16  Beth Dakin  <bdakin (a] apple.com>
   18907 
   18908         Reviewed by Adam.
   18909 
   18910         In the process of making enabled/disabled items and item state work
   18911         on Boomer, we discovered that we could not get our sub-menus to
   18912         work with using notify by position. This switches the Boomer
   18913         context menus over to use the more conventional menu command
   18914         notification of id. This sends a WM_COMMAND message instead of a
   18915         WM_MENUCOMMAND message. We can differentiate the context menu
   18916         WM_COMMAND messaged from the other ones because the high word of
   18917         wParam is 0 when the message comes from a menu. So now WM_COMMAND
   18918         handles the context menu actions.
   18919 
   18920         * Interfaces/IWebUIDelegate.idl: If-def not needed here.
   18921         * WebContextMenuClient.cpp:
   18922         (WebContextMenuClient::contextMenuItemSelected): Now takes a
   18923         pointer to the parentMenu.
   18924         * WebContextMenuClient.h:
   18925         * WebView.cpp:
   18926         (WebView::performContextMenuAction):
   18927         (WebViewWndProc):
   18928 
   18929 2006-12-14  Adele Peterson  <adele (a] apple.com>
   18930 
   18931         Reviewed by Adam.
   18932 
   18933         Build Fix.
   18934 
   18935         * WebContextMenuClient.h:
   18936 
   18937 2006-12-14  Ada Chan  <adachan (a] apple.com>
   18938 
   18939         Reviewed by Steve.
   18940 
   18941         Implemented WebChromeClient::pageRect() to return the bounds of the WebView.
   18942         Implemented WebFrame::parentFrame().
   18943         Added a temporary implementation of WebDataSource::isLoading().
   18944 
   18945         * WebChromeClient.cpp:
   18946         (WebChromeClient::pageRect):
   18947         * WebDataSource.cpp:
   18948         (WebDataSource::isLoading):
   18949         * WebFrame.cpp:
   18950         (kit):
   18951         (WebFrame::parentFrame):
   18952         * WebView.cpp:
   18953         (WebView::frameRect):
   18954         * WebView.h:
   18955 
   18956 2006-12-13  Geoffrey Garen  <ggaren (a] apple.com>
   18957 
   18958         Reviewed by Darin Adler, Dave Hyatt.
   18959         
   18960         Fixed <rdar://problem/4840261> Frame::setIsActive not called when frames 
   18961         are focused/unfocused
   18962         
   18963         Updated WebKit to use new FocusController tracking of the focused frame.
   18964         
   18965         * WebView.cpp:
   18966         (WebViewWndProc): Fixed a minor bug where we wouldn't fire the blur event
   18967         when changing focus to the location bar.
   18968 
   18969 2006-12-12  Anders Carlsson  <acarlsson (a] apple.com>
   18970 
   18971         * WebFrame.cpp:
   18972         (WebFrame::loadDataSource):
   18973         Update for changes to ResourceHandle.
   18974 
   18975 2006-12-11  Beth Dakin  <bdakin (a] apple.com>
   18976 
   18977         Reviewed by Adam.
   18978 
   18979         Boomer WebKit support for editing sub-menu actions for WebCore
   18980         context menus.
   18981 
   18982         * Interfaces/IWebUIDelegate.idl: Re-named some of the spelling
   18983         sub-menu tags.
   18984         * WebContextMenuClient.cpp: New functions for the speech sub-menu.
   18985         (WebContextMenuClient::speak):
   18986         (WebContextMenuClient::stopSpeaking):
   18987         * WebContextMenuClient.h:
   18988         * WebEditorClient.cpp: New functions to toggle spelling/grammar
   18989         checking.
   18990         (WebEditorClient::toggleContinuousSpellChecking):
   18991         (WebEditorClient::toggleGrammarChecking):
   18992         * WebEditorClient.h:
   18993 
   18994 2006-12-11  Alice Liu  <alice.liu (a] apple.com>
   18995 
   18996         Reviewed by ggaren.
   18997 
   18998         Fixed <rdar://problem/4854901> "Copy Link" and "Copy Image Address" context menu items don't work
   18999 
   19000         * Interfaces/IWebView.idl:
   19001         Added copyURL.
   19002         
   19003         * WebContextMenuClient.cpp:
   19004         * WebContextMenuClient.h:
   19005         Removed copyLinkToClipboard
   19006         
   19007         * WebView.cpp:
   19008         (WebView::copy):
   19009         (WebView::cut):
   19010         (WebView::paste):
   19011         Trivial cleanup of these
   19012         
   19013         (WebView::copyURL):
   19014         Added this.
   19015         
   19016         * WebView.h:
   19017         Added copyURL.
   19018 
   19019 2006-12-11  Darin Adler  <darin (a] apple.com>
   19020 
   19021         Reviewed by Brady.
   19022 
   19023         - http://bugs.webkit.org/show_bug.cgi?id=11794
   19024           fix lifetime problems affecting Frame's ownerElement pointer
   19025 
   19026         * WebFrame.h:
   19027         * WebFrame.cpp:
   19028         (WebFrame::initWithWebFrameView): Changed to use HTMLFrameOwnerElement.
   19029         (WebFrame::createFrame): Ditto.
   19030 
   19031 2006-12-08  Lou Amadio  <lamadio (a] apple.com>
   19032 
   19033         * WebView.cpp:
   19034         (WebView::handleMouseEvent):
   19035         Route mouse event to the delegate
   19036         (WebView::initWithFrame):
   19037         Removed CW_USEDEFAULT on the CreateWindow - incorrect to use on a child window.
   19038 
   19039 2006-12-09  Adam Roben  <aroben (a] apple.com>
   19040 
   19041         Reviewed by Darin Adler.
   19042 
   19043         Build fix.
   19044 
   19045         * WebKit.vcproj/WebKit.vcproj: Added WebCore/ForwardingHeaders to the
   19046         include path.
   19047         * WebView.cpp: Updated to reflect the newly-flattend JSCore headers.
   19048 
   19049 2006-12-08  Kevin McCullough  <kmccullough (a] apple.com>
   19050 
   19051         Reviewed by Adam.
   19052 
   19053         - createWebViewWithRequest now increases the ref count for the new window it returns.
   19054         This is standard practice for COM, and fixes a crash.
   19055 
   19056         * WebFrame.cpp:
   19057         (WebFrame::openURL):
   19058 
   19059 2006-12-07  Adam Roben  <aroben (a] apple.com>
   19060 
   19061         Reviewed by Anders.
   19062 
   19063         Two small fixes for bugs discovered while implementing the Snippet
   19064         Editor.
   19065 
   19066         * WebView.cpp:
   19067         (registerWebViewWindowClass): Set the WebView's default cursor to be
   19068         IDC_ARROW.
   19069         (WebView::uiDelegate): Return E_FAIL if there's no UI delegate.
   19070 
   19071 2006-12-07  Steve Falkenburg  <sfalken (a] apple.com>
   19072 
   19073         Reviewed by Lou.
   19074         
   19075         Add LPCTSTR_UI_STRING and LPCTSTR_UI_STRING_KEY.
   19076         Added caching to prevent re-converting strings unnecessarily.
   19077 
   19078         * WebKit.vcproj/WebKit.def: Export LPCTSTR localization function
   19079         * WebKit.vcproj/WebKit_debug.def: Export LPCTSTR localization function
   19080         * WebLocalizableStrings.cpp:
   19081         (createWebKitBundle): Added using namespace so we don't need to qualify String
   19082         (WebLocalizedLPCTSTR): Added
   19083         * WebLocalizableStrings.h: Added LPCTSTR localization support
   19084 
   19085 2006-12-07  Beth Dakin  <bdakin (a] apple.com>
   19086 
   19087         Reviewed by Brady.
   19088 
   19089         Make some parameters const and const references.
   19090 
   19091         * WebContextMenuClient.cpp:
   19092         (WebContextMenuClient::contextMenuItemSelected):
   19093         (WebContextMenuClient::copyLinkToClipboard):
   19094         (WebContextMenuClient::downloadURL):
   19095         (WebContextMenuClient::copyImageToClipboard):
   19096         * WebContextMenuClient.h:
   19097 
   19098 2006-12-06  Anders Carlsson  <acarlsson (a] apple.com>
   19099 
   19100         Fix the build.
   19101 
   19102         * WebFrame.cpp:
   19103         (WebFrame::loadDataSource):
   19104         (WebFrame::didReceiveData):
   19105         (WebFrame::didFail):
   19106         * WebFrame.h:
   19107 
   19108 2006-12-06  Steve Falkenburg  <sfalken (a] apple.com>
   19109 
   19110         Rubber-stamped by Adam.
   19111         
   19112         Don't copy WebKit{_debug}.dll back to AppleInternal/bin (SDK)
   19113 
   19114         * WebKit.vcproj/WebKit.vcproj:
   19115 
   19116 2006-12-04  Steve Falkenburg  <sfalken (a] apple.com>
   19117 
   19118         Reviewed by Darin Adler.
   19119 
   19120         Checkpoint of <rdar://4601521>
   19121         Use CoreFoundation bundles w/ Localizable.strings for localization.
   19122 
   19123         We're using the WebKit extract-localizable-strings script to generate these files,
   19124         and will use a cross-platform merged string file when we ship.
   19125 
   19126         * English.lproj/Localizable.strings: Added.
   19127         * English.lproj/StringsNotToBeLocalized.txt: Added.
   19128         * WebKit.vcproj/WebKit.def: Export WebLocalizableStrings routines
   19129         * WebKit.vcproj/WebKit.vcproj: define FRAMEWORK_NAME=WebKit, added WebLocalizableStings, copy English.lproj to bin/en.lproj to get localized strings
   19130         * WebKit.vcproj/WebKit_debug.def: Export WebLocalizableStrings routines
   19131         * WebLocalizableStrings.cpp: Added.
   19132         * WebLocalizableStrings.h: Added.
   19133 
   19134 2006-12-04  Steve Falkenburg  <sfalken (a] apple.com>
   19135        
   19136         Checkpoint of <rdar://4601521>
   19137         Use CoreFoundation bundles w/ Localizable.strings for localization.
   19138 
   19139         We're using the WebKit extract-localizable-strings script to generate these files,
   19140         and will use a cross-platform merged string file when we ship.        
   19141 
   19142         * WebLocalizableStrings.h: Added.
   19143 
   19144 2006-12-04  Anders Carlsson  <acarlsson (a] apple.com>
   19145 
   19146         Reviewed by Darin, Geoff.
   19147 
   19148         Don't use ResourceHandle::kill().
   19149 
   19150         * WebFrame.cpp:
   19151         (WebFrame::stopMainResourceLoad):
   19152 
   19153 2006-12-04  Alice Liu  <alice.liu (a] apple.com>
   19154 
   19155         Reviewed by Oliver.
   19156 
   19157         Fixed <rdar://problem/4822632> clicks don't work if you move mouse immediately
   19158         This bug was fixed by implementing EventHandler::handleDrag.
   19159 
   19160         * WebView.cpp:
   19161         (WebView::WebView):
   19162         Added a data member
   19163         (WebView::handleMouseEvent):
   19164         Create the mouse event telling it it activated the webview
   19165         (WebViewWndProc):
   19166         Call setMouseActivated upon receiving the relevent message
   19167         * WebView.h:
   19168         (WebView::setMouseActivated):
   19169         Added this function so that the webview knows if it 
   19170         was brought to the foreground by a mouse event
   19171 
   19172 2006-12-02  Steve Falkenburg  <sfalken (a] apple.com>
   19173 
   19174         Reviewed by Ada.
   19175         
   19176         <rdar://4853816> CFNetwork crash on Vista loading any SSL page
   19177 
   19178         Change link order so secur32.dll is initialized prior to its
   19179         indirect use in code called by CoreGraphics DllMain.
   19180         
   19181         To help avoid similar problems in the future, I reordered the
   19182         imported DLLs by level/dependency so things like CoreFoundation
   19183         is listed prior to CFNetwork and CoreGraphics.        
   19184 
   19185         * WebKit.vcproj/WebKit.vcproj:
   19186 
   19187 2006-12-01  Beth Dakin  <bdakin (a] apple.com>
   19188 
   19189         Reviewed by Adam.
   19190 
   19191         Changes to support sub-menus for WebCore ContextMenus.
   19192 
   19193         * Interfaces/IWebUIDelegate.idl: New tags.
   19194         * WebContextMenuClient.cpp:
   19195         (WebContextMenuClient::contextMenuItemSelected): ContextMenu::menu
   19196         () is now called parentMenu()
   19197 
   19198 2006-12-01  Steve Falkenburg  <sfalken (a] apple.com>
   19199 
   19200         Fix post-build step.
   19201         Need to copy CoreFoundation resources.
   19202         Bundles aren't config specific - removed ConfigSuffix from copy commands for resources.
   19203 
   19204         * WebKit.vcproj/WebKit.vcproj:
   19205 
   19206 2006-11-30  Steve Falkenburg  <sfalken (a] apple.com>
   19207 
   19208         Fix build.
   19209         Link against new WTF.lib
   19210 
   19211         * WebKit.vcproj/WebKit.vcproj:
   19212 
   19213 2006-11-30  Geoffrey Garen  <ggaren (a] apple.com>
   19214 
   19215         Reviewed by Beth Dakin.
   19216         
   19217         Fixed <rdar://problem/4844838> Whole document leak seen 
   19218         running HTML iBench
   19219 
   19220         Copied *very nice* (NOT!) WebKit Mac idiom of calling
   19221         FrameLoader::detachFromParent when closing the WebView.
   19222         We need to do this so event listeners that retain the document
   19223         get destroyed, and so the unload event gets dispatched.
   19224 
   19225         This is pretty silly. Instead, the document/frame/interpreter should
   19226         be responsible for cleaning up after itself.
   19227         
   19228         * WebView.cpp:
   19229         (WebView::close):
   19230 
   19231 2006-11-30  Steve Falkenburg  <sfalken (a] apple.com>
   19232 
   19233         build WebKit.lib to proper directory
   19234 
   19235         * WebKit.vcproj/WebKit.vcproj:
   19236 
   19237 2006-11-29  Steve Falkenburg  <sfalken (a] apple.com>
   19238 
   19239         Reviewed by Anders.
   19240         
   19241         Minor fix to my recent COM registration/Vista fix.
   19242         Ignore errors during registration.  Vista locks off more of
   19243         HKCU\Software\Classes than I thought.
   19244 
   19245         * WebKitDLL.cpp:
   19246 
   19247 2006-11-29  Adam Roben  <aroben (a] apple.com>
   19248 
   19249         Reviewed by Adele.
   19250 
   19251         Give archive builds a separate set of CLSIDs so that they may be
   19252         installed/run alongside B&I builds and development builds.
   19253 
   19254         * Interfaces/WebKit.idl:
   19255         * WebKit.vcproj/Interfaces.vcproj:
   19256         * WebKit.vcproj/WebKit.vcproj: Don't register WebKit.dll if
   19257         ARCHIVE_BUILD or BuildBot is defined.
   19258 
   19259 2006-11-28  Ada Chan  <adachan (a] apple.com>
   19260 
   19261         Reviewed by Adam.
   19262 
   19263         <rdar://4850020> Clear cache in WebKit
   19264         - Added the IWebCache interface, which contains API to clear and 
   19265         disable the cache
   19266         - Added implementation of WebCache which implements IWebCache.
   19267         - the page cache related calls added in WebHistoryItem are
   19268         just stubs right now because we haven't implemented page cache yet.        
   19269 
   19270         * Interfaces/IWebCache.idl: Added.
   19271         * Interfaces/IWebHistoryItemPrivate.idl:
   19272         * Interfaces/WebKit.idl:
   19273         * WebBackForwardList.cpp:
   19274         (WebBackForwardList::WebBackForwardList):
   19275         (WebBackForwardList::clearPageCache):
   19276         (WebBackForwardList::setPageCacheSize):
   19277         (WebBackForwardList::pageCacheSize):
   19278         * WebBackForwardList.h:
   19279         * WebCache.cpp: Added.
   19280         (WebCache::WebCache):
   19281         (WebCache::~WebCache):
   19282         (WebCache::createInstance):
   19283         (WebCache::QueryInterface):
   19284         (WebCache::AddRef):
   19285         (WebCache::Release):
   19286         (WebCache::statistics):
   19287         (WebCache::empty):
   19288         (WebCache::setDisabled):
   19289         * WebCache.h: Added.
   19290         * WebFrame.cpp:
   19291         (WebSystemMainMemory):
   19292         * WebFrame.h:
   19293         * WebHistoryItem.cpp:
   19294         (WebHistoryItem::releaseAllPendingPageCaches):
   19295         (WebHistoryItem::hasPageCache):
   19296         (WebHistoryItem::setHasPageCache):
   19297         * WebHistoryItem.h:
   19298         * WebKit.vcproj/Interfaces.vcproj:
   19299         * WebKit.vcproj/WebKit.vcproj:
   19300         * WebKit.vcproj/WebKitGUID.vcproj:
   19301         * WebKitClassFactory.cpp:
   19302         (WebKitClassFactory::CreateInstance):
   19303         * WebKitDLL.cpp:
   19304         (DllGetClassObject):
   19305 
   19306 2006-11-28  Geoffrey Garen  <ggaren (a] apple.com>
   19307 
   19308         Reviewed by Beth Dakin.
   19309 
   19310         Fixed <rdar://problem/4844855> Should clarify when to create clients in 
   19311         the WebCore client API
   19312         
   19313         All clients must now be supplied as constructor arguments. This clarifies 
   19314         when you need to create clients, and also guarantees that objects can't 
   19315         (for the most part) be in a clientless state.
   19316 
   19317         Layout tests pass. No leaks reported.
   19318         
   19319         * WebFrame.cpp:
   19320         (WebFrame::initWithWebFrameView):
   19321 
   19322 2006-11-28  Steve Falkenburg  <sfalken (a] apple.com>
   19323        
   19324         Make COM registration fall back to per-user for Vista LUA compatibility.
   19325 
   19326         Only affects our development builds since the installer will set these
   19327         reg keys itself.
   19328 
   19329         * WebKitDLL.cpp:
   19330 
   19331 2006-11-28  Adam Roben  <aroben (a] apple.com>
   19332 
   19333         Reviewed by Ada and Beth.
   19334 
   19335         Fix: <rdar://problem/4601523> Contextual Menus (in web content)
   19336 
   19337         * Interfaces/IWebUIDelegate.idl: Added a new delegate method to be
   19338         called when the user clicks on one of the application's context menu
   19339         items.
   19340 
   19341         Client updates from WebCore.
   19342 
   19343         * WebContextMenuClient.cpp:
   19344         (WebContextMenuClient::addCustomContextMenuItems): Updated for method
   19345         name changes.
   19346         (WebContextMenuClient::contextMenuItemSelected): New client method that
   19347         calls the UI delegate.
   19348         * WebContextMenuClient.h: Updated to match ContextMenuClient.h
   19349 
   19350         Windows context menu event handling.
   19351 
   19352         * WebView.cpp:
   19353         (WebView::handleContextMenuEvent): New method to send a context menu
   19354         event down into WebCore.
   19355         (WebView::performContextMenuAction): New method to tell the
   19356         ContextMenuController that the user clicked on a context menu item.
   19357         (WebView::handleMouseEvent): Return a bool to signify whether the event
   19358         was handled.
   19359         (WebView::mouseWheel): Ditto.
   19360         (WebViewWndProc): Handle WM_CONTEXTMENU and WM_MENUCOMMAND messages,
   19361         and pass unhandled events to DefWindowProc.
   19362         * WebView.h: New declarations.
   19363 
   19364         Small (but necessary) fixes.
   19365 
   19366         * WebElementPropertyBag.cpp:
   19367         (isEqual): Fixed to deal with LPCWSTRs, which is what was being passed
   19368         in anyway.
   19369         (WebElementPropertyBag::Read): Use FAILED() to check the return value
   19370         of QueryInterface.
   19371         * WebElementPropertyBag.h: Added missing #include.
   19372 
   19373 2006-11-28  Alice Liu  <alice.liu (a] apple.com>
   19374 
   19375         Reviewed by Ada, Adam, and Lou.
   19376 
   19377         * WebEditorClient.h:
   19378         * WebEditorClient.cpp:
   19379         These 3 functions are, for now, hard-coded to return true, letting paste work.
   19380         Commented out previous unused code because the app would crash if the editingDelegate was called
   19381         (WebEditorClient::shouldDeleteRange):
   19382         (WebEditorClient::shouldInsertNode):
   19383         (WebEditorClient::shouldInsertText):
   19384         stub impl for:
   19385         (WebEditorClient::smartInsertDeleteEnabled):
   19386 
   19387         * WebView.cpp:
   19388         moved where cut/copy/paste was handled from
   19389         (WebView::execCommand):
   19390         (WebViewWndProc):
   19391         
   19392         call the editor's version of these 4:
   19393         (WebView::copy):
   19394         (WebView::cut):
   19395         (WebView::paste):
   19396         (WebView::delete_):
   19397 
   19398 2006-11-28  Geoffrey Garen  <ggaren (a] apple.com>
   19399 
   19400         Reviewed by Adam.
   19401 
   19402         Fixed <rdar://problem/4844848> REGRESSION: extra cross-library ref/deref 
   19403         calls cause .5% PLT regression.
   19404         
   19405         Changed ref/deref calls to a single 'xxxDestroyed' call. Moved EditorClient
   19406         from the Frame to the Page, since it's only responsible for
   19407         Webview-level delegate calls.
   19408         
   19409         I don't really love this design, but it fixes the regression and allows
   19410         a single WebKit object to implement multiple client interfaces.
   19411         
   19412         Layout tests pass.
   19413 
   19414 2006-11-27  Beth Dakin  <bdakin (a] apple.com>
   19415 
   19416         Reviewed by Adam.
   19417 
   19418         Stub for canHandleRequest() to remove FIXME from ContextMenu.cpp
   19419 
   19420         * WebFrame.cpp:
   19421         (WebFrame::canHandleRequest):
   19422         * WebFrame.h:
   19423 
   19424 2006-11-27  Anders Carlsson  <acarlsson (a] apple.com>
   19425 
   19426         Reviewed by Adam.
   19427 
   19428         <rdar://problem/4814582>
   19429         JavaScript window.resizeTo doesn't work
   19430         
   19431         * Interfaces/IWebUIDelegate.idl:
   19432         Fix declarations.
   19433         
   19434         * WebChromeClient.cpp:
   19435         (WebChromeClient::setWindowRect):
   19436         (WebChromeClient::windowRect):
   19437         Call the COM methods.
   19438 
   19439 2006-11-26  Anders Carlsson  <acarlsson (a] apple.com>
   19440 
   19441         Reviewed by Adam.
   19442 
   19443         Add "addMessageToConsole" method to the private ui delegate, and have the client call it.
   19444         
   19445         * Interfaces/IWebUIDelegatePrivate.idl:
   19446         * WebFrame.cpp:
   19447         (WebFrame::addMessageToConsole):
   19448         * WebFrame.h:
   19449 
   19450 2006-11-27  Brady Eidson  <beidson (a] apple.com>
   19451 
   19452         Reviewed by Ada
   19453         
   19454         Added removeAllIcons() for cache clearing
   19455 
   19456         * Interfaces/IWebIconDatabase.idl:
   19457         * WebIconDatabase.cpp:
   19458         (WebIconDatabase::removeAllIcons): Added
   19459         * WebIconDatabase.h:
   19460 
   19461 2006-11-21  Anders Carlsson  <acarlsson (a] apple.com>
   19462 
   19463         Reviewed by Adam.
   19464 
   19465         Various fixes for getting file upload working.
   19466         
   19467         * WebFrame.cpp:
   19468         (WebFrame::loadDataSource):
   19469         Set the header fields on the new request.
   19470         
   19471         (WebFrame::submitForm):
   19472         * WebFrame.h:
   19473         Update submitForm, it now takes a FrameLoadRequest.
   19474         
   19475         * WebMutableURLRequest.cpp:
   19476         (WebMutableURLRequest::addHTTPHeaderFields):
   19477         (WebMutableURLRequest::httpHeaderFields):
   19478         * WebMutableURLRequest.h:
   19479         New functions for getting and setting HTTP headers.
   19480 
   19481 2006-11-20  Anders Carlsson  <acarlsson (a] apple.com>
   19482 
   19483         Fix build.
   19484         
   19485         * WebEditorClient.cpp:
   19486         (WebEditorClient::shouldInsertNode):
   19487         (WebEditorClient::shouldInsertText):
   19488         * WebEditorClient.h:
   19489 
   19490 2006-11-19  Beth Dakin  <bdakin (a] apple.com>
   19491 
   19492         Reviewed by Adam.
   19493 
   19494         * WebContextMenuClient.cpp: Stubs for the currently client-
   19495         dependent menu actions.
   19496         (WebContextMenuClient::copyLinkToClipboard):
   19497         (WebContextMenuClient::downloadURL):
   19498         (WebContextMenuClient::copyImageToClipboard):
   19499         (WebContextMenuClient::lookUpInDictionary):
   19500         * WebContextMenuClient.h:
   19501         * WebEditorClient.cpp:
   19502         (WebEditorClient::shouldInsertText): Remove comment markers since 
   19503         this is implemented now on the Mac.
   19504         * WebEditorClient.h:
   19505 
   19506 2006-11-17  Anders Carlsson  <acarlsson (a] apple.com>
   19507 
   19508         Reviewed by Adam.
   19509 
   19510         Make sure that all .cpp files and none of the headers include config.h.
   19511         
   19512         * MemoryStream.cpp:
   19513         * WebBackForwardList.cpp:
   19514         * WebBackForwardList.h:
   19515         * WebElementPropertyBag.cpp:
   19516         * WebHTMLRepresentation.cpp:
   19517         * WebKitClassFactory.cpp:
   19518         * WebKitDLL.cpp:
   19519         * WebMutableURLRequest.cpp:
   19520         * WebMutableURLRequest.h:
   19521         * WebURLResponse.cpp:
   19522         * WebURLResponse.h:
   19523 
   19524 2006-11-18  Darin Adler  <darin (a] apple.com>
   19525 
   19526         Reviewed by Adele.
   19527 
   19528         - fix leak of Document ref count seen in updateCounterpartURLForRSS
   19529 
   19530         * WebScriptObject.h: Changed destructor to be virtual. Without this,
   19531         when the COM object was released we wouldn't release the underlying
   19532         WebCore::Node.
   19533 
   19534 2006-11-18  Darin Adler  <darin (a] apple.com>
   19535 
   19536         Reviewed by Adele.
   19537 
   19538         - fix leak of WebView when you close a tab or window
   19539 
   19540         * Interfaces/IWebView.idl: Added a close function, like the close method
   19541         we added to WebView on the Macintosh side.
   19542 
   19543         * WebView.h: Added close function.
   19544         * WebView.cpp: (WebView::close): First cut at implementation of close.
   19545 
   19546 2006-11-16  Adam Roben  <aroben (a] apple.com>
   19547 
   19548         Reviewed by Steve, Ada.
   19549 
   19550         Added new WebMenuItemBaseApplicationTag to the WebMenuItemTag enum to
   19551         keep WebKit apps from conflicting with WebKit context menu identifiers.
   19552 
   19553         * Interfaces/IWebUIDelegate.idl:
   19554 
   19555 2006-11-15  Adam Roben  <aroben (a] apple.com>
   19556 
   19557         Reviewed by Anders.
   19558 
   19559         Added new WebContextMenuClient class, and moved context menu-related
   19560         code there from WebChromeClient.
   19561 
   19562         * WebChromeClient.cpp:
   19563         (WebChromeClient::setResizable):
   19564         * WebChromeClient.h:
   19565         * WebContextMenuClient.cpp: Added.
   19566         (WebContextMenuClient::create):
   19567         (WebContextMenuClient::WebContextMenuClient):
   19568         (WebContextMenuClient::ref):
   19569         (WebContextMenuClient::deref):
   19570         (WebContextMenuClient::addCustomContextMenuItems):
   19571         * WebContextMenuClient.h: Added.
   19572         * WebKit.vcproj/WebKit.vcproj: Added new files.
   19573         * WebView.cpp:
   19574         (WebView::initWithFrame):
   19575 
   19576 2006-11-15  Beth Dakin  <bdakin (a] apple.com>
   19577         &   Adam Roben  <aroben (a] apple.com>
   19578 
   19579         Reviewed by Adam and Beth.
   19580 
   19581         Internal side of r17796.
   19582 
   19583         * WebChromeClient.cpp:
   19584         (WebChromeClient::addCustomContextMenuItems):
   19585         * WebChromeClient.h:
   19586 
   19587 2006-11-15  Ada Chan  <adachan (a] apple.com>
   19588 
   19589         Reviewed by Steve.
   19590 
   19591         Fixed a bad free in DllRegisterServer.
   19592 
   19593         * WebKitDLL.cpp:
   19594         (DllRegisterServer):
   19595 
   19596 2006-11-15  Steve Falkenburg  <sfalken (a] apple.com>
   19597 
   19598         Take another pass at fixing COM registration
   19599 
   19600         * WebKitDLL.cpp:
   19601         (substituteGUID):
   19602 
   19603 2006-11-15  Anders Carlsson  <acarlsson (a] apple.com>
   19604 
   19605         Reviewed by Darin Adler.
   19606 
   19607         Add an undo manager to the editor client. Make it possible for applications to invoke undo/redo.        
   19608 
   19609         * Interfaces/IWebView.idl:
   19610         * WebEditorClient.cpp:
   19611         (WebUndoManager::WebUndoManager):
   19612         (WebUndoManager::~WebUndoManager):
   19613         (WebUndoManager::clearCommands):
   19614         (WebUndoManager::registerCommand):
   19615         (WebUndoManager::undo):
   19616         (WebUndoManager::redo):
   19617         (WebUndoManager::canUndo):
   19618         (WebUndoManager::canRedo):
   19619         (WebUndoManager::undoOrRedo):
   19620         (WebEditorClient::WebEditorClient):
   19621         (WebEditorUndoCommand::WebEditorUndoCommand):
   19622         (WebEditorUndoCommand::execute):
   19623         (WebEditorClient::registerCommandForUndo):
   19624         (WebEditorClient::registerCommandForRedo):
   19625         (WebEditorClient::clearUndoRedoOperations):
   19626         (WebEditorClient::canUndo):
   19627         (WebEditorClient::canRedo):
   19628         (WebEditorClient::undo):
   19629         (WebEditorClient::redo):
   19630         * WebEditorClient.h:
   19631         * WebView.cpp:
   19632         (WebView::execCommand):
   19633 
   19634 2006-11-15  Steve Falkenburg  <sfalken (a] apple.com>
   19635 
   19636         Fix bug in my last check-in preventing proper COM registration
   19637 
   19638         * WebKitDLL.cpp:
   19639         (DllRegisterServer):
   19640 
   19641 2006-11-15  Steve Falkenburg  <sfalken (a] apple.com>
   19642 
   19643         Reviewed by Adam.
   19644 
   19645         Use separate CLSIDs for buildbot builds.
   19646         
   19647         This allows independent installs of an official build (for everyday web browsing/dogfooding)
   19648         alongside a developer build (to write code, debug in Visual Studio).
   19649 
   19650         * Interfaces/WebKit.idl: Add a second set of CLSIDs for builbot-based builds.
   19651         * WebKit.vcproj/Interfaces.vcproj: Add a preprocessor define __BUILDBOT__ set to 1 for official builds, 0 otherwise (use #if to check).
   19652         * WebKitDLL.cpp: Convert CLSIDs to strings via code instead of copying string literals from elsewhere.
   19653         (substituteGUID): Added.
   19654         (DllUnregisterServer): Substitute CLSIDs into reg keys.
   19655         (DllRegisterServer): Substitute CLSIDs into reg keys.
   19656 
   19657 2006-11-15  Adam Roben  <aroben (a] apple.com>
   19658 
   19659         It's too early in the morning to be fixing the build.
   19660 
   19661         * WebEditorClient.cpp:
   19662         (WebEditorClient::selectWordBeforeMenuEvent):
   19663         (WebEditorClient::isEditable):
   19664 
   19665 2006-11-15  Adam Roben  <aroben (a] apple.com>
   19666 
   19667         Build fix.
   19668 
   19669         * WebEditorClient.cpp:
   19670         (selectWordBeforeMenuEvent):
   19671         (isEditable):
   19672         * WebEditorClient.h:
   19673 
   19674 2006-11-14  Darin Adler  <darin (a] apple.com>
   19675 
   19676         Reviewed by Anders.
   19677 
   19678         - update for creation of EventHandler
   19679 
   19680         * WebView.cpp:
   19681         (WebView::handleMouseEvent): Call methods now moved to EventHandler.
   19682         (WebView::mouseWheel): Ditto.
   19683         (WebView::elementAtPoint): Ditto.
   19684 
   19685 2006-11-14  Anders Carlsson  <acarlsson (a] apple.com>
   19686 
   19687         Build fix.
   19688         
   19689         * WebEditorClient.cpp:
   19690         (WebEditorClient::registerCommandForUndo):
   19691         (WebEditorClient::registerCommandForRedo):
   19692         (WebEditorClient::clearUndoRedoOperations):
   19693         (WebEditorClient::canUndo):
   19694         (WebEditorClient::canRedo):
   19695         (WebEditorClient::undo):
   19696         (WebEditorClient::redo):
   19697         * WebEditorClient.h:
   19698 
   19699 2006-11-14  Brady Eidson  <beidson (a] apple.com>
   19700 
   19701         Reviewed by Anders
   19702 
   19703         Additional tweek to the FormData change
   19704 
   19705         * WebFrame.cpp:
   19706         (WebFrame::loadDataSource):
   19707 
   19708 2006-11-14  Adam Roben  <aroben (a] apple.com>
   19709 
   19710         Reviewed by Steve.
   19711 
   19712         Replace all instances of DebugBreak() with ASSERT_NOT_REACHED() so that
   19713         it will be compiled out for Release builds.
   19714 
   19715         * DOMCSSClasses.cpp:
   19716         * DOMCoreClasses.cpp:
   19717         * DOMHTMLClasses.cpp:
   19718         * WebBackForwardList.cpp:
   19719         * WebDataSource.cpp:
   19720         * WebFrame.cpp:
   19721         * WebHTMLRepresentation.cpp:
   19722         * WebHistoryItem.cpp:
   19723         * WebIconDatabase.cpp:
   19724         * WebMutableURLRequest.cpp:
   19725         * WebNotification.cpp:
   19726         * WebPreferences.cpp:
   19727         * WebScriptObject.cpp:
   19728         * WebView.cpp:
   19729 
   19730 2006-11-13  Brady Eidson  <beidson (a] apple.com>
   19731 
   19732         Rubberstamped by Maciej
   19733 
   19734         Windows half of 17755 - Make FormData shared
   19735         
   19736         * WebFrame.cpp:
   19737         (WebFrame::loadDataSource):
   19738         (WebFrame::submitForm):
   19739         * WebFrame.h:
   19740         * WebMutableURLRequest.cpp:
   19741         (WebMutableURLRequest::setFormData):
   19742         (WebMutableURLRequest::formData):
   19743         * WebMutableURLRequest.h:
   19744 
   19745 2006-11-13  Anders Carlsson  <acarlsson (a] apple.com>
   19746 
   19747         Reviewed by Adam.
   19748 
   19749         Various editing fixes.
   19750         
   19751         * WebView.cpp:
   19752         (WebView::execCommand):
   19753         Use the focused frame, not the main frame.
   19754         
   19755         (WebView::focusedTarget):
   19756         Add FIXME comment.
   19757         
   19758         (WebView::keyDown):
   19759         Return false for unknown keydown messages when not in editing mode.
   19760 
   19761 2006-11-13  Steve Falkenburg  <sfalken (a] apple.com>
   19762 
   19763         Reviewed by Anders, Lou.
   19764         
   19765         Bump version for submit
   19766         Copy CharacterSets directory for CF
   19767 
   19768         * WebKit.vcproj/VERSION: Bump version
   19769         * WebKit.vcproj/WebKit.vcproj: Copy CharacterSets
   19770 
   19771 2006-11-13  Geoffrey Garen  <ggaren (a] apple.com>
   19772 
   19773         Reviewed by Darin Adler, Anders Carlsson.
   19774         
   19775         More window.open work.
   19776         
   19777         - Hooked up all of WebChromeClient that the App currently supports.
   19778 
   19779         * WebChromeClient.cpp:
   19780         (WebChromeClient::scaleFactor):
   19781         (WebChromeClient::focus):
   19782         (WebChromeClient::unfocus):
   19783         (WebChromeClient::createModalDialog):
   19784         (WebChromeClient::show):
   19785         (WebChromeClient::canRunModal):
   19786         (WebChromeClient::runModal):
   19787         (WebChromeClient::setToolbarsVisible):
   19788         (WebChromeClient::toolbarsVisible):
   19789         (WebChromeClient::setStatusbarVisible):
   19790         (WebChromeClient::statusbarVisible):
   19791         (WebChromeClient::setMenubarVisible):
   19792         (WebChromeClient::menubarVisible):
   19793         (WebChromeClient::setResizable):
   19794 
   19795 2006-11-13  Adam Roben  <aroben (a] apple.com>
   19796 
   19797         Fix line-endings and svn properties.
   19798 
   19799         * WebChromeClient.cpp:
   19800         * WebChromeClient.h:
   19801 
   19802 2006-11-13  Adam Roben  <aroben (a] apple.com>
   19803 
   19804         Build fix.
   19805 
   19806         * MarshallingHelpers.cpp:
   19807         * WebChromeClient.cpp:
   19808         * WebChromeClient.h:
   19809         * WebEditorClient.h:
   19810         * WebMutableURLRequest.h:
   19811 
   19812 2006-11-12  Geoffrey Garen  <ggaren (a] apple.com>
   19813 
   19814         * WebChromeClient.cpp: Fixed up #include.
   19815 
   19816 2006-11-12  Geoffrey Garen  <ggaren (a] apple.com>
   19817 
   19818         Reviewed by Steve Falkenberg.
   19819 
   19820         Implemented window.open. Rough around the edges right now.
   19821 
   19822         - Converted WebMutableURLRequest to use a ResourceRequest as its
   19823         backing store, to avoid yet another way of representing this data.
   19824         - Changed WebMutableURLRequests's timeoutInterval to double, to match
   19825         ResourceRequest and NSURLRequest.
   19826         - Added BSTRToKURL and KURLToBSTR helper functions.
   19827         - Added page accessor on WebView, and core(), for converting from WebView
   19828         to page.
   19829 
   19830         * MarshallingHelpers.h: Removed unnecessary variable names from declarations.
   19831 
   19832 2006-11-12  Geoffrey Garen  <ggaren (a] apple.com>
   19833 
   19834         Reviewed by Steve Falkenberg.
   19835         
   19836         Fixed up work-arounds to MSVC warning silliness.
   19837         
   19838         Replaced in-place disabling of "conditional expression is constant" warning
   19839         with project-wide setting. (We use do { } while(0); for macro scoping.)
   19840         
   19841         Replaced in-place and project-wide disabling of "xxx was declared deprecated" 
   19842         warning with project-wide setting only to disable Microsoft's made-up deprecation 
   19843         warnings related to std:: functions.
   19844 
   19845         * WebChromeClient.cpp:
   19846         (WebChromeClient::setResizable):
   19847         * WebKit.vcproj/WebKit.vcproj:
   19848         * WebKitDLL.h:
   19849 
   19850 2006-11-11  Geoffrey Garen  <ggaren (a] apple.com>
   19851 
   19852         Reviewed by Maciej Stachowiak.
   19853 
   19854         - Fixed <rdar://problem/4831461> Crash in FrameLoader::~FrameLoader when navigating away from ebay.com 
   19855 
   19856         - Changed WebKit clients to match new virtual ref/deref scheme in WebCore.
   19857 
   19858         - Removed WebEditorClient from the WebCore namespace because it's a 
   19859         WebKit class, not a WebCore class.
   19860 
   19861         - Standardized some header #includes to match Mac:
   19862             - alphabetical
   19863             - config.h, WebKitDLL.h, and class headers go together at the top
   19864             - everything else comes after a line break
   19865 
   19866 2006-11-11  Anders Carlsson  <acarlsson (a] apple.com>
   19867 
   19868         Reviewed by Oliver.
   19869 
   19870         Clean up the event handling code.
   19871         
   19872         * WebEditorClient.cpp:
   19873         (WebEditorClient::shouldBeginEditing):
   19874         (WebEditorClient::shouldEndEditing):
   19875         (WebEditorClient::shouldApplyStyle):
   19876         Change these to return true. Eventually they will call the editing delegate.
   19877         
   19878         * WebView.cpp:
   19879         (WebView::execCommand):
   19880         Update to call the editor's execCommand.
   19881         
   19882         (WebView::keyUp):
   19883         New function that forwards the event to FrameWin.
   19884         
   19885         (editCommandForKey):
   19886         New function that given a key returns an edit command from a table. Eventually this table
   19887         should be moved into WebCore.
   19888         
   19889         (WebView::handleEditingKeyboardEvent):
   19890         New function that handles editing events.
   19891         
   19892         (WebView::keyDown):
   19893         If the frame is editable, call handleEditingKeyboardEvent.
   19894         
   19895         (WebViewWndProc):
   19896         * WebView.h:
   19897 
   19898 2006-11-11  Adam Roben  <aroben (a] apple.com>
   19899 
   19900         Reviewed by Geoff.
   19901 
   19902         Update WebCore #includes to use a flat directory structure.
   19903 
   19904         * DOMCSSClasses.cpp:
   19905         * DOMCSSClasses.h:
   19906         * DOMCoreClasses.cpp:
   19907         * DOMEventsClasses.cpp:
   19908         * DOMHTMLClasses.cpp:
   19909         * MarshallingHelpers.cpp:
   19910         * WebChromeClient.cpp:
   19911         * WebChromeClient.h:
   19912         * WebDataSource.cpp:
   19913         * WebEditorClient.cpp:
   19914         * WebEditorClient.h:
   19915         * WebElementPropertyBag.cpp:
   19916         * WebFrame.cpp:
   19917         * WebFrame.h:
   19918         * WebHTMLRepresentation.cpp:
   19919         * WebHistory.cpp:
   19920         * WebIconDatabase.cpp:
   19921         * WebIconDatabase.h:
   19922         * WebKit.vcproj/WebKit.vcproj:
   19923         * WebKitDLL.cpp:
   19924         * WebMutableURLRequest.cpp:
   19925         * WebNotificationCenter.cpp:
   19926         * WebPreferences.cpp:
   19927         * WebURLResponse.cpp:
   19928         * WebURLResponse.h:
   19929         * WebView.cpp:
   19930         * WebView.h:
   19931 
   19932 2006-11-10  Adam Roben  <aroben (a] apple.com>
   19933 
   19934         Reviewed by Steve.
   19935 
   19936         Archive builds should still copy SDK .dlls into $WebKitOutputDir.
   19937 
   19938         * WebKit.vcproj/WebKit.vcproj:
   19939 
   19940 2006-11-10  Brady Eidson  <beidson (a] apple.com>
   19941 
   19942         Enthousiastically review by Beth (with exclamation marks and everything!!!1!!one!)
   19943 
   19944         No need for WebIconDatabase to keep its own reference to the
   19945         WebCore::IconDatabase
   19946         
   19947         * WebIconDatabase.cpp:
   19948         (WebIconDatabase::WebIconDatabase):
   19949         (WebIconDatabase::init):
   19950         (WebIconDatabase::iconForURL):
   19951         (WebIconDatabase::retainIconForURL):
   19952         (WebIconDatabase::releaseIconForURL):
   19953         * WebIconDatabase.h:
   19954 
   19955 2006-11-10  Steve Falkenburg  <sfalken (a] apple.com>
   19956 
   19957         Bump version number for submission
   19958 
   19959         * WebKit.vcproj/VERSION:
   19960 
   19961 2006-11-10  Brady Eidson  <beidson (a] apple.com>
   19962 
   19963         Reviewed by Darin
   19964 
   19965         Keep windows build from breaking
   19966 
   19967         * WebFrame.cpp:
   19968         (WebFrame::dispatchDidReceiveIcon):
   19969         * WebFrame.h:
   19970 
   19971 2006-11-10  Oliver Hunt  <oliver (a] apple.com>
   19972 
   19973         Build fix
   19974         
   19975         sprintf -> format (from Maciej's earlier change to WebCore)
   19976 
   19977         * WebView.cpp:
   19978         (osVersion):
   19979         (WebView::userAgentForKURL):
   19980 
   19981 2006-11-09  Steve Falkenburg  <sfalken (a] apple.com>
   19982 
   19983         Reviewed by Adam.
   19984         
   19985         Copy resources for CFNetwork (needed for next SDK)
   19986 
   19987         * WebKit.vcproj/WebKit.vcproj:
   19988 
   19989 2006-11-09  Oliver Hunt  <oliver (a] apple.com>
   19990 
   19991         Reviewed by Maciej.
   19992         
   19993         Fix crash on unknown protocol
   19994         
   19995         * WebFrame.cpp:
   19996         (WebFrame::didFailWithError):
   19997 
   19998 2006-11-09  Lou Amadio  <lamadio (a] apple.com>
   19999 
   20000         Reviewed by mjs
   20001         Correct the broken search implementations based on original webkit
   20002         <rdar://4827714>
   20003 
   20004         * WebView.cpp:
   20005         (WebView::searchFor):
   20006         (WebView::generateSelectionImage):
   20007         (WebView::selectionImageRect):
   20008 
   20009 2006-11-09  Adam Roben  <aroben (a] apple.com>
   20010 
   20011         Reviewed by Steve.
   20012 
   20013         Put the OpenSource revision in the WebKit.dll version info.
   20014 
   20015         * WebKit.vcproj/WebKit.vcproj: touch WebKit.rc before building to force
   20016         it to recompile.
   20017         * WebKit.vcproj/auto-version.sh: Get the OpenSource revision and put it in autoversion.h.
   20018 
   20019 2006-11-09  Adam Roben  <aroben (a] apple.com>
   20020 
   20021         Fix line-endings.
   20022 
   20023         * WebEditorClient.cpp:
   20024 
   20025 2006-11-09  Oliver Hunt  <oliver (a] apple.com>
   20026 
   20027         Reviewed by Anders.
   20028 
   20029         Build fixes
   20030 
   20031         * WebEditorClient.cpp:
   20032         (WebEditorClient::respondToChangedContents):
   20033         * WebEditorClient.h:
   20034 
   20035 2006-11-08  Adam Roben  <aroben (a] apple.com>
   20036 
   20037         Reviewed by Steve.
   20038 
   20039         Make the same change here as made in r11013.
   20040 
   20041         * WebKit.vcproj/auto-version.sh:
   20042 
   20043 2006-11-08  Maciej Stachowiak  <mjs (a] apple.com>
   20044 
   20045         Reviewed by Geoff.
   20046 
   20047         - added ResourceError class and didFailWithError client method
   20048         
   20049         * WebFrame.cpp:
   20050         (WebFrame::didFinishLoading):
   20051         (WebFrame::didFailWithError):
   20052         * WebFrame.h:
   20053 
   20054 2006-11-08  Adam Roben  <aroben (a] apple.com>
   20055 
   20056         Build fix.
   20057 
   20058         * WebEditorClient.cpp: Added stubs for new methods from EditorClient.h.
   20059         (WebEditorClient::shouldBeginEditing):
   20060         (WebEditorClient::shouldEndEditing):
   20061         (WebEditorClient::didBeginEditing):
   20062         (WebEditorClient::didEndEditing):
   20063         * WebEditorClient.h: Added new methods from EditorClient.h and cleaned
   20064         up placement of *s.
   20065 
   20066 2006-11-08  Beth Dakin  <bdakin (a] apple.com>
   20067 
   20068         Reviewed by Adam.
   20069 
   20070         Add clause for new WebElementIsContentEditableKey to the Read 
   20071         fucntion.
   20072 
   20073         * Interfaces/IWebView.idl:
   20074         * WebElementPropertyBag.cpp:
   20075         (WebElementPropertyBag::Read):
   20076 
   20077 2006-11-07  Ada Chan  <adachan (a] apple.com>
   20078 
   20079         Reviewed by Steve.
   20080         
   20081         Added a new API in IWebFramePrivate called firstLayoutDone that returns whether the frame has done its first layout.
   20082         Implement that API in WebFrame.
   20083 
   20084         * Interfaces/IWebFramePrivate.idl:
   20085         * WebFrame.cpp:
   20086         (WebFrame::WebFrame):
   20087         (WebFrame::firstLayoutDone):
   20088         (WebFrame::loadDataSource):
   20089         (WebFrame::didFirstLayout):
   20090         * WebFrame.h:
   20091 
   20092 2006-11-07  Lou Amadio  <lamadio (a] apple.com>
   20093 
   20094         Reviewed by sfalken, adam
   20095          Implemented Find banner, overlay, bouncy.
   20096          plummed some find, search and marking in WebCore & WebKit
   20097          Added SDC - a DC wrapper with knowledge of CG
   20098          Added button element
   20099          Ported AppKit's oval button drawing code
   20100          Abstracted the high performance animations
   20101 
   20102         * Interfaces/IWebUIDelegatePrivate.idl:
   20103         * Interfaces/IWebView.idl:
   20104         * WebFrame.h:
   20105         * WebView.cpp:
   20106         (WebView::scrollBackingStore):
   20107         (incrementFrame):
   20108         (WebView::searchFor):
   20109         (WebView::markAllMatchesForText):
   20110         (WebView::unmarkAllTextMatches):
   20111         (WebView::rectsForTextMatches):
   20112         (WebView::generateSelectionImage):
   20113         (WebView::selectionImageRect):
   20114         (EnumTextMatches::EnumTextMatches):
   20115         (EnumTextMatches::QueryInterface):
   20116         (EnumTextMatches::AddRef):
   20117         (EnumTextMatches::Release):
   20118         (EnumTextMatches::Next):
   20119         (EnumTextMatches::Skip):
   20120         (EnumTextMatches::Reset):
   20121         (EnumTextMatches::Clone):
   20122         (createMatchEnumerator):
   20123         * WebView.h:
   20124 
   20125 2006-11-08  Anders Carlsson  <acarlsson (a] apple.com>
   20126 
   20127         Reviewed by Adam.
   20128 
   20129         More fiddling with midl to get our JSC API types recognized.
   20130         
   20131         * Interfaces/IWebFrameLoadDelegate.idl:
   20132 
   20133 2006-11-07  Geoffrey Garen  <ggaren (a] apple.com>
   20134 
   20135         Reviewed by Anders.
   20136         
   20137         Removed ScreenClient. It was highly unpopular, risking my midterm re-election.
   20138         
   20139         None of Screen's responsibilities require up-calls to WebKit or delegates, 
   20140         so WebCore can handle it all.
   20141 
   20142 2006-11-07  Darin Adler  <darin (a] apple.com>
   20143 
   20144         Reviewed by Geoff.
   20145 
   20146         - moved loader code from Frame/FrameMac to FrameLoader
   20147 
   20148         * WebFrame.cpp:
   20149         (WebFrame::loadData):
   20150         (WebFrame::loadHTMLString):
   20151         (WebFrame::stopLoading):
   20152         (WebFrame::reload):
   20153         (WebFrame::initWithWebFrameView):
   20154         (WebFrame::loadDataSource):
   20155         (WebFrame::didReceiveResponse):
   20156         (WebFrame::didReceiveData):
   20157         (WebFrame::didFinishLoading):
   20158         (WebFrame::setTitle):
   20159         (WebFrame::dispatchDidHandleOnloadEvents):
   20160         (WebFrame::detachFrameLoader):
   20161         (WebFrame::hasWebView):
   20162         (WebFrame::hasFrameView):
   20163         (WebFrame::hasBackForwardList):
   20164         (WebFrame::resetBackForwardList):
   20165         (WebFrame::provisionalItemIsTarget):
   20166         (WebFrame::loadProvisionalItemFromPageCache):
   20167         (WebFrame::invalidateCurrentItemPageCache):
   20168         (WebFrame::privateBrowsingEnabled):
   20169         (WebFrame::makeDocumentView):
   20170         (WebFrame::makeRepresentation):
   20171         (WebFrame::forceLayout):
   20172         (WebFrame::forceLayoutForNonHTML):
   20173         (WebFrame::updateHistoryForCommit):
   20174         (WebFrame::updateHistoryForBackForwardNavigation):
   20175         (WebFrame::updateHistoryForReload):
   20176         (WebFrame::updateHistoryForStandardLoad):
   20177         (WebFrame::updateHistoryForInternalLoad):
   20178         (WebFrame::updateHistoryAfterClientRedirect):
   20179         (WebFrame::setCopiesOnScroll):
   20180         (WebFrame::tokenForLoadErrorReset):
   20181         (WebFrame::resetAfterLoadError):
   20182         (WebFrame::doNotResetAfterLoadError):
   20183         (WebFrame::willCloseDocument):
   20184         (WebFrame::detachedFromParent1):
   20185         (WebFrame::detachedFromParent2):
   20186         (WebFrame::detachedFromParent3):
   20187         (WebFrame::detachedFromParent4):
   20188         (WebFrame::loadedFromPageCache):
   20189         (WebFrame::dispatchDidReceiveServerRedirectForProvisionalLoad):
   20190         (WebFrame::dispatchDidCancelClientRedirect):
   20191         (WebFrame::dispatchWillPerformClientRedirect):
   20192         (WebFrame::dispatchDidChangeLocationWithinPage):
   20193         (WebFrame::dispatchWillClose):
   20194         (WebFrame::dispatchDidStartProvisionalLoad):
   20195         (WebFrame::dispatchDidReceiveTitle):
   20196         (WebFrame::dispatchDidCommitLoad):
   20197         (WebFrame::dispatchDidFinishLoad):
   20198         (WebFrame::dispatchDidFirstLayout):
   20199         (WebFrame::dispatchShow):
   20200         (WebFrame::cancelPolicyCheck):
   20201         (WebFrame::dispatchWillSubmitForm):
   20202         (WebFrame::dispatchDidLoadMainResource):
   20203         (WebFrame::clearLoadingFromPageCache):
   20204         (WebFrame::isLoadingFromPageCache):
   20205         (WebFrame::revertToProvisionalState):
   20206         (WebFrame::clearUnarchivingState):
   20207         (WebFrame::progressStarted):
   20208         (WebFrame::progressCompleted):
   20209         (WebFrame::setMainFrameDocumentReady):
   20210         (WebFrame::willChangeTitle):
   20211         (WebFrame::didChangeTitle):
   20212         (WebFrame::finishedLoading):
   20213         (WebFrame::finalSetupForReplace):
   20214         (WebFrame::setDefersLoading):
   20215         (WebFrame::isArchiveLoadPending):
   20216         (WebFrame::cancelPendingArchiveLoad):
   20217         (WebFrame::clearArchivedResources):
   20218         (WebFrame::canShowMIMEType):
   20219         (WebFrame::representationExistsForURLScheme):
   20220         (WebFrame::generatedMIMETypeForURLScheme):
   20221         (WebFrame::frameLoadCompleted):
   20222         (WebFrame::restoreScrollPositionAndViewState):
   20223         (WebFrame::provisionalLoadStarted):
   20224         (WebFrame::shouldTreatURLAsSameAsCurrent):
   20225         (WebFrame::addHistoryItemForFragmentScroll):
   20226         (WebFrame::didFinishLoad):
   20227         (WebFrame::prepareForDataSourceReplacement):
   20228         (WebFrame::userAgent):
   20229         * WebFrame.h:
   20230         * WebView.cpp:
   20231         (WebView::stringByEvaluatingJavaScriptFromString):
   20232 
   20233 2006-11-07  Anders Carlsson  <acarlsson (a] apple.com>
   20234 
   20235         Reviewed by Oliver.
   20236 
   20237         Call IWebFrameLoadDelegate::windowScriptObject available when the
   20238         window script object is available.
   20239         
   20240         * Interfaces/IWebFrameLoadDelegate.idl:
   20241         Get MIDL to understand the JSC API types.
   20242         
   20243         * WebFrame.cpp:
   20244         (WebFrame::windowScriptObjectAvailable):
   20245         Call into the delegate.
   20246         
   20247         * WebFrame.h:
   20248 
   20249 2006-11-07  Steve Falkenburg  <sfalken (a] apple.com>
   20250 
   20251         Versioning
   20252 
   20253         * WebKit.vcproj/VERSION:
   20254 
   20255 2006-11-06  Steve Falkenburg  <sfalken (a] apple.com>
   20256 
   20257         Reviewed by Geoff.
   20258         
   20259         Export JavaScriptCore C API via WebKit.
   20260 
   20261         * WebKit.vcproj/WebKit.def:
   20262         * WebKit.vcproj/WebKit_debug.def:
   20263 
   20264 2006-11-06  Kevin McCullough  <kmccullough (a] apple.com>
   20265 
   20266         -Fix test fields accepting text.
   20267 
   20268         * WebKit.vcproj/WebKit.vcproj:
   20269 
   20270 2006-11-06  Geoffrey Garen  <ggaren (a] apple.com>
   20271 
   20272         Oops. Forgot to add these files.
   20273         
   20274         Changed comment that Darin mentioned, too.
   20275 
   20276         * WebChromeClient.cpp:
   20277         * WebScreenClient.cpp: Added.
   20278         (WebScreenClient::create):
   20279         (WebScreenClient::WebScreenClient):
   20280         (WebScreenClient::depth):
   20281         (WebScreenClient::depthPerComponent):
   20282         (WebScreenClient::isMonochrome):
   20283         (WebScreenClient::rect):
   20284         (WebScreenClient::usableRect):
   20285         * WebScreenClient.h: Added.
   20286 
   20287 2006-11-06  Geoffrey Garen  <ggaren (a] apple.com>
   20288 
   20289         Reviewed by Darin Adler.
   20290         
   20291         Stubbed out the Chrome and Screen clients.
   20292 
   20293         * WebChromeClient.cpp:
   20294         (WebChromeClient::setWindowRect):
   20295         (WebChromeClient::windowRect):
   20296         (WebChromeClient::pageRect):
   20297         (WebChromeClient::scaleFactor):
   20298         (WebChromeClient::focus):
   20299         (WebChromeClient::unfocus):
   20300         (WebChromeClient::createWindow):
   20301         (WebChromeClient::createModalDialog):
   20302         (WebChromeClient::show):
   20303         (WebChromeClient::setToolbarsVisible):
   20304         (WebChromeClient::toolbarsVisible):
   20305         (WebChromeClient::setStatusbarVisible):
   20306         (WebChromeClient::statusbarVisible):
   20307         (WebChromeClient::setScrollbarsVisible):
   20308         (WebChromeClient::scrollbarsVisible):
   20309         (WebChromeClient::setMenubarVisible):
   20310         (WebChromeClient::menubarVisible):
   20311         (WebChromeClient::setResizable):
   20312         * WebChromeClient.h:
   20313         * WebKit.vcproj/WebKit.vcproj:
   20314         * WebView.cpp:
   20315         (WebView::initWithFrame):
   20316 
   20317 2006-11-06  Beth Dakin  <bdakin (a] apple.com>
   20318 
   20319         Reviewed by Anders.
   20320 
   20321         Oops! Silly mistake!
   20322 
   20323         * WebElementPropertyBag.cpp:
   20324         (convertStringToVariant):
   20325 
   20326 2006-11-06  Steve Falkenburg  <sfalken (a] apple.com>
   20327 
   20328         Fix build
   20329 
   20330         * WebMutableURLRequest.cpp:
   20331 
   20332 2006-11-05  Beth Dakin  <bdakin (a] apple.com>
   20333 
   20334         Reviewed by Steve and Anders. And sort of Maciej.
   20335 
   20336         Here is a basic implementation of elementAtPoint for Boomer.
   20337 
   20338         * Interfaces/IWebView.idl: The definitions of the 
   20339         WebElementPropertyBag keys.
   20340         * MarshallingHelpers.cpp:
   20341         (MarshallingHelpers::intRectToSafeArray): New safe array creation
   20342         function that creates a safe array out of an IntRect.
   20343         * MarshallingHelpers.h:
   20344         * WebElementPropertyBag.cpp: Added. This is the equivalent of
   20345         WebElementDictionary on the Mac.
   20346         (WebElementPropertyBag::WebElementPropertyBag):
   20347         (WebElementPropertyBag::~WebElementPropertyBag):
   20348         (WebElementPropertyBag::QueryInterface):
   20349         (WebElementPropertyBag::AddRef):
   20350         (WebElementPropertyBag::Release):
   20351         (isEqual):
   20352         (convertStringToVariant):
   20353         (WebElementPropertyBag::Read): This is the bulk of the class. It
   20354         compares the input key to all of the possible keys and calls the
   20355         appropriate function for each.
   20356         (WebElementPropertyBag::Write): Writing is not actually allowed.
   20357         * WebElementPropertyBag.h: Added.
   20358         * WebKit.vcproj/WebKit.vcproj:
   20359         * WebView.cpp:
   20360         (WebView::elementAtPoint): Call into frame to get the HitTestResult
   20361         for the point and set elementDictionary to the
   20362         WebElementPropertyBag for the result.
   20363 
   20364 2006-11-05  Steve Falkenburg  <sfalken (a] apple.com>
   20365 
   20366         Fix build breaks
   20367 
   20368         * WebFrame.cpp:
   20369         * WebFrame.h:
   20370 
   20371 2006-11-04  Darin Adler  <darin (a] apple.com>
   20372 
   20373         * WebView.cpp: (WebView::initWithFrame): Removed setMainFrame call and
   20374         deref of Frame, now handled by Frame's constructor.
   20375 
   20376 2006-11-03  Maciej Stachowiak  <mjs (a] apple.com>
   20377 
   20378         Reviewed by Adele.
   20379         
   20380         - replaced receivedRedirect with new willSendRequest delegate
   20381         - removed most mac-specific loader functions
   20382         - use ResourceResponse more in loader code
   20383 
   20384         * WebFrame.cpp:
   20385         (WebFrame::willSendRequest): Rearranged from former receivedRedirect.
   20386         * WebFrame.h:
   20387 
   20388 2006-11-03  Anders Carlsson  <acarlsson (a] apple.com>
   20389 
   20390         Build fix.
   20391         
   20392         * WebChromeClient.cpp:
   20393         
   20394 2006-11-03  Geoffrey Garen  <ggaren (a] apple.com>
   20395 
   20396         Reviewed by Darin, Beth.
   20397 
   20398         Updated to use ChromeClient.
   20399         
   20400         * WebChromeClient.cpp: Added.
   20401         (WebChromeClient::create):
   20402         (WebChromeClient::WebChromeClient):
   20403         (WebChromeClient::canRunModal):
   20404         (WebChromeClient::runModal):
   20405         * WebChromeClient.h: Added.
   20406         * WebKit.vcproj/WebKit.vcproj:
   20407         * WebView.cpp:
   20408         (WebView::initWithFrame):
   20409 
   20410 2006-11-01  Ada Chan  <adachan (a] apple.com>
   20411 
   20412         Reviewed by sfalken.
   20413         
   20414         Implemented the DOM API that pubsub needs:
   20415         IDOMDocument::getElementsByTagName
   20416         IDOMDocument::getElementsByTagNameNS (they don't need this, but might as well add it)
   20417         IDOMNodeList
   20418         IDOMNode::nodeValue
   20419         
   20420         Added something I'll need for RSS integration:
   20421         IWebHistoryItemPrivate::RSSFeedReferrer
   20422         IWebHistoryItemPrivate::setRSSFeedReferrer
   20423 
   20424         * DOMCoreClasses.cpp:
   20425         (DOMNode::nodeValue):
   20426         (DOMNode::DOMNode):
   20427         (DOMNode::~DOMNode):
   20428         (DOMNode::createInstance):
   20429         (DOMNodeList::QueryInterface):
   20430         (DOMNodeList::item):
   20431         (DOMNodeList::length):
   20432         (DOMNodeList::DOMNodeList):
   20433         (DOMNodeList::~DOMNodeList):
   20434         (DOMNodeList::createInstance):
   20435         (DOMDocument::getElementsByTagName):
   20436         (DOMDocument::getElementsByTagNameNS):
   20437         (DOMDocument::DOMDocument):
   20438         (DOMDocument::~DOMDocument):
   20439         (DOMElement::DOMElement):
   20440         (DOMElement::~DOMElement):
   20441         * DOMCoreClasses.h:
   20442         (DOMNodeList::AddRef):
   20443         (DOMNodeList::Release):
   20444         (DOMNodeList::throwException):
   20445         (DOMNodeList::callWebScriptMethod):
   20446         (DOMNodeList::evaluateWebScript):
   20447         (DOMNodeList::removeWebScriptKey):
   20448         (DOMNodeList::stringRepresentation):
   20449         (DOMNodeList::webScriptValueAtIndex):
   20450         (DOMNodeList::setWebScriptValueAtIndex):
   20451         (DOMNodeList::setException):
   20452         * Interfaces/IWebHistoryItemPrivate.idl:
   20453         * WebHistoryItem.cpp:
   20454         (WebHistoryItem::WebHistoryItem):
   20455         (WebHistoryItem::~WebHistoryItem):
   20456         (WebHistoryItem::RSSFeedReferrer):
   20457         (WebHistoryItem::setRSSFeedReferrer):
   20458         * WebHistoryItem.h:
   20459 
   20460 2006-10-31  Marvin Decker  <marv.decker (a] gmail.com>
   20461         
   20462         Reviewed by Maciej.
   20463         
   20464         - merged changes for:
   20465         
   20466                 - fixed "Stop and reload don't work on the WebView"
   20467                 http://bugs.webkit.org/show_bug.cgi?id=11285
   20468         
   20469         Most of htis was already in this tree.
   20470 
   20471         * WebFrame.cpp:
   20472         (WebFrame::stopLoading): Implement. Added FIXME.
   20473 
   20474 2006-10-31  Steve Falkenburg  <sfalken (a] apple.com>
   20475 
   20476         Bumped version to 521.29
   20477 
   20478         * WebKit.vcproj/VERSION:
   20479 
   20480 2006-10-30  Kevin McCullough  <KMcCullough (a] apple.com>
   20481 
   20482         Reviewed by Steve.
   20483 
   20484         - Added basic functionality for running javascript from the address bar.  Currently no return results are evaluated so use alert messages to see the results.
   20485 
   20486         * WebView.cpp:
   20487         (WebView::stringByEvaluatingJavaScriptFromString):
   20488 
   20489 2006-10-31  Adam Roben  <aroben (a] apple.com>
   20490 
   20491         Build fixes.
   20492 
   20493         * WebEditorClient.cpp: Add stubs for new methods.
   20494         (WebEditorClient::isContinuousSpellCheckingEnabled):
   20495         (WebEditorClient::isGrammarCheckingEnabled):
   20496         (WebEditorClient::spellCheckerDocumentTag):
   20497         * WebEditorClient.h: Add declarations for new methods.
   20498         * WebFrame.cpp: Fix #includes to use new platform/graphics directory.
   20499         * WebView.cpp: Ditto.
   20500         * WebKit.vcproj/WebKit.vcproj: Add platform/graphics to include path.
   20501 
   20502 2006-10-29  Steve Falkenburg  <sfalken (a] apple.com>
   20503 
   20504         Reviewed by Adam, Ada.
   20505 
   20506         Expose printing methods in IWebViewPrivate and removed LPARAM-based dispatching.
   20507         Call StretchDIBits instead of BitBlt.
   20508         Add a maximum DPI (currently set at 300) to speed up printing.
   20509         Add support needed for print preview.
   20510 
   20511         * Interfaces/IWebViewPrivate.idl: added startPrintJob, endPrintJob, getPrintedPageCount, printPage
   20512         * WebView.cpp: Added MAXIMUM_DPI setting to limit the size of print jobs for performance reasons
   20513         (getPrintRects): Added. Factored out of print, added maximum DPI handling.
   20514         (WebView::startPrintJob): Factored out of print
   20515         (WebView::endPrintJob): Factored out of print
   20516         (WebView::getPrintedPageCount): Factored out of print
   20517         (WebView::printPage): Factored out of print.  Replaced call to BitBlt with StretchDIBits
   20518         (WebViewWndProc): Re-add support for printing a window (used by bug reporter code)
   20519         * WebView.h: added startPrintJob, endPrintJob, getPrintedPageCount, printPage
   20520 
   20521 2006-10-30  Anders Carlsson  <acarlsson (a] apple.com>
   20522 
   20523         Reviewed by Adam.
   20524 
   20525         Add "null plugin" image resource.
   20526         
   20527         * WebKit.vcproj/WebKit.rc:
   20528         * WebKit.vcproj/WebKit.vcproj:
   20529         * WebKit.vcproj/nullplugin.png: Added.
   20530         * WebKit.vcproj/resource.h:
   20531         * WebKitDLL.cpp:
   20532         (loadResourceIntoArray):
   20533 
   20534 2006-10-29  Maciej Stachowiak  <mjs (a] apple.com>
   20535 
   20536         Reviewed by Anders.
   20537 
   20538         - added ResourceResponse class and didReceiveResponse delegate call
   20539 
   20540         * WebFrame.cpp:
   20541         (WebFrame::didReceiveResponse): Updated from receivedResponse.
   20542         * WebFrame.h:
   20543         * WebURLResponse.cpp:
   20544         (WebURLResponse::WebURLResponse): Reimplemented to work in terms
   20545         of WebCore::ResourceResponse (ditto for below). Uses BString
   20546         to convert strings as needed.
   20547         (WebURLResponse::~WebURLResponse):
   20548         (WebURLResponse::createInstance):
   20549         (WebURLResponse::expectedContentLength):
   20550         (WebURLResponse::initWithURL):
   20551         (WebURLResponse::MIMEType):
   20552         (WebURLResponse::suggestedFilename):
   20553         (WebURLResponse::textEncodingName):
   20554         (WebURLResponse::URL):
   20555         (WebURLResponse::suggestedFileExtension):
   20556         * WebURLResponse.h:
   20557 
   20558 2006-10-29  Maciej Stachowiak  <mjs (a] apple.com>
   20559 
   20560         Rubber stamped by Darin Adler.
   20561 
   20562         - renamed ResourceLoader to ResourceHandle (and same for related classes)
   20563 
   20564         * WebFrame.cpp:
   20565         (WebFrame::loadDataSource):
   20566         (WebFrame::receivedRedirect):
   20567         (WebFrame::receivedResponse):
   20568         (WebFrame::didReceiveData):
   20569         (WebFrame::didFinishLoading):
   20570         * WebFrame.h:
   20571         * WebURLResponse.cpp:
   20572         (WebURLResponse::createInstance):
   20573         * WebURLResponse.h:
   20574         * WebView.cpp:
   20575 
   20576 2006-10-27  Steve Falkenburg  <sfalken (a] apple.com>
   20577 
   20578         Reviewed by Maciej.
   20579         
   20580         Tighten up warning levels by removing #pragma warning(push, 0), pop
   20581 
   20582         * WebBackForwardList.h:
   20583         * WebFrame.h:
   20584         * WebIconDatabase.h:
   20585 
   20586 2006-10-25  Steve Falkenburg  <sfalken (a] apple.com>
   20587 
   20588         Reviewed by Darin Adler.
   20589         
   20590         Checked in Luke's CG printing code
   20591 
   20592         * WebView.cpp:
   20593         (WebView::print): added
   20594         (WebViewWndProc): call print from WM_PRINTCLIENT
   20595         * WebView.h: added print, m_pages, rearranged includes
   20596 
   20597 2006-10-24  Steve Falkenburg  <sfalken (a] apple.com>
   20598 
   20599         Bump version to 521.28.6
   20600 
   20601         * WebKit.vcproj/VERSION:
   20602 
   20603 2006-10-24  Anders Carlsson  <acarlsson (a] apple.com>
   20604 
   20605         * WebFrame.cpp:
   20606         (WebFrame::loadDataSource):
   20607         Forgot to save before committing. Call begin before trying to access the document.
   20608 
   20609 2006-10-24  Anders Carlsson  <acarlsson (a] apple.com>
   20610 
   20611         Fix build. (Update for changes to ResourceLoader)
   20612         
   20613         * WebFrame.cpp:
   20614         (WebFrame::loadDataSource):
   20615         * WebURLResponse.cpp:
   20616         (WebURLResponse::createInstance):
   20617 
   20618 2006-10-23  Ada Chan  <adachan (a] apple.com>
   20619 
   20620         Reviewed by sfalken.
   20621         
   20622         We forgot to add a reference in WebNotificationCenter::addObserver.
   20623 
   20624         * WebNotificationCenter.cpp:
   20625         (WebNotificationCenter::addObserver):
   20626 
   20627 2006-10-23  Steve Falkenburg  <sfalken (a] apple.com>
   20628 
   20629         Reviewed by Lou.
   20630 
   20631         * MarshallingHelpers.cpp:
   20632         (MarshallingHelpers::BSTRToCFStringRef): Fix leak in BSTRToCFStringRef
   20633         * WebEditorClient.cpp:
   20634         (WebEditorClient::WebEditorClient): Break dependency cycle by not holding a COM ref to the WebView
   20635         (WebEditorClient::~WebEditorClient): Break dependency cycle by not holding a COM ref to the WebView
   20636         * WebFrame.cpp:
   20637         (WebFrame::initWithWebFrameView):
   20638         (WebFrame::windowResizerRect): Fix reference leaks
   20639         * WebHistory.cpp:
   20640         (createUserInfoFromArray): Fixed leak of key CFStringRef.
   20641         (WebHistory::setOptionalSharedHistory): Made this callable with a 0 to release shared history
   20642         (_WebCoreHistoryProvider::_WebCoreHistoryProvider): Don't hold a ref to the WebHistory
   20643         (_WebCoreHistoryProvider::~_WebCoreHistoryProvider): Don't hold a ref to the WebHistory
   20644         (_WebCoreHistoryProvider::containsItemForURLLatin1): Don't hold a ref to the WebHistoryPrivate
   20645         * WebHistoryItem.cpp:
   20646         (WebHistoryItem::WebHistoryItem): Don't hold a reference to the WebIconDatabase
   20647         * WebIconDatabase.cpp:
   20648         (WebIconDatabase::~WebIconDatabase): Delete core icon db on delete
   20649         * WebNotificationCenter.cpp:
   20650         (ObserverKey::ObserverKey): Init data to 0 before calling assignment op
   20651         (ObserverKey::operator=): Free old string, release old ref if needed before copy
   20652 
   20653 2006-10-23  Adam Roben  <aroben (a] apple.com>
   20654 
   20655         Build fix.
   20656 
   20657         * WebFrame.cpp: Change header paths to point to new platform/network
   20658         directory and subdirectories.
   20659         * WebFrame.h: Ditto.
   20660         * WebURLResponse.cpp: Ditto.
   20661         * WebURLResponse.h: Ditto.
   20662         * WebView.cpp: Ditto.
   20663         * WebKit.vcproj/WebKit.vcproj: Add platform/network and subdirectories
   20664         to AdditionalIncludeDirectories.
   20665 
   20666 2006-10-23  Maciej Stachowiak  <mjs (a] apple.com>
   20667 
   20668         Rubber-stamped by Anders.
   20669 
   20670         - fixed for ResourceLoader refactoring.
   20671 
   20672         * WebFrame.cpp:
   20673         (WebFrame::didReceiveData):
   20674         (WebFrame::didFinishLoading):
   20675         * WebFrame.h:
   20676 
   20677 2006-10-21  Timothy Hatcher  <timothy (a] apple.com>
   20678 
   20679         Reviewed by Geoff.
   20680 
   20681         Stub out the new shouldShowDeleteInterface method.
   20682 
   20683         * WebEditorClient.cpp:
   20684         (WebEditorClient::shouldShowDeleteInterface):
   20685         * WebEditorClient.h:
   20686 
   20687 2006-10-20  Dave Hyatt  <hyatt (a] apple.com>
   20688 
   20689         Fix build bustage with spaces in names in cygwin home dirs with webkit's auto-version.sh script.
   20690        
   20691         * WebKit.vcproj/auto-version.sh:
   20692        
   20693         Fix a horrible memory leak with multiple windows.  WebViews need to delete their backing stores.
   20694         
   20695         * WebView.cpp:
   20696         (WebView::~WebView):
   20697 
   20698 2006-10-20  Steve Falkenburg  <sfalken (a] apple.com>
   20699 
   20700         Reviewed by Hyatt.
   20701         
   20702         Make the auto-version script work with paths that contain spaces
   20703 
   20704         * WebKit.vcproj/auto-version.sh:
   20705 
   20706 2006-10-20  Steve Falkenburg  <sfalken (a] apple.com>
   20707 
   20708         Build fix.
   20709 
   20710         * WebView.cpp:
   20711         (webKitVersion):
   20712 
   20713 2006-10-20  Steve Falkenburg  <sfalken (a] apple.com>
   20714 
   20715         Reviewed by Ada.
   20716         
   20717         <rdar://4778502> Boomer userAgent string needs to support pulling in proper build #, plus customization
   20718         
   20719         Useragent/versioning changes
   20720         
   20721         Stamp auto-generated version number into DLL and into user agent.
   20722         Generate a real user agent string instead of hardcoding one.
   20723         Support client supplying an application name for the user agent.
   20724         Support client overriding the useragent (for debug menu).
   20725         Support per-URL user agents (not used at least for now).
   20726 
   20727         Also fixed a bug I recently introduced that broke form submit.
   20728         
   20729         * WebFrame.cpp:
   20730         (WebFrame::loadData): stash original request URL
   20731         (WebFrame::loadHTMLString): stash original request URL
   20732         (WebFrame::loadDataSource): stash original request URL
   20733         (WebFrame::userAgentForURL): implemented
   20734         (WebFrame::originalRequestURL): implemented
   20735         * WebFrame.h: Changed FrameWinClient userAgent() to userAgentForURL in case we want to serve specific URLs for compatibility, added originalRequestURL
   20736         * WebKit.vcproj/PRODUCTVERSION: Added.
   20737         * WebKit.vcproj/VERSION: Added.
   20738         * WebKit.vcproj/WebKit.rc: Stamp autogenerated version number at build time.
   20739         * WebKit.vcproj/WebKit.vcproj: Stamp autogenerated version number at build time.
   20740         * WebKit.vcproj/auto-version.sh: Added.
   20741         * WebKit.vcproj/autoversion.h: Removed.
   20742         * WebView.cpp:
   20743         (WebView::WebView): Remove some no longer needed initialization
   20744         (WebView::~WebView): Remove some no longer needed cleanup
   20745         (osVersion): call to return the OS version as a string
   20746         (language): call to return the language as a string
   20747         (webKitVersion): call to return the version of WebKit as a string
   20748         (WebView::userAgentForKURL): fast version of userAgentForURL (no BSTR marshalling)
   20749         (WebView::initWithFrame): Use String instead of BSTR. 
   20750         (WebView::setApplicationNameForUserAgent): implemented
   20751         (WebView::applicationNameForUserAgent): implemented
   20752         (WebView::setCustomUserAgent): implemented
   20753         (WebView::customUserAgent): implemented
   20754         (WebView::userAgentForURL): implemented
   20755         (WebView::setCustomTextEncodingName): switch to WebCore::String storage
   20756         (WebView::customTextEncodingName): switch to WebCore::String storage
   20757         (WebView::setGroupName): switch to WebCore::String storage
   20758         (WebView::groupName): switch to WebCore::String storage
   20759         (WebView::onNotify):
   20760         * WebView.h: Switch over to using WebCore::Strings instead of BSTRs in a few places, added m_applicationName, removed m_frameName.
   20761 
   20762 2006-10-20  Alice Liu  <alice.liu (a] apple.com>
   20763 
   20764         Reviewed by Steve and Maciej.
   20765 
   20766         Adding knowledge of the Editor and EditorClient to Windows WebKit
   20767 
   20768         * Interfaces/IWebEditingDelegate.idl:
   20769         needs IWebView.idl
   20770         
   20771         * WebEditorClient.cpp: Added
   20772         (WebEditorClient::WebEditorClient):
   20773         (WebEditorClient::~WebEditorClient):
   20774         (WebEditorClient::shouldDeleteRange):
   20775         (WebEditorClient::shouldBeginEditingInRange):
   20776         (WebEditorClient::shouldEndEditingInRange):
   20777         (WebEditorClient::shouldInsertNode):
   20778         (WebEditorClient::shouldApplyStyle):
   20779         (WebEditorClient::shouldChangeTypingStyle):
   20780         (WebEditorClient::webViewDidBeginEditing):
   20781         (WebEditorClient::webViewDidChange):
   20782         (WebEditorClient::webViewDidEndEditing):
   20783         (WebEditorClient::webViewDidChangeTypingStyle):
   20784         (WebEditorClient::webViewDidChangeSelection):
   20785         
   20786         * WebEditorClient.h: Added.
   20787         
   20788         * WebFrame.cpp:
   20789         (WebFrame::initWithWebFrameView):
   20790         created an editor client
   20791         
   20792         * WebKit.vcproj/WebKit.vcproj:
   20793         added WebEditorClient files
   20794 
   20795 2006-10-20  Steve Falkenburg  <sfalken (a] apple.com>
   20796 
   20797         Implement (barely) more of DOMWindow.idl.
   20798 
   20799         * Interfaces/DOMWindow.idl:
   20800 
   20801 2006-10-20  Adam Roben  <aroben (a] apple.com>
   20802 
   20803         Reviewed by Darin Adler.
   20804 
   20805         Build fix.
   20806         Stubbing out DOMWindow.idl, which was forgotten in the last checkin.
   20807 
   20808         * Interfaces/DOMWindow.idl: Added.
   20809 
   20810 2006-10-19  Steve Falkenburg  <sfalken (a] apple.com>
   20811 
   20812         Reviewed by Adam.
   20813 
   20814         <rdar://4771958>
   20815         Holding down Ctrl when a redirect happens opens the redirected page in a new tab
   20816 
   20817         <rdar://4781981> 
   20818         View Source is using syntax highlighting and should probably punt on
   20819         that (due to its many issues) and show the original data in a WebView
   20820         as plaintext.
   20821         
   20822         Also added a bunch of DOM bindings for events.
   20823 
   20824         * DOMEventsClasses.cpp: Added.
   20825         * DOMEventsClasses.h: Added.
   20826         * Interfaces/DOMEvents.idl: Added.
   20827         * WebFrame.cpp:
   20828         (WebFrame::loadData): Implemented
   20829         (WebFrame::openURL): Added triggeringEvent parameter
   20830         * WebFrame.h: Added triggeringEvent parameter
   20831         * WebKit.vcproj/Interfaces.vcproj: Added DOMEvents.idl, DOMWindow.idl
   20832         * WebKit.vcproj/WebKit.vcproj: Added DOMEventsClasses.cpp, DOMEventsClasses.h 
   20833         * WebKit.vcproj/WebKitGUID.vcproj: Added DOMEvents_i.c
   20834 
   20835 2006-10-19  Anders Carlsson <acarlsson (a] apple.com>
   20836 
   20837         * WebFrame.cpp:
   20838         (WebFrame::initWithWebFrameView):
   20839         Build fix.
   20840 
   20841 2006-10-18  Alice Liu  <alice.liu (a] apple.com>
   20842 
   20843         Reviewed by Steve.
   20844 
   20845         Any file that #includes WebView.h also needed to include 
   20846         IWebURLResponse.h since IWebView.h needed it.  Adding this 
   20847         to the IDL file.
   20848         
   20849         * Interfaces/IWebDataSource.idl:
   20850         re-arranged imports because not all were being generated due to weird IDL file compiler bug
   20851 
   20852         * Interfaces/IWebView.idl:
   20853         added reference to IWebURLResponse.h
   20854                 
   20855         * WebFrame.cpp:
   20856         * WebKitClassFactory.cpp:
   20857         * WebView.cpp:
   20858         removed reference to IWebURLResponse.h
   20859         
   20860 
   20861 2006-10-18  Steve Falkenburg  <sfalken (a] apple.com>
   20862 
   20863         Reviewed by Lou.
   20864 
   20865         <rdar://4781998> Need API for setting the rendering modes
   20866         
   20867         Added font smoothing preference
   20868         Fixed some COM interface typos
   20869         Removed use of IWebImage (we use HBITMAP instead)
   20870 
   20871         * DOMHTMLClasses.cpp:
   20872         (DOMHTMLDocument::body): fixed typos
   20873         (DOMHTMLFormElement::elements): fixed typos
   20874         (DOMHTMLInputElement::form): fixed typos
   20875         (DOMHTMLTextAreaElement::form): fixed typos
   20876         * DOMHTMLClasses.h: fixed typos
   20877         * Interfaces/DOMCSS.idl: fixed typos
   20878         * Interfaces/DOMHTML.idl: fixed typos
   20879         * Interfaces/DOMRange.idl: fixed typos
   20880         * Interfaces/IWebArchive.idl: fixed typos
   20881         * Interfaces/IWebDataSource.idl: fixed typos
   20882         * Interfaces/IWebDocument.idl: fixed typos
   20883         * Interfaces/IWebEditingDelegate.idl: fixed typos
   20884         * Interfaces/IWebFrameLoadDelegate.idl: fixed typos
   20885         * Interfaces/IWebFrameView.idl: fixed typos
   20886         * Interfaces/IWebHistoryItem.idl: fixed typos
   20887         * Interfaces/IWebIconDatabase.idl: fixed typos
   20888         * Interfaces/IWebImage.idl: Removed.
   20889         * Interfaces/IWebPreferences.idl: added font smoothing getter/setter
   20890         * Interfaces/IWebURLAuthenticationChallenge.idl:
   20891         * Interfaces/IWebView.idl: fixed typos
   20892         * Interfaces/WebKit.idl: removed IWebImage
   20893         * WebDataSource.cpp:
   20894         (WebDataSource::webArchive): fixed typos
   20895         (WebDataSource::mainResource): fixed typos
   20896         (WebDataSource::subresourceForURL): fixed typos
   20897         * WebDataSource.h: fixed typos
   20898         * WebHistoryItem.cpp:
   20899         (WebHistoryItem::icon): fixed typos
   20900         * WebHistoryItem.h: fixed typos
   20901         * WebKit.vcproj/Interfaces.vcproj: removed IWebImage
   20902         * WebKit.vcproj/WebKitGUID.vcproj: removed IWebImage
   20903         * WebPreferenceKeysPrivate.h: added font smoothing prefs key
   20904         * WebPreferences.cpp:
   20905         (WebPreferences::initialize): font smoothing pref
   20906         (WebPreferences::fontSmoothing): added
   20907         (WebPreferences::setFontSmoothing): added
   20908         * WebPreferences.h: added font smoothing getter/setter
   20909         * WebView.cpp:
   20910         (WebView::windowScriptObject): fixed typos
   20911         (WebView::mainFrameIcon): removed IWebImage
   20912         (WebView::undoManager): fixed typos
   20913         * WebView.h:
   20914 
   20915 2006-10-17  Steve Falkenburg  <sfalken (a] apple.com>
   20916 
   20917         Reviewed by ggaren.
   20918 
   20919         <rdar://4781999> History menu gets borked if you visit a page with no title.
   20920         <rdar://4782002> The History menu is frequently utterly corrupted, with incorrect favicons next to mismatched titles.
   20921         <rdar://4780252> Page titles in History menu are incorrect
   20922         <rdar://4760334> Pages without title show an old title instead of a default title
   20923 
   20924         * Interfaces/IWebHistoryItemPrivate.idl: added setTitle to set title for a page after we receive it
   20925         * WebFrame.cpp: Removed unnecessary WebFramePrivate::title
   20926         (WebFrame::goToItem): Get back/forward list via frame-aware getter
   20927         (WebFrame::receivedRedirect): Use BString
   20928         (WebFrame::receivedResponse): Use BString. Get back/forward list, history via frame-aware getters.
   20929         (WebFrame::createFrame): Use BString
   20930         (WebFrame::submitForm): Clean up up BSTR usage
   20931         (WebFrame::setTitle): Set title in back/forward, history when received
   20932         (WebFrame::backForwardList): Frame-aware getter for back/forward
   20933         (WebFrame::webHistory): Frame-aware getter for history
   20934         * WebFrame.h: Added frame-aware getters for history, back/forward
   20935         * WebHistory.cpp: Reorder includes.
   20936         (WebHistory::QueryInterface): Support QI to WebHistory via CLSID (avoids yucky static cast in other places)
   20937         * WebHistoryItem.cpp:
   20938         (WebHistoryItem::setTitle): Added
   20939         * WebHistoryItem.h: Added setTitle
   20940         * WebView.cpp:
   20941         (WebView::QueryInterface): Support QI to WebView via CLSID
   20942 
   20943 2006-10-17  Steve Falkenburg  <sfalken (a] apple.com>
   20944 
   20945         Reviewed by Maciej.
   20946         
   20947         Switch over to ICU 3.6
   20948 
   20949         * WebKit.vcproj/WebKit.vcproj:
   20950 
   20951 2006-10-17  Oliver Hunt  <oliver (a] apple.com>
   20952 
   20953         Reviewed by Brady.
   20954 
   20955         Fix flickering cursor
   20956 
   20957         * WebView.cpp:
   20958         (registerWebViewWindowClass):
   20959 
   20960 2006-10-15  Adam Roben  <aroben (a] apple.com>
   20961 
   20962         Reviewed by Geoff, Anders.
   20963 
   20964         Fix crash on startup.
   20965 
   20966         We were crashing somewhere inside Frame::setResourceRequest. I'm not
   20967         sure what change made this start crashing.
   20968 
   20969         * WebFrame.cpp:
   20970         (WebFrame::receivedResponse): Remove useless calls to
   20971         Frame::resourceRequest and Frame::setResourceRequest.
   20972 
   20973 2006-10-13  Dave Hyatt  <hyatt (a] apple.com>
   20974 
   20975         Make sure the backing store is flushed when themes are changed.
   20976 
   20977         Reviewed by aroben
   20978 
   20979         * WebView.cpp:
   20980         (WebViewWndProc):
   20981 
   20982 2006-10-12  Adam Roben  <aroben (a] apple.com>
   20983 
   20984         Build fix (broken by OpenSource r17006)
   20985 
   20986         * WebFrame.cpp:
   20987         (WebFrame::receivedResponse):
   20988 
   20989 2006-10-12  Dave Hyatt  <hyatt (a] apple.com>
   20990 
   20991         Implement full-blown double buffering (keeping a bitmap in the WebView that holds the backing store for it).
   20992         
   20993         Reviewed by mjs
   20994         
   20995         * WebFrame.cpp:
   20996         (WebFrame::addToDirtyRegion):
   20997         (WebFrame::scrollBackingStore):
   20998         (WebFrame::updateBackingStore):
   20999         * WebFrame.h:
   21000         * WebView.cpp:
   21001         (WebView::WebView):
   21002         (WebView::ensureBackingStore):
   21003         (WebView::addToDirtyRegion):
   21004         (WebView::scrollBackingStore):
   21005         (WebView::updateBackingStore):
   21006         (WebView::paint):
   21007         (WebView::paintIntoBackingStore):
   21008         (WebView::paintIntoWindow):
   21009         (WebViewWndProc):
   21010         * WebView.h:
   21011         (WebView::topLevelFrame):
   21012 
   21013 2006-10-10  Steve Falkenburg  <sfalken (a] apple.com>
   21014 
   21015         Reviewed by Adam.
   21016         
   21017         <rdar://4775676>
   21018         Crash in CoreFoundation parsing a "corrupt" plist
   21019         
   21020         Prevent crash when we encounter a corrupt history plist by using
   21021         structured exception handling to catch the crash and return
   21022         an empty history list.
   21023 
   21024         * WebHistory.cpp:
   21025         (WebHistory::loadHistoryGutsFromURL):
   21026 
   21027 2006-10-11  Darin Adler  <darin (a] apple.com>
   21028 
   21029         Reviewed by Beth.
   21030 
   21031         - fix problem where you can't type in subframes
   21032 
   21033         * WebView.cpp: (WebViewWndProc): Use WebView's focusedTargetFrame()
   21034         function instead of sending everything to the main frame.
   21035 
   21036 2006-10-09  Brady Eidson  <beidson (a] apple.com>
   21037 
   21038         Reviewed by Steve
   21039 
   21040         <rdar://4721579> - WebPreferences for IconDatabase hooked up
   21041         This completes the above task by implementing the icon database location preference
   21042         
   21043         * WebIconDatabase.cpp:
   21044         (WebIconDatabase::init): Get the location from the prefs, fallback to the default via shell call
   21045         * WebPreferenceKeysPrivate.h:
   21046         * WebPreferences.cpp:
   21047         (WebPreferences::initialize):
   21048         (WebPreferences::iconDatabaseLocation):
   21049         (WebPreferences::setIconDatabaseLocation):
   21050 
   21051 2006-10-07  Adam Roben  <aroben (a] apple.com>
   21052 
   21053         Reviewed by Anders.
   21054 
   21055         Merge of OpenSource r16884
   21056         http://bugs.webkit.org/show_bug.cgi?id=11199
   21057         Update Session History when a load is committed rather than completed.
   21058 
   21059         * WebFrame.cpp:
   21060         (WebFrame::receivedResponse):
   21061         (WebFrame::receivedAllData):
   21062 
   21063 2006-10-07  Adam Roben  <aroben (a] apple.com>
   21064 
   21065         Reviewed by Steve.
   21066 
   21067         Fix for failed ASSERT on iBench.
   21068 
   21069         * WebFrame.cpp:
   21070         (WebFrame::receivedAllData): Be a bit more lenient about what
   21071         ResourceLoader has called WebFrame::receivedAllData
   21072 
   21073 2006-10-06  Geoffrey Garen  <ggaren (a] apple.com>
   21074 
   21075         Reviewed by Adam Roben, esq.
   21076         
   21077         Fixed <rdar://4768789> Crash on ebay.com in Frame::didOpenURL
   21078         
   21079         The issue was a resource loader making a callback to a
   21080         frame after the frame had been destroyed. This doesn't happen on Mac
   21081         because Mac WebKit cancels all loads before tearing down frames.
   21082         
   21083         The solution is to add a callback to Win WebKit to allow a frame
   21084         to cancel its main resource load. This is a temporary work-around.
   21085         It is temporary because it doesn't address pending subresource loads.
   21086         The long-term solution we anticipate is to have a legitimate loader
   21087         inside WebCore.
   21088 
   21089         * WebFrame.cpp:
   21090         (WebFrame::loadDataSource):
   21091         (WebFrame::stopMainResourceLoad):
   21092         (WebFrame::receivedAllData):
   21093         * WebFrame.h:
   21094 
   21095 006-10-06  Steve Falkenburg  <sfalken (a] apple.com>
   21096 
   21097         Use a better versioning scheme.
   21098         
   21099         Out version #s for Boomer are the same as the last Mac
   21100         submission + the addition of "b".
   21101         
   21102         This first versioned submission is 521.28b
   21103 
   21104         * WebKit.vcproj/WebKit.rc:
   21105 
   21106 2006-10-06  Steve Falkenburg  <sfalken (a] apple.com>
   21107 
   21108         Bump version number.
   21109 
   21110         * WebKit.vcproj/WebKit.rc:
   21111 
   21112 2006-10-06  Steve Falkenburg  <sfalken (a] apple.com>
   21113 
   21114         Reviewed by Adam, Lou.
   21115 
   21116         <rdar://4754295> Corrupt history.plist = crash on startup
   21117         
   21118         Fix improper CF usage that likely led to retain/release imbalances.
   21119 
   21120         Resizer fixes.
   21121         We now properly invalidate and draw overlapping contents or opaque.
   21122 
   21123         * Interfaces/IWebUIDelegatePrivate.idl:
   21124         * WebFrame.cpp:
   21125         (WebFrame::paintGripper):
   21126         * WebHistory.cpp:
   21127         (WebHistory::saveHistoryGuts):
   21128         * WebHistoryItem.cpp:
   21129         (WebHistoryItem::dictionaryRepresentation):
   21130 
   21131 2006-10-06  Steve Falkenburg  <sfalken (a] apple.com>
   21132 
   21133         Reviewed by aroben.
   21134 
   21135         Scrollbars now dodge resizing gripper.
   21136         Resizing gripper now paints via web ui delegate.
   21137         Debug vcproj fixes.
   21138         Fix redirects to search.com.
   21139         Add support for painting and cursor tracking of resizer.
   21140 
   21141         * Interfaces/IWebUIDelegatePrivate.idl: added webViewDrawResizer.
   21142         * WebFrame.cpp:
   21143         (WebFrame::paint): added gripper drawing code.
   21144         (WebFrame::receivedResponse): tell the app when we commit a page load.
   21145         (WebFrame::windowResizerRect): added.
   21146         (WebFrame::paintGripper): added.
   21147         * WebFrame.h: added windowResizerRect, paintGripper.
   21148         * WebKit.vcproj/WebKit.vcproj: Link against debug libs, debug MSVC library in debug build.
   21149         * WebView.cpp:
   21150         (WebView::WebView):
   21151         (WebView::~WebView):
   21152         (WebView::inResizer):
   21153         (WebViewWndProc):
   21154         (WebView::setUIDelegate):
   21155         * WebView.h:
   21156 
   21157 2006-10-05  Dave Hyatt  <hyatt (a] apple.com>
   21158 
   21159         Fix clipping and transforms by making sure to propagate them as they happen on the CGContext over into the HDC.
   21160         
   21161         * WebFrame.cpp:
   21162         (WebFrame::paintSingleRect):
   21163 
   21164 2006-10-05  Adam Roben  <aroben (a] apple.com>
   21165 
   21166         Build fix.
   21167 
   21168         * WebKit.vcproj/WebKitGUID.vcproj: Fix patch to IWebFramePrivate_i.c
   21169 
   21170 2006-10-05  Anders Carlsson <acarlsson (a] apple.com>
   21171 
   21172         Reviewed by Maciej.
   21173 
   21174         A couple of changes needed for the new DumpRenderTree.
   21175         
   21176         * DOMCoreClasses.cpp:
   21177         (DOMDocument::documentElement):
   21178         Implement.
   21179         
   21180         * DOMHTMLClasses.cpp:
   21181         (DOMHTMLElement::innerHTML):
   21182         (DOMHTMLElement::setInnerHTML):
   21183         (DOMHTMLElement::innerText):
   21184         (DOMHTMLElement::setInnerText):
   21185         * DOMHTMLClasses.h:
   21186         (DOMHTMLFormElement::innerHTML):
   21187         (DOMHTMLFormElement::setInnerHTML):
   21188         (DOMHTMLFormElement::innerText):
   21189         (DOMHTMLFormElement::setInnerText):
   21190         (DOMHTMLSelectElement::innerHTML):
   21191         (DOMHTMLSelectElement::setInnerHTML):
   21192         (DOMHTMLSelectElement::innerText):
   21193         (DOMHTMLSelectElement::setInnerText):
   21194         (DOMHTMLOptionElement::innerHTML):
   21195         (DOMHTMLOptionElement::setInnerHTML):
   21196         (DOMHTMLOptionElement::innerText):
   21197         (DOMHTMLOptionElement::setInnerText):
   21198         (DOMHTMLInputElement::innerHTML):
   21199         (DOMHTMLInputElement::setInnerHTML):
   21200         (DOMHTMLInputElement::innerText):
   21201         (DOMHTMLInputElement::setInnerText):
   21202         (DOMHTMLTextAreaElement::innerHTML):
   21203         (DOMHTMLTextAreaElement::setInnerHTML):
   21204         (DOMHTMLTextAreaElement::innerText):
   21205         (DOMHTMLTextAreaElement::setInnerText):
   21206         * Interfaces/DOMHTML.idl:
   21207         Implement innerText and add stubs for innerHTML, setInnerHTML and setInnerText.
   21208         
   21209         * Interfaces/IWebFramePrivate.idl: Added.
   21210         * WebFrame.cpp:
   21211         (WebFrame::QueryInterface):
   21212         (WebFrame::renderTreeAsExternalRepresentation):
   21213         (WebFrame::receivedAllData):
   21214         Call Frame::end() before calling the frame load delegate methods. This matches the mac behavior.
   21215         
   21216         (WebFrame::didFirstLayout):
   21217         (WebFrame::handledOnloadEvents):
   21218         Add null checks for frameLoadDelegatePriv, all clients might not use it.
   21219         
   21220         * WebFrame.h:
   21221         * WebKit.vcproj/Interfaces.vcproj:
   21222         * WebKit.vcproj/WebKitGUID.vcproj:
   21223         Add new interface, IWebFramePrivate, which supports getting the render tree as text.
   21224 
   21225 2006-10-05  Maciej Stachowiak  <mjs (a] apple.com>
   21226 
   21227         Reviewed by Adam.
   21228 
   21229         - changed ResourceLoader to be refcounted
   21230 
   21231         It keeps a ref on itself while loading as well. This makes
   21232         for a much saner memory management model than the previous.
   21233 
   21234         In addition, keep it ref'd across all of ResourceLoaderWndProc
   21235         to avoid sending messages to jobs that get deleted partway.
   21236 
   21237         This fixes <rdar://problem/4766859> Crash in ResourceLoaderWndProc - line 232 at televisionwithoutpity.com, washingtonpost.com
   21238 
   21239 
   21240         * WebFrame.cpp:
   21241         (WebFrame::loadDataSource):
   21242 
   21243 2006-10-05  Dave Hyatt  <hyatt (a] apple.com>
   21244 
   21245         Make key events work with iframes.  Implement scrolling keyboard behavior.  Fix a bug with mouse wheeling that
   21246         made it fail on iframes nested within iframes.
   21247         
   21248         Reviewed by mjs
   21249 
   21250         * WebView.cpp:
   21251         (WebView::handleMouseEvent):
   21252         (WebView::focusedTarget):
   21253         (WebView::focusedTargetFrame):
   21254         (WebView::keyPress):
   21255         (WebViewWndProc):
   21256         * WebView.h:
   21257 
   21258 2006-10-04  Adele Peterson  <adele (a] apple.com>
   21259 
   21260         Reviewed by Adam. 
   21261 
   21262         - Fix for <rdar://problem/4762933> When typing past the end of a text field, the field doesn't auto-scroll to display the active caret
   21263 
   21264         Reveal the selection after inserting text.   
   21265         
   21266         * WebView.cpp:
   21267         (WebViewWndProc):
   21268 
   21269 2006-10-05  Darin Adler  <darin (a] apple.com>
   21270 
   21271         Reviewed by Adam.
   21272 
   21273         - fix <rdar://problem/4764253>
   21274           frame targeting not implemented.
   21275 
   21276         * WebFrame.h: Added newWindow parameter to openURL and changed the URL
   21277         parameter to a String.
   21278         * WebFrame.cpp: (WebFrame::openURL): Changed code to use BString to convert
   21279         the String to a BSTR. Also respect the newWindow parameter and changed the
   21280         new window code slightly, adding a FIXME.
   21281 
   21282 2006-10-04 Dave Hyatt  <hyatt (a] apple.com>
   21283 
   21284         Fix painting so that we only do a layout if one is really needed.  This actually fixes the non-blinking caret in
   21285         text fields.
   21286        
   21287         * WebFrame.cpp:
   21288         (WebFrame::WebFramePrivate::needsLayout):
   21289         (WebFrame::paint):
   21290         (WebFrame::layoutIfNeeded):
   21291         (WebFrame::setNeedsLayout):
   21292         * WebFrame.h:
   21293         * WebView.cpp:
   21294         (WebViewWndProc):
   21295 
   21296 2006-10-03  Dave Hyatt  <hyatt (a] apple.com>
   21297 
   21298         Implement the same smart rect painting algorithm that I implemented on Mac a while back (where sometimes we don't use
   21299         the big unioned invalidation rect but instead paint single rects out of the update region.
   21300         
   21301         Reviewed by anders
   21302 
   21303         * WebFrame.cpp:
   21304         (WebFrame::paint):
   21305         (WebFrame::paintSingleRect):
   21306         * WebFrame.h:
   21307         * WebView.cpp:
   21308         (WebViewWndProc):
   21309         (WebView::initWithFrame):
   21310 
   21311 2006-10-03  Adam Roben  <aroben (a] apple.com>
   21312 
   21313         Reviewed by Darin Adler.
   21314 
   21315         Part of fix for <rdar://problem/4603342>
   21316         Keyboard navigability
   21317 
   21318         Implement methods to determine tabbing preferences.
   21319 
   21320         * WebFrame.cpp:
   21321         (WebFrame::tabsToLinks):
   21322         * WebFrame.h:
   21323 
   21324 2006-10-04  Darin Adler  <darin (a] apple.com>
   21325 
   21326         Reviewed by Adam.
   21327 
   21328         * WebView.cpp: (WebView::handleMouseEvent): Pass message when creating a PlatformMouseEvent.
   21329 
   21330 2006-10-02  Adam Roben  <aroben (a] apple.com>
   21331 
   21332         Backing out change from r10549 because it breaks installer builds.
   21333 
   21334         * WebKit.vcproj/WebKit.vcproj:
   21335 
   21336 2006-10-02  Steve Falkenburg  <sfalken (a] apple.com>
   21337 
   21338         Reviewed by Geoff, Hyatt.
   21339         
   21340         <rdar://4757389> Browser locks up while navigating to a new page
   21341         <rdar://4757407> Images fail to load at https://webmail.apple.com
   21342 
   21343         * WebFrame.cpp: Preserve old document until new doc has started loading.
   21344         (WebFrame::loadDataSource): Don't destroy old document when a new load kicks off.
   21345         (WebFrame::receivedResponse): Destroy old document when first data is received for new doc.
   21346         * WebView.cpp: Fix painting suppression code.
   21347         (WebViewWndProc): Suppress painting, mouse events until first layout instead of while loading.
   21348 
   21349 2006-10-02  Adam Roben  <aroben (a] apple.com>
   21350 
   21351         Build fix: Don't copy WebKit(_debug).dll into $WebKitSDKDir
   21352 
   21353         * WebKit.vcproj/WebKit.vcproj: Remove xcopy call
   21354 
   21355 2006-09-30  Dave Hyatt  <hyatt (a] apple.com>
   21356 
   21357         Switch over from SetDIBBitsToDevice to BitBlt, since BitBlt is supposedly faster according to MSDN.
   21358 
   21359         * WebFrame.cpp:
   21360         (WebFrame::paint):
   21361 
   21362 2006-09-29  Steve Falkenburg  <sfalken (a] apple.com>
   21363 
   21364         Reviewed by Geoff.
   21365 
   21366         Allow WebKit to query for the rect
   21367         of the resizer rather than just its size.
   21368 
   21369         * Interfaces/IWebUIDelegatePrivate.idl:
   21370 
   21371 2006-09-29  Steve Falkenburg  <sfalken (a] apple.com>
   21372 
   21373         Reviewed by Adam, Geoff.
   21374         
   21375         Fix <rdar://4757392>
   21376         Plug-ins flash to white while scrolling.
   21377         
   21378         Set WS_CLIPCHILDREN on browser windows to clip out plug-in HWNDs
   21379         when drawing.
   21380 
   21381         * WebView.cpp:
   21382         (WebView::initWithFrame):
   21383 
   21384 2006-09-29  Dave Hyatt  <hyatt (a] apple.com>
   21385 
   21386         Fix mouse event click handling to be correct.
   21387         
   21388         Reviewed by mjs
   21389 
   21390         * WebView.cpp:
   21391         (WebView::handleMouseEvent):
   21392         (WebViewWndProc):
   21393         * WebView.h:
   21394 
   21395 2006-09-28  Steve Falkenburg  <sfalken (a] apple.com>
   21396 
   21397         Reviewed by Maciej.
   21398 
   21399         Use $(ConfigSuffix) set via vsprops files to add _debug
   21400         to end of debug filenames.
   21401 
   21402         Update B&I build script.
   21403         Don't register WebKit.dll during official builds.
   21404 
   21405         * WebKit.vcproj/Interfaces.vcproj:
   21406         * WebKit.vcproj/WebKit.make:
   21407         * WebKit.vcproj/WebKit.vcproj:
   21408         * WebKit.vcproj/WebKitGUID.vcproj:
   21409         * WebKit.vcproj/WebKit_debug.def: Added.
   21410         * WebKit.vcproj/debug.vsprops: Added.
   21411         * WebKit.vcproj/release.vsprops: Added.
   21412 
   21413 2006-09-27  Alice Liu  <alice.liu (a] apple.com>
   21414 
   21415         Reviewed by Steve & Adam.
   21416 
   21417         This patch implements keyboard selection and select-all.  
   21418         This patch also hooks up engine side of copy/cut/paste but that won't work until we have clipboards.  
   21419 
   21420         * Interfaces/IWebView.idl:
   21421         Added enum for commands to be called by name
   21422         * WebView.cpp:
   21423         next 3 functions handle mouseevents so that multiple-click selection works
   21424         (WebView::mouseMoved):
   21425         (WebView::mouseDown):
   21426         (WebView::mouseUp):
   21427         (WebView::execCommand):
   21428         Handled cut/copy/paste/delete/selectall
   21429         (WebView::keyPress):
   21430         Handled keyboard selection
   21431         (WebViewWndProc):
   21432         * WebView.h:
   21433         Added prototype for execCommand function
   21434 
   21435 2006-09-27  Steve Falkenburg  <sfalken (a] apple.com>
   21436 
   21437         Reviewed by Maciej.
   21438 
   21439         Leave ChickenCat SDK untouched by build.
   21440         
   21441         This change will become necessary once we have JavaScriptCore,
   21442         WebCore, WebKit, and SafariWin in the ChickenCat SDK.
   21443         
   21444         Prefer pulling project dependencies from WebKitOutputDir over
   21445         WebKitSDKDir.  Don't copy build output back over to WebKitSDKDir.
   21446 
   21447         * WebKit.vcproj/WebKit.vcproj:
   21448         * WebKit.vcproj/WebKitGUID.vcproj:
   21449         * WebKit.vcproj/dstroot-to-sdk.cmd: Removed.
   21450 
   21451 2006-09-27  Steve Falkenburg  <sfalken (a] apple.com>
   21452 
   21453         B&I build script tweaks.
   21454 
   21455         * WebKit.vcproj/WebKit.make:
   21456 
   21457 2006-09-27  Brady Eidson  <beidson (a] apple.com>
   21458 
   21459         Reviewed by Steve
   21460 
   21461         -Flipped the icon database back to ON by default as the crasher is resolved in WebCore
   21462         -WebHistoryItems now retain/release their URLs in the Icon DB
   21463         
   21464         * WebHistoryItem.cpp:
   21465         (WebHistoryItem::WebHistoryItem): Make sure the shared icon database has been referenced
   21466         (WebHistoryItem::initFromDictionaryRepresentation): Retain/release the url
   21467         (WebHistoryItem::initWithURLString): Ditto
   21468         
   21469         * WebHistoryItem.h: Keep a static reference to the shared icon database
   21470         
   21471         * WebIconDatabase.cpp:
   21472         (WebIconDatabase::sharedWebIconDatabase): Added - for the shared WebIconDatabase object 
   21473         (WebIconDatabase::sharedIconDatabase): Changed to return the shared WebIconDatabase as the shared IWebIconDatabase
   21474         * WebIconDatabase.h:
   21475         
   21476         * WebPreferences.cpp:
   21477         (WebPreferences::initialize): IconDatabase ON by default
   21478 
   21479 2006-09-27  Steve Falkenburg  <sfalken (a] apple.com>
   21480 
   21481         Reviewed by Adam.
   21482         
   21483         Fix <rdar://problem/4753220>.
   21484         Hang using bugreporter in Boomer.
   21485         
   21486         Force text into simple code path in all cases.
   21487 
   21488         * WebFrame.cpp:
   21489         (FormValuesPropertyBag::GetPropertyInfo):
   21490         * WebPreferences.cpp:
   21491         (WebPreferences::initialize):
   21492 
   21493 2006-09-26  Steve Falkenburg  <sfalken (a] apple.com>
   21494 
   21495         Build fix for clean release build.
   21496 
   21497         * WebKit.vcproj/WebKitGUID.vcproj:
   21498 
   21499 2006-09-27  Brady Eidson  <beidson (a] apple.com>
   21500 
   21501         Disabled WebIconDatabase for now until I can figure out the crash...!
   21502 
   21503         * WebPreferences.cpp:
   21504         (WebPreferences::initialize):
   21505 
   21506 2006-09-26  Steve Falkenburg  <sfalken (a] apple.com>
   21507 
   21508         Build tweaks
   21509 
   21510         * WebKit.vcproj/WebKit.make: Added.
   21511         * WebKit.vcproj/WebKit.vcproj:
   21512 
   21513 2006-09-26  Sean Gies  <seangies (a] apple.com>
   21514 
   21515         Reviewed by Brady Eidson.
   21516 
   21517         * WebFrame.cpp:
   21518         (WebFrame::paint): Flip coordinates of CGBitmapContext.
   21519 
   21520 2006-09-26  Steve Falkenburg  <sfalken (a] apple.com>
   21521 
   21522         Reviewed by Adam Roben.
   21523 
   21524         Fixed encoding menu.
   21525         Set mime type in request.
   21526 
   21527         * WebFrame.cpp:
   21528         (WebFrame::receivedResponse):
   21529         * WebView.cpp:
   21530         (WebView::setCustomTextEncodingName):
   21531 
   21532 2006-09-26  Sean Gies  <seangies (a] apple.com>
   21533 
   21534         Reviewed by Adam Roben.
   21535 
   21536         * WebKit.vcproj/WebKit.vcproj: Link to debug libraries for debug config.
   21537             Copy debug libraries to target dir.  Copy .pdb files along with .dll files.
   21538         * WebKit.vcproj/WebKitGUID.vcproj: Link to Debug DLL C runtime.
   21539 
   21540 2006-09-26  Steve Falkenburg  <sfalken (a] apple.com>
   21541 
   21542         Reviewed by Geoff.
   21543         
   21544         Don't add subframes to global history or back/forward.
   21545 
   21546         * WebFrame.cpp:
   21547         (WebFrame::receivedAllData):
   21548         (WebFrame::createFrame):
   21549 
   21550 2006-09-26  Dave Hyatt  <hyatt (a] apple.com>
   21551 
   21552         Make sure we respond to Windows XP theme changes in the engine.
   21553         
   21554         Reviewed by andersca
   21555 
   21556         * WebView.cpp:
   21557         (WebViewWndProc):
   21558 
   21559 2006-09-25  Steve Falkenburg  <sfalken (a] apple.com>
   21560 
   21561         Add missing parameters to CG paint case.
   21562 
   21563         * WebFrame.cpp:
   21564         (WebFrame::paint):
   21565 
   21566 2006-09-24  Steve Falkenburg  <sfalken (a] apple.com>
   21567 
   21568         Implemented WM_PRINTCLIENT so we can take a screenshot
   21569         of the current webpage for the "Report Bugs to Apple" sheet.
   21570         
   21571         Also may be useful in initial printing hook-up.
   21572 
   21573         * WebFrame.cpp:
   21574         (WebFrame::paint):
   21575         * WebFrame.h:
   21576         * WebView.cpp:
   21577         (WebViewWndProc):
   21578 
   21579 2006-09-22  Steve Falkenburg  <sfalken (a] apple.com>
   21580 
   21581         Reviewed by Ada.
   21582         
   21583         Added IWebUIDelegatePrivate::webViewResizerSize so the engine can
   21584         leave space for the vertical scroll bar.
   21585 
   21586         * Interfaces/IWebUIDelegatePrivate.idl: Added.
   21587         * WebKit.vcproj/Interfaces.vcproj:
   21588         * WebKit.vcproj/WebKit.vcproj:
   21589         * WebKit.vcproj/WebKitGUID.vcproj:
   21590 
   21591 2006-09-22  Alice Liu  <alice.liu (a] apple.com>
   21592 
   21593         Reviewed by Adele.
   21594 
   21595         Windows release build fix 
   21596 
   21597         * WebFrame.cpp:
   21598         (WebFrame::initWithWebFrameView):
   21599 
   21600 2006-09-21  Geoffrey Garen  <ggaren (a] apple.com>
   21601 
   21602         Reviewed by Maciej, Hyatt, Steve.
   21603 
   21604         frames!
   21605         
   21606         Prep work:
   21607             - fixed WebFrame/WebView circular reference leak: ownership now looks like this
   21608               (same as Mac):
   21609                 - WebView -> WebCore::Page -> WebCore::Frame 
   21610                                                     -> WebFrame
   21611                                                     -> WebCore::FrameTree -> WebCore::Frame...
   21612             - fixed notification center circular reference leak: The notification center
   21613               no longer retains its clients; clients must take care to remove themselves
   21614               upon destruction.
   21615 
   21616         Real work:
   21617             - The WebView's onSize handler now updates the frame geometry of the main frame. 
   21618             This used to happen implicitly, since the WebView window and the main frame were
   21619             synonymous.
   21620             
   21621             - Changed WebFrame painting code to use WebCore's FrameView painting code instead
   21622             of rolling its own.
   21623             
   21624             - Removed WebFrame::initWithName from the public COM API and replaced it with
   21625             the private initializer, WebFrame::initWithWebFrameView. We intend to deprecate 
   21626             initWithName on Mac because it's meaningless -- only WebCore should create frames.
   21627         
   21628 2006-09-21  Steve Falkenburg  <sfalken (a] apple.com>
   21629 
   21630         Reviewed by Anders.
   21631         
   21632         <rdar://4516072>
   21633         <rdar://4601320>
   21634         
   21635         Implemented JavaScript alert/confirm/prompt inside app.
   21636         This is done via IWebUIDelegate.
   21637 
   21638         * WebFrame.cpp:
   21639         (WebFrame::userAgent):
   21640         (WebFrame::runJavaScriptAlert):
   21641         (WebFrame::runJavaScriptConfirm):
   21642         (WebFrame::runJavaScriptPrompt):
   21643         * WebFrame.h:
   21644 
   21645 2006-09-21  Sean Gies  <seangies (a] apple.com>
   21646 
   21647         Reviewed by Adam Roben.
   21648 
   21649         Support form controls when rendering with CG. 
   21650         Fix some re-painting issues.
   21651 
   21652         * WebFrame.cpp: (WebFrame::paint):
   21653             Added debug code to flash redrawn area.
   21654             Construct GraphicsContext using DIB HDC, rather than a CGContext.
   21655             Blit offscreen buffer using the dirty rectangle's offset.
   21656 
   21657 2006-09-21  Sean Gies  <seangies (a] apple.com>
   21658 
   21659         Reviewed by Adam Roben.
   21660 
   21661         * WebKit.vcproj/WebKit.vcproj: Link against CoreGraphics.
   21662 
   21663 2006-09-21  Dave Hyatt <hyatt (a] apple.com>
   21664 
   21665         Implement mouse wheel scrolling on Win32.
   21666 
   21667         * WebView.cpp:
   21668         (WebView::mouseWheel):
   21669         (WebViewWndProc):
   21670         * WebView.h:
   21671 
   21672 2006-09-20  Steve Falkenburg  <sfalken (a] apple.com>
   21673 
   21674         Reviewed by Ada Chan.
   21675         
   21676         <rdar://4601547> Character encoding menu/switching
   21677         
   21678         Encoding menu and prefs pop-up are now hooked up and working.
   21679         
   21680         There's currently a problem where the encoding doesn't get
   21681         picked up out of the incoming HTML document out of <meta>, so
   21682         the text encoding menu comes in especially handy at the moment.
   21683 
   21684         * Interfaces/IWebDataSource.idl:
   21685         * WebDataSource.cpp:
   21686         (WebDataSource::WebDataSource):
   21687         (WebDataSource::~WebDataSource):
   21688         (WebDataSource::overrideEncoding):
   21689         (WebDataSource::setOverrideEncoding):
   21690         (WebDataSource::QueryInterface):
   21691         (WebDataSource::textEncodingName):
   21692         * WebDataSource.h:
   21693         * WebFrame.cpp:
   21694         (WebFrame::WebFrame):
   21695         (WebFrame::loadRequest):
   21696         (WebFrame::reloadAllowingStaleDataWithOverrideEncoding):
   21697         (WebFrame::receivedResponse):
   21698         (WebFrame::receivedData):
   21699         (WebFrame::receivedAllData):
   21700         * WebFrame.h:
   21701         * WebKit.vcproj/WebKitGUID.vcproj:
   21702         * WebMutableURLRequest.cpp:
   21703         (WebMutableURLRequest::WebMutableURLRequest):
   21704         (WebMutableURLRequest::setCachePolicy):
   21705         * WebMutableURLRequest.h:
   21706         * WebURLResponse.cpp:
   21707         (WebURLResponse::textEncodingName):
   21708         * WebView.cpp:
   21709         (WebView::WebView):
   21710         (WebView::supportsTextEncoding):
   21711         (WebView::setCustomTextEncodingName):
   21712         (WebView::customTextEncodingName):
   21713         * WebView.h:
   21714 
   21715 2006-09-20  Brady Eidson  <beidson (a] apple.com>
   21716 
   21717         Reviewed by Steve
   21718 
   21719         Hooked up the preference for enabled/disabling the icon database
   21720         
   21721         * Interfaces/IWebPreferences.idl:
   21722         * WebIconDatabase.cpp:
   21723         (WebIconDatabase::init):
   21724         * WebPreferenceKeysPrivate.h:
   21725         * WebPreferences.cpp:
   21726         (WebPreferences::initialize):
   21727         (WebPreferences::iconDatabaseEnabled):
   21728         (WebPreferences::setIconDatabaseEnabled):
   21729         * WebPreferences.h:
   21730 
   21731 2006-09-20  Brady Eidson  <beidson (a] apple.com>
   21732 
   21733         Reviewed by Adam
   21734         
   21735         Removed an overzealous assertion that was made irrelevant by an earlier checking to WebCore::IconDatabase
   21736 
   21737         * WebIconDatabase.cpp:
   21738         (WebIconDatabase::init):
   21739 
   21740 2006-09-18  Sean Gies  <seangies (a] apple.com>
   21741 
   21742         Reviewed by Adam Roben.
   21743 
   21744         * WebKit.vcproj/WebKit.vcproj:  Link to CoreGraphics and copy its binaries to output dir.
   21745 
   21746 2006-09-18  Adam Roben  <aroben (a] apple.com>
   21747 
   21748         Build fix (release).
   21749 
   21750         * WebHistory.cpp:
   21751         (_WebCoreHistoryProvider::containsItemForURLLatin1): Remove unused HRESULT.
   21752         (_WebCoreHistoryProvider::containsItemForURLUnicode): Ditto.
   21753 
   21754 2006-09-17  Adam Roben  <aroben (a] apple.com>
   21755 
   21756         Build fix.
   21757 
   21758         * WebView.cpp:
   21759         (WebView::keyPress): Add new "userTriggered" argument to calls to
   21760         SelectionController::modify
   21761 
   21762 2006-09-15  Adam Roben  <aroben (a] apple.com>
   21763 
   21764         Reviewed by sfalken.
   21765 
   21766         Implement historyContains() on Windows (rdar://4733770)
   21767 
   21768         * WebHistory.cpp: Add new private _WebCoreHistoryProvider class.
   21769         (WebHistory::setOptionalSharedHistory): Call
   21770         WebCore::WebCoreHistory::setHistoryProvider so that WebCore can access
   21771         history.
   21772         (WebHistory::itemForURL): Extract itemForURLString method.
   21773         (WebHistory::itemForURLString): Added.
   21774         (WebHistory::containsItemForURLString): Added.
   21775         (_WebCoreHistoryProvider::_WebCoreHistoryProvider): Added.
   21776         (_WebCoreHistoryProvider::~_WebCoreHistoryProvider): Added.
   21777         (matchLetter): Ported from Mac's WebHistory.m.
   21778         (matchUnicodeLetter): Ditto.
   21779         (_WebCoreHistoryProvider::containsItemForURLLatin1): Ditto.
   21780         (_WebCoreHistoryProvider::containsItemForURLUnicode): Ditto.
   21781         * WebHistory.h: Fix typo: IID_WebHistoryItemPrivate -->
   21782         IID_WebHistoryPrivate, added new methods to IWebHistoryPrivate and
   21783         WebHistory
   21784 
   21785 2006-09-14  Steve Falkenburg  <sfalken (a] apple.com>
   21786 
   21787         Reviewed by Lou Amadio.
   21788 
   21789         iBench fix - fix null deref in form submission case without a form element.
   21790 
   21791         * WebFrame.cpp:
   21792         (WebFrame::submitForm):
   21793 
   21794 2006-09-12  Steve Falkenburg  <sfalken (a] apple.com>
   21795 
   21796         Get Boomer ready for B&I submission.
   21797       
   21798         Projects can now all build independent of one another
   21799         without groping for headers or source across trees.
   21800 
   21801         * DOMCSSClasses.cpp: Use more explicit include paths to highlight external headers.
   21802         * DOMCSSClasses.h: Use more explicit include paths to highlight external headers.
   21803         * DOMCoreClasses.cpp: Use more explicit include paths to highlight external headers.
   21804         * DOMHTMLClasses.cpp: Use more explicit include paths to highlight external headers.
   21805         * WebDataSource.cpp: Use more explicit include paths to highlight external headers.
   21806         * WebFrame.cpp: Use more explicit include paths to highlight external headers.
   21807         * WebFrame.h: Use more explicit include paths to highlight external headers.
   21808         * WebHTMLRepresentation.cpp: Use more explicit include paths to highlight external headers.
   21809         * WebHistory.cpp: Fix capitalization of wtf.
   21810         * WebKit.vcproj/Interfaces.vcproj: Updated to new obj layout.
   21811         * WebKit.vcproj/WebKit.sln: Updated standalone sln for use by B&I.
   21812         * WebKit.vcproj/WebKit.vcproj: Updated to new obj layout.
   21813         * WebKit.vcproj/WebKitGUID.vcproj: Updated to new obj layout.
   21814         * WebKit.vcproj/dstroot-to-sdk.cmd: Copy built bits back to WebKitSDKDir for dependent builds.
   21815         * WebKitDLL.cpp: Use more explicit include paths to highlight external headers.
   21816         * WebNotificationCenter.cpp: Use more explicit include paths to highlight external headers.
   21817         * WebPreferences.cpp: Fix capitalization of wtf.
   21818         * WebURLResponse.cpp: Use more explicit include paths to highlight external headers.
   21819         * WebURLResponse.h: Use more explicit include paths to highlight external headers.
   21820         * WebView.cpp: Use more explicit include paths to highlight external headers.
   21821 
   21822 2006-09-13  Ada Chan  <adachan (a] apple.com>
   21823 
   21824         Reviewed by sfalken
   21825         
   21826         - WebBackForwardList::containsItem()
   21827             - we can break once we've found the item
   21828         - Fixed a crashing bug with WebNotificationCenter::addObserver.
   21829 
   21830         * WebBackForwardList.cpp:
   21831         (WebBackForwardList::containsItem):
   21832         * WebNotificationCenter.cpp:
   21833         (ObserverKey::ObserverKey):
   21834         (ObserverKey::operator=):
   21835 
   21836 2006-09-10  Brady Eidson  <beidson (a] apple.com>
   21837 
   21838         Reviewed by Steve Falkenburg
   21839         
   21840         Made changes to IWebIconDatabase and implemented it in WebIconDatabase
   21841         
   21842         * Interfaces/IWebIconDatabase.idl:  Returns HBITMAPs, not IWebImages
   21843         * WebIconDatabase.cpp:
   21844         (WebIconDatabase::WebIconDatabase): 
   21845         (userIconDatabasePath): Get the user's datapath via a shell call
   21846         (WebIconDatabase::init): Initialize the WebCore::IconDatabase
   21847         (WebIconDatabase::sharedIconDatabase): Get the shared IWebIconDatabase
   21848         (WebIconDatabase::iconForURL): Implemented
   21849         (WebIconDatabase::defaultIconWithSize): Ditto
   21850         (WebIconDatabase::retainIconForURL): Ditto
   21851         (WebIconDatabase::releaseIconForURL): Ditto
   21852         (createDIB): Created a DIB of a given size for storage in a hash
   21853         (WebIconDatabase::getOrCreateSharedBitmap): Get a "shared" bitmap from the hash, or create and store it
   21854         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto for the Default Icons HBITMAPs
   21855         * WebIconDatabase.h: 
   21856         * WebKit.vcproj/WebKit.vcproj: 
   21857 
   21858 2006-09-10  Steve Falkenburg  <sfalken (a] apple.com>
   21859 
   21860         Rubber-stamp by aroben.
   21861         
   21862         Pick up SDK from $(WebKitSDKDir).
   21863 
   21864         * WebKit.vcproj/WebKit.vcproj:
   21865 
   21866 2006-09-09  Steve Falkenburg  <sfalken (a] apple.com>
   21867 
   21868         Reviewed by aroben.
   21869 
   21870         Boomer SDK migration.  Pull all external dependencies in from Boomer SDK.
   21871         
   21872         SDK should be installed into C:\AppleInternal
   21873         (substitute your system drive letter for C - scripts don't hard-code the drive letter)
   21874         
   21875         Also fixed CFNetwork build variant
   21876 
   21877         * WebKit.vcproj/WebKit.vcproj:
   21878         * WebKit.vcproj/WebKitGUID.vcproj:
   21879         * WebURLResponse.cpp:
   21880         (WebURLResponse::createInstance):
   21881 
   21882 2006-09-08  Brady Eidson  <beidson (a] apple.com>
   21883 
   21884         Reviewed by Adam
   21885 
   21886         Add stubs for an IconDatabase path stored as a preference
   21887         
   21888         * Interfaces/IWebPreferences.idl:
   21889         * WebPreferences.cpp:
   21890         (WebPreferences::iconDatabaseLocation):
   21891         (WebPreferences::setIconDatabaseLocation):
   21892         * WebPreferences.h:
   21893 
   21894 2006-09-07  Steve Falkenburg  <sfalken (a] apple.com>
   21895 
   21896         Reviewed by Lou Amadio.
   21897         
   21898         Fix CFArray allocator usage for cases where we store CF types in the array.
   21899 
   21900         * WebHistory.cpp:
   21901         (WebHistory::WebHistory):
   21902         (WebHistory::datesArray):
   21903 
   21904 2006-09-06  Brady Eidson  <beidson (a] apple.com>
   21905 
   21906         Reviewed by Steve and Sarge
   21907 
   21908         Added urlIcon.png as a resource for WebCore images
   21909 
   21910         * WebKit.vcproj/WebKit.rc:
   21911         * WebKit.vcproj/resource.h:
   21912         * WebKit.vcproj/urlIcon.png: Added.
   21913         * WebKitDLL.cpp:
   21914         (loadResourceIntoArray): Added case for "urlIcon"
   21915 
   21916 2006-09-06  Adam Roben  <aroben (a] apple.com>
   21917 
   21918         Reviewed by Darin Adler.
   21919 
   21920         Fixed various Windows build problems caused by previous checkins.
   21921 
   21922         * WebKitDLL.h: Disable deprecation warning triggered by using std::copy on a Vector.
   21923         * WebView.cpp:
   21924         (WebView::keyPress): Rename selection to selectionController.
   21925 
   21926 2006-09-05  Steve Falkenburg  <sfalken (a] apple.com>
   21927 
   21928         Reviewed by Lou Amadio.
   21929 
   21930         File Open/Save <rdar://4601527>
   21931         Implemened Save As to save raw page source (we don't support web archives).
   21932         
   21933         Currently we are saving a copy of the raw data in the FrameView (to
   21934         return when requested via IWebDataSource::data).  This needs to be
   21935         shared with CFNetwork once CFNetwork integration is complete.
   21936 
   21937         * MemoryStream.cpp: Added.
   21938         (MemoryStream::MemoryStream):
   21939         (MemoryStream::~MemoryStream):
   21940         (MemoryStream::createInstance):
   21941         (MemoryStream::QueryInterface):
   21942         (MemoryStream::AddRef):
   21943         (MemoryStream::Release):
   21944         (MemoryStream::Read):
   21945         (MemoryStream::Write):
   21946         (MemoryStream::Seek):
   21947         (MemoryStream::SetSize):
   21948         (MemoryStream::CopyTo):
   21949         (MemoryStream::Commit):
   21950         (MemoryStream::Revert):
   21951         (MemoryStream::LockRegion):
   21952         (MemoryStream::UnlockRegion):
   21953         (MemoryStream::Stat):
   21954         (MemoryStream::Clone):
   21955         * MemoryStream.h: Added.
   21956         * WebDataSource.cpp:
   21957         (WebDataSource::data):
   21958         * WebFrame.cpp:
   21959         (WebFrame::controlsInForm):
   21960         (WebFrame::canProvideDocumentSource):
   21961         (WebFrame::receivedResponse):
   21962         (WebFrame::receivedData):
   21963         * WebFrame.h:
   21964         (WebFrame::data):
   21965         * WebHTMLRepresentation.cpp:
   21966         (WebHTMLRepresentation::canProvideDocumentSource):
   21967         * WebKit.vcproj/WebKit.vcproj:
   21968         * WebURLResponse.cpp:
   21969         (WebURLResponse::createInstance):
   21970         (WebURLResponse::suggestedFilename):
   21971         (WebURLResponse::suggestedFileExtension):
   21972         * WebURLResponse.h:
   21973 
   21974 2006-09-01  Steve Falkenburg  <sfalken (a] apple.com>
   21975 
   21976         Reviewed by adachan.
   21977 
   21978         Process redirects received in networking layer through to application.
   21979         With this change, the address bar url edit field shows the proper
   21980         redirected URL.
   21981 
   21982         Fixed GetAsyncKeyState() calls.
   21983 
   21984         * WebFrame.cpp:
   21985         (WebFrame::receivedRedirect):
   21986         * WebMutableURLRequest.cpp:
   21987         (WebMutableURLRequest::setURL):
   21988 
   21989 2006-09-01  Steve Falkenburg  <sfalken (a] apple.com>
   21990 
   21991         Reviewed by kevin.
   21992         
   21993         Fix back/forward regression.
   21994         
   21995         Combining the two receivedAllData methods into one broke back/forward navigation,
   21996         since we put the resetting of m_quickRedirectComing and m_loadType at the start
   21997         of the combined method, but have code in the rest of receivedAllData that
   21998         relies on these having their old values.
   21999 
   22000         * WebFrame.cpp:
   22001         (WebFrame::receivedAllData):
   22002 
   22003 2006-08-30  Steve Falkenburg  <sfalken (a] apple.com>
   22004 
   22005         Reviewed by Ada Chan.
   22006 
   22007         Forms Auto-complete checkpoint.
   22008         Generic forms autocomplete drop-downs are now functional.
   22009         Address book autocomplete (and credit card autocomplete) is not functional.
   22010         
   22011         To do:
   22012         - username/password pairs autofill
   22013         - address book autofill
   22014         - single-click autofill
   22015         - credit card autofill
   22016         - keychain equivalent secure store for username/passwords and credit cards
   22017           (we currently use DPAPI to encrypt the form values plist but will want to
   22018            protect this more sensitive info using an additional user supplied password)
   22019 
   22020         DOMCoreClasses.cpp,.h:
   22021         Fix typo in DOMNode::QueryInterface.
   22022         Add IDOMViewCSS.
   22023         Additional DOMDocument implementation.
   22024         Add IDOMNodeExtensions, IDOMElementCSSInlineStyle, IDOMElementExtensions.
   22025         
   22026         DOMCSSClasses.h:
   22027         Added.
   22028         
   22029         DOMHTMLClasses.cpp,.h:
   22030         Additional implementation.
   22031         
   22032         WebFrame.cpp,.h:
   22033         Added IWebFormSubmissionListener.
   22034         Additional implementation.
   22035         
   22036         DOMPrivate.idl:
   22037         Added.
   22038         
   22039         DOMCore.idl:
   22040         Add IDOMElementCSSInlineStyle
   22041         Add IDOMElementExtensions
   22042         
   22043         DOMExtensions.idl:
   22044         Added
   22045         
   22046         IWebFormDelegate.idl:
   22047         Fix typos.
   22048         
   22049         DOMCSS.idl:
   22050         Added IDOMViewCSS.
   22051         
   22052         DOMHTML.idl:
   22053         Add selectionStart, selectionEnd.
   22054         
   22055         DOMCSSClasses.cpp:
   22056         Added.
   22057         
   22058         WebKitGUID.vcproj:
   22059         Added DOMExtensions_i.c, DOMPrivate_i.c.
   22060         
   22061         Interfaces.vcproj:
   22062         Added DOMExtensions.idl, DOMPrivate.idl.
   22063         
   22064         WebKit.vcproj:
   22065         Added DOMCSSClasses.cpp.
   22066         
   22067         WebHTMLRepresentation.cpp:
   22068         Implemented elementIsPassword, controlsInForm.
   22069         
   22070         * DOMCSSClasses.cpp: Added.
   22071         (DOMCSSStyleDeclaration::DOMCSSStyleDeclaration):
   22072         (DOMCSSStyleDeclaration::~DOMCSSStyleDeclaration):
   22073         (DOMCSSStyleDeclaration::createInstance):
   22074         (DOMCSSStyleDeclaration::QueryInterface):
   22075         (DOMCSSStyleDeclaration::cssText):
   22076         (DOMCSSStyleDeclaration::setCssText):
   22077         (DOMCSSStyleDeclaration::getPropertyValue):
   22078         (DOMCSSStyleDeclaration::getPropertyCSSValue):
   22079         (DOMCSSStyleDeclaration::removeProperty):
   22080         (DOMCSSStyleDeclaration::getPropertyPriority):
   22081         (DOMCSSStyleDeclaration::setProperty):
   22082         (DOMCSSStyleDeclaration::length):
   22083         (DOMCSSStyleDeclaration::item):
   22084         (DOMCSSStyleDeclaration::parentRule):
   22085         * DOMCSSClasses.h: Added.
   22086         (DOMCSSStyleDeclaration::AddRef):
   22087         (DOMCSSStyleDeclaration::Release):
   22088         (DOMCSSStyleDeclaration::throwException):
   22089         (DOMCSSStyleDeclaration::callWebScriptMethod):
   22090         (DOMCSSStyleDeclaration::evaluateWebScript):
   22091         (DOMCSSStyleDeclaration::removeWebScriptKey):
   22092         (DOMCSSStyleDeclaration::stringRepresentation):
   22093         (DOMCSSStyleDeclaration::webScriptValueAtIndex):
   22094         (DOMCSSStyleDeclaration::setWebScriptValueAtIndex):
   22095         (DOMCSSStyleDeclaration::setException):
   22096         * DOMCoreClasses.cpp:
   22097         (DOMNode::QueryInterface):
   22098         (DOMDocument::QueryInterface):
   22099         (DOMDocument::getElementsByTagNameNS):
   22100         (DOMDocument::getComputedStyle):
   22101         (DOMDocument::DOMDocument):
   22102         (DOMDocument::~DOMDocument):
   22103         (DOMDocument::createInstance):
   22104         (DOMElement::QueryInterface):
   22105         (DOMElement::lineBoxRects):
   22106         (DOMElement::focus):
   22107         (DOMElement::blur):
   22108         (DOMElement::style):
   22109         (DOMElement::offsetLeft):
   22110         (DOMElement::offsetTop):
   22111         (DOMElement::offsetWidth):
   22112         (DOMElement::offsetHeight):
   22113         (DOMElement::offsetParent):
   22114         (DOMElement::clientWidth):
   22115         (DOMElement::clientHeight):
   22116         (DOMElement::scrollLeft):
   22117         (DOMElement::setScrollLeft):
   22118         (DOMElement::scrollTop):
   22119         (DOMElement::setScrollTop):
   22120         (DOMElement::scrollWidth):
   22121         (DOMElement::scrollHeight):
   22122         (DOMElement::scrollIntoView):
   22123         (DOMElement::scrollIntoViewIfNeeded):
   22124         * DOMCoreClasses.h:
   22125         (DOMDocument::AddRef):
   22126         (DOMDocument::Release):
   22127         (DOMDocument::document):
   22128         * DOMHTMLClasses.cpp:
   22129         (DOMHTMLSelectElement::QueryInterface):
   22130         (DOMHTMLSelectElement::activateItemAtIndex):
   22131         (DOMHTMLInputElement::QueryInterface):
   22132         (DOMHTMLInputElement::disabled):
   22133         (DOMHTMLInputElement::setValue):
   22134         (DOMHTMLInputElement::select):
   22135         (DOMHTMLInputElement::click):
   22136         (DOMHTMLInputElement::setSelectionStart):
   22137         (DOMHTMLInputElement::selectionStart):
   22138         (DOMHTMLInputElement::setSelectionEnd):
   22139         (DOMHTMLInputElement::selectionEnd):
   22140         (DOMHTMLInputElement::isTextField):
   22141         (DOMHTMLInputElement::rectOnScreen):
   22142         (DOMHTMLInputElement::replaceCharactersInRange):
   22143         (DOMHTMLInputElement::selectedRange):
   22144         (DOMHTMLInputElement::setAutofilled):
   22145         * DOMHTMLClasses.h:
   22146         (DOMHTMLDocument::DOMHTMLDocument):
   22147         (DOMHTMLDocument::doctype):
   22148         (DOMHTMLDocument::implementation):
   22149         (DOMHTMLDocument::documentElement):
   22150         (DOMHTMLDocument::createElement):
   22151         (DOMHTMLDocument::createDocumentFragment):
   22152         (DOMHTMLDocument::createTextNode):
   22153         (DOMHTMLDocument::createComment):
   22154         (DOMHTMLDocument::createCDATASection):
   22155         (DOMHTMLDocument::createProcessingInstruction):
   22156         (DOMHTMLDocument::createAttribute):
   22157         (DOMHTMLDocument::createEntityReference):
   22158         (DOMHTMLDocument::getElementsByTagName):
   22159         (DOMHTMLDocument::importNode):
   22160         (DOMHTMLDocument::createElementNS):
   22161         (DOMHTMLDocument::createAttributeNS):
   22162         (DOMHTMLDocument::getElementsByTagNameNS):
   22163         (DOMHTMLDocument::getElementById):
   22164         (DOMHTMLElement::focus):
   22165         (DOMHTMLElement::blur):
   22166         (DOMHTMLFormElement::focus):
   22167         (DOMHTMLFormElement::blur):
   22168         (DOMHTMLSelectElement::focus):
   22169         (DOMHTMLSelectElement::blur):
   22170         (DOMHTMLOptionElement::focus):
   22171         (DOMHTMLOptionElement::blur):
   22172         (DOMHTMLInputElement::focus):
   22173         (DOMHTMLInputElement::blur):
   22174         (DOMHTMLTextAreaElement::focus):
   22175         (DOMHTMLTextAreaElement::blur):
   22176         * Interfaces/DOMCSS.idl:
   22177         * Interfaces/DOMCore.idl:
   22178         * Interfaces/DOMExtensions.idl: Added.
   22179         * Interfaces/DOMHTML.idl:
   22180         * Interfaces/DOMPrivate.idl: Added.
   22181         * Interfaces/IWebFormDelegate.idl:
   22182         * WebFrame.cpp:
   22183         (FormValuesPropertyBag::FormValuesPropertyBag):
   22184         (FormValuesPropertyBag::QueryInterface):
   22185         (FormValuesPropertyBag::AddRef):
   22186         (FormValuesPropertyBag::Release):
   22187         (FormValuesPropertyBag::Read):
   22188         (FormValuesPropertyBag::Write):
   22189         (FormValuesPropertyBag::CountProperties):
   22190         (FormValuesPropertyBag::GetPropertyInfo):
   22191         (FormValuesPropertyBag::LoadObject):
   22192         (WebFrame::WebFrame):
   22193         (WebFrame::QueryInterface):
   22194         (WebFrame::DOMDocument):
   22195         (WebFrame::continueSubmit):
   22196         (WebFrame::elementWithName):
   22197         (WebFrame::formForElement):
   22198         (WebFrame::elementDoesAutoComplete):
   22199         (WebFrame::controlsInForm):
   22200         (WebFrame::elementIsPassword):
   22201         (WebFrame::submitForm):
   22202         (WebFrame::doTextFieldCommandFromEvent):
   22203         (WebFrame::textWillBeDeletedInTextField):
   22204         (WebFrame::textDidChangeInTextArea):
   22205         * WebFrame.h:
   22206         * WebHTMLRepresentation.cpp:
   22207         (WebHTMLRepresentation::elementIsPassword):
   22208         (WebHTMLRepresentation::controlsInForm):
   22209         * WebKit.vcproj/Interfaces.vcproj:
   22210         * WebKit.vcproj/WebKit.vcproj:
   22211         * WebKit.vcproj/WebKitGUID.vcproj:
   22212 
   22213 2006-08-29  Anders Carlsson  <acarlsson (a] apple.com>
   22214 
   22215         Reviewed by Ada.
   22216 
   22217         * WebKitDLL.cpp:
   22218         (DllMain):
   22219         Set the global instance handle.
   22220 
   22221 2006-08-28  Ada Chan  <adachan (a] apple.com>
   22222 
   22223         Reviewed by sfalken.
   22224         
   22225         Free a malloc'ed string in an error condition.
   22226 
   22227         * MarshallingHelpers.cpp:
   22228         (MarshallingHelpers::BSTRToCFStringRef):
   22229 
   22230 2006-08-25  David Hyatt  <hyatt (a] apple.com>
   22231 
   22232         Add code path for doing painting of a WebFrame using CG.
   22233 
   22234         * WebFrame.cpp:
   22235         (WebFrame::paint):
   22236 
   22237 2006-08-24  Steve Falkenburg  <sfalken (a] apple.com>
   22238 
   22239         Reviewed by Ada Chan.
   22240         
   22241         Forms autocomplete checkpoint
   22242         
   22243         DOMCoreClasses.cpp/.h
   22244         Add missing DOMNode methods
   22245         Add IDOMElementPrivate
   22246         Implement DOMElement::boundingBox
   22247         Implement DOMElement::getAttribute
   22248 
   22249         DOMHTMLClasses.cpp
   22250         Implemented DOMHTMLInputElement::value
   22251 
   22252         IWebViewPrivate.idl
   22253         WebView.cpp/.h
   22254         Added IWebViewPrivate::scrollOffset
   22255 
   22256         IWebHTMLRepresentation.idl
   22257         WebHTMLRepresentation.cpp/.h
   22258         WebKitGUID.vcproj
   22259         Interfaces.vcproj
   22260         WebKit.vcproj
   22261         Added IWebHTMLRepresentation
   22262 
   22263         WebDataSource.cpp/.h
   22264         Implemented WebDataSource::representation
   22265 
   22266         IWebFrame.idl
   22267         WebFrame.cpp/.h
   22268         Fixed typos in some methods
   22269         Add additional methods to support representation
   22270 
   22271         DOMCore.idl
   22272         Add missing methods
   22273         Add IDOMElementPrivate
   22274         
   22275         * DOMCoreClasses.cpp:
   22276         (DOMNode::isSameNode):
   22277         (DOMNode::isEqualNode):
   22278         (DOMNode::textContent):
   22279         (DOMNode::setTextContent):
   22280         (DOMNode::boundingBox):
   22281         (DOMNode::lineBoxRects):
   22282         (DOMElement::QueryInterface):
   22283         (DOMElement::boundingBox):
   22284         (DOMElement::getAttribute):
   22285         (DOMElement::coreElement):
   22286         (DOMElement::isEqual):
   22287         * DOMCoreClasses.h:
   22288         (DOMDocument::isSameNode):
   22289         (DOMDocument::isEqualNode):
   22290         (DOMDocument::textContent):
   22291         (DOMDocument::setTextContent):
   22292         (DOMDocument::boundingBox):
   22293         (DOMDocument::lineBoxRects):
   22294         (DOMElement::isSameNode):
   22295         (DOMElement::isEqualNode):
   22296         (DOMElement::textContent):
   22297         (DOMElement::setTextContent):
   22298         (DOMElement::lineBoxRects):
   22299         (DOMElement::element):
   22300         * DOMHTMLClasses.cpp:
   22301         (DOMHTMLInputElement::value):
   22302         * DOMHTMLClasses.h:
   22303         (DOMHTMLDocument::isSameNode):
   22304         (DOMHTMLDocument::isEqualNode):
   22305         (DOMHTMLDocument::textContent):
   22306         (DOMHTMLDocument::setTextContent):
   22307         (DOMHTMLDocument::boundingBox):
   22308         (DOMHTMLDocument::lineBoxRects):
   22309         (DOMHTMLElement::isSameNode):
   22310         (DOMHTMLElement::isEqualNode):
   22311         (DOMHTMLElement::textContent):
   22312         (DOMHTMLElement::setTextContent):
   22313         (DOMHTMLElement::boundingBox):
   22314         (DOMHTMLElement::lineBoxRects):
   22315         (DOMHTMLFormElement::isSameNode):
   22316         (DOMHTMLFormElement::isEqualNode):
   22317         (DOMHTMLFormElement::textContent):
   22318         (DOMHTMLFormElement::setTextContent):
   22319         (DOMHTMLFormElement::boundingBox):
   22320         (DOMHTMLFormElement::lineBoxRects):
   22321         (DOMHTMLSelectElement::isSameNode):
   22322         (DOMHTMLSelectElement::isEqualNode):
   22323         (DOMHTMLSelectElement::textContent):
   22324         (DOMHTMLSelectElement::setTextContent):
   22325         (DOMHTMLSelectElement::boundingBox):
   22326         (DOMHTMLSelectElement::lineBoxRects):
   22327         (DOMHTMLOptionElement::isSameNode):
   22328         (DOMHTMLOptionElement::isEqualNode):
   22329         (DOMHTMLOptionElement::textContent):
   22330         (DOMHTMLOptionElement::setTextContent):
   22331         (DOMHTMLOptionElement::boundingBox):
   22332         (DOMHTMLOptionElement::lineBoxRects):
   22333         (DOMHTMLInputElement::isSameNode):
   22334         (DOMHTMLInputElement::isEqualNode):
   22335         (DOMHTMLInputElement::textContent):
   22336         (DOMHTMLInputElement::setTextContent):
   22337         (DOMHTMLInputElement::boundingBox):
   22338         (DOMHTMLInputElement::lineBoxRects):
   22339         (DOMHTMLTextAreaElement::isSameNode):
   22340         (DOMHTMLTextAreaElement::isEqualNode):
   22341         (DOMHTMLTextAreaElement::textContent):
   22342         (DOMHTMLTextAreaElement::setTextContent):
   22343         (DOMHTMLTextAreaElement::boundingBox):
   22344         (DOMHTMLTextAreaElement::lineBoxRects):
   22345         * Interfaces/DOMCore.idl:
   22346         * Interfaces/IWebFrame.idl:
   22347         * Interfaces/IWebHTMLRepresentation.idl: Added.
   22348         * Interfaces/IWebViewPrivate.idl:
   22349         * WebDataSource.cpp:
   22350         (WebDataSource::WebDataSource):
   22351         (WebDataSource::~WebDataSource):
   22352         (WebDataSource::createInstance):
   22353         (WebDataSource::initWithRequest):
   22354         (WebDataSource::representation):
   22355         (WebDataSource::webFrame):
   22356         * WebDataSource.h:
   22357         * WebFrame.cpp:
   22358         (formElementFromDOMElement):
   22359         (inputElementFromDOMElement):
   22360         (WebFrame::webView):
   22361         (WebFrame::frameView):
   22362         (WebFrame::frameElement):
   22363         (WebFrame::elementWithName):
   22364         (WebFrame::formForElement):
   22365         (WebFrame::elementDoesAutoComplete):
   22366         * WebFrame.h:
   22367         * WebHTMLRepresentation.cpp: Added.
   22368         (WebHTMLRepresentation::WebHTMLRepresentation):
   22369         (WebHTMLRepresentation::~WebHTMLRepresentation):
   22370         (WebHTMLRepresentation::createInstance):
   22371         (WebHTMLRepresentation::QueryInterface):
   22372         (WebHTMLRepresentation::AddRef):
   22373         (WebHTMLRepresentation::Release):
   22374         (WebHTMLRepresentation::supportedMIMETypes):
   22375         (WebHTMLRepresentation::supportedNonImageMIMETypes):
   22376         (WebHTMLRepresentation::supportedImageMIMETypes):
   22377         (WebHTMLRepresentation::attributedStringFromDOMNodes):
   22378         (WebHTMLRepresentation::elementWithName):
   22379         (WebHTMLRepresentation::elementDoesAutoComplete):
   22380         (WebHTMLRepresentation::elementIsPassword):
   22381         (WebHTMLRepresentation::formForElement):
   22382         (WebHTMLRepresentation::currentForm):
   22383         (WebHTMLRepresentation::controlsInForm):
   22384         (WebHTMLRepresentation::searchForLabels):
   22385         (WebHTMLRepresentation::matchLabels):
   22386         (WebHTMLRepresentation::setDataSource):
   22387         (WebHTMLRepresentation::receivedData):
   22388         (WebHTMLRepresentation::receivedError):
   22389         (WebHTMLRepresentation::finishedLoadingWithDataSource):
   22390         (WebHTMLRepresentation::canProvideDocumentSource):
   22391         (WebHTMLRepresentation::documentSource):
   22392         (WebHTMLRepresentation::title):
   22393         * WebHTMLRepresentation.h: Added.
   22394         * WebKit.vcproj/Interfaces.vcproj:
   22395         * WebKit.vcproj/WebKit.vcproj:
   22396         * WebKit.vcproj/WebKitGUID.vcproj:
   22397         * WebView.cpp:
   22398         (WebView::scrollOffset):
   22399         * WebView.h:
   22400 
   22401 2006-08-23  Ada Chan  <adachan (a] apple.com>
   22402 
   22403         Reviewed by sfalken.
   22404 
   22405         Fixed WebHistory::removeItem() to actually remove the item from history.
   22406         
   22407         * WebHistory.cpp:
   22408         (WebHistory::removeItem):
   22409 
   22410 2006-08-22  Steve Falkenburg  <sfalken (a] apple.com>
   22411 
   22412         Reviewed by Lou Amadio.
   22413         
   22414         Interface changes/additions in preparation for forms autofill.
   22415         
   22416         IWebView.idl
   22417         WebView.cpp/.h
   22418         Added missing methods.
   22419 
   22420         IWebViewPrivate.idl
   22421         Added calls to set/get FrameLoadDelegatePrivate
   22422 
   22423         IWebScriptObject.idl
   22424         Fixed typo
   22425 
   22426         DOMHTML.idl
   22427         WebScriptObject.cpp/.h
   22428         DOMCoreClasses.cpp/.h
   22429         DOMHTMLClasses.cpp/.h
   22430         WebKit.vcproj
   22431         Added additional DOM interfaces
   22432 
   22433         WebFrame.cpp/.h
   22434         Fix key handling typo.
   22435         Bridge IWebFormDelegate calls.
   22436         Bridge IWebFrameLoadDelegatePrivate calls.
   22437 
   22438         TemporaryLinkStubs.cpp
   22439         Removed handledOnloadEvents (now implemented).
   22440 
   22441         FrameWin.cpp/.h
   22442         Bridge IWebFrameLoadDelegatePrivate calls.
   22443 
   22444         * DOMCoreClasses.cpp: Added.
   22445         (DOMObject::QueryInterface):
   22446         (DOMNode::QueryInterface):
   22447         (DOMNode::nodeName):
   22448         (DOMNode::nodeValue):
   22449         (DOMNode::setNodeValue):
   22450         (DOMNode::nodeType):
   22451         (DOMNode::parentNode):
   22452         (DOMNode::childNodes):
   22453         (DOMNode::firstChild):
   22454         (DOMNode::lastChild):
   22455         (DOMNode::previousSibling):
   22456         (DOMNode::nextSibling):
   22457         (DOMNode::attributes):
   22458         (DOMNode::ownerDocument):
   22459         (DOMNode::insertBefore):
   22460         (DOMNode::replaceChild):
   22461         (DOMNode::removeChild):
   22462         (DOMNode::appendChild):
   22463         (DOMNode::hasChildNodes):
   22464         (DOMNode::cloneNode):
   22465         (DOMNode::normalize):
   22466         (DOMNode::isSupported):
   22467         (DOMNode::namespaceURI):
   22468         (DOMNode::prefix):
   22469         (DOMNode::setPrefix):
   22470         (DOMNode::localName):
   22471         (DOMNode::hasAttributes):
   22472         (DOMDocument::QueryInterface):
   22473         (DOMDocument::doctype):
   22474         (DOMDocument::implementation):
   22475         (DOMDocument::documentElement):
   22476         (DOMDocument::createElement):
   22477         (DOMDocument::createDocumentFragment):
   22478         (DOMDocument::createTextNode):
   22479         (DOMDocument::createComment):
   22480         (DOMDocument::createCDATASection):
   22481         (DOMDocument::createProcessingInstruction):
   22482         (DOMDocument::createAttribute):
   22483         (DOMDocument::createEntityReference):
   22484         (DOMDocument::getElementsByTagName):
   22485         (DOMDocument::importNode):
   22486         (DOMDocument::createElementNS):
   22487         (DOMDocument::createAttributeNS):
   22488         (DOMDocument::getElementsByTagNameNS):
   22489         (DOMDocument::getElementById):
   22490         (DOMElement::QueryInterface):
   22491         (DOMElement::tagName):
   22492         (DOMElement::getAttribute):
   22493         (DOMElement::setResult):
   22494         (DOMElement::removeAttribute):
   22495         (DOMElement::getAttributeNode):
   22496         (DOMElement::setAttributeNode):
   22497         (DOMElement::removeAttributeNode):
   22498         (DOMElement::getElementsByTagName):
   22499         (DOMElement::getAttributeNS):
   22500         (DOMElement::setAttributeNS):
   22501         (DOMElement::removeAttributeNS):
   22502         (DOMElement::getAttributeNodeNS):
   22503         (DOMElement::setAttributeNodeNS):
   22504         (DOMElement::getElementsByTagNameNS):
   22505         (DOMElement::hasAttribute):
   22506         (DOMElement::hasAttributeNS):
   22507         (DOMElement::DOMElement):
   22508         (DOMElement::~DOMElement):
   22509         (DOMElement::createInstance):
   22510         * DOMCoreClasses.h: Added.
   22511         (DOMObject::AddRef):
   22512         (DOMObject::Release):
   22513         (DOMObject::throwException):
   22514         (DOMObject::callWebScriptMethod):
   22515         (DOMObject::evaluateWebScript):
   22516         (DOMObject::removeWebScriptKey):
   22517         (DOMObject::stringRepresentation):
   22518         (DOMObject::webScriptValueAtIndex):
   22519         (DOMObject::setWebScriptValueAtIndex):
   22520         (DOMObject::setException):
   22521         (DOMNode::AddRef):
   22522         (DOMNode::Release):
   22523         (DOMNode::throwException):
   22524         (DOMNode::callWebScriptMethod):
   22525         (DOMNode::evaluateWebScript):
   22526         (DOMNode::removeWebScriptKey):
   22527         (DOMNode::stringRepresentation):
   22528         (DOMNode::webScriptValueAtIndex):
   22529         (DOMNode::setWebScriptValueAtIndex):
   22530         (DOMNode::setException):
   22531         (DOMDocument::AddRef):
   22532         (DOMDocument::Release):
   22533         (DOMDocument::throwException):
   22534         (DOMDocument::callWebScriptMethod):
   22535         (DOMDocument::evaluateWebScript):
   22536         (DOMDocument::removeWebScriptKey):
   22537         (DOMDocument::stringRepresentation):
   22538         (DOMDocument::webScriptValueAtIndex):
   22539         (DOMDocument::setWebScriptValueAtIndex):
   22540         (DOMDocument::setException):
   22541         (DOMDocument::nodeName):
   22542         (DOMDocument::nodeValue):
   22543         (DOMDocument::setNodeValue):
   22544         (DOMDocument::nodeType):
   22545         (DOMDocument::parentNode):
   22546         (DOMDocument::childNodes):
   22547         (DOMDocument::firstChild):
   22548         (DOMDocument::lastChild):
   22549         (DOMDocument::previousSibling):
   22550         (DOMDocument::nextSibling):
   22551         (DOMDocument::attributes):
   22552         (DOMDocument::ownerDocument):
   22553         (DOMDocument::insertBefore):
   22554         (DOMDocument::replaceChild):
   22555         (DOMDocument::removeChild):
   22556         (DOMDocument::appendChild):
   22557         (DOMDocument::hasChildNodes):
   22558         (DOMDocument::cloneNode):
   22559         (DOMDocument::normalize):
   22560         (DOMDocument::isSupported):
   22561         (DOMDocument::namespaceURI):
   22562         (DOMDocument::prefix):
   22563         (DOMDocument::setPrefix):
   22564         (DOMDocument::localName):
   22565         (DOMDocument::hasAttributes):
   22566         (DOMElement::AddRef):
   22567         (DOMElement::Release):
   22568         (DOMElement::throwException):
   22569         (DOMElement::callWebScriptMethod):
   22570         (DOMElement::evaluateWebScript):
   22571         (DOMElement::removeWebScriptKey):
   22572         (DOMElement::stringRepresentation):
   22573         (DOMElement::webScriptValueAtIndex):
   22574         (DOMElement::setWebScriptValueAtIndex):
   22575         (DOMElement::setException):
   22576         (DOMElement::nodeName):
   22577         (DOMElement::nodeValue):
   22578         (DOMElement::setNodeValue):
   22579         (DOMElement::nodeType):
   22580         (DOMElement::parentNode):
   22581         (DOMElement::childNodes):
   22582         (DOMElement::firstChild):
   22583         (DOMElement::lastChild):
   22584         (DOMElement::previousSibling):
   22585         (DOMElement::nextSibling):
   22586         (DOMElement::attributes):
   22587         (DOMElement::ownerDocument):
   22588         (DOMElement::insertBefore):
   22589         (DOMElement::replaceChild):
   22590         (DOMElement::removeChild):
   22591         (DOMElement::appendChild):
   22592         (DOMElement::hasChildNodes):
   22593         (DOMElement::cloneNode):
   22594         (DOMElement::normalize):
   22595         (DOMElement::isSupported):
   22596         (DOMElement::namespaceURI):
   22597         (DOMElement::prefix):
   22598         (DOMElement::setPrefix):
   22599         (DOMElement::localName):
   22600         (DOMElement::hasAttributes):
   22601         * DOMHTMLClasses.cpp: Added.
   22602         (DOMHTMLCollection::QueryInterface):
   22603         (DOMHTMLCollection::length):
   22604         (DOMHTMLCollection::item):
   22605         (DOMHTMLCollection::namedItem):
   22606         (DOMHTMLOptionsCollection::QueryInterface):
   22607         (DOMHTMLOptionsCollection::length):
   22608         (DOMHTMLOptionsCollection::setLength):
   22609         (DOMHTMLOptionsCollection::item):
   22610         (DOMHTMLOptionsCollection::namedItem):
   22611         (DOMHTMLDocument::QueryInterface):
   22612         (DOMHTMLDocument::title):
   22613         (DOMHTMLDocument::setTitle):
   22614         (DOMHTMLDocument::referrer):
   22615         (DOMHTMLDocument::domain):
   22616         (DOMHTMLDocument::URL):
   22617         (DOMHTMLDocument::body):
   22618         (DOMHTMLDocument::setBody):
   22619         (DOMHTMLDocument::images):
   22620         (DOMHTMLDocument::applets):
   22621         (DOMHTMLDocument::links):
   22622         (DOMHTMLDocument::forms):
   22623         (DOMHTMLDocument::anchors):
   22624         (DOMHTMLDocument::cookie):
   22625         (DOMHTMLDocument::setCookie):
   22626         (DOMHTMLDocument::open):
   22627         (DOMHTMLDocument::close):
   22628         (DOMHTMLDocument::write):
   22629         (DOMHTMLDocument::writeln):
   22630         (DOMHTMLDocument::getElementById_):
   22631         (DOMHTMLDocument::getElementsByName):
   22632         (DOMHTMLElement::QueryInterface):
   22633         (DOMHTMLElement::idName):
   22634         (DOMHTMLElement::setIdName):
   22635         (DOMHTMLElement::title):
   22636         (DOMHTMLElement::setTitle):
   22637         (DOMHTMLElement::lang):
   22638         (DOMHTMLElement::setLang):
   22639         (DOMHTMLElement::dir):
   22640         (DOMHTMLElement::setDir):
   22641         (DOMHTMLElement::className):
   22642         (DOMHTMLElement::setClassName):
   22643         (DOMHTMLFormElement::QueryInterface):
   22644         (DOMHTMLFormElement::elements):
   22645         (DOMHTMLFormElement::length):
   22646         (DOMHTMLFormElement::name):
   22647         (DOMHTMLFormElement::setName):
   22648         (DOMHTMLFormElement::acceptCharset):
   22649         (DOMHTMLFormElement::setAcceptCharset):
   22650         (DOMHTMLFormElement::action):
   22651         (DOMHTMLFormElement::setAction):
   22652         (DOMHTMLFormElement::encType):
   22653         (DOMHTMLFormElement::setEnctype):
   22654         (DOMHTMLFormElement::method):
   22655         (DOMHTMLFormElement::setMethod):
   22656         (DOMHTMLFormElement::target):
   22657         (DOMHTMLFormElement::setTarget):
   22658         (DOMHTMLFormElement::submit):
   22659         (DOMHTMLFormElement::reset):
   22660         (DOMHTMLSelectElement::QueryInterface):
   22661         (DOMHTMLSelectElement::type):
   22662         (DOMHTMLSelectElement::selectedIndex):
   22663         (DOMHTMLSelectElement::setSelectedIndx):
   22664         (DOMHTMLSelectElement::value):
   22665         (DOMHTMLSelectElement::setValue):
   22666         (DOMHTMLSelectElement::length):
   22667         (DOMHTMLSelectElement::form):
   22668         (DOMHTMLSelectElement::options):
   22669         (DOMHTMLSelectElement::disabled):
   22670         (DOMHTMLSelectElement::setDisabled):
   22671         (DOMHTMLSelectElement::multiple):
   22672         (DOMHTMLSelectElement::setMultiple):
   22673         (DOMHTMLSelectElement::name):
   22674         (DOMHTMLSelectElement::setName):
   22675         (DOMHTMLSelectElement::size):
   22676         (DOMHTMLSelectElement::setSize):
   22677         (DOMHTMLSelectElement::tabIndex):
   22678         (DOMHTMLSelectElement::setTabIndex):
   22679         (DOMHTMLSelectElement::add):
   22680         (DOMHTMLSelectElement::remove):
   22681         (DOMHTMLSelectElement::blur):
   22682         (DOMHTMLSelectElement::focus):
   22683         (DOMHTMLOptionElement::QueryInterface):
   22684         (DOMHTMLOptionElement::form):
   22685         (DOMHTMLOptionElement::defaultSelected):
   22686         (DOMHTMLOptionElement::setDefaultSelected):
   22687         (DOMHTMLOptionElement::text):
   22688         (DOMHTMLOptionElement::index):
   22689         (DOMHTMLOptionElement::disabled):
   22690         (DOMHTMLOptionElement::setDisabled):
   22691         (DOMHTMLOptionElement::label):
   22692         (DOMHTMLOptionElement::setLabel):
   22693         (DOMHTMLOptionElement::selected):
   22694         (DOMHTMLOptionElement::setSelected):
   22695         (DOMHTMLOptionElement::value):
   22696         (DOMHTMLOptionElement::setValue):
   22697         (DOMHTMLInputElement::QueryInterface):
   22698         (DOMHTMLInputElement::defaultValue):
   22699         (DOMHTMLInputElement::setDefaultValue):
   22700         (DOMHTMLInputElement::defaultChecked):
   22701         (DOMHTMLInputElement::setDefaultChecked):
   22702         (DOMHTMLInputElement::form):
   22703         (DOMHTMLInputElement::accept):
   22704         (DOMHTMLInputElement::setAccept):
   22705         (DOMHTMLInputElement::accessKey):
   22706         (DOMHTMLInputElement::setAccessKey):
   22707         (DOMHTMLInputElement::align):
   22708         (DOMHTMLInputElement::setAlign):
   22709         (DOMHTMLInputElement::alt):
   22710         (DOMHTMLInputElement::setAlt):
   22711         (DOMHTMLInputElement::checked):
   22712         (DOMHTMLInputElement::setChecked):
   22713         (DOMHTMLInputElement::disabled):
   22714         (DOMHTMLInputElement::setDisabled):
   22715         (DOMHTMLInputElement::maxLength):
   22716         (DOMHTMLInputElement::setMaxLength):
   22717         (DOMHTMLInputElement::name):
   22718         (DOMHTMLInputElement::setName):
   22719         (DOMHTMLInputElement::readOnly):
   22720         (DOMHTMLInputElement::setReadOnly):
   22721         (DOMHTMLInputElement::size):
   22722         (DOMHTMLInputElement::setSize):
   22723         (DOMHTMLInputElement::src):
   22724         (DOMHTMLInputElement::setSrc):
   22725         (DOMHTMLInputElement::tabIndex):
   22726         (DOMHTMLInputElement::setTabIndex):
   22727         (DOMHTMLInputElement::type):
   22728         (DOMHTMLInputElement::setType):
   22729         (DOMHTMLInputElement::useMap):
   22730         (DOMHTMLInputElement::setUseMap):
   22731         (DOMHTMLInputElement::value):
   22732         (DOMHTMLInputElement::setValue):
   22733         (DOMHTMLInputElement::blur):
   22734         (DOMHTMLInputElement::focus):
   22735         (DOMHTMLInputElement::select):
   22736         (DOMHTMLInputElement::click):
   22737         (DOMHTMLTextAreaElement::QueryInterface):
   22738         (DOMHTMLTextAreaElement::defaultValue):
   22739         (DOMHTMLTextAreaElement::setDefaultValue):
   22740         (DOMHTMLTextAreaElement::form):
   22741         (DOMHTMLTextAreaElement::accessKey):
   22742         (DOMHTMLTextAreaElement::setAccessKey):
   22743         (DOMHTMLTextAreaElement::cols):
   22744         (DOMHTMLTextAreaElement::setCols):
   22745         (DOMHTMLTextAreaElement::disabled):
   22746         (DOMHTMLTextAreaElement::setDisabled):
   22747         (DOMHTMLTextAreaElement::name):
   22748         (DOMHTMLTextAreaElement::setName):
   22749         (DOMHTMLTextAreaElement::readOnly):
   22750         (DOMHTMLTextAreaElement::setReadOnly):
   22751         (DOMHTMLTextAreaElement::rows):
   22752         (DOMHTMLTextAreaElement::setRows):
   22753         (DOMHTMLTextAreaElement::tabIndex):
   22754         (DOMHTMLTextAreaElement::setTabIndex):
   22755         (DOMHTMLTextAreaElement::type):
   22756         (DOMHTMLTextAreaElement::value):
   22757         (DOMHTMLTextAreaElement::setValue):
   22758         (DOMHTMLTextAreaElement::blur):
   22759         (DOMHTMLTextAreaElement::focus):
   22760         (DOMHTMLTextAreaElement::select):
   22761         * DOMHTMLClasses.h: Added.
   22762         (DOMHTMLCollection::AddRef):
   22763         (DOMHTMLCollection::Release):
   22764         (DOMHTMLCollection::throwException):
   22765         (DOMHTMLCollection::callWebScriptMethod):
   22766         (DOMHTMLCollection::evaluateWebScript):
   22767         (DOMHTMLCollection::removeWebScriptKey):
   22768         (DOMHTMLCollection::stringRepresentation):
   22769         (DOMHTMLCollection::webScriptValueAtIndex):
   22770         (DOMHTMLCollection::setWebScriptValueAtIndex):
   22771         (DOMHTMLCollection::setException):
   22772         (DOMHTMLOptionsCollection::AddRef):
   22773         (DOMHTMLOptionsCollection::Release):
   22774         (DOMHTMLOptionsCollection::throwException):
   22775         (DOMHTMLOptionsCollection::callWebScriptMethod):
   22776         (DOMHTMLOptionsCollection::evaluateWebScript):
   22777         (DOMHTMLOptionsCollection::removeWebScriptKey):
   22778         (DOMHTMLOptionsCollection::stringRepresentation):
   22779         (DOMHTMLOptionsCollection::webScriptValueAtIndex):
   22780         (DOMHTMLOptionsCollection::setWebScriptValueAtIndex):
   22781         (DOMHTMLOptionsCollection::setException):
   22782         (DOMHTMLDocument::AddRef):
   22783         (DOMHTMLDocument::Release):
   22784         (DOMHTMLDocument::throwException):
   22785         (DOMHTMLDocument::callWebScriptMethod):
   22786         (DOMHTMLDocument::evaluateWebScript):
   22787         (DOMHTMLDocument::removeWebScriptKey):
   22788         (DOMHTMLDocument::stringRepresentation):
   22789         (DOMHTMLDocument::webScriptValueAtIndex):
   22790         (DOMHTMLDocument::setWebScriptValueAtIndex):
   22791         (DOMHTMLDocument::setException):
   22792         (DOMHTMLDocument::nodeName):
   22793         (DOMHTMLDocument::nodeValue):
   22794         (DOMHTMLDocument::setNodeValue):
   22795         (DOMHTMLDocument::nodeType):
   22796         (DOMHTMLDocument::parentNode):
   22797         (DOMHTMLDocument::childNodes):
   22798         (DOMHTMLDocument::firstChild):
   22799         (DOMHTMLDocument::lastChild):
   22800         (DOMHTMLDocument::previousSibling):
   22801         (DOMHTMLDocument::nextSibling):
   22802         (DOMHTMLDocument::attributes):
   22803         (DOMHTMLDocument::ownerDocument):
   22804         (DOMHTMLDocument::insertBefore):
   22805         (DOMHTMLDocument::replaceChild):
   22806         (DOMHTMLDocument::removeChild):
   22807         (DOMHTMLDocument::appendChild):
   22808         (DOMHTMLDocument::hasChildNodes):
   22809         (DOMHTMLDocument::cloneNode):
   22810         (DOMHTMLDocument::normalize):
   22811         (DOMHTMLDocument::isSupported):
   22812         (DOMHTMLDocument::namespaceURI):
   22813         (DOMHTMLDocument::prefix):
   22814         (DOMHTMLDocument::setPrefix):
   22815         (DOMHTMLDocument::localName):
   22816         (DOMHTMLDocument::hasAttributes):
   22817         (DOMHTMLElement::DOMHTMLElement):
   22818         (DOMHTMLElement::AddRef):
   22819         (DOMHTMLElement::Release):
   22820         (DOMHTMLElement::throwException):
   22821         (DOMHTMLElement::callWebScriptMethod):
   22822         (DOMHTMLElement::evaluateWebScript):
   22823         (DOMHTMLElement::removeWebScriptKey):
   22824         (DOMHTMLElement::stringRepresentation):
   22825         (DOMHTMLElement::webScriptValueAtIndex):
   22826         (DOMHTMLElement::setWebScriptValueAtIndex):
   22827         (DOMHTMLElement::setException):
   22828         (DOMHTMLElement::nodeName):
   22829         (DOMHTMLElement::nodeValue):
   22830         (DOMHTMLElement::setNodeValue):
   22831         (DOMHTMLElement::nodeType):
   22832         (DOMHTMLElement::parentNode):
   22833         (DOMHTMLElement::childNodes):
   22834         (DOMHTMLElement::firstChild):
   22835         (DOMHTMLElement::lastChild):
   22836         (DOMHTMLElement::previousSibling):
   22837         (DOMHTMLElement::nextSibling):
   22838         (DOMHTMLElement::attributes):
   22839         (DOMHTMLElement::ownerDocument):
   22840         (DOMHTMLElement::insertBefore):
   22841         (DOMHTMLElement::replaceChild):
   22842         (DOMHTMLElement::removeChild):
   22843         (DOMHTMLElement::appendChild):
   22844         (DOMHTMLElement::hasChildNodes):
   22845         (DOMHTMLElement::cloneNode):
   22846         (DOMHTMLElement::normalize):
   22847         (DOMHTMLElement::isSupported):
   22848         (DOMHTMLElement::namespaceURI):
   22849         (DOMHTMLElement::prefix):
   22850         (DOMHTMLElement::setPrefix):
   22851         (DOMHTMLElement::localName):
   22852         (DOMHTMLElement::hasAttributes):
   22853         (DOMHTMLElement::tagName):
   22854         (DOMHTMLElement::getAttribute):
   22855         (DOMHTMLElement::setResult):
   22856         (DOMHTMLElement::removeAttribute):
   22857         (DOMHTMLElement::getAttributeNode):
   22858         (DOMHTMLElement::setAttributeNode):
   22859         (DOMHTMLElement::removeAttributeNode):
   22860         (DOMHTMLElement::getElementsByTagName):
   22861         (DOMHTMLElement::getAttributeNS):
   22862         (DOMHTMLElement::setAttributeNS):
   22863         (DOMHTMLElement::removeAttributeNS):
   22864         (DOMHTMLElement::getAttributeNodeNS):
   22865         (DOMHTMLElement::setAttributeNodeNS):
   22866         (DOMHTMLElement::getElementsByTagNameNS):
   22867         (DOMHTMLElement::hasAttribute):
   22868         (DOMHTMLElement::hasAttributeNS):
   22869         (DOMHTMLFormElement::DOMHTMLFormElement):
   22870         (DOMHTMLFormElement::AddRef):
   22871         (DOMHTMLFormElement::Release):
   22872         (DOMHTMLFormElement::throwException):
   22873         (DOMHTMLFormElement::callWebScriptMethod):
   22874         (DOMHTMLFormElement::evaluateWebScript):
   22875         (DOMHTMLFormElement::removeWebScriptKey):
   22876         (DOMHTMLFormElement::stringRepresentation):
   22877         (DOMHTMLFormElement::webScriptValueAtIndex):
   22878         (DOMHTMLFormElement::setWebScriptValueAtIndex):
   22879         (DOMHTMLFormElement::setException):
   22880         (DOMHTMLFormElement::nodeName):
   22881         (DOMHTMLFormElement::nodeValue):
   22882         (DOMHTMLFormElement::setNodeValue):
   22883         (DOMHTMLFormElement::nodeType):
   22884         (DOMHTMLFormElement::parentNode):
   22885         (DOMHTMLFormElement::childNodes):
   22886         (DOMHTMLFormElement::firstChild):
   22887         (DOMHTMLFormElement::lastChild):
   22888         (DOMHTMLFormElement::previousSibling):
   22889         (DOMHTMLFormElement::nextSibling):
   22890         (DOMHTMLFormElement::attributes):
   22891         (DOMHTMLFormElement::ownerDocument):
   22892         (DOMHTMLFormElement::insertBefore):
   22893         (DOMHTMLFormElement::replaceChild):
   22894         (DOMHTMLFormElement::removeChild):
   22895         (DOMHTMLFormElement::appendChild):
   22896         (DOMHTMLFormElement::hasChildNodes):
   22897         (DOMHTMLFormElement::cloneNode):
   22898         (DOMHTMLFormElement::normalize):
   22899         (DOMHTMLFormElement::isSupported):
   22900         (DOMHTMLFormElement::namespaceURI):
   22901         (DOMHTMLFormElement::prefix):
   22902         (DOMHTMLFormElement::setPrefix):
   22903         (DOMHTMLFormElement::localName):
   22904         (DOMHTMLFormElement::hasAttributes):
   22905         (DOMHTMLFormElement::tagName):
   22906         (DOMHTMLFormElement::getAttribute):
   22907         (DOMHTMLFormElement::setResult):
   22908         (DOMHTMLFormElement::removeAttribute):
   22909         (DOMHTMLFormElement::getAttributeNode):
   22910         (DOMHTMLFormElement::setAttributeNode):
   22911         (DOMHTMLFormElement::removeAttributeNode):
   22912         (DOMHTMLFormElement::getElementsByTagName):
   22913         (DOMHTMLFormElement::getAttributeNS):
   22914         (DOMHTMLFormElement::setAttributeNS):
   22915         (DOMHTMLFormElement::removeAttributeNS):
   22916         (DOMHTMLFormElement::getAttributeNodeNS):
   22917         (DOMHTMLFormElement::setAttributeNodeNS):
   22918         (DOMHTMLFormElement::getElementsByTagNameNS):
   22919         (DOMHTMLFormElement::hasAttribute):
   22920         (DOMHTMLFormElement::hasAttributeNS):
   22921         (DOMHTMLFormElement::idName):
   22922         (DOMHTMLFormElement::setIdName):
   22923         (DOMHTMLFormElement::title):
   22924         (DOMHTMLFormElement::setTitle):
   22925         (DOMHTMLFormElement::lang):
   22926         (DOMHTMLFormElement::setLang):
   22927         (DOMHTMLFormElement::dir):
   22928         (DOMHTMLFormElement::setDir):
   22929         (DOMHTMLFormElement::className):
   22930         (DOMHTMLFormElement::setClassName):
   22931         (DOMHTMLSelectElement::DOMHTMLSelectElement):
   22932         (DOMHTMLSelectElement::AddRef):
   22933         (DOMHTMLSelectElement::Release):
   22934         (DOMHTMLSelectElement::throwException):
   22935         (DOMHTMLSelectElement::callWebScriptMethod):
   22936         (DOMHTMLSelectElement::evaluateWebScript):
   22937         (DOMHTMLSelectElement::removeWebScriptKey):
   22938         (DOMHTMLSelectElement::stringRepresentation):
   22939         (DOMHTMLSelectElement::webScriptValueAtIndex):
   22940         (DOMHTMLSelectElement::setWebScriptValueAtIndex):
   22941         (DOMHTMLSelectElement::setException):
   22942         (DOMHTMLSelectElement::nodeName):
   22943         (DOMHTMLSelectElement::nodeValue):
   22944         (DOMHTMLSelectElement::setNodeValue):
   22945         (DOMHTMLSelectElement::nodeType):
   22946         (DOMHTMLSelectElement::parentNode):
   22947         (DOMHTMLSelectElement::childNodes):
   22948         (DOMHTMLSelectElement::firstChild):
   22949         (DOMHTMLSelectElement::lastChild):
   22950         (DOMHTMLSelectElement::previousSibling):
   22951         (DOMHTMLSelectElement::nextSibling):
   22952         (DOMHTMLSelectElement::attributes):
   22953         (DOMHTMLSelectElement::ownerDocument):
   22954         (DOMHTMLSelectElement::insertBefore):
   22955         (DOMHTMLSelectElement::replaceChild):
   22956         (DOMHTMLSelectElement::removeChild):
   22957         (DOMHTMLSelectElement::appendChild):
   22958         (DOMHTMLSelectElement::hasChildNodes):
   22959         (DOMHTMLSelectElement::cloneNode):
   22960         (DOMHTMLSelectElement::normalize):
   22961         (DOMHTMLSelectElement::isSupported):
   22962         (DOMHTMLSelectElement::namespaceURI):
   22963         (DOMHTMLSelectElement::prefix):
   22964         (DOMHTMLSelectElement::setPrefix):
   22965         (DOMHTMLSelectElement::localName):
   22966         (DOMHTMLSelectElement::hasAttributes):
   22967         (DOMHTMLSelectElement::tagName):
   22968         (DOMHTMLSelectElement::getAttribute):
   22969         (DOMHTMLSelectElement::setResult):
   22970         (DOMHTMLSelectElement::removeAttribute):
   22971         (DOMHTMLSelectElement::getAttributeNode):
   22972         (DOMHTMLSelectElement::setAttributeNode):
   22973         (DOMHTMLSelectElement::removeAttributeNode):
   22974         (DOMHTMLSelectElement::getElementsByTagName):
   22975         (DOMHTMLSelectElement::getAttributeNS):
   22976         (DOMHTMLSelectElement::setAttributeNS):
   22977         (DOMHTMLSelectElement::removeAttributeNS):
   22978         (DOMHTMLSelectElement::getAttributeNodeNS):
   22979         (DOMHTMLSelectElement::setAttributeNodeNS):
   22980         (DOMHTMLSelectElement::getElementsByTagNameNS):
   22981         (DOMHTMLSelectElement::hasAttribute):
   22982         (DOMHTMLSelectElement::hasAttributeNS):
   22983         (DOMHTMLSelectElement::idName):
   22984         (DOMHTMLSelectElement::setIdName):
   22985         (DOMHTMLSelectElement::title):
   22986         (DOMHTMLSelectElement::setTitle):
   22987         (DOMHTMLSelectElement::lang):
   22988         (DOMHTMLSelectElement::setLang):
   22989         (DOMHTMLSelectElement::dir):
   22990         (DOMHTMLSelectElement::setDir):
   22991         (DOMHTMLSelectElement::className):
   22992         (DOMHTMLSelectElement::setClassName):
   22993         (DOMHTMLOptionElement::DOMHTMLOptionElement):
   22994         (DOMHTMLOptionElement::AddRef):
   22995         (DOMHTMLOptionElement::Release):
   22996         (DOMHTMLOptionElement::throwException):
   22997         (DOMHTMLOptionElement::callWebScriptMethod):
   22998         (DOMHTMLOptionElement::evaluateWebScript):
   22999         (DOMHTMLOptionElement::removeWebScriptKey):
   23000         (DOMHTMLOptionElement::stringRepresentation):
   23001         (DOMHTMLOptionElement::webScriptValueAtIndex):
   23002         (DOMHTMLOptionElement::setWebScriptValueAtIndex):
   23003         (DOMHTMLOptionElement::setException):
   23004         (DOMHTMLOptionElement::nodeName):
   23005         (DOMHTMLOptionElement::nodeValue):
   23006         (DOMHTMLOptionElement::setNodeValue):
   23007         (DOMHTMLOptionElement::nodeType):
   23008         (DOMHTMLOptionElement::parentNode):
   23009         (DOMHTMLOptionElement::childNodes):
   23010         (DOMHTMLOptionElement::firstChild):
   23011         (DOMHTMLOptionElement::lastChild):
   23012         (DOMHTMLOptionElement::previousSibling):
   23013         (DOMHTMLOptionElement::nextSibling):
   23014         (DOMHTMLOptionElement::attributes):
   23015         (DOMHTMLOptionElement::ownerDocument):
   23016         (DOMHTMLOptionElement::insertBefore):
   23017         (DOMHTMLOptionElement::replaceChild):
   23018         (DOMHTMLOptionElement::removeChild):
   23019         (DOMHTMLOptionElement::appendChild):
   23020         (DOMHTMLOptionElement::hasChildNodes):
   23021         (DOMHTMLOptionElement::cloneNode):
   23022         (DOMHTMLOptionElement::normalize):
   23023         (DOMHTMLOptionElement::isSupported):
   23024         (DOMHTMLOptionElement::namespaceURI):
   23025         (DOMHTMLOptionElement::prefix):
   23026         (DOMHTMLOptionElement::setPrefix):
   23027         (DOMHTMLOptionElement::localName):
   23028         (DOMHTMLOptionElement::hasAttributes):
   23029         (DOMHTMLOptionElement::tagName):
   23030         (DOMHTMLOptionElement::getAttribute):
   23031         (DOMHTMLOptionElement::setResult):
   23032         (DOMHTMLOptionElement::removeAttribute):
   23033         (DOMHTMLOptionElement::getAttributeNode):
   23034         (DOMHTMLOptionElement::setAttributeNode):
   23035         (DOMHTMLOptionElement::removeAttributeNode):
   23036         (DOMHTMLOptionElement::getElementsByTagName):
   23037         (DOMHTMLOptionElement::getAttributeNS):
   23038         (DOMHTMLOptionElement::setAttributeNS):
   23039         (DOMHTMLOptionElement::removeAttributeNS):
   23040         (DOMHTMLOptionElement::getAttributeNodeNS):
   23041         (DOMHTMLOptionElement::setAttributeNodeNS):
   23042         (DOMHTMLOptionElement::getElementsByTagNameNS):
   23043         (DOMHTMLOptionElement::hasAttribute):
   23044         (DOMHTMLOptionElement::hasAttributeNS):
   23045         (DOMHTMLOptionElement::idName):
   23046         (DOMHTMLOptionElement::setIdName):
   23047         (DOMHTMLOptionElement::title):
   23048         (DOMHTMLOptionElement::setTitle):
   23049         (DOMHTMLOptionElement::lang):
   23050         (DOMHTMLOptionElement::setLang):
   23051         (DOMHTMLOptionElement::dir):
   23052         (DOMHTMLOptionElement::setDir):
   23053         (DOMHTMLOptionElement::className):
   23054         (DOMHTMLOptionElement::setClassName):
   23055         (DOMHTMLInputElement::DOMHTMLInputElement):
   23056         (DOMHTMLInputElement::AddRef):
   23057         (DOMHTMLInputElement::Release):
   23058         (DOMHTMLInputElement::throwException):
   23059         (DOMHTMLInputElement::callWebScriptMethod):
   23060         (DOMHTMLInputElement::evaluateWebScript):
   23061         (DOMHTMLInputElement::removeWebScriptKey):
   23062         (DOMHTMLInputElement::stringRepresentation):
   23063         (DOMHTMLInputElement::webScriptValueAtIndex):
   23064         (DOMHTMLInputElement::setWebScriptValueAtIndex):
   23065         (DOMHTMLInputElement::setException):
   23066         (DOMHTMLInputElement::nodeName):
   23067         (DOMHTMLInputElement::nodeValue):
   23068         (DOMHTMLInputElement::setNodeValue):
   23069         (DOMHTMLInputElement::nodeType):
   23070         (DOMHTMLInputElement::parentNode):
   23071         (DOMHTMLInputElement::childNodes):
   23072         (DOMHTMLInputElement::firstChild):
   23073         (DOMHTMLInputElement::lastChild):
   23074         (DOMHTMLInputElement::previousSibling):
   23075         (DOMHTMLInputElement::nextSibling):
   23076         (DOMHTMLInputElement::attributes):
   23077         (DOMHTMLInputElement::ownerDocument):
   23078         (DOMHTMLInputElement::insertBefore):
   23079         (DOMHTMLInputElement::replaceChild):
   23080         (DOMHTMLInputElement::removeChild):
   23081         (DOMHTMLInputElement::appendChild):
   23082         (DOMHTMLInputElement::hasChildNodes):
   23083         (DOMHTMLInputElement::cloneNode):
   23084         (DOMHTMLInputElement::normalize):
   23085         (DOMHTMLInputElement::isSupported):
   23086         (DOMHTMLInputElement::namespaceURI):
   23087         (DOMHTMLInputElement::prefix):
   23088         (DOMHTMLInputElement::setPrefix):
   23089         (DOMHTMLInputElement::localName):
   23090         (DOMHTMLInputElement::hasAttributes):
   23091         (DOMHTMLInputElement::tagName):
   23092         (DOMHTMLInputElement::getAttribute):
   23093         (DOMHTMLInputElement::setResult):
   23094         (DOMHTMLInputElement::removeAttribute):
   23095         (DOMHTMLInputElement::getAttributeNode):
   23096         (DOMHTMLInputElement::setAttributeNode):
   23097         (DOMHTMLInputElement::removeAttributeNode):
   23098         (DOMHTMLInputElement::getElementsByTagName):
   23099         (DOMHTMLInputElement::getAttributeNS):
   23100         (DOMHTMLInputElement::setAttributeNS):
   23101         (DOMHTMLInputElement::removeAttributeNS):
   23102         (DOMHTMLInputElement::getAttributeNodeNS):
   23103         (DOMHTMLInputElement::setAttributeNodeNS):
   23104         (DOMHTMLInputElement::getElementsByTagNameNS):
   23105         (DOMHTMLInputElement::hasAttribute):
   23106         (DOMHTMLInputElement::hasAttributeNS):
   23107         (DOMHTMLInputElement::idName):
   23108         (DOMHTMLInputElement::setIdName):
   23109         (DOMHTMLInputElement::title):
   23110         (DOMHTMLInputElement::setTitle):
   23111         (DOMHTMLInputElement::lang):
   23112         (DOMHTMLInputElement::setLang):
   23113         (DOMHTMLInputElement::dir):
   23114         (DOMHTMLInputElement::setDir):
   23115         (DOMHTMLInputElement::className):
   23116         (DOMHTMLInputElement::setClassName):
   23117         (DOMHTMLTextAreaElement::DOMHTMLTextAreaElement):
   23118         (DOMHTMLTextAreaElement::AddRef):
   23119         (DOMHTMLTextAreaElement::Release):
   23120         (DOMHTMLTextAreaElement::throwException):
   23121         (DOMHTMLTextAreaElement::callWebScriptMethod):
   23122         (DOMHTMLTextAreaElement::evaluateWebScript):
   23123         (DOMHTMLTextAreaElement::removeWebScriptKey):
   23124         (DOMHTMLTextAreaElement::stringRepresentation):
   23125         (DOMHTMLTextAreaElement::webScriptValueAtIndex):
   23126         (DOMHTMLTextAreaElement::setWebScriptValueAtIndex):
   23127         (DOMHTMLTextAreaElement::setException):
   23128         (DOMHTMLTextAreaElement::nodeName):
   23129         (DOMHTMLTextAreaElement::nodeValue):
   23130         (DOMHTMLTextAreaElement::setNodeValue):
   23131         (DOMHTMLTextAreaElement::nodeType):
   23132         (DOMHTMLTextAreaElement::parentNode):
   23133         (DOMHTMLTextAreaElement::childNodes):
   23134         (DOMHTMLTextAreaElement::firstChild):
   23135         (DOMHTMLTextAreaElement::lastChild):
   23136         (DOMHTMLTextAreaElement::previousSibling):
   23137         (DOMHTMLTextAreaElement::nextSibling):
   23138         (DOMHTMLTextAreaElement::attributes):
   23139         (DOMHTMLTextAreaElement::ownerDocument):
   23140         (DOMHTMLTextAreaElement::insertBefore):
   23141         (DOMHTMLTextAreaElement::replaceChild):
   23142         (DOMHTMLTextAreaElement::removeChild):
   23143         (DOMHTMLTextAreaElement::appendChild):
   23144         (DOMHTMLTextAreaElement::hasChildNodes):
   23145         (DOMHTMLTextAreaElement::cloneNode):
   23146         (DOMHTMLTextAreaElement::normalize):
   23147         (DOMHTMLTextAreaElement::isSupported):
   23148         (DOMHTMLTextAreaElement::namespaceURI):
   23149         (DOMHTMLTextAreaElement::prefix):
   23150         (DOMHTMLTextAreaElement::setPrefix):
   23151         (DOMHTMLTextAreaElement::localName):
   23152         (DOMHTMLTextAreaElement::hasAttributes):
   23153         (DOMHTMLTextAreaElement::tagName):
   23154         (DOMHTMLTextAreaElement::getAttribute):
   23155         (DOMHTMLTextAreaElement::setResult):
   23156         (DOMHTMLTextAreaElement::removeAttribute):
   23157         (DOMHTMLTextAreaElement::getAttributeNode):
   23158         (DOMHTMLTextAreaElement::setAttributeNode):
   23159         (DOMHTMLTextAreaElement::removeAttributeNode):
   23160         (DOMHTMLTextAreaElement::getElementsByTagName):
   23161         (DOMHTMLTextAreaElement::getAttributeNS):
   23162         (DOMHTMLTextAreaElement::setAttributeNS):
   23163         (DOMHTMLTextAreaElement::removeAttributeNS):
   23164         (DOMHTMLTextAreaElement::getAttributeNodeNS):
   23165         (DOMHTMLTextAreaElement::setAttributeNodeNS):
   23166         (DOMHTMLTextAreaElement::getElementsByTagNameNS):
   23167         (DOMHTMLTextAreaElement::hasAttribute):
   23168         (DOMHTMLTextAreaElement::hasAttributeNS):
   23169         (DOMHTMLTextAreaElement::idName):
   23170         (DOMHTMLTextAreaElement::setIdName):
   23171         (DOMHTMLTextAreaElement::title):
   23172         (DOMHTMLTextAreaElement::setTitle):
   23173         (DOMHTMLTextAreaElement::lang):
   23174         (DOMHTMLTextAreaElement::setLang):
   23175         (DOMHTMLTextAreaElement::dir):
   23176         (DOMHTMLTextAreaElement::setDir):
   23177         (DOMHTMLTextAreaElement::className):
   23178         (DOMHTMLTextAreaElement::setClassName):
   23179         * Interfaces/DOMHTML.idl:
   23180         * Interfaces/IWebScriptObject.idl:
   23181         * WebFrame.cpp:
   23182         (WebFrame::openURL):
   23183         (WebFrame::textFieldDidBeginEditing):
   23184         (WebFrame::textFieldDidEndEditing):
   23185         (WebFrame::textDidChangeInTextField):
   23186         (WebFrame::doTextFieldCommandFromEvent):
   23187         (WebFrame::textWillBeDeletedInTextField):
   23188         (WebFrame::textDidChangeInTextArea):
   23189         * WebKit.vcproj/WebKit.vcproj:
   23190         * WebScriptObject.cpp: Added.
   23191         (WebScriptObject::WebScriptObject):
   23192         (WebScriptObject::~WebScriptObject):
   23193         (WebScriptObject::QueryInterface):
   23194         (WebScriptObject::AddRef):
   23195         (WebScriptObject::Release):
   23196         (WebScriptObject::throwException):
   23197         (WebScriptObject::callWebScriptMethod):
   23198         (WebScriptObject::evaluateWebScript):
   23199         (WebScriptObject::removeWebScriptKey):
   23200         (WebScriptObject::stringRepresentation):
   23201         (WebScriptObject::webScriptValueAtIndex):
   23202         (WebScriptObject::setWebScriptValueAtIndex):
   23203         (WebScriptObject::setException):
   23204         * WebScriptObject.h: Added.
   23205         * WebURLResponse.cpp:
   23206         (WebURLResponse::WebURLResponse):
   23207         (WebURLResponse::~WebURLResponse):
   23208         (WebURLResponse::createInstance):
   23209         (WebURLResponse::QueryInterface):
   23210         (WebURLResponse::AddRef):
   23211         (WebURLResponse::Release):
   23212         (WebURLResponse::expectedContentLength):
   23213         (WebURLResponse::initWithURL):
   23214         (WebURLResponse::MIMEType):
   23215         (WebURLResponse::suggestedFilename):
   23216         (WebURLResponse::textEncodingName):
   23217         (WebURLResponse::URL):
   23218         * WebView.cpp:
   23219         (WebView::setFormDelegate):
   23220         (WebView::formDelegate):
   23221         * WebView.h:
   23222 
   23223 2006-08-17  Anders Carlsson  <andersca (a] apple.com>
   23224 
   23225         Reviewed by Maciej.
   23226 
   23227         * WebKit.vcproj/WebKit.vcproj:
   23228         Add version.lib
   23229 
   23230 2006-08-15  Steve Falkenburg  <sfalken (a] apple.com>
   23231 
   23232         Fix this to build in my tree.
   23233 
   23234         * WebFrame.cpp:
   23235         (WebFrame::textFieldDidBeginEditing):
   23236         (WebFrame::doTextFieldCommandFromEvent):
   23237         (WebFrame::textWillBeDeletedInTextField):
   23238         * WebKit.vcproj/Interfaces.vcproj:
   23239         * WebKit.vcproj/WebKit.sln:
   23240         * WebKit.vcproj/WebKit.vcproj:
   23241 
   23242 2006-08-15  Steve Falkenburg  <sfalken (a] apple.com>
   23243 
   23244         Initial check-in.
   23245 
   23246         * CFDictionaryPropertyBag.cpp: Added.
   23247         (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
   23248         (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
   23249         (CFDictionaryPropertyBag::createInstance):
   23250         (CFDictionaryPropertyBag::setDictionary):
   23251         (CFDictionaryPropertyBag::QueryInterface):
   23252         (CFDictionaryPropertyBag::AddRef):
   23253         (CFDictionaryPropertyBag::Release):
   23254         (ConvertCFTypeToVariant):
   23255         (ConvertVariantToCFType):
   23256         (CFDictionaryPropertyBag::Read):
   23257         (CFDictionaryPropertyBag::Write):
   23258         * CFDictionaryPropertyBag.h: Added.
   23259         * ChangeLog: Added.
   23260         * Interfaces/DOMCSS.idl: Added.
   23261         * Interfaces/DOMCore.idl: Added.
   23262         * Interfaces/DOMHTML.idl: Added.
   23263         * Interfaces/DOMRange.idl: Added.
   23264         * Interfaces/IWebArchive.idl: Added.
   23265         * Interfaces/IWebAttributedString.idl: Added.
   23266         * Interfaces/IWebBackForwardList.idl: Added.
   23267         * Interfaces/IWebDataSource.idl: Added.
   23268         * Interfaces/IWebDocument.idl: Added.
   23269         * Interfaces/IWebDownload.idl: Added.
   23270         * Interfaces/IWebEditingDelegate.idl: Added.
   23271         * Interfaces/IWebError.idl: Added.
   23272         * Interfaces/IWebFormDelegate.idl: Added.
   23273         * Interfaces/IWebFrame.idl: Added.
   23274         * Interfaces/IWebFrameLoadDelegate.idl: Added.
   23275         * Interfaces/IWebFrameLoadDelegatePrivate.idl: Added.
   23276         * Interfaces/IWebFrameView.idl: Added.
   23277         * Interfaces/IWebHistory.idl: Added.
   23278         * Interfaces/IWebHistoryItem.idl: Added.
   23279         * Interfaces/IWebHistoryItemPrivate.idl: Added.
   23280         * Interfaces/IWebIconDatabase.idl: Added.
   23281         * Interfaces/IWebImage.idl: Added.
   23282         * Interfaces/IWebMutableURLRequest.idl: Added.
   23283         * Interfaces/IWebNotification.idl: Added.
   23284         * Interfaces/IWebNotificationCenter.idl: Added.
   23285         * Interfaces/IWebNotificationObserver.idl: Added.
   23286         * Interfaces/IWebPolicyDelegate.idl: Added.
   23287         * Interfaces/IWebPreferences.idl: Added.
   23288         * Interfaces/IWebResource.idl: Added.
   23289         * Interfaces/IWebResourceLoadDelegate.idl: Added.
   23290         * Interfaces/IWebScriptObject.idl: Added.
   23291         * Interfaces/IWebUIDelegate.idl: Added.
   23292         * Interfaces/IWebURLAuthenticationChallenge.idl: Added.
   23293         * Interfaces/IWebURLRequest.idl: Added.
   23294         * Interfaces/IWebURLResponse.idl: Added.
   23295         * Interfaces/IWebUndoManager.idl: Added.
   23296         * Interfaces/IWebView.idl: Added.
   23297         * Interfaces/IWebViewPrivate.idl: Added.
   23298         * Interfaces/WebKit.idl: Added.
   23299         * MarshallingHelpers.cpp: Added.
   23300         (MarshallingHelpers::BSTRToCFURLRef):
   23301         (MarshallingHelpers::BSTRToCFStringRef):
   23302         (MarshallingHelpers::CFStringRefToBSTR):
   23303         (MarshallingHelpers::CFNumberRefToInt):
   23304         (MarshallingHelpers::intToCFNumberRef):
   23305         (MarshallingHelpers::windowsEpochAbsoluteTime):
   23306         (MarshallingHelpers::DATEToCFAbsoluteTime):
   23307         (MarshallingHelpers::CFAbsoluteTimeToDATE):
   23308         (MarshallingHelpers::stringArrayToSafeArray):
   23309         (MarshallingHelpers::intArrayToSafeArray):
   23310         (MarshallingHelpers::iunknownArrayToSafeArray):
   23311         (MarshallingHelpers::safeArrayToStringArray):
   23312         (MarshallingHelpers::safeArrayToIntArray):
   23313         (MarshallingHelpers::safeArrayToIUnknownArray):
   23314         (MarshallingHelpers::IUnknownRetainCallback):
   23315         (MarshallingHelpers::IUnknownReleaseCallback):
   23316         * MarshallingHelpers.h: Added.
   23317         * WebBackForwardList.cpp: Added.
   23318         (WebBackForwardList::WebBackForwardList):
   23319         (WebBackForwardList::~WebBackForwardList):
   23320         (WebBackForwardList::createInstance):
   23321         (WebBackForwardList::QueryInterface):
   23322         (WebBackForwardList::AddRef):
   23323         (WebBackForwardList::Release):
   23324         (WebBackForwardList::addItem):
   23325         (WebBackForwardList::goBack):
   23326         (WebBackForwardList::goForward):
   23327         (WebBackForwardList::goToItem):
   23328         (WebBackForwardList::backItem):
   23329         (WebBackForwardList::currentItem):
   23330         (WebBackForwardList::forwardItem):
   23331         (WebBackForwardList::backListWithLimit):
   23332         (WebBackForwardList::forwardListWithLimit):
   23333         (WebBackForwardList::capacity):
   23334         (WebBackForwardList::setCapacity):
   23335         (WebBackForwardList::backListCount):
   23336         (WebBackForwardList::forwardListCount):
   23337         (WebBackForwardList::containsItem):
   23338         (WebBackForwardList::itemAtIndex):
   23339         (WebBackForwardList::setPageCacheSize):
   23340         (WebBackForwardList::pageCacheSize):
   23341         * WebBackForwardList.h: Added.
   23342         * WebDataSource.cpp: Added.
   23343         (WebDataSource::WebDataSource):
   23344         (WebDataSource::~WebDataSource):
   23345         (WebDataSource::createInstance):
   23346         (WebDataSource::setResponse):
   23347         (WebDataSource::QueryInterface):
   23348         (WebDataSource::AddRef):
   23349         (WebDataSource::Release):
   23350         (WebDataSource::initWithRequest):
   23351         (WebDataSource::data):
   23352         (WebDataSource::representation):
   23353         (WebDataSource::webFrame):
   23354         (WebDataSource::initialRequest):
   23355         (WebDataSource::request):
   23356         (WebDataSource::response):
   23357         (WebDataSource::textEncodingName):
   23358         (WebDataSource::isLoading):
   23359         (WebDataSource::pageTitle):
   23360         (WebDataSource::unreachableURL):
   23361         (WebDataSource::webArchive):
   23362         (WebDataSource::mainResource):
   23363         (WebDataSource::subresources):
   23364         (WebDataSource::subresourceForURL):
   23365         (WebDataSource::addSubresource):
   23366         * WebDataSource.h: Added.
   23367         * WebFrame.cpp: Added.
   23368         (WebFrame::WebFramePrivate::WebFramePrivate):
   23369         (WebFrame::WebFramePrivate::~WebFramePrivate):
   23370         (WebFrame::WebFrame):
   23371         (WebFrame::~WebFrame):
   23372         (WebFrame::createInstance):
   23373         (WebFrame::QueryInterface):
   23374         (WebFrame::AddRef):
   23375         (WebFrame::Release):
   23376         (WebFrame::initWithName):
   23377         (WebFrame::name):
   23378         (WebFrame::webView):
   23379         (WebFrame::frameView):
   23380         (WebFrame::DOMDocument):
   23381         (WebFrame::frameElement):
   23382         (WebFrame::loadRequest):
   23383         (WebFrame::loadData):
   23384         (WebFrame::loadHTMLString):
   23385         (WebFrame::loadAlternateHTMLString):
   23386         (WebFrame::loadArchive):
   23387         (WebFrame::dataSource):
   23388         (WebFrame::provisionalDataSource):
   23389         (WebFrame::stopLoading):
   23390         (WebFrame::reload):
   23391         (WebFrame::findFrameNamed):
   23392         (WebFrame::parentFrame):
   23393         (WebFrame::childFrames):
   23394         (WebFrame::paint):
   23395         (WebFrame::impl):
   23396         (WebFrame::loadDataSource):
   23397         (WebFrame::loading):
   23398         (WebFrame::goToItem):
   23399         (WebFrame::loadItem):
   23400         (WebSystemMainMemory):
   23401         (WebFrame::getObjectCacheSize):
   23402         (WebFrame::invalidate):
   23403         (WebFrame::setTextSizeMultiplier):
   23404         (WebFrame::inViewSourceMode):
   23405         (WebFrame::setInViewSourceMode):
   23406         (WebFrame::receivedRedirect):
   23407         (WebFrame::receivedResponse):
   23408         (WebFrame::receivedData):
   23409         (WebFrame::receivedAllData):
   23410         (WebFrame::openURL):
   23411         (WebFrame::submitForm):
   23412         (WebFrame::setTitle):
   23413         (WebFrame::setStatusText):
   23414         (WebFrame::textFieldDidBeginEditing):
   23415         (WebFrame::textFieldDidEndEditing):
   23416         (WebFrame::textDidChangeInTextField):
   23417         (WebFrame::doTextFieldCommandFromEvent):
   23418         (WebFrame::textWillBeDeletedInTextField):
   23419         (WebFrame::textDidChangeInTextArea):
   23420         * WebFrame.h: Added.
   23421         * WebHistory.cpp: Added.
   23422         (areEqualOrClose):
   23423         (createUserInfoFromArray):
   23424         (createUserInfoFromHistoryItem):
   23425         (releaseUserInfo):
   23426         (WebHistory::WebHistory):
   23427         (WebHistory::~WebHistory):
   23428         (WebHistory::createInstance):
   23429         (WebHistory::postNotification):
   23430         (WebHistory::getNotificationString):
   23431         (WebHistory::QueryInterface):
   23432         (WebHistory::AddRef):
   23433         (WebHistory::Release):
   23434         (WebHistory::optionalSharedHistory):
   23435         (WebHistory::setOptionalSharedHistory):
   23436         (WebHistory::loadFromURL):
   23437         (WebHistory::loadHistoryGutsFromURL):
   23438         (WebHistory::saveToURL):
   23439         (WebHistory::saveHistoryGuts):
   23440         (WebHistory::datesArray):
   23441         (WebHistory::addItems):
   23442         (WebHistory::removeItems):
   23443         (dictReleaseApplier):
   23444         (WebHistory::removeAllItems):
   23445         (WebHistory::orderedLastVisitedDays):
   23446         (WebHistory::orderedItemsLastVisitedOnDay):
   23447         (WebHistory::itemForURL):
   23448         (WebHistory::setHistoryItemLimit):
   23449         (WebHistory::historyItemLimit):
   23450         (WebHistory::setHistoryAgeInDaysLimit):
   23451         (WebHistory::historyAgeInDaysLimit):
   23452         (WebHistory::removeItem):
   23453         (WebHistory::addItem):
   23454         (WebHistory::addItemForURL):
   23455         (WebHistory::removeItemForURLString):
   23456         (WebHistory::addItemToDateCaches):
   23457         (WebHistory::removeItemFromDateCaches):
   23458         (WebHistory::findIndex):
   23459         (WebHistory::insertItem):
   23460         (WebHistory::timeToDate):
   23461         (WebHistory::ageLimitDate):
   23462         (WebHistory::optionalSharedHistoryInternal):
   23463         * WebHistory.h: Added.
   23464         (WebHistory::):
   23465         * WebHistoryItem.cpp: Added.
   23466         (WebHistoryItem::WebHistoryItem):
   23467         (WebHistoryItem::~WebHistoryItem):
   23468         (WebHistoryItem::createInstance):
   23469         (WebHistoryItem::initFromDictionaryRepresentation):
   23470         (WebHistoryItem::dictionaryRepresentation):
   23471         (WebHistoryItem::hasURLString):
   23472         (WebHistoryItem::visitCount):
   23473         (WebHistoryItem::setVisitCount):
   23474         (WebHistoryItem::mergeAutoCompleteHints):
   23475         (WebHistoryItem::setLastVisitedTimeInterval):
   23476         (WebHistoryItem::QueryInterface):
   23477         (WebHistoryItem::AddRef):
   23478         (WebHistoryItem::Release):
   23479         (WebHistoryItem::initWithURLString):
   23480         (WebHistoryItem::originalURLString):
   23481         (WebHistoryItem::URLString):
   23482         (WebHistoryItem::title):
   23483         (WebHistoryItem::lastVisitedTimeInterval):
   23484         (WebHistoryItem::setAlternateTitle):
   23485         (WebHistoryItem::alternateTitle):
   23486         (WebHistoryItem::icon):
   23487         * WebHistoryItem.h: Added.
   23488         * WebIconDatabase.cpp: Added.
   23489         (WebIconDatabase::WebIconDatabase):
   23490         (WebIconDatabase::~WebIconDatabase):
   23491         (WebIconDatabase::createInstance):
   23492         (WebIconDatabase::QueryInterface):
   23493         (WebIconDatabase::AddRef):
   23494         (WebIconDatabase::Release):
   23495         (WebIconDatabase::sharedIconDatabase):
   23496         (WebIconDatabase::iconForURL):
   23497         (WebIconDatabase::defaultIconWithSize):
   23498         (WebIconDatabase::retainIconForURL):
   23499         (WebIconDatabase::releaseIconForURL):
   23500         (WebIconDatabase::delayDatabaseCleanup):
   23501         (WebIconDatabase::allowDatabaseCleanup):
   23502         * WebIconDatabase.h: Added.
   23503         * WebKit.vcproj/Interfaces.vcproj: Added.
   23504         * WebKit.vcproj/WebKit.def: Added.
   23505         * WebKit.vcproj/WebKit.rc: Added.
   23506         * WebKit.vcproj/WebKit.sln: Added.
   23507         * WebKit.vcproj/WebKit.vcproj: Added.
   23508         * WebKit.vcproj/WebKitGUID.vcproj: Added.
   23509         * WebKit.vcproj/autoversion.h: Added.
   23510         * WebKit.vcproj/missingImage.png: Added.
   23511         * WebKit.vcproj/resource.h: Added.
   23512         * WebKit.vcproj/textAreaResizeCorner.png: Added.
   23513         * WebKitClassFactory.cpp: Added.
   23514         (WebKitClassFactory::WebKitClassFactory):
   23515         (WebKitClassFactory::~WebKitClassFactory):
   23516         (WebKitClassFactory::QueryInterface):
   23517         (WebKitClassFactory::AddRef):
   23518         (WebKitClassFactory::Release):
   23519         (WebKitClassFactory::CreateInstance):
   23520         (WebKitClassFactory::LockServer):
   23521         * WebKitClassFactory.h: Added.
   23522         * WebKitDLL.cpp: Added.
   23523         (DllMain):
   23524         (DllGetClassObject):
   23525         (DllCanUnloadNow):
   23526         (DllUnregisterServer):
   23527         (DllRegisterServer):
   23528         (loadResourceIntoArray):
   23529         * WebKitDLL.h: Added.
   23530         * WebMutableURLRequest.cpp: Added.
   23531         (WebMutableURLRequest::WebMutableURLRequest):
   23532         (WebMutableURLRequest::~WebMutableURLRequest):
   23533         (WebMutableURLRequest::createInstance):
   23534         (WebMutableURLRequest::QueryInterface):
   23535         (WebMutableURLRequest::AddRef):
   23536         (WebMutableURLRequest::Release):
   23537         (WebMutableURLRequest::requestWithURL):
   23538         (WebMutableURLRequest::allHTTPHeaderFields):
   23539         (WebMutableURLRequest::cachePolicy):
   23540         (WebMutableURLRequest::HTTPBody):
   23541         (WebMutableURLRequest::HTTPBodyStream):
   23542         (WebMutableURLRequest::HTTPMethod):
   23543         (WebMutableURLRequest::HTTPShouldHandleCookies):
   23544         (WebMutableURLRequest::initWithURL):
   23545         (WebMutableURLRequest::mainDocumentURL):
   23546         (WebMutableURLRequest::timeoutInterval):
   23547         (WebMutableURLRequest::URL):
   23548         (WebMutableURLRequest::valueForHTTPHeaderField):
   23549         (WebMutableURLRequest::addValue):
   23550         (WebMutableURLRequest::setAllHTTPHeaderFields):
   23551         (WebMutableURLRequest::setCachePolicy):
   23552         (WebMutableURLRequest::setHTTPBody):
   23553         (WebMutableURLRequest::setHTTPBodyStream):
   23554         (WebMutableURLRequest::setHTTPMethod):
   23555         (WebMutableURLRequest::setHTTPShouldHandleCookies):
   23556         (WebMutableURLRequest::setMainDocumentURL):
   23557         (WebMutableURLRequest::setTimeoutInterval):
   23558         (WebMutableURLRequest::setURL):
   23559         (WebMutableURLRequest::setValue):
   23560         (WebMutableURLRequest::setFormData):
   23561         (WebMutableURLRequest::formData):
   23562         * WebMutableURLRequest.h: Added.
   23563         * WebNotification.cpp: Added.
   23564         (WebNotification::WebNotification):
   23565         (WebNotification::~WebNotification):
   23566         (WebNotification::createInstance):
   23567         (WebNotification::QueryInterface):
   23568         (WebNotification::AddRef):
   23569         (WebNotification::Release):
   23570         (WebNotification::notificationWithName):
   23571         (WebNotification::name):
   23572         (WebNotification::getObject):
   23573         (WebNotification::userInfo):
   23574         * WebNotification.h: Added.
   23575         * WebNotificationCenter.cpp: Added.
   23576         (ObserverKey::ObserverKey):
   23577         (ObserverKey::~ObserverKey):
   23578         (ObserverKey::operator==):
   23579         (ObserverKeyTraits::deletedValue):
   23580         (ObserverHash::equal):
   23581         (ObserverHash::hash):
   23582         (WebNotificationCenter::WebNotificationCenter):
   23583         (WebNotificationCenter::~WebNotificationCenter):
   23584         (WebNotificationCenter::createInstance):
   23585         (WebNotificationCenter::QueryInterface):
   23586         (WebNotificationCenter::AddRef):
   23587         (WebNotificationCenter::Release):
   23588         (WebNotificationCenter::defaultCenterInternal):
   23589         (WebNotificationCenter::postNotificationInternal):
   23590         (WebNotificationCenter::defaultCenter):
   23591         (WebNotificationCenter::addObserver):
   23592         (WebNotificationCenter::postNotification):
   23593         (WebNotificationCenter::postNotificationName):
   23594         (WebNotificationCenter::removeObserver):
   23595         * WebNotificationCenter.h: Added.
   23596         * WebPreferenceKeysPrivate.h: Added.
   23597         * WebPreferences.cpp: Added.
   23598         (WebPreferences::WebPreferences):
   23599         (WebPreferences::~WebPreferences):
   23600         (WebPreferences::createInstance):
   23601         (WebPreferences::postPreferencesChangesNotification):
   23602         (WebPreferences::getInstanceForIdentifier):
   23603         (WebPreferences::initialize):
   23604         (WebPreferences::valueForKey):
   23605         (WebPreferences::stringValueForKey):
   23606         (WebPreferences::integerValueForKey):
   23607         (WebPreferences::boolValueForKey):
   23608         (WebPreferences::floatValueForKey):
   23609         (WebPreferences::setStringValue):
   23610         (WebPreferences::webPreferencesChangedNotification):
   23611         (WebPreferences::setIntegerValue):
   23612         (WebPreferences::setBoolValue):
   23613         (WebPreferences::save):
   23614         (WebPreferences::load):
   23615         (WebPreferences::preferencesPath):
   23616         (WebPreferences::safeCreateFileWithData):
   23617         (WebPreferences::QueryInterface):
   23618         (WebPreferences::AddRef):
   23619         (WebPreferences::Release):
   23620         (WebPreferences::standardPreferences):
   23621         (WebPreferences::initWithIdentifier):
   23622         (WebPreferences::identifier):
   23623         (WebPreferences::standardFontFamily):
   23624         (WebPreferences::setStandardFontFamily):
   23625         (WebPreferences::fixedFontFamily):
   23626         (WebPreferences::setFixedFontFamily):
   23627         (WebPreferences::serifFontFamily):
   23628         (WebPreferences::setSerifFontFamily):
   23629         (WebPreferences::sansSerifFontFamily):
   23630         (WebPreferences::setSansSerifFontFamily):
   23631         (WebPreferences::cursiveFontFamily):
   23632         (WebPreferences::setCursiveFontFamily):
   23633         (WebPreferences::fantasyFontFamily):
   23634         (WebPreferences::setFantasyFontFamily):
   23635         (WebPreferences::defaultFontSize):
   23636         (WebPreferences::setDefaultFontSize):
   23637         (WebPreferences::defaultFixedFontSize):
   23638         (WebPreferences::setDefaultFixedFontSize):
   23639         (WebPreferences::minimumFontSize):
   23640         (WebPreferences::setMinimumFontSize):
   23641         (WebPreferences::minimumLogicalFontSize):
   23642         (WebPreferences::setMinimumLogicalFontSize):
   23643         (WebPreferences::defaultTextEncodingName):
   23644         (WebPreferences::setDefaultTextEncodingName):
   23645         (WebPreferences::userStyleSheetEnabled):
   23646         (WebPreferences::setUserStyleSheetEnabled):
   23647         (WebPreferences::userStyleSheetLocation):
   23648         (WebPreferences::setUserStyleSheetLocation):
   23649         (WebPreferences::isJavaEnabled):
   23650         (WebPreferences::setJavaEnabled):
   23651         (WebPreferences::isJavaScriptEnabled):
   23652         (WebPreferences::setJavaScriptEnabled):
   23653         (WebPreferences::javaScriptCanOpenWindowsAutomatically):
   23654         (WebPreferences::setJavaScriptCanOpenWindowsAutomatically):
   23655         (WebPreferences::arePlugInsEnabled):
   23656         (WebPreferences::setPlugInsEnabled):
   23657         (WebPreferences::allowsAnimatedImages):
   23658         (WebPreferences::setAllowsAnimatedImages):
   23659         (WebPreferences::allowAnimatedImageLooping):
   23660         (WebPreferences::setAllowAnimatedImageLooping):
   23661         (WebPreferences::setLoadsImagesAutomatically):
   23662         (WebPreferences::loadsImagesAutomatically):
   23663         (WebPreferences::setAutosaves):
   23664         (WebPreferences::autosaves):
   23665         (WebPreferences::setShouldPrintBackgrounds):
   23666         (WebPreferences::shouldPrintBackgrounds):
   23667         (WebPreferences::setPrivateBrowsingEnabled):
   23668         (WebPreferences::privateBrowsingEnabled):
   23669         (WebPreferences::setTabsToLinks):
   23670         (WebPreferences::tabsToLinks):
   23671         (WebPreferences::textAreasAreResizable):
   23672         (WebPreferences::setTextAreasAreResizable):
   23673         (WebPreferences::historyItemLimit):
   23674         (WebPreferences::setHistoryItemLimit):
   23675         (WebPreferences::historyAgeInDaysLimit):
   23676         (WebPreferences::setHistoryAgeInDaysLimit):
   23677         (WebPreferences::pageCacheSize):
   23678         (WebPreferences::objectCacheSize):
   23679         * WebPreferences.h: Added.
   23680         * WebURLResponse.cpp: Added.
   23681         (WebURLResponse::WebURLResponse):
   23682         (WebURLResponse::~WebURLResponse):
   23683         (WebURLResponse::createInstance):
   23684         (WebURLResponse::QueryInterface):
   23685         (WebURLResponse::AddRef):
   23686         (WebURLResponse::Release):
   23687         (WebURLResponse::expectedContentLength):
   23688         (WebURLResponse::initWithURL):
   23689         (WebURLResponse::MIMEType):
   23690         (WebURLResponse::suggestedFilename):
   23691         (WebURLResponse::textEncodingName):
   23692         (WebURLResponse::URL):
   23693         * WebURLResponse.h: Added.
   23694         * WebView.cpp: Added.
   23695         (WebView::WebView):
   23696         (WebView::~WebView):
   23697         (WebView::createInstance):
   23698         (WebView::mouseMoved):
   23699         (WebView::mouseDown):
   23700         (WebView::mouseUp):
   23701         (WebView::mouseDoubleClick):
   23702         (WebView::keyPress):
   23703         (registerWebView):
   23704         (WebViewWndProc):
   23705         (calculateScrollDelta):
   23706         (scrollMessageForKey):
   23707         (WebView::goToItem):
   23708         (WebView::updateWebCoreSettingsFromPreferences):
   23709         (WebView::settings):
   23710         (WebView::QueryInterface):
   23711         (WebView::AddRef):
   23712         (WebView::Release):
   23713         (WebView::canShowMIMEType):
   23714         (WebView::canShowMIMETypeAsHTML):
   23715         (WebView::MIMETypesShownAsHTML):
   23716         (WebView::setMIMETypesShownAsHTML):
   23717         (WebView::URLFromPasteboard):
   23718         (WebView::URLTitleFromPasteboard):
   23719         (WebView::initWithFrame):
   23720         (WebView::setUIDelegate):
   23721         (WebView::uiDelegate):
   23722         (WebView::setResourceLoadDelegate):
   23723         (WebView::resourceLoadDelegate):
   23724         (WebView::setDownloadDelegate):
   23725         (WebView::downloadDelegate):
   23726         (WebView::setFrameLoadDelegate):
   23727         (WebView::frameLoadDelegate):
   23728         (WebView::setPolicyDelegate):
   23729         (WebView::policyDelegate):
   23730         (WebView::mainFrame):
   23731         (WebView::backForwardList):
   23732         (WebView::setMaintainsBackForwardList):
   23733         (WebView::goBack):
   23734         (WebView::goForward):
   23735         (WebView::goToBackForwardItem):
   23736         (WebView::setTextSizeMultiplier):
   23737         (WebView::textSizeMultiplier):
   23738         (WebView::setApplicationNameForUserAgent):
   23739         (WebView::applicationNameForUserAgent):
   23740         (WebView::setCustomUserAgent):
   23741         (WebView::customUserAgent):
   23742         (WebView::userAgentForURL):
   23743         (WebView::supportsTextEncoding):
   23744         (WebView::setCustomTextEncodingName):
   23745         (WebView::customTextEncodingName):
   23746         (WebView::setMediaStyle):
   23747         (WebView::mediaStyle):
   23748         (WebView::stringByEvaluatingJavaScriptFromString):
   23749         (WebView::windowScriptObject):
   23750         (WebView::setPreferences):
   23751         (WebView::preferences):
   23752         (WebView::setPreferencesIdentifier):
   23753         (WebView::preferencesIdentifier):
   23754         (WebView::setHostWindow):
   23755         (WebView::hostWindow):
   23756         (WebView::searchFor):
   23757         (WebView::registerViewClass):
   23758         (WebView::takeStringURLFrom):
   23759         (WebView::stopLoading):
   23760         (WebView::reload):
   23761         (WebView::canGoBack):
   23762         (WebView::canGoForward):
   23763         (WebView::canMakeTextLarger):
   23764         (WebView::makeTextLarger):
   23765         (WebView::canMakeTextSmaller):
   23766         (WebView::makeTextSmaller):
   23767         (WebView::computedStyleForElement):
   23768         (WebView::editableDOMRangeForPoint):
   23769         (WebView::setSelectedDOMRange):
   23770         (WebView::selectedDOMRange):
   23771         (WebView::selectionAffinity):
   23772         (WebView::setEditable):
   23773         (WebView::isEditable):
   23774         (WebView::setTypingStyle):
   23775         (WebView::typingStyle):
   23776         (WebView::setSmartInsertDeleteEnabled):
   23777         (WebView::smartInsertDeleteEnabled):
   23778         (WebView::setContinuousSpellCheckingEnabled):
   23779         (WebView::isContinuousSpellCheckingEnabled):
   23780         (WebView::spellCheckerDocumentTag):
   23781         (WebView::undoManager):
   23782         (WebView::setEditingDelegate):
   23783         (WebView::editingDelegate):
   23784         (WebView::styleDeclarationWithText):
   23785         (WebView::replaceSelectionWithNode):
   23786         (WebView::replaceSelectionWithText):
   23787         (WebView::replaceSelectionWithMarkupString):
   23788         (WebView::replaceSelectionWithArchive):
   23789         (WebView::deleteSelection):
   23790         (WebView::applyStyle):
   23791         (WebView::copy):
   23792         (WebView::cut):
   23793         (WebView::paste):
   23794         (WebView::copyFont):
   23795         (WebView::pasteFont):
   23796         (WebView::delete_):
   23797         (WebView::pasteAsPlainText):
   23798         (WebView::pasteAsRichText):
   23799         (WebView::changeFont):
   23800         (WebView::changeAttributes):
   23801         (WebView::changeDocumentBackgroundColor):
   23802         (WebView::changeColor):
   23803         (WebView::alignCenter):
   23804         (WebView::alignJustified):
   23805         (WebView::alignLeft):
   23806         (WebView::alignRight):
   23807         (WebView::checkSpelling):
   23808         (WebView::showGuessPanel):
   23809         (WebView::performFindPanelAction):
   23810         (WebView::startSpeaking):
   23811         (WebView::stopSpeaking):
   23812         (WebView::onNotify):
   23813         (WebView::setInViewSourceMode):
   23814         (WebView::inViewSourceMode):
   23815         (WebView::viewWindow):
   23816         (WebView::setFormDelegate):
   23817         (WebView::formDelegate):
   23818         * WebView.h: Added.
   23819 
   23820