2009-12-16 Kent Tamura <tkent@chromium.org>
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2009 05:30:45 +0000 (05:30 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2009 05:30:45 +0000 (05:30 +0000)
commit2371c9f98f0b6d2f3cc8eed993e8b08fd400de04
treea31acb0d125cc2a31dc0cd7fa7ce05992b862c96
parentb67c749875c2d164db609016573fa6edb95ab776
2009-12-16  Kent Tamura  <tkent@chromium.org>

        Reviewed by David Levin.

        check-webkit-style supports for TAB check against text files.
        https://bugs.webkit.org/show_bug.cgi?id=32538

        * Scripts/check-webkit-style:
          Move process_patch() to style.py.
        * Scripts/modules/cpp_style.py:
          Add can_handle().
        * Scripts/modules/cpp_style_unittest.py:
          Add tests for can_handle().
        * Scripts/modules/style.py:
          Added. This is a front-end of cpp_style and text_style. It dispatches
          files to an appropriate linter.
        * Scripts/modules/text_style.py:
          Added. This is a linter module for generic text files. It supports
          only for TAB checking at this moment.
        * Scripts/modules/text_style_unittest.py:
          Added. Tests for text_style.py.
        * Scripts/run-webkit-unittests:
          Add text_style_unittest.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@52232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/Scripts/check-webkit-style
WebKitTools/Scripts/modules/cpp_style.py
WebKitTools/Scripts/modules/cpp_style_unittest.py
WebKitTools/Scripts/modules/style.py [new file with mode: 0644]
WebKitTools/Scripts/modules/text_style.py [new file with mode: 0644]
WebKitTools/Scripts/modules/text_style_unittest.py [new file with mode: 0644]
WebKitTools/Scripts/run-webkit-unittests