summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-06-21Move compiler-compatibility headers into their own moduleNick Mathewson
This one has no generated code.
2018-06-21Remove unused pubsub module.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Move trace into its own library in libs.Nick Mathewson
Apparently it has no testing variant.
2018-06-21Make sure liberr-testing is build with testing flags.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Extract compression functions into a new library.Nick Mathewson
2018-06-21Rename libtor.a to libtor-app.aNick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Move consttime library code into its own directory.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Extract error functionality into a new lowest-level library.Nick Mathewson
2018-06-21Refactor makefiles to keep list of internal libraries in one place.Nick Mathewson
This change makes it possible for us to change the list of libraries more easily, without changing every single linker line.
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Fix distcheck by naming header properly.Nick Mathewson
2018-06-21Merge branch 'mikeperry_bug26214-rebased_squashed'Nick Mathewson
2018-06-21Bug 26214: Test updates.Mike Perry
2018-06-21Bug 26214: Check stream SENDME against max.Mike Perry
2018-06-21Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-21Merge branch 'bug25787_squashed' into maint-0.3.4Nick Mathewson
2018-06-21Revise geoip tests to not require paths of actual geoip configNick Mathewson
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
2018-06-21Merge remote-tracking branch 'rl1987/ticket19979_2'Nick Mathewson
2018-06-21Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-21Merge branch 'additional_rust_test_fixes' into maint-0.3.4Nick Mathewson
2018-06-21Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-21Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-06-21add a bn.h include to crypto_dh.cNick Mathewson
2018-06-20fix memory leak in protover.cRoger Dingledine
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.
2018-06-20add build.rs to EXTRA_DISTNick Mathewson
2018-06-20eol@eof is still the law in 0.3.4 :(Nick Mathewson
2018-06-20Add a leak suppression for backtrace_allocNick Mathewson
This appears to be an internal rust thing: I don't know why it's leaking. We should investigate further.
2018-06-20Merge branch 'maint-0.3.4' into additional_rust_test_fixesNick Mathewson
2018-06-20Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-20Fix clang warnings introduced by 9f2b887c5d251b93ee9def708Nick Mathewson
2018-06-20Fix memory leak in CryptoDigest typeNick Mathewson
If you're owning a C pointer, you need to implement Drop.
2018-06-20Disable doctests in src/rust/crypto module.Nick Mathewson
These all need C linking to work, and so far, rustdoc does not seem to respect cargo setting about build scripts or RUSTOPTIONS.
2018-06-20Fix bugs in rust digest testsNick Mathewson
2018-06-20Merge branch 'rust_build_script_v3' into additional_rust_test_fixesNick Mathewson
2018-06-20Merge branch 'maint-0.3.4'Nick Mathewson
2018-06-20rust: Remove --all-features flag from `cargo test` call in test_rust.sh.Isis Lovecruft
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
2018-06-20Don't use any asserts(), even raw, in format_number_sigsafe().Nick Mathewson
Also explain why.
2018-06-20Use raw_assert() in write_all().Nick Mathewson
This makes tor_log() finally non-circular.
2018-06-20Use raw_assert() in central allocation functions.Nick Mathewson
This is, again, to avoid circularity in the log code.
2018-06-20Use raw_assert in mutex functions to avoid circularity in logs.Nick Mathewson
2018-06-20Allow raw_assert() to dump stack traces.Nick Mathewson
It doesn't do this as beautifully as tor_assert(), but it doesn't depend on any higher-level code.
2018-06-20Remove log dependency from backtrace.[ch]Nick Mathewson
2018-06-20Use compat_compiler to restore macros in torerr.hNick Mathewson
2018-06-20Split compiler-compatibility parts of compat.hNick Mathewson
2018-06-20Move horrible-emergency handling into torerr.[ch]Nick Mathewson
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.
2018-06-20Use raw_assert in tor_gettimeofdayNick Mathewson
We don't want to actually be calling logs when gettimeofday() fails, since we need gettimeofday() to log.