- 10 Sep, 2012 20 commits
-
-
carlosgc@webkit.org authored
Source/JavaScriptCore: * GNUmakefile.list.am: Add missing files. Source/WebCore: * GNUmakefile.list.am: Add missing header files. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96250 Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-10 Reviewed by Kenneth Rohde Christiansen. On Windows when using ANGLE, the DLL import library of EGL is called libEGL.lib instead of EGL.lib. However as it turns out we do not need to explicitly link against EGL, because when Qt is configured with ANGLE support it will do that automatically for us. * WebCore.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abecsi@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96106 Reviewed by Simon Hausmann. The functions in PageViewportControllerClientQt proxying the viewport state values can be removed if QWebKitTest uses the PageViewportController to retrieve these values. * UIProcess/API/qt/qquickwebview_p_p.h: (QQuickWebViewPrivate::viewportController): * UIProcess/API/qt/qwebkittest.cpp: (QWebKitTest::viewport): (QWebKitTest::devicePixelRatio): (QWebKitTest::contentsScale): * UIProcess/PageViewportController.h: (WebKit::PageViewportController::currentContentsScale): * UIProcess/qt/PageViewportControllerClientQt.cpp: * UIProcess/qt/PageViewportControllerClientQt.h: (PageViewportControllerClientQt): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96249 Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-10 Reviewed by Kenneth Rohde Christiansen. Windows loves to define min and max as macros, which beautifully clashes in many places where min and max are used as variable or method names. It can be convinced not to do this when min and max are already define as macros (expanding to themselves). We have this kind of workaround in config.h files all over WebKit and as it turns out when building WTR with Qt on Windows we do end up with such a clash. Therefore we need the same workaround. * WebKitTestRunner/config.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96246 Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-10 Reviewed by Kenneth Rohde Christiansen. WKBase.h and WKAPICast.h include files that are specific to the Safari/Windows port if WIN32 or _WIN32 is defined. When building WebKit2 on Windows with Qt, we do not want to include these files, as they define an API that is different to ours (the view aspect differs). Therefore guard the inclusion with !defined(BUILDING_QT__) * Shared/API/c/WKBase.h: * UIProcess/API/C/WKAPICast.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94878 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 Reviewed by Kenneth Rohde Christiansen. Source/WebCore: <select> element's text is no longer clipped when a CSS line-height is specified. The fix is the same as for Mac port in r24886. Test: fast/forms/menulist-restrict-line-height.html * platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::adjustMenuListStyle): LayoutTests: Generate baseline for fast/forms/menulist-restrict-line-height.html and unskip the test now that <select> element's text is no longer clipped when a CSS line-height is specified. * platform/efl/TestExpectations: * platform/efl/fast/forms/menulist-restrict-line-height-expected.png: Added. * platform/efl/fast/forms/menulist-restrict-line-height-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96242 Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-09-10 Reviewed by Simon Hausmann. Replace with QString::fromLatin1 which does the same. Source/WebCore: * bridge/qt/qt_runtime.cpp: Source/WebKit2: * UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=95936 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 Reviewed by Kenneth Rohde Christiansen. Source/WebKit2: Add WKPreference private API for manipulate the interactive form validation setting. This is now needed by WebKitTestRunner. * Shared/WebPreferencesStore.h: (WebKit): * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetInteractiveFormValidationEnabled): (WKPreferencesGetInteractiveFormValidationEnabled): * UIProcess/API/C/WKPreferencesPrivate.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): Tools: Enable interactive form validation setting in WebKitTestRunner as we are currently doing in DumpRenderTree. This is needed for some tests to pass. * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues): LayoutTests: Unskip fast/forms/number/number-interactive-validation-required.html for several WebKit2 ports now that the interactive form validation setting is enabled in WebKitTestRunner. * platform/efl-wk2/TestExpectations: * platform/qt-5.0-wk2/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96241 Unreviewed EFL gardening. Rebaseline several CSS 2.1 due to bug 93148. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 * platform/efl/TestExpectations: * platform/efl/fast/css/nested-layers-with-hover-expected.txt: Added. * platform/efl/tables/mozilla_expected_failures/bugs/bug106966-expected.png: * platform/efl/tables/mozilla_expected_failures/bugs/bug106966-expected.txt: * platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.png: * platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt: * platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.png: * platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96234 Unreviewed EFL gardening. Unskip 2 test cases that are now passing consistently after r127987. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 * platform/efl/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96240 Unreviewed EFL gardening. Rebaseline 3 test cases due to bug 88171. The output is much better now. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 * platform/efl/TestExpectations: * platform/efl/css1/formatting_model/floating_elements-expected.png: Added. * platform/efl/css1/formatting_model/floating_elements-expected.txt: * platform/efl/fast/block/float/010-expected.png: * platform/efl/fast/block/float/010-expected.txt: * platform/efl/fast/block/float/independent-align-positioning-expected.png: * platform/efl/fast/block/float/independent-align-positioning-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96243 Unreviewed gardening, skip new failing and crashing tests to paint the bot green. * platform/qt-5.0-wk2/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96237 Unreviewed EFL gardening. Rebaseline 4 fast/block test cases due to r127163. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 * platform/efl/TestExpectations: * platform/efl/fast/block/float/024-expected.png: * platform/efl/fast/block/float/024-expected.txt: * platform/efl/fast/block/margin-collapse/025-expected.txt: * platform/efl/fast/block/margin-collapse/block-inside-inline/025-expected.txt: * platform/efl/fast/block/margin-collapse/empty-clear-blocks-expected.png: * platform/efl/fast/block/margin-collapse/empty-clear-blocks-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96235 Unreviewed EFL gardening. Generate baselines for css3/masking test cases added in r127608. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 * platform/efl/TestExpectations: * platform/efl/css3/masking/clip-path-circle-expected.png: Added. * platform/efl/css3/masking/clip-path-circle-expected.txt: Added. * platform/efl/css3/masking/clip-path-circle-filter-expected.png: Added. * platform/efl/css3/masking/clip-path-circle-filter-expected.txt: Added. * platform/efl/css3/masking/clip-path-circle-overflow-expected.png: Added. * platform/efl/css3/masking/clip-path-circle-overflow-expected.txt: Added. * platform/efl/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added. * platform/efl/css3/masking/clip-path-circle-overflow-hidden-expected.txt: Added. * platform/efl/css3/masking/clip-path-circle-relative-overflow-expected.png: Added. * platform/efl/css3/masking/clip-path-circle-relative-overflow-expected.txt: Added. * platform/efl/css3/masking/clip-path-ellipse-expected.png: Added. * platform/efl/css3/masking/clip-path-ellipse-expected.txt: Added. * platform/efl/css3/masking/clip-path-polygon-evenodd-expected.png: Added. * platform/efl/css3/masking/clip-path-polygon-evenodd-expected.txt: Added. * platform/efl/css3/masking/clip-path-polygon-expected.png: Added. * platform/efl/css3/masking/clip-path-polygon-expected.txt: Added. * platform/efl/css3/masking/clip-path-polygon-nonzero-expected.png: Added. * platform/efl/css3/masking/clip-path-polygon-nonzero-expected.txt: Added. * platform/efl/css3/masking/clip-path-rectangle-expected.png: Added. * platform/efl/css3/masking/clip-path-rectangle-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96233 Unreviewed EFL gardening. Mark 3 spatial navigation test cases as expected to fail due to a regression caused by r128006. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10 * platform/efl/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
Narrowing down flaky crash expectation for fast/js/random-array-gc-stress.html. The test only crashes in release builds. Removing flaky expectation for jquery/manipulation.html, the test is consistently passing. Removing failure expectation for fast/js/named-function-expression.html, the offending commit was rolled out in r127987. * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=96228 Reviewed by Dan Bernstein. We soft link the non-XPC service WebProcess backend to the WebKit2 framework to ensure that we can close all the necessary file descriptors at launch, without fear that we will be closing one we open while initializing WebKit2 or one of its dependencies. Since we don't need to close file descriptors in the XPC service backend, we don't need to soft link! While here, also do some cleanup and code sharing. * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::launchXPCService): We don't need to send the framework executable path anymore (it was used for the soft linking), but we do need the client identifier. * WebKit2.xcodeproj/project.pbxproj: Add new files. Link the XPC service to WebKit2.framework. * WebKit2Service/MainMacService.mm: Now that we don't have to soft link, just make this a stub that calls immediately into the WebKit2 framework. * WebProcess/mac/WebProcessInitialization.h: Added. * WebProcess/mac/WebProcessInitialization.mm: Added. (WebKit::InitializeWebProcess): Move initialization that is common between the XPC and non-XPC backends here. * WebProcess/mac/WebProcessMainMac.mm: (WebKit::WebProcessMain): Remove XPC backend related code. Use new shared InitializeWebProcess function. * WebProcess/mac/WebProcessXPCServiceMain.h: Added. * WebProcess/mac/WebProcessXPCServiceMain.mm: Added. (WebKit::WebKit2ServiceEventHandler): (WebProcessXPCServiceMain): Move XPC service backend initialization here. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=96202 Reviewed by Philippe Normand. Changes: - Remove unneeded imports, - assign the _lock_file member variable when the display number is determined, - no need for parentheses around a single string format argument, - use FileSystem.exists method when checking if lock file is present as it makes the intention much more clearer. * Scripts/webkitpy/layout_tests/port/xvfbdriver.py: (XvfbDriver._start): (XvfbDriver.stop): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
Adding text failure expectations for three spatial navigation failures that regressed after r128006. * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94802 Patch by Taiju Tsuiki <tzik@chromium.org> on 2012-09-09 Reviewed by Kent Tamura. Spec says it should not optional. http://www.w3.org/TR/file-system-api/#widl-LocalFileSystem-resolveLocalFileSystemURL-void-DOMString-url-EntryCallback-successCallback-ErrorCallback-errorCallback Source/WebCore: Tests: fast/filesystem/entry-points-missing-arguments.html * Modules/filesystem/DOMWindowFileSystem.idl: * Modules/filesystem/WorkerContextFileSystem.idl: LayoutTests: * fast/filesystem/entry-points-missing-arguments-expected.txt: Added. * fast/filesystem/entry-points-missing-arguments.html: Added. * fast/filesystem/filesystem-no-callback-null-ptr-crash.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Sep, 2012 20 commits
-
-
ossy@webkit.org authored
* platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
keishi@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96222 Reviewed by Kent Tamura. DateTimeChooserClient will delete DateTimeChooserImpl inside didEndChooser() so we shouldn't be changing the members after that. Testing covered by fast/forms/date/calendar-picker-appearance-pre-100.html. * src/DateTimeChooserImpl.cpp: (WebKit::DateTimeChooserImpl::didClosePopup): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96127. Patch by Mark Lam <mark.lam@apple.com> on 2012-09-09 Reviewed by Geoffrey Garen. * llint/LLIntCLoop.h: CLoop::execute()'s bootstrapOpcodeId does not need a default value. There is no case when this function is called without that parameter being specified. * llint/LowLevelInterpreter.asm: Moved the dispatchAfterCall() call to where it is needed. For the C_LOOP back-end, it generates unreachable code. * llint/LowLevelInterpreter.cpp: #include <wtf/Assertions.h> because LLIntAssembly.h needs it. (JSC): Fixed bug in SIGN_BIT32() macro. Placate a MSVC warning for t0, and t1 being uninitialized. (JSC::CLoop::execute): The bootstrapOpcodeId arg should always be specified. MSVC doesn't like UNUSED_PARAM() for labels. Switch to using the new UNUSED_LABEL() macro. * offlineasm/cloop.rb: * offlineasm/generate_offset_extractor.rb: Resolved a compiler warning found via MSVC. Source/WTF: Fixed ASSERT() and ASSERT_AT() macros so that they can be used in comma expressions. Also, added UNUSED_LABEL(). https://bugs.webkit.org/show_bug.cgi?id=96127. Patch by Mark Lam <mark.lam@apple.com> on 2012-09-09 Reviewed by Geoffrey Garen. * wtf/Assertions.h: * wtf/UnusedParam.h: Added UNUSED_LABEL(). Removed an obsolete comment. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96030 Reviewed by Eric Seidel. Also fix a bunch of append() vs. appendLiteral() issues in the surrounding code. Source/JavaScriptCore: * API/JSContextRef.cpp: (JSContextCreateBacktrace): * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: * interpreter/Interpreter.h: (JSC::StackFrame::toString): Source/WebCore: * Modules/websockets/WebSocketHandshake.cpp: (WebCore::hostName): * bindings/v8/ScriptController.cpp: (WebCore::resourceString): * css/FontFeatureValue.cpp: (WebCore::FontFeatureValue::customCssText): * dom/Position.cpp: (WebCore::Position::formatForDebugger): * dom/Range.cpp: (WebCore::Range::formatForDebugger): * html/FormController.cpp: (WebCore::FormKeyGenerator::formKey): * html/HTMLAnchorElement.cpp: (WebCore::appendServerMapMousePosition): * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::font): * inspector/IdentifiersFactory.cpp: (WebCore::IdentifiersFactory::addProcessIdPrefixTo): * page/FrameTree.cpp: (WebCore::FrameTree::uniqueChildName): * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::toRawString): * platform/Decimal.cpp: (WebCore::Decimal::toString): * platform/network/ProxyServer.cpp: (WebCore::appendProxyServerString): * platform/text/TextStream.cpp: (WebCore::TextStream::operator<<): * platform/text/TextStream.h: * rendering/RenderTreeAsText.cpp: (WebCore::nodePosition): * xml/XMLErrors.cpp: (WebCore::XMLErrors::appendErrorMessage): Source/WTF: * wtf/DateMath.cpp: (WTF::makeRFC2822DateString): * wtf/text/StringBuilder.cpp: (WTF::StringBuilder::appendNumber): * wtf/text/StringBuilder.h: (StringBuilder): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=85493 Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-09-09 Reviewed by Gyuyoung Kim. Source/WebCore: A square-button is an element that has '-webkit-appearance: square-button' style. If it is a block element, the RenderBlock::recomputeLogicalWidth recalculate the width from the padding values. But the recalculated width became wrong because the RenderThemeEfl::adjustSizeConstraints called from RenderThemeEfl::adjustButtonStyle adds padding values for a button. So, the adjustSizeConstraints must not be called for a square-button(SquareButtonPart). Test : fast/css/square-button-appearance.html * platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::adjustButtonStyle): Call adjustSizeConstrains only for PushButtonPart and ButtonPart LayoutTests: Remove fast/css/square-button-appearance.html from TestExpectations because it became PASS. * platform/efl/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bashi@chromium.org authored
* platform/chromium-mac/inspector/console/command-line-api-getEventListeners-expected.txt: Copied from LayoutTests/platform/chromium/inspector/console/command-line-api-getEventListeners-expected.txt. * platform/chromium-win/inspector/console/command-line-api-getEventListeners-expected.txt: Renamed from LayoutTests/platform/chromium/inspector/console/command-line-api-getEventListeners-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96074 Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-09-09 Reviewed by Gyuyoung Kim. WebProcess crashes when the context menu type is SubmenuType and non-CROSS_PLATFORM_CONTEXT_MENUS is used. It is because platformSubMenu() in the ContextMenuItemEfl.cpp returns null. This patch implements the setSubMenu() and platformSubMenu() to set and return the subMenuItems. * platform/efl/ContextMenuItemEfl.cpp: (WebCore::ContextMenuItem::setSubMenu): (WebCore::ContextMenuItem::platformSubMenu): (WebCore): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96190 Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-09 Reviewed by Kentaro Hara. Passing idl file path to CodeGenerator would be useful because CodeGenerator* family could manipulate it when creating derived header and cpp files. * bindings/scripts/CodeGenerator.pm: (new): (ProcessDocument): * bindings/scripts/generate-bindings.pl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* dom/Element.cpp: (WebCore::Element::boundsInRootViewSpace): Updated for rename. (WebCore::Element::getBoundingClientRect): Ditto. * svg/SVGElement.cpp: (WebCore::SVGElement::getBoundingBox): Renamed boundingBox() to this, to avoid clashing with the virtual function on Node. The 'get' prefix also indicates that the result is returned in an out parameter. * svg/SVGElement.h: (SVGElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96130 Reviewed by Benjamin Poulain. The String class provides a nice wrapper for this function in the meantime, so just use it to avoid code duplication. * html/parser/HTMLParserIdioms.cpp: (WebCore::serializeForNumberType): * platform/Decimal.cpp: (WebCore::Decimal::fromDouble): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bashi@chromium.org authored
Fix CCRenderPassTest::copyShouldBeIdenticalExceptIdAndQuads * tests/CCRenderPassTest.cpp: (CCRenderPassSize): Changed type of m_id git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eae@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81413 Reviewed by David Hyatt. Source/WebCore: Rename Node::getRect and getPixelSnappedRect to boundingBox and pixelSnappedBoundingBox respectively. Remove overridden getRect method from ContainerNode as it calculates the same rect as the Node implementation but in a more complicated and error-prone way. Also remove the getUpperLeftCorner/getLowerRightCorner support functions as they are no longer needed. No new tests, no change in functionality. * accessibility/AccessibilitySlider.cpp: (WebCore::AccessibilitySliderThumb::elementRect): Update to call boundingBox. * dom/ContainerNode.cpp: * dom/ContainerNode.h: Remove overridden getRect method and the getUpperLeftCorner/ getLowerRightCorner support methods . * dom/Element.cpp: (WebCore::Element::scrollIntoView): (WebCore::Element::scrollIntoViewIfNeeded): (WebCore::Element::updateFocusAppearance): Update to call boundingBox. * dom/Node.h: * dom/Node.cpp: (WebCore::Node::boundingBox): Rename getRect to boundingBox. (WebCore::Node::pixelSnappedBoundingBox): Rename getPixelSnappedRect to pixelSnappedBoundingBox. * html/ColorInputType.cpp: (WebCore::ColorInputType::elementRectRelativeToRootView): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::buildBubbleTree): * html/shadow/CalendarPickerElement.cpp: (WebCore::CalendarPickerElement::openPopup): * html/shadow/TextControlInnerElements.cpp: (WebCore::InputFieldSpeechButtonElement::startSpeechInput): * page/FrameView.cpp: (WebCore::FrameView::scrollElementToRect): (WebCore::FrameView::scrollToAnchor): * page/SpatialNavigation.cpp: (WebCore::nodeRectInAbsoluteCoordinates): Update to call boundingBox/pixelSnappedBoundingBox. Source/WebKit/chromium: Update WebViewImpl to call boundingBox/pixelSnappedBoundingBox. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::computeBlockBounds): (WebKit::WebViewImpl::applyAutofillSuggestions): (WebKit::WebViewImpl::refreshAutofillPopup): Source/WebKit/efl: Update ewk_frame to call pixelSnappedBoundingBox. * ewk/ewk_frame.cpp: (ewk_frame_focused_element_geometry_get): Source/WebKit/gtk: Update ChromeClientGtk and webkitwebview to call pixelSnappedBoundingBox. * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::mouseDidMoveOverElement): * webkit/webkitwebview.cpp: (getLocationForKeyboardGeneratedContextMenu): (webkit_web_view_query_tooltip): Source/WebKit/qt: Update qwebelement and qwebpage to call pixelSnappedBoundingBox. * Api/qwebelement.cpp: (QWebElement::geometry): (QWebElement::render): * Api/qwebpage.cpp: (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch): Source/WebKit2: Update WebPage to call pixelSnappedBoundingBox. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::editorState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96018 Patch by Christopher Cameron <ccameron@chromium.org> on 2012-09-09 Reviewed by James Robinson. Do not delete CCPrioritizedTexture::Backing structures on the main thread. Instead, unlink them from their owning CCPrioritizedTexture in the main thread, and have the impl thread then delete all unlinked textures. This is towards having the main thread not access the m_backings set, which will allow the impl thread to traverse that set when deleting resources in response to GPU memory management events. Tested by existing eviction tests (CCLayerTreeHostTest's TestEvictTextures, LostContextAfterEvictTextures) Fix a place where single thread proxy wasn't setting the main thread blocked state correctly. * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: (WebCore::CCLayerTreeHost::unlinkAllContentTextures): (WebCore): (WebCore::CCLayerTreeHost::deleteUnlinkedTextures): * platform/graphics/chromium/cc/CCLayerTreeHost.h: (CCLayerTreeHost): * platform/graphics/chromium/cc/CCPrioritizedTextureManager.cpp: (WebCore::CCPrioritizedTextureManager::clearAllMemory): (WebCore::CCPrioritizedTextureManager::unlinkAllBackings): (WebCore): (WebCore::CCPrioritizedTextureManager::deleteAllUnlinkedBackings): * platform/graphics/chromium/cc/CCPrioritizedTextureManager.h: (CCPrioritizedTextureManager): * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: (WebCore::CCSingleThreadProxy::commitAndComposite): * platform/graphics/chromium/cc/CCThreadProxy.cpp: (WebCore::CCThreadProxy::beginFrame): (WebCore::CCThreadProxy::beginFrameCompleteOnImplThread): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
* platform/chromium-mac/media/video-zoom-controls-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Switch to entering the sandbox directly from main(), rather than waiting for the initialization message https://bugs.webkit.org/show_bug.cgi?id=96194 Reviewed by Dan Bernstein. Source/WebKit2: * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::ProcessLauncher::launchProcess): Pass a client identifier to WebProcess as a command line argument so that it can be used to create private temporary and cache directories. * WebProcess/WebProcess.h: (WebProcess): * WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::initializeSandbox): (WebKit::WebProcess::platformInitializeWebProcess): Expose the initializeSandbox() function and stop calling it from platformInitializeWebProcess() since it is now going to be called from WebProcessMain. Also, move changing the current working directory to sandbox initialization function and replace use of creation parameters with just the client identifier. * WebProcess/com.apple.WebProcess.sb.in: Add some new exceptions that come from entering the sandbox earlier in the AppKit initialization process. Don't allow access to com.apple.coreservices.appleevents. * WebProcess/mac/WebProcessMainMac.mm: (WebKit::WebProcessMainXPC): (WebKit::WebProcessMain): Enter the sandbox explicitly, not waiting until the initialization message. Also, since we now have an extra parameter for the client identifier, make the WebProcess launches the UIProcess code path work by extracting a client identifier from the client executable path. WebKitLibraries: Update WKSI with SPI for getting the bundle URL from an executable URL. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLion.a: * libWebKitSystemInterfaceMountainLion.a: * libWebKitSystemInterfaceSnowLeopard.a: Adds WKCopyBundleURLForExecutableURL(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/77982> Reviewed by Geoff Garen. Source/WebCore: Refactor EventListenerMap to store pair<AtomicString, EventListenerVector> in a Vector instead of using key/value HashMap stores. This is much more space efficient and actually faster since we were spending more time/effort managing the hash map than it costs us to iterate over and compare a couple of pointers. (It's very rare to have more than 4 different event types registered in a single EventListenerMap.) This gets rid of the slightly hacky optimization for nodes with listeners of a single type, reducing the complexity of EventListenerMap greatly. ~1.1MB progression on Membuster. Also strong (20+ MB on larger patches) savings on WebKit bugzilla review pages, though they don't necessarily represent a common usecase. * dom/EventListenerMap.cpp: (WebCore::EventListenerMap::contains): (WebCore::EventListenerMap::clear): (WebCore::EventListenerMap::eventTypes): (WebCore::EventListenerMap::add): (WebCore::EventListenerMap::remove): (WebCore::EventListenerMap::find): (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup): (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget): (WebCore::EventListenerIterator::EventListenerIterator): (WebCore::EventListenerIterator::nextListener): * dom/EventListenerMap.h: (WebCore::EventListenerMap::isEmpty): (WebCore::EventListenerMapEntry::EventListenerMapEntry): (EventListenerMapEntry): (EventListenerMap): (EventListenerIterator): LayoutTests: Rebaseline inspector test whose output depended on the internal ordering of event listeners (changed as listeners are no longer stored in an unordered HashMap.) * inspector/console/command-line-api-getEventListeners-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/12260893lforschler@apple.com authored
* platform/graphics/mac/WebGLLayer.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/127979 https://bugs.webkit.org/show_bug.cgi?id=96217 Appears to have broken the windows and linux builds (Requested by jamesr_ on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-09 * bindings/scripts/CodeGeneratorV8.pm: (NativeToJSValue): * bindings/v8/V8DOMWrapper.h: (WebCore::V8DOMWrapper::convertEventTargetToV8Object): (V8DOMWrapper): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=96215 Reviewed by Adrienne Walker. Unlike the other WebFilterOperation constructors this one is defined out-of-line and so must be exported to be usable outside of WebKit.dll * chromium/public/WebFilterOperation.h: (WebFilterOperation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=96213 Reviewed by Adrienne Walker. The Platform.gyp:webkit_platform target provides the implementation of several WEBKIT_EXPORTed symbols. It only makes sense as a target of WebKit.gyp:webkit, other targets shouldn't directly depend on it. Source/WebCore: * WebCore.gyp/WebCore.gyp: Source/WebKit/chromium: * WebKit.gyp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-