1. 25 Feb, 2012 2 commits
  2. 24 Feb, 2012 1 commit
  3. 23 Feb, 2012 5 commits
  4. 22 Feb, 2012 2 commits
  5. 21 Feb, 2012 2 commits
    • rniwa@webkit.org's avatar
      Fix the typo. · e72ad214
      rniwa@webkit.org authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e72ad214
    • rniwa@webkit.org's avatar
      perf-o-matic: Extract logic to generate JSON responses as classes to unit test · a2aa3f10
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79018
      
      Rubber-stamped by Adam Birth.
      
      Extracted DashboardJSONGenerator, ManifestJSONGenerator, and RunsJSONGenerator
      into json_generators.py from DashboardHandler, ManifestHandler, and RunsHandler
      and added unit tests for the former three classes.
      
      Merged the latter three classes into controler.py since they have become too trivial
      to have their own files.
      
      * Websites/webkit-perf.appspot.com/controller.py:
      (ManifestUpdateHandler):
      (ManifestUpdateHandler.get):
      (ManifestUpdateHandler.post):
      (DashboardUpdateHandler):
      (DashboardUpdateHandler.get):
      (DashboardUpdateHandler.post):
      (_get_test_branch_platform_ids):
      (RunsUpdateHandler):
      (RunsUpdateHandler.get):
      (CachedRunsHandler.get):
      * Websites/webkit-perf.appspot.com/dashboard_handler.py: Removed.
      * Websites/webkit-perf.appspot.com/json_generators.py: Added.
      (JSONGeneratorBase):
      (JSONGeneratorBase.to_json):
      (DashboardJSONGenerator):
      (DashboardJSONGenerator.__init__):
      (DashboardJSONGenerator.value):
      (ManifestJSONGenerator):
      (ManifestJSONGenerator.__init__):
      (ManifestJSONGenerator.value):
      (RunsJSONGenerator):
      (RunsJSONGenerator.__init__):
      (RunsJSONGenerator._generate_runs):
      (RunsJSONGenerator._entry_from_build_and_result):
      (RunsJSONGenerator.value):
      * Websites/webkit-perf.appspot.com/json_generators_unittest.py: Added.
      (_create_results):
      (JSONGeneratorBaseTest):
      (JSONGeneratorBaseTest.test_to_json):
      (JSONGeneratorBaseTest.test_to_json.AJSONGenerator):
      (JSONGeneratorBaseTest.test_to_json.AJSONGenerator.value):
      (DashboardJSONGeneratorTest):
      (DashboardJSONGeneratorTest.test_value_no_branch):
      (DashboardJSONGeneratorTest.test_value_no_plaforms):
      (DashboardJSONGeneratorTest.test_value_single_platform):
      (DashboardJSONGeneratorTest.test_value_two_platforms):
      (ManifestJSONGeneratorTest):
      (ManifestJSONGeneratorTest.test_value_no_branch):
      (ManifestJSONGeneratorTest.test_value_no_plaforms):
      (ManifestJSONGeneratorTest._assert_single_test):
      (ManifestJSONGeneratorTest.test_value_single_platform):
      (ManifestJSONGeneratorTest.test_value_two_platforms):
      (ManifestJSONGeneratorTest.test_value_two_tests):
      (RunsJSONGeneratorTest):
      (RunsJSONGeneratorTest._create_results):
      (RunsJSONGeneratorTest.test_generate_runs):
      (RunsJSONGeneratorTest.test_value_without_results):
      (RunsJSONGeneratorTest.test_value_with_results):
      (RunsJSONGeneratorTest._assert_entry):
      (RunsJSONGeneratorTest.test_run_from_build_and_result):
      (RunsJSONGeneratorTest.test_run_from_build_and_result.create_build):
      * Websites/webkit-perf.appspot.com/main.py:
      * Websites/webkit-perf.appspot.com/manifest_handler.py: Removed.
      * Websites/webkit-perf.appspot.com/models.py:
      (Test.update_or_insert.execute):
      (Test):
      (TestResult.get_or_insert_from_parsed_json):
      * Websites/webkit-perf.appspot.com/models_unittest.py:
      (TestModelTests.test_update_or_insert_to_update):
      (TestResultTests.test_get_or_insert_stat_value):
      * Websites/webkit-perf.appspot.com/runs_handler.py: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2aa3f10
  6. 20 Feb, 2012 7 commits
    • commit-queue@webkit.org's avatar
      [GTK] Turn on requestAnimationFrame for release builds · 9c2107a5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79038
      
      Patch by Martin Robinson <mrobinson@igalia.com> on 2012-02-20
      Reviewed by Gustavo Noronha Silva.
      
      * configure.ac: Turn on requestAnimationFrame by default.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c2107a5
    • commit-queue@webkit.org's avatar
      [GTK] Geolocation support should be on by default · 01621916
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79037
      
      Patch by Martin Robinson <mrobinson@igalia.com> on 2012-02-20
      Reviewed by Gustavo Noronha Silva.
      
      * configure.ac: Turn on geolocation support in release builds.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01621916
    • commit-queue@webkit.org's avatar
      .: Add a new API for the Vibration API(W3C). · 9dda50c8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72010
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-02-20
      Reviewed by Hajime Morita.
      
      Add Implementation for the Vibration API to the WebKit-EFL port.
      http://dev.w3.org/2009/dap/vibration/
      
      * Source/cmake/OptionsEfl.cmake: Add ENABLE_VIBRATION feature.
      * Source/cmakeconfig.h.cmake:
      
      Source/WebCore: Add a new API for the Vibration API(W3C).
      https://bugs.webkit.org/show_bug.cgi?id=72010
      
      http://dev.w3.org/2009/dap/vibration/
      This patch implements navigator.webkitvibrate() API.
      This API operates differently depending upon a given parameter:
      1. It cancels vibration when given 0 or [].
      2. It gives a vibration duration in milliseconds when given as a single integer value.
      3. It gives a vibration pattern when given as an integer array. For instance, [1000 300 1000] generates a vibration of 1000ms followed by 300ms of idle time, and then creates another vibration of 1000ms.
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-02-20
      Reviewed by Hajime Morita.
      
      Test: fast/dom/navigator-vibration.html
      
      * CMakeLists.txt:
      * Modules/vibration/NavigatorVibration.cpp: Added.
      (WebCore):
      (WebCore::NavigatorVibration::NavigatorVibration):
      (WebCore::NavigatorVibration::~NavigatorVibration):
      (WebCore::NavigatorVibration::webkitVibrate):
      Add webkitVibrate method to get an array or single integer parameter for vibrating.
      They check vibration is activated in the platform, and then call vibrate() in the Vibration class.
      * Modules/vibration/NavigatorVibration.h: Added.
      (WebCore):
      (NavigatorVibration):
      * Modules/vibration/NavigatorVibration.idl: Added.
      * Modules/vibration/Vibration.cpp: Added.
      This class implements the entire vibration logic.
      (WebCore):
      (WebCore::Vibration::Vibration):
      (WebCore::Vibration::~Vibration):
      (WebCore::Vibration::create):
      (WebCore::Vibration::vibrate):
      (WebCore::Vibration::cancelVibration):
      (WebCore::Vibration::suspendVibration):
      (WebCore::Vibration::resumeVibration):
      (WebCore::Vibration::timerStartFired):
      (WebCore::Vibration::timerStopFired):
      (WebCore::Vibration::supplementName):
      (WebCore::Vibration::isActive):
      (WebCore::provideVibrationTo):
      * Modules/vibration/Vibration.h: Added.
      (WebCore):
      (Vibration):
      (WebCore::Vibration::from):
      * Modules/vibration/VibrationClient.h: Added.
      vibrate() and cancelVibrate() need to be implemented in the VibrationClient.
      (WebCore):
      (VibrationClient):
      (WebCore::VibrationClient::~VibrationClient):
      
      Source/WebKit/efl: Add a new API for the Vibration API(W3C).
      https://bugs.webkit.org/show_bug.cgi?id=72010
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-02-20
      Reviewed by Hajime Morita.
      
      Implementation for the Vibration API feature to the EFL-port layer.
      http://dev.w3.org/2009/dap/vibration/
      There are two methods for vibration API.
      - vibrate : Vibrate device for receiving as a parameter.
      - cancelVibrate : Cancel current vibration.
      
      * CMakeListsEfl.txt:
      * WebCoreSupport/VibrationClientEfl.cpp: Added.
      (WebCore):
      (WebCore::VibrationClientEfl::VibrationClientEfl):
      (WebCore::VibrationClientEfl::vibrate):
      (WebCore::VibrationClientEfl::cancelVibration):
      (WebCore::VibrationClientEfl::vibrationDestroyed):
      * WebCoreSupport/VibrationClientEfl.h: Added.
      (WebCore):
      (VibrationClientEfl):
      (WebCore::VibrationClientEfl::~VibrationClientEfl):
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (_ewk_view_priv_new):
      
      Tools: Add a new API for the Vibration API(W3C).
      https://bugs.webkit.org/show_bug.cgi?id=72010
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-02-20
      Reviewed by Hajime Morita.
      
      * Scripts/build-webkit: Enable ENABLE_VIBRATION feature.
      
      LayoutTests: Add a new test case for the Vibration API.
      https://bugs.webkit.org/show_bug.cgi?id=72010
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-02-20
      Reviewed by Hajime Morita.
      
      * fast/dom/navigator-vibration-expected.txt: Added.
      * fast/dom/navigator-vibration.html: Added.
      * platform/chromium/test_expectations.txt:
      * 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@108272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9dda50c8
    • rniwa@webkit.org's avatar
      Move more logic from handler classes to model classes and add unit tests · 6549a5e1
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78989
      
      Reviewed by Hajime Morita.
      
      Extracted various functions from CreateHandler, ReportHanlder, and RunsHanlder to model classes
      in order to unit-test them, added DataStoreTestsBase to reduce the code duplication in tests,
      and added a whole bunch of unit tests in models_unittest.py.
      
      * Websites/webkit-perf.appspot.com/create_handler.py:
      (CreateHandler._create_branch):
      (CreateHandler._create_platform):
      * Websites/webkit-perf.appspot.com/models.py:
      (_create_if_possible):
      (_create_if_possible.execute):
      (Branch):
      (Branch.create_if_possible):
      (Platform):
      (Platform.create_if_possible):
      (Build):
      (Build.get_or_insert_from_log):
      (Test):
      (Test.update_or_insert):
      (Test.update_or_insert.execute):
      (TestResult):
      (TestResult.get_or_insert_from_parsed_json):
      (TestResult.get_or_insert_from_parsed_json._float_or_none):
      (TestResult.generate_runs):
      * Websites/webkit-perf.appspot.com/models_unittest.py:
      (DataStoreTestsBase):
      (DataStoreTestsBase.assertThereIsNoInstanceOf):
      (DataStoreTestsBase.assertOnlyInstance):
      (DataStoreTestsBase.assertEqualUnorderedList):
      (HelperTests):
      (HelperTests.test_create_in_transaction_with_numeric_id_holder):
      (HelperTests.test_failing_in_create_in_transaction_with_numeric_id_holder):
      (HelperTests.test_raising_in_create_in_transaction_with_numeric_id_holder):
      (HelperTests.test_delete_model_with_numeric_id_holder):
      (BranchTests):
      (BranchTests.test_create_if_possible):
      (PlatformTests):
      (PlatformTests.test_create_if_possible):
      (BuilderTests):
      (_create_some_builder):
      (BuildTests):
      (BuildTests.test_get_or_insert_from_log):
      (TestModelTests):
      (TestModelTests.test_update_or_insert):
      (TestModelTests.test_update_or_insert_to_update):
      (TestResultTests):
      (TestResultTests._create_build):
      (TestResultTests.test_get_or_insert_value):
      (TestResultTests.test_get_or_insert_stat_value):
      (TestResultTests._create_results):
      (TestResultTests.test_generate_runs):
      (ReportLogTests):
      (ReportLogTests.test_branch):
      (ReportLogTests.test_platform):
      (PersistentCacheTests):
      (PersistentCacheTests.setUp):
      (PersistentCacheTests.test_set):
      * Websites/webkit-perf.appspot.com/report_process_handler.py:
      (ReportProcessHandler.post):
      * Websites/webkit-perf.appspot.com/runs_handler.py:
      (RunsHandler.get):
      (RunsHandler.post):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6549a5e1
    • paroga@webkit.org's avatar
      [CMake] Fix PLATFORM() define for Windows. · f471d4ee
      paroga@webkit.org authored
      Define WTF_PLATFORM_WIN instead of WTF_PLATFORM_WINDOWS.
      
      * Source/cmake/OptionsWindows.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f471d4ee
    • mrobinson@webkit.org's avatar
      Fix WebKit2GTK+ for 'make distcheck'. · 9afd970a
      mrobinson@webkit.org authored
      Instead of conditionally including WebKit2 GNUmakefiles, always
      include them and conditionally activate the final targets.
      
      .:
      
      * GNUmakefile.am:
      
      Source/WebKit2:
      
      * GNUmakefile.am:
      * UIProcess/API/gtk/tests/GNUmakefile.am:
      
      Tools:
      
      * MiniBrowser/gtk/GNUmakefile.am:
      * WebKitTestRunner/GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9afd970a
    • gyuyoung.kim@samsung.com's avatar
      [CMAKE] Check gstreamer minimum required version. · 9cf003c4
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79005
      
      Reviewed by Daniel Bates.
      
      To enable video, Gstreamer version requires to be above 0.10.30.
      This patch checks whether Gstreamer version is greater than 0.10.30.
      
      * Source/cmake/FindGStreamer-App.cmake:
      * Source/cmake/FindGStreamer-Base.cmake:
      * Source/cmake/FindGStreamer-Interfaces.cmake:
      * Source/cmake/FindGStreamer-Pbutils.cmake:
      * Source/cmake/FindGStreamer-Plugins-Base.cmake:
      * Source/cmake/FindGStreamer-Video.cmake:
      * Source/cmake/FindGStreamer.cmake:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cf003c4
  7. 19 Feb, 2012 2 commits
  8. 18 Feb, 2012 1 commit
  9. 17 Feb, 2012 2 commits
    • rniwa@webkit.org's avatar
      perf-o-matic needs model unit tests · 350dc8ff
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78885
      
      Reviewed by Adam Barth.
      
      Added unit tests for models.py.
      
      Also renamed modelFromNumericId to model_from_numeric_id and moved set_persitent_cache and get_persistent_cache
      from controller to PersistentCache.set_cache and PersistentCahce.set_cache respectively.
      
      * Websites/webkit-perf.appspot.com/controller.py:
      (cache_manifest):
      (CachedManifestHandler.get):
      (cache_dashboard):
      (CachedDashboardHandler.get):
      (cache_runs):
      (CachedRunsHandler.get):
      * Websites/webkit-perf.appspot.com/create_handler.py:
      (CreateHandler._create_builder):
      (CreateHandler._create_builder.execute):
      * Websites/webkit-perf.appspot.com/models.py:
      (create_in_transaction_with_numeric_id_holder):
      (model_from_numeric_id):
      (Builder):
      (Builder.create):
      (Builder.update_password):
      (Builder._hashed_password):
      (TestResult.key_name):
      (ReportLog.get_value):
      (ReportLog._integer_in_payload):
      (ReportLog):
      (ReportLog.timestamp):
      (PersistentCache):
      (PersistentCache.set_cache):
      (PersistentCache.set_cache.execute):
      (PersistentCache.get_cache):
      * Websites/webkit-perf.appspot.com/models_unittest.py: Added.
      (HelperTests):
      (HelperTests.setUp):
      (HelperTests.tearDown):
      (HelperTests._assert_there_is_exactly_one_id_holder_and_matches):
      (HelperTests.test_create_in_transaction_with_numeric_id_holder):
      (HelperTests.test_create_in_transaction_with_numeric_id_holder.execute):
      (HelperTests.test_failing_in_create_in_transaction_with_numeric_id_holder):
      (HelperTests.test_failing_in_create_in_transaction_with_numeric_id_holder.execute):
      (HelperTests.test_raising_in_create_in_transaction_with_numeric_id_holder):
      (HelperTests.test_raising_in_create_in_transaction_with_numeric_id_holder.execute):
      (HelperTests.test_delete_model_with_numeric_id_holder):
      (HelperTests.test_delete_model_with_numeric_id_holder.execute):
      (HelperTests.test_model_from_numeric_id):
      (HelperTests.test_model_from_numeric_id.execute):
      (BuilderTests):
      (BuilderTests.setUp):
      (BuilderTests.tearDown):
      (BuilderTests.test_create):
      (BuilderTests.test_update_password):
      (BuilderTests.test_hashed_password):
      (BuilderTests.test_authenticate):
      (ReportLog):
      (ReportLog.setUp):
      (ReportLog.tearDown):
      (ReportLog._create_log_with_payload):
      (ReportLog.test_parsed_payload):
      (ReportLog.test_get_value):
      (ReportLog.test_results):
      (ReportLog.test_builder):
      (ReportLog.test_build_number):
      (ReportLog.test_webkit_revision):
      (ReportLog.chromium_revision):
      (PersistentCacheTests):
      (PersistentCacheTests.setUp):
      (PersistentCacheTests.tearDown):
      (PersistentCacheTests._assert_persistent_cache):
      (PersistentCacheTests.test_set):
      (PersistentCacheTests.test_get):
      * Websites/webkit-perf.appspot.com/runs_handler.py:
      (RunsHandler.post):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      350dc8ff
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix GTK+ build after r108003. · 2c8c53b8
      carlosgc@webkit.org authored
      * Source/autotools/symbols.filter: Add missing symbol.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c8c53b8
  10. 16 Feb, 2012 1 commit
    • hausmann@webkit.org's avatar
      [Qt] Move event conversion functions from WebCore to WebKit · bff9d2c5
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78788
      
      Reviewed by Kenneth Rohde Christiansen.
      
      .:
      
      * Source/api.pri: Add new files to the build.
      
      Source/WebCore:
      
      Move QtWidgets dependent mouse event constructors out of WebCore
      into WebKit, similar to the web event conversions of WebKit2.
      
      * Target.pri:
      * platform/PlatformMouseEvent.h:
      (PlatformMouseEvent):
      * platform/PlatformWheelEvent.h:
      (PlatformWheelEvent):
      
      Source/WebKit/qt:
      
      Move QtWidgets dependent mouse event constructors out of WebCore
      into WebKit, similar to the web event conversions of WebKit2.
      
      * Api/qwebpage.cpp:
      (QWebPagePrivate::mouseMoveEvent):
      (QWebPagePrivate::mousePressEvent):
      (QWebPagePrivate::mouseDoubleClickEvent):
      (QWebPagePrivate::mouseTripleClickEvent):
      (QWebPagePrivate::mouseReleaseEvent):
      (QWebPagePrivate::wheelEvent):
      (QWebPage::swallowContextMenuEvent):
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
      * WebCoreSupport/WebEventConversion.cpp: Added.
      (WebCore):
      (WebCore::mouseEventModifiersFromQtKeyboardModifiers):
      (WebCore::mouseEventTypeAndMouseButtonFromQEvent):
      (WebKitPlatformMouseEvent):
      (WebCore::WebKitPlatformMouseEvent::WebKitPlatformMouseEvent):
      (WebCore::convertMouseEvent):
      (WebKitPlatformWheelEvent):
      (WebCore::WebKitPlatformWheelEvent::applyDelta):
      (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
      (WebCore::convertWheelEvent):
      * WebCoreSupport/WebEventConversion.h: Added.
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bff9d2c5
  11. 15 Feb, 2012 2 commits
    • kubo@profusion.mobi's avatar
      [CMake] Remove unused PkgConfig module import from FindCFLite.cmake. · ba86d4fc
      kubo@profusion.mobi authored
      https://bugs.webkit.org/show_bug.cgi?id=78600
      
      Reviewed by Adam Roben.
      
      * Source/cmake/FindCFLite.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba86d4fc
    • rolandsteiner@chromium.org's avatar
      <style scoped>: Allow <style scoped> as a direct child of a ShadowRoot · 2ce77d76
      rolandsteiner@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77853
      
      .:
      
      numberOfScopedHTMLStyleChildren got moved from Element into Node.
      
      Reviewed by Dimitri Glazkov.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Moved registration code from Element to Node. updated Internals and build files accordingly.
      Moved registration data members from ElementRareData to NodeRareData.
      Forward willRemove() from host element into shadow DOM tree.
      
      Reviewed by Dimitri Glazkov.
      
      Test: fast/css/style-scoped/registering-shadowroot.html
      
      * WebCore.exp.in:
      * dom/Element.cpp:
      (WebCore::Element::willRemove):
      * dom/Element.h:
      (Element):
      * dom/ElementRareData.h:
      (ElementRareData):
      (WebCore::ElementRareData::ElementRareData):
      * dom/Node.cpp:
      (WebCore):
      (WebCore::Node::hasScopedHTMLStyleChild):
      (WebCore::Node::numberOfScopedHTMLStyleChildren):
      (WebCore::Node::registerScopedHTMLStyleChild):
      (WebCore::Node::unregisterScopedHTMLStyleChild):
      * dom/Node.h:
      (Node):
      * dom/NodeRareData.h:
      (WebCore::NodeRareData::NodeRareData):
      (NodeRareData):
      (WebCore::NodeRareData::registerScopedHTMLStyleChild):
      (WebCore::NodeRareData::unregisterScopedHTMLStyleChild):
      (WebCore::NodeRareData::hasScopedHTMLStyleChild):
      (WebCore::NodeRareData::numberOfScopedHTMLStyleChildren):
      * dom/ShadowRootList.cpp:
      (WebCore::ShadowRootList::willRemove):
      (WebCore):
      * dom/ShadowRootList.h:
      (ShadowRootList):
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::registerWithScopingNode):
      (WebCore::HTMLStyleElement::unregisterWithScopingNode):
      * testing/Internals.cpp:
      (WebCore::Internals::numberOfScopedHTMLStyleChildren):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      numberOfScopedHTMLStyleChildren got moved from Element into Node.
      
      Reviewed by Dimitri Glazkov.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests:
      
      Test registration of <style scoped> as a direct child of a ShadowRoot.
      
      Reviewed by Dimitri Glazkov.
      
      * fast/css/style-scoped/registering-shadowroot-expected.txt: Added.
      * fast/css/style-scoped/registering-shadowroot.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ce77d76
  12. 14 Feb, 2012 2 commits
    • kubo@profusion.mobi's avatar
      [CMake] Merge WebKitEfl.cmake into FindEFL.cmake. · 485a5287
      kubo@profusion.mobi authored
      https://bugs.webkit.org/show_bug.cgi?id=78566
      
      Reviewed by Daniel Bates.
      
      .:
      
      * Source/cmake/FindEFL.cmake: Move the code to find edje_cc here from
      WebKitEfl.cmake.
      * Source/cmake/WebKitEfl.cmake: Removed.
      
      Source/WebKit/efl:
      
      * CMakeListsEfl.txt: Do not include WebKitEfl.cmake.
      
      Source/WebKit2:
      
      * PlatformEfl.cmake: Do not include WebKitEfl.cmake.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      485a5287
    • commit-queue@webkit.org's avatar
      Use youngestShadowRoot and oldestShadowRoot instead of Element::shadowRoot(). · 36762184
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78455
      
      Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-14
      Reviewed by Hajime Morita.
      
      .:
      
      Exports necessary symbols.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Element::shadowRoot() was used for these 3 purposes.
      1. checks a shadow root exists.
      2. gets author shadow root.
      3. gets user agent shadow root.
      
      We have to distinguish them when implementing multiple shadow subtrees.
      
      Calling for (1), (2), and (3) are convered to hasShadowRoot(),
      ShadowRootList()->youngestShadowRoot(), and ShadowRootList()->oldestShadowRoot() respectively.
      
      No new tests, no change in behavior.
      
      * WebCore.exp.in:
      * dom/Document.cpp:
      (WebCore::Document::buildAccessKeyMap):
      * dom/Element.cpp:
      (WebCore::Element::insertedIntoDocument):
      (WebCore::Element::removedFromDocument):
      (WebCore::Element::insertedIntoTree):
      (WebCore::Element::removedFromTree):
      (WebCore::Element::attach):
      (WebCore::Element::detach):
      (WebCore::Element::recalcStyle):
      (WebCore::Element::ensureShadowRoot):
      (WebCore::Element::childrenChanged):
      (WebCore::Element::focus):
      * dom/Element.h:
      (Element):
      * dom/EventDispatcher.cpp:
      (WebCore::isShadowHost):
      * dom/Node.cpp:
      (WebCore::shadowRoot):
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::NodeRenderingContext):
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::create):
      * dom/ShadowRootList.cpp:
      (WebCore::ShadowRootList::insertedIntoDocument):
      (WebCore):
      (WebCore::ShadowRootList::removedFromDocument):
      (WebCore::ShadowRootList::insertedIntoTree):
      (WebCore::ShadowRootList::removedFromTree):
      (WebCore::ShadowRootList::hostChildrenChanged):
      (WebCore::ShadowRootList::attach):
      (WebCore::ShadowRootList::detach):
      * dom/ShadowRootList.h:
      (ShadowRootList):
      * dom/TreeScopeAdopter.cpp:
      (WebCore::shadowRootFor):
      * html/FileInputType.cpp:
      (WebCore::FileInputType::createShadowSubtree):
      (WebCore::FileInputType::multipleAttributeChanged):
      * html/HTMLDetailsElement.cpp:
      (WebCore::HTMLDetailsElement::createShadowSubtree):
      (WebCore::HTMLDetailsElement::findMainSummary):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::createShadowSubtree):
      * html/HTMLKeygenElement.cpp:
      (WebCore::HTMLKeygenElement::HTMLKeygenElement):
      (WebCore::HTMLKeygenElement::shadowSelect):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::mediaControls):
      (WebCore::HTMLMediaElement::hasMediaControls):
      * html/HTMLMeterElement.cpp:
      (WebCore::HTMLMeterElement::createShadowSubtree):
      * html/HTMLProgressElement.cpp:
      (WebCore::HTMLProgressElement::createShadowSubtree):
      * html/HTMLSummaryElement.cpp:
      (WebCore::HTMLSummaryElement::createShadowSubtree):
      * html/HTMLTextAreaElement.cpp:
      (WebCore::HTMLTextAreaElement::createShadowSubtree):
      (WebCore::HTMLTextAreaElement::innerTextElement):
      (WebCore::HTMLTextAreaElement::updatePlaceholderText):
      * html/InputType.cpp:
      (WebCore::InputType::destroyShadowSubtree):
      * html/RangeInputType.cpp:
      (WebCore::RangeInputType::handleMouseDownEvent):
      (WebCore::RangeInputType::createShadowSubtree):
      * html/TextFieldInputType.cpp:
      (WebCore::TextFieldInputType::createShadowSubtree):
      (WebCore::TextFieldInputType::updatePlaceholderText):
      * html/ValidationMessage.cpp:
      (WebCore::ValidationMessage::deleteBubbleTree):
      * html/shadow/SliderThumbElement.cpp:
      (WebCore::sliderThumbElementOf):
      (WebCore::RenderSliderContainer::layout):
      (WebCore::trackLimiterElementOf):
      * page/FocusController.cpp:
      (WebCore::shadowRoot):
      * rendering/RenderFileUploadControl.cpp:
      (WebCore::RenderFileUploadControl::uploadButton):
      * svg/SVGTRefElement.cpp:
      (WebCore::SVGTRefElement::updateReferencedText):
      * testing/Internals.cpp:
      (WebCore::Internals::ensureShadowRoot):
      (WebCore::Internals::shadowRoot):
      (WebCore):
      (WebCore::Internals::youngestShadowRoot):
      (WebCore::Internals::oldestShadowRoot):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      Exports necesarry symbols.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36762184
  13. 13 Feb, 2012 4 commits
    • rniwa@webkit.org's avatar
      Yet another perf-o-matic build fix. It turns out that a task of the same name can't be · 06ef2a95
      rniwa@webkit.org authored
      queued for days after the first task is completed. So don't use it. Updating persistent
      caches more often than necessary is better than never updating them.
      
      * Websites/webkit-perf.appspot.com/controller.py:
      (schedule_manifest_update):
      (schedule_dashboard_update):
      (schedule_runs_update):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06ef2a95
    • commit-queue@webkit.org's avatar
      [GTK] Revise configuration for MHTML · a58b6bf9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78364
      
      Patch by ChangSeok Oh <shivamidow@gmail.com> on 2012-02-13
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      Added some lines to show checking messages, whether mhtml is enabled or not
      during configuration and the configuration result for mhtml.
      MHTML is a web page archive format used to combine resources
      that are typically represented by external links (such as images, Flash animations,
      Java applets, audio files) together with HTML code into a single file.
      http://en.wikipedia.org/wiki/MHTML
      
      * configure.ac:
      
      Source/WebCore:
      
      Added mhtml directory and removed target files duplicated to build when enabling mhtml.
      Archive.cpp, ArchiveFactory.cpp & their headers are included at the above line.
      This duplication has caused build-break if mhtml is enabled.
      
      No new tests, since no new features.
      
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a58b6bf9
    • kubo@profusion.mobi's avatar
      [EFL] Drop support for the Curl network backend. · c3a2eeb5
      kubo@profusion.mobi authored
      https://bugs.webkit.org/show_bug.cgi?id=77874
      
      Reviewed by Eric Seidel.
      
      Nobody seems to be maintaining the Curl backend in WebCore, the
      EFL port developers all seem to be using the Soup backend and the
      port itself has many features which are only implemented for the
      latter.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake: Remove network backend selection
      checks and unconditionally require Glib and Libsoup, bump the
      required LibSoup version to the same one the GTK+ port looks for,
      since we share the same network backend.
      
      Source/JavaScriptCore:
      
      * wtf/PlatformEfl.cmake: Always build the gobject-dependent source
      files.
      
      Source/WebCore:
      
      No new tests, just some dependency plumbing.
      
      * PlatformEfl.cmake: Build the glib/soup source files
      unconditionally.
      * platform/efl/FileSystemEfl.cpp: Remove ENABLE(GLIB_SUPPORT) check.
      
      Source/WebKit/efl:
      
      * CMakeListsEfl.txt: Unconditionally build soup-dependent files
      and always add the glib/soup include directories and libraries.
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):
      Remove USE(SOUP) checks.
      * ewk/ewk_auth.cpp:
      (ewk_auth_show_dialog_callback_set): Ditto.
      (ewk_auth_credentials_set): Ditto.
      * ewk/ewk_cookies.cpp:
      (ewk_cookies_file_set): Ditto.
      (ewk_cookies_clear): Ditto.
      (ewk_cookies_get_all): Ditto.
      (ewk_cookies_cookie_del): Ditto.
      (ewk_cookies_cookie_free): Ditto.
      (ewk_cookies_policy_set): Ditto.
      (ewk_cookies_policy_get): Ditto.
      * ewk/ewk_frame.cpp:
      (ewk_frame_certificate_status_get): Ditto.
      * ewk/ewk_main.cpp:
      (_ewk_init_body): Ditto.
      * ewk/ewk_network.cpp:
      (ewk_network_proxy_uri_set): Ditto.
      (ewk_network_proxy_uri_get): Ditto.
      (ewk_network_tls_certificate_check_get): Ditto.
      (ewk_network_tls_certificate_check_set): Ditto.
      (ewk_network_tls_ca_certificates_path_get): Ditto.
      (ewk_network_tls_ca_certificates_path_set): Ditto.
      (ewk_network_default_soup_session_get): Ditto.
      * ewk/ewk_network.h: Update apidox for
      ewk_network_default_soup_session_get() now that libsoup is the
      only available backend.
      
      Source/WebKit2:
      
      * PlatformEfl.cmake: Unconditionally build the glib/soup source
      files and unconditionally add the required include directories and
      libraries.
      * WebProcess/efl/WebProcessMainEfl.cpp:
      (WebKit::WebProcessMainEfl): Remove USE(SOUP) check.
      
      Tools:
      
      * DumpRenderTree/efl/CMakeLists.txt: Always link to glib/libsoup
      and always add the required include directories.
      * EWebLauncher/CMakeLists.txt: Add the required glib/libsoup
      include directories and link to them.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3a2eeb5
    • rniwa@webkit.org's avatar
      Another perf-o-matic build fix. · e75636ff
      rniwa@webkit.org authored
      * Websites/webkit-perf.appspot.com/report_process_handler.py:
      (ReportProcessHandler._create_build_if_possible):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e75636ff
  14. 12 Feb, 2012 3 commits
  15. 10 Feb, 2012 3 commits
    • adamk@chromium.org's avatar
      Enable MUTATION_OBSERVERS by default on all platforms · 563e0dee
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78196
      
      Reviewed by Ojan Vafai.
      
      .:
      
      * configure.ac:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * UseV8.cmake: Add some previously-missing files.
      * WebCore.vcproj/WebCore.vcproj: ditto.
      * bindings/js/JSBindingsAllInOne.cpp: ditto.
      * dom/DOMAllInOne.cpp: ditto.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/build-webkit:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      * platform/efl/Skipped: Stop skipping the tests except for those known to fail.
      * platform/gtk/Skipped: ditto.
      * platform/mac/Skipped: ditto.
      * platform/qt/Skipped: ditto.
      * platform/win/Skipped: ditto.
      * platform/wincairo/Skipped: ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      563e0dee
    • rniwa@webkit.org's avatar
      Perf-o-matic build fix after r107386. · 265c7063
      rniwa@webkit.org authored
      * Websites/webkit-perf.appspot.com/app.yaml:
      * Websites/webkit-perf.appspot.com/controller.py:
      (schedule_manifest_update):
      (schedule_dashboard_update):
      (schedule_runs_update):
      * Websites/webkit-perf.appspot.com/merge_tests_handler.py:
      (MergeTestsHandler.get):
      * Websites/webkit-perf.appspot.com/report_logs_handler.py:
      (ReportLogsHandler.get):
      (ReportLogsHandler.post):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      265c7063
    • rniwa@webkit.org's avatar
      Perf-o-matic should process reports in background · 079a0611
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78309
      
      Reviewed by Hajime Morita.
      
      Split the logic to create Build, Test, and TestResult objects from ReportHandler into ReportProcessHandler.
      ReportHandler now merely creates ReportLog and schedules a task to process it.
      
      Also added ReportLogHandler to manage stale ReportLogs.
      
      * Websites/webkit-perf.appspot.com/app.yaml:
      * Websites/webkit-perf.appspot.com/controller.py:
      (schedule_manifest_update):
      (schedule_dashboard_update):
      (schedule_runs_update):
      (CachedRunsHandler.get):
      (schedule_report_process):
      * Websites/webkit-perf.appspot.com/main.py:
      * Websites/webkit-perf.appspot.com/merge_tests.html: Renamed from Websites/webkit-perf.appspot.com/merge_tests.yaml.
      * Websites/webkit-perf.appspot.com/models.py:
      (ReportLog):
      (ReportLog._parsed_payload):
      (ReportLog.get_value):
      (ReportLog.results):
      (ReportLog.builder):
      (ReportLog.branch):
      (ReportLog.platform):
      (ReportLog.build_number):
      (ReportLog.webkit_revision):
      (ReportLog.chromium_revision):
      (ReportLog._model_by_key_name_in_payload):
      (ReportLog._integer_in_payload):
      (ReportLog.timestamp):
      * Websites/webkit-perf.appspot.com/report_handler.py:
      (ReportHandler.post):
      (ReportHandler._output):
      (ReportHandler._results_are_valid):
      (ReportHandler._results_are_valid._is_float_convertible):
      (ReportHandler):
      * Websites/webkit-perf.appspot.com/report_logs.html: Added.
      * Websites/webkit-perf.appspot.com/report_logs_handler.py: Added.
      (ReportLogsHandler):
      (ReportLogsHandler.get):
      (ReportLogsHandler.post):
      (ReportLogsHandler._error):
      * Websites/webkit-perf.appspot.com/report_process_handler.py: Copied from Websites/webkit-perf.appspot.com/report_handler.py.
      (ReportProcessHandler):
      (ReportProcessHandler.post):
      (ReportProcessHandler._create_build_if_possible):
      (ReportProcessHandler._create_build_if_possible.execute):
      (ReportProcessHandler._add_test_if_needed):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      079a0611
  16. 09 Feb, 2012 1 commit