]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Sun, 24 Jun 2018 22:08:24 +0000 (18:08 -0400)]
we've never been good at using "directory" well as a noun
Nick Mathewson [Thu, 21 Jun 2018 18:29:00 +0000 (14:29 -0400)]
add license statement to checkincludes, and have it return an error code
Nick Mathewson [Thu, 21 Jun 2018 18:23:32 +0000 (14:23 -0400)]
Fix wide lines in dirauth/dirvote.*
Nick Mathewson [Thu, 21 Jun 2018 18:22:15 +0000 (14:22 -0400)]
Make sure check-spaces applies in lib and dirauth.
Nick Mathewson [Thu, 21 Jun 2018 18:20:43 +0000 (14:20 -0400)]
Run checkIncludes.py from "make check-includes"
Nick Mathewson [Thu, 21 Jun 2018 18:02:11 +0000 (14:02 -0400)]
New script to check includes for modularity violations
Includes configuration files to enforce these rules on lib and
common. Of course, "common" *is* a modularity violation right now,
so these rules aren't as strict as I would like them to be.
Nick Mathewson [Thu, 21 Jun 2018 17:57:13 +0000 (13:57 -0400)]
Merge branch 'extract_easy_common_libs'
Nick Mathewson [Thu, 21 Jun 2018 17:12:23 +0000 (13:12 -0400)]
Rectify include paths (automated).
You have no idea how glad I am that this is automated.
Nick Mathewson [Thu, 21 Jun 2018 17:12:06 +0000 (13:12 -0400)]
Move testsupport.h to its own directory
Nick Mathewson [Thu, 21 Jun 2018 17:04:09 +0000 (13:04 -0400)]
Move responsibility for libdonna out of src/common
Nick Mathewson [Thu, 21 Jun 2018 16:47:48 +0000 (12:47 -0400)]
Additional non-automated change to trunnel-local.h
Nick Mathewson [Thu, 21 Jun 2018 16:47:11 +0000 (12:47 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 16:46:11 +0000 (12:46 -0400)]
Split crypto and tls libraries into directories
I am calling the crypto library "crypt_ops", since I want
higher-level crypto things to be separated from lower-level ones.
This library will hold only the low-level ones, once we have it
refactored.
Nick Mathewson [Thu, 21 Jun 2018 16:29:34 +0000 (12:29 -0400)]
Move more compiler-compatibility stuff into compat_compiler.h
Nick Mathewson [Thu, 21 Jun 2018 16:28:33 +0000 (12:28 -0400)]
di_ops.c does not actually log anything.
Nick Mathewson [Thu, 21 Jun 2018 16:20:52 +0000 (12:20 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 16:20:26 +0000 (12:20 -0400)]
Move compiler-compatibility headers into their own module
This one has no generated code.
Nick Mathewson [Thu, 21 Jun 2018 16:12:56 +0000 (12:12 -0400)]
Remove unused pubsub module.
Nick Mathewson [Thu, 21 Jun 2018 16:03:34 +0000 (12:03 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 16:02:14 +0000 (12:02 -0400)]
Move trace into its own library in libs.
Apparently it has no testing variant.
Nick Mathewson [Thu, 21 Jun 2018 15:56:32 +0000 (11:56 -0400)]
Make sure liberr-testing is build with testing flags.
Nick Mathewson [Thu, 21 Jun 2018 15:52:01 +0000 (11:52 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 15:51:49 +0000 (11:51 -0400)]
Extract compression functions into a new library.
Roger Dingledine [Thu, 21 Jun 2018 17:07:51 +0000 (13:07 -0400)]
tiny comment and whitespace fixes
Nick Mathewson [Thu, 21 Jun 2018 15:01:10 +0000 (11:01 -0400)]
Rename libtor.a to libtor-app.a
Nick Mathewson [Thu, 21 Jun 2018 14:53:36 +0000 (10:53 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 14:53:29 +0000 (10:53 -0400)]
Move consttime library code into its own directory.
Nick Mathewson [Thu, 21 Jun 2018 13:54:04 +0000 (09:54 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 13:53:08 +0000 (09:53 -0400)]
Extract error functionality into a new lowest-level library.
Nick Mathewson [Thu, 21 Jun 2018 14:34:29 +0000 (10:34 -0400)]
Refactor makefiles to keep list of internal libraries in one place.
This change makes it possible for us to change the list of libraries
more easily, without changing every single linker line.
Nick Mathewson [Thu, 21 Jun 2018 13:55:16 +0000 (09:55 -0400)]
Rectify include paths (automated)
Nick Mathewson [Thu, 21 Jun 2018 13:37:32 +0000 (09:37 -0400)]
Fix distcheck by naming header properly.
Nick Mathewson [Thu, 21 Jun 2018 13:20:03 +0000 (09:20 -0400)]
Merge branch 'mikeperry_bug26214-rebased_squashed'
Mike Perry [Tue, 19 Jun 2018 19:53:58 +0000 (19:53 +0000)]
Bug 26214: Test updates.
Mike Perry [Sun, 27 May 2018 01:43:19 +0000 (01:43 +0000)]
Bug 26214: Changes file.
Mike Perry [Sun, 27 May 2018 01:42:35 +0000 (01:42 +0000)]
Bug 26214: Check stream SENDME against max.
Nick Mathewson [Thu, 21 Jun 2018 13:01:06 +0000 (09:01 -0400)]
Merge branch 'maint-0.3.4'
"Ours" merge to avoid version bump.
Nick Mathewson [Thu, 21 Jun 2018 13:01:00 +0000 (09:01 -0400)]
Hang on; this branch is supposed to be 0.3.4.2-alpha-dev.
Nick Mathewson [Thu, 21 Jun 2018 12:59:58 +0000 (08:59 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Thu, 21 Jun 2018 12:56:27 +0000 (08:56 -0400)]
Merge branch 'bug25787_squashed' into maint-0.3.4
Nick Mathewson [Mon, 11 Jun 2018 21:49:38 +0000 (17:49 -0400)]
Revise geoip tests to not require paths of actual geoip config
When I wrote the first one of these, it needed the path of the geoip
file. But that doesn't translate well in at least two cases:
- Mingw, where the compile-time path is /c/foo/bar and the
run-time path is c:\foo\bar.
- Various CI weirdnesses, where we cross-compile a test binary,
then copy it into limbo and expect it to work.
Together, these problems precluded these tests running on windows.
So, instead let's just generate some minimal files ourselves, and
test against them.
Fixes bug 25787
Nick Mathewson [Thu, 21 Jun 2018 12:54:02 +0000 (08:54 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Thu, 21 Jun 2018 12:54:02 +0000 (08:54 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Jun 2018 12:53:48 +0000 (08:53 -0400)]
Merge remote-tracking branch 'rl1987/ticket19979_2'
Nick Mathewson [Thu, 21 Jun 2018 12:53:37 +0000 (08:53 -0400)]
Fix changes file for memory leak.
Nick Mathewson [Thu, 21 Jun 2018 12:38:21 +0000 (08:38 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Thu, 21 Jun 2018 12:38:17 +0000 (08:38 -0400)]
Merge branch 'additional_rust_test_fixes' into maint-0.3.4
Nick Mathewson [Thu, 21 Jun 2018 12:36:48 +0000 (08:36 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Thu, 21 Jun 2018 12:36:48 +0000 (08:36 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 21 Jun 2018 12:34:27 +0000 (08:34 -0400)]
add a bn.h include to crypto_dh.c
Nick Mathewson [Thu, 21 Jun 2018 00:01:08 +0000 (20:01 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Thu, 21 Jun 2018 00:00:56 +0000 (20:00 -0400)]
Merge remote-tracking branch 'catalyst-github/allow_fail_rust' into maint-0.3.4
Roger Dingledine [Wed, 20 Jun 2018 23:43:58 +0000 (19:43 -0400)]
fix memory leak in protover.c
Fix a memory leak where directory authorities would leak a chunk of
memory for every router descriptor every time they considered voting.
This bug was taking down directory authorities in the live network due
to out-of-memory issues.
Fixes bug 26435; bugfix on 0.3.3.6.
Nick Mathewson [Wed, 20 Jun 2018 23:32:01 +0000 (19:32 -0400)]
add build.rs to EXTRA_DIST
Nick Mathewson [Wed, 20 Jun 2018 23:16:25 +0000 (19:16 -0400)]
Allow spaces in CCLD in linker.sh
Hello71 spotted this first.
Nick Mathewson [Wed, 20 Jun 2018 23:05:11 +0000 (19:05 -0400)]
eol@eof is still the law in 0.3.4 :(
Nick Mathewson [Wed, 20 Jun 2018 22:02:49 +0000 (18:02 -0400)]
Add a leak suppression for backtrace_alloc
This appears to be an internal rust thing: I don't know why it's
leaking. We should investigate further.
Nick Mathewson [Wed, 20 Jun 2018 21:53:51 +0000 (17:53 -0400)]
Merge branch 'maint-0.3.4' into additional_rust_test_fixes
Nick Mathewson [Wed, 20 Jun 2018 21:53:09 +0000 (17:53 -0400)]
Use different RUST_LINKER_OPTIONS for sanitizers
These appear to work for me.
Nick Mathewson [Wed, 20 Jun 2018 21:49:56 +0000 (17:49 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 20 Jun 2018 21:49:06 +0000 (17:49 -0400)]
Fix clang warnings introduced by
9f2b887c5d251b93ee9def708
Nick Mathewson [Wed, 20 Jun 2018 21:28:28 +0000 (17:28 -0400)]
Fix memory leak in CryptoDigest type
If you're owning a C pointer, you need to implement Drop.
Nick Mathewson [Wed, 20 Jun 2018 21:16:44 +0000 (17:16 -0400)]
Disable doctests in src/rust/crypto module.
These all need C linking to work, and so far, rustdoc does not seem
to respect cargo setting about build scripts or RUSTOPTIONS.
Nick Mathewson [Wed, 20 Jun 2018 21:08:00 +0000 (17:08 -0400)]
Fix bugs in rust digest tests
Nick Mathewson [Wed, 20 Jun 2018 21:07:47 +0000 (17:07 -0400)]
Merge branch 'rust_build_script_v3' into additional_rust_test_fixes
Nick Mathewson [Wed, 20 Jun 2018 20:37:39 +0000 (16:37 -0400)]
Merge branch 'maint-0.3.4'
Isis Lovecruft [Mon, 18 Jun 2018 18:37:07 +0000 (18:37 +0000)]
rust: Remove --all-features flag from `cargo test` call in test_rust.sh.
We'd like to feature gate code that calls C from Rust, as a workaround
to several linker issues when running `cargo test` (#25386), and we
can't feature gate anything out of test code if `cargo test` is called
with `--all-features`.
* FIXES #26400: https://bugs.torproject.org/26400
Taylor Yu [Wed, 20 Jun 2018 20:10:18 +0000 (15:10 -0500)]
Allow Rust to fail for now
Multiple issues are preventing Travis CI from passing with Rust right
now.
Nick Mathewson [Wed, 20 Jun 2018 20:11:09 +0000 (16:11 -0400)]
Don't use any asserts(), even raw, in format_number_sigsafe().
Also explain why.
Nick Mathewson [Wed, 20 Jun 2018 19:11:57 +0000 (15:11 -0400)]
Changes file for logging circularity fixes.
Nick Mathewson [Wed, 20 Jun 2018 19:09:42 +0000 (15:09 -0400)]
Use raw_assert() in write_all().
This makes tor_log() finally non-circular.
Nick Mathewson [Wed, 20 Jun 2018 18:19:00 +0000 (14:19 -0400)]
Use raw_assert() in central allocation functions.
This is, again, to avoid circularity in the log code.
Nick Mathewson [Wed, 20 Jun 2018 18:15:00 +0000 (14:15 -0400)]
Use raw_assert in mutex functions to avoid circularity in logs.
Nick Mathewson [Wed, 20 Jun 2018 18:04:03 +0000 (14:04 -0400)]
Allow raw_assert() to dump stack traces.
It doesn't do this as beautifully as tor_assert(), but it doesn't
depend on any higher-level code.
Nick Mathewson [Wed, 20 Jun 2018 17:51:49 +0000 (13:51 -0400)]
Remove log dependency from backtrace.[ch]
Nick Mathewson [Wed, 20 Jun 2018 17:51:21 +0000 (13:51 -0400)]
Use compat_compiler to restore macros in torerr.h
Nick Mathewson [Wed, 20 Jun 2018 17:49:03 +0000 (13:49 -0400)]
Split compiler-compatibility parts of compat.h
Nick Mathewson [Wed, 20 Jun 2018 17:02:05 +0000 (13:02 -0400)]
Move horrible-emergency handling into torerr.[ch]
Previously we had code like this for bad things happening from
signal handlers, but it makes sense to use the same logic to handle
cases when something is happening at a level too low for log.c to be
involved.
My raw_assert*() stuff now uses this code.
Nick Mathewson [Wed, 20 Jun 2018 14:42:06 +0000 (10:42 -0400)]
Use raw_assert in tor_gettimeofday
We don't want to actually be calling logs when gettimeofday() fails,
since we need gettimeofday() to log.
Nick Mathewson [Wed, 20 Jun 2018 14:39:07 +0000 (10:39 -0400)]
Remove all use of the assert.h header
Nothing in Tor has actually called assert() for some while.
Nick Mathewson [Wed, 20 Jun 2018 14:35:40 +0000 (10:35 -0400)]
Add raw_assert() variants for cases where we cannot log.
Remove a different raw_assert() macro declared in log.c
Nick Mathewson [Wed, 20 Jun 2018 14:19:56 +0000 (10:19 -0400)]
Remove dmalloc support; closes #26426
Dmalloc hasn't seen a release in over a decade, and there are much
better tools to use these days.
Nick Mathewson [Wed, 20 Jun 2018 14:20:44 +0000 (10:20 -0400)]
fix a changes file warning
Nick Mathewson [Wed, 20 Jun 2018 13:36:28 +0000 (09:36 -0400)]
Changes file for full_include_paths
Nick Mathewson [Wed, 20 Jun 2018 13:35:05 +0000 (09:35 -0400)]
Run rectify_include_paths.py
Nick Mathewson [Wed, 20 Jun 2018 13:25:50 +0000 (09:25 -0400)]
Simplify AM_CPPFLAGS include setup
We had accumulated a bunch of cruft here. Now let's only include
src and src/ext. (exception: src/trunnel is autogenerated code, and
need to include src/trunnel.)
This commit will break the build hard. The next commit will fix it.
Nick Mathewson [Wed, 20 Jun 2018 13:25:16 +0000 (09:25 -0400)]
Script to replace include paths with full paths under src/
This will let us move around header files without having to fix up
all the include sites manually.
Nick Mathewson [Wed, 20 Jun 2018 12:32:34 +0000 (08:32 -0400)]
Merge remote-tracking branch 'neel/
b25886c '
Nick Mathewson [Wed, 20 Jun 2018 12:29:52 +0000 (08:29 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 20 Jun 2018 12:29:38 +0000 (08:29 -0400)]
eol@eof in test-dir.c
Nick Mathewson [Wed, 20 Jun 2018 12:13:28 +0000 (08:13 -0400)]
Update copyrights to 2018.
Nick Mathewson [Wed, 20 Jun 2018 12:05:07 +0000 (08:05 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 20 Jun 2018 12:02:27 +0000 (08:02 -0400)]
Merge branch 'asn_bug24977_final_squashed' into maint-0.3.4
George Kadianakis [Wed, 13 Jun 2018 10:47:36 +0000 (13:47 +0300)]
Add changes file for #24977.
George Kadianakis [Wed, 13 Jun 2018 10:28:39 +0000 (13:28 +0300)]
Recreate nodelist before use if it's outdated.
We currently only do the check when we are about to use the HSDir indices.
George Kadianakis [Tue, 12 Jun 2018 11:29:06 +0000 (14:29 +0300)]
Recreate voting schedule before use if it's outdated.
Nick Mathewson [Wed, 20 Jun 2018 11:55:15 +0000 (07:55 -0400)]
Merge branch 'maint-0.3.4'
Isis Lovecruft [Mon, 18 Jun 2018 18:33:49 +0000 (18:33 +0000)]
rust: Remove redundant "testing" feature from tor_log crate.
It was synonymous with the builtin "test" feature.
* FIXES #26399: https://bugs.torproject.org/26399
Nick Mathewson [Wed, 20 Jun 2018 11:53:22 +0000 (07:53 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 20 Jun 2018 11:50:00 +0000 (07:50 -0400)]
Merge branch 'rl1987_bug26196_rebased_034' into maint-0.3.4