1 2010-02-08 Maciej Stachowiak <mjs@apple.com>
3 Reviewed by Cameron Zwarich.
5 Restore ENABLE_RUBY flag so vendors can ship with Ruby disabled if they choose.
6 https://bugs.webkit.org/show_bug.cgi?id=34698
8 * Configurations/FeatureDefines.xcconfig:
10 2010-02-09 Alexey Proskuryakov <ap@apple.com>
12 Reviewed by Geoffrey Garen.
14 https://bugs.webkit.org/show_bug.cgi?id=34490
15 WebCore::ImageEventSender::dispatchPendingEvents() crashes in certain conditions
17 * ForwardingHeaders/wtf/ValueCheck.h: Added.
19 2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
21 Reviewed by Kenneth Rohde Christiansen.
23 Support frameset flattening
24 https://bugs.webkit.org/show_bug.cgi?id=32717
26 Add support for enabling/disabling FrameSet Flattening on the Mac port.
28 * WebView/WebPreferenceKeysPrivate.h:
29 * WebView/WebPreferences.mm:
30 (+[WebPreferences initialize]):
31 (-[WebPreferences isFrameSetFlatteningEnabled]):
32 (-[WebPreferences setFrameSetFlatteningEnabled:]):
33 * WebView/WebPreferencesPrivate.h:
35 (-[WebView _preferencesChangedNotification:]):
37 2010-02-09 Alexey Proskuryakov <ap@apple.com>
39 Reviewed by Anders Carlsson.
41 https://bugs.webkit.org/show_bug.cgi?id=34771
42 A stray mouse moved event is sent to plug-ins after mouse exit
44 * WebCoreSupport/WebFrameLoaderClient.mm: (NetscapePluginWidget::handleEvent): A mouseout
45 DOM event is dispatched while handling NSMouseMoved - but we shouldn't be sending a
46 mouse moved event to plug-ins at this point.
48 2010-02-09 Shinichiro Hamaji <hamaji@chromium.org>
50 Reviewed by Darin Adler.
52 Provide a way to get total number of pages to be printed
53 https://bugs.webkit.org/show_bug.cgi?id=34699
55 * Misc/WebCoreStatistics.h:
56 * Misc/WebCoreStatistics.mm:
57 (-[WebFrame numberOfPages:pageWidthInPixels:]):
59 2010-02-08 Alexey Proskuryakov <ap@apple.com>
61 Reviewed by Darin Adler.
63 https://bugs.webkit.org/show_bug.cgi?id=34727
64 Assertion crashes and freezes when plug-in property access results in an exception
66 * Plugins/Hosted/WebKitPluginClient.defs: Made PCSetProperty and PCRemoveProperty async.
67 A plug-in can call back whil processing this call (e.g. for NPN_SetException), so we need
68 to listen for messages while waiting for reply.
70 * Plugins/Hosted/NetscapePluginHostProxy.mm:
71 (WKPCEvaluate): If there is no instance proxy, return KERN_FAILURE. This improves consistency
72 between method implementations, and leaves us with one less IPC call to make in failure case
73 (returning false with KERN_SUCCESS and returning KERN_FAILURE looks the same from plugin
76 (WKPCInvokeDefault): Ditto.
77 (WKPCGetProperty): Ditto.
78 (WKPCSetProperty): Send a reply once done.
79 (WKPCRemoveProperty): Ditto.
80 (WKPCHasProperty): If there is no instance proxy, return KERN_FAILURE.
81 (WKPCHasMethod): Ditto.
82 (WKPCEnumerate): Ditto.
84 2010-02-08 Alexey Proskuryakov <ap@apple.com>
86 Reviewed by Anders Carlsson.
88 <rdar://problem/6530010> OOP: Support NPN_SetException
90 Tested by plugins/netscape-throw-exception.html (removed it from skipped list).
92 * Plugins/Hosted/NetscapePluginHostProxy.mm:
94 * Plugins/Hosted/NetscapePluginInstanceProxy.h:
95 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
96 (WebKit::globalExceptionString):
97 (WebKit::NetscapePluginInstanceProxy::setGlobalException):
98 (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState):
99 * Plugins/Hosted/ProxyInstance.mm:
100 (WebKit::ProxyInstance::invoke):
101 (WebKit::ProxyInstance::getPropertyNames):
102 (WebKit::ProxyInstance::fieldValue):
103 (WebKit::ProxyInstance::setFieldValue):
104 * Plugins/Hosted/WebKitPluginClient.defs:
105 Route exception string to a global that's checked after calling into plug-in (just like in
108 2010-02-05 Kevin Decker <kdecker@apple.com>
110 Reviewed by Mark Rowe.
112 https://bugs.webkit.org/show_bug.cgi?id=34661
113 <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
115 * Plugins/Hosted/WebHostedNetscapePluginView.mm:
116 (-[WebHostedNetscapePluginView updateAndSetWindow]): When clipping out NPDrawingModelCoreAnimation plug-ins, provide a zero'd out clipRect.
117 * Plugins/WebBaseNetscapePluginView.h: Moved superviewsHaveSuperviews to the base class.
118 * Plugins/WebBaseNetscapePluginView.mm:
119 (-[WebBaseNetscapePluginView superviewsHaveSuperviews]): Added to the base class; extracted from WebNetscapePluginView.
120 (-[WebBaseNetscapePluginView shouldClipOutPlugin]): Added new method with code extracted from WebNetscapePluginView.
121 * Plugins/WebNetscapePluginView.mm:
122 (-[WebNetscapePluginView saveAndSetNewPortStateForUpdate:]): When clipping out NPDrawingModelCoreAnimation plug-ins, provide a zero'd out clipRect.
124 2010-02-04 Mark Rowe <mrowe@apple.com>
126 Rubber-stamped by Dan Bernstein.
128 Fix the ability to #include <WebKit/DOMFile.h>.
130 * MigrateHeaders.make: Mark DOMBlob.h as a public header since the already-public DOMFile.h depends on it.
132 2010-02-04 John Sullivan <sullivan@apple.com>
134 https://bugs.webkit.org/show_bug.cgi?id=34611
135 WebLocalizedString() could use an assertion that it is being called on the main thread
137 Reviewed by Tim Hatcher.
139 * Misc/WebLocalizableStrings.m: Removed.
140 * Misc/WebLocalizableStrings.mm: Copied from mac/Misc/WebLocalizableStrings.m.
141 Renamed to use .mm extension so it can include a C++ header.
142 (WebLocalizedString):
143 Added an assertion that this is being called on the main thread.
145 2010-02-04 Dan Bernstein <mitz@apple.com>
147 Reviewed by Simon Fraser.
149 REGRESSION (r53718): When scrolling a tall window by page, the overlap between pages is too big
150 https://bugs.webkit.org/show_bug.cgi?id=34371
152 * WebView/WebFrameView.mm:
153 (-[WebFrameView _verticalPageScrollDistance]): Use Scrollbar methods instead of
154 constants, and cap the scroll distance.
155 (-[WebFrameView initWithFrame:]): Use Scrollbar::pixelsPerLineStep() instead of
156 cScrollbarPixelsPerLineStep.
157 (-[WebFrameView _horizontalPageScrollDistance]):Use Scrollbar methods instead of
158 constants, and cap the scroll distance.
160 2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
162 Reviewed by Eric Seidel.
164 Provide a way to get page number with layoutTestController
165 https://bugs.webkit.org/show_bug.cgi?id=33840
167 * Misc/WebCoreStatistics.h:
168 * Misc/WebCoreStatistics.mm:
169 (-[WebFrame pageNumberForElement:element:pageWidth:]):
171 2010-01-29 Gavin Barraclough <barraclough@apple.com>
173 Reviewed by Sam Weinig + Oliver Hunt.
175 Bug 34346 - With JSC bindings, make processingUserGesture work with events in Isolated Worlds
177 Pass processeing user gensture flag to media play/pause methods.
179 * WebView/WebVideoFullscreenHUDWindowController.mm:
180 (-[WebVideoFullscreenHUDWindowController setPlaying:]):
182 2010-02-01 Dan Bernstein <mitz@apple.com>
184 Reviewed by Anders Carlsson.
186 <rdar://problem/7044385> Crash at NetscapePlugInStreamLoader::didReceiveResponse()
188 The crash was caused by having two streams with a streamID of 1.
190 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
191 (WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy): Fixed a typo. Now
192 correctly increments m_currentURLRequestID to account for the manual stream.
193 (WebKit::NetscapePluginInstanceProxy::disconnectStream): If the stream is the manual stream,
194 null it out instead of trying to remove it from the map. Added an assertion.
195 (WebKit::NetscapePluginInstanceProxy::loadRequest): Added an assertion.
197 == Rolled over to ChangeLog-2010-01-29 ==