- Nov 06, 2019
- Oct 17, 2019
-
-
Alexander Hansen Færøy authored
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
-
- Oct 11, 2019
-
-
Nick Mathewson authored
-
- Oct 03, 2019
-
-
teor authored
Split some protocol error handling out of connection_control_process_inbuf(). This refactor reduces the size of a practracker exception. Closes 31840.
-
- Sep 28, 2019
-
-
Nick Mathewson authored
An 80-character line (79 characters if you don't count the newline) should not be truncated, and should not have a "..." insterted.
-
Nick Mathewson authored
-
Nick Mathewson authored
This allows the python doctest module to process it correctly when invoked as: python -m doctest -v annotate_ifdef_directives.py
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This algorithm is not fully general, but it strikes a balance between efficiency, simplicity, and correctness.
-
- Sep 26, 2019
-
-
Nick Mathewson authored
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.
-
Nick Mathewson authored
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.
-
- Sep 24, 2019
-
-
teor authored
Fixes bug 31828; bugfix on 0.4.2.1-alpha.
-
- Sep 23, 2019
-
-
AmreshVenugopal authored
- The function `decrypt_desc_layer` has a cleaner interface. - `is_superencrypted_layer` changed from `int` -> `bool` [ticket details](https://trac.torproject.org/projects/tor/ticket/31589) add(changes/*): changes file fix(src/features/hs): is_superencrypted changed from `int` -> `bool` fix(changes/ticket31589): header add(changes/ticket31589): subsystem(onion services) to change
-
Nick Mathewson authored
If we would add a comment making a line longer than 80 columns, instead truncate the variable portion of the comment until it just fits into 80 columns, with an ellipsis.
-
Nick Mathewson authored
No functional change in this commit.
-
Nick Mathewson authored
-
- Sep 19, 2019
-
-
Nick Mathewson authored
-
- Sep 18, 2019
-
-
Nick Mathewson authored
We want to forbid this pattern since, unlike the other log_*() macros, log_debug() conditionally evaluates its arguments only if debug-level logging is enabled. Thus, a call to log_debug("%d", x++); will only increment x if debugging logs are enabled, which is probably not what the programmer intended. One bug caused by this pattern was #30628. This script detects log_debug( ) calls with any of E++, E--, ++E, or --E in their arguments, where E is an arbitrary expression. Closes ticket 30743.
-
Nick Mathewson authored
Make sure that we list overbroad exceptions, and nothing else
-
Nick Mathewson authored
The purpose of tracking whether an exception is used is so that we can tell whether it is overbroad. This means that an _underbroad_ exception is still a used one. Fixes bug 31338.
-
Nick Mathewson authored
-
- Sep 10, 2019
-
-
teor authored
Closes 31679.
-
teor authored
... on systems that don't have realpath. Part of 31679.
-
teor authored
All of the git scripts now have usage messages on: * a new -h option, and * usage errors. Closes 31677.
-
teor authored
Preparation for 31677.
-
teor authored
Part of 31677.
-
teor authored
Closes 31678.
-
- Sep 09, 2019
-
-
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Sep 05, 2019
-
-
Nick Mathewson authored
I've done this manually, since I don't want to override the existing exceptions in this branch.
-
Nick Mathewson authored
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"
-
-
teor authored
* 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.
-
- Sep 02, 2019
-
-
Nick Mathewson authored
Previously practracker would fail on a file with no lines.
-
Nick Mathewson authored
This commit only changes whitespace and removes a temporary comment.
-
Nick Mathewson authored
-
- Aug 29, 2019
-
-
Nick Mathewson authored
Previously we often referred to "C files" and "H files", which is more ambiguous than ".c files" and ".h files".
-
teor authored
Part of 31314.
-
teor authored
Part of 31314.
-