Add Google C++ Eclipse style config.

Patch by Alexei Svitkine <asvitkine@chromium.org>

Review URL: https://codereview.appspot.com/6353053/


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@84 955884f1-7149-0410-9467-59e7ac3f4d80
Sync.

git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@85 955884f1-7149-0410-9467-59e7ac3f4d80
Adding back style sheet link (dropped after file re-generation).

git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@86 955884f1-7149-0410-9467-59e7ac3f4d80
Updating python style guide

git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@87 955884f1-7149-0410-9467-59e7ac3f4d80
Publish the Google Common Lisp Style Guide, revision 1.8, for public review.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@88 955884f1-7149-0410-9467-59e7ac3f4d80
Set appropriate properties on lispguide.xml


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@89 955884f1-7149-0410-9467-59e7ac3f4d80
Manually add stylesheet information (for now) to lispguide.xml.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@90 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide updated to 1.10,
integrating more feedback from inside and outside Google.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@91 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide updated to 1.11.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@92 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide, revision 1.12


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@93 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide updated to 1.13.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@94 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide, revision 1.15


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@95 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide, revision 1.16


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@96 955884f1-7149-0410-9467-59e7ac3f4d80
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.

Update Objective-C style guide to 2.48:
 - Revise method declaration and invocation formatting rules for long names.
 - 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. Top-of-file
   comments are not required.
 - Fix dead link in the "nil Checks" section.
 - Cover ARC.
 - Specify that @private is only required for instance variables in header
   files.
 - Permit NSNumber literals.
 - Change the naming convention for instance variables from trailing underscore
   to leading underscore, allowing a wide exception for existing code and
   projects.
 - Fix description of BOOL with respect to its signedness.

Update Python style guide to 2.45:
 - Recommend "pylint: disable" over "pylint: disable-msg."
 - Fix case-sensitive anchor.
 - Provide a better explanation of the problems with catch-all "except:."
 - Permit "map" and "filter" in absence of inlined lambdas.

Update JavaScript style guide to 2.64:
 - Clarify rules for requiring and providing inner dependencies on classes.
 - Clarify semicolons for functions.
 - Note proper namespace and filename casing.
 - Fix typos: "@extends."
 - Permit parentheses to be omitted on unions.
 - Don't require method descriptions when obvious.
 - "in" is a keyword, put it in <code>.
 - New "Aliasing with goog.scope" section.
 - Rewrite the "Constants" section.
 - Remove the recommendation to use join() to build strings.
 - Add the "@expose" annotation.
 - Fix the "@suppress" example.
 - Remove reference alternate cast syntax.
 - 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.
 - Say that "use strict" is not required.
 - Fix links to "optional" section.
 - Rewrite "JavaScript Types" section.
 - Fix typos: "parameterizes," "converted."
 - Prefer in-constructor field initialization.
 - Add a section on "delete" and null-assignment.
 - Add a note about optional JSDoc comments on enum values.
 - State explicitly that dot operators belong at the ends of lines.
 - Add "@dict" and "@struct" annotations.
 - Add links to the JavaScript Types section.
 - Require (rather than encourage) compiling.

Update HTML/CSS style guide to 2.19:
 - Rephrased quotation guidelines.
 - Updated W3C I18N article reference.
 - Fixed revision number.

Update styleguide.xsl to 1.34:
 - Fix error in RefreshVisibilityFromHashParam when a URL fragment points to a
   named anchor within a section, as used by the JavaScript style guide.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@97 955884f1-7149-0410-9467-59e7ac3f4d80
Google Common Lisp Style Guide, revision 1.17


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@98 955884f1-7149-0410-9467-59e7ac3f4d80
Updated cpplint.py to #224:

- Better emacs-flymake integration
- Fix false  positives in macros and template parameters
- Improve the wording on the make_pair warning
- Remove virtual keyword checks (now a warning in clang)
- Add checks for namespaces
- Check that DISALLOW_* macros are always in the "private:" section
- Fix false positives for gMock
- Check for alternative boolean operator tokens
- Fix false positives for space on parens
- Fix false positives about placement of "{" near preprocessor macros
- Don't lint inside inlined assembler
- Don't warn on "auto"; it is now a type shortcut, not a storage class
- Don't warn on c++11 for loops
- Warn on empty loop bodies
- Don't warn on unnamed args for the postincrement operator
- Fixes for "<" placement now allowed in c++11
Review URL: https://codereview.appspot.com/7039047

git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@99 955884f1-7149-0410-9467-59e7ac3f4d80
Initial public release of Shell Style Guide (1.25).


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@100 955884f1-7149-0410-9467-59e7ac3f4d80
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>.

Update Objective-C style guide to 2.52:
 - Fix ARC example to not imply the use of @private in .m files.
 - Add an example to the "Category Names" section.
 - Require that ARC-using files insert preprocessor directives that
   generate an error when compiling without ARC.
 - Fix spacing around the *s in the ARC example per the C++ style
   guide.

Update Python style guide to 2.48:
 - Allow comments with URLs to exceed 80 characters per line.
 - Update outdated implicit-line-joining URLs.

Update HTML/CSS style guide to 2.21:
 - Consistent use of title case.
 - Add new "Declaration Block Separation" section.
 - Add a CSS example to the "Capitalization" section.
 - Minor fixes to whitespace.

Update JavaScript style to guide to 2.72:
 - Make it clear that the injunction against aliasing namespaces only
   applies to local aliases, not goog.scope.
 - Clarify the style guide's recommendation on array/object literals.
 - Add documentation on @private {type}, @protected {type}, and
   @const {type}.
 - Make JSDoc descriptions required only if not obvious.
 - Clarify that only private properties and methods need a trailing
   underscore.
 - Fix spelling of arv's name.

Update Common Lisp style guide to 1.18:
 - Macro-defining macros are harder to understand for everyone, not
   just for the "uninitiated." There's no need to condescend.

In all of the above style guides:
 - The guide source is now encoded as UTF-8. The numeric character
   references have been replaced with raw UTF-8-encoded characters.


git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@101 955884f1-7149-0410-9467-59e7ac3f4d80
Update google-c-style.el to #33.
Review URL: https://codereview.appspot.com/8717044

git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@102 955884f1-7149-0410-9467-59e7ac3f4d80
Add --root flag used for deriving header guard CPP variable. 

By default, the header guard CPP variable is calculated as the relative 
path to the directory that contains .git, .hg, or .svn. When this flag 
is specified, the relative path is calculated from the specified 
directory.

Patch by mazda@chromium.org
CR: https://codereview.appspot.com/8630045/



git-svn-id: http://google-styleguide.googlecode.com/svn/trunk@103 955884f1-7149-0410-9467-59e7ac3f4d80