2010-01-29 Mark Rowe Fix the Mac build. Disable ENABLE_INDEXED_DATABASE since it is "completely non-functional". As the comment in FeatureDefines.xcconfig notes, the list of feature defines needs to be kept in sync across the various files. The default values also need to be kept in sync between these files and build-webkit. * Configurations/FeatureDefines.xcconfig: 2010-01-29 Alexey Proskuryakov Reviewed by Dan Bernstein. REGRESSION (TOT): Adobe CS4: Installer alerts are displayed as blank windows * WebView/WebView.mm: (shouldEnableLoadDeferring): Load deferring is enabled unless the application is Adobe Installer. (-[WebView _preferencesChangedNotification:]): Call setLoadDeferringEnabled(). 2010-01-28 Enrica Casucci Reviewed by Maciej Stachowiak. Huge plain text pastes are slow https://bugs.webkit.org/show_bug.cgi?id=34237 Mail is ignoring the fragment created from plain text or HTML that is passed to the delegate function, that creates a new one. This fix avoids creating the fragment twice. * WebView/WebHTMLView.mm: (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]): 2010-01-25 Anders Carlsson Featureless build fixes. * Misc/WebCache.mm: (+[WebCache empty]): * WebCoreSupport/WebApplicationCache.mm: * WebCoreSupport/WebChromeClient.h: * WebView/WebDataSource.mm: (-[WebDataSource _transferApplicationCache:]): * WebView/WebFrame.mm: (-[WebFrame _cacheabilityDictionary]): * WebView/WebView.mm: (WebKitInitializeApplicationCachePathIfNecessary): (-[WebView _close]): * WebView/WebViewData.mm: (-[WebViewPrivate dealloc]): (-[WebViewPrivate finalize]): 2010-01-25 Steve Falkenburg Reviewed by Simon Fraser. A WebGeolocationControllerClient is leaked for every WebView https://bugs.webkit.org/show_bug.cgi?id=34145 * WebCoreSupport/WebGeolocationControllerClient.h: * WebCoreSupport/WebGeolocationControllerClient.mm: (WebGeolocationControllerClient::geolocationDestroyed): 2010-01-22 Steve Falkenburg Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=34025 Enable client-based Geolocation abstraction for Mac, Windows AppleWebKit targets. * Configurations/FeatureDefines.xcconfig: 2010-01-22 Brady Eidson Reviewed by Adele Peterson. [WebFrame loadRequest:] does not null check the WebCore::Frame and https://bugs.webkit.org/show_bug.cgi?id=34021 * WebView/WebFrame.mm: (-[WebFrame loadRequest:]): Null check the WebCore::Frame as it can disappear out of underneath a WebFrame. 2010-01-22 Peter Kasting Reviewed by David Hyatt. When scrolling by page, hold back 1/8th of the visible size instead of 40 px. https://bugs.webkit.org/show_bug.cgi?id=32595 * WebView/WebFrameView.mm: (-[WebFrameView _verticalPageScrollDistance]): (-[WebFrameView initWithFrame:]): (-[WebFrameView _horizontalPageScrollDistance]): 2010-01-20 Jian Li Reviewed by Dmitry Titov. Implement File and Blob interfaces as defined in File API spec. https://bugs.webkit.org/show_bug.cgi?id=32912 * MigrateHeaders.make: 2010-01-19 Timothy Hatcher Fix erroneous page scrolls when trying to select text or use form elements with the Web Inspector docked. http://webkit.org/b/24403 rdar://problem/6753925 Reviewed by John Sullivan and Darin Adler. * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::scrollRectIntoView): The scrollRect.move() call was incorrectly converting the rect under the assumption that the frame view is the same size as the WebView. Using convertRect:fromView: instead is enough to fix the bug, but that code isn't needed since WebCore already takes care of scrolling the main frame's document view, so it was redundant to do it here too. 2010-01-20 Steve Falkenburg Reviewed by Darin Adler and Adam Roben. Feature defines are difficult to maintain on Windows builds https://bugs.webkit.org/show_bug.cgi?id=33883 * Configurations/FeatureDefines.xcconfig: Add comments about keeping feature definitions in sync. 2010-01-20 Dan Bernstein Reviewed by Simon Fraser. Clicking on an overflow scrollbar when the window doesn't have focus only focuses the window; it should start scrolling too https://bugs.webkit.org/show_bug.cgi?id=33906 * Misc/WebElementDictionary.mm: (+[WebElementDictionary initializeLookupTable]): Initialize WebElementIsInScrollBarKey. (-[WebElementDictionary _isInScrollBar]): Added. Returns whether the HitTestResult contains a scroll bar. * WebView/WebHTMLView.mm: (-[WebHTMLView _isScrollBarEvent:]): Added. Returns whether the event point is in a scroll bar in this view. (-[WebHTMLView acceptsFirstMouse:]): Accept scroll bar events. * WebView/WebView.mm: Define WebElementIsInScrollBarKey. * WebView/WebViewPrivate.h: Declare WebElementIsInScrollBarKey. 2010-01-19 Dan Bernstein Redo Tiger build fix without making WebTypesInternal.h a private header * WebView/WebHTMLRepresentation.h: Define and use WebNSUInteger. * WebView/WebHTMLRepresentation.mm: Import WebTypesInternal.h. 2009-12-18 Anders Carlsson Reviewed by Dan Bernstein. Crash at NetscapePluginHostProxy::processRequests * Plugins/Hosted/NetscapePluginInstanceProxy.h: (WebKit::NetscapePluginInstanceProxy::waitForReply): Wrapped with calls to willCallPluginFunction/didCallPluginFunction. This prevents the plug-in from being stopped while waiting for reply. * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::createBindingsInstance): Protect the instance proxy in case the plug-in host crashes while waiting for reply. * Plugins/Hosted/ProxyInstance.h: (WebKit::ProxyInstance::waitForReply): Added. Calls through to NetscapePluginInstanceProxy::waitForReply(), but returns a null reply if the proxy gets invalidated while waiting for the reply. * Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyInstance::invoke): Use ProxyInstance::waitForReply(). (WebKit::ProxyInstance::supportsInvokeDefaultMethod): Ditto. (WebKit::ProxyInstance::supportsConstruct): Ditto. (WebKit::ProxyInstance::getPropertyNames): Ditto. (WebKit::ProxyInstance::methodsNamed): Ditto. (WebKit::ProxyInstance::fieldNamed): Ditto. (WebKit::ProxyInstance::fieldValue): Ditto. (WebKit::ProxyInstance::setFieldValue): Ditto. 2010-01-19 John Sullivan Tiger build fix. * WebView/WebHTMLRepresentation.h: Added #import for WebTypesInternal.h so NSUInteger will be defined on Tiger. 2010-01-19 Brian Weinstein Reviewed by Tim Hatcher. Part of . Caught exceptions still pause the debugger. Update WebScriptDebugger::exception to have the hasHandler parameter. This just adds a new parameter, no behavior is changed. * WebView/WebScriptDebugger.h: * WebView/WebScriptDebugger.mm: (WebScriptDebugger::exception): 2010-01-19 Jon Honeycutt MSAA: The child