Commit Graph

  • 0858ea6190 java style guide update: presentation eh@google.com 2014-03-21 18:23:56 +00:00
  • cf1841c032 Update the Common Lisp Style Guide to 1.28. tunes@google.com 2014-03-18 00:14:41 +00:00
  • a5eb0c52f8 fixing links naomib@google.com 2014-02-23 16:10:08 +00:00
  • 544e0db367 fixing a link to the (internal only) externs naomib@google.com 2014-02-13 21:15:54 +00:00
  • c2482ee7e9 fixing a link to the style doc naomib@google.com 2014-02-13 18:27:17 +00:00
  • 23495719eb small css fix naomib@google.com 2014-02-13 01:07:04 +00:00
  • 3fcaf64db1 First add of the Google AngularJS Style Guide naomib@google.com 2014-02-13 00:50:10 +00:00
  • 4293832aaa java style guide and eclipse configuration update eh@google.com 2014-02-03 23:39:45 +00:00
  • d1e499413b java style guide expand TOC eh@google.com 2013-12-30 20:03:36 +00:00
  • b631371099 initial commit for java style guide eh@google.com 2013-12-17 22:56:22 +00:00
  • 1968027290 Add an --extensions flag to change valid file extensions. erg@google.com 2013-12-16 22:48:54 +00:00
  • 0075d1469a A false positive occurs when a user specifies a using declaration for a stream operator: erg@google.com 2013-11-05 22:28:07 +00:00
  • ab53edf6ff Added a --linelength flag so that the default of 80 can be changed. erg@google.com 2013-11-05 22:23:37 +00:00
  • 6d8d983b11 In cpplint, permit Dodxygen C++ annotations, which come after members, e.g. int var; //!< Brief description after the member or int var; ///< Brief description after the member erg@google.com 2013-10-31 19:46:18 +00:00
  • 2aa5998d82 Update cpplint.py to #296: erg@google.com 2013-10-28 19:09:25 +00:00
  • c667123215 Update cpplint.py to #267: erg@google.com 2013-10-25 21:44:03 +00:00
  • fd5da63478 Update cpplint.py to #242: erg@google.com 2013-10-25 17:39:45 +00:00
  • 7b24563e08 Update C++ style guide to 3.274: - Change formatting rules of braced initializers. - Permit use of constexpr and allow constexpr global variables. - Allow all C++11 features except for those that are specifically banned. - Fix/add C99 format specifiers for ptrdiff_t and ssize_t. - Add lambda expressions to the list of explicitly banned C++11 features. - Relax "return type is always on the same line as the function name" rule. - Allow unique_ptr, discourage ownership transfer. Allow noncopyable std::move. - Allow system-specific includes after other includes. - Add boost/math/distributions to the set of permitted Boost libraries. mark@chromium.org 2013-09-25 21:16:00 +00:00
  • d6c053f670 Update Common Lisp Style Guide to 1.22: * tweak some typos and bad formatting * refer to ASDF3's UIOP rather than its predecessors. tunes@google.com 2013-09-19 17:26:22 +00:00
  • 02e6923718 Restore redirect to Rguide.xml from r105. mshields@google.com 2013-07-18 23:57:39 +00:00
  • 228a8ef7d0 Restore r105 of Rguide.xml, now with the svn:mime-type property set. mshields@google.com 2013-07-18 23:41:50 +00:00
  • 5d00c5679e Adding streambuf as a valid CPP header. erg@google.com 2013-07-12 19:57:05 +00:00
  • 5684bbc8b5 Update C++ style guide to 3.260: - Add boost::bimap to the list of allowed Boost libraries. - C++11: remove mention of constexpr. - Remove noun/verb naming rules, and consolidate "General Naming Rules". - C++11: allow variadic templates. - Revise guidance on function definition comments. - Clarify that one space is sufficient before trailing /* */ comments. - C++11: allow alias templates. - C++11: allow <array>, deprecate Boost array. - C++11: allow unique_ptr, deprecate Boost pointer container. - C++11: allow braced initializer lists. mark@chromium.org 2013-07-12 18:53:13 +00:00
  • 884f95419f Roll back r105. mshields@google.com 2013-07-10 22:38:08 +00:00
  • 599832f0a2 Update R style guide to current version. mshields@google.com 2013-07-10 22:31:04 +00:00
  • 02c27fd836 Added cpplint.py output format for eclipse erg@google.com 2013-05-28 21:34:34 +00:00
  • 4d70a88efd Add --root flag used for deriving header guard CPP variable. erg@google.com 2013-04-16 21:06:32 +00:00
  • 5de56f3124 Update google-c-style.el to #33. Review URL: https://codereview.appspot.com/8717044 erg@google.com 2013-04-12 21:15:03 +00:00
  • 8190c132fd Update C++ style guide to 3.245: - Relax the rule for sizeof(varname) vs. sizeof(type). - Allow an exception for nonconst reference parameters where convention dictates their use, such as for swap. - C++11: allow static_assert. - Require non-trivial fall-through between cases in switch statements to be annotated. Trivial fall-through includes consecutive case labels with no intervening code, and no comment is required in these cases. - C++11: allow constexpr. - Revise the "Integer Types" section to note type-width problems. - Clarify that the "arguments on subsequent lines" function call style is acceptable even when the 80-column limit doesn't require it. - Boost: allow part of Polygon. - C++11: allow <tuple>. mark@chromium.org 2013-03-21 16:03:26 +00:00
  • 7cf216c976 Initial public release of Shell Style Guide (1.25). mark@chromium.org 2013-02-15 20:56:05 +00:00
  • d350fe561e Updated cpplint.py to #224: erg@google.com 2013-01-14 17:51:48 +00:00
  • ed8e4680ce Google Common Lisp Style Guide, revision 1.17 tunes@google.com 2012-11-29 00:14:33 +00:00
  • c8c76a2389 Update C++ style guide to 3.231: - Clarify that sentence-like non-sentence comments are permitted. - Note that older code with incorrect #include ordering should be fixed. - Revamp the section on default function arguments. - Avoid explicitly recommending Init() methods. - C++11: permit "auto". - C++11: permit ">>" in place of "> >". - C++11: permit range-based "for". - C++11: permit variadic macros (already permitted as a C++03 extension). - C++11: permit "LL" and "ULL" literal suffixes (already permitted as a C++03 extension). - Reflect the revised copyright and author line policy: copyright notices are not required, but license boilerplate may still be used (and generally contains a copyright notice). Author lines are not required. - C++11: permit new features in <algorithm> and the portion of <numeric> that does not require initializer lists. - Revise rules on forward declarations: explicitly forbid forward-declared functions, do not mandate forward declarations, discourage forward-declared templates. - Remove the rule requiring "const" qualifiers for member functions to be on the same line as the closing parenthesis of the parameter list. - Fix typo: "unnamed namespaces." - C++11: permit local types as template parameters. - Fix typo: "unfamiliar." - Relax RTTI rules to permit its use, but warn about its abuse. - C++11: permit nullptr and nullptr_t. Revise text referring to NULL to refer more generically to null pointers. - Remove the "don't go crazy with const" rule. - Fix typo: "dir/foo2" should bee "dir2/foo2." - Remove reference to a specific GCC version. mark@chromium.org 2012-11-28 20:26:27 +00:00
  • 1407ba71db Google Common Lisp Style Guide, revision 1.16 tunes@google.com 2012-11-08 04:31:59 +00:00
  • c55433cd2e Google Common Lisp Style Guide, revision 1.15 tunes@google.com 2012-10-17 22:13:51 +00:00
  • 13bb6e417a Google Common Lisp Style Guide updated to 1.13. tunes@google.com 2012-10-15 20:57:01 +00:00
  • f981c5c266 Google Common Lisp Style Guide, revision 1.12 tunes@google.com 2012-10-14 13:47:38 +00:00
  • 8c4c5ce85d Google Common Lisp Style Guide updated to 1.11. tunes@google.com 2012-10-12 23:16:43 +00:00
  • 0c584cb624 Google Common Lisp Style Guide updated to 1.10, integrating more feedback from inside and outside Google. tunes@google.com 2012-10-11 17:06:57 +00:00
  • 8dba399b33 Manually add stylesheet information (for now) to lispguide.xml. tunes@google.com 2012-10-10 19:10:55 +00:00
  • b1e92038c5 Publish the Google Common Lisp Style Guide, revision 1.8, for public review. tunes@google.com 2012-10-10 18:50:04 +00:00
  • 424ad34281 Updating python style guide apicard@google.com 2012-09-18 23:16:02 +00:00
  • 864b0dc238 Adding back style sheet link (dropped after file re-generation). jensmeiert@google.com 2012-07-17 20:17:21 +00:00
  • 1e1b50bf73 Sync. jensmeiert@google.com 2012-07-17 20:12:10 +00:00
  • ded2b0a246 Add Google C++ Eclipse style config. mark@chromium.org 2012-06-29 19:26:15 +00:00
  • 720121a67f Changed the hashband on cpplint.py erg@google.com 2012-05-11 16:31:47 +00:00
  • a1cc738256 Updated validator reference. jensmeiert@google.com 2012-04-26 16:30:28 +00:00
  • dc19d7e225 Initial release jensmeiert@google.com 2012-04-24 22:21:00 +00:00
  • 90ecb62a9f Convert windows path seperators to unix like while doing IncludeWhatYouUse. Review URL: https://codereview.appspot.com/5601049 erg@google.com 2012-01-30 19:34:23 +00:00
  • dc28970e18 Improve the error message for when #ifndef guards don't match the #define. erg@google.com 2012-01-26 20:30:03 +00:00
  • 3dc7426aed Support svn 1.7 directory structure. erg@google.com 2011-11-30 01:12:00 +00:00
  • 7f8919375d Update JavaScript style guide to 2.28: - Fix typo. mark@chromium.org 2011-11-04 21:13:33 +00:00
  • e33361fcd3 Update C++ style guide to 3.199: - Update an example to omit the blank line between C and C++ #includes. - Rewrite the paragraph about #include ordering. - Clarify namespace closing comments. - Discourage const references for input arguments which are aliased beyond the scope of the function call. - Replace all '&' with '&amp;'. - Clarify that interfaces must have virtual destructors. - Add an explicit example for |else if|. - C++11 updates. mark@chromium.org 2011-11-04 16:55:22 +00:00
  • 8a95ecca27 Update to #179: erg@google.com 2011-09-08 00:45:54 +00:00
  • efeacdf0fa Add extension mechanisms for custom checks to cpplint.py. erg@google.com 2011-09-07 21:12:16 +00:00
  • d7d2747c6c Update cpplint.py to #161: - ostream should be treated as a system header - Expand the MockCallback whitelist entry for gMock. - Virtual destructor check shouldn't get confused with "class EXPORT ClassName {" constructs. - Don't warn about the length of "$ Id: ... $" lines. - Better semicolon checks in for() loops. - Better whitespace comment checks. Review URL: http://codereview.appspot.com/4964064 erg@google.com 2011-09-07 17:36:35 +00:00
  • 8f91ab2835 Reverted r70, at asvitkine's request erg@google.com 2011-09-06 21:04:45 +00:00
  • 5210aec6df Upstream useful lint check from WebKit's fork of cpplint.py. erg@google.com 2011-09-06 20:19:05 +00:00
  • 0249a38579 Adding config files for formatting for IntelliJ and Eclipse simonstewart@google.com 2011-08-30 11:23:49 +00:00
  • cd4ce0fff0 Update C++ style guide to 3.188: - Revise "Smart Pointers" section. - Clarify that it's OK to have spaces after '#' in a preprocessor directive, even though '#' itself must not be indented. - Revise "TODO Comments" section. - Fix wording. - Explicitly recommend foo.h be the first file #included by foo_test.cc. mmentovai 2011-03-29 20:30:47 +00:00
  • 222e6da82a New file google_python_style.vim. mshields@google.com 2010-11-29 20:32:06 +00:00
  • 7f003d3547 Update JavaScript style guide to 2.11: - Fix r62, which was applied incorrectly. mmentovai 2010-11-23 21:09:55 +00:00
  • db989ec08f Update C++ style guide to 3.180: - Remove comment about naming macros like enums. - Move a bad code snippet from a CODE_SNIPPET to a BAD_CODE_SNIPPET element. mmentovai 2010-11-23 18:02:36 +00:00
  • a51c16b542 Allow blank Doxygen-style comments. Patch by mball@google.com. erg@google.com 2010-11-17 18:09:31 +00:00
  • f550116b81 Fix wrong number of braces. erg@google.com 2010-10-21 17:20:05 +00:00
  • ce4da30bb9 Update C++ style guide to 3.178: - Fix grammatical and spelling errors, and revise awkward phrasing. mmentovai 2010-10-14 15:54:08 +00:00
  • 7d78fd4e6a Update C++ style guide to 3.175: - Fix typo. mmentovai 2010-10-08 18:35:59 +00:00
  • 42e59b0ce7 Project prefix directory should work with Hg. erg@google.com 2010-10-04 22:18:07 +00:00
  • 7ead64485b Update C++ style guide to 3.174: - Add leading blank line exception. - Improve guidance for function definition comments. - Tweak class comment example to not violate type naming guidelines. mmentovai 2010-10-04 16:26:53 +00:00
  • b729e3cfe3 Update C++ style guide to 3.171: - Add a section to specify deprecation comments. mmentovai 2010-08-10 18:40:41 +00:00
  • b6870cb5db Update C++ style guide to 3.170: - Allow overloading a function judiciously. - _unittest and _regtest are deprecated. - Document C++0x policy. - Allow namespace aliases in .h files when inside namespaces. - Give examples for and against parentheses with return. - Update set of allowed Boost headers. - Add a caveat to the forward-declaration section, mentioning impicit constructors. mmentovai 2010-08-05 00:39:32 +00:00
  • 8411f0c651 Update Python style guide with styleguide.xsl r51. mmentovai 2010-08-04 17:46:16 +00:00
  • b2ad010f74 Update JavaScript style guide to 2.3: - Clarify the semantics of @private and @protected, in particular how they differ from the expectations of users of C++ and Java. mmentovai 2010-08-04 17:43:38 +00:00
  • 4d50302d0e Update Objective-C style guide to 2.20: - Allow dot notation for simple property access. - Clarify spacing around category definitions and parameters that take protocols. mmentovai 2010-08-04 17:39:00 +00:00
  • bb32401998 Added JavaScript style guide robbyw@google.com 2010-07-12 22:02:20 +00:00
  • 52f62a450b Update look and feel of the style guides robbyw@google.com 2010-07-12 21:58:39 +00:00
  • e5aeb8fb72 Update C++ style guide to 3.161: - Forbid the use of operator synonyms such as "and." - Specify the naming convention (OrDie) to use when a function has crash-on-failure semantics. - Allow static const data members to be non-private. - Specify placement of friend declarations. - Require each file to include headers that they use. mmentovai 2010-05-12 16:52:16 +00:00
  • 0518964d22 Update cpplint.py to #150: - Be explicit about "class Foo :\n public Bar" being wrong. - Allow snprintf(NULL, 0, ...) pattern. - Extend NOLINT syntax. - Remove NOLINT hint. - <new> is an STL header. - Use original filename for header guard when invoked by flymake. - Avoid false-positive build/include_what_you_use errors for use of classes called "string" other than STL ones. erg+personal@google.com 2010-04-30 20:43:03 +00:00
  • 2d29e83ea3 Adding licensing footer monsur 2010-03-08 18:32:48 +00:00
  • 8643ca8da7 Grammatical updates to JSON-C Style Guide. New CSS for HTML version of JSON-C Style Guide. monsur 2010-02-25 18:45:27 +00:00
  • 233b48fc74 Adding an HTML version of the JSON-C Style Guide monsur 2010-02-24 15:52:50 +00:00
  • f07658c730 Adding first iteration of the JSON-C Style Guide for JSON APIs monsur 2010-02-22 22:39:56 +00:00
  • 5e1696994b Check for mercurial checkouts in addition to svn and git. erg@google.com 2010-01-28 20:17:01 +00:00
  • 9ec7bd6269 Update C++ style guide to 3.154: - Add call_traits to the set of allowed boost libraries. - Add an exception to the rule against default arguments to cover the useful case of simulating variadic functions. - Discourage the usage of ## in macros. - Clarify example: it's acceptable to declare two parameters on one line even if they don't all fit on that one line. - Fix a typo ("make use symmetric spacing"). - Change bitwise AND to logical AND in a condition. mmentovai 2009-12-03 22:25:38 +00:00
  • f7facf9026 Update C++ style guide to 3.146: - Make the messaging on DISALLOW_EVIL_CONSTRUCTORS more clear that we should not be rewriting old code but should simply prefer DISALLOW_COPY_AND_ASSIGN on new code. - s/Initializer Lists/Constructor Initializer Lists/ since people search for this based on knowing it's part of the constructor, but forget the precise name. - Allow data members in a test fixture to be private. - Loosen restrictions on globals. - Add explicit guideline for nested namespace formatting. - Strengthen the prohibition against operator overloading for operator&. - Add recommendation for "_" over "-" in file names. - Revise the "Copy Constructors" section for brevity and clarity. Emphasize preference for standard over nonstandard copy operations. - Weaken the wording at the top of the "Doing Work in Constructors" section, making it clear that Init() methods are not absolutely required for non-trivial initialization. - Fix minor typos and grammatical errors. mmentovai 2009-10-23 21:01:49 +00:00
  • 2df72b34d0 Update google-c-style.el to #6: - Deal with if/for/while better in multi-line expressions. erg@google.com 2009-10-09 21:51:56 +00:00
  • a868d2d725 Update cpplint.py to #131: - Optional check to make sure #includes are in alphabetical order. - Optional "--counting=" option for statistics on what errors were found. - Fix typos. - Warn on overloading the unary operator&(). (Binary operator&() is fine). - Fix false positives on "new int(x)"; it is not a cast. - Allow "NOLINT" on header guards. - Prevent members of a class from being "const string&". erg@google.com 2009-10-09 21:18:45 +00:00
  • 21a495826e Update google-c-style.el to #4: - Deal with case where the previous line ends with an open parenthesis. erg@google.com 2009-08-03 21:00:44 +00:00
  • 9d234080c5 M pyguide.html apicard@google.com 2009-07-23 20:29:34 +00:00
  • 7dbc495a6c M pyguide.html apicard@google.com 2009-07-23 20:19:09 +00:00
  • f900c2c70d A pyguide.html apicard@google.com 2009-07-23 20:09:56 +00:00
  • 169ed434f1 samantharachelcook 2009-07-21 18:07:18 +00:00
  • 192968e372 samantharachelcook 2009-07-21 17:04:05 +00:00
  • 1b525a42ee samantharachelcook 2009-07-21 17:03:50 +00:00
  • 1a0b9ae389 samantharachelcook 2009-07-21 17:03:20 +00:00
  • ab4e2d3b76 samantharachelcook 2009-07-21 17:02:48 +00:00
  • 30c24cfa1e samantharachelcook 2009-07-21 17:00:03 +00:00
  • 9d49a55abb samantharachelcook 2009-07-21 16:59:42 +00:00
  • 46635c97a8 samantharachelcook 2009-07-21 16:56:19 +00:00
  • 969161cb78 Relicense cpplint under 3 clause BSD for webkit folks. Review URL: http://codereview.chromium.org/147238 erg@google.com 2009-06-26 22:06:46 +00:00