summaryrefslogtreecommitdiff
path: root/scripts/maint
AgeCommit message (Collapse)Author
2020-01-15practracker: Wrap long lines in the test scriptteor
2020-01-15practracker: Test practracker exit statusteor
Part of 32705.
2020-01-15practracker: Fail tests if any process exits unexpectedlyteor
Part of 32705.
2020-01-15practracker: Capture stderr output in test_practracker.shteor
And canonicalise file paths, so that output is consistent, even in out-of-tree builds. Capturing stderr output produces better diagnostics. Diagnostics for 32705.
2019-12-09Port changelog tools to python 3Nick Mathewson
Closes ticket 32704.
2019-12-04Merge branch 'ticket32609_squashed'Nick Mathewson
2019-12-04practracker: document !advisory in includes.pyteor
2019-12-04practracker: Test for bad ".c" includes in the unit teststeor
Part of 32522.
2019-12-03Have checkSpaceTest.sh exit as skipped when on WindowsNick Mathewson
Managing line-ending issues for this one isn't worth it.
2019-12-03Add a simple test for checkSpace.plNick Mathewson
This script is not expected to work on windows due to line-ending issues, so I'm not making it get run on an automated basis. We should use it when editing checkSpace.pl. Closes ticket 32613.
2019-11-26checkSpace.pl: make output more uniform.Nick Mathewson
There were lots of slight differences in indentation and formatting among the in-file error messages.
2019-11-26practracker/includes.py: Don't read editor temp filesteor
(Or any files that start with "." or "#".) Obviously correct changes to already-reviewed code.
2019-11-26check-spaces: Fix an outdated commentteor
2019-11-26practracker: Fix a typo in a logging function callteor
Obviously correct changes to already-reviewed code.
2019-11-25Merge branch 'stream-socks-auth' into bug19859_mergedNick Mathewson
2019-11-23rename_c_identifier: don't crash when doing only one replacement.Nick Mathewson
2019-11-19Split log configuration out of options_act_reversible().Nick Mathewson
2019-11-18Add changes file for #30381.George Kadianakis
2019-11-14practracker: Don't read editor temp files, attempt 2teor
(Or any files that start with "." or "#".) Obviously correct changes to already-reviewed code.
2019-11-06Merge branch 'bug32402_042' into bug32402_masterteor
Merge changes from master with shellcheck fixes.
2019-11-06shellcheck: Start checking most scripts for errorsteor
This check was accidentally disabled by a bad find command. Fixes bug 32402; bugfix on 0.4.2.1-alpha. Obviously correct changes to already reviewed code.
2019-11-05practracker: Preserve improvementsteor
2019-11-05practracker: Update the exceptions file with improvementsteor
Regenerate the exceptions file, but only commit the improvements. Includes changes from 32213 and other tickets.
2019-11-05scripts: Fix update_versions.py for out-of-tree buildsteor
Fixes bug 32371; bugfix on 0.4.0.1-alpha.
2019-11-05practracker: Rename functions modified by a previous committeor
Part of 32213.
2019-11-03Bug #19859: Increase function-size exception to 124JeremyRand
2019-10-28practracker: Don't read editor temp filesteor
(Or any dot files.) Obviously correct changes to already-reviewed code.
2019-10-25Merge branch 'ticket31241_v3'Nick Mathewson
2019-10-25scripts/maint: Stop assuming that python3 is in /usr/binteor
Obviously correct fix to rename_c_identifier.py. Bugfix on 32237; not in any released version of tor.
2019-10-24Make foo_validate() functions call config_validate().Nick Mathewson
The former foo_validate() functions are now toplevel legacy_validate_fn callbacks. The new foo_validate() functions now call them. This change lets us remove the old shared_random disk state validation callback entirely.
2019-10-24Add a script to rename C identifiers, and optionally add a commit messageNick Mathewson
This script should "pay for itself" if it prevents one bug caused by careless search-replace-commit loops.
2019-10-18Merge branch 'maint-0.4.2'Nick Mathewson
2019-10-17Bump practracker exception limit for process_win32_exec().Alexander Færøy
I have added a larger comment there and one line of code, so I think this bump is reasonable. See: https://bugs.torproject.org/31810
2019-10-16Merge remote-tracking branch 'tor-github/pr/1329'Nick Mathewson
2019-10-16Regenerate practracker exceptions file for 0.4.3 progress.Nick Mathewson
2019-10-16practracker: add a missing #.Nick Mathewson
2019-10-11maint-0.4.2: remove ".enable_practracker_in_hooks".Nick Mathewson
2019-10-03Merge remote-tracking branch 'tor-github/pr/1358'Nick Mathewson
2019-10-03control/control: Refactor some error handling codeteor
Split some protocol error handling out of connection_control_process_inbuf(). This refactor reduces the size of a practracker exception. Closes 31840.
2019-09-30Merge branch 'tor-github/pr/1339'George Kadianakis
2019-09-27annotate_ifdef_directives: test edge-case of 80-char lineNick Mathewson
An 80-character line (79 characters if you don't count the newline) should not be truncated, and should not have a "..." insterted.
2019-09-27Annotate_ifdef_directives: doctest for 80-column lines.Nick Mathewson
2019-09-27Rename annotate_ifdef_directives to end with .py.Nick Mathewson
This allows the python doctest module to process it correctly when invoked as: python -m doctest -v annotate_ifdef_directives.py
2019-09-27annotate_ifdef_directives: Allow it to be imported as a module.Nick Mathewson
2019-09-27Use Doctests to test the behavior of annotate_ifdef_directives.Nick Mathewson
2019-09-27annotate_ifdef_directives: generate paren-balanced expressionsNick Mathewson
This algorithm is not fully general, but it strikes a balance between efficiency, simplicity, and correctness.
2019-09-26annotate_ifdef_directives: clarify situation with newlinesNick Mathewson
Our line limit is 80 characters, assuming that there is a single terminating newline character that counts towards the limit. On Windows, this might go as high as 81 characters, if we count CRLF as two characters.
2019-09-26annotate_ifdef_directives: remove some cases of double negationNick Mathewson
This change should reduce the number of cases where we say "/* !(!defined(foo)) */" . This only does cases where we can use a regex to make sure that the simplification is guaranteed to be correct. Full boolean simplification would require this script to parse C, and nobody wants that.
2019-09-26Merge remote-tracking branch 'tor-github/pr/1308'Nick Mathewson
2019-09-25Merge branch 'tor-github/pr/1337'George Kadianakis