Title: [106814] trunk/Tools
- Revision
- 106814
- Author
- [email protected]
- Date
- 2012-02-06 09:33:55 -0800 (Mon, 06 Feb 2012)
Log Message
[webkitpy] cpp style-checker complains about readability/naming in GStreamer elements source files
https://bugs.webkit.org/show_bug.cgi?id=77866
Reviewed by Martin Robinson.
* Scripts/webkitpy/style/checker.py: Ignore readability/naming
errors in some gstreamer source code files defining new GStreamer elements.
* Scripts/webkitpy/style/checker_unittest.py:
(GlobalVariablesTest.test_path_rules_specifier):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (106813 => 106814)
--- trunk/Tools/ChangeLog 2012-02-06 17:31:44 UTC (rev 106813)
+++ trunk/Tools/ChangeLog 2012-02-06 17:33:55 UTC (rev 106814)
@@ -1,3 +1,15 @@
+2012-02-06 Philippe Normand <[email protected]>
+
+ [webkitpy] cpp style-checker complains about readability/naming in GStreamer elements source files
+ https://bugs.webkit.org/show_bug.cgi?id=77866
+
+ Reviewed by Martin Robinson.
+
+ * Scripts/webkitpy/style/checker.py: Ignore readability/naming
+ errors in some gstreamer source code files defining new GStreamer elements.
+ * Scripts/webkitpy/style/checker_unittest.py:
+ (GlobalVariablesTest.test_path_rules_specifier):
+
2012-02-06 Carlos Garcia Campos <[email protected]>
[GTK] Make sure html_dir exists before calling gtkdoc-rebase
Modified: trunk/Tools/Scripts/webkitpy/style/checker.py (106813 => 106814)
--- trunk/Tools/Scripts/webkitpy/style/checker.py 2012-02-06 17:31:44 UTC (rev 106813)
+++ trunk/Tools/Scripts/webkitpy/style/checker.py 2012-02-06 17:33:55 UTC (rev 106814)
@@ -206,6 +206,13 @@
["-readability/naming",
"-readability/parameter_name",
"-whitespace/declaration"]),
+ ([# These files define GObjects, which implies some definitions of
+ # variables and functions containing underscores.
+ "Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer1.cpp",
+ "Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp",
+ "Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp",
+ "Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp"],
+ ["-readability/naming"]),
# For third-party Python code, keep only the following checks--
#
Modified: trunk/Tools/Scripts/webkitpy/style/checker_unittest.py (106813 => 106814)
--- trunk/Tools/Scripts/webkitpy/style/checker_unittest.py 2012-02-06 17:31:44 UTC (rev 106813)
+++ trunk/Tools/Scripts/webkitpy/style/checker_unittest.py 2012-02-06 17:33:55 UTC (rev 106814)
@@ -253,6 +253,9 @@
assertNoCheck("Source/WebCore/ForwardingHeaders/debugger/Debugger.h",
"build/header_guard")
+ assertNoCheck("Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp",
+ "readability/naming")
+
# Third-party Python code: webkitpy/thirdparty
path = "Tools/Scripts/webkitpy/thirdparty/mock.py"
assertNoCheck(path, "build/include")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes