2012-01-24 Enrica Casucci WebHTMLView should implement typingAttributes methods to work correctly with the Inspector bar in Mail. https://bugs.webkit.org/show_bug.cgi?id=76951 The Inspector bar calls the typingAttributes methods on the clients that support it to retrieve the set of attributes representing the style at the selection and uses this information to update the state of the B, I and U buttons. If this method is not supported, it defaults to the attributes of the previous character position, reporting an incorrect state. This occurs only when we have a caret selection. Reviewed by Alexey Proskuryakov. * WebView/WebHTMLView.mm: (-[WebHTMLView _styleForAttributeChange:]): Removed dead code. (-[WebHTMLView _updateFontPanel]): Removed comment that doesn't apply anymore. (-[WebHTMLView typingAttributes]): Added. 2012-01-24 Benjamin Poulain pageCacheSupportsPlugins should default to true on WebKit1 https://bugs.webkit.org/show_bug.cgi?id=76891 Reviewed by Joseph Pecoraro. The default was left out of r102619 by accident. * WebView/WebPreferences.mm: (+[WebPreferences initialize]): 2012-01-23 Geoffrey Garen JSValue::toString() should return a JSString* instead of a UString https://bugs.webkit.org/show_bug.cgi?id=76861 Reviewed by Gavin Barraclough. Mechanical changes to call value() after calling toString(), to convert from "JS string" (JSString*) to "C++ string" (UString), since toString() no longer returns a "C++ string". * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::addValueToArray): * WebView/WebFrame.mm: (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]): 2012-01-20 Sam Weinig Make WebCore RunLoop work for WebKit1 https://bugs.webkit.org/show_bug.cgi?id=76739 Reviewed by Anders Carlsson. * Carbon/CarbonWindowAdapter.mm: (+[CarbonWindowAdapter initialize]): * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]): * History/WebHistoryItem.mm: (+[WebHistoryItem initialize]): * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]): * Misc/WebIconDatabase.mm: (+[WebIconDatabase initialize]): * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]): * Plugins/WebBaseNetscapePluginView.mm: * Plugins/WebBasePluginPackage.mm: * Plugins/WebNetscapePluginView.mm: (+[WebNetscapePluginView initialize]): * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]): * WebCoreSupport/WebFrameLoaderClient.mm: * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]): * WebView/WebDataSource.mm: (+[WebDataSourcePrivate initialize]): * WebView/WebHTMLView.mm: (+[WebHTMLViewPrivate initialize]): (+[WebHTMLView initialize]): * WebView/WebResource.mm: (+[WebResourcePrivate initialize]): * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]): * WebView/WebView.mm: (+[WebView initialize]): * WebView/WebViewData.mm: (+[WebViewPrivate initialize]): Initialized the main run loop in addition to other initialization. 2012-01-20 Simon Fraser https://bugs.webkit.org/show_bug.cgi?id=76444 #if ENABLE(CSS_SHADERS) cannot appear in framework headers. This breaks builds. * WebView/WebPreferences.mm: * WebView/WebPreferencesPrivate.h: 2012-01-20 Alexandru Chiculita CSS Shaders: Add a Settings flag to enable/disable CSS Shaders at runtime https://bugs.webkit.org/show_bug.cgi?id=76444 Added private WebPreference property called "WebKitCSSCustomFilterEnabled". Reviewed by Nikolas Zimmermann. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences cssCustomFilterEnabled]): (-[WebPreferences setCSSCustomFilterEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): 2012-01-17 Enrica Casucci Missing NSForegroundColorAttributeName should be treated as black instead of transparent. https://bugs.webkit.org/show_bug.cgi?id=76490 Starting with Lion, there is no more NSForegroundColor attribute in the dictionary if the color matches the default (solid black). The fix consists in treating the lack of color as solid black instead of transparent as we did before. Added a TestWebKitAPI test. Reviewed by Darin Adler and Dan Bernstein. * WebView/WebHTMLView.mm: (-[WebHTMLView _styleForAttributeChange:]): 2012-01-17 Matthew Delaney On post-Lion releases, preserve the Lion behavior where WebKit explicitly calls -setGeometryFlipped on the hosting layer for applications that were linked on Lion or earlier. Reviewed by Simon Fraser. * WebCoreSupport/WebSystemInterface.mm: Init newly added function. * WebView/WebHTMLView.mm: Added case for post-Lion builds that calls -setGeometryFlipped if the app is linked on or before Lion. 2012-01-17 Enrica Casucci REGRESSION (r101413): Correction panel overlaps misspelled text. https://bugs.webkit.org/show_bug.cgi?id=74589 When converting the rectangle from the root view, we need to take into account the height of the rectangle. Reviewed by Anders Carlsson. * WebView/WebView.mm: (-[WebView _convertRectFromRootView:]): 2012-01-16 Simon Fraser ASSERTION FAILED: Uncaught exception - Cannot lock focus on image , because it is size zero loading techcrunch.com Reviewed by Anders Carlsson. Avoid trying to create image snapshots for zero-sized plugins, because it causes -[NSView lockFocus] to throw an exception. * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView cacheSnapshot]): 2012-01-16 Alexey Proskuryakov A follow-up fix for: A warning is logged to console when typing a bare "/" in Safari address bar https://bugs.webkit.org/show_bug.cgi?id=76236 Reviewed by John Sullivan. * Misc/WebNSURLExtras.mm: (+[NSURL _web_URLWithData:relativeToURL:]): It's OK to have a path when there is a base URL. 2012-01-16 Jon Lee Build fix for r105086. * Configurations/FeatureDefines.xcconfig: 2012-01-12 Alexey Proskuryakov A warning is logged to console when typing a bare "/" in Safari address bar https://bugs.webkit.org/show_bug.cgi?id=76236 Reviewed by John Sullivan. * Misc/WebNSURLExtras.mm: (+[NSURL _web_URLWithData:relativeToURL:]): Bail out early for paths. 2012-01-16 Pablo Flouret Fix compilation errors on build-webkit --debug --no-svg --no-svg-fonts --no-svg-dom-objc-bindings on mac. https://bugs.webkit.org/show_bug.cgi?id=75865 Reviewed by Hajime Morita. * WebView/WebFrame.mm: (-[WebFrame _pauseSVGAnimation:onSMILNode:atTime:]): 2012-01-15 Pablo Flouret Fix compilation errors on build-webkit --debug --no-video on mac. https://bugs.webkit.org/show_bug.cgi?id=75867 Reviewed by Philippe Normand. - WebChromeClient::fullScreenRendererChanged() declaration wrongly guarded by VIDEO feature instead of FULLSCREEN_API. - _isAnyMoviePlaying implementation depends on VIDEO. * WebCoreSupport/WebChromeClient.h: * WebView/WebFullScreenController.mm: (-[WebFullScreenController _isAnyMoviePlaying]): 2012-01-11 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=75904 WebKit 1: Scrollbar uiStateTransitionProgress requires tracking the mouse all the time -and corresponding- Reviewed by Darin Adler. New ivar trackingAreaForNonKeyWindow stores our NSTrackingArea whenever we have one. * WebView/WebHTMLView.mm: (-[WebHTMLViewPrivate dealloc]): (-[WebHTMLViewPrivate clear]): When we know that mouse movements won't affect anything other than scrollbars, call our new function passMouseMovedEventToScrollbars(), otherwise we'll call the old mouseMoved(). (mouseEventIsPartOfClickOrDrag): (-[WebHTMLView _updateMouseoverWithEvent:]): Make sure not to remove the mouse observer when there are legacy scrollbars. (-[WebHTMLView removeMouseMovedObserver]): Set up a tracking area when the window is not key to ensure that the WebView gets the relevant events. Remove it when the window is key again so that we rely on the existing mechanism. (-[WebHTMLView windowDidBecomeKey:]): (-[WebHTMLView windowDidResignKey:]): 2012-01-10 Dan Bernstein Made -[WebHistoryItem copyWithZone:] allocate an object of the same class as the receiver. Reviewed by Mark Rowe. * History/WebHistoryItem.mm: (-[WebHistoryItem copyWithZone:]): 2012-01-10 Chris Marrin Wrapped allowedCompositingTriggers in ACCELERATED_COMPOSITING ifdef to make non-accelerated builds work Unreviewed. * WebCoreSupport/WebChromeClient.h: 2012-01-10 Chris Marrin Turn off the FilterTrigger in WebKit and WebKit2 https://bugs.webkit.org/show_bug.cgi?id=75914 Reviewed by Simon Fraser. Implement allowedCompositingTriggers to turn on all compositing triggers except FilterTrigger. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::allowedCompositingTriggers): 2012-01-10 Dan Bernstein Change -[WebHistoryItem copyWithZone:] to not use NSCopyObject() https://bugs.webkit.org/show_bug.cgi?id=75980 Reviewed by Mark Rowe. * History/WebHistoryItem.mm: (-[WebHistoryItem copyWithZone:]): Replaced NSCopyObject() with -alloc, -initWithWebCoreHistoryItem:. 2012-01-06 Simon Fraser Mitigate scrollbar differences when running pixel tests https://bugs.webkit.org/show_bug.cgi?id=67217 Reviewed by Dan Bernstein. Make it possible to register a custom NSScroller class, which the WebDynamicScrollBarsView will use when mock scrollbars are enabled. Also ensure that the WebPreferences mock scrollbars preference is migrated into Settings. * WebView/WebDynamicScrollBarsView.h: * WebView/WebDynamicScrollBarsView.mm: (+[WebDynamicScrollBarsView _horizontalScrollerClass]): (+[WebDynamicScrollBarsView _verticalScrollerClass]): (+[WebDynamicScrollBarsView setCustomScrollerClass:]): * WebView/WebView.mm: (-[WebView _preferencesChanged:]): 2012-01-05 Dan Bernstein Update copyright strings Reviewed by Mark Rowe. * Info.plist: 2012-01-05 Pratik Solanki WebFrameLoaderClient::userAgent does unnecessary NSString/NSURL conversions https://bugs.webkit.org/show_bug.cgi?id=75586 Reviewed by Alexey Proskuryakov. We do unnecessary KURL->NSURL* and String<->NSString* when calling [WebView userAgentForURL:] from WebFrameLoaderClient::userAgent. Instead we add a separate function, _userAgentString that returns a WTF::String to make this call faster. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::userAgent): * WebView/WebView.mm: (-[WebView _userAgentString]): (-[WebView userAgentForURL:]): * WebView/WebViewInternal.h: 2012-01-04 Anders Carlsson Ambiguous if-then-else in Source/WebKit/mac/Misc/WebNSPasteboardExtras.mm https://bugs.webkit.org/show_bug.cgi?id=75447 Reviewed by Brian Weinstein. Resolve the ambiguity. * Misc/WebNSPasteboardExtras.mm: (-[NSPasteboard _web_writeImage:element:URL:title:archive:types:source:]): 2012-01-04 Mihnea Ovidenie [Mac]Fix build after changeset 103997 https://bugs.webkit.org/show_bug.cgi?id=75530 Reviewed by Andreas Kling. * WebView/WebFrame.mm: * WebView/WebHTMLView.mm: * WebView/WebPDFView.mm: * WebView/WebView.mm: 2012-01-03 Jon Lee Leak of WebNotificationClient when page is destroyed https://bugs.webkit.org/show_bug.cgi?id=74980 Reviewed by Mark Rowe. * WebCoreSupport/WebNotificationClient.h: * WebCoreSupport/WebNotificationClient.mm: (WebNotificationClient::notificationControllerDestroyed): Remove the instance. 2012-01-02 Dan Bernstein [mac] Remove -[WebView setHoverFeedbackSuspended:] https://bugs.webkit.org/show_bug.cgi?id=75406 Reviewed by Tim Hatcher. * WebView/WebHTMLView.mm: (-[WebHTMLView _updateMouseoverWithEvent:]): Removed check for suspended hover updates. * WebView/WebHTMLViewInternal.h: Removed -_hoverFeedbackSuspendedChanged. * WebView/WebView.mm: (-[WebView setHoverFeedbackSuspended:]): Left empty implementation to support versions of Safari that call this. (-[WebView isHoverFeedbackSuspended]): Left implementation that always returns NO to support versions of Safari that call this. * WebView/WebViewData.h: Removed hoverFeedbackSuspended ivar. * WebView/WebViewPrivate.h: Removed method definitions. 2011-12-31 Dan Bernstein WebKit/mac changes for: REGRESSION (WebKit2): Cursor, hover states not updated when page scrolls under stationary mouse pointer https://bugs.webkit.org/show_bug.cgi?id=75405 Reviewed by Anders Carlsson. Removed the WebKit/mac mechanism for dispatching fake mouse moved events when an HTML frame scrolls, since FrameView now does this. * WebView/WebHTMLView.mm: (-[WebHTMLViewPrivate dealloc]): Removed an assertion about a removed ivar. (-[WebHTMLView _updateMouseoverWithFakeEvent]): Removed call to -_cancelUpdateMouseoverTimer. (-[WebHTMLView _frameOrBoundsChanged]): Removed code to schedule a timer for dispatching a mouse moved event on scroll. (-[WebHTMLView close]): Removed call to _cancelUpdateMouseoverTimer. (-[WebHTMLView viewWillMoveToWindow:]): Ditto. (-[WebHTMLView mouseDown:]): Ditto. 2011-12-23 Ryosuke Niwa Chromium Mac build fix. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): 2011-12-21 Sam Weinig Start extracting platform specific bits out of PlatformEvents https://bugs.webkit.org/show_bug.cgi?id=75063 Reviewed by Anders Carlsson. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): * WebView/WebFrame.mm: * WebView/WebHTMLView.mm: (-[WebHTMLView menuForEvent:]): (-[WebHTMLView acceptsFirstMouse:]): (-[WebHTMLView shouldDelayWindowOrderingForEvent:]): (currentKeyboardEvent): (-[WebHTMLView flagsChanged:]): * WebView/WebPDFView.mm: (-[WebPDFView PDFViewWillClickOnLink:withURL:]): * WebView/WebView.mm: 2011-12-21 Timothy Hatcher Web Inspector: suppress incremental rendering and use application chrome mode https://webkit.org/b/75026 Reviewed by Joseph Pecoraro. * WebCoreSupport/WebInspectorClient.mm: (-[WebInspectorWindowController init]): Sort the preferences, remove the Leopard font family setting, set suppress incremental rendering and use application chrome mode. 2011-12-20 Pavel Feldman Web Inspector: reproducible crash after closing web inspector and browser window (iCab) https://bugs.webkit.org/show_bug.cgi?id=74255 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebInspectorClient.mm: (WebInspectorClient::bringFrontendToFront): (-[WebInspectorWindowController destroyInspectorView:]): 2011-12-19 Eric Carlson Enable for Mac build https://bugs.webkit.org/show_bug.cgi?id=74838 Reviewed by Darin Adler. * Configurations/FeatureDefines.xcconfig: 2011-12-16 Ryosuke Niwa Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step https://bugs.webkit.org/show_bug.cgi?id=74748 Reviewed by Eric Seidel. * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::registerUndoOrRedoStep): (WebEditorClient::registerUndoStep): (WebEditorClient::registerRedoStep): 2011-12-16 Sam Weinig Give PlatformEvents a base class https://bugs.webkit.org/show_bug.cgi?id=74685 Reviewed by Anders Carlsson. Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent and PlatformGestureEvent and move Type enumeration and modifiers down to it. * WebView/WebFrame.mm: (-[WebFrame _dragSourceEndedAt:operation:]): * WebView/WebHTMLView.mm: (currentKeyboardEvent): (-[WebHTMLView _interpretKeyEvent:savingCommands:]): * WebView/WebPDFView.mm: (-[WebPDFView PDFViewWillClickOnLink:withURL:]): 2011-12-16 Simon Fraser Fix a #elsif fumble in my earlier commit. * WebView/WebHTMLView.mm: (-[WebHTMLView attachRootLayer:]): 2011-12-16 Ryosuke Niwa Only EditCommandComposition should implement unapply and reapply https://bugs.webkit.org/show_bug.cgi?id=74490 Reviewed by Eric Seidel. * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (-[WebUndoStep initWithUndoStep:]): (-[WebUndoStep dealloc]): (+[WebUndoStep stepWithUndoStep:]): (-[WebUndoStep step]): (-[WebEditorUndoTarget undoEditing:]): (-[WebEditorUndoTarget redoEditing:]): (WebEditorClient::registerCommandForUndoOrRedo): (WebEditorClient::registerCommandForUndo): (WebEditorClient::registerCommandForRedo): 2011-12-16 Simon Fraser Avoid calling -setGeometryFlipped ourselves on the layer hosting view's layer Reviewed by Sam Weinig. Now that we're using a flipped view to host the compositing layers, we should not set geometryFlipped on the root layer ourselves. * WebView/WebHTMLView.mm: (-[WebHTMLView attachRootLayer:]): 2011-12-16 Mark Hahnenberg De-virtualize destructors https://bugs.webkit.org/show_bug.cgi?id=74331 Reviewed by Geoffrey Garen. * Plugins/Hosted/ProxyRuntimeObject.h: Remove empty virtual destructor. * Plugins/Hosted/ProxyRuntimeObject.mm: 2011-12-14 Ryosuke Niwa Mac build fix after r102874. * WebCoreSupport/WebChromeClient.mm: 2011-12-14 Jing Zhao Opening two popup menus by dispatchEvent() makes problems. https://bugs.webkit.org/show_bug.cgi?id=73304 Reviewed by Kent Tamura. * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup(). * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::hasOpenedPopup): Not implemented. 2011-12-14 Michael Saboff Mac WebScriptDebugger crashes beneath sourceParsed() https://bugs.webkit.org/show_bug.cgi?id=74564 Reviewed by Gavin Barraclough. * WebView/WebScriptDebugger.mm: (toNSString): Change to use ->characters() method to actually get characters for string conversion. 2011-12-14 Hajime Morrita JS_INLINE and WTF_INLINE should be visible from WebCore https://bugs.webkit.org/show_bug.cgi?id=73191 Reviewed by Kevin Ollivier. Removed macro definitions which is now provided by Platform.h * WebKitPrefix.h: 2011-12-13 Jon Lee Enable notifications on Mac. Reviewed by Sam Weinig. * Configurations/FeatureDefines.xcconfig: 2011-12-12 Ryosuke Niwa WebKit code shouldn't be calling applyCommand directly https://bugs.webkit.org/show_bug.cgi?id=74337 Reviewed by Darin Adler. * WebView/WebFrame.mm: (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]): 2011-12-12 Brady Eidson Page cache should support pages with plugins. and https://bugs.webkit.org/show_bug.cgi?id=13634 Expose a WebKit preference for the page cache supporting plugins (on by default). Reviewed by Anders Carlsson. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences pageCacheSupportsPlugins]): (-[WebPreferences setPageCacheSupportsPlugins:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): 2011-12-12 Dan Bernstein Text highlight changes to gray selection color when menu extra is shown Reviewed by John Sullivan. * WebView/WebView.mm: (-[WebView _updateActiveState]): Changed to use -[NSWindow _hasKeyAppearance] instead of -isKeyWindow. The former also returns YES when a menu extra is open. (-[WebView addWindowObserversForWindow:]): Removed code to observe NSWindowDidBecomeKeyNotification and NSWindowDidResignKeyNotification. (-[WebView removeWindowObservers]): Removed code to stop observing the above. (-[WebView _windowChangedKeyState]): Overridden this to call _updateActiveState. This is called when the result of -_hasKeyAppearance changes. (-[WebView _windowWillOrderOnScreen:]): Removed call to _updateActiveState, previously needed for popovers, because _windowChangedKeyState is invoked at the right time for them. (-[WebView _windowWillOrderOffScreen:]): Ditto. 2011-12-07 Mark Rowe Fix the 32-bit build. Ignore some warnings that only occur in 32-bit. * Plugins/WebNetscapePluginPackage.mm: 2011-12-07 Mary Wu Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline https://bugs.webkit.org/show_bug.cgi?id=73986 Reviewed by Kenneth Rohde Christiansen. * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): 2011-12-06 Alexey Proskuryakov REGRESSION (WebKit2): Kill ring is not cleared when selection changes https://bugs.webkit.org/show_bug.cgi?id=73888 Reviewed by Mark Rowe. * WebView/WebHTMLView.mm: (-[WebHTMLView becomeFirstResponder]): Added a FIXME comment. (-[WebHTMLView _selectionChanged]): Moved the code to clear kill ring to WebCore. The rest of kill ring implementation is there, so it makes no sense to have this call in WebKits. 2011-12-05 Anders Carlsson Make LayerFlushSchedulerClient::flushLayers indicate whether the flush was successful or not https://bugs.webkit.org/show_bug.cgi?id=73862 Reviewed by Andy Estes. Remove the call to LayerFlushScheduler::invalidate and return true instead. Return false for the cases where we don't want the layer flush scheduler to be invalidated. * WebView/WebView.mm: (LayerFlushController::flushLayers): * WebView/WebViewData.h: 2011-12-05 Eric Carlson Add WebKit preferences for text track settings https://bugs.webkit.org/show_bug.cgi?id=73721 Reviewed by John Sullivan. * WebView/WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, and shouldDisplayTextDescriptions properties. * WebView/WebPreferences.mm: (+[WebPreferences initialize]): Initialize new preferences to NO. (-[WebPreferences setShouldDisplaySubtitles:]): Added. (-[WebPreferences shouldDisplaySubtitles]): Ditto. (-[WebPreferences setShouldDisplayCaptions:]): Ditto. (-[WebPreferences shouldDisplayCaptions]): Ditto. (-[WebPreferences setShouldDisplayTextDescriptions:]): Ditto. (-[WebPreferences shouldDisplayTextDescriptions]): Ditto. * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Updates WebCore settings from WebKit prefs. 2011-12-03 Dan Bernstein Crash at WebCore::SubresourceLoader::releaseResources Reviewed by Darin Adler. * WebView/WebView.mm: (-[WebView _removeObjectForIdentifier:]): Changed the CFRelease(self) into a WebCFAutorelease(self). This prevents re-entry into this method due to the WebView closing and canceling all subresource loads, including the one we have just removed. 2011-12-02 David Levin Rename WTF class from TemporarilyChange to TemporaryChange. https://bugs.webkit.org/show_bug.cgi?id=73479 Reviewed by Eric Seidel. * ForwardingHeaders/wtf/TemporarilyChange.h: Removed. * ForwardingHeaders/wtf/TemporaryChange.h: Added. 2011-12-02 Simon Fraser Layers are flipped in WebKit1 views Reviewed by Sam Weinig. Host the compositing layers in an NSView which is flipped, which helps AppKit get the geometry right in some situations. * WebView/WebHTMLView.mm: (-[WebLayerHostingFlippedView isFlipped]): (-[WebHTMLView attachRootLayer:]): 2011-12-02 Hajime Morrita Unreviewed, rolling out r101751 and r101775. http://trac.webkit.org/changeset/101751 http://trac.webkit.org/changeset/101775 https://bugs.webkit.org/show_bug.cgi?id=73191 breaks Windows build * WebKitPrefix.h: 2011-12-01 Hajime Morrita JS_INLINE and WTF_INLINE should be visible from WebCore https://bugs.webkit.org/show_bug.cgi?id=73191 Reviewed by Kevin Ollivier. Removed macro definitions which is now provided by Platform.h * WebKitPrefix.h: 2011-11-30 Alexey Proskuryakov Remove an unneeded argument from FrameLoaderClient::download https://bugs.webkit.org/show_bug.cgi?id=73486 Reviewed by Andreas Kling. * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::download): Updated for the change. 2011-11-30 Dan Bernstein WebKit/mac part of: Allow the length of a page along the pagination axis to differ from the length of the view https://bugs.webkit.org/show_bug.cgi?id=73476 Reviewed by Anders Carlsson. * WebView/WebView.mm: (-[WebView _setPageLength:]): Added this accessor. (-[WebView _pageLength]): Ditto. * WebView/WebViewPrivate.h: 2011-11-30 Alexey Proskuryakov Download page URL should be set by WebCore https://bugs.webkit.org/show_bug.cgi?id=73358 Reviewed by Darin Adler. * WebCoreSupport/WebFrameLoaderClient.h: Removed setOriginalURLForDownload, which is now in WebCore. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::download): There is no need to set original URL post factum any more. (WebFrameLoaderClient::startDownload): Ditto. 2011-11-29 David Levin Add a way to revert a variable to its previous value after leaving a scope. https://bugs.webkit.org/show_bug.cgi?id=73371 Reviewed by Adam Barth. * ForwardingHeaders/wtf/TemporarilyChange.h: Added. 2011-11-29 Jessie Berlin WKKeyValueStorageManagerGetKeyValueStorageOrigins may not report the correct list of origins the first time it is called. https://bugs.webkit.org/show_bug.cgi?id=73374 () Reviewed by Brady Eidson. * Storage/WebStorageTrackerClient.h: * Storage/WebStorageTrackerClient.mm: (WebStorageTrackerClient::didFinishLoadingOrigins): 2011-11-15 Anders Carlsson DragClient::dragSourceActionMaskForPoint should use root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72409 Reviewed by Sam Weinig. * WebCoreSupport/WebDragClient.mm: (WebDragClient::dragSourceActionMaskForPoint): Use -[WebView _convertPointFromRootView:] to convert the point to the web view coordinate system. 2011-11-15 Anders Carlsson EditorClient::showCorrectionPanel should pass the string bounding box in root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72408 Reviewed by Sam Weinig. * WebCoreSupport/CorrectionPanel.mm: (CorrectionPanel::show): Convert the bounding rect to web view coordinates. * WebView/WebView.mm: (-[WebView _convertPointFromRootView:]): (-[WebView _convertRectFromRootView:]): * WebView/WebViewInternal.h: Add helper methods for converting from root view coordinates to web view coordinates. 2011-11-29 Roland Steiner