- Nov 16, 2017
-
-
Igor Murashkin authored
am: 17eb8253 Change-Id: I2fd899fcb7d54faa11924065f466ed1f0e5550a0
-
Igor Murashkin authored
Android: Merge remote-tracking branch 'remotes/aosp/upstream-gh-pages' am: 0622f2c7 am: 641d7980 am: 0ad6309b Change-Id: Idb749b4479cc7049749ef3bc1660d2dce2b51d1d
-
Igor Murashkin authored
am: 6784ec39 Change-Id: Ib6375ce559840cbc502c6517b251bd2c7c23c559
-
- Nov 15, 2017
-
-
Igor Murashkin authored
am: 333e3bc1 Change-Id: Ibca0b8f278caf3911141f0248fc58310c35cff11
-
Igor Murashkin authored
am: 641d7980 Change-Id: I266a19ae46cc4af13fb888dc8ae80ba4340bb331
-
Igor Murashkin authored
am: 84d070c4 Change-Id: Ib655f77fc55f7ed39bd350dbf9620247097458e8
-
Igor Murashkin authored
am: b397128e Change-Id: Iaf6ca261ce1e87f78b8b45c653322228858ed6b2
-
Igor Murashkin authored
am: 0622f2c7 Change-Id: Iee24660807fdd80b484d25614ce69d1fe8eb8d7e
-
Igor Murashkin authored
am: 53e44a8c Change-Id: I619a90c50b1f5bea15832e067fdd01425e18af24
-
- Nov 14, 2017
-
-
Igor Murashkin authored
cpplint.py is BSD licensed, everything else is CC-by-3.0 licensed. Bug: 69320067 Bug: 68951293 Change-Id: I7bd40c561430d597bf69a358d2a1e634a40eed38
-
- Nov 11, 2017
-
-
Igor Murashkin authored
Bug: 68951293 Change-Id: I5b61c58c90caeb373b2e50466db08da2584998ce
-
Igor Murashkin authored
Change-Id: I9d4f9397214a9a9957490bf843f2e07cb16db0f4 Bug: 68951293
-
- Nov 10, 2017
-
-
(raulenrique) authored
-
Mark Mentovai authored
cpplint: add --quiet flag to suppress all output when there's no errors
-
Igor Murashkin authored
Example: cpplint.py --quiet <file-names> Will now return with an exit code of 0 and return empty output if there were no errors. This makes it particularly useful to be driven by a build system such as makefiles or gradle. In particular, these messages are now suppressed: Ignoring <filename>, excluded by CPPLINT.cfg, ... Done processing <filename> Total errors found: 0 If there were any errors, the above messages are printed nevertheless. There is no behavior change if --quiet is not passed in.
-
Mark Mentovai authored
CPPLINT.cfg root=setting is now relative to CFG file.
-
Igor Murashkin authored
Also further improve the documentation and testing around --root. Previously the root=setting in the CFG file was treated identically to passing --root=setting on the command line, which seems undesirable since it depends on were cpplint.cfg was invoked from (for relative paths). Judging on settings such as 'exclude_files' it seems within the spirit to make the settings 'current working directory' contextual to the same directory that CPPLINT.cfg is in. This also makes execution consistent (picking up the "correct" settings) regardless of the CWD when executing cpplint.py. Example: echo 'root=..' >> /a/b/c/CPPLINT.cfg cd / cpplint.py /a/b/c/source_file.h # expects header guard of C_SOURCE_FILE_H_ However the old behavior would use '/../' = '/' and incorrectly think the root was 'A_B_C_SOURCE_FILE_H_'.
-
- Nov 08, 2017
-
-
Mark Mentovai authored
cpplint: --root now supports non-subdirectories
-
Igor Murashkin authored
Using cpplint.py --root with directories at a more outer level will now prepend the header guard with all the directories from the root to the file. For example given ls /a/b/c # /a/b/c/.git /a/b/c/filename.h cpplint.py --root=/a/b /a/b/c/filename.h # C_FILENAME_H_ # no root behavior: cpplint.py /a/b/c/filename.h # FILENAME_H_ Also supports relative paths: cd /a/b/c cpplint.py --root=.. filename.h # C_FILENAME_H_ Note that the old usage is still supported: cd /a/b/c mkdir -p d/e/f touch /a/b/c/d/e/f/filename.h cpplint.py --root=d/e/f d/e/f/filename.h # FILENAME_H_ which would "strip" the prefix rather than prepend an extra prefix. (Invalid root prefixes are as before also ignored)
-
Mark Mentovai authored
Revert "cpplint: Fix --root for non-subdirectories"
-
Mark Mentovai authored
-
Mark Mentovai authored
cpplint: Fix --root for non-subdirectories
-
- Nov 06, 2017
-
-
Igor Murashkin authored
Using cpplint.py --root with directories at a more outer level than the repository would not work. For example given /a/b/c/.git/filename.cpp Trying to use --root=/a/b would get ignored, and it would ask for a headerguard of FILENAME_H_ instead of C_FILENAME_H_ as expected. Now --root will always use the "full name" and then strip off --root prefix, giving us the desired effect.
-
- Oct 19, 2017
-
-
Kevin Lindkvist authored
[objc] Update the Objective-C style guide
-
- Oct 17, 2017
-
-
Stephane Moore authored
Revision Date: 10/16/2017
-
- Sep 30, 2017
-
-
Liam Miller-Cushon authored
-
- Sep 07, 2017
-
-
Stephen Hicks authored
Fixes #252 Fixes #253
-
- Sep 05, 2017
-
-
Donatas Kučinskas authored
Remove blank lines between import groups to use [code style] (https://google.github.io/styleguide/javaguide.html#s3.3.3-import-ordering-and-spacing). Fixes #270
-
Rommel M. Martinez authored
-
- Aug 25, 2017
-
-
Stephane Moore authored
[objc] Make objcguide.xml link to objcguide.md
-
Stephane Moore authored
The link can't be relative because the new style guide is served as markdown and the endpoint serving the XML file serves raw content.
-
- Aug 24, 2017
-
-
Stephane Moore authored
[objc] Update the Objective-C style guide
-
- Aug 23, 2017
-
-
Stephane Moore authored
Revision Date: 8/23/2017
-
Stephane Moore authored
There are links out in the wild to the old XML style guide. An XML file that links to the new style guide location ensures that those links are not completely broken.
-
- Aug 22, 2017
-
-
Mark Mentovai authored
-
Mark Mentovai authored
[objc] Update the Objective-C style guide
-
- Aug 17, 2017
-
-
Kevin Lindkvist authored
Revision Date: 8/16/2017
-
- Aug 15, 2017
-
-
Elliot Glaysher authored
Enabling formatter on/off tags
-
- Aug 07, 2017
-
-
Eric Anderson authored
Update broken link
-
- Jul 28, 2017
-
-
Elliot Glaysher authored
-