Home | History | Annotate | Download | only in mac
      1 2010-02-12  Dan Bernstein  <mitz (a] apple.com>
      2 
      3         Reviewed by Darin Adler.
      4 
      5         <rdar://problem/7615234> REGRESSION (r48586): Loading an HTML page causes
      6         PDFKit to be loaded
      7 
      8         * WebView/WebPDFDocumentExtras.h: Removed the category declaration and
      9         addWebPDFDocumentExtras(). Declare allScriptsInPDFDocument().
     10         * WebView/WebPDFDocumentExtras.mm:
     11         (allScriptsInPDFDocument): Changed the -_web_allScripts method into this function.
     12         * WebView/WebPDFRepresentation.mm: Removed +initialize.
     13         (-[WebPDFRepresentation finishedLoadingWithDataSource:]): Use
     14         allScriptsInPDFDocument() instead of -_web_allScripts.
     15 
     16 2010-02-10  Geoffrey Garen  <ggaren (a] apple.com>
     17 
     18         Reviewed by Oliver Hunt.
     19 
     20         Exported some new JavaScript heap introspection.
     21 
     22         * Misc/WebCoreStatistics.h:
     23         * Misc/WebCoreStatistics.mm:
     24         (+[WebCoreStatistics javaScriptObjectTypeCounts]): Just like
     25         javaScriptProtectedObjectTypeCounts, except this function enumerates all
     26         live objects, not just protected objects.
     27 
     28 2010-02-08  Maciej Stachowiak  <mjs (a] apple.com>
     29 
     30         Reviewed by Cameron Zwarich.
     31 
     32         Restore ENABLE_RUBY flag so vendors can ship with Ruby disabled if they choose.
     33         https://bugs.webkit.org/show_bug.cgi?id=34698
     34 
     35         * Configurations/FeatureDefines.xcconfig:
     36 
     37 2010-02-09  Alexey Proskuryakov  <ap (a] apple.com>
     38 
     39         Reviewed by Geoffrey Garen.
     40 
     41         https://bugs.webkit.org/show_bug.cgi?id=34490
     42         WebCore::ImageEventSender::dispatchPendingEvents() crashes in certain conditions
     43 
     44         * ForwardingHeaders/wtf/ValueCheck.h: Added.
     45 
     46 2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia (a] openbossa.org>
     47 
     48         Reviewed by Kenneth Rohde Christiansen.
     49 
     50         Support frameset flattening
     51         https://bugs.webkit.org/show_bug.cgi?id=32717
     52 
     53         Add support for enabling/disabling FrameSet Flattening on the Mac port.
     54 
     55         * WebView/WebPreferenceKeysPrivate.h:
     56         * WebView/WebPreferences.mm:
     57         (+[WebPreferences initialize]):
     58         (-[WebPreferences isFrameSetFlatteningEnabled]):
     59         (-[WebPreferences setFrameSetFlatteningEnabled:]):
     60         * WebView/WebPreferencesPrivate.h:
     61         * WebView/WebView.mm:
     62         (-[WebView _preferencesChangedNotification:]):
     63 
     64 2010-02-09  Alexey Proskuryakov  <ap (a] apple.com>
     65 
     66         Reviewed by Anders Carlsson.
     67 
     68         https://bugs.webkit.org/show_bug.cgi?id=34771
     69         A stray mouse moved event is sent to plug-ins after mouse exit
     70 
     71         * WebCoreSupport/WebFrameLoaderClient.mm: (NetscapePluginWidget::handleEvent): A mouseout
     72         DOM event is dispatched while handling NSMouseMoved - but we shouldn't be sending a
     73         mouse moved event to plug-ins at this point.
     74 
     75 2010-02-09  Shinichiro Hamaji  <hamaji (a] chromium.org>
     76 
     77         Reviewed by Darin Adler.
     78 
     79         Provide a way to get total number of pages to be printed
     80         https://bugs.webkit.org/show_bug.cgi?id=34699
     81 
     82         * Misc/WebCoreStatistics.h:
     83         * Misc/WebCoreStatistics.mm:
     84         (-[WebFrame numberOfPages:pageWidthInPixels:]):
     85 
     86 2010-02-08  Alexey Proskuryakov  <ap (a] apple.com>
     87 
     88         Reviewed by Darin Adler.
     89 
     90         https://bugs.webkit.org/show_bug.cgi?id=34727
     91         Assertion crashes and freezes when plug-in property access results in an exception
     92 
     93         * Plugins/Hosted/WebKitPluginClient.defs: Made PCSetProperty and PCRemoveProperty async.
     94         A plug-in can call back whil processing this call (e.g. for NPN_SetException), so we need
     95         to listen for messages while waiting for reply.
     96 
     97         * Plugins/Hosted/NetscapePluginHostProxy.mm:
     98         (WKPCEvaluate): If there is no instance proxy, return KERN_FAILURE. This improves consistency
     99         between method implementations, and leaves us with one less IPC call to make in failure case
    100         (returning false with KERN_SUCCESS and returning KERN_FAILURE looks the same from plugin
    101         host code).
    102         (WKPCInvoke): Ditto.
    103         (WKPCInvokeDefault): Ditto.
    104         (WKPCGetProperty): Ditto.
    105         (WKPCSetProperty): Send a reply once done.
    106         (WKPCRemoveProperty): Ditto.
    107         (WKPCHasProperty): If there is no instance proxy, return KERN_FAILURE.
    108         (WKPCHasMethod): Ditto.
    109         (WKPCEnumerate): Ditto.
    110 
    111 2010-02-08  Alexey Proskuryakov  <ap (a] apple.com>
    112 
    113         Reviewed by Anders Carlsson.
    114 
    115         <rdar://problem/6530010> OOP: Support NPN_SetException
    116 
    117         Tested by plugins/netscape-throw-exception.html (removed it from skipped list).
    118 
    119         * Plugins/Hosted/NetscapePluginHostProxy.mm:
    120         (WKPCSetException):
    121         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
    122         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
    123         (WebKit::globalExceptionString):
    124         (WebKit::NetscapePluginInstanceProxy::setGlobalException):
    125         (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState):
    126         * Plugins/Hosted/ProxyInstance.mm:
    127         (WebKit::ProxyInstance::invoke):
    128         (WebKit::ProxyInstance::getPropertyNames):
    129         (WebKit::ProxyInstance::fieldValue):
    130         (WebKit::ProxyInstance::setFieldValue):
    131         * Plugins/Hosted/WebKitPluginClient.defs:
    132         Route exception string to a global that's checked after calling into plug-in (just like in
    133         in-process case).
    134 
    135 2010-02-05  Kevin Decker  <kdecker (a] apple.com>
    136 
    137         Reviewed by Mark Rowe.
    138 
    139         https://bugs.webkit.org/show_bug.cgi?id=34661
    140         <rdar://problem/7614067> REGRESSION (Safari 4.0-> Safari 4.0.4): NPP_SetWindow no longer sets a clipRect of (0,0,0,0) when it becomes hidden
    141         
    142         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
    143         (-[WebHostedNetscapePluginView updateAndSetWindow]): When clipping out NPDrawingModelCoreAnimation plug-ins, provide a zero'd out clipRect.
    144         * Plugins/WebBaseNetscapePluginView.h: Moved superviewsHaveSuperviews to the base class.
    145         * Plugins/WebBaseNetscapePluginView.mm:
    146         (-[WebBaseNetscapePluginView superviewsHaveSuperviews]): Added to the base class; extracted from WebNetscapePluginView.
    147         (-[WebBaseNetscapePluginView shouldClipOutPlugin]): Added new method with code extracted from WebNetscapePluginView.
    148         * Plugins/WebNetscapePluginView.mm:
    149         (-[WebNetscapePluginView saveAndSetNewPortStateForUpdate:]): When clipping out NPDrawingModelCoreAnimation plug-ins, provide a zero'd out clipRect.
    150 
    151 2010-02-04  Mark Rowe  <mrowe (a] apple.com>
    152 
    153         Rubber-stamped by Dan Bernstein.
    154 
    155         Fix the ability to #include <WebKit/DOMFile.h>.
    156 
    157         * MigrateHeaders.make: Mark DOMBlob.h as a public header since the already-public DOMFile.h depends on it.
    158 
    159 2010-02-04  John Sullivan  <sullivan (a] apple.com>
    160 
    161         https://bugs.webkit.org/show_bug.cgi?id=34611
    162         WebLocalizedString() could use an assertion that it is being called on the main thread
    163 
    164         Reviewed by Tim Hatcher.
    165 
    166         * Misc/WebLocalizableStrings.m: Removed.
    167         * Misc/WebLocalizableStrings.mm: Copied from mac/Misc/WebLocalizableStrings.m.
    168         Renamed to use .mm extension so it can include a C++ header.
    169         (WebLocalizedString):
    170         Added an assertion that this is being called on the main thread.
    171 
    172 2010-02-04  Dan Bernstein  <mitz (a] apple.com>
    173 
    174         Reviewed by Simon Fraser.
    175 
    176         REGRESSION (r53718): When scrolling a tall window by page, the overlap between pages is too big
    177         https://bugs.webkit.org/show_bug.cgi?id=34371
    178 
    179         * WebView/WebFrameView.mm:
    180         (-[WebFrameView _verticalPageScrollDistance]): Use Scrollbar methods instead of
    181         constants, and cap the scroll distance.
    182         (-[WebFrameView initWithFrame:]): Use Scrollbar::pixelsPerLineStep() instead of
    183         cScrollbarPixelsPerLineStep.
    184         (-[WebFrameView _horizontalPageScrollDistance]):Use Scrollbar methods instead of
    185         constants, and cap the scroll distance.
    186 
    187 2010-02-01  Shinichiro Hamaji  <hamaji (a] chromium.org>
    188 
    189         Reviewed by Eric Seidel.
    190 
    191         Provide a way to get page number with layoutTestController
    192         https://bugs.webkit.org/show_bug.cgi?id=33840
    193 
    194         * Misc/WebCoreStatistics.h:
    195         * Misc/WebCoreStatistics.mm:
    196         (-[WebFrame pageNumberForElement:element:pageWidth:]):
    197 
    198 2010-01-29  Gavin Barraclough  <barraclough (a] apple.com>
    199 
    200         Reviewed by Sam Weinig + Oliver Hunt.
    201 
    202         Bug 34346 - With JSC bindings, make processingUserGesture work with events in Isolated Worlds
    203 
    204         Pass processeing user gensture flag to media play/pause methods.
    205 
    206         * WebView/WebVideoFullscreenHUDWindowController.mm:
    207         (-[WebVideoFullscreenHUDWindowController setPlaying:]):
    208 
    209 2010-02-01  Dan Bernstein  <mitz (a] apple.com>
    210 
    211         Reviewed by Anders Carlsson.
    212 
    213         <rdar://problem/7044385> Crash at NetscapePlugInStreamLoader::didReceiveResponse()
    214 
    215         The crash was caused by having two streams with a streamID of 1.
    216 
    217         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
    218         (WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy): Fixed a typo. Now
    219         correctly increments m_currentURLRequestID to account for the manual stream.
    220         (WebKit::NetscapePluginInstanceProxy::disconnectStream): If the stream is the manual stream,
    221         null it out instead of trying to remove it from the map. Added an assertion.
    222         (WebKit::NetscapePluginInstanceProxy::loadRequest): Added an assertion.
    223 
    224 == Rolled over to ChangeLog-2010-01-29 ==
    225