1. 22 Nov, 2011 1 commit
  2. 21 Nov, 2011 1 commit
    • commit-queue@webkit.org's avatar
      [EFL] Add more appcache functions to ewk_settings. · ae7682e2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72143
      
      Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-11-21
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit/efl:
      
      Add a few more functions to make it possible to have more control over
      the offline web application features.
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_application_cache_max_quota_get):
      (ewk_settings_application_cache_max_quota_set):
      (ewk_settings_application_cache_clear):
      * ewk/ewk_settings.h:
      
      Tools:
      
      * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
      (LayoutTestController::clearAllApplicationCaches):
      (LayoutTestController::setAppCacheMaximumSize): Use the right
      function, this is not related to the memory cache, but rather to the
      appcache.
      
      LayoutTests:
      
      LayoutTestController::clearAllApplicationCaches is implemented now.
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae7682e2
  3. 18 Nov, 2011 1 commit
    • commit-queue@webkit.org's avatar
      IDL changes for gamepad support · 0ef17682
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71753
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-11-18
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      IDL changes and associated plumbing to expose list of gamepad objects
      on navigator object (per current spec). Full patch is
      https://bugs.webkit.org/show_bug.cgi?id=69451. Only basic existence
      test until more plumbing in future patches.
      
      Test: gamepad/gamepad-api.html
      
      * WebCore.gypi:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::setWebkitGamepadsEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitGamepadsEnabled):
      * page/Gamepad.cpp: Added.
      (WebCore::Gamepad::Gamepad):
      (WebCore::Gamepad::axes):
      (WebCore::Gamepad::buttons):
      (WebCore::Gamepad::~Gamepad):
      * page/Gamepad.h: Added.
      * page/Gamepad.idl: Added.
      * page/GamepadList.cpp: Added.
      (WebCore::GamepadList::~GamepadList):
      (WebCore::GamepadList::set):
      (WebCore::GamepadList::length):
      (WebCore::GamepadList::item):
      * page/GamepadList.h: Added.
      (WebCore::GamepadList::create):
      (WebCore::GamepadList::GamepadList):
      * page/GamepadList.idl: Added.
      * page/Navigator.cpp:
      (WebCore::Navigator::webkitGamepads):
      * page/Navigator.h:
      * page/Navigator.idl:
      
      Source/WebKit/chromium:
      
      Update to use vendor-prefixed enable.
      
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableGamepad):
      (WebKit::WebRuntimeFeatures::isGamepadEnabled):
      
      Tools:
      
      Runtime enable gamepad in chromium test shell.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      Add basic api existence test.
      
      * gamepad/gamepad-api-expected.txt: Added.
      * gamepad/gamepad-api.html: Added.
      * gamepad/gamepad-test.js: Added.
      (logConsole):
      (testExpected):
      (reportExpected):
      (waitForEventAndEnd):
      (waitForEvent._eventCallback):
      (waitForEvent):
      (waitForEventAndTest._eventCallback):
      (waitForEventAndTest):
      (waitForEventTestAndEnd):
      (endTest):
      (logResult):
      (consoleWrite):
      * platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt:
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ef17682
  4. 15 Nov, 2011 2 commits
    • jchaffraix@webkit.org's avatar
      Add the needed plumbing to parse display: -webkit-grid · 63c7d1af
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72331
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Test: fast/css-grid-layout/display-grid-set-get.html
      
      Added parsing support for display: -webkit-grid. From a rendering perspective,
      the value is equivalent to display: none until we properly implement it.
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      * css/CSSValueKeywords.in:
      * rendering/style/RenderStyleConstants.h:
      Added the new CSS value and plumbed the parsing and style application of
      the new value.
      
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::operator EDisplay):
      Added an ASSERT here as I bumped into some non-trivial issues due to bug 72296.
      -wap-marquee was offsetting the new value and was wrongly casted by the CSSPrimitiveValueMapping
      logic outside the EDisplay range which would lead to crashes.
      
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::createObject):
      Fixed the indentation to follow our coding rules.
      
      LayoutTests:
      
      * fast/css-grid-layout/display-grid-set-get-expected.txt: Added.
      * fast/css-grid-layout/display-grid-set-get.html: Added.
      * fast/css-grid-layout/resources/display-grid-set-get.js: Added.
      Test that setting the display to -webkit-grid (from JS or CSS) works
      and we get the right value back.
      
      * platform/chromium/test_expectations.txt:
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      SKIP the css-grid-layout tests on all platforms for now.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63c7d1af
    • tony@chromium.org's avatar
      enable new flexbox tests everywhere · f6420695
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72325
      
      Reviewed by Ojan Vafai.
      
      * platform/chromium/test_expectations.txt:
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6420695
  5. 07 Nov, 2011 1 commit
  6. 03 Nov, 2011 3 commits
    • jchaffraix@webkit.org's avatar
      Unreviewed gardening after r99212. · 351294b1
      jchaffraix@webkit.org authored
      * platform/chromium-win/fast/repaint/table-extra-bottom-grow-expected.png:
      * platform/chromium/test_expectations.txt:
      Rebaselined the test on Chromium Windows.
      
      * platform/efl/Skipped:
      I forgot to check the visual baseline on EFL. The EFL port does not seem to have the
      repaint result (likely due to lack of support) thus it does not need a rebaseline.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      351294b1
    • jchaffraix@webkit.org's avatar
      Stop abusing RenderTableSection::needsRecalcCells logic · 19bbb726
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71420
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Change covered by existing tests like fast/repaint/table-extra-bottom-grow.html
      and fast/table/row-height-recalc* (among others).
      
      Cell recalculation is very expensive and should only be called when the section's structure
      changed in a way that requires a safe update to its structure (like removing a row as our
      column split may not be appropriate anymore).
      
      The current code would abuse cell recalculation to actually reset the logical height on the
      RowStruct. This change makes it do the right thing.
      
      * rendering/RenderTableCell.h:
      * rendering/RenderTableRow.h:
      Removed styleWillChange override as it was unneeded.
      
      * rendering/RenderTableCell.cpp:
      (WebCore::RenderTableCell::styleDidChange):
      * rendering/RenderTableRow.cpp:
      (WebCore::RenderTableRow::styleDidChange):
      Move the code from styleWillChange to styleDidChange.
      
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::rowLogicalHeightChanged):
      This function just reset the height on the |RowStruct| which is the
      only part of recalcCells that we would need.
      
      (WebCore::RenderTableSection::rowIndexForRenderer):
      Added this function to find out which index a column has (strangely
      RenderTableRow does not have this information).
      
      * rendering/RenderTableSection.h: Added the 2 previous functions.
      
      LayoutTests:
      
      * platform/chromium-linux/fast/repaint/table-extra-bottom-grow-expected.png:
      Update this test as this is a progression: we are not over-repainting the table
      anymore.
      
      * platform/chromium/test_expectations.txt:
      * platform/efl/Skipped:
      * platform/mac/Skipped:
      * platform/qt/test_expectations.txt:
      Skipped the test here as it needs a rebaseline.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19bbb726
    • commit-queue@webkit.org's avatar
      [EFL] Enable the Page Visibility API. · b8af8009
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69127
      
      Patch by Dongwoo Im <dw.im@samsung.com> on 2011-11-03
      Reviewed by Adam Barth.
      
      .:
      
      Build system changes to support ENABLE(PAGE_VISIBILITY_API) on EFL port.
      
      * Source/cmake/OptionsEfl.cmake: Add enabled ENABLE_PAGE_VISIBILITY_API definition.
      * Source/cmakeconfig.h.cmake: ditto.
      
      Source/WebKit/efl:
      
      Implement methods to enable the Page Visibility API on EFL port.
      (http://www.w3.org/TR/page-visibility)
      
      When the visibility status of the page is changed, browser could
      inform the status to WebKit using the APIs below.
      
      * ewk/ewk_view.cpp: Add setter/getter functions to query/set page visibility state.
      (ewk_view_visibility_state_set): Sets the page visibility status.
      (ewk_view_visibility_state_get): Gets the page visibility status.
      * ewk/ewk_view.h: Add public prototypes.
      
      LayoutTests:
      
      * platform/efl/Skipped: Unskip all of the test cases of page visibility.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8af8009
  7. 31 Oct, 2011 1 commit
  8. 27 Oct, 2011 1 commit
  9. 20 Oct, 2011 1 commit