2011-05-27 Stephanie Lewis Unreviewed. Fix a typo in the order_file flag. * Configurations/Base.xcconfig: 2011-05-27 Stephanie Lewis Rubber Stamped by Adam Roben. Update Order Files. Use -order_file flag since it can order more of the binary. * Configurations/Base.xcconfig: * WebKit.order: 2011-05-25 Stephanie Lewis Reviewed by Brady Eidson. https://bugs.webkit.org/show_bug.cgi?id=61407 part of Remove Quicklook pref. Moving it enirely down into WebCore so it can be calculated only on reloads. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): 2011-05-24 Jer Noble Reviewed by Darin Adler. Video fails to play on Vimeo https://bugs.webkit.org/show_bug.cgi?id=61403 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Added support for wkAVAssetResolvedURL and wkQTMovieResolvedURL. 2011-05-24 Keishi Hattori Reviewed by Kent Tamura. Disable input color. Add INPUT_COLOR feature flag. Implement input color sanitizer. https://bugs.webkit.org/show_bug.cgi?id=61273 * Configurations/FeatureDefines.xcconfig: Added INPUT_COLOR feature flag. 2011-05-24 Adam Barth Reviewed by Eric Seidel. Add FIXME comments about removing FrameLoader::isProcessingUserGesture https://bugs.webkit.org/show_bug.cgi?id=61395 * WebView/WebView.mm: (-[WebView _isProcessingUserGesture]): 2011-05-24 Michael Saboff Reviewed by Geoffrey Garen. Improve handling in WebCore of low memory situations https://bugs.webkit.org/show_bug.cgi?id=61222 Added call to enable memory pressure handling. * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): * WebView/WebViewInternal.h: 2011-05-24 Jay Civelli Rubberstamped by David Kilzer. Updated some files that I forgot in my previous MHTML CL. * Configurations/FeatureDefines.xcconfig: 2011-05-20 Jeremy Noble Reviewed by Simon Fraser. Stack overflow in WebFullScreenController when built on Leopard and run on SnowLeopard. https://bugs.webkit.org/show_bug.cgi?id=61224 Remove the CATransaction(SnowLeopardConvenience) functions, and replace them with the Leopard versions of same. * WebView/WebFullScreenController.mm: (-[WebFullScreenController windowDidEnterFullscreen:]): (-[WebFullScreenController enterFullscreen:]): (-[WebFullScreenController exitFullscreen]): (-[WebFullscreenWindow setRendererLayer:]): 2011-05-20 Andy Estes Reviewed by Darin Adler. WebView loses firstResponder status when entering full-screen mode. https://bugs.webkit.org/show_bug.cgi?id=61153 * Misc/WebNSWindowExtras.h: * Misc/WebNSWindowExtras.m: (-[NSWindow makeResponder:firstResponderIfDescendantOfView:]): Add a convenience method to NSWindow that makes the given NSResponder first responder only if it is a descendant of the given view. * WebView/WebFullScreenController.mm: (-[WebFullScreenController windowDidEnterFullscreen:]): If the WebView was a descendant of the browser window's first responder when entering full-screen mode, set the full-screen window's first responder to that same NSResponder. (-[WebFullScreenController exitFullscreen]): Do the reverse of what is done in windowDidEnterFullscreen:. 2011-05-20 Enrica Casucci Reviewed by David Kilzer. Add delegate methods about focus and blur to all elements. https://bugs.webkit.org/show_bug.cgi?id=61218 We want to have delegates for these events for all the elements, not only the form elements. The patch changes the name of the methods in a way that is not form element specific. * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::elementDidFocus): (WebChromeClient::elementDidBlur): * WebView/WebUIDelegatePrivate.h: 2011-05-20 Simon Fraser Reviewed by Sam Weinig. numberOfActiveAnimations() can include animations from documents in the page cache https://bugs.webkit.org/show_bug.cgi?id=53641 Pass the Frame's document as the one to count animations on. * WebView/WebFrame.mm: (-[WebFrame _numberOfActiveAnimations]): 2011-05-17 Timothy Hatcher Update the the context menu to reflect the system search provider on Mac. Reviewed by Sam Weinig. * DefaultDelegates/WebDefaultContextMenuDelegate.mm: (-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]): Use wkCopyDefaultSearchProviderDisplayName to create the web search context menu title. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Added CopyDefaultSearchProviderDisplayName. 2011-05-16 Emil A Eklund Reviewed by Eric Seidel. Replace docTop/Right/Bottom/Left/Width/Height with documentRect https://bugs.webkit.org/show_bug.cgi?id=60743 Replace uses of docWidth/Height with documentRect. * WebView/WebFrame.mm: (-[WebFrame _computePageRectsWithPrintScaleFactor:pageSize:]): 2011-05-16 Yuzo Fujishima Reviewed by Antti Koivisto. Fix for Bug 43704 - Web font is printed as blank if it is not cached https://bugs.webkit.org/show_bug.cgi?id=43704 * WebView/WebHTMLView.mm: (-[WebHTMLView _setPrinting:minimumPageWidth:height:maximumPageWidth:adjustViewSize:paginateScreenContent:]): Use ResourceCacheValidationSuppressor to allow stale resources in printing. 2011-05-16 David Kilzer C++ exceptions should not be enabled when building with llvm-gcc-4.2 Reviewed by Mark Rowe. * Configurations/Base.xcconfig: Fixed typo. 2011-05-13 Jon Lee Reviewed by Simon Fraser. Can't horizontally scroll iframes and overflow because wheel events are always accepted https://bugs.webkit.org/show_bug.cgi?id=60779 * WebCoreSupport/WebChromeClient.h: (WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method (WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method 2011-05-13 Sam Weinig Reviewed by Anders Carlsson. Prune #includes from FrameView.h (Part 2) https://bugs.webkit.org/show_bug.cgi?id=60748 - Update files that were depending on FrameView.h #including Frame.h or Page.h. * WebView/WebClipView.mm: * WebView/WebHTMLView.mm: (-[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:]): 2011-05-12 Pratik Solanki Reviewed by Antti Koivisto. Part of WebCore should use CFNetwork-based loader on Mac https://bugs.webkit.org/show_bug.cgi?id=51836 Use CFRunLoop when using CFNetwork. * WebView/WebView.mm: (-[WebView scheduleInRunLoop:forMode:]): (-[WebView unscheduleFromRunLoop:forMode:]): 2011-05-12 Pratik Solanki Reviewed by Antti Koivisto. Part of WebCore should use CFNetwork-based loader on Mac https://bugs.webkit.org/show_bug.cgi?id=51836 Include AuthenticationCF.h header file. * Misc/WebDownload.mm: * Plugins/WebBaseNetscapePluginView.mm: * WebCoreSupport/WebFrameLoaderClient.mm: 2011-05-12 Adele Peterson Reviewed by Darin Adler and Adam Barth. Fix for Solar Walk For Mac: Info window is blank (HTML5 parser) https://bugs.webkit.org/show_bug.cgi?id=60685 Solar Walk uses a self closing title tag, so to match the behavior of the old parser, we use a UserScript to write the contents of the title element to the end of the document so it can be re-parsed. * Misc/SolarWalkQuirksUserScript.js: Added. * WebView/WebView.mm: (needsSolarWalkQuirksScript): (leakSolarWalkQuirksUserScriptContents): (-[WebView _injectSolarWalkQuirksScript]): (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): 2011-05-12 Jia Pu Reviewed by Darin Adler. Regression caused by changeset 86281 https://bugs.webkit.org/show_bug.cgi?id=60712 Removed the condition variable. [NSSpellChecker dismissCorrectionIndicatorForView:] is blocking. So handleAcceptedReplacement() triggered by dismissInternal() will return before dismissInternal() returns. So we don't need to use the condition to coordinate between these two function. In fact, all callbacks are delivered on main thread. We don't really need any locking here. Since now we don't have distinction between dismiss() and dismissSoon(). dismissSoon() has been removed. * WebCoreSupport/CorrectionPanel.h: * WebCoreSupport/CorrectionPanel.mm: (CorrectionPanel::CorrectionPanel): (CorrectionPanel::show): (CorrectionPanel::dismiss): (CorrectionPanel::dismissInternal): (CorrectionPanel::handleAcceptedReplacement): * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::dismissCorrectionPanelSoon): 2011-05-12 Patrick Gansterer Reviewed by Adam Barth. Enable OwnPtr strict mode in PluginHalter https://bugs.webkit.org/show_bug.cgi?id=60681 * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): 2011-05-12 Nikolas Zimmermann Reviewed by Darin Adler. String operator+ reallocates unnecessarily when concatting > 2 strings https://bugs.webkit.org/show_bug.cgi?id=58420 Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details. * WebView/WebFrame.mm: Explicitely cast to Strings first, so operator NSString*() can be invoked. (-[WebFrame _stringWithDocumentTypeStringAndMarkupString:]): 2011-05-10 Tony Gentilcore Reviewed by Darin Adler. Perform some forward declarations suggested by include-what-you-use https://bugs.webkit.org/show_bug.cgi?id=60545 * Plugins/Hosted/WebHostedNetscapePluginView.mm: * WebView/WebFrame.mm: 2011-05-11 Jia Pu Reviewed by Darin Adler. CorrectionPanel sometimes hangs in dismissSoon(). https://bugs.webkit.org/show_bug.cgi?id=60599 Make sure dismissSoon() won't wait indefinitely if handleAcceptedReplacement() sets m_resultForSynchronousDismissal to nil. Added a designated variable m_isDismissing, instead of piggy-backing m_resultForSynchronousDismissal, for condition checking. * WebCoreSupport/CorrectionPanel.h: * WebCoreSupport/CorrectionPanel.mm: (CorrectionPanel::CorrectionPanel): (CorrectionPanel::show): (CorrectionPanel::dismissSoon): (CorrectionPanel::dismissInternal): (CorrectionPanel::handleAcceptedReplacement): 2011-05-10 Anton D'Auria Reviewed by David Levin. Add ApplicationCache API to get disk usage per origin https://bugs.webkit.org/show_bug.cgi?id=57127 Added Mac port API. * WebCoreSupport/WebApplicationCache.h: * WebCoreSupport/WebApplicationCache.mm: (+[WebApplicationCache diskUsageForOrigin:]): 2011-05-10 Anton D'Auria Reviewed by Alexey Proskuryakov. Add ApplicationCache API to get disk usage per origin https://bugs.webkit.org/show_bug.cgi?id=57127 Added Mac port API. * WebCoreSupport/WebApplicationCache.h: * WebCoreSupport/WebApplicationCache.mm: (+[WebApplicationCache diskUsageForOrigin:]): 2011-05-10 Beth Dakin Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=60582 Crash switching overlay/non-overlay scrollbar preference still possible -and corresponding- * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): 2011-05-09 Jeremy Noble Reviewed by Darin Adler. Command-~/Exposé to another window while