Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-22 | Add a "COCCI" macro that we tell coccinelle is always defined. | Nick Mathewson | |
This will let us give specific in-file equivalents to given macros or preprocessor directives, to make things parse. | |||
2019-10-22 | tor-coccinelle.h: handle NS and NS_DECL. | Nick Mathewson | |
2019-10-22 | tor-coccinelle: handle SIMPLEQ and TAILQ better. | Nick Mathewson | |
2019-10-22 | tor-coccinelle.h: Add {EN,DIS}ABLE_GCC_WARNING. | Nick Mathewson | |
2019-10-22 | tor-coccinelle: expect parentheses after HT_INITIALIZER | Nick Mathewson | |
2019-10-22 | try_parse.sh: add a verbose mode and a meaningful exit code. | Nick Mathewson | |
2019-10-22 | document test-operator-cleanup | Nick Mathewson | |
2019-10-09 | Document tor-coccinelle.h | Nick Mathewson | |
2019-09-11 | Add some more of our trickier macros to tor-coccinelle.h | Nick Mathewson | |
Note that this header file behaves a bit strangely. It is used by coccinelle just for the purpose of knowing how to parse difficult-to-parse stuff. It doesn't need to produce good C -- just grammatical C. | |||
2019-09-11 | Add a script to tell whether a file can be perfectly parsed by spatch | Nick Mathewson | |
spatch can let us know whether a file has parsed "perfectly" or not. The more perfect it parses, the likelier any semantic patches are to apply. I've used this script to identify problem areas in our code. | |||
2019-09-11 | Add a script to run spatch with appropriate arguments | Nick Mathewson | |
It's a bit tricky to remember the right incantation to get the proper include paths and incantations for coccinelle, but without it, coccinelle is less effective at parsing our C. | |||
2019-09-11 | Merge branch 'ticket31578' into ticket31578_merged | Nick Mathewson | |
2019-09-09 | Merge branch 'tor-github/pr/1264' | David Goulet | |
2019-09-09 | Merge branch 'ticket30924_042_04_squashed' into ↵ | Nick Mathewson | |
ticket30924_042_04_squashed_merged | |||
2019-09-09 | practracker: Make you happy funny script | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2019-09-05 | New practracker exceptions for dependency violations in headers | Nick Mathewson | |
I've done this manually, since I don't want to override the existing exceptions in this branch. | |||
2019-09-05 | Fix a bug in practracker's handling of .may_include in headers | Nick Mathewson | |
I was expecting our filter code to work in a way it didn't. I thought that saying that DependencyViolation applied to "*" would hit all of the files -- but actually, "*" wasn't implemented. I had to say "*.c" and "*.h" | |||
2019-09-05 | shellcheck: Add shellcheck to the pre-commit hook | teor | |
* Move the shellcheck script from the Makefile to its own script file * Reformat the shellcheck script so it's easier to read and modify * Call the shellcheck script from the pre-commit hook Fixes bug 30967; not in any released version of Tor. | |||
2019-09-04 | Merge branch 'tor-github/pr/1246' | David Goulet | |
2019-09-02 | practracker: handle empty files. | Nick Mathewson | |
Previously practracker would fail on a file with no lines. | |||
2019-09-02 | practracker: Fix indentation in util.py | Nick Mathewson | |
This commit only changes whitespace and removes a temporary comment. | |||
2019-09-02 | Practracker: only consider files under "src/" | Nick Mathewson | |
2019-08-29 | practracker: make filename terminology uniform | Nick Mathewson | |
Previously we often referred to "C files" and "H files", which is more ambiguous than ".c files" and ".h files". | |||
2019-08-29 | scripts/git: fix shellcheck issues in git-push-all.sh | teor | |
Part of 31314. | |||
2019-08-29 | scripts/git: fix an env var typo in git-merge-forward.sh | teor | |
Part of 31314. | |||
2019-08-29 | scripts/git: Quote shell arguments where possible | teor | |
Most shell arguments should be quoted to avoid mistakes. But since all branch names are hard-coded, or supplied by the script user, we don't need to be too concerned about command injection. Quoting all shell arguments would take a major refactor. (Probably using arrays.) Part of 31314. | |||
2019-08-29 | scripts/git: Improve usage documentation for merge-forward and push-all | teor | |
Part of 31314. | |||
2019-08-29 | scripts/git: Let git-push-all.sh skip unchanged test branches | teor | |
Skip test branches that are the same as remote maint/release/master branches. Add a TOR_PUSH_SAME and -s argument to git-push-all.sh to change this default. Part of 31314. | |||
2019-08-29 | scripts/git: Make the git push command and args configurable | teor | |
TOR_GIT_PUSH provides the git push command and default arguments. Also fix handling of git-push-all.sh script arguments and arguments that are passed through to $TOR_GIT_PUSH, using a "--" argument as a separator. Fix on 29879. | |||
2019-08-29 | scripts/git: Allow git-merge-forward.sh to re-use existing test branches | teor | |
Add a -u argument to git-merge-forward.sh, so that the script can re-use existing test branches after a merge failure and fix. Part of 31314. | |||
2019-08-29 | scripts/git: Add test branch support to the git scripts | teor | |
Add a -t <test-branch-prefix> argument to git-merge-forward.sh and git-push-all.sh, which makes these scripts create, merge forward, and push test branches. Add a -r <remote-name> argument to git-push-all.sh, so the script can push test branches to a personal remote. Closes ticket 31314. | |||
2019-08-29 | scripts/git: Cleanup and fix minor git scripts issues | teor | |
Fix typos, clean up formatting, rewrite some comments, add headings. Preparation for 31314. | |||
2019-08-26 | Add integration tests for new practracker features | Nick Mathewson | |
These tests check our .may_include checking, and our header file checking. They do not pass yet: we have a bug in our filtering code. | |||
2019-08-26 | Merge branch 'tor-github/pr/1263' | George Kadianakis | |
2019-08-26 | Merge remote-tracking branch 'tor-github/pr/1241' | Nick Mathewson | |
2019-08-26 | Fix/suppress shellcheck warnings in git-push-all.sh | Nick Mathewson | |
(I've chosen to suppress some instances rather than 'fix' them, since the fix would require arrays or major refactoring.) Fixes bug 31519; bug not in any released Tor. | |||
2019-08-26 | Merge branch 'tor-github/pr/1254' | David Goulet | |
2019-08-24 | Merge remote-tracking branch 'tor-github/pr/1215' | Nick Mathewson | |
2019-08-22 | Merge branch 'ticket30935' into ticket30935_merged | Nick Mathewson | |
2019-08-22 | Merge branch 'tor-github/pr/1244' | David Goulet | |
2019-08-21 | Document new practracker violation types, and add a practracker readme | Nick Mathewson | |
Closes ticket 31476. | |||
2019-08-21 | Merge branch 'ticket31176' into ticket31176_merged | Nick Mathewson | |
2019-08-20 | Merge branch 'ticket30914' into ticket30914_merged | Nick Mathewson | |
2019-08-20 | scripts/git: Remove a duplicate practracker call from the pre-push hook | teor | |
The pre-push hook already calls the pre-commit hook, which calls practracker. Also update the script comments to avoid similar issues in future. Fixes bug 31462; bugfix on 0.4.1.1-alpha. | |||
2019-08-19 | Merge remote-tracking branch 'tor-github/pr/1224' | Nick Mathewson | |
2019-08-19 | Merge remote-tracking branch 'tor-github/pr/1235' | Nick Mathewson | |
2019-08-19 | Merge branch 'tor-github/pr/1220' | George Kadianakis | |
2019-08-19 | Merge remote-tracking branch 'mike/bug31356+logs-rebased2' into bug31356_final | George Kadianakis | |
2019-08-19 | practracker: Make exceptions.txt happy | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2019-08-12 | Practracker | Mike Perry | |