summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2014-05-22Removing unused third-party libraries.Dmitry Kovalev1-1/+0
We use libwebm instead of libmkv and nestegg. Change-Id: I339eae081061c2e3eb8b234f14ae1bc846f85011
2014-02-04Ignore missing newline messageJohann1-0/+3
git diff adds the following line to diffs: \ No newline at end of file which interferes with diff.py parsing. diff.py only looks for '+', '-' and ' ' at the beginning of the line. Issue seen on https://gerrit.chromium.org/gerrit/68611 Change-Id: I0d7b4485c470e0b409f2c9cddde6c9aceba0152e
2014-01-21cpplint: restore runtime/sizeofJames Zern1-2/+5
dropped in r113; this check is helpful in this project Change-Id: If810607b7cbf89ad701b4865d685f4b96aeee2dc
2014-01-21update cpplintJames Zern1-323/+1056
adds --linelength / --extensions and support for eclipse style output latest from (r119): http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: I58be3a2d60daa9ba0d0bc1574fd13a2144c5d13d
2013-10-15lint-hunks: remove runtime/int filterGuillaume Martres1-1/+1
There's no good reason to use types like long or short in new code. Change-Id: Ic6de6259d5a99b7af478e9c6ab74e65d81b022e2
2013-05-03fix permissions on cpplint.py (0644->0755)James Zern1-0/+0
Change-Id: Ief419d894efbd89b6aa2451e47d8ed03cb9fb21e
2013-05-03update cpplintJames Zern1-173/+832
latest from (r103): http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: I474bf11e0f08115d5e579c92f43577978960d4ed
2012-11-15support building vp8 and vp9 into a single libJohn Koleszar1-1/+1
Change-Id: Ib8f8a66c9fd31e508cdc9caa662192f38433aa3d
2012-11-07Rough merge of master into experimentalJohn Koleszar1-1/+1
Creates a merge between the master and experimental branches. Fixes a number of conflicts in the build system to allow *either* VP8 or VP9 to be built. Specifically either: $ configure --disable-vp9 $ configure --disable-vp8 --disable-unit-tests VP9 still exports its symbols and files as VP8, so that will be resolved in the next commit. Unit tests are broken in VP9, but this isn't a new issue. They are fixed upstream on origin/experimental as of this writing, but rebasing this merge proved difficult, so will tackle that in a second merge commit. Change-Id: I2b7d852c18efd58d1ebc621b8041fe0260442c21
2012-10-19lint-hunks: better support for working treeJohn Koleszar1-6/+15
When run with no arguments, report warnings in the diff between the working tree and HEAD. With arguments, report warnings in the diff between the named commit and its parents. Change-Id: Ie10dcdecb303edf8af51bad645cc11206a1fc26b
2012-10-17lint-hunks: exit status for only affected linesJohn Koleszar1-3/+2
Prior to this patch, if there were any lint errors, this script would exit with an error, even if those errors were not in the hunks being tested by this script. This change makes it so that if any lint lines are printed, an error is returned. Change-Id: I69c8bef4367ccf25d287508f29e587b1f4426143
2012-10-17lint-hunks: support operating on arbirary revsJohn Koleszar1-3/+14
Rather than diffing only the index, support checking arbitrary commits. Change-Id: Ia135a487990d8293d1e0799dc062b9f49e020b25
2012-08-27all_builds.py: add ability to pass extra configure flagsJohn Koleszar1-3/+15
Useful to pass --target etc to this script on Jenkins. Change-Id: I9b22339a211df543077bcc84bdef4460f3ca5c9c
2012-08-21all_builds.py: move to tools/John Koleszar1-0/+60
Change-Id: I64c470fb5a4f32a862cfb5424fb95baac47fcc24
2012-08-10lint_hunks: show style violations in the indexJohn Koleszar2-0/+3486
Shows the subset of style violations that intersect with lines modified in the current index. Change-Id: I0b51674fd43df118e8bbf55b684a1ca0bd0e1d40
2012-08-09intersect_diffs: split out diff classesJohn Koleszar2-115/+130
Seperate parsing functions so they can be reused for other diff utilities Change-Id: I1ea6ebf90ded128eec116cc1f326a28bdda2fb77
2012-08-09ftfy: update to match current astyle ruleJohn Koleszar2-8/+35
Change-Id: I89076d93968a5817d6d0330ec7fd6a6c73fe397f
2012-08-08Import tools/ from master branchJohn Koleszar3-0/+418
Change-Id: I476f43ea513e7c140f4e4f14df73dd3131cb2692
2012-05-04Be explicit about 'in-place'Johann1-1/+1
On darwin, sed expects an argument for '-i'. Make it empty. Change-Id: I5dc6cdf667a754b2624f1767eb6e8025df48e308
2012-04-12FTFY: Check for astyle and versionJohann1-0/+6
Change-Id: I377387681332cfc975254cd825e4ad2998271690
2012-04-12FTFY: fix syntax errorJohn Koleszar1-1/+1
Change-Id: I1952608479954c07f3556f96ea3de9118216bf27
2012-04-03FTFY: only apply on modified filesJohn Koleszar1-2/+3
Ignore renamed, copied, and deleted files when applying the style rules. Change-Id: I6102e34f833e5c2ef7a88d6d57bbfdca51b25d94
2012-03-29tools/wrap-commit-msg.py: fix file truncationJames Zern1-0/+1
truncate() operates from the current file pointer position. On at least Linux specifying 0 without resetting the pointer will pad the file with zeros to the current offset. Change-Id: Ide704a1097f46c0c530f27212bb12e923f93e2d6
2012-03-29FTFY: support wordwrapping commit messagesJohn Koleszar3-21/+119
It's common for commit messages to be wrapped at odd places. git-gui is often to blame. Adds support for automatically fixing up these messages if running ftfy --amend, and adds a new option --msg-only for fixing only the commit message. Change-Id: Ia7ea529f8cb7395d34d9b39f1192598e9a1e315b
2012-03-28FTFY: an automated style correctorJohn Koleszar2-0/+312
This is a utility for applying a limited amount of style correction on a change-by-change basis. Rather than a big-bang reformatting, this tool attempts to only correct the style in diff hunks that you touch. This should make the cosmetic changes small enough that we can mix them with functional changes without destroying the diffs, and there's an escape hatch for separating the reformatting to a second commit for purists and cases where it hurts readability. At this time, the script requires a clean working tree, so run it after you've commited your changes. Run without arguments, the style corrections will be applied and left unstaged in your working copy. It also supports the --amend option, which will automatically amend your HEAD with the corrected style, and --commit, which will create a new change dependent on your HEAD that contains only the whitespace changes. There are a number of ways this could be applied in an automated manner if this proves to be useful, either on a project-wide or per-user basis. This doesn't buy anything in terms of real code quality, the intent here would be to keep formatting nits out of review comments in favor of more meaningful ones and help people whose habitual style doesn't match the baseline. Requires astyle[1] 1.24 or newer. [1]: http://astyle.sourceforge.net/ Change-Id: I2fb3434de8479655e9811f094029bb90e5d757e1
2011-08-19tools: author_first_release.shJohn Koleszar1-0/+15
First version of a simple tool to get a list of the version a user first contributed to. Change-Id: I8f1b1fef5343de269c4b6209632c9cedc2cf1a37
2010-06-16Generate AUTHORS file with a scriptJohn Koleszar1-0/+13
This information is in git, so it's better to use that as a source than updating this file manually. This script can be run manually at release time for now, or we can set up a cron job sometime in the future. Change-Id: I0344135ceb9c04ed14e2e2d939a93194e35973db